@univerjs-pro/collaboration-client 0.5.0-nightly.202411131606 → 0.5.0-nightly.202411141606

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 CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x2fc972=_0x10d1;(function(_0x10b963,_0x1f665c){const _0x17a742=_0x10d1,_0x19bd99=_0x10b963();while(!![]){try{const _0xeaaf1e=parseInt(_0x17a742(0x45a))/0x1*(parseInt(_0x17a742(0x24f))/0x2)+-parseInt(_0x17a742(0x186))/0x3+-parseInt(_0x17a742(0x29e))/0x4+-parseInt(_0x17a742(0x442))/0x5+parseInt(_0x17a742(0xea))/0x6+parseInt(_0x17a742(0x276))/0x7*(parseInt(_0x17a742(0x182))/0x8)+parseInt(_0x17a742(0x39f))/0x9*(parseInt(_0x17a742(0x157))/0xa);if(_0xeaaf1e===_0x1f665c)break;else _0x19bd99['push'](_0x19bd99['shift']());}catch(_0x14e877){_0x19bd99['push'](_0x19bd99['shift']());}}}(_0x14d0,0xeb6cb));var Ln=Object[_0x2fc972(0x356)],xn=(_0x322044,_0x27953b,_0xfb9568)=>_0x27953b in _0x322044?Ln(_0x322044,_0x27953b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xfb9568}):_0x322044[_0x27953b]=_0xfb9568,I=(_0xb54fc,_0x7e69c2,_0x3e4cfe)=>xn(_0xb54fc,typeof _0x7e69c2!='symbol'?_0x7e69c2+'':_0x7e69c2,_0x3e4cfe);Object[_0x2fc972(0x356)](exports,Symbol[_0x2fc972(0x394)],{'value':'Module'});const a=require(_0x2fc972(0x291)),A=require('rxjs'),V=require('rxjs/operators'),ge=require(_0x2fc972(0x229)),ee=require(_0x2fc972(0x2bf)),Z=require(_0x2fc972(0x396)),S=require(_0x2fc972(0x3bf)),jn=require(_0x2fc972(0x210)),J=require('@univerjs/docs-ui'),k=require(_0x2fc972(0x21f)),K=require('@univerjs/engine-render'),ye=require(_0x2fc972(0x531)),ne=require('@univerjs/drawing'),Pt=require(_0x2fc972(0x4f1)),Re=require(_0x2fc972(0x3db)),ae=require('react'),$n=require(_0x2fc972(0x20d)),Zt=_0x2fc972(0x368),Hn='/universer-api/snapshot',Qt=_0x2fc972(0x43d),Bn=_0x2fc972(0x4ae),kn=0x7d0,en='COLLAB_WEB_SOCKET_URL',Wn='ws://127.0.0.1:8000/universer-api/comb/connect',tn=_0x2fc972(0xcc),Fn=0x7530,Ct='HEARTBEAT_TIMEOUT',nn=0x4e20,Vn=0x4e20,sn=_0x2fc972(0x2c8),Gn=0x3,rn='LOCAL_CACHE_INTERVAL',Yn=0x3e8,on=_0x2fc972(0x3b1),Kn='/universer-api/comb',an='LOGIN_URL_KEY',qn=_0x2fc972(0x4ba);var cn=(_0xf526e1=>(_0xf526e1[_0xf526e1[_0x2fc972(0x1ba)]=0x0]=_0x2fc972(0x1ba),_0xf526e1[_0xf526e1['OK']=0x1]='OK',_0xf526e1[_0xf526e1['INTERNAL_ERROR']=0x2]=_0x2fc972(0x50d),_0xf526e1[_0xf526e1[_0x2fc972(0x2a7)]=0x3]=_0x2fc972(0x2a7),_0xf526e1[_0xf526e1[_0x2fc972(0x411)]=0x4]='NOT_FOUND',_0xf526e1[_0xf526e1['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0xf526e1[_0xf526e1[_0x2fc972(0x348)]=0x6]='ALREADY_EXISTS',_0xf526e1[_0xf526e1[_0x2fc972(0x16e)]=0x7]=_0x2fc972(0x16e),_0xf526e1[_0xf526e1[_0x2fc972(0x2cd)]=0x8]=_0x2fc972(0x2cd),_0xf526e1[_0xf526e1[_0x2fc972(0x4bd)]=0x9]='COMPLETION_FINISHED',_0xf526e1[_0xf526e1[_0x2fc972(0x4be)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0xf526e1[_0xf526e1['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x2fc972(0x251),_0xf526e1[_0xf526e1['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x2fc972(0x3ee),_0xf526e1[_0xf526e1['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x2fc972(0x200),_0xf526e1[_0xf526e1[_0x2fc972(0x231)]=0x1b59]='APPLY_REJECT',_0xf526e1[_0xf526e1[_0x2fc972(0x297)]=0x1b5a]=_0x2fc972(0x297),_0xf526e1[_0xf526e1['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x2fc972(0x113),_0xf526e1[_0xf526e1[_0x2fc972(0x2ae)]=0x1b5c]=_0x2fc972(0x2ae),_0xf526e1[_0xf526e1[_0x2fc972(0x4db)]=0x1b5d]='APPLY_DUPLICATED',_0xf526e1[_0xf526e1[_0x2fc972(0x534)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0xf526e1[_0xf526e1[_0x2fc972(0x4b6)]=0x2329]=_0x2fc972(0x4b6),_0xf526e1[_0xf526e1[_0x2fc972(0x388)]=0x232a]=_0x2fc972(0x388),_0xf526e1[_0xf526e1['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x2fc972(0x4f0),_0xf526e1[_0xf526e1['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x2fc972(0x4c1),_0xf526e1[_0xf526e1['LICENSE_DISTRO_REJECTED']=0x232d]='LICENSE_DISTRO_REJECTED',_0xf526e1[_0xf526e1[_0x2fc972(0x2f9)]=0x2711]=_0x2fc972(0x2f9),_0xf526e1[_0xf526e1['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x2fc972(0x1aa),_0xf526e1[_0xf526e1[_0x2fc972(0x165)]=0x2713]=_0x2fc972(0x165),_0xf526e1[_0xf526e1['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x2fc972(0x355),_0xf526e1[_0xf526e1[_0x2fc972(0x1e5)]=-0x1]=_0x2fc972(0x1e5),_0xf526e1))(cn||{}),ie=(_0x53e472=>(_0x53e472[_0x53e472['UNIVER_UNKNOWN']=0x0]=_0x2fc972(0x216),_0x53e472[_0x53e472[_0x2fc972(0x22f)]=0x1]=_0x2fc972(0x22f),_0x53e472[_0x53e472[_0x2fc972(0x252)]=0x2]=_0x2fc972(0x252),_0x53e472[_0x53e472[_0x2fc972(0x1ff)]=0x3]='UNIVER_SLIDE',_0x53e472[_0x53e472['UNIVER_PROJECT']=0x4]='UNIVER_PROJECT',_0x53e472[_0x53e472['UNRECOGNIZED']=-0x1]=_0x2fc972(0x1e5),_0x53e472))(ie||{}),G=(_0x554d61=>(_0x554d61[_0x554d61[_0x2fc972(0x326)]=0x0]=_0x2fc972(0x326),_0x554d61[_0x554d61[_0x2fc972(0x3b8)]=0x1]=_0x2fc972(0x3b8),_0x554d61[_0x554d61['JOIN']=0x2]='JOIN',_0x554d61[_0x554d61[_0x2fc972(0x2b4)]=0x3]=_0x2fc972(0x2b4),_0x554d61[_0x554d61[_0x2fc972(0xdb)]=0x4]=_0x2fc972(0xdb),_0x554d61[_0x554d61['HEARTBEAT']=0x5]=_0x2fc972(0x3bb),_0x554d61[_0x554d61[_0x2fc972(0x366)]=0x6]='RECV',_0x554d61[_0x554d61[_0x2fc972(0x1e5)]=-0x1]=_0x2fc972(0x1e5),_0x554d61))(G||{}),Et=(_0x2fa6da=>(_0x2fa6da[_0x2fa6da[_0x2fc972(0x416)]=0x0]='UNKNOWN_CODE',_0x2fa6da[_0x2fa6da['OK']=0x1]='OK',_0x2fa6da[_0x2fa6da[_0x2fc972(0x2de)]=0x2]=_0x2fc972(0x2de),_0x2fa6da[_0x2fa6da['UNRECOGNIZED']=-0x1]=_0x2fc972(0x1e5),_0x2fa6da))(Et||{}),ln=(_0x5eb144=>(_0x5eb144[_0x5eb144[_0x2fc972(0x1ad)]=0x0]=_0x2fc972(0x1ad),_0x5eb144[_0x5eb144[_0x2fc972(0x1a9)]=0x1]='HttpImport',_0x5eb144[_0x5eb144[_0x2fc972(0x33b)]=0x2]=_0x2fc972(0x33b),_0x5eb144[_0x5eb144[_0x2fc972(0x48d)]=0x3]=_0x2fc972(0x48d),_0x5eb144[_0x5eb144[_0x2fc972(0x148)]=0x4]=_0x2fc972(0x148),_0x5eb144[_0x5eb144['UNRECOGNIZED']=-0x1]=_0x2fc972(0x1e5),_0x5eb144))(ln||{});const te=_0x2fc972(0xf4),zn={};function hn(_0x4a2e72){const _0x302a08=_0x2fc972;var _0x488dbb,_0x212334,_0x285ef8,_0x33e4fe,_0x49cbf3;const _0x402c98=_0x4a2e72[_0x302a08(0x191)],_0x11809c=JSON[_0x302a08(0x17d)](_0x402c98);switch(_0x11809c['cmd']){case G[_0x302a08(0x3bb)]:case G['HELLO']:{const _0xdb97e7=_0x11809c[_0x302a08(0x34f)];return{..._0x11809c,'data':_0xdb97e7,'cmd':_0x11809c[_0x302a08(0x380)]};}case G[_0x302a08(0x14b)]:{const _0x52887e=_0x11809c[_0x302a08(0x16b)];return{..._0x11809c,'data':_0x52887e,'cmd':_0x11809c['cmd']};}case G[_0x302a08(0x366)]:{const _0x735fc5=_0x11809c[_0x302a08(0x428)];switch(_0x735fc5[_0x302a08(0x4ca)]){case S[_0x302a08(0x2b7)][_0x302a08(0x25a)]:return{..._0x11809c,'data':{..._0x735fc5,'data':(_0x488dbb=_0x735fc5[_0x302a08(0x3ff)])==null?void 0x0:_0x488dbb['cs']},'cmd':_0x11809c['cmd']};case S[_0x302a08(0x2b7)]['CHANGESET_ACK']:return{..._0x11809c,'data':{..._0x735fc5,'data':(_0x212334=_0x735fc5['csAckEvent'])==null?void 0x0:_0x212334['cs']},'cmd':_0x11809c[_0x302a08(0x380)]};case S[_0x302a08(0x2b7)]['NEW_CHANGESETS']:return{..._0x11809c,'data':{..._0x735fc5,'data':(_0x285ef8=_0x735fc5[_0x302a08(0x467)])==null?void 0x0:_0x285ef8['cs']},'cmd':_0x11809c[_0x302a08(0x380)]};case S[_0x302a08(0x2b7)][_0x302a08(0x1fb)]:return{..._0x11809c,'data':{..._0x735fc5,'data':(_0x33e4fe=_0x735fc5[_0x302a08(0x156)])==null?void 0x0:_0x33e4fe['cs']},'cmd':_0x11809c[_0x302a08(0x380)]};case S[_0x302a08(0x2b7)]['CHANGESET_SHOULD_RETRY']:return{..._0x11809c,'data':{..._0x735fc5,'data':(_0x49cbf3=_0x735fc5[_0x302a08(0x520)])==null?void 0x0:_0x49cbf3['cs']},'cmd':_0x11809c[_0x302a08(0x380)]};case S[_0x302a08(0x2b7)][_0x302a08(0x1be)]:return{..._0x11809c,'data':{..._0x735fc5,'data':_0x735fc5[_0x302a08(0x308)]},'cmd':_0x11809c[_0x302a08(0x380)]};case S[_0x302a08(0x2b7)][_0x302a08(0x321)]:return{..._0x11809c,'data':{..._0x735fc5,'data':_0x735fc5['joinEvent']},'cmd':_0x11809c[_0x302a08(0x380)]};case S[_0x302a08(0x2b7)][_0x302a08(0x50a)]:return{..._0x11809c,'data':{..._0x735fc5,'data':_0x735fc5['leaveEvent']},'cmd':_0x11809c[_0x302a08(0x380)]};case S['CollaborationEvent'][_0x302a08(0x314)]:return{..._0x11809c,'data':{..._0x735fc5,'data':_0x735fc5['liveShareNewHost']},'cmd':_0x11809c[_0x302a08(0x380)]};case S['CollaborationEvent']['LIVESHARE_FETCH_OPERATIONS']:case S[_0x302a08(0x2b7)]['LIVESHARE_OPERATION']:return{..._0x11809c,'data':{..._0x735fc5,'data':_0x735fc5[_0x302a08(0x526)]},'cmd':_0x11809c[_0x302a08(0x380)]};case S[_0x302a08(0x2b7)][_0x302a08(0x53b)]:return{..._0x11809c,'data':{..._0x735fc5,'data':_0x735fc5[_0x302a08(0x3e2)]},'cmd':_0x11809c[_0x302a08(0x380)]};case S[_0x302a08(0x2b7)][_0x302a08(0x4cd)]:return{..._0x11809c,'data':_0x735fc5,'cmd':_0x11809c[_0x302a08(0x380)]};case S[_0x302a08(0x2b7)]['COMMENT_UPDATE']:return{..._0x11809c,'data':{..._0x735fc5,'data':_0x735fc5[_0x302a08(0x405)]},'cmd':_0x11809c[_0x302a08(0x380)]};case S[_0x302a08(0x2b7)][_0x302a08(0x11a)]:return{..._0x11809c,'data':{..._0x735fc5,'data':_0x735fc5['updatePermissionObjEvent']},'cmd':_0x11809c['cmd']};case S[_0x302a08(0x2b7)]['SHOULD_CLOSE_CONN']:return{..._0x11809c,'data':{..._0x735fc5,'data':_0x735fc5['shouldCloseConn']},'cmd':_0x11809c[_0x302a08(0x380)]};default:return _0x11809c;}}default:return _0x11809c;}}function _n(_0x3b4470){const _0x1a7bc1=_0x2fc972;switch(_0x3b4470[_0x1a7bc1(0x380)]){case G[_0x1a7bc1(0x3bb)]:case G[_0x1a7bc1(0x3b8)]:return JSON[_0x1a7bc1(0x3cd)]({'cmd':_0x3b4470['cmd'],'routeKey':_0x3b4470['routeKey']});case G['INGEST']:{let _0x6e48d8;switch(_0x3b4470[_0x1a7bc1(0x191)][_0x1a7bc1(0x4ca)]){case S['CollaborationEvent'][_0x1a7bc1(0x1be)]:{_0x6e48d8={'eventID':S[_0x1a7bc1(0x2b7)][_0x1a7bc1(0x1be)],'updateCursorEvent':_0x3b4470['data']['data']};break;}case S[_0x1a7bc1(0x2b7)][_0x1a7bc1(0x50a)]:{_0x6e48d8={'eventID':S[_0x1a7bc1(0x2b7)]['USERS_LEAVE'],'leaveEvent':_0x3b4470[_0x1a7bc1(0x191)][_0x1a7bc1(0x191)]};break;}case S[_0x1a7bc1(0x2b7)][_0x1a7bc1(0x321)]:{_0x6e48d8={'eventID':S['CollaborationEvent']['USERS_ENTER'],'joinEvent':_0x3b4470['data'][_0x1a7bc1(0x191)]};break;}case S[_0x1a7bc1(0x2b7)]['LIVESHARE_NEW_HOST']:{_0x6e48d8={'eventID':S[_0x1a7bc1(0x2b7)][_0x1a7bc1(0x314)],'liveShareNewHost':_0x3b4470[_0x1a7bc1(0x191)]['data']};break;}case S[_0x1a7bc1(0x2b7)][_0x1a7bc1(0x3a6)]:{_0x6e48d8={'eventID':S[_0x1a7bc1(0x2b7)][_0x1a7bc1(0x3a6)],'liveShareOperation':_0x3b4470[_0x1a7bc1(0x191)]['data']};break;}case S['CollaborationEvent'][_0x1a7bc1(0x53b)]:{_0x6e48d8={'eventID':S[_0x1a7bc1(0x2b7)][_0x1a7bc1(0x53b)],'liveShareTerminate':_0x3b4470[_0x1a7bc1(0x191)]['data']};break;}case S[_0x1a7bc1(0x2b7)][_0x1a7bc1(0x1ea)]:{_0x6e48d8={'eventID':S[_0x1a7bc1(0x2b7)]['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x3b4470[_0x1a7bc1(0x191)][_0x1a7bc1(0x191)]};break;}case S['CollaborationEvent']['LIVESHARE_FETCH_OPERATIONS']:{_0x6e48d8={'eventID':S['CollaborationEvent']['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x6e48d8={'eventID':_0x3b4470[_0x1a7bc1(0x191)][_0x1a7bc1(0x4ca)]};}return JSON[_0x1a7bc1(0x3cd)]({'cmd':_0x3b4470['cmd'],'routeKey':_0x3b4470['routeKey'],'collaMsg':_0x6e48d8});}case G[_0x1a7bc1(0x14b)]:return JSON[_0x1a7bc1(0x3cd)]({'cmd':_0x3b4470[_0x1a7bc1(0x380)],'routeKey':_0x3b4470[_0x1a7bc1(0x2c4)],'joinReq':_0x3b4470[_0x1a7bc1(0x191)]});case G['LEAVE']:return JSON[_0x1a7bc1(0x3cd)]({'cmd':_0x3b4470[_0x1a7bc1(0x380)],'routeKey':_0x3b4470['routeKey'],'leaveReq':_0x3b4470[_0x1a7bc1(0x191)]});default:throw new Error(_0x1a7bc1(0x15b));}}var Xn=Object['defineProperty'],Jn=Object[_0x2fc972(0x423)],Zn=(_0x57f0a6,_0x38b504,_0x14ac9f,_0x210bf6)=>{for(var _0x528f33=_0x210bf6>0x1?void 0x0:_0x210bf6?Jn(_0x38b504,_0x14ac9f):_0x38b504,_0x37e66a=_0x57f0a6['length']-0x1,_0x36ee7f;_0x37e66a>=0x0;_0x37e66a--)(_0x36ee7f=_0x57f0a6[_0x37e66a])&&(_0x528f33=(_0x210bf6?_0x36ee7f(_0x38b504,_0x14ac9f,_0x528f33):_0x36ee7f(_0x528f33))||_0x528f33);return _0x210bf6&&_0x528f33&&Xn(_0x38b504,_0x14ac9f,_0x528f33),_0x528f33;},we=(_0x576cf2,_0x41cd84)=>(_0x3b9c45,_0x27d238)=>_0x41cd84(_0x3b9c45,_0x27d238,_0x576cf2);const bt=a[_0x2fc972(0x183)](_0x2fc972(0x483));function Qn(_0x4a739b,_0x2f6da8,_0x16ade1){const _0x2a7dce=_0x2fc972;return _0x4a739b+'/'+_0x2f6da8+_0x2a7dce(0xaa)+_0x16ade1+_0x2a7dce(0x35c);}exports[_0x2fc972(0x44c)]=class extends a[_0x2fc972(0x37c)]{constructor(_0xb8e1fb,_0x54d8fd,_0xec1c33,_0x1fd94e,_0xb8610b){const _0x506f15=_0x2fc972;super(),this['_http']=_0xb8e1fb,this['_ws']=_0x54d8fd,this[_0x506f15(0x51e)]=_0xec1c33,this['_logService']=_0x1fd94e,this[_0x506f15(0x18a)]=_0xb8610b;}[_0x2fc972(0x51f)](_0x7c673a){const _0x1995d7=_0x2fc972,_0x4db02a=this['_ws'][_0x1995d7(0x51f)](_0x7c673a);if(!_0x4db02a)throw new Error(_0x1995d7(0x245));const _0x53ef15=new a[(_0x1995d7(0x1a0))](),_0x3da94c=new A[(_0x1995d7(0xd4))]();_0x53ef15[_0x1995d7(0x34a)](_0x4db02a[_0x1995d7(0x39c)]['subscribe'](_0x3f71e1=>_0x3da94c[_0x1995d7(0x450)](_0x3f71e1))),_0x53ef15[_0x1995d7(0x34a)](a['toDisposable'](()=>_0x3da94c[_0x1995d7(0x4b9)]()));const _0x19d100=new A[(_0x1995d7(0xd4))]();_0x53ef15['add'](_0x4db02a[_0x1995d7(0x2a1)]['subscribe'](_0x2636da=>_0x19d100[_0x1995d7(0x450)](_0x2636da))),_0x53ef15['add'](a[_0x1995d7(0x146)](()=>_0x19d100[_0x1995d7(0x4b9)]()));const _0xab6fe9=new A[(_0x1995d7(0xd4))]();_0x53ef15[_0x1995d7(0x34a)](_0x4db02a[_0x1995d7(0x48a)][_0x1995d7(0x243)](_0x38bfdf=>{const _0x1dcf8c=_0x1995d7,_0x49fa2f=hn(_0x38bfdf);_0xab6fe9[_0x1dcf8c(0x450)](_0x49fa2f);})),_0x53ef15[_0x1995d7(0x34a)](a['toDisposable'](()=>_0xab6fe9[_0x1995d7(0x4b9)]()));let _0x4aaaae;const _0x31d84c=()=>{const _0x8d6fa8=_0x1995d7;_0x19d100['next'](new Event(_0x8d6fa8(0x298))),_0x3da94c['next'](new CloseEvent(_0x8d6fa8(0x298))),_0x4aaaae[_0x8d6fa8(0x224)]();};return _0x4aaaae={'memberID':'','close$':_0x3da94c[_0x1995d7(0x1f3)](),'error$':_0x19d100['asObservable'](),'open$':_0x4db02a['open$'],'message$':_0xab6fe9[_0x1995d7(0x1f3)](),'send':_0x123307=>{const _0x301313=_0x1995d7;if(_0x123307[_0x301313(0x380)]===G[_0x301313(0xdb)]){if(_0x123307[_0x301313(0x191)][_0x301313(0x4ca)]===S[_0x301313(0x2b7)][_0x301313(0x306)]){this[_0x301313(0x36e)](_0x4aaaae,_0x123307[_0x301313(0x191)])[_0x301313(0x4e0)](_0x1dfdab=>{const _0xf780b5=_0x301313;this[_0xf780b5(0x3e5)][_0xf780b5(0x2be)](_0x1dfdab),_0x31d84c();});return;}if(_0x123307[_0x301313(0x191)][_0x301313(0x4ca)]===S['CollaborationEvent'][_0x301313(0x472)]){const _0x54e911=_0x123307[_0x301313(0x191)];this[_0x301313(0x1ae)](_0x54e911)[_0x301313(0x104)](_0x3a7043=>{const _0x5ef38c=_0x301313;_0xab6fe9[_0x5ef38c(0x450)]({'cmd':G[_0x5ef38c(0x366)],'code':Et['OK'],'routeKey':_0x54e911[_0x5ef38c(0x191)]['unitID'],'routeType':'','data':{'eventID':S['CollaborationEvent'][_0x5ef38c(0xc8)],'data':{'changesets':_0x3a7043}}});})[_0x301313(0x4e0)](_0xc1b2f4=>{const _0x579bb7=_0x301313;this[_0x579bb7(0x3e5)][_0x579bb7(0x2be)](_0xc1b2f4),_0x31d84c();});return;}}_0x4db02a[_0x301313(0x3b3)](_n(_0x123307));},'close':()=>{const _0x3e703d=_0x1995d7;_0x4db02a['close'](),_0x53ef15[_0x3e703d(0x324)]();}},_0x4aaaae;}async['_submitChangeset'](_0xfef9a0,_0x54eede){const _0x4a9b42=_0x2fc972;var _0x3bd2be,_0x4fe65;const {unitType:_0x1a1d40,unitID:_0x310097,changeset:_0x37e4ba}=_0x54eede[_0x4a9b42(0x191)],_0x39e718={'unitID':_0x310097,'memberID':_0xfef9a0[_0x4a9b42(0x51d)],'type':_0x1a1d40,'changeset':S['parseChangesetToProtocol'](_0x37e4ba)},_0x48eb80=this[_0x4a9b42(0x51e)][_0x4a9b42(0xf1)](on),_0x3ccfc0=this[_0x4a9b42(0x51e)][_0x4a9b42(0xf1)](te),_0x2ef905=Qn((_0x4fe65=(_0x3bd2be=_0x3ccfc0==null?void 0x0:_0x3ccfc0['collabSubmitChangesetUrl'])!=null?_0x3bd2be:_0x48eb80)!=null?_0x4fe65:Kn,_0x1a1d40,_0x310097);try{await this['_http'][_0x4a9b42(0x1b2)](_0x2ef905,{'body':_0x39e718});}catch(_0x3966a3){throw this[_0x4a9b42(0x3e5)][_0x4a9b42(0x2be)](_0x4a9b42(0x304),'submit\x20changeset\x20error!'),_0x3966a3;}}async['_fetchMissChangesets'](_0x42c6b4){const _0x587840=_0x2fc972,{unitID:_0x199d00,from:_0x2066d2,to:_0x2274d5,unitType:_0x1f40db}=_0x42c6b4[_0x587840(0x191)];return(await this[_0x587840(0x18a)][_0x587840(0x4fd)]({'metadata':void 0x0},{'unitID':_0x199d00,'type':_0x1f40db,'from':_0x2066d2,'to':_0x2274d5}))[_0x587840(0x517)];}},exports['CollaborationSocketService']=Zn([we(0x0,a['Inject'](Z[_0x2fc972(0x4a1)])),we(0x1,a[_0x2fc972(0xde)](Z['WebSocketService'])),we(0x2,a[_0x2fc972(0x33a)]),we(0x3,a[_0x2fc972(0x1fc)]),we(0x4,S['ISnapshotServerService'])],exports[_0x2fc972(0x44c)]);const ei=_0x2fc972(0x154);function ti(_0x2c629f){const _0x42f842=_0x2fc972;return JSON[_0x42f842(0x3cd)](_0x2c629f)[_0x42f842(0x14d)];}class Tt{constructor(){const _0x11f3ca=_0x2fc972;I(this,_0x11f3ca(0x1c1),new A[(_0x11f3ca(0xd4))]()),I(this,_0x11f3ca(0x1c5),this[_0x11f3ca(0x1c1)][_0x11f3ca(0x1f3)]());}[_0x2fc972(0x14e)](_0x2bb912){const _0x3dbb87=_0x2fc972;this[_0x3dbb87(0x1c1)][_0x3dbb87(0x450)](_0x2bb912);}}var ni=Object['defineProperty'],ii=Object['getOwnPropertyDescriptor'],si=(_0x27ffbc,_0x47aaee,_0x3e5dba,_0x19f417)=>{for(var _0x1392c3=_0x19f417>0x1?void 0x0:_0x19f417?ii(_0x47aaee,_0x3e5dba):_0x47aaee,_0x4852c9=_0x27ffbc['length']-0x1,_0x2a77a1;_0x4852c9>=0x0;_0x4852c9--)(_0x2a77a1=_0x27ffbc[_0x4852c9])&&(_0x1392c3=(_0x19f417?_0x2a77a1(_0x47aaee,_0x3e5dba,_0x1392c3):_0x2a77a1(_0x1392c3))||_0x1392c3);return _0x19f417&&_0x1392c3&&ni(_0x47aaee,_0x3e5dba,_0x1392c3),_0x1392c3;},Ut=(_0xe06ba5,_0x50b688)=>(_0x400d41,_0x43583a)=>_0x50b688(_0x400d41,_0x43583a,_0xe06ba5);exports[_0x2fc972(0x120)]=class extends a[_0x2fc972(0x37c)]{constructor(_0x3a3e2d,_0x47b37c){const _0x14f2b=_0x2fc972;super(),I(this,_0x14f2b(0x2ed),new Map()),(this['_univerInstanceService']=_0x3a3e2d,this[_0x14f2b(0x40f)]=_0x47b37c,this[_0x14f2b(0x1a7)](a[_0x14f2b(0x146)](A[_0x14f2b(0x35e)](this[_0x14f2b(0x4d3)]['getTypeOfUnitDisposed$'](a[_0x14f2b(0x172)][_0x14f2b(0x252)])[_0x14f2b(0x54d)](V['map'](_0x3172f9=>_0x3172f9[_0x14f2b(0x12b)]())),this[_0x14f2b(0x4d3)][_0x14f2b(0x4fa)](a['UniverInstanceType']['UNIVER_DOC'])[_0x14f2b(0x54d)](V[_0x14f2b(0x2dc)](_0xd02278=>_0xd02278[_0x14f2b(0x12b)]())),this[_0x14f2b(0x4d3)]['getTypeOfUnitDisposed$'](a['UniverInstanceType'][_0x14f2b(0x1ff)])[_0x14f2b(0x54d)](V[_0x14f2b(0x2dc)](_0xa758f1=>_0xa758f1[_0x14f2b(0x12b)]())))[_0x14f2b(0x243)](_0x1460c7=>this[_0x14f2b(0x3b4)](_0x1460c7)))));}[_0x2fc972(0x43b)](_0xf9dbc0){const _0x4bd83e=_0x2fc972;this[_0x4bd83e(0x40f)][_0x4bd83e(0x43b)](_0xf9dbc0);}['getCurrentUser'](){const _0x157c9f=_0x2fc972;return this[_0x157c9f(0x40f)][_0x157c9f(0x4a9)]();}[_0x2fc972(0x26b)](_0x5b2a77,_0x4c62bd){const _0x229ad6=_0x2fc972;let _0x2316b5=this[_0x229ad6(0x2ed)]['get'](_0x5b2a77);_0x2316b5||(_0x2316b5=new ri(),this[_0x229ad6(0x2ed)]['set'](_0x5b2a77,_0x2316b5)),_0x2316b5['updateMember'](_0x4c62bd);}[_0x2fc972(0x49d)](_0x193304,_0xbb71b5){const _0x1d5c82=_0x2fc972,_0x556da3=this[_0x1d5c82(0x2ed)]['get'](_0x193304);_0x556da3&&_0x556da3['removeMember'](_0xbb71b5);}[_0x2fc972(0x1cb)](_0x3058f5){const _0x1d7ccb=_0x2fc972;return this[_0x1d7ccb(0x2ed)]['get'](_0x3058f5);}['getMember'](_0x1970bf,_0x592222){const _0x2e9895=_0x2fc972,_0xd0adc3=this[_0x2e9895(0x2ed)][_0x2e9895(0x3cf)](_0x1970bf);if(_0xd0adc3)return _0xd0adc3[_0x2e9895(0x2bc)](_0x592222);}['_removeRoom'](_0x58a0ec){const _0xf52246=_0x2fc972,_0x452281=this[_0xf52246(0x2ed)]['get'](_0x58a0ec);_0x452281&&(_0x452281['dispose'](),this[_0xf52246(0x2ed)][_0xf52246(0x332)](_0x58a0ec));}[_0x2fc972(0x324)](){const _0x5601a6=_0x2fc972;this['_roomMembers'][_0x5601a6(0x422)](_0x134afd=>_0x134afd['dispose']()),this['_roomMembers'][_0x5601a6(0x211)]();}},exports[_0x2fc972(0x120)]=si([Ut(0x0,a[_0x2fc972(0x3b9)]),Ut(0x1,a['Inject'](a[_0x2fc972(0x343)]))],exports[_0x2fc972(0x120)]);class ri extends a[_0x2fc972(0x37c)]{constructor(){const _0x5b1ee5=_0x2fc972;super(...arguments),I(this,_0x5b1ee5(0x3bc),new Map());}[_0x2fc972(0x324)](){const _0x13940b=_0x2fc972;this[_0x13940b(0x3bc)]['clear']();}['updateMember'](_0x325435){const _0x45b81f=_0x2fc972;this[_0x45b81f(0x3bc)][_0x45b81f(0x3ef)](_0x325435[_0x45b81f(0x51d)],_0x325435);}[_0x2fc972(0x49d)](_0x3e2fdd){const _0xa79905=_0x2fc972;this['_members'][_0xa79905(0x332)](_0x3e2fdd);}[_0x2fc972(0x2bc)](_0x19bfbe){const _0x4e3118=_0x2fc972;return this[_0x4e3118(0x3bc)][_0x4e3118(0x3cf)](_0x19bfbe);}[_0x2fc972(0x2fe)](){const _0x2ae8ae=_0x2fc972;return Array[_0x2ae8ae(0x4fe)](this['_members'][_0x2ae8ae(0x510)]());}}var oi=Object[_0x2fc972(0x356)],ai=Object[_0x2fc972(0x423)],ci=(_0x4870c7,_0x370095,_0x4f8e3a,_0x42a3ba)=>{const _0x30739f=_0x2fc972;for(var _0x52d416=_0x42a3ba>0x1?void 0x0:_0x42a3ba?ai(_0x370095,_0x4f8e3a):_0x370095,_0x384eff=_0x4870c7[_0x30739f(0x14d)]-0x1,_0x468d68;_0x384eff>=0x0;_0x384eff--)(_0x468d68=_0x4870c7[_0x384eff])&&(_0x52d416=(_0x42a3ba?_0x468d68(_0x370095,_0x4f8e3a,_0x52d416):_0x468d68(_0x52d416))||_0x52d416);return _0x42a3ba&&_0x52d416&&oi(_0x370095,_0x4f8e3a,_0x52d416),_0x52d416;},de=(_0x4a140a,_0x182e38)=>(_0x3accf5,_0x3c06e0)=>_0x182e38(_0x3accf5,_0x3c06e0,_0x4a140a),se=(_0x30421b=>(_0x30421b[_0x30421b[_0x2fc972(0x302)]=0x0]=_0x2fc972(0x302),_0x30421b[_0x30421b[_0x2fc972(0xed)]=0x1]='JOINING',_0x30421b[_0x30421b[_0x2fc972(0x455)]=0x2]=_0x2fc972(0x455),_0x30421b[_0x30421b[_0x2fc972(0x30f)]=0x3]=_0x2fc972(0x30f),_0x30421b))(se||{});exports[_0x2fc972(0x246)]=class extends a[_0x2fc972(0x222)]{constructor(_0x18d4a3,_0x177ab0,_0x21c79f,_0x397c01,_0x56b8d4,_0x233e08,_0x4881b1,_0x248b20,_0x4e604c,_0x57711e){const _0x44c6a0=_0x2fc972;super(),I(this,'_sessionStatus$',new A[(_0x44c6a0(0x130))](0x0)),I(this,_0x44c6a0(0x4cb),this[_0x44c6a0(0x44b)][_0x44c6a0(0x1f3)]()),I(this,'_event$',new A['Subject']()),I(this,'event$',this[_0x44c6a0(0x1c2)][_0x44c6a0(0x1f3)]()),I(this,_0x44c6a0(0x550)),I(this,'_socketMessageSubscription'),I(this,_0x44c6a0(0x2e2)),I(this,_0x44c6a0(0x21a),!0x1),I(this,'_telemetryInfo',null),(this[_0x44c6a0(0x168)]=_0x18d4a3,this[_0x44c6a0(0x3e5)]=_0x21c79f,this['_beforeCloseService']=_0x397c01,this[_0x44c6a0(0x3b6)]=_0x56b8d4,this[_0x44c6a0(0x51e)]=_0x233e08,this[_0x44c6a0(0x46e)]=_0x4881b1,this[_0x44c6a0(0x35d)]=_0x248b20,this[_0x44c6a0(0x16f)]=_0x4e604c,this[_0x44c6a0(0x155)]=_0x57711e,this[_0x44c6a0(0x21a)]=!!this[_0x44c6a0(0x155)],_0x177ab0['pipe'](A[_0x44c6a0(0x26d)](this[_0x44c6a0(0x391)]))[_0x44c6a0(0x243)](_0x21f15e=>{const _0x51d2f6=_0x44c6a0;var _0x42b592;typeof _0x21f15e>'u'||(this[_0x51d2f6(0x550)]=_0x21f15e,_0x21f15e?(this['_joinRoom'](_0x21f15e),this[_0x51d2f6(0x390)]=_0x21f15e[_0x51d2f6(0x48a)]['subscribe'](_0x455e56=>{const _0x7e695b=_0x51d2f6;_0x455e56[_0x7e695b(0x2c4)]===this[_0x7e695b(0x168)]&&this[_0x7e695b(0x502)](_0x455e56);})):(this[_0x51d2f6(0x21d)](),this[_0x51d2f6(0x44b)]['next'](0x2),(_0x42b592=this[_0x51d2f6(0x390)])==null||_0x42b592[_0x51d2f6(0x484)](),this[_0x51d2f6(0x390)]=null));}),this['disposeWithMe'](this['_beforeCloseService']['registerOnClose'](()=>{const _0x39128e=_0x44c6a0;var _0x2cb46b;(_0x2cb46b=this[_0x39128e(0x550)])==null||_0x2cb46b[_0x39128e(0x3b3)]({'cmd':G[_0x39128e(0x2b4)],'data':{'roomID':this[_0x39128e(0x168)]}});})));}get[_0x2fc972(0x480)](){const _0x14c1e5=_0x2fc972;return this[_0x14c1e5(0x44b)][_0x14c1e5(0x4a3)]();}[_0x2fc972(0x287)](){const _0x8db270=_0x2fc972;var _0x1b982c,_0x1a3fd3;return(_0x1a3fd3=(_0x1b982c=this[_0x8db270(0x550)])==null?void 0x0:_0x1b982c[_0x8db270(0x51d)])!=null?_0x1a3fd3:null;}[_0x2fc972(0x324)](){const _0xc22199=_0x2fc972;super[_0xc22199(0x324)](),this[_0xc22199(0x391)][_0xc22199(0x450)](),this[_0xc22199(0x391)][_0xc22199(0x4b9)]();}['close'](){const _0x2b9ced=_0x2fc972;var _0xb14b96,_0x314338;this['_throwTelemetryCollaborationNewChangeset'](),(_0xb14b96=this[_0x2b9ced(0x550)])==null||_0xb14b96[_0x2b9ced(0x3b3)]({'cmd':G[_0x2b9ced(0x2b4)],'data':{'roomID':this['_unitID']}}),(_0x314338=this[_0x2b9ced(0x550)])==null||_0x314338['close'](),this[_0x2b9ced(0x1c2)]['complete'](),this[_0x2b9ced(0x44b)][_0x2b9ced(0x4b9)](),this[_0x2b9ced(0x324)]();}['_onCombEvent'](_0x5380e3){const _0x14054f=_0x2fc972;_0x5380e3[_0x14054f(0x380)]===G[_0x14054f(0x14b)]?this[_0x14054f(0x1ef)](_0x5380e3):_0x5380e3['cmd']===G[_0x14054f(0x366)]&&this[_0x14054f(0xc6)](_0x5380e3);}['_joinRoom'](_0x13db41){const _0x947e20=_0x2fc972;this[_0x947e20(0x44b)]['next'](0x1),_0x13db41[_0x947e20(0x3b3)]({'cmd':G[_0x947e20(0x14b)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x947e20(0x168)]}]}});}[_0x2fc972(0x1ef)](_0x5de7fc){const _0x2162ef=_0x2fc972;var _0xf068b8;if(_0x5de7fc[_0x2162ef(0x271)]===Et[_0x2162ef(0x2de)]){this['_messageService'][_0x2162ef(0x456)]({'type':ge[_0x2162ef(0x40a)][_0x2162ef(0x19d)],'content':this['_localeService']['t']('session.room-full')}),this[_0x2162ef(0x44b)][_0x2162ef(0x450)](0x2);return;}this[_0x2162ef(0x44b)]['next'](0x3);const _0xd09717=(_0xf068b8=_0x5de7fc[_0x2162ef(0x191)][_0x2162ef(0x3b5)][this[_0x2162ef(0x168)]])==null?void 0x0:_0xf068b8[_0x2162ef(0xfd)];_0xd09717&&_0xd09717[_0x2162ef(0x422)](_0x35e66a=>this['_memberService']['updateMember'](this[_0x2162ef(0x168)],_0x35e66a));}['_onRecvEvent'](_0x1877bb){const _0x38bed1=_0x2fc972;try{const _0x3ce4a3=_0x1877bb['data'];switch(_0x3ce4a3[_0x38bed1(0x4ca)]){case S['CollaborationEvent'][_0x38bed1(0x321)]:this[_0x38bed1(0x386)](_0x3ce4a3),this[_0x38bed1(0x1c2)][_0x38bed1(0x450)](_0x3ce4a3);break;case S[_0x38bed1(0x2b7)][_0x38bed1(0x50a)]:this[_0x38bed1(0x4e4)](_0x3ce4a3),this[_0x38bed1(0x1c2)][_0x38bed1(0x450)](_0x3ce4a3);break;case S[_0x38bed1(0x2b7)][_0x38bed1(0x470)]:case S[_0x38bed1(0x2b7)]['CHANGESET_SHOULD_RETRY']:this[_0x38bed1(0x34b)](),this[_0x38bed1(0x53e)](),this[_0x38bed1(0x1c2)][_0x38bed1(0x450)](_0x3ce4a3);break;case S[_0x38bed1(0x2b7)]['MSG_FOR_ERROR']:this[_0x38bed1(0x3e5)]['error'](_0x38bed1(0x4de)+JSON[_0x38bed1(0x3cd)](_0x3ce4a3)),this[_0x38bed1(0x1c2)][_0x38bed1(0x450)](_0x3ce4a3);break;case S[_0x38bed1(0x2b7)]['COMMENT_UPDATE']:this['_commentService']['onCommentUpdate'](_0x3ce4a3[_0x38bed1(0x191)]),this['_event$'][_0x38bed1(0x450)](_0x3ce4a3);break;default:this['_event$']['next'](_0x3ce4a3);}}catch(_0x1b7fdd){this[_0x38bed1(0x3e5)]['error'](_0x1b7fdd,_0x1877bb);}}[_0x2fc972(0x386)](_0x518732){const _0x16e0a0=_0x2fc972;this[_0x16e0a0(0x35d)][_0x16e0a0(0x26b)](this[_0x16e0a0(0x168)],_0x518732[_0x16e0a0(0x191)]);}[_0x2fc972(0x4e4)](_0x1fb652){const _0x5834d1=_0x2fc972;this[_0x5834d1(0x35d)][_0x5834d1(0x49d)](this['_unitID'],_0x1fb652[_0x5834d1(0x191)][_0x5834d1(0x51d)]);}async[_0x2fc972(0x3b3)](_0x1d07eb,_0x4dd85c){const _0x3158cc=_0x2fc972;if(this['sessionStatus']!==0x3||!this[_0x3158cc(0x550)])throw new Error(_0x3158cc(0x44e));try{_0x1d07eb['eventID']===S[_0x3158cc(0x2b7)][_0x3158cc(0x306)]&&(this[_0x3158cc(0x10b)](),this[_0x3158cc(0x3f1)](_0x1d07eb)),this['_socket'][_0x3158cc(0x3b3)]({'cmd':G[_0x3158cc(0xdb)],'routeKey':_0x4dd85c,'routeType':'','data':_0x1d07eb});}catch(_0x4b40fd){this[_0x3158cc(0x3e5)][_0x3158cc(0x2be)](_0x4b40fd);}}[_0x2fc972(0x10b)](){const _0x180bcd=_0x2fc972;var _0xd25505;this['_collaborationTimeoutTimer']=window[_0x180bcd(0xeb)](()=>{const _0x10c392=_0x180bcd;this[_0x10c392(0x2e2)]=null,this['_messageService'][_0x10c392(0x456)]({'type':ge[_0x10c392(0x40a)][_0x10c392(0x44f)],'content':this['_localeService']['t'](_0x10c392(0x24b))});},(_0xd25505=this['_configService'][_0x180bcd(0xf1)](Ct))!=null?_0xd25505:nn);}['_clearCollaborationTimeoutTimer'](){const _0x1dd836=_0x2fc972;this[_0x1dd836(0x2e2)]&&(clearTimeout(this[_0x1dd836(0x2e2)]),this[_0x1dd836(0x2e2)]=null);}[_0x2fc972(0x3f1)](_0x1215ae){const _0x90b1d5=_0x2fc972;if(!this[_0x90b1d5(0x21a)])return;const {data:_0x487a91}=_0x1215ae,{unitID:_0x29b985,changeset:_0x28841f}=_0x487a91,{mutations:_0x3135da,type:_0x29db45}=_0x28841f;this[_0x90b1d5(0x1a2)]={'unitId':_0x29b985,'type':_0x29db45,'startTime':performance[_0x90b1d5(0x2ee)](),'stopTime':0x0,'duration':0x0,'size':ti(_0x3135da)};}[_0x2fc972(0x34b)](){const _0x2b26e0=_0x2fc972;if(this[_0x2b26e0(0x21a)]){if(!this[_0x2b26e0(0x1a2)]){this[_0x2b26e0(0x3e5)][_0x2b26e0(0x2be)](_0x2b26e0(0x304),_0x2b26e0(0xf9));return;}this[_0x2b26e0(0x1a2)][_0x2b26e0(0x547)]=performance[_0x2b26e0(0x2ee)](),this['_telemetryInfo'][_0x2b26e0(0x491)]=this['_telemetryInfo']['stopTime']-this[_0x2b26e0(0x1a2)][_0x2b26e0(0x4a8)],this['_telemetryService'][_0x2b26e0(0x1ab)](ei,this[_0x2b26e0(0x1a2)]),this[_0x2b26e0(0x1a2)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){const _0x2e34ef=_0x2fc972;this[_0x2e34ef(0x1a2)]=null;}},exports[_0x2fc972(0x246)]=ci([de(0x2,a[_0x2fc972(0x1fc)]),de(0x3,ee[_0x2fc972(0x448)]),de(0x4,ee['IMessageService']),de(0x5,a['IConfigService']),de(0x6,a[_0x2fc972(0xde)](a['LocaleService'])),de(0x7,a[_0x2fc972(0xde)](exports[_0x2fc972(0x120)])),de(0x8,a[_0x2fc972(0xde)](Tt)),de(0x9,a[_0x2fc972(0x457)](jn['ITelemetryService']))],exports[_0x2fc972(0x246)]);var li=Object[_0x2fc972(0x356)],hi=Object[_0x2fc972(0x423)],_i=(_0x2422a1,_0x372c1a,_0x2103b7,_0x52419b)=>{const _0x2ebfc1=_0x2fc972;for(var _0x149f3a=_0x52419b>0x1?void 0x0:_0x52419b?hi(_0x372c1a,_0x2103b7):_0x372c1a,_0x5577b5=_0x2422a1[_0x2ebfc1(0x14d)]-0x1,_0xd35930;_0x5577b5>=0x0;_0x5577b5--)(_0xd35930=_0x2422a1[_0x5577b5])&&(_0x149f3a=(_0x52419b?_0xd35930(_0x372c1a,_0x2103b7,_0x149f3a):_0xd35930(_0x149f3a))||_0x149f3a);return _0x52419b&&_0x149f3a&&li(_0x372c1a,_0x2103b7,_0x149f3a),_0x149f3a;},Ee=(_0x25ca61,_0x13e8cd)=>(_0x3860cb,_0x1acb35)=>_0x13e8cd(_0x3860cb,_0x1acb35,_0x25ca61);exports[_0x2fc972(0x45d)]=class extends a[_0x2fc972(0x37c)]{constructor(_0x4b12ee,_0x5e0e05,_0x1b22d3,_0x463073,_0x1550e9,_0x431f96){const _0x37f5a2=_0x2fc972;super(),I(this,_0x37f5a2(0x497),new A[(_0x37f5a2(0x130))](void 0x0)),I(this,_0x37f5a2(0x43c),this[_0x37f5a2(0x497)][_0x37f5a2(0x1f3)]()),I(this,_0x37f5a2(0x1d7),null),I(this,'_sessions',new Map()),I(this,_0x37f5a2(0x367),new A[(_0x37f5a2(0x130))](se['IDLE'])),I(this,_0x37f5a2(0x1c4),this['_status$'][_0x37f5a2(0x1f3)]()),I(this,_0x37f5a2(0x17f),!0x1),I(this,_0x37f5a2(0x187)),I(this,_0x37f5a2(0x19a),0x0),I(this,_0x37f5a2(0x527)),I(this,'_timeoutTimer'),(this['_injector']=_0x4b12ee,this[_0x37f5a2(0x46e)]=_0x5e0e05,this[_0x37f5a2(0x3b6)]=_0x1b22d3,this['_logService']=_0x463073,this[_0x37f5a2(0x51e)]=_0x1550e9,this[_0x37f5a2(0x234)]=_0x431f96,this[_0x37f5a2(0x1ce)]());}get[_0x2fc972(0x550)](){const _0x358677=_0x2fc972;return this[_0x358677(0x497)]['getValue']();}['_initEventListeners'](){const _0x56ba00=_0x2fc972;this[_0x56ba00(0x2d5)](),this[_0x56ba00(0x1dd)]();}['dispose'](){const _0xf00483=_0x2fc972;super['dispose'](),this['_sessions'][_0xf00483(0x422)](_0x477336=>_0x477336[_0xf00483(0x324)]()),this['_sessions'][_0xf00483(0x211)](),this['_status$']['complete']();}async[_0x2fc972(0x42c)](_0x31183d){const _0x920083=_0x2fc972;if(this[_0x920083(0x36d)][_0x920083(0x33e)](_0x31183d))return this[_0x920083(0x36d)][_0x920083(0x3cf)](_0x31183d);this['_tryEnsureSocket']();const _0x42ea04=this[_0x920083(0x2bd)][_0x920083(0x176)](exports[_0x920083(0x246)],_0x31183d,this['_socket$'][_0x920083(0x1f3)]());return this[_0x920083(0x36d)]['set'](_0x31183d,_0x42ea04),_0x42ea04;}[_0x2fc972(0x23b)](_0x384235){const _0x280085=_0x2fc972;var _0x3ef921;const _0x3aecb4=this['_sessions'][_0x280085(0x3cf)](_0x384235);_0x3aecb4&&(this['_sessions'][_0x280085(0x332)](_0x384235),_0x3aecb4[_0x280085(0x224)]()),this[_0x280085(0x36d)]['size']||(_0x3ef921=this[_0x280085(0x550)])==null||_0x3ef921[_0x280085(0x224)]();}[_0x2fc972(0x1f8)](){const _0x1a7f55=_0x2fc972;this[_0x1a7f55(0x19a)]=0x0,this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x1a7f55(0x187)]),this[_0x1a7f55(0x187)]=null),this[_0x1a7f55(0x447)]();}['_createSocket'](){const _0x35b483=_0x2fc972;var _0x2ab178,_0x7a9d9;const _0x42049e=this[_0x35b483(0x51e)][_0x35b483(0xf1)](en),_0x4c6807=this['_configService']['getConfig'](te),_0x34ba7e=(_0x7a9d9=(_0x2ab178=_0x4c6807==null?void 0x0:_0x4c6807[_0x35b483(0x4ea)])!=null?_0x2ab178:_0x42049e)!=null?_0x7a9d9:Wn,_0x55ebb3=this[_0x35b483(0x234)][_0x35b483(0x51f)](_0x34ba7e);return this[_0x35b483(0x1d7)]=_0x55ebb3,_0x55ebb3;}[_0x2fc972(0x1a6)](){const _0x8974d8=_0x2fc972;var _0x13ce2b,_0x18694b;try{const _0x3441b3=(_0x18694b=(_0x13ce2b=this[_0x8974d8(0x550)])!=null?_0x13ce2b:this[_0x8974d8(0x1d7)])!=null?_0x18694b:this[_0x8974d8(0x23c)]();if(_0x3441b3){const _0x5583c1=_0x3441b3[_0x8974d8(0x3b3)];_0x3441b3[_0x8974d8(0x3b3)]=_0x1a0829=>(this['_rescheduleHeartbeat'](),_0x5583c1[_0x8974d8(0x2ce)](_0x3441b3,[_0x1a0829])),_0x3441b3[_0x8974d8(0x48a)][_0x8974d8(0x243)](_0x5b98fe=>this[_0x8974d8(0x33c)](_0x3441b3,_0x5b98fe)),_0x3441b3[_0x8974d8(0x2a1)][_0x8974d8(0x54d)](V['take'](0x1))[_0x8974d8(0x243)](_0x141630=>this[_0x8974d8(0x3e5)][_0x8974d8(0x2be)]('[CollaborationSessionService]:\x20socket\x20error',_0x141630)),_0x3441b3[_0x8974d8(0x26e)][_0x8974d8(0x54d)](V[_0x8974d8(0x4dc)](0x1))[_0x8974d8(0x243)](()=>{const _0x3e5fdf=_0x8974d8;this[_0x3e5fdf(0x54f)](_0x3441b3);}),_0x3441b3['close$'][_0x8974d8(0x54d)](V[_0x8974d8(0x4dc)](0x1))[_0x8974d8(0x243)](_0xc23337=>{const _0x33c4b2=_0x8974d8;this[_0x33c4b2(0x3e5)][_0x33c4b2(0x17a)](_0x33c4b2(0x18c),_0x33c4b2(0x21e),_0xc23337),this['_onConnectionFailed']();});}}catch(_0x327466){this[_0x8974d8(0x3e5)][_0x8974d8(0x2be)](_0x327466),this['_onConnectionFailed']();}}['_onConnectionOpen'](_0x2b7dcd){const _0x4cd1e8=_0x2fc972;this[_0x4cd1e8(0x3e5)]['debug'](_0x4cd1e8(0x18c),_0x4cd1e8(0x2dd)),_0x2b7dcd[_0x4cd1e8(0x3b3)]({'cmd':G[_0x4cd1e8(0x3b8)]}),this[_0x4cd1e8(0x3da)]();}[_0x2fc972(0x2d5)](){const _0x39c3a8=_0x2fc972;window['addEventListener'](_0x39c3a8(0x399),()=>this[_0x39c3a8(0x20b)]());}[_0x2fc972(0x20b)](){const _0x10cbfc=_0x2fc972;this[_0x10cbfc(0x17f)]=!0x1,this[_0x10cbfc(0x1d7)]=null,this[_0x10cbfc(0x367)]['next'](se[_0x10cbfc(0x455)]),this['_socket$'][_0x10cbfc(0x450)](null),this[_0x10cbfc(0x141)](),this[_0x10cbfc(0x350)]();}[_0x2fc972(0x128)](){const _0x5ac8e4=_0x2fc972;var _0x53121a;this['_onOffline'](),this[_0x5ac8e4(0x19a)]<((_0x53121a=this[_0x5ac8e4(0x51e)][_0x5ac8e4(0xf1)](sn))!=null?_0x53121a:Gn)?(this['_messageService'][_0x5ac8e4(0x456)]({'key':_0x5ac8e4(0xc2),'type':ge['MessageType']['Warning'],'content':this['_localeService']['t'](_0x5ac8e4(0x505))}),this['_tryReconnect']()):this[_0x5ac8e4(0x3b6)]['show']({'key':_0x5ac8e4(0xc2),'type':ge['MessageType'][_0x5ac8e4(0x44f)],'content':this[_0x5ac8e4(0x46e)]['t'](_0x5ac8e4(0x263))});}[_0x2fc972(0x1dd)](){const _0x9a75a3=_0x2fc972,_0x2b0544=()=>{const _0x2f1dae=_0x10d1;this['_socket']||this[_0x2f1dae(0x1f8)]();},_0x3edd01=()=>{const _0x21ca1e=_0x10d1;this['_socket']||document[_0x21ca1e(0xc3)]===_0x21ca1e(0x379)||this[_0x21ca1e(0x1f8)]();};window['addEventListener']('online',_0x2b0544),document[_0x9a75a3(0x170)](_0x9a75a3(0x47f),_0x3edd01);}[_0x2fc972(0x447)](){const _0x1556e0=_0x2fc972;var _0x1ce326;const _0x566b9b=this[_0x1556e0(0x19a)],_0xbeae56=this[_0x1556e0(0x51e)]['getConfig'](te),_0x390682=_0x566b9b===0x0?0x0:((_0x1ce326=_0xbeae56==null?void 0x0:_0xbeae56['retryConnectingInterval'])!=null?_0x1ce326:Vn)*0x2**_0x566b9b;this[_0x1556e0(0x187)]=window['setTimeout'](()=>{const _0x534bc0=_0x1556e0;clearTimeout(this[_0x534bc0(0x187)]),this[_0x534bc0(0x187)]=null,this[_0x534bc0(0x1a6)]();},_0x390682),this[_0x1556e0(0x19a)]+=0x1;}['_onMessage'](_0x3018b4,_0x11e0ed){const _0x458241=_0x2fc972,{cmd:_0x42ba7d}=_0x11e0ed;_0x42ba7d===G[_0x458241(0x3b8)]&&!this[_0x458241(0x17f)]&&(_0x3018b4[_0x458241(0x51d)]=_0x11e0ed[_0x458241(0x191)][_0x458241(0x51d)],this[_0x458241(0x497)][_0x458241(0x450)](_0x3018b4),this[_0x458241(0x367)][_0x458241(0x450)](se[_0x458241(0x30f)]),this[_0x458241(0x17f)]=!0x0,this[_0x458241(0x1d7)]=null),_0x42ba7d===G['HEARTBEAT']&&this[_0x458241(0x141)](),this[_0x458241(0x3da)]();}[_0x2fc972(0x3da)](){const _0x270fcc=_0x2fc972;var _0x40165a;this[_0x270fcc(0x350)](),this[_0x270fcc(0x527)]=window[_0x270fcc(0xeb)](()=>this['_sendHeartbeat'](),(_0x40165a=this[_0x270fcc(0x51e)]['getConfig'](tn))!=null?_0x40165a:Fn);}[_0x2fc972(0x1d1)](){const _0x427839=_0x2fc972;this['_socket'][_0x427839(0x3b3)]({'cmd':G['HEARTBEAT']}),this[_0x427839(0x31b)]();}[_0x2fc972(0x31b)](){const _0x5bdc1d=_0x2fc972;var _0x13781d;this[_0x5bdc1d(0x2d9)]=window[_0x5bdc1d(0xeb)](()=>this[_0x5bdc1d(0x128)](),(_0x13781d=this[_0x5bdc1d(0x51e)][_0x5bdc1d(0xf1)](Ct))!=null?_0x13781d:nn);}[_0x2fc972(0x350)](){const _0x2d0b29=_0x2fc972;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x2d0b29(0x527)]=null);}[_0x2fc972(0x141)](){const _0x28325a=_0x2fc972;this[_0x28325a(0x2d9)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x28325a(0x2d9)]=null);}},exports[_0x2fc972(0x45d)]=_i([Ee(0x0,a[_0x2fc972(0xde)](a['Injector'])),Ee(0x1,a[_0x2fc972(0xde)](a['LocaleService'])),Ee(0x2,ee[_0x2fc972(0x374)]),Ee(0x3,a[_0x2fc972(0x1fc)]),Ee(0x4,a[_0x2fc972(0x33a)]),Ee(0x5,bt)],exports[_0x2fc972(0x45d)]);const Y=[];for(let s=0x0;s<0x100;++s)Y[_0x2fc972(0x540)]((s+0x100)[_0x2fc972(0x443)](0x10)[_0x2fc972(0x2b1)](0x1));function ui(_0x5b877f,_0x5815db=0x0){return(Y[_0x5b877f[_0x5815db+0x0]]+Y[_0x5b877f[_0x5815db+0x1]]+Y[_0x5b877f[_0x5815db+0x2]]+Y[_0x5b877f[_0x5815db+0x3]]+'-'+Y[_0x5b877f[_0x5815db+0x4]]+Y[_0x5b877f[_0x5815db+0x5]]+'-'+Y[_0x5b877f[_0x5815db+0x6]]+Y[_0x5b877f[_0x5815db+0x7]]+'-'+Y[_0x5b877f[_0x5815db+0x8]]+Y[_0x5b877f[_0x5815db+0x9]]+'-'+Y[_0x5b877f[_0x5815db+0xa]]+Y[_0x5b877f[_0x5815db+0xb]]+Y[_0x5b877f[_0x5815db+0xc]]+Y[_0x5b877f[_0x5815db+0xd]]+Y[_0x5b877f[_0x5815db+0xe]]+Y[_0x5b877f[_0x5815db+0xf]])['toLowerCase']();}let Je;const di=new Uint8Array(0x10);function fi(){const _0x30e854=_0x2fc972;if(!Je){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');Je=crypto[_0x30e854(0xb1)][_0x30e854(0x29a)](crypto);}return Je(di);}const vi=typeof crypto<'u'&&crypto[_0x2fc972(0x3b7)]&&crypto[_0x2fc972(0x3b7)][_0x2fc972(0x29a)](crypto),Mt={'randomUUID':vi};function mi(_0x386168,_0x10ea70,_0x18be34){const _0x9ac546=_0x2fc972;if(Mt['randomUUID']&&!_0x10ea70&&!_0x386168)return Mt[_0x9ac546(0x3b7)]();_0x386168=_0x386168||{};const _0x2d031a=_0x386168[_0x9ac546(0x151)]||(_0x386168[_0x9ac546(0x2e5)]||fi)();return _0x2d031a[0x6]=_0x2d031a[0x6]&0xf|0x40,_0x2d031a[0x8]=_0x2d031a[0x8]&0x3f|0x80,ui(_0x2d031a);}var Si=Object[_0x2fc972(0x356)],pi=Object[_0x2fc972(0x423)],gi=(_0x3b87be,_0x42884f,_0x3fd343,_0x1d8841)=>{const _0x37d07a=_0x2fc972;for(var _0x484904=_0x1d8841>0x1?void 0x0:_0x1d8841?pi(_0x42884f,_0x3fd343):_0x42884f,_0x132459=_0x3b87be[_0x37d07a(0x14d)]-0x1,_0x36c948;_0x132459>=0x0;_0x132459--)(_0x36c948=_0x3b87be[_0x132459])&&(_0x484904=(_0x1d8841?_0x36c948(_0x42884f,_0x3fd343,_0x484904):_0x36c948(_0x484904))||_0x484904);return _0x1d8841&&_0x484904&&Si(_0x42884f,_0x3fd343,_0x484904),_0x484904;},Ze=(_0x14fd13,_0x207d0c)=>(_0x505e20,_0x196a2e)=>_0x207d0c(_0x505e20,_0x196a2e,_0x14fd13);let Be=class{constructor(_0x55af2b,_0x40379e,_0x440670){const _0x161aee=_0x2fc972;this['_injector']=_0x55af2b,this[_0x161aee(0x116)]=_0x40379e,this[_0x161aee(0x184)]=_0x440670;}[_0x2fc972(0x512)](_0xb85a61){const _0x4b28e1=_0x2fc972;this[_0x4b28e1(0x3a1)](_0xb85a61),this[_0x4b28e1(0x28f)](_0xb85a61);}[_0x2fc972(0x2fa)](_0x259e6e){const _0x1e3e4f=_0x2fc972,{unitID:_0x57fe44}=_0x259e6e,_0xb68cbb=this[_0x1e3e4f(0x184)]['getRenderById'](_0x57fe44)[_0x1e3e4f(0x4e2)](J[_0x1e3e4f(0x15f)]),{redoCache:_0x3f7589}=_0xb68cbb['getUndoRedoMutationParamsCache']();if(_0x3f7589[_0x1e3e4f(0x14d)]===0x0)return _0x259e6e;let _0x10a2d7=a[_0x1e3e4f(0x3bd)][_0x1e3e4f(0x109)](_0x259e6e[_0x1e3e4f(0x492)][0x0]);for(let _0xdca217=0x0;_0xdca217<_0x3f7589[_0x1e3e4f(0x14d)];_0xdca217++){const _0x20a794={'id':_0x1e3e4f(0x30d),'params':{..._0x3f7589[_0xdca217]}},_0xa7f27e=this['_transformService'][_0x1e3e4f(0x2c5)](_0x10a2d7,_0x20a794,!0x1);if(S[_0x1e3e4f(0x107)](_0xa7f27e))throw _0xa7f27e[_0x1e3e4f(0x2be)];_0x10a2d7=_0xa7f27e[_0x1e3e4f(0x40c)];}return{...a[_0x1e3e4f(0x3bd)][_0x1e3e4f(0x109)](_0x259e6e),'mutations':[_0x10a2d7]};}[_0x2fc972(0x3a1)](_0x32e022){const _0x257683=_0x2fc972,{unitID:_0x2aab7f}=_0x32e022,_0x14b031=this['_renderManagerService'][_0x257683(0x1b0)](_0x2aab7f)['with'](J[_0x257683(0x15f)]),{undoCache:_0x57440d,redoCache:_0x5942b6}=_0x14b031[_0x257683(0x53d)]();if(_0x57440d[_0x257683(0x14d)]===0x0||_0x5942b6['length']===0x0)return;const _0x525dbb=[],_0x4d0c32=[];let _0xdf298b=a[_0x257683(0x3bd)][_0x257683(0x109)](_0x32e022['mutations'][0x0]),_0x4327b3=a[_0x257683(0x3bd)]['deepClone'](_0x32e022[_0x257683(0x492)][0x0]);for(let _0x37225b=_0x57440d[_0x257683(0x14d)]-0x1;_0x37225b>=0x0;_0x37225b--){const _0x2643d6={'id':_0x257683(0x30d),'params':{..._0x57440d[_0x37225b]}},_0x38fdae={'id':'doc.mutation.rich-text-editing','params':{..._0x5942b6[_0x37225b]}},_0x320a51=this[_0x257683(0x116)][_0x257683(0x2c5)](_0xdf298b,_0x2643d6,!0x1),_0x108f76=this[_0x257683(0x116)][_0x257683(0x2c5)](_0x4327b3,_0x38fdae,!0x1);if(S[_0x257683(0x107)](_0x320a51))throw _0x320a51[_0x257683(0x2be)];if(S[_0x257683(0x107)](_0x108f76))throw _0x108f76['error'];_0x525dbb[_0x257683(0x2b0)](_0x320a51[_0x257683(0x1e2)][_0x257683(0x2ad)]),_0x4d0c32[_0x257683(0x2b0)](_0x108f76[_0x257683(0x1e2)]['params']),_0xdf298b=_0x320a51['m1Prime'],_0x4327b3=_0x108f76[_0x257683(0x40c)];}_0x14b031[_0x257683(0x33f)]({'undoCache':_0x525dbb,'redoCache':_0x4d0c32});}[_0x2fc972(0x28f)](_0x4a5a57){const _0x33c0e5=_0x2fc972,{unitID:_0x4d6c82}=_0x4a5a57,_0x2a049b=this[_0x33c0e5(0x184)]['getRenderById'](_0x4d6c82)[_0x33c0e5(0x4e2)](J[_0x33c0e5(0x15f)]),_0x5d58de=_0x2a049b['getActiveRange']();if(_0x5d58de==null)return;const _0x195ded=[{'id':_0x33c0e5(0x30d),'params':{'unitId':_0x4a5a57['unitID'],'actions':null,'textRanges':[_0x5d58de]}}],_0x36ff95=this[_0x33c0e5(0x116)][_0x33c0e5(0x4ee)](_0x4a5a57,_0x195ded);if(!S['isTransformMutationsWithChangesetSuccess'](_0x36ff95))throw _0x36ff95[_0x33c0e5(0x2be)];const _0x2ee347=_0x36ff95['m2Prime'][0x0][_0x33c0e5(0x2ad)][_0x33c0e5(0x466)];Array[_0x33c0e5(0x249)](_0x2ee347)&&_0x2ee347['length']&&_0x2a049b['setActiveRange'](_0x2ee347[0x0]);}};Be=gi([Ze(0x0,a[_0x2fc972(0xde)](a[_0x2fc972(0x10d)])),Ze(0x1,S['ITransformService']),Ze(0x2,K[_0x2fc972(0x2c1)])],Be);var Ii=Object[_0x2fc972(0x356)],Ci=Object['getOwnPropertyDescriptor'],Ei=(_0x5138c4,_0x49a740,_0x35bc20,_0x354f3b)=>{const _0x2f06a1=_0x2fc972;for(var _0x35afd0=_0x354f3b>0x1?void 0x0:_0x354f3b?Ci(_0x49a740,_0x35bc20):_0x49a740,_0x14b093=_0x5138c4[_0x2f06a1(0x14d)]-0x1,_0xa6c039;_0x14b093>=0x0;_0x14b093--)(_0xa6c039=_0x5138c4[_0x14b093])&&(_0x35afd0=(_0x354f3b?_0xa6c039(_0x49a740,_0x35bc20,_0x35afd0):_0xa6c039(_0x35afd0))||_0x35afd0);return _0x354f3b&&_0x35afd0&&Ii(_0x49a740,_0x35bc20,_0x35afd0),_0x35afd0;},Pe=(_0x3da7cf,_0x1d60cb)=>(_0x22e21f,_0x2b3e49)=>_0x1d60cb(_0x22e21f,_0x2b3e49,_0x3da7cf);exports['LocalCacheService']=class extends a[_0x2fc972(0x37c)]{constructor(_0x18e844,_0x581475,_0x4752df,_0x556436,_0x2dc817){const _0xb8fad1=_0x2fc972;super(),I(this,_0xb8fad1(0x264),new Map()),I(this,_0xb8fad1(0x13e),new Map()),I(this,_0xb8fad1(0x1b9),!0x1),(this[_0xb8fad1(0x51e)]=_0x18e844,this['_localStorageService']=_0x581475,this['_beforeCloseService']=_0x4752df,this[_0xb8fad1(0x46e)]=_0x556436,this[_0xb8fad1(0x11e)]=_0x2dc817,this[_0xb8fad1(0x193)]());}[_0x2fc972(0x295)](){const _0x8b70b7=_0x2fc972;this[_0x8b70b7(0x1b9)]=!0x0;}['enableLocalCache'](){const _0x2ca2c2=_0x2fc972;this[_0x2ca2c2(0x1b9)]=!0x1;}[_0x2fc972(0x324)](){const _0x20699b=_0x2fc972;this[_0x20699b(0x4bf)]()[_0x20699b(0x104)](()=>super[_0x20699b(0x324)]());}async[_0x2fc972(0x47c)](_0x347c23){const _0x5e7604=_0x2fc972;return this['_disabled']?null:this[_0x5e7604(0x29d)][_0x5e7604(0x171)](At(_0x347c23));}async[_0x2fc972(0x4d5)](_0x1affd9,_0x4f9d08){const _0x45deab=_0x2fc972;return!!this[_0x45deab(0x29d)][_0x45deab(0x418)](_0x1affd9,_0x4f9d08);}[_0x2fc972(0xb8)](_0x244029,_0x1da68,_0x322125,_0x4cb247){const _0x18d187=_0x2fc972,_0x3b462d=this[_0x18d187(0x11e)][_0x18d187(0xc9)](_0x244029);this['_cachedData'][_0x18d187(0x3ef)](_0x244029,{'unitID':_0x244029,'type':_0x1da68,'awaitingChangeset':_0x322125,'mutations':_0x4cb247,'rev':_0x3b462d}),this['_saveTaskMap'][_0x18d187(0x33e)](_0x244029)||this['_scheduleSaving'](_0x244029);}[_0x2fc972(0x2db)](_0x51dfe4){const _0xffd53e=_0x2fc972,_0x3d7507=this[_0xffd53e(0x437)]();_0x3d7507===0x0?this[_0xffd53e(0x2a9)](_0x51dfe4):this[_0xffd53e(0x13e)]['set'](_0x51dfe4,setTimeout(()=>this[_0xffd53e(0x2a9)](_0x51dfe4),_0x3d7507));}[_0x2fc972(0x437)](){const _0x5b48af=_0x2fc972;var _0x514b9e;return(_0x514b9e=this[_0x5b48af(0x51e)]['getConfig'](rn))!=null?_0x514b9e:Yn;}[_0x2fc972(0x2a9)](_0x3c8ed2){const _0x5a492e=_0x2fc972,_0x36dd81=this[_0x5a492e(0x13e)][_0x5a492e(0x3cf)](_0x3c8ed2);return _0x36dd81!==void 0x0&&window[_0x5a492e(0x530)](_0x36dd81),this['_localStorageService'][_0x5a492e(0x418)](At(_0x3c8ed2),this[_0x5a492e(0x264)]['get'](_0x3c8ed2))['then'](()=>this[_0x5a492e(0x13e)][_0x5a492e(0x332)](_0x3c8ed2));}async[_0x2fc972(0x4bf)](){const _0x39d600=[];this['_saveTaskMap']['forEach']((_0x5c6f64,_0x50aa95)=>{const _0x360760=_0x10d1;window[_0x360760(0x530)](_0x5c6f64),_0x39d600[_0x360760(0x540)](this['_saveCache'](_0x50aa95)[_0x360760(0x104)](()=>{const _0x851cc5=_0x360760;this['_saveTaskMap'][_0x851cc5(0x332)](_0x50aa95);}));}),await Promise['all'](_0x39d600);}[_0x2fc972(0x193)](){const _0x50c414=_0x2fc972;this['disposeWithMe'](this[_0x50c414(0x197)][_0x50c414(0x25e)](()=>{const _0x47697e=_0x50c414;if(this[_0x47697e(0x13e)][_0x47697e(0x1ca)])return this['_localeService']['t'](_0x47697e(0x473));}));}},exports[_0x2fc972(0x464)]=Ei([Pe(0x0,a['IConfigService']),Pe(0x1,a[_0x2fc972(0x2d4)]),Pe(0x2,ee['IBeforeCloseService']),Pe(0x3,a[_0x2fc972(0xde)](a[_0x2fc972(0x2cf)])),Pe(0x4,a[_0x2fc972(0xde)](S[_0x2fc972(0x347)]))],exports['LocalCacheService']);function At(_0x2201f5){return'unit-cache-'+_0x2201f5;}var bi=Object[_0x2fc972(0x356)],Ti=Object[_0x2fc972(0x423)],Ri=(_0x8e65aa,_0x42f0c4,_0x328b26,_0x33afec)=>{const _0x514057=_0x2fc972;for(var _0x39ff76=_0x33afec>0x1?void 0x0:_0x33afec?Ti(_0x42f0c4,_0x328b26):_0x42f0c4,_0x2b39f8=_0x8e65aa[_0x514057(0x14d)]-0x1,_0x1d6dfd;_0x2b39f8>=0x0;_0x2b39f8--)(_0x1d6dfd=_0x8e65aa[_0x2b39f8])&&(_0x39ff76=(_0x33afec?_0x1d6dfd(_0x42f0c4,_0x328b26,_0x39ff76):_0x1d6dfd(_0x39ff76))||_0x39ff76);return _0x33afec&&_0x39ff76&&bi(_0x42f0c4,_0x328b26,_0x39ff76),_0x39ff76;},Qe=(_0x4a8766,_0x89792a)=>(_0x48a83e,_0x2c05b6)=>_0x89792a(_0x48a83e,_0x2c05b6,_0x4a8766);function yi(_0x382c03){const _0x4ec1da=_0x2fc972,{unitID:_0x1e808f,mutations:_0x6f0a10}=_0x382c03;return{'unitId':_0x1e808f,'subUnitId':_0x6f0a10[0x0]['params'][_0x4ec1da(0x469)]};}let ke=class{constructor(_0x3da659,_0x5c3a1f,_0xa027fd){const _0x41f71d=_0x2fc972;this[_0x41f71d(0x2bd)]=_0x3da659,this[_0x41f71d(0x116)]=_0x5c3a1f,this['_instanceService']=_0xa027fd;}[_0x2fc972(0x1b5)](_0x571e62){const _0x629001=_0x2fc972;var _0x52e9ac,_0xf6b389,_0x73b011,_0x512f9d;const _0x47a3e7=this[_0x629001(0x2bd)][_0x629001(0x3cf)](k['SheetsSelectionsService']),{unitId:_0x5d07ba,subUnitId:_0x4892f5}=yi(_0x571e62),_0x3c7832=_0x47a3e7[_0x629001(0x3e4)](_0x5d07ba)['getCurrentSelections'](),_0x58fa25=(_0xf6b389=(_0x52e9ac=this[_0x629001(0xd0)][_0x629001(0xd9)](_0x5d07ba))==null?void 0x0:_0x52e9ac[_0x629001(0x397)]())==null?void 0x0:_0xf6b389['getSheetId']();if(_0x3c7832[_0x629001(0x14d)]===0x0||!_0x5d07ba||!_0x4892f5)return;const _0x54a724=[{'id':k['SetSelectionsOperation']['id'],'params':{'unitId':_0x5d07ba,'subUnitId':_0x58fa25,'selections':a[_0x629001(0x3bd)][_0x629001(0x109)](_0x3c7832)}}],_0x45f74e=this[_0x629001(0x116)][_0x629001(0x4ee)](_0x571e62,_0x54a724);if(!S[_0x629001(0x3cb)](_0x45f74e))throw _0x45f74e[_0x629001(0x2be)];const _0x14591b=(_0x512f9d=(_0x73b011=_0x45f74e['m2Prime'][0x0])==null?void 0x0:_0x73b011['params'])==null?void 0x0:_0x512f9d[_0x629001(0x29b)];if(Array[_0x629001(0x249)](_0x14591b)&&_0x14591b[_0x629001(0x14d)]){if(_0x14591b[_0x629001(0x14d)]===_0x54a724[0x0][_0x629001(0x2ad)]['selections'][_0x629001(0x14d)]&&_0x14591b['every']((_0x10ad50,_0x3d68c0)=>a[_0x629001(0x1eb)][_0x629001(0x38e)](_0x10ad50[_0x629001(0xbd)],_0x54a724[0x0][_0x629001(0x2ad)][_0x629001(0x29b)][_0x3d68c0][_0x629001(0xbd)])))return;this['_injector'][_0x629001(0x3cf)](a[_0x629001(0x451)])[_0x629001(0xc0)](k[_0x629001(0x2c0)]['id'],{'unitId':_0x5d07ba,'subUnitId':_0x58fa25,'selections':_0x14591b});}}};ke=Ri([Qe(0x0,a[_0x2fc972(0xde)](a[_0x2fc972(0x10d)])),Qe(0x1,S[_0x2fc972(0x4a4)]),Qe(0x2,a[_0x2fc972(0x3b9)])],ke);const qe=a[_0x2fc972(0x183)](_0x2fc972(0x1e9));var un=(_0x53560c=>(_0x53560c[_0x53560c[_0x2fc972(0x256)]=0x0]=_0x2fc972(0x256),_0x53560c[_0x53560c[_0x2fc972(0x1a5)]=0x1]=_0x2fc972(0x1a5),_0x53560c))(un||{});const Nt=0x7530,Lt=_0x2fc972(0x203);class Oi extends a[_0x2fc972(0x37c)]{constructor(){const _0x7c8a0a=_0x2fc972;super(),I(this,'_id',a[_0x7c8a0a(0x3bd)][_0x7c8a0a(0xf2)]()),I(this,_0x7c8a0a(0x34c),new Set()),I(this,'_unitOnClients',new Map()),I(this,'_heartbeatTimer',null),I(this,'_clearOtherTimers',new Map()),I(this,_0x7c8a0a(0x3c7),new Map()),this[_0x7c8a0a(0x192)]();}[_0x2fc972(0x324)](){const _0x437af0=_0x2fc972;super['dispose'](),this['_clearOtherTimers'][_0x437af0(0x422)]((_0x45d614,_0x2b9020)=>this[_0x437af0(0x385)](_0x2b9020)),this['_heartbeatTimer']&&window[_0x437af0(0x421)](this['_heartbeatTimer']);}[_0x2fc972(0x433)](_0x47a303){const _0x1194b7=_0x2fc972;return this[_0x1194b7(0x260)](_0x47a303)['pipe'](A[_0x1194b7(0x51a)]());}[_0x2fc972(0x27c)](_0xc9de10){const _0x2a9390=_0x2fc972;this[_0x2a9390(0x34c)][_0x2a9390(0x1ca)]===0x0&&this[_0x2a9390(0x31f)](),this['_selfUnitIDs'][_0x2a9390(0x34a)](_0xc9de10),this[_0x2a9390(0x132)]({'type':0x0,'memberID':this[_0x2a9390(0x1cd)],'unitIDs':[_0xc9de10],'isForwarded':!0x1});}[_0x2fc972(0x503)](_0x49deec){const _0xa32f34=_0x2fc972;this['_selfUnitIDs'][_0xa32f34(0x332)](_0x49deec),this[_0xa32f34(0x34c)][_0xa32f34(0x1ca)]===0x0&&this['_heartbeatTimer']&&window['clearInterval'](this[_0xa32f34(0x2f3)]);}['_init'](){const _0x16c46f=_0x2fc972;this[_0x16c46f(0x1a7)](a[_0x16c46f(0x146)](A[_0x16c46f(0x409)](window,'storage')[_0x16c46f(0x243)](_0x908339=>{const _0xb43e82=_0x16c46f;if(_0x908339[_0xb43e82(0x4d0)]!==Lt||!_0x908339[_0xb43e82(0x13f)])return;const _0x325680=JSON[_0xb43e82(0x17d)](_0x908339[_0xb43e82(0x13f)]);this[_0xb43e82(0x341)](_0x325680);}))),window[_0x16c46f(0x170)](_0x16c46f(0x164),()=>this[_0x16c46f(0x132)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x16c46f(0x4fe)](this['_selfUnitIDs'])}));}[_0x2fc972(0x341)](_0x24ff1b){const _0x2aaa12=_0x2fc972;switch(_0x24ff1b[_0x2aaa12(0xc1)]){case 0x0:this[_0x2aaa12(0x27f)](_0x24ff1b);break;case 0x1:this[_0x2aaa12(0x3e3)](_0x24ff1b);break;case 0x2:this[_0x2aaa12(0x3b0)](_0x24ff1b);break;}}['_handleJoinEvent'](_0x1eca7b){const _0x519f14=_0x2fc972,{unitIDs:_0x1464b3,memberID:_0x4e2d38,isForwarded:_0x394817}=_0x1eca7b;_0x1464b3[_0x519f14(0x422)](_0x2c232b=>{const _0x4ca975=_0x519f14;if(!_0x394817&&this[_0x4ca975(0x4c9)][_0x4ca975(0x33e)](_0x2c232b)&&this['_ensureSubject'](_0x2c232b)[_0x4ca975(0x450)](0x1),!this['_unitOnClients'][_0x4ca975(0x33e)](_0x2c232b)||!this[_0x4ca975(0x4c9)][_0x4ca975(0x3cf)](_0x2c232b)[_0x4ca975(0x33e)](_0x4e2d38)){const _0x230d97=this[_0x4ca975(0x4c9)][_0x4ca975(0x3cf)](_0x2c232b)||new Set();_0x230d97[_0x4ca975(0x34a)](_0x4e2d38),this['_unitOnClients']['set'](_0x2c232b,_0x230d97),this[_0x4ca975(0x41d)](_0x4e2d38);}}),_0x394817||this[_0x519f14(0x132)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x519f14(0x34c)]],'isForwarded':!0x0});}[_0x2fc972(0x41d)](_0x35c49f){const _0x57c53b=_0x2fc972;this[_0x57c53b(0x385)](_0x35c49f);const _0x33f1d4=window[_0x57c53b(0xeb)](()=>{const _0x57a24e=_0x57c53b;this['_unitOnClients'][_0x57a24e(0x422)](_0x2bb43b=>{const _0x1022ad=_0x57a24e;_0x2bb43b[_0x1022ad(0x332)](_0x35c49f);});},Nt*0x2);this[_0x57c53b(0x435)][_0x57c53b(0x3ef)](_0x35c49f,_0x33f1d4);}[_0x2fc972(0x385)](_0x558136){const _0x7300e9=_0x2fc972;if(this[_0x7300e9(0x435)][_0x7300e9(0x33e)](_0x558136)){const _0x3e6da0=this['_clearOtherTimers'][_0x7300e9(0x3cf)](_0x558136);_0x3e6da0&&window[_0x7300e9(0x530)](_0x3e6da0),this[_0x7300e9(0x435)][_0x7300e9(0x3ef)](_0x558136,null);}}[_0x2fc972(0x3e3)](_0x567583){const _0x26a18f=_0x2fc972,{memberID:_0xd498bd,unitIDs:_0x39fab2}=_0x567583;_0x39fab2[_0x26a18f(0x422)](_0x122f1c=>{const _0x57ea24=_0x26a18f;var _0x1187e8;const _0x2a2420=this[_0x57ea24(0x4c9)][_0x57ea24(0x3cf)](_0x122f1c);_0x2a2420&&(_0x2a2420[_0x57ea24(0x332)](_0xd498bd),(_0x1187e8=this[_0x57ea24(0x260)](_0x122f1c))==null||_0x1187e8[_0x57ea24(0x450)](_0x2a2420[_0x57ea24(0x1ca)]===0x0?0x0:0x1));}),this[_0x26a18f(0x385)](_0xd498bd);}['_handleHeartbeatEvent'](_0x34d43c){const _0x946cb2=_0x2fc972;this[_0x946cb2(0x41d)](_0x34d43c[_0x946cb2(0x51d)]);}[_0x2fc972(0x132)](_0x3773f4){const _0x4a3186=_0x2fc972;localStorage[_0x4a3186(0x418)](Lt,JSON[_0x4a3186(0x3cd)](_0x3773f4));}[_0x2fc972(0x31f)](){const _0x3de05e=_0x2fc972;this['_heartbeatTimer']=window[_0x3de05e(0x39d)](()=>{const _0x59e7f6=_0x3de05e;this[_0x59e7f6(0x132)]({'type':0x2,'memberID':this[_0x59e7f6(0x1cd)]});},Nt);}[_0x2fc972(0x260)](_0x4b9d4e){const _0x366481=_0x2fc972;return this[_0x366481(0x3c7)][_0x366481(0x33e)](_0x4b9d4e)||this[_0x366481(0x3c7)]['set'](_0x4b9d4e,new A['BehaviorSubject'](0x0)),this[_0x366481(0x3c7)][_0x366481(0x3cf)](_0x4b9d4e);}}var Di=Object[_0x2fc972(0x356)],wi=Object['getOwnPropertyDescriptor'],Pi=(_0x4c293a,_0x3d46ff,_0x9a9c30,_0x84b2a3)=>{const _0x5dc07e=_0x2fc972;for(var _0xeae9ad=_0x84b2a3>0x1?void 0x0:_0x84b2a3?wi(_0x3d46ff,_0x9a9c30):_0x3d46ff,_0x3c0d1f=_0x4c293a[_0x5dc07e(0x14d)]-0x1,_0x3493ca;_0x3c0d1f>=0x0;_0x3c0d1f--)(_0x3493ca=_0x4c293a[_0x3c0d1f])&&(_0xeae9ad=(_0x84b2a3?_0x3493ca(_0x3d46ff,_0x9a9c30,_0xeae9ad):_0x3493ca(_0xeae9ad))||_0xeae9ad);return _0x84b2a3&&_0xeae9ad&&Di(_0x3d46ff,_0x9a9c30,_0xeae9ad),_0xeae9ad;},et=(_0x1b4d69,_0x229a6a)=>(_0x2a0a78,_0x2e2d4e)=>_0x229a6a(_0x2a0a78,_0x2e2d4e,_0x1b4d69);let We=class{constructor(_0x322487,_0x32c8d7,_0x5739b8){const _0xed0330=_0x2fc972;this[_0xed0330(0x2bd)]=_0x322487,this['_transformService']=_0x32c8d7,this[_0xed0330(0x35f)]=_0x5739b8;}['transformStateCache'](_0x402a3e){const _0x15f6ed=_0x2fc972;this[_0x15f6ed(0x516)](_0x402a3e);}[_0x2fc972(0x2fa)](_0x4bbb84){const _0x9413a6=_0x2fc972,{unitID:_0x1cd370}=_0x4bbb84,{collaboration:_0xbb5174}=this[_0x9413a6(0x35f)][_0x9413a6(0x548)](_0x1cd370);if(_0xbb5174[_0x9413a6(0x14d)]===0x0)return _0x4bbb84;let _0x24b5cd=a[_0x9413a6(0x3bd)]['deepClone'](_0x4bbb84[_0x9413a6(0x492)][0x0]);for(let _0x524011=0x0;_0x524011<_0xbb5174['length'];_0x524011++){const _0x1563ca={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xbb5174[_0x524011][_0x9413a6(0xb5)],..._0xbb5174[_0x524011]['redoState']}},_0x116c64=this[_0x9413a6(0x116)]['transformMutation'](_0x24b5cd,_0x1563ca,!0x1);if(S['isTransformMutationFailure'](_0x116c64))throw _0x116c64[_0x9413a6(0x2be)];_0x24b5cd=_0x116c64[_0x9413a6(0x40c)];}return{...a[_0x9413a6(0x3bd)][_0x9413a6(0x109)](_0x4bbb84),'mutations':[_0x24b5cd]};}[_0x2fc972(0x516)](_0x221e94){const _0x16d837=_0x2fc972,{unitID:_0x185ea2}=_0x221e94,{history:_0x389046,collaboration:_0x1a5949}=this['_docStateChangeManagerService'][_0x16d837(0x548)](_0x185ea2);if(_0x389046[_0x16d837(0x14d)]===0x0&&_0x1a5949['length']===0x0)return;const _0x5727f6=[],_0x10e52d=[];let _0x33f170=a[_0x16d837(0x3bd)][_0x16d837(0x109)](_0x221e94['mutations'][0x0]),_0x3fefc1=a[_0x16d837(0x3bd)][_0x16d837(0x109)](_0x221e94[_0x16d837(0x492)][0x0]);for(let _0x4bea9f=_0x389046[_0x16d837(0x14d)]-0x1;_0x4bea9f>=0x0;_0x4bea9f--){const _0x21fdf9={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x389046[_0x4bea9f][_0x16d837(0xb5)],..._0x389046[_0x4bea9f]['undoState']}},_0x3e0236={'id':_0x16d837(0x30d),'params':{'unitId':_0x389046[_0x4bea9f][_0x16d837(0xb5)],..._0x389046[_0x4bea9f][_0x16d837(0x285)]}},_0x179d37=this[_0x16d837(0x116)][_0x16d837(0x2c5)](_0x33f170,_0x21fdf9,!0x1),_0x57e548=this[_0x16d837(0x116)][_0x16d837(0x2c5)](_0x3fefc1,_0x3e0236,!0x1);if(S[_0x16d837(0x107)](_0x179d37))throw _0x179d37[_0x16d837(0x2be)];if(S[_0x16d837(0x107)](_0x57e548))throw _0x57e548[_0x16d837(0x2be)];_0x5727f6['unshift']({..._0x389046[_0x4bea9f],'undoState':_0x179d37[_0x16d837(0x1e2)][_0x16d837(0x2ad)],'redoState':_0x57e548[_0x16d837(0x1e2)][_0x16d837(0x2ad)]}),_0x33f170=_0x179d37[_0x16d837(0x40c)],_0x3fefc1=_0x57e548[_0x16d837(0x40c)];}_0x33f170=a[_0x16d837(0x3bd)]['deepClone'](_0x221e94['mutations'][0x0]),_0x3fefc1=a['Tools']['deepClone'](_0x221e94[_0x16d837(0x492)][0x0]);for(let _0x2c4f26=_0x1a5949[_0x16d837(0x14d)]-0x1;_0x2c4f26>=0x0;_0x2c4f26--){const _0x305f20={'id':_0x16d837(0x30d),'params':{'unitId':_0x1a5949[_0x2c4f26]['unitId'],..._0x1a5949[_0x2c4f26][_0x16d837(0x465)]}},_0x4d36b8={'id':_0x16d837(0x30d),'params':{'unitId':_0x1a5949[_0x2c4f26]['unitId'],..._0x1a5949[_0x2c4f26]['redoState']}},_0x31d3e4=this[_0x16d837(0x116)]['transformMutation'](_0x33f170,_0x305f20,!0x1),_0x594f92=this['_transformService'][_0x16d837(0x2c5)](_0x3fefc1,_0x4d36b8,!0x1);if(S[_0x16d837(0x107)](_0x31d3e4))throw _0x31d3e4['error'];if(S[_0x16d837(0x107)](_0x594f92))throw _0x594f92[_0x16d837(0x2be)];_0x10e52d[_0x16d837(0x2b0)]({..._0x1a5949[_0x2c4f26],'undoState':_0x31d3e4[_0x16d837(0x1e2)][_0x16d837(0x2ad)],'redoState':_0x594f92['m2Prime'][_0x16d837(0x2ad)]}),_0x33f170=_0x31d3e4[_0x16d837(0x40c)],_0x3fefc1=_0x594f92[_0x16d837(0x40c)];}this[_0x16d837(0x35f)][_0x16d837(0x2bb)](_0x185ea2,{'history':_0x5727f6,'collaboration':_0x10e52d});}};We=Pi([et(0x0,a[_0x2fc972(0xde)](a['Injector'])),et(0x1,S[_0x2fc972(0x4a4)]),et(0x2,a[_0x2fc972(0xde)](J['DocStateChangeManagerService']))],We);function dn(_0x5be2ec){const _0x1f9985=_0x2fc972;let _0x2d9a2c='';for(const _0x2299df of _0x5be2ec){const {startOffset:_0x5757cb,endOffset:_0x159b9b,isActive:_0x347661,rangeType:_0x18ad14,segmentId:_0x9abe46,segmentPage:_0x46998d}=_0x2299df;_0x2d9a2c[_0x1f9985(0x14d)]&&(_0x2d9a2c+=','),_0x2d9a2c+=_0x5757cb+':'+_0x159b9b+':'+(_0x347661?'1':'0')+':'+_0x18ad14+':'+_0x9abe46+':'+_0x46998d;}return _0x2d9a2c;}function Ui(_0x41f54d){const _0x48f027=_0x2fc972,_0x443b9b=_0x41f54d[_0x48f027(0x436)](','),_0x3716a0=[];for(const _0x25bd49 of _0x443b9b){const [_0x4022c1,_0x4d93b7,_0x5826d1,_0x3574d5,_0x74e692,_0x246430]=_0x25bd49[_0x48f027(0x436)](':');_0x3716a0['push']({'startOffset':Number(_0x4022c1),'endOffset':Number(_0x4d93b7),'collapsed':_0x4022c1===_0x4d93b7,'isActive':_0x5826d1==='1','rangeType':_0x3574d5===a[_0x48f027(0x35b)][_0x48f027(0x545)]?a['DOC_RANGE_TYPE'][_0x48f027(0x545)]:a['DOC_RANGE_TYPE']['RECT'],'segmentId':typeof _0x74e692=='string'?String(_0x74e692):'','segmentPage':Number(_0x246430!=null?_0x246430:-0x1)});}return _0x3716a0[_0x48f027(0x281)](_0x31da4a=>_0x31da4a[_0x48f027(0x3cc)])||(_0x3716a0[0x0]['isActive']=!0x0),_0x3716a0;}class Rt extends a[_0x2fc972(0x222)]{constructor(){const _0x3c483=_0x2fc972;super(...arguments),I(this,'_collabCursorState$',new A[(_0x3c483(0x130))](null)),I(this,_0x3c483(0x383),this[_0x3c483(0x3aa)][_0x3c483(0x1f3)]());}['syncEditingCollabCursor'](_0x8c21fd){const _0x394aed=_0x2fc972,{unitID:_0x977e06,memberID:_0x3fe0c0,textRanges:_0x549350}=_0x8c21fd,_0x21951b=dn(_0x549350);if(_0x21951b==='')return;const _0x1af237={'unitID':_0x977e06,'memberID':_0x3fe0c0,'selection':_0x21951b};this['_collabCursorState$'][_0x394aed(0x450)](_0x1af237);}}var Mi=Object[_0x2fc972(0x356)],Ai=Object[_0x2fc972(0x423)],Ni=(_0x15408b,_0x197307,_0x198045,_0x45bfb0)=>{const _0x1427c7=_0x2fc972;for(var _0x1383ee=_0x45bfb0>0x1?void 0x0:_0x45bfb0?Ai(_0x197307,_0x198045):_0x197307,_0x2e32fd=_0x15408b[_0x1427c7(0x14d)]-0x1,_0x29a8e4;_0x2e32fd>=0x0;_0x2e32fd--)(_0x29a8e4=_0x15408b[_0x2e32fd])&&(_0x1383ee=(_0x45bfb0?_0x29a8e4(_0x197307,_0x198045,_0x1383ee):_0x29a8e4(_0x1383ee))||_0x1383ee);return _0x45bfb0&&_0x1383ee&&Mi(_0x197307,_0x198045,_0x1383ee),_0x1383ee;},xt=(_0x44ccae,_0x178914)=>(_0x5a7339,_0x5a7e01)=>_0x178914(_0x5a7339,_0x5a7e01,_0x44ccae);let Fe=class{constructor(_0x41f276,_0x5c74d3){const _0x5ab65e=_0x2fc972;this[_0x5ab65e(0x2bd)]=_0x41f276,this[_0x5ab65e(0x116)]=_0x5c74d3;}['transformSelections'](_0x5bd526){const _0x38f61a=_0x2fc972;var _0x237142;const _0x140c16=this[_0x38f61a(0x2bd)][_0x38f61a(0x3cf)](ye[_0x38f61a(0x30c)]),_0x2571c1=(_0x237142=_0x140c16['getDocRanges']())!=null?_0x237142:[];if(_0x2571c1[_0x38f61a(0x14d)]===0x0)return;const _0x33e4f5=_0x5bd526['unitID'],_0xde3b78=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x33e4f5,'actions':null,'textRanges':_0x2571c1}}],_0x47b33d=this[_0x38f61a(0x116)][_0x38f61a(0x4ee)](_0x5bd526,_0xde3b78);if(!S[_0x38f61a(0x3cb)](_0x47b33d))throw _0x47b33d[_0x38f61a(0x2be)];const _0x4d5630=_0x47b33d['m2Prime'][0x0]['params'][_0x38f61a(0x466)];Array[_0x38f61a(0x249)](_0x4d5630)&&_0x4d5630[_0x38f61a(0x14d)]&&_0x140c16[_0x38f61a(0x112)](_0x4d5630,{'unitId':_0x33e4f5,'subUnitId':_0x33e4f5},!0x1);}};Fe=Ni([xt(0x0,a[_0x2fc972(0xde)](a[_0x2fc972(0x10d)])),xt(0x1,S[_0x2fc972(0x4a4)])],Fe);const Li=new Set([k[_0x2fc972(0x471)]['id']]);function jt(_0x30cdc0,_0xf1882,_0x5f5545,_0x57c599,_0xc4c308){const _0x16f39a=_0x2fc972;var _0x27cf20,_0x3be352,_0xb7d922,_0x21f39a;const _0x4b5864=[];for(const _0x1ca057 of _0x30cdc0)if(Li[_0x16f39a(0x33e)](_0x1ca057['id'])){if(_0x4b5864['length']>0x0)break;_0x4b5864['push'](_0x1ca057);break;}else _0x4b5864[_0x16f39a(0x540)](_0x1ca057);const _0x31f526=(_0x3be352=(_0x27cf20=_0xc4c308['getCurrentUser']())==null?void 0x0:_0x27cf20['userID'])!=null?_0x3be352:'unknown',_0x593755=(_0x21f39a=(_0xb7d922=_0xc4c308[_0x16f39a(0x4a9)]())==null?void 0x0:_0xb7d922['memberID'])!=null?_0x21f39a:_0x16f39a(0x265);return{'changeset':{'unitID':_0xf1882,'type':S[_0x16f39a(0x514)](_0x5f5545['getUnitType'](_0xf1882)),'baseRev':_0x57c599[_0x16f39a(0xc9)](_0xf1882),'revision':0x0,'userID':_0x31f526,'memberID':_0x593755,'mutations':_0x4b5864},'pendingMutations':_0x30cdc0[_0x16f39a(0x2b1)](_0x4b5864['length'])};}function xi(_0x4c5573,_0x261f89,_0x5e3b0b,_0x3c2afb,_0x1f6f1e){const _0x20a2de=_0x2fc972;var _0x4ee65a,_0xdeff0e,_0x4d8c21,_0x4c0f1a;const _0x55d110=[_0x4c5573[_0x20a2de(0x415)]((_0x5d4472,_0x137847)=>{const _0x13be92=_0x20a2de;var _0x512338;const {id:_0x1658f4}=_0x5d4472,{id:_0x1ef39d,type:_0x8328bc}=_0x137847,_0x4404af=(_0x512338=_0x5d4472[_0x13be92(0x2ad)])!=null?_0x512338:{'actions':null},_0x8f7206=_0x137847[_0x13be92(0x2ad)];if(_0x1658f4&&_0x1658f4!==_0x1ef39d)throw new Error(_0x13be92(0x48e)+_0x1658f4+'\x20-\x20'+_0x1ef39d+'.');return{..._0x5d4472,'id':_0x1ef39d,'type':_0x8328bc,'params':{'unitId':_0x8f7206[_0x13be92(0xb5)],'textRanges':_0x8f7206['textRanges'],'actions':a['JSONX'][_0x13be92(0x2a8)](_0x4404af[_0x13be92(0x4ac)],_0x8f7206['actions'])}};},{})],_0x5558f3=(_0xdeff0e=(_0x4ee65a=_0x1f6f1e[_0x20a2de(0x4a9)]())==null?void 0x0:_0x4ee65a[_0x20a2de(0x27b)])!=null?_0xdeff0e:'unknown',_0x1ed842=(_0x4c0f1a=(_0x4d8c21=_0x1f6f1e[_0x20a2de(0x4a9)]())==null?void 0x0:_0x4d8c21['memberID'])!=null?_0x4c0f1a:_0x20a2de(0x265);return{'changeset':{'unitID':_0x261f89,'type':S[_0x20a2de(0x514)](_0x5e3b0b[_0x20a2de(0x490)](_0x261f89)),'baseRev':_0x3c2afb[_0x20a2de(0xc9)](_0x261f89),'revision':0x0,'userID':_0x5558f3,'memberID':_0x1ed842,'mutations':_0x55d110},'pendingMutations':[]};}function fn(_0x1cd5c2,_0xd77da8){const _0x5add1a=_0x2fc972,_0x5bde3c=new A[(_0x5add1a(0x1e8))](0x1);return setTimeout(()=>_0x5bde3c[_0x5add1a(0x450)](_0xd77da8),_0x1cd5c2),_0x5bde3c['asObservable']()['pipe'](A[_0x5add1a(0x4dc)](0x1));}const ji={'id':k[_0x2fc972(0x174)]['id'],'type':a[_0x2fc972(0x338)]['MUTATION'],'params':{}};var $i=Object[_0x2fc972(0x356)],Hi=Object['getOwnPropertyDescriptor'],Ie=(_0x1406be,_0x22da86,_0x139274,_0x35c88f)=>{const _0x2f7621=_0x2fc972;for(var _0x4b6753=_0x35c88f>0x1?void 0x0:_0x35c88f?Hi(_0x22da86,_0x139274):_0x22da86,_0x581fde=_0x1406be[_0x2f7621(0x14d)]-0x1,_0x5bfbb0;_0x581fde>=0x0;_0x581fde--)(_0x5bfbb0=_0x1406be[_0x581fde])&&(_0x4b6753=(_0x35c88f?_0x5bfbb0(_0x22da86,_0x139274,_0x4b6753):_0x5bfbb0(_0x4b6753))||_0x4b6753);return _0x35c88f&&_0x4b6753&&$i(_0x22da86,_0x139274,_0x4b6753),_0x4b6753;},N=(_0x2c703b,_0x4f60fc)=>(_0x15c6d4,_0x56723c)=>_0x4f60fc(_0x15c6d4,_0x56723c,_0x2c703b),q=(_0x596872=>(_0x596872[_0x2fc972(0x2e7)]=_0x2fc972(0x13d),_0x596872[_0x2fc972(0x4d4)]=_0x2fc972(0x283),_0x596872[_0x2fc972(0x309)]='pending',_0x596872[_0x2fc972(0x24d)]=_0x2fc972(0x524),_0x596872['AWAITING_WITH_PENDING']=_0x2fc972(0x199),_0x596872[_0x2fc972(0x167)]=_0x2fc972(0x424),_0x596872[_0x2fc972(0x54c)]=_0x2fc972(0x1ac),_0x596872[_0x2fc972(0x455)]='offline',_0x596872))(q||{});const vn=0xea60;class Ce{constructor(_0x37f947,_0x13fda4,_0x2f99d6,_0x2200b,_0x55481c,_0x5c451e,_0x328a2d,_0x18b2fd,_0x212990){const _0x248e99=_0x2fc972;I(this,'_awaitingChangeset',null),I(this,_0x248e99(0x400),[]),(this['unitID']=_0x37f947,this[_0x248e99(0xc1)]=_0x13fda4,this['_handler']=_0x55481c,this['_commandService']=_0x5c451e,this[_0x248e99(0x2b5)]=_0x328a2d,this[_0x248e99(0x11e)]=_0x18b2fd,this['_localCacheService']=_0x212990,this[_0x248e99(0x30e)]=_0x2f99d6,this[_0x248e99(0x400)]=_0x2200b);}[_0x2fc972(0x479)](_0x112ac2){const _0xfe0448=_0x2fc972,_0x524663=this[_0xfe0448(0x11e)]['getCurrentRevOfUnit'](this[_0xfe0448(0xbc)]);return _0x112ac2['revision']>_0x524663+0x1?(this[_0xfe0448(0x23e)][_0xfe0448(0x19b)]({'from':_0x524663,'to':_0x112ac2[_0xfe0448(0x414)]-0x1}),!0x0):!0x1;}[_0x2fc972(0x3f5)](_0x4c6363){const _0x1115a2=_0x2fc972;this[_0x1115a2(0x2b5)][_0x1115a2(0x42f)](this[_0x1115a2(0xbc)],_0x4c6363);}['_transformSelections'](_0x4469af){const _0x132d88=_0x2fc972;var _0x456de3,_0x471abf;(_0x471abf=(_0x456de3=this[_0x132d88(0x23e)])[_0x132d88(0x267)])==null||_0x471abf[_0x132d88(0x16c)](_0x456de3,_0x4469af);}[_0x2fc972(0x1e4)](_0x490a3a){const _0x55487c=_0x2fc972;var _0x1284a4,_0x25d135;return(_0x25d135=(_0x1284a4=this['_handler'])[_0x55487c(0x2fc)])==null?void 0x0:_0x25d135['call'](_0x1284a4,_0x490a3a);}['_transformStateCache'](_0xbc2629){const _0x1cdb26=_0x2fc972;var _0x59aa6b,_0x5634f8;return(_0x5634f8=(_0x59aa6b=this[_0x1cdb26(0x23e)])['onTransformState'])==null?void 0x0:_0x5634f8['call'](_0x59aa6b,_0xbc2629);}[_0x2fc972(0x2ec)](_0x149c59){const _0x1a9f97=_0x2fc972;var _0x522f73,_0x29ead5,_0x3461fe;return(_0x3461fe=(_0x29ead5=(_0x522f73=this[_0x1a9f97(0x23e)])[_0x1a9f97(0x549)])==null?void 0x0:_0x29ead5[_0x1a9f97(0x16c)](_0x522f73,_0x149c59))!=null?_0x3461fe:_0x149c59;}[_0x2fc972(0x24c)](_0x3e7c5b){const _0x3a8d64=_0x2fc972;var _0x5dfe3a,_0x60f6bf,_0x390d72;return(_0x390d72=(_0x60f6bf=(_0x5dfe3a=this[_0x3a8d64(0x23e)])[_0x3a8d64(0x335)])==null?void 0x0:_0x60f6bf[_0x3a8d64(0x16c)](_0x5dfe3a,_0x3e7c5b))!=null?_0x390d72:_0x3e7c5b;}[_0x2fc972(0x543)](_0x3fe45e){const _0x35923b=_0x2fc972;var _0x15088b,_0x3b411e;if(this['type']===ie[_0x35923b(0x22f)]){const {unitID:_0x865a2e,mutations:_0x1b8f8c,memberID:_0x3902cc}=_0x3fe45e,_0x2b21e5=_0x1b8f8c[0x0][_0x35923b(0x2ad)][_0x35923b(0x466)];Array['isArray'](_0x2b21e5)&&_0x2b21e5['length']>0x0&&((_0x3b411e=(_0x15088b=this[_0x35923b(0x23e)])[_0x35923b(0x463)])==null||_0x3b411e[_0x35923b(0x16c)](_0x15088b,{'unitID':_0x865a2e,'memberID':_0x3902cc,'textRanges':_0x2b21e5}));}}[_0x2fc972(0x3c0)](){const _0xa05947=_0x2fc972;this[_0xa05947(0x12d)][_0xa05947(0xb8)](this[_0xa05947(0xbc)],this[_0xa05947(0xc1)],this[_0xa05947(0x30e)],this['_pendingMutations']);}['_getCurrentRevision'](){const _0x2825cb=_0x2fc972;return this[_0x2825cb(0x11e)][_0x2825cb(0xc9)](this['unitID']);}[_0x2fc972(0x401)](){const _0x1f759d=_0x2fc972;this['_revisionService'][_0x1f759d(0x106)](this['unitID']);}['_executeRemoteChangeset'](_0x56c01f){const _0x1c29a4=_0x2fc972;var _0x5a59f0;let _0x53c961=this[_0x1c29a4(0x2ec)](_0x56c01f);_0x53c961=this['_transformRemoteChangesetByStateCache'](_0x53c961);const _0x31f5b6=a[_0x1c29a4(0x4e3)](_0x53c961[_0x1c29a4(0x492)],this[_0x1c29a4(0x3be)],{'fromCollab':!0x0});if(!_0x31f5b6[_0x1c29a4(0xfc)])throw _0x31f5b6['error']instanceof Error?_0x31f5b6[_0x1c29a4(0x2be)]:new Error((_0x5a59f0=_0x31f5b6[_0x1c29a4(0x2be)])!=null?_0x5a59f0:_0x1c29a4(0x144));this[_0x1c29a4(0x1e4)](_0x53c961),this['_transformStateCache'](_0x53c961),this['_transformUndoredo'](_0x56c01f),this['_transformSelections'](_0x53c961),this[_0x1c29a4(0x543)](_0x53c961),this[_0x1c29a4(0x401)]();}}let Oe=class extends Ce{constructor(_0x2111a2,_0x5f2298,_0x26bc53,_0x225ff8,_0x21ef67,_0x128b5c,_0x35913e,_0x388810,_0x1543a3,_0x29cacd){const _0x10c38d=_0x2fc972;super(_0x2111a2,_0x5f2298,null,[],_0x26bc53,_0x388810,_0x35913e,_0x225ff8,_0x21ef67),I(this,_0x10c38d(0x3c9),_0x10c38d(0x283)),(this[_0x10c38d(0x2bd)]=_0x128b5c,this[_0x10c38d(0x3e5)]=_0x1543a3,this[_0x10c38d(0x116)]=_0x29cacd);}[_0x2fc972(0x3de)](_0x5d1504){const _0xb34ede=_0x2fc972,_0x15b020=this['_injector'][_0xb34ede(0x176)](ce,this[_0xb34ede(0xbc)],this['type'],[_0x5d1504],this[_0xb34ede(0x23e)]);return _0x15b020[_0xb34ede(0x429)](),_0x15b020[_0xb34ede(0x3c0)](),_0x15b020;}[_0x2fc972(0x3ac)](_0x144b89){const _0x2fce27=_0x2fc972;if(this[_0x2fce27(0x479)](_0x144b89))return this[_0x2fce27(0x2bd)]['createInstance'](re,this[_0x2fce27(0xbc)],this[_0x2fce27(0xc1)],null,[],null,[_0x144b89],this[_0x2fce27(0x23e)]);try{const _0x1e7a19=this['_transformService']['transformMutationsWithChangeset'](_0x144b89,[ji]);if(S['isTransformMutationsWithChangesetSuccess'](_0x1e7a19)){const {c1Prime:_0x27167d}=_0x1e7a19;return this[_0x2fce27(0x278)](_0x27167d),this;}throw _0x1e7a19[_0x2fce27(0x2be)];}catch(_0x149d90){return this[_0x2fce27(0x3e5)][_0x2fce27(0x2be)](_0x149d90),this[_0x2fce27(0x354)](!0x1);}}[_0x2fc972(0x354)](_0x15566c){const _0x152cd9=_0x2fc972;return this[_0x152cd9(0x2bd)][_0x152cd9(0x176)](ve,this[_0x152cd9(0xbc)],this[_0x152cd9(0xc1)],null,[],this['_handler'],_0x15566c);}[_0x2fc972(0x206)](){const _0x700f40=_0x2fc972;throw new Error(_0x700f40(0x121));}['onRemoteRej'](){const _0x56930e=_0x2fc972;throw new Error(_0x56930e(0x22e));}[_0x2fc972(0xb9)](){return this;}[_0x2fc972(0x288)](){const _0x329d87=_0x2fc972;return this['_injector'][_0x329d87(0x176)](me,this[_0x329d87(0xbc)],this[_0x329d87(0xc1)],null,[],this[_0x329d87(0x23e)]);}[_0x2fc972(0x17b)](){return this;}['resend'](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x2fc972(0x41c)](){const _0xa2a586=_0x2fc972,_0x23cc18=this[_0xa2a586(0x11e)][_0xa2a586(0xc9)](this[_0xa2a586(0xbc)]);return this[_0xa2a586(0x23e)][_0xa2a586(0x19b)]({'from':_0x23cc18,'to':0x0}),this[_0xa2a586(0x2bd)][_0xa2a586(0x176)](re,this['unitID'],this[_0xa2a586(0xc1)],null,[],null,[],this[_0xa2a586(0x23e)]);}};Oe=Ie([N(0x3,a[_0x2fc972(0xde)](S['RevisionService'])),N(0x4,a[_0x2fc972(0xde)](exports[_0x2fc972(0x464)])),N(0x5,a[_0x2fc972(0xde)](a[_0x2fc972(0x10d)])),N(0x6,a['IUndoRedoService']),N(0x7,a[_0x2fc972(0x451)]),N(0x8,a['ILogService']),N(0x9,S[_0x2fc972(0x4a4)])],Oe);let ce=class extends Ce{constructor(_0x501575,_0x35e6bd,_0xee5e47,_0x9d9135,_0x797cfe,_0x555a0f,_0x9791,_0x36026e,_0x575338,_0x97b99e,_0x3e7614,_0x4cd568,_0x1f6bde,_0x2f7dcb){const _0x4d012a=_0x2fc972;super(_0x501575,_0x35e6bd,null,_0xee5e47,_0x9d9135,_0x97b99e,_0x2f7dcb,_0x555a0f,_0x9791),I(this,_0x4d012a(0x3c9),_0x4d012a(0x136)),I(this,_0x4d012a(0x4f3),null),I(this,_0x4d012a(0x135),null),(this[_0x4d012a(0x2bd)]=_0x797cfe,this[_0x4d012a(0x35d)]=_0x36026e,this[_0x4d012a(0x3e5)]=_0x575338,this[_0x4d012a(0x51e)]=_0x3e7614,this[_0x4d012a(0x116)]=_0x4cd568,this[_0x4d012a(0x4d3)]=_0x1f6bde);}['appendMutation'](_0x271aef){const _0x2a308c=_0x2fc972;return this[_0x2a308c(0x400)]['push'](_0x271aef),this[_0x2a308c(0x3c0)](),this;}[_0x2fc972(0x3ac)](_0x2c04d4){const _0xcb6f6d=_0x2fc972;if(this[_0xcb6f6d(0x479)](_0x2c04d4))return this['_clearScheduledTask'](),this['_injector'][_0xcb6f6d(0x176)](re,this[_0xcb6f6d(0xbc)],this['type'],null,this[_0xcb6f6d(0x400)],null,[_0x2c04d4],this[_0xcb6f6d(0x23e)]);try{const _0x27db37=this[_0xcb6f6d(0x116)][_0xcb6f6d(0x4ee)](_0x2c04d4,this[_0xcb6f6d(0x400)]);if(S[_0xcb6f6d(0x3cb)](_0x27db37)){const {c1Prime:_0x4d8c47,m2Prime:_0x2992cd}=_0x27db37;this[_0xcb6f6d(0x278)](_0x4d8c47);const _0x5b794e=this[_0xcb6f6d(0x2bd)]['createInstance'](ce,this[_0xcb6f6d(0xbc)],this[_0xcb6f6d(0xc1)],_0x2992cd,this[_0xcb6f6d(0x23e)]);return this['_clearScheduledTask'](),_0x5b794e[_0xcb6f6d(0x429)](this[_0xcb6f6d(0x4f3)]?Math[_0xcb6f6d(0x476)](0x0,new Date()['getTime']()-this['_scheduleTimestamp']):this['_getSendChangesetTimeout']()),_0x5b794e;}throw _0x27db37['error'];}catch(_0x3193e9){return this[_0xcb6f6d(0x3e5)]['error'](_0x3193e9),this[_0xcb6f6d(0x354)](!0x1);}}[_0x2fc972(0x206)](){const _0x44e159=_0x2fc972;throw new Error(_0x44e159(0x1dc));}[_0x2fc972(0x352)](){throw new Error('[PendingState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0x2fc972(0x288)](){const _0x6f9987=_0x2fc972;return this[_0x6f9987(0xbb)](),this[_0x6f9987(0x2bd)][_0x6f9987(0x176)](me,this['unitID'],this['type'],null,this[_0x6f9987(0x400)],this['_handler']);}['toggleOnline'](){return this;}[_0x2fc972(0x429)](_0x2ef6be){const _0x3f1b15=_0x2fc972,_0x5edb46=_0x2ef6be!=null?_0x2ef6be:this['_getSendChangesetTimeout']();this[_0x3f1b15(0x4f3)]=new Date()[_0x3f1b15(0x518)](),this[_0x3f1b15(0x135)]=window['setTimeout'](()=>{const _0xb06ca0=_0x3f1b15;this[_0xb06ca0(0xbb)]();let _0x507d9c=null;switch(this[_0xb06ca0(0xc1)]){case ie['UNIVER_SHEET']:{_0x507d9c=jt(this[_0xb06ca0(0x400)],this['unitID'],this[_0xb06ca0(0x4d3)],this[_0xb06ca0(0x11e)],this[_0xb06ca0(0x35d)]);break;}case ie[_0xb06ca0(0x22f)]:{this[_0xb06ca0(0x400)][_0xb06ca0(0x163)](_0x2bb3c3=>_0x2bb3c3['id']===ye[_0xb06ca0(0x2cc)]['id'])?_0x507d9c=xi(this[_0xb06ca0(0x400)],this[_0xb06ca0(0xbc)],this['_univerInstanceService'],this[_0xb06ca0(0x11e)],this[_0xb06ca0(0x35d)]):_0x507d9c=jt(this[_0xb06ca0(0x400)],this[_0xb06ca0(0xbc)],this[_0xb06ca0(0x4d3)],this[_0xb06ca0(0x11e)],this[_0xb06ca0(0x35d)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0xb06ca0(0xc1)]+_0xb06ca0(0x515));}const {changeset:_0x57ff07,pendingMutations:_0x344524}=_0x507d9c;this[_0xb06ca0(0x23e)][_0xb06ca0(0x52c)](_0x57ff07);const _0x5534d5=_0x344524['length']?this[_0xb06ca0(0x2bd)][_0xb06ca0(0x176)](le,this[_0xb06ca0(0xbc)],this['type'],_0x57ff07,_0x344524,this[_0xb06ca0(0x23e)],void 0x0):this[_0xb06ca0(0x2bd)][_0xb06ca0(0x176)](fe,this[_0xb06ca0(0xbc)],this[_0xb06ca0(0xc1)],_0x57ff07,this[_0xb06ca0(0x23e)]);_0x5534d5[_0xb06ca0(0x3c0)](),this[_0xb06ca0(0x23e)][_0xb06ca0(0x223)](this,_0x5534d5);},_0x5edb46);}[_0x2fc972(0xfa)](){const _0x409392=_0x2fc972;var _0x582630;const _0x1c8214=this[_0x409392(0x51e)]['getConfig'](te);return(_0x582630=_0x1c8214==null?void 0x0:_0x1c8214[_0x409392(0x232)])!=null?_0x582630:kn;}['resend'](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x2fc972(0xbb)](){const _0x32cbec=_0x2fc972;this[_0x32cbec(0x135)]!=null&&(clearTimeout(this[_0x32cbec(0x135)]),this['_sendingTimer']=null);}[_0x2fc972(0x354)](_0x4b5d8a){const _0x2aad36=_0x2fc972;return this['_clearScheduledTask'](),this[_0x2aad36(0x2bd)][_0x2aad36(0x176)](ve,this[_0x2aad36(0xbc)],this['type'],null,this[_0x2aad36(0x400)],this['_handler'],_0x4b5d8a);}};ce=Ie([N(0x4,a[_0x2fc972(0xde)](a[_0x2fc972(0x10d)])),N(0x5,a[_0x2fc972(0xde)](S['RevisionService'])),N(0x6,a[_0x2fc972(0xde)](exports[_0x2fc972(0x464)])),N(0x7,a[_0x2fc972(0xde)](exports['MemberService'])),N(0x8,a['ILogService']),N(0x9,a['ICommandService']),N(0xa,a['IConfigService']),N(0xb,S['ITransformService']),N(0xc,a[_0x2fc972(0x3b9)]),N(0xd,a[_0x2fc972(0x1d3)])],ce);let fe=class extends Ce{constructor(_0x26b16d,_0x3b9f2d,_0x5d6360,_0x165338,_0x106b4f,_0x262034,_0x3e0abf,_0x467d41,_0x2df21d,_0x4319fc,_0x4c4069){const _0xbfda8e=_0x2fc972;super(_0x26b16d,_0x3b9f2d,_0x5d6360,[],_0x165338,_0x467d41,_0x4c4069,_0x262034,_0x3e0abf),I(this,'status',_0xbfda8e(0x524)),I(this,_0xbfda8e(0x48f),0x0),I(this,_0xbfda8e(0x4d7)),I(this,_0xbfda8e(0x28b)),(this[_0xbfda8e(0x2bd)]=_0x106b4f,this[_0xbfda8e(0x3e5)]=_0x2df21d,this[_0xbfda8e(0x116)]=_0x4319fc);}[_0x2fc972(0x3de)](_0x13ed6d){const _0x28a34a=_0x2fc972;this[_0x28a34a(0xbb)]();const _0x119b09=this[_0x28a34a(0x2bd)][_0x28a34a(0x176)](le,this[_0x28a34a(0xbc)],this['type'],this[_0x28a34a(0x30e)],[_0x13ed6d],this['_handler'],this['_resendTimer']);return _0x119b09[_0x28a34a(0x3c0)](),_0x119b09;}[_0x2fc972(0x3ac)](_0x5f1a2e){const _0x205936=_0x2fc972;if(this[_0x205936(0x479)](_0x5f1a2e))return this['_clearScheduledTask'](),this[_0x205936(0x2bd)][_0x205936(0x176)](re,this[_0x205936(0xbc)],this['type'],this[_0x205936(0x30e)],[],null,[_0x5f1a2e],this[_0x205936(0x23e)]);try{const _0x29bb08=this[_0x205936(0x116)][_0x205936(0xe7)]([_0x5f1a2e],[this['_awaitingChangeset']],!0x1);if(S[_0x205936(0x2aa)](_0x29bb08)){const {c1Prime:_0x4e55ab,c2Prime:_0x587ea9}=_0x29bb08;this[_0x205936(0x278)](_0x4e55ab[0x0]),_0x587ea9[0x0][_0x205936(0xd5)]=this[_0x205936(0x1bf)](),this['_clearScheduledTask']();const _0x4e0cb4=this['_injector'][_0x205936(0x176)](fe,this['unitID'],this[_0x205936(0xc1)],_0x587ea9[0x0],this[_0x205936(0x23e)]);return _0x4e0cb4[_0x205936(0x3c0)](),_0x4e0cb4;}return this[_0x205936(0x354)](!0x1);}catch(_0x13f554){return this[_0x205936(0x3e5)][_0x205936(0x2be)](_0x13f554),this[_0x205936(0x354)](!0x1);}}['onRemoteAck'](_0x1b8660){const _0x2a7e9e=_0x2fc972;this[_0x2a7e9e(0xbb)]();const _0x244987=this[_0x2a7e9e(0x11e)][_0x2a7e9e(0xc9)](this[_0x2a7e9e(0xbc)]);if(_0x1b8660[_0x2a7e9e(0x414)]<_0x244987-0x1)return this;if(this[_0x2a7e9e(0x479)](_0x1b8660))return this['_injector'][_0x2a7e9e(0x176)](re,this[_0x2a7e9e(0xbc)],this[_0x2a7e9e(0xc1)],null,[],this[_0x2a7e9e(0x30e)],[],this['_handler']);this[_0x2a7e9e(0x401)]();const _0x33de45=this[_0x2a7e9e(0x2bd)][_0x2a7e9e(0x176)](Oe,this[_0x2a7e9e(0xbc)],this[_0x2a7e9e(0xc1)],this[_0x2a7e9e(0x23e)]);return _0x33de45[_0x2a7e9e(0x3c0)](),_0x33de45;}[_0x2fc972(0x352)](_0x28137b){const _0x322eed=_0x2fc972;return this['_onConflict'](!!(_0x28137b!=null&&_0x28137b[_0x322eed(0x48c)]));}['onRemoteRetry'](_0x1f36d8){const _0x58fa6b=_0x2fc972;return this[_0x58fa6b(0x48f)]>vn?this['toggleOffline']():(this['_resendTimer']=fn(this[_0x58fa6b(0x48f)],{'timeout':this[_0x58fa6b(0x48f)],'reqId':_0x1f36d8['reqId']}),this['_sender']=this[_0x58fa6b(0x4d7)][_0x58fa6b(0x243)](({reqId:_0x1c13d1,timeout:_0x34aa5c})=>{const _0x3c23f0=_0x58fa6b;this[_0x3c23f0(0x19c)](_0x1c13d1,_0x34aa5c);}),this);}['toggleOffline'](){const _0x1a72d0=_0x2fc972;return this[_0x1a72d0(0xbb)](),this['_injector'][_0x1a72d0(0x176)](me,this[_0x1a72d0(0xbc)],this[_0x1a72d0(0xc1)],this[_0x1a72d0(0x30e)],[],this['_handler']);}['toggleOnline'](){return this;}[_0x2fc972(0x124)](){const _0x3b9d93=_0x2fc972;this[_0x3b9d93(0x23e)][_0x3b9d93(0x52c)](this['_awaitingChangeset']);}[_0x2fc972(0x354)](_0x3be135){const _0x3c9913=_0x2fc972;return this['_clearScheduledTask'](),this[_0x3c9913(0x2bd)]['createInstance'](ve,this[_0x3c9913(0xbc)],this['type'],this['_awaitingChangeset'],[],this[_0x3c9913(0x23e)],_0x3be135);}[_0x2fc972(0x19c)](_0x476489,_0x4d5b9b){const _0x19fe68=_0x2fc972;var _0x4d0491;_0x476489===((_0x4d0491=this[_0x19fe68(0x30e)])==null?void 0x0:_0x4d0491[_0x19fe68(0x4dd)])&&(this['resend'](),this[_0x19fe68(0x48f)]=_0x4d5b9b===0x0?0x3e8:_0x4d5b9b*0x2);}[_0x2fc972(0xbb)](){const _0x166140=_0x2fc972;var _0x510145;(_0x510145=this[_0x166140(0x28b)])==null||_0x510145[_0x166140(0x484)](),this['_resendTimeout']=0x0;}};fe=Ie([N(0x4,a[_0x2fc972(0xde)](a[_0x2fc972(0x10d)])),N(0x5,a['Inject'](S['RevisionService'])),N(0x6,a[_0x2fc972(0xde)](exports[_0x2fc972(0x464)])),N(0x7,a[_0x2fc972(0x451)]),N(0x8,a[_0x2fc972(0x1fc)]),N(0x9,S[_0x2fc972(0x4a4)]),N(0xa,a[_0x2fc972(0x1d3)])],fe);let le=class extends Ce{constructor(_0x165321,_0x3ca489,_0x43e9ae,_0x45e152,_0x301340,_0x1b0231,_0x2dcf55,_0x504eb1,_0x1dd2b7,_0x3ee902,_0x966a44,_0x3440cc,_0x457c9a){const _0x2b097b=_0x2fc972;super(_0x165321,_0x3ca489,_0x43e9ae,_0x45e152,_0x301340,_0x3ee902,_0x457c9a,_0x504eb1,_0x1dd2b7),I(this,_0x2b097b(0x3c9),_0x2b097b(0x199)),I(this,_0x2b097b(0x48f),0x0),I(this,_0x2b097b(0x4d7)),I(this,_0x2b097b(0x28b)),(this[_0x2b097b(0x2bd)]=_0x2dcf55,this[_0x2b097b(0x3e5)]=_0x966a44,this[_0x2b097b(0x116)]=_0x3440cc,_0x1b0231&&(this[_0x2b097b(0x4d7)]=_0x1b0231,this[_0x2b097b(0x28b)]=this[_0x2b097b(0x4d7)][_0x2b097b(0x243)](({reqId:_0x492c0e,timeout:_0x2e87b3})=>{const _0x54f7dc=_0x2b097b;this[_0x54f7dc(0x19c)](_0x492c0e,_0x2e87b3);})));}[_0x2fc972(0x3de)](_0x953552){const _0x157b5d=_0x2fc972;return this[_0x157b5d(0x400)][_0x157b5d(0x540)](_0x953552),this;}[_0x2fc972(0x3ac)](_0x1e9f19){const _0x598074=_0x2fc972;if(this[_0x598074(0x479)](_0x1e9f19))return this[_0x598074(0xbb)](),this['_injector'][_0x598074(0x176)](re,this[_0x598074(0xbc)],this[_0x598074(0xc1)],this[_0x598074(0x30e)],this['_pendingMutations'],null,[_0x1e9f19],this[_0x598074(0x23e)]);try{const _0xbb39fe=this[_0x598074(0x116)]['transformChangesets']([_0x1e9f19],[this[_0x598074(0x30e)]],!0x1);if(S[_0x598074(0x2aa)](_0xbb39fe)){const {c1Prime:_0x3fb120,c2Prime:_0x5554b6}=_0xbb39fe,_0x45b008=this['_transformService']['transformMutationsWithChangeset'](_0x3fb120[0x0],this['_pendingMutations']);if(S[_0x598074(0x3cb)](_0x45b008)){const {c1Prime:_0xaf2eea,m2Prime:_0x6065a2}=_0x45b008;return this['_executeRemoteChangeset'](_0xaf2eea),_0x5554b6[0x0][_0x598074(0xd5)]=this['_getCurrentRevision'](),this['_clearScheduledTask'](),this[_0x598074(0x2bd)][_0x598074(0x176)](le,this['unitID'],this[_0x598074(0xc1)],_0x5554b6[0x0],_0x6065a2,this['_handler'],void 0x0);}throw _0x45b008[_0x598074(0x2be)];}throw _0xbb39fe[_0x598074(0x2be)];}catch(_0x2f9021){return this[_0x598074(0x3e5)]['error'](_0x2f9021),this[_0x598074(0x354)](!0x1);}}[_0x2fc972(0x206)](_0x3a7b61){const _0x5a53ac=_0x2fc972;if(this[_0x5a53ac(0xbb)](),this[_0x5a53ac(0x479)](_0x3a7b61))return this['_injector']['createInstance'](re,this[_0x5a53ac(0xbc)],this['type'],null,this[_0x5a53ac(0x400)],this['_awaitingChangeset'],[],this[_0x5a53ac(0x23e)]);this['_incrementRevisionNumber']();const _0x59b05d=this[_0x5a53ac(0x2bd)]['createInstance'](ce,this[_0x5a53ac(0xbc)],this['type'],this['_pendingMutations'],this[_0x5a53ac(0x23e)]);return _0x59b05d[_0x5a53ac(0x429)](),_0x59b05d[_0x5a53ac(0x3c0)](),_0x59b05d;}[_0x2fc972(0x352)](_0x38da50){const _0x59e1b5=_0x2fc972;return this[_0x59e1b5(0x354)](!!(_0x38da50!=null&&_0x38da50[_0x59e1b5(0x48c)]));}['onRemoteRetry'](_0x47a006){const _0xe90a6e=_0x2fc972;return this[_0xe90a6e(0x48f)]>vn?this['toggleOffline']():(this[_0xe90a6e(0x4d7)]=fn(this['_resendTimeout'],{'timeout':this[_0xe90a6e(0x48f)],'reqId':_0x47a006[_0xe90a6e(0x4dd)]}),this['_sender']=this[_0xe90a6e(0x4d7)][_0xe90a6e(0x243)](({reqId:_0x12ccac,timeout:_0x371f62})=>{const _0x361d8b=_0xe90a6e;this[_0x361d8b(0x19c)](_0x12ccac,_0x371f62);}),this);}[_0x2fc972(0x288)](){const _0x537ea0=_0x2fc972;return this['_clearScheduledTask'](),this[_0x537ea0(0x2bd)]['createInstance'](me,this[_0x537ea0(0xbc)],this[_0x537ea0(0xc1)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x537ea0(0x23e)]);}[_0x2fc972(0x17b)](){return this;}[_0x2fc972(0x124)](){this['_handler']['onSendChangeset'](this['_awaitingChangeset']);}[_0x2fc972(0x354)](_0x5f0407){const _0x345c3f=_0x2fc972;return this[_0x345c3f(0xbb)](),this['_injector']['createInstance'](ve,this['unitID'],this['type'],null,this[_0x345c3f(0x400)],this['_handler'],_0x5f0407);}[_0x2fc972(0x19c)](_0xf5e0fe,_0x2e9e1c){const _0x27e3da=_0x2fc972;var _0x9d4583;_0xf5e0fe===((_0x9d4583=this['_awaitingChangeset'])==null?void 0x0:_0x9d4583['reqId'])&&(this[_0x27e3da(0x124)](),this[_0x27e3da(0x48f)]=_0x2e9e1c===0x0?0x3e8:_0x2e9e1c*0x2);}['_clearScheduledTask'](){const _0x40a813=_0x2fc972;var _0x46b68d;(_0x46b68d=this[_0x40a813(0x28b)])==null||_0x46b68d[_0x40a813(0x484)](),this[_0x40a813(0x48f)]=0x0;}};le=Ie([N(0x6,a[_0x2fc972(0xde)](a['Injector'])),N(0x7,a[_0x2fc972(0xde)](S['RevisionService'])),N(0x8,a[_0x2fc972(0xde)](exports['LocalCacheService'])),N(0x9,a['ICommandService']),N(0xa,a[_0x2fc972(0x1fc)]),N(0xb,S[_0x2fc972(0x4a4)]),N(0xc,a[_0x2fc972(0x1d3)])],le);let ve=class extends Ce{constructor(_0x29c3e5,_0x93ce0,_0x18a096,_0x4a9280,_0x553fe5,_0x347eb0=!0x1,_0x431d4b,_0x4b149b,_0x72ab8e,_0x898e37,_0x5cc148,_0x495714,_0x288c56){const _0x4f4b63=_0x2fc972;super(_0x29c3e5,_0x93ce0,_0x18a096,_0x4a9280,_0x553fe5,_0x4b149b,_0x72ab8e,_0x5cc148,_0x898e37),I(this,_0x4f4b63(0x3c9),_0x4f4b63(0x1ac)),(this[_0x4f4b63(0x50f)]=_0x347eb0,this[_0x4f4b63(0x1f6)]=_0x431d4b,this['_localeService']=_0x495714,this['_notificationService']=_0x288c56,this[_0x4f4b63(0x35a)](),this[_0x4f4b63(0x1da)](),this[_0x4f4b63(0x214)]());}[_0x2fc972(0x3de)](){return this;}[_0x2fc972(0x3ac)](){return this;}[_0x2fc972(0x206)](){return this;}[_0x2fc972(0x352)](){return this;}[_0x2fc972(0xb9)](){return this;}[_0x2fc972(0x288)](){return this;}[_0x2fc972(0x17b)](){return this;}[_0x2fc972(0x124)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x2fc972(0x1da)](){const _0x10c6a8=_0x2fc972;this[_0x10c6a8(0x12d)][_0x10c6a8(0xb8)](this[_0x10c6a8(0xbc)],this[_0x10c6a8(0xc1)],null,[]);}[_0x2fc972(0x35a)](){const _0xfd6a52=_0x2fc972;this['_isPermissionRej']?this[_0xfd6a52(0x181)]['show']({'title':this[_0xfd6a52(0x46e)]['t'](_0xfd6a52(0xfe)),'content':this[_0xfd6a52(0x46e)]['t'](_0xfd6a52(0x2f0)),'type':_0xfd6a52(0x2be),'duration':0x0}):this[_0xfd6a52(0x181)][_0xfd6a52(0x456)]({'title':this['_localeService']['t'](_0xfd6a52(0x2ab)),'content':this['_localeService']['t'](_0xfd6a52(0x439)),'type':'error','duration':0x0});}[_0x2fc972(0x214)](){const _0xf7e675=_0x2fc972;this['_permissionService'][_0xf7e675(0x3ab)](new k[(_0xf7e675(0x2b3))](this[_0xf7e675(0xbc)])['id'],!0x1);}};ve=Ie([N(0x6,a[_0x2fc972(0xde)](a[_0x2fc972(0x179)])),N(0x7,a[_0x2fc972(0x451)]),N(0x8,a['IUndoRedoService']),N(0x9,a[_0x2fc972(0xde)](exports['LocalCacheService'])),N(0xa,a[_0x2fc972(0xde)](S['RevisionService'])),N(0xb,a[_0x2fc972(0xde)](a[_0x2fc972(0x2cf)])),N(0xc,ee['INotificationService'])],ve);let me=class extends Ce{constructor(_0x534ae2,_0x19c53a,_0x58d9e5,_0x300316,_0x10ff4e,_0x5986e5,_0x2d9b8b,_0x54a611,_0x553b07,_0x4822a0){const _0x59c505=_0x2fc972;super(_0x534ae2,_0x19c53a,_0x58d9e5,_0x300316,_0x10ff4e,_0x553b07,_0x4822a0,_0x2d9b8b,_0x54a611),I(this,_0x59c505(0x3c9),_0x59c505(0x399)),this[_0x59c505(0x2bd)]=_0x5986e5;}[_0x2fc972(0x3de)](_0x11e945){return this['_pendingMutations']['push'](_0x11e945),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x3cc230){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x2fc972(0x206)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x2fc972(0x352)](){const _0x521080=_0x2fc972;throw new Error(_0x521080(0x21b));}[_0x2fc972(0xb9)](){return this;}['toggleOffline'](){return this;}[_0x2fc972(0x17b)](){const _0x58dd74=_0x2fc972,{_injector:_0x4fa756,_pendingMutations:_0x12dc53,_awaitingChangeset:_0x3ad563,unitID:_0x246587,_handler:_0x330c95,type:_0x3b3c73}=this,_0x4c47c7=mn(_0x4fa756,_0x246587,_0x3b3c73,_0x3ad563,_0x12dc53,_0x330c95);return _0x4c47c7 instanceof ce?_0x4c47c7[_0x58dd74(0x429)]():(_0x4c47c7 instanceof le||_0x4c47c7 instanceof fe)&&_0x4c47c7['resend'](),_0x4c47c7;}[_0x2fc972(0x124)](){const _0x258a95=_0x2fc972;throw new Error(_0x258a95(0x27d));}};me=Ie([N(0x5,a[_0x2fc972(0xde)](a[_0x2fc972(0x10d)])),N(0x6,a[_0x2fc972(0xde)](S['RevisionService'])),N(0x7,a[_0x2fc972(0xde)](exports[_0x2fc972(0x464)])),N(0x8,a['ICommandService']),N(0x9,a[_0x2fc972(0x1d3)])],me);let re=class extends Ce{constructor(_0x448998,_0x258e13,_0x43f925,_0x2514e3,_0x51b853,_0x5adaea,_0x4e0ecf,_0x32d306,_0x5df045,_0x30fbd6,_0xe2714,_0xadeca6,_0x37c57e,_0x5432fa){const _0x4a0860=_0x2fc972;super(_0x448998,_0x258e13,_0x43f925,_0x2514e3,_0x4e0ecf,_0xadeca6,_0x37c57e,_0x5df045,_0x30fbd6),I(this,_0x4a0860(0x3c9),_0x4a0860(0x424)),(this['_acknowledgedAwaitingChangeset']=_0x51b853,this[_0x4a0860(0x1e3)]=_0x5adaea,this[_0x4a0860(0x2bd)]=_0x32d306,this['_logService']=_0xe2714,this[_0x4a0860(0x116)]=_0x5432fa);}[_0x2fc972(0x544)](_0x26449f){const _0x3d5b3a=_0x2fc972;try{const _0x14bfa7=[..._0x26449f,...this[_0x3d5b3a(0x1e3)]],_0x437ecd=[this[_0x3d5b3a(0x30e)]||this[_0x3d5b3a(0x3ad)]][_0x3d5b3a(0xda)](_0x56a049=>!!_0x56a049);let _0x18789e,_0x4dc4db;if(_0x437ecd[_0x3d5b3a(0x14d)]){const _0x5e58df=this[_0x3d5b3a(0x116)][_0x3d5b3a(0xe7)](_0x14bfa7,_0x437ecd,!0x1);if(!S[_0x3d5b3a(0x2aa)](_0x5e58df))throw _0x5e58df['error'];_0x18789e=_0x5e58df[_0x3d5b3a(0x4c0)],_0x4dc4db=_0x5e58df[_0x3d5b3a(0x375)];}else _0x18789e=_0x14bfa7,_0x4dc4db=[];let _0x572e4a=this['_pendingMutations'];_0x18789e['forEach'](_0x293ae6=>{const _0xa51001=_0x3d5b3a;let _0x51affd;if(_0x572e4a[_0xa51001(0x14d)]){const _0x82d0f8=this[_0xa51001(0x116)][_0xa51001(0x4ee)](_0x293ae6,_0x572e4a);if(!S[_0xa51001(0x3cb)](_0x82d0f8))throw _0x82d0f8[_0xa51001(0x2be)];_0x51affd=_0x82d0f8[_0xa51001(0x4c0)],_0x572e4a=_0x82d0f8[_0xa51001(0x1e2)];}else _0x51affd=_0x293ae6;this['_executeRemoteChangeset'](_0x51affd);}),this[_0x3d5b3a(0x3ad)]&&this[_0x3d5b3a(0x401)](),this[_0x3d5b3a(0x30e)]&&_0x4dc4db['length']&&(_0x4dc4db[0x0][_0x3d5b3a(0xd5)]=this[_0x3d5b3a(0x1bf)]());let _0xf9b36e;if(this['_awaitingChangeset']&&_0x572e4a[_0x3d5b3a(0x14d)]!==0x0)_0xf9b36e=this['_injector'][_0x3d5b3a(0x176)](le,this[_0x3d5b3a(0xbc)],this[_0x3d5b3a(0xc1)],_0x4dc4db[0x0],_0x572e4a,this['_handler'],void 0x0);else{if(this[_0x3d5b3a(0x30e)]&&_0x572e4a[_0x3d5b3a(0x14d)]===0x0)_0x4dc4db[0x0]['baseRev']=this[_0x3d5b3a(0x1bf)](),_0xf9b36e=this[_0x3d5b3a(0x2bd)][_0x3d5b3a(0x176)](fe,this[_0x3d5b3a(0xbc)],this[_0x3d5b3a(0xc1)],_0x4dc4db[0x0],this['_handler']);else{if(_0x572e4a[_0x3d5b3a(0x14d)]!==0x0){const _0x47d49e=this[_0x3d5b3a(0x2bd)]['createInstance'](ce,this[_0x3d5b3a(0xbc)],this[_0x3d5b3a(0xc1)],_0x572e4a,this[_0x3d5b3a(0x23e)]);_0x47d49e[_0x3d5b3a(0x429)](),_0xf9b36e=_0x47d49e;}else _0xf9b36e=this[_0x3d5b3a(0x2bd)][_0x3d5b3a(0x176)](Oe,this[_0x3d5b3a(0xbc)],this['type'],this[_0x3d5b3a(0x23e)]);}}return _0xf9b36e[_0x3d5b3a(0x3c0)](),_0xf9b36e;}catch(_0x1c740f){return this[_0x3d5b3a(0x3e5)][_0x3d5b3a(0x2be)](_0x3d5b3a(0x4cc),_0x3d5b3a(0x365),_0x1c740f),this[_0x3d5b3a(0x2bd)][_0x3d5b3a(0x176)](ve,this['unitID'],this[_0x3d5b3a(0xc1)],this[_0x3d5b3a(0x30e)],this[_0x3d5b3a(0x400)],this[_0x3d5b3a(0x23e)],!0x1);}}['resend'](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x2fc972(0x3de)](_0x41ee88){const _0x37150f=_0x2fc972;return this['_pendingMutations'][_0x37150f(0x540)](_0x41ee88),this;}[_0x2fc972(0x3ac)](_0x28acc6){const _0x51fc7c=_0x2fc972;return this['_queuedRemoteChangesets'][_0x51fc7c(0x540)](_0x28acc6),this;}[_0x2fc972(0x206)](_0x9e610){const _0x38f1fc=_0x2fc972;if(this[_0x38f1fc(0x30e)])return this[_0x38f1fc(0x3ad)]=this[_0x38f1fc(0x30e)],this['_awaitingChangeset']=null,this;throw new Error(_0x38f1fc(0x46b));}['onRemoteRej'](_0x3503d5){const _0x436cb4=_0x2fc972;return this[_0x436cb4(0x354)](!!(_0x3503d5!=null&&_0x3503d5[_0x436cb4(0x48c)]));}[_0x2fc972(0xb9)](){return this;}['toggleOffline'](){const _0x112c96=_0x2fc972;return this[_0x112c96(0x2bd)][_0x112c96(0x176)](me,this[_0x112c96(0xbc)],this[_0x112c96(0xc1)],this[_0x112c96(0x30e)],this['_pendingMutations'],this[_0x112c96(0x23e)]);}['toggleOnline'](){return this;}[_0x2fc972(0x354)](_0x2b87ef){const _0x29034d=_0x2fc972;return this[_0x29034d(0x2bd)][_0x29034d(0x176)](ve,this[_0x29034d(0xbc)],this[_0x29034d(0xc1)],this[_0x29034d(0x30e)],this['_pendingMutations'],this[_0x29034d(0x23e)],_0x2b87ef);}};re=Ie([N(0x7,a['Inject'](a[_0x2fc972(0x10d)])),N(0x8,a[_0x2fc972(0xde)](S[_0x2fc972(0x347)])),N(0x9,a['Inject'](exports[_0x2fc972(0x464)])),N(0xa,a[_0x2fc972(0x1fc)]),N(0xb,a['ICommandService']),N(0xc,a[_0x2fc972(0x1d3)]),N(0xd,S[_0x2fc972(0x4a4)])],re);function mn(_0x45df6b,_0x354dd5,_0x3a3f08,_0x562b92,_0x56bac3,_0x403689){const _0x1383f5=_0x2fc972;return _0x562b92&&_0x56bac3[_0x1383f5(0x14d)]?_0x45df6b[_0x1383f5(0x176)](le,_0x354dd5,_0x3a3f08,_0x562b92,_0x56bac3,_0x403689,void 0x0):_0x562b92?_0x45df6b[_0x1383f5(0x176)](fe,_0x354dd5,_0x3a3f08,_0x562b92,_0x403689):_0x56bac3[_0x1383f5(0x14d)]?_0x45df6b[_0x1383f5(0x176)](ce,_0x354dd5,_0x3a3f08,_0x56bac3,_0x403689):_0x45df6b['createInstance'](Oe,_0x354dd5,_0x3a3f08,_0x403689);}var Bi=Object[_0x2fc972(0x356)],ki=Object[_0x2fc972(0x423)],yt=(_0x2cf512,_0x58121f,_0x5350fb,_0x3cba16)=>{const _0xa3b99b=_0x2fc972;for(var _0x27b734=_0x3cba16>0x1?void 0x0:_0x3cba16?ki(_0x58121f,_0x5350fb):_0x58121f,_0x221390=_0x2cf512[_0xa3b99b(0x14d)]-0x1,_0x39ecc5;_0x221390>=0x0;_0x221390--)(_0x39ecc5=_0x2cf512[_0x221390])&&(_0x27b734=(_0x3cba16?_0x39ecc5(_0x58121f,_0x5350fb,_0x27b734):_0x39ecc5(_0x27b734))||_0x27b734);return _0x3cba16&&_0x27b734&&Bi(_0x58121f,_0x5350fb,_0x27b734),_0x27b734;},H=(_0x199ac0,_0x46da87)=>(_0x368ecf,_0x511ad0)=>_0x46da87(_0x368ecf,_0x511ad0,_0x199ac0);exports[_0x2fc972(0x333)]=class extends a[_0x2fc972(0x222)]{constructor(_0x9ffd7a,_0x513ef9,_0x5613aa,_0x286eb6,_0x1ef442,_0x4d2b1c,_0x207c0c,_0x2154cb,_0x1b88e6,_0x309fb8,_0x3649e1,_0x27c02d,_0x20c832){const _0x38c30d=_0x2fc972;super(),I(this,_0x38c30d(0x2e0),new A[(_0x38c30d(0x130))](null)),I(this,_0x38c30d(0x413),this['_state$'][_0x38c30d(0x1f3)]()),I(this,_0x38c30d(0x499)),I(this,_0x38c30d(0xef),!0x1),I(this,_0x38c30d(0x4a2),''),I(this,_0x38c30d(0x12a),0x0),I(this,_0x38c30d(0x1c4),this[_0x38c30d(0x413)][_0x38c30d(0x54d)](A[_0x38c30d(0x2dc)](_0x8291cd=>_0x8291cd?_0x8291cd[_0x38c30d(0x3c9)]:q[_0x38c30d(0x455)]),A[_0x38c30d(0x4b3)](0x1))),I(this,_0x38c30d(0x13c),!0x1),I(this,'_remoteChangesetQueue',[]),(this[_0x38c30d(0xbc)]=_0x9ffd7a,this[_0x38c30d(0x2b2)]=_0x513ef9,this['_type']=_0x5613aa,this['_injector']=_0x286eb6,this[_0x38c30d(0x12d)]=_0x1ef442,this['_compressMutationService']=_0x4d2b1c,this[_0x38c30d(0x46e)]=_0x207c0c,this[_0x38c30d(0x11e)]=_0x2154cb,this['_logService']=_0x1b88e6,this['_commandService']=_0x309fb8,this['_messageService']=_0x3649e1,this['_permissionService']=_0x27c02d,this[_0x38c30d(0x1a8)]=_0x20c832);}get['state'](){return this['_state'];}async[_0x2fc972(0x173)](){const _0x13f528=_0x2fc972;if(this[_0x13f528(0x43a)])throw new Error(_0x13f528(0x235));await this[_0x13f528(0x192)]();}[_0x2fc972(0x102)](){return this['_collaborationPaused']=!0x0,a['toDisposable'](()=>{const _0x44089b=_0x10d1;this[_0x44089b(0xef)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x2fc972(0x523)](_0x39ae15){const _0x3da10b=_0x2fc972;this[_0x3da10b(0x499)]=_0x39ae15,this[_0x3da10b(0x2e0)][_0x3da10b(0x450)](_0x39ae15);}async[_0x2fc972(0x192)](){const _0x4ac8d3=_0x2fc972;var _0xecec97;this['_updateState'](await this['_createInitialState']()),this[_0x4ac8d3(0x1a8)]&&((_0xecec97=this[_0x4ac8d3(0x1a8)])==null||_0xecec97[_0x4ac8d3(0x27c)](this[_0x4ac8d3(0xbc)]),this[_0x4ac8d3(0x1a7)](this['_singleActiveUnitService'][_0x4ac8d3(0x433)](this[_0x4ac8d3(0xbc)])[_0x4ac8d3(0x243)](_0x1bd146=>{const _0x5c8bfa=_0x4ac8d3;this[_0x5c8bfa(0x3e5)][_0x5c8bfa(0x17a)](_0x5c8bfa(0x50e),'editing\x20status\x20changed\x20to',_0x1bd146),_0x1bd146===un[_0x5c8bfa(0x1a5)]?(this[_0x5c8bfa(0x3b6)][_0x5c8bfa(0x456)]({'content':this[_0x5c8bfa(0x46e)]['t'](_0x5c8bfa(0x286)),'type':ge['MessageType'][_0x5c8bfa(0x19d)]}),this['_permissionService'][_0x5c8bfa(0x3ab)](new k[(_0x5c8bfa(0x2b3))](this[_0x5c8bfa(0xbc)])['id'],!0x1),this['_permissionService']['setShowComponents'](!0x1)):(this[_0x5c8bfa(0x1f6)][_0x5c8bfa(0x3ab)](new k[(_0x5c8bfa(0x2b3))](this[_0x5c8bfa(0xbc)])['id'],!0x0),this[_0x5c8bfa(0x1f6)][_0x5c8bfa(0x2d2)](!0x0));})));let _0x47e04a=!0x1;return this[_0x4ac8d3(0x1a7)](this[_0x4ac8d3(0x2b2)][_0x4ac8d3(0x4cb)][_0x4ac8d3(0x243)](_0x983bd9=>{const _0x41851b=_0x4ac8d3;_0x983bd9===se[_0x41851b(0x30f)]?this[_0x41851b(0x353)](_0x47e04a):_0x983bd9===se[_0x41851b(0x455)]&&(_0x47e04a=!0x0,this['_toggleOffline']());})),this[_0x4ac8d3(0x1a7)](this[_0x4ac8d3(0x2b2)][_0x4ac8d3(0x312)][_0x4ac8d3(0x243)](_0x2c4cb6=>{const _0x5d69ed=_0x4ac8d3;try{switch(_0x2c4cb6['eventID']){case S[_0x5d69ed(0x2b7)][_0x5d69ed(0x45c)]:{this['_onRemoteChangeset'](S['parseProtocolChangeset'](_0x2c4cb6[_0x5d69ed(0x191)]));break;}case S['CollaborationEvent'][_0x5d69ed(0x470)]:{this['_onRemoteACK'](_0x2c4cb6[_0x5d69ed(0x191)]);break;}case S[_0x5d69ed(0x2b7)][_0x5d69ed(0x1fb)]:{this[_0x5d69ed(0x1af)]();break;}case S['CollaborationEvent'][_0x5d69ed(0x2a6)]:{this['_onRemoteRetry'](_0x2c4cb6[_0x5d69ed(0x191)]);break;}case S[_0x5d69ed(0x2b7)][_0x5d69ed(0xc8)]:{this[_0x5d69ed(0x4cf)](_0x2c4cb6[_0x5d69ed(0x191)]['changesets'][_0x5d69ed(0x2dc)](_0xe5657d=>S[_0x5d69ed(0x4d2)](_0xe5657d)));break;}case S[_0x5d69ed(0x2b7)][_0x5d69ed(0x25a)]:this[_0x5d69ed(0x1af)]({'isPermissionRej':!0x0});}}catch(_0x232e88){throw console['error'](_0x5d69ed(0xca),_0x232e88),_0x232e88;}})),this[_0x4ac8d3(0x499)];}[_0x2fc972(0x315)](){const _0x4c85ae=_0x2fc972;this[_0x4c85ae(0x13c)]=!0x1;}[_0x2fc972(0x449)](){const _0x3746a5=_0x2fc972;if(this[_0x3746a5(0x13c)])throw new Error(_0x3746a5(0x32d));this[_0x3746a5(0x13c)]=!0x0;}[_0x2fc972(0x461)](_0x1ee4c8){const _0x207b36=_0x2fc972;this[_0x207b36(0x449)](),this[_0x207b36(0x523)](this[_0x207b36(0x499)]['appendMutation'](_0x1ee4c8)),this['_unlockTransition']();}['_onRemoteChangeset'](_0x634dfc){const _0x43d6a8=_0x2fc972;if(!(_0x634dfc[_0x43d6a8(0x414)]<=this[_0x43d6a8(0x11e)][_0x43d6a8(0xc9)](this[_0x43d6a8(0xbc)]))){if(this[_0x43d6a8(0xef)]){this['_remoteChangesetQueue']['push'](_0x634dfc);return;}this[_0x43d6a8(0x395)](_0x634dfc);}}[_0x2fc972(0x3fb)](){const _0x158b6=_0x2fc972;this[_0x158b6(0x27e)][_0x158b6(0x422)](_0x4ff509=>this[_0x158b6(0x395)](_0x4ff509)),this[_0x158b6(0x27e)]=[];}[_0x2fc972(0x395)](_0x451d4d){const _0x33e248=_0x2fc972,_0x412919=this[_0x33e248(0x412)][_0x33e248(0x126)][_0x33e248(0x46c)](this[_0x33e248(0x412)]['interceptor'][_0x33e248(0x2e3)]()[_0x33e248(0x36b)])(_0x451d4d['mutations'],null)||_0x451d4d['mutations'],_0x2224f0={..._0x451d4d,'mutations':_0x412919};this[_0x33e248(0x449)](),this['_updateState'](this['_state'][_0x33e248(0x3ac)](_0x2224f0)),this[_0x33e248(0x315)]();}[_0x2fc972(0x12f)](_0x57c517){const _0xe294b0=_0x2fc972;this[_0xe294b0(0x449)](),this[_0xe294b0(0x523)](this['_state'][_0xe294b0(0x206)](_0x57c517)),this['_unlockTransition']();}[_0x2fc972(0x1af)](_0x15e5b5){const _0x1d19c6=_0x2fc972;this[_0x1d19c6(0x449)](),this['_updateState'](this[_0x1d19c6(0x499)][_0x1d19c6(0x352)](_0x15e5b5)),this[_0x1d19c6(0x315)]();}['_onRemoteRetry'](_0x5b00f2){const _0x17b772=_0x2fc972;this['_lockTransition'](),this[_0x17b772(0x523)](this[_0x17b772(0x499)][_0x17b772(0xb9)](_0x5b00f2)),this['_unlockTransition']();}[_0x2fc972(0x4cf)](_0x241077){const _0x4a1e40=_0x2fc972;if(!(this[_0x4a1e40(0x499)]instanceof re))throw new TypeError(_0x4a1e40(0x2f5));const _0x35ac1c=_0x241077[_0x4a1e40(0x2dc)](_0x5e574b=>{const _0x138ebd=_0x4a1e40,_0x487d40=this['_compressMutationService']['interceptor'][_0x138ebd(0x46c)](this[_0x138ebd(0x412)][_0x138ebd(0x126)]['getInterceptPoints']()[_0x138ebd(0x36b)])(_0x5e574b[_0x138ebd(0x492)],null)||_0x5e574b['mutations'];return{..._0x5e574b,'mutations':_0x487d40};});this[_0x4a1e40(0x449)](),this[_0x4a1e40(0x523)](this[_0x4a1e40(0x499)]['onMissedChangesetFetched'](_0x35ac1c)),this[_0x4a1e40(0x315)]();}[_0x2fc972(0x152)](){const _0x42697e=_0x2fc972;this[_0x42697e(0x449)](),this[_0x42697e(0x523)](this[_0x42697e(0x499)][_0x42697e(0x288)]()),this[_0x42697e(0x315)]();}[_0x2fc972(0x353)](_0xe9f6a5=!0x1){const _0x3701a0=_0x2fc972;this['_lockTransition'](),this[_0x3701a0(0x523)](this[_0x3701a0(0x499)]['toggleOnline']()),this[_0x3701a0(0x315)]();const _0x9dc04b=this[_0x3701a0(0x499)];_0xe9f6a5&&_0x9dc04b instanceof Oe&&(this[_0x3701a0(0x449)](),this['_updateState'](_0x9dc04b[_0x3701a0(0x41c)]()),this['_unlockTransition']());}async['_createInitialState'](){return new Promise(_0x1e439a=>{const _0x1b4159=_0x10d1;this['session'][_0x1b4159(0x4cb)][_0x1b4159(0x54d)](A[_0x1b4159(0x4dc)](0x1))[_0x1b4159(0x243)](async _0x51523e=>{_0x1e439a(await this['_createInitialStateImpl'](_0x51523e===se['ONLINE']));});});}[_0x2fc972(0x323)](){const _0x5ac710=this['unitID'];return{'onStateChange':(_0x621822,_0x5dd87e)=>{const _0x3691a3=_0x10d1;if(_0x621822!==this[_0x3691a3(0x499)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x621822['status']+'\x0aAfter:\x20'+_0x5dd87e[_0x3691a3(0x3c9)]+_0x3691a3(0x1ee)+this['_state'][_0x3691a3(0x3c9)]);this[_0x3691a3(0x523)](_0x5dd87e);},'onSendChangeset':_0x1d2441=>{const _0x449967=_0x10d1;_0x1d2441[_0x449967(0x162)]||(_0x1d2441[_0x449967(0x162)]=this[_0x449967(0x4a2)],_0x1d2441['reqId']=++this[_0x449967(0x12a)]);const _0x532ff6={'eventID':S[_0x449967(0x2b7)][_0x449967(0x306)],'data':{'unitID':_0x1d2441['unitID'],'unitType':this['_type'],'changeset':_0x1d2441,'memberID':this[_0x449967(0x2b2)]['getMemberID']()}};this[_0x449967(0x2b2)][_0x449967(0x3b3)](_0x532ff6,this[_0x449967(0xbc)]);},'onMissingChangesets':({from:_0x3e43b0,to:_0x38f421})=>{const _0x586410=_0x10d1;this['_logService'][_0x586410(0x17a)](_0x586410(0x50e),_0x586410(0x16a)+_0x3e43b0+_0x586410(0x1ec)+_0x38f421);const _0xef6d14={'eventID':S[_0x586410(0x2b7)]['FETCH_MISSING'],'data':{'unitID':_0x5ac710,'unitType':this[_0x586410(0xc4)],'from':_0x3e43b0,'to':_0x38f421}};this[_0x586410(0x2b2)]['send'](_0xef6d14,this[_0x586410(0xbc)]);}};}async[_0x2fc972(0x382)](_0xbaef9a){const _0x29a571=_0x2fc972;var _0x1043b3,_0x3ce600;const _0x538501=await this[_0x29a571(0x12d)][_0x29a571(0x47c)](this[_0x29a571(0xbc)]),_0x41f77f=(_0x1043b3=_0x538501==null?void 0x0:_0x538501[_0x29a571(0x492)])!=null?_0x1043b3:[],_0x350306=(_0x3ce600=_0x538501==null?void 0x0:_0x538501['awaitingChangeset'])!=null?_0x3ce600:null,_0x4e3c25=!!(_0x350306!=null&&_0x350306[_0x29a571(0x162)])&&!!(_0x350306!=null&&_0x350306['reqId']);this['_changesetSessionId']=_0x4e3c25?_0x350306['sid']:mi(),this[_0x29a571(0x12a)]=_0x4e3c25?_0x350306[_0x29a571(0x4dd)]:0x0;const _0x2099fa=this[_0x29a571(0xbc)];try{this[_0x29a571(0x185)](_0x350306,_0x41f77f);}catch(_0x58d8e2){this[_0x29a571(0x3e5)][_0x29a571(0x2be)](_0x58d8e2);}const _0x255827=this[_0x29a571(0x323)]();if(_0xbaef9a){const _0x3d3858=mn(this['_injector'],_0x2099fa,this[_0x29a571(0xc4)],_0x350306,_0x41f77f,_0x255827);return _0x3d3858 instanceof ce?_0x3d3858[_0x29a571(0x429)]():(_0x3d3858 instanceof le||_0x3d3858 instanceof fe)&&_0x3d3858[_0x29a571(0x124)](),_0x3d3858;}return this[_0x29a571(0x2bd)][_0x29a571(0x176)](me,_0x2099fa,this[_0x29a571(0xc4)],_0x350306,_0x41f77f,_0x255827);}['_replayCachedMutations'](_0x4a1110,_0x5502ff){const _0x2f85d4=_0x2fc972;var _0x29066a,_0x81ee8f;const _0x38adea=this['_compressMutationService'][_0x2f85d4(0x126)][_0x2f85d4(0x46c)](this[_0x2f85d4(0x412)][_0x2f85d4(0x126)]['getInterceptPoints']()[_0x2f85d4(0x36b)]);(_0x29066a=_0x38adea((_0x4a1110==null?void 0x0:_0x4a1110[_0x2f85d4(0x492)])||[],null))==null||_0x29066a[_0x2f85d4(0x422)](_0x1bbe4e=>this[_0x2f85d4(0x3be)][_0x2f85d4(0xc0)](_0x1bbe4e['id'],_0x1bbe4e['params'])),(_0x81ee8f=_0x38adea(_0x5502ff||[],null))==null||_0x81ee8f[_0x2f85d4(0x422)](_0x31d4e3=>this['_commandService'][_0x2f85d4(0xc0)](_0x31d4e3['id'],_0x31d4e3[_0x2f85d4(0x2ad)]));}},exports[_0x2fc972(0x333)]=yt([H(0x3,a[_0x2fc972(0xde)](a[_0x2fc972(0x10d)])),H(0x4,a[_0x2fc972(0xde)](exports['LocalCacheService'])),H(0x5,a['Inject'](S[_0x2fc972(0xe1)])),H(0x6,a[_0x2fc972(0xde)](a[_0x2fc972(0x2cf)])),H(0x7,a[_0x2fc972(0xde)](S[_0x2fc972(0x347)])),H(0x8,a[_0x2fc972(0x1fc)]),H(0x9,a['ICommandService']),H(0xa,ee['IMessageService']),H(0xb,a['IPermissionService']),H(0xc,a[_0x2fc972(0x457)](qe))],exports['CollaborationEntity']),exports['DocCollaborationEntity']=class extends exports[_0x2fc972(0x333)]{constructor(_0x13258b,_0xbcb709,_0x2b9e6c,_0x47d3a3,_0x3d0e5e,_0x1e23ed,_0x1386d0,_0x4d11dd,_0x7c3385,_0x167958,_0x25cc87,_0xedcf5b,_0x5bc971,_0x466681,_0x2b1c90,_0x470e9b,_0x126246,_0x2e0ce7){const _0x295266=_0x2fc972;super(_0x13258b,_0x2b9e6c,_0xbcb709,_0x47d3a3,_0x3d0e5e,_0x1e23ed,_0x1386d0,_0x4d11dd,_0x466681,_0x2b1c90,_0x470e9b,_0x126246,_0x2e0ce7),this['unitID']=_0x13258b,this[_0x295266(0xc1)]=_0xbcb709,this[_0x295266(0x35f)]=_0x7c3385,this[_0x295266(0x31c)]=_0x167958,this[_0x295266(0x377)]=_0x25cc87,this['_docTransformSelectionsService']=_0xedcf5b,this[_0x295266(0x23d)]=_0x5bc971;}['_createHandler'](){const _0x2cbbff=_0x2fc972,_0x1a35ee=super['_createHandler']();return _0x1a35ee[_0x2cbbff(0x2fc)]=_0x4b2e61=>this[_0x2cbbff(0x31c)]['transformIMECache'](_0x4b2e61),_0x1a35ee['onTransformState']=_0x2fe004=>this[_0x2cbbff(0x377)][_0x2cbbff(0xfb)](_0x2fe004),_0x1a35ee[_0x2cbbff(0x267)]=_0x3ca549=>this[_0x2cbbff(0x427)][_0x2cbbff(0x1b5)](_0x3ca549),_0x1a35ee['onSyncEditingCollabCursor']=_0x4834b7=>this[_0x2cbbff(0x23d)][_0x2cbbff(0x537)](_0x4834b7),_0x1a35ee[_0x2cbbff(0x549)]=_0x3ce9b9=>this['_docTransformIMECacheService'][_0x2cbbff(0x2fa)](_0x3ce9b9),_0x1a35ee[_0x2cbbff(0x335)]=_0x1c28e0=>this[_0x2cbbff(0x377)]['transformRemoteChangeset'](_0x1c28e0),_0x1a35ee;}async[_0x2fc972(0x192)](){const _0x5a4676=_0x2fc972,_0x91fab8=await super[_0x5a4676(0x192)]();return this[_0x5a4676(0x35f)][_0x5a4676(0xb6)][_0x5a4676(0x54d)](A[_0x5a4676(0x26d)](this[_0x5a4676(0x391)]))[_0x5a4676(0x243)](_0x3d20dc=>{const _0x2e0204=_0x5a4676;if(_0x3d20dc==null)return;const {unitId:_0x399383,redoState:_0x3edb77,commandId:_0x567234}=_0x3d20dc;if(_0x399383!==this[_0x2e0204(0xbc)])return;const _0xec48b7={'id':_0x567234,'type':a[_0x2e0204(0x338)][_0x2e0204(0x3d8)],'params':{'unitId':_0x399383,'actions':_0x3edb77[_0x2e0204(0x4ac)],'textRanges':null}};this[_0x2e0204(0x461)](_0xec48b7);}),_0x91fab8;}},exports[_0x2fc972(0x53f)]=yt([H(0x3,a[_0x2fc972(0xde)](a['Injector'])),H(0x4,a[_0x2fc972(0xde)](exports[_0x2fc972(0x464)])),H(0x5,a[_0x2fc972(0xde)](S['CompressMutationService'])),H(0x6,a[_0x2fc972(0xde)](a[_0x2fc972(0x2cf)])),H(0x7,a[_0x2fc972(0xde)](S['RevisionService'])),H(0x8,a[_0x2fc972(0xde)](J[_0x2fc972(0x2f2)])),H(0x9,a[_0x2fc972(0xde)](Be)),H(0xa,a[_0x2fc972(0xde)](We)),H(0xb,a[_0x2fc972(0xde)](Fe)),H(0xc,a[_0x2fc972(0xde)](Rt)),H(0xd,a[_0x2fc972(0x1fc)]),H(0xe,a[_0x2fc972(0x451)]),H(0xf,ee['IMessageService']),H(0x10,a[_0x2fc972(0x179)]),H(0x11,a[_0x2fc972(0x457)](qe))],exports[_0x2fc972(0x53f)]),exports[_0x2fc972(0x49e)]=class extends exports[_0x2fc972(0x333)]{constructor(_0x377bac,_0x23d77d,_0x22801a,_0x13d6df,_0x2fbe87,_0x183db1,_0x580836,_0x59b7b5,_0x5a9792,_0x58bf6f,_0x11a1dd,_0x24f285,_0x4aea6c,_0x1dc735){const _0x251f72=_0x2fc972;super(_0x377bac,_0x22801a,_0x23d77d,_0x13d6df,_0x2fbe87,_0x183db1,_0x580836,_0x59b7b5,_0x58bf6f,_0x11a1dd,_0x24f285,_0x4aea6c,_0x1dc735),this['unitID']=_0x377bac,this['type']=_0x23d77d,this[_0x251f72(0x307)]=_0x5a9792;}['_createHandler'](){const _0x1913a8=_0x2fc972,_0x2bc06f=super[_0x1913a8(0x323)]();return _0x2bc06f[_0x1913a8(0x267)]=_0x5a8f95=>this[_0x1913a8(0x307)][_0x1913a8(0x1b5)](_0x5a8f95),_0x2bc06f;}async[_0x2fc972(0x192)](){const _0xc8ad31=_0x2fc972,_0x37c249=await super[_0xc8ad31(0x192)]();return this[_0xc8ad31(0x1a7)](this[_0xc8ad31(0x3be)][_0xc8ad31(0x2d6)]((_0xf54df5,_0x845d94)=>{const _0x2e23e5=_0xc8ad31;if(_0xf54df5[_0x2e23e5(0xc1)]!==a[_0x2e23e5(0x338)][_0x2e23e5(0x3d8)]||_0x845d94!=null&&_0x845d94['fromCollab']||_0x845d94!=null&&_0x845d94[_0x2e23e5(0x3fc)])return;const _0x8f1b=_0xf54df5['params'];if((_0x8f1b==null?void 0x0:_0x8f1b[_0x2e23e5(0xb5)])!==this['unitID'])return;const _0x4c06e9=_0xf54df5,_0x343536=this['_compressMutationService'][_0x2e23e5(0x126)][_0x2e23e5(0x46c)](this[_0x2e23e5(0x412)]['interceptor'][_0x2e23e5(0x2e3)]()[_0x2e23e5(0x344)])([_0x4c06e9],null)||[_0x4c06e9];this[_0x2e23e5(0x461)](_0x343536[0x0]);})),_0x37c249;}},exports[_0x2fc972(0x49e)]=yt([H(0x3,a[_0x2fc972(0xde)](a['Injector'])),H(0x4,a[_0x2fc972(0xde)](exports[_0x2fc972(0x464)])),H(0x5,a[_0x2fc972(0xde)](S['CompressMutationService'])),H(0x6,a[_0x2fc972(0xde)](a['LocaleService'])),H(0x7,a[_0x2fc972(0xde)](S[_0x2fc972(0x347)])),H(0x8,a['Inject'](ke)),H(0x9,a['ILogService']),H(0xa,a[_0x2fc972(0x451)]),H(0xb,ee[_0x2fc972(0x374)]),H(0xc,a['IPermissionService']),H(0xd,a[_0x2fc972(0x457)](qe))],exports[_0x2fc972(0x49e)]);var Wi=Object['defineProperty'],Fi=Object['getOwnPropertyDescriptor'],Vi=(_0x38e7c0,_0x149810,_0x8a8837,_0xfa3b5d)=>{const _0x14a904=_0x2fc972;for(var _0x1f85b4=_0xfa3b5d>0x1?void 0x0:_0xfa3b5d?Fi(_0x149810,_0x8a8837):_0x149810,_0x4cd108=_0x38e7c0[_0x14a904(0x14d)]-0x1,_0x1b4c24;_0x4cd108>=0x0;_0x4cd108--)(_0x1b4c24=_0x38e7c0[_0x4cd108])&&(_0x1f85b4=(_0xfa3b5d?_0x1b4c24(_0x149810,_0x8a8837,_0x1f85b4):_0x1b4c24(_0x1f85b4))||_0x1f85b4);return _0xfa3b5d&&_0x1f85b4&&Wi(_0x149810,_0x8a8837,_0x1f85b4),_0x1f85b4;},tt=(_0x25abd8,_0x4bc272)=>(_0x5eafac,_0x9b720a)=>_0x4bc272(_0x5eafac,_0x9b720a,_0x25abd8);exports[_0x2fc972(0x500)]=class extends a[_0x2fc972(0x222)]{constructor(_0x1bf287,_0x167e1a,_0x39ec2c){const _0x486fc9=_0x2fc972;super(),I(this,'_entities',new Map()),I(this,_0x486fc9(0x445),new A[(_0x486fc9(0xd4))]()),(this[_0x486fc9(0x2bd)]=_0x1bf287,this[_0x486fc9(0x381)]=_0x167e1a,this[_0x486fc9(0x4d3)]=_0x39ec2c,this[_0x486fc9(0x192)]());}[_0x2fc972(0x324)](){const _0x521982=_0x2fc972;super[_0x521982(0x324)](),this[_0x521982(0xd2)]['forEach'](_0xbbb307=>_0xbbb307[_0x521982(0x324)]()),this[_0x521982(0xd2)][_0x521982(0x211)]();}[_0x2fc972(0x3ea)](_0x3aac8b){const _0x343a46=_0x2fc972;var _0x234ca9;return(_0x234ca9=this[_0x343a46(0xd2)][_0x343a46(0x3cf)](_0x3aac8b))!=null?_0x234ca9:null;}[_0x2fc972(0x506)](_0x2aade7){const _0x132298=_0x2fc972,_0x5948e5=this[_0x132298(0x3ea)](_0x2aade7);return _0x5948e5?A['of'](_0x5948e5):this[_0x132298(0x445)][_0x132298(0x54d)](V[_0x132298(0xda)](_0x43d57=>_0x43d57[_0x132298(0xbc)]===_0x2aade7));}[_0x2fc972(0x192)](){const _0x54b2c1=_0x2fc972;this[_0x54b2c1(0x4d3)][_0x54b2c1(0x41f)](a['UniverInstanceType']['UNIVER_SHEET'])[_0x54b2c1(0x54d)](A[_0x54b2c1(0x26d)](this[_0x54b2c1(0x391)]),V[_0x54b2c1(0x404)](0x10))['subscribe'](async _0x38f247=>{const _0x3175a6=_0x54b2c1,_0x1c2a1b=_0x38f247[_0x3175a6(0x12b)](),_0x55f518=await this[_0x3175a6(0x4b4)](_0x1c2a1b,ie[_0x3175a6(0x252)]);this[_0x3175a6(0xd2)][_0x3175a6(0x3ef)](_0x1c2a1b,_0x55f518);}),this[_0x54b2c1(0x4d3)]['getTypeOfUnitAdded$'](a[_0x54b2c1(0x172)][_0x54b2c1(0x22f)])[_0x54b2c1(0x54d)](A[_0x54b2c1(0x26d)](this[_0x54b2c1(0x391)]),V[_0x54b2c1(0x404)](0x10))[_0x54b2c1(0x54d)](V['filter'](_0x1e98a2=>!_0x1e98a2[_0x54b2c1(0x12b)]()[_0x54b2c1(0x14c)]('__')))[_0x54b2c1(0x243)](async _0xb8a79a=>{const _0x54c875=_0x54b2c1,_0x3aaf20=_0xb8a79a[_0x54c875(0x12b)](),_0x3c6053=await this[_0x54c875(0x4b4)](_0x3aaf20,ie[_0x54c875(0x22f)]);this[_0x54c875(0xd2)]['set'](_0x3aaf20,_0x3c6053);}),A['merge'](this[_0x54b2c1(0x4d3)][_0x54b2c1(0x4fa)](a[_0x54b2c1(0x172)][_0x54b2c1(0x252)]),this['_univerInstanceService'][_0x54b2c1(0x4fa)](a['UniverInstanceType'][_0x54b2c1(0x22f)]))['pipe'](A['takeUntil'](this[_0x54b2c1(0x391)]))[_0x54b2c1(0x243)](_0x10de2d=>{const _0xa51000=_0x54b2c1,_0x26fc2d=_0x10de2d[_0xa51000(0x12b)](),_0x15a930=this[_0xa51000(0xd2)][_0xa51000(0x3cf)](_0x26fc2d);_0x15a930&&(_0x15a930['dispose'](),this[_0xa51000(0xd2)][_0xa51000(0x332)](_0x26fc2d));});}async[_0x2fc972(0x4b4)](_0x451448,_0x5e39e1){const _0x45baba=_0x2fc972,_0x543554=await this[_0x45baba(0x381)][_0x45baba(0x42c)](_0x451448),_0x1d808e=this['_injector'][_0x45baba(0x176)](this[_0x45baba(0x4d9)](_0x5e39e1),_0x451448,_0x5e39e1,_0x543554);return await _0x1d808e[_0x45baba(0x173)](),this[_0x45baba(0x445)][_0x45baba(0x450)](_0x1d808e),_0x1d808e;}[_0x2fc972(0x4d9)](_0x12c0d2){const _0x50e62d=_0x2fc972;switch(_0x12c0d2){case ie[_0x50e62d(0x22f)]:return exports[_0x50e62d(0x53f)];case ie['UNIVER_SHEET']:return exports[_0x50e62d(0x49e)];default:throw new Error(_0x50e62d(0x17c)+_0x12c0d2);}}},exports[_0x2fc972(0x500)]=Vi([tt(0x0,a[_0x2fc972(0xde)](a[_0x2fc972(0x10d)])),tt(0x1,a[_0x2fc972(0xde)](exports[_0x2fc972(0x45d)])),tt(0x2,a[_0x2fc972(0x3b9)])],exports[_0x2fc972(0x500)]);const $t=['purple300','jiqing500',_0x2fc972(0x25d),_0x2fc972(0x488),_0x2fc972(0x201),_0x2fc972(0x42b)];class Ot extends a[_0x2fc972(0x37c)]{constructor(){const _0xcd7611=_0x2fc972;super(...arguments),I(this,_0xcd7611(0x53c),new Map()),I(this,_0xcd7611(0x273),0x0);}[_0x2fc972(0x115)](_0x44eb51){const _0x2f7a5e=_0x2fc972;if(this[_0x2f7a5e(0x53c)]['has'](_0x44eb51))return this['_assignedColors'][_0x2f7a5e(0x3cf)](_0x44eb51);const _0x18d932=$t[this[_0x2f7a5e(0x273)]];return this[_0x2f7a5e(0x273)]=(this[_0x2f7a5e(0x273)]+0x1)%$t[_0x2f7a5e(0x14d)],this[_0x2f7a5e(0x53c)][_0x2f7a5e(0x3ef)](_0x44eb51,_0x18d932),_0x18d932;}}var Gi=Object[_0x2fc972(0x356)],Yi=Object['getOwnPropertyDescriptor'],Ki=(_0x3a7702,_0x1db105,_0x5defdb,_0x3aa2fc)=>{const _0x566a8c=_0x2fc972;for(var _0x50d00b=_0x3aa2fc>0x1?void 0x0:_0x3aa2fc?Yi(_0x1db105,_0x5defdb):_0x1db105,_0x1375c6=_0x3a7702[_0x566a8c(0x14d)]-0x1,_0x5070a2;_0x1375c6>=0x0;_0x1375c6--)(_0x5070a2=_0x3a7702[_0x1375c6])&&(_0x50d00b=(_0x3aa2fc?_0x5070a2(_0x1db105,_0x5defdb,_0x50d00b):_0x5070a2(_0x50d00b))||_0x50d00b);return _0x3aa2fc&&_0x50d00b&&Gi(_0x1db105,_0x5defdb,_0x50d00b),_0x50d00b;},Se=(_0xb2e35a,_0x367155)=>(_0xa0d9cc,_0x32a62b)=>_0x367155(_0xa0d9cc,_0x32a62b,_0xb2e35a);const qi=0x12c,zi=0x64;let mt=class extends a[_0x2fc972(0x222)]{constructor(_0x5535f5,_0x388502,_0x1964f7,_0x487102,_0x255aa7,_0x4abb4c,_0x217449,_0x2dd4e7,_0x15e6c8){const _0x115b50=_0x2fc972;super(),I(this,_0x115b50(0x1b1),!0x1),I(this,_0x115b50(0x192),!0x1),I(this,_0x115b50(0x4ef),new A['BehaviorSubject'](new Map())),I(this,_0x115b50(0x32c),this[_0x115b50(0x4ef)][_0x115b50(0x1f3)]()),I(this,_0x115b50(0x3b2),new A[(_0x115b50(0x130))]([])),I(this,_0x115b50(0x420),this[_0x115b50(0x3b2)][_0x115b50(0x54d)](A[_0x115b50(0x2ac)](qi))),I(this,'_updateLocalCursor',a['debounce'](_0x3aeb4b=>{const _0x247e6e=_0x115b50,_0x1c7287={'eventID':S[_0x247e6e(0x2b7)][_0x247e6e(0x1be)],'data':{'unitID':this[_0x247e6e(0xbc)],'memberID':this[_0x247e6e(0x46f)][_0x247e6e(0x287)](),'selection':dn(_0x3aeb4b)}};this[_0x247e6e(0x46f)]['send'](_0x1c7287,this[_0x247e6e(0xbc)]);},zi)),(this['unitID']=_0x5535f5,this['_session']=_0x388502,this[_0x115b50(0x2bd)]=_0x1964f7,this[_0x115b50(0x2f6)]=_0x487102,this[_0x115b50(0x35d)]=_0x255aa7,this[_0x115b50(0x3a5)]=_0x4abb4c,this[_0x115b50(0x116)]=_0x217449,this[_0x115b50(0x4d3)]=_0x2dd4e7,this['_commandService']=_0x15e6c8);}get[_0x2fc972(0x177)](){const _0xf4ce94=_0x2fc972;return this[_0xf4ce94(0x4ef)]['getValue']();}get[_0x2fc972(0x37a)](){const _0x118e78=_0x2fc972;return this[_0x118e78(0x3b2)][_0x118e78(0x4a3)]();}['dispose'](){const _0x36deba=_0x2fc972;super[_0x36deba(0x324)](),this[_0x36deba(0x4ef)][_0x36deba(0x450)](new Map()),this[_0x36deba(0x4ef)]['complete'](),this[_0x36deba(0x3b2)][_0x36deba(0x450)]([]),this['_roomMembers$']['complete']();}[_0x2fc972(0x173)](){const _0x58fbb6=_0x2fc972;this[_0x58fbb6(0x192)]||(this['_init']=!0x0,this[_0x58fbb6(0x46f)][_0x58fbb6(0x4cb)]['pipe'](A[_0x58fbb6(0x26d)](this[_0x58fbb6(0x391)]))[_0x58fbb6(0x243)](_0x3d8c30=>{const _0x2a6902=_0x58fbb6;_0x3d8c30===se[_0x2a6902(0x30f)]?this['_toggleOnline']():this[_0x2a6902(0x152)]();}),this['_session'][_0x58fbb6(0x312)][_0x58fbb6(0x54d)](A['takeUntil'](this['dispose$']))[_0x58fbb6(0x243)](_0x5b347a=>{const _0x2825e5=_0x58fbb6,_0x5ae358=_0x5b347a['eventID'];_0x5ae358===S[_0x2825e5(0x2b7)][_0x2825e5(0x1be)]&&this['_onCursorUpdate'](_0x5b347a),_0x5ae358===S[_0x2825e5(0x2b7)][_0x2825e5(0x50a)]&&this[_0x2825e5(0x134)](_0x5b347a);}),this[_0x58fbb6(0x1a7)](this[_0x58fbb6(0x3be)][_0x58fbb6(0x2d6)](_0x146fa4=>{const _0x3047c3=_0x58fbb6,_0x26f6e1=_0x146fa4[_0x3047c3(0x2ad)];_0x26f6e1!=null&&this[_0x3047c3(0x1b1)]&&_0x146fa4['id']===ye[_0x3047c3(0x127)]['id']&&_0x26f6e1['unitId']===this['unitID']&&_0x26f6e1['isEditing']===!0x1&&_0x26f6e1[_0x3047c3(0x410)]['length']>0x0&&this['_updateLocalCursor'](_0x26f6e1['ranges']);})),this[_0x58fbb6(0x3a5)][_0x58fbb6(0x383)][_0x58fbb6(0x54d)](A[_0x58fbb6(0x26d)](this['dispose$']))[_0x58fbb6(0x243)](_0x2562e5=>{const _0x2881a9=_0x58fbb6;if((_0x2562e5==null?void 0x0:_0x2562e5[_0x2881a9(0xbc)])!==this[_0x2881a9(0xbc)])return;const _0xfa51f9={'eventID':S[_0x2881a9(0x2b7)][_0x2881a9(0x1be)],'data':_0x2562e5};this[_0x2881a9(0x376)](_0xfa51f9);}),this[_0x58fbb6(0x1a7)](this['_commandService'][_0x58fbb6(0x2d6)](_0x2db3b1=>{const _0x5830ed=_0x58fbb6;if(_0x2db3b1[_0x5830ed(0x2ad)]==null)return;const _0x58eac7=_0x2db3b1[_0x5830ed(0x2ad)];if(_0x2db3b1['id']!==ye[_0x5830ed(0x2cc)]['id']||_0x58eac7[_0x5830ed(0xb5)]!==this['unitID'])return;const _0x2b5da2={'id':_0x5830ed(0x30d),'params':_0x58eac7},_0x35d6b1=this[_0x5830ed(0x177)];for(const [_0xc15d6b,_0x5698ad]of _0x35d6b1){const _0x53a826={'id':_0x5830ed(0x30d),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x5698ad[_0x5830ed(0x410)]}},_0x585d75=this['_transformService'][_0x5830ed(0x2c5)](_0x2b5da2,_0x53a826,!0x1);if(S[_0x5830ed(0x107)](_0x585d75))throw _0x585d75[_0x5830ed(0x2be)];_0x35d6b1[_0x5830ed(0x3ef)](_0xc15d6b,{..._0x5698ad,'ranges':_0x585d75[_0x5830ed(0x1e2)][_0x5830ed(0x2ad)][_0x5830ed(0x466)]});}queueMicrotask(()=>{const _0x739110=_0x5830ed;this[_0x739110(0x4ef)]['next'](_0x35d6b1);});})));}['_onCursorUpdate'](_0x12f6ee){const _0x3e53ae=_0x2fc972;var _0x1767d2,_0x2f443a;const {memberID:_0x7248f2,selection:_0x37cfe3}=_0x12f6ee[_0x3e53ae(0x191)],_0x58f238=Ui(_0x37cfe3),_0x178140=(_0x2f443a=(_0x1767d2=this[_0x3e53ae(0x35d)][_0x3e53ae(0x2bc)](this[_0x3e53ae(0xbc)],_0x7248f2))==null?void 0x0:_0x1767d2[_0x3e53ae(0xab)])!=null?_0x2f443a:_0x3e53ae(0x33d),_0x172874={'color':this[_0x3e53ae(0x2f6)]['assignAColorForMemberID'](_0x7248f2),'name':_0x178140,'ranges':_0x58f238},_0x28a1dc=this[_0x3e53ae(0x177)];_0x28a1dc[_0x3e53ae(0x3ef)](_0x7248f2,_0x172874),this['_cursorInfo$']['next'](_0x28a1dc);}[_0x2fc972(0x134)](_0x50e9d0){const {memberID:_0x16ff15}=_0x50e9d0['data'],_0x5944cc=this['cursorInfo'];_0x5944cc['delete'](_0x16ff15),this['_cursorInfo$']['next'](_0x5944cc);}['_toggleOnline'](){const _0x11f08a=_0x2fc972;var _0x204db4;if(this['_online']=!0x0,((_0x204db4=this[_0x11f08a(0x4d3)][_0x11f08a(0x2df)]())==null?void 0x0:_0x204db4[_0x11f08a(0x12b)]())!==this[_0x11f08a(0xbc)])return;const _0x413b8e=this['_injector']['get'](ye[_0x11f08a(0x30c)])[_0x11f08a(0x4da)]();Array[_0x11f08a(0x249)](_0x413b8e)&&_0x413b8e['length']>0x0&&this[_0x11f08a(0x2af)](_0x413b8e);}[_0x2fc972(0x152)](){this['_online']=!0x1;}};mt=Ki([Se(0x2,a[_0x2fc972(0xde)](a[_0x2fc972(0x10d)])),Se(0x3,a[_0x2fc972(0xde)](Ot)),Se(0x4,a[_0x2fc972(0xde)](exports[_0x2fc972(0x120)])),Se(0x5,a[_0x2fc972(0xde)](Rt)),Se(0x6,S[_0x2fc972(0x4a4)]),Se(0x7,a[_0x2fc972(0x3b9)]),Se(0x8,a['ICommandService'])],mt);var Xi=Object[_0x2fc972(0x356)],Ji=Object[_0x2fc972(0x423)],Zi=(_0x2e9a3f,_0x21044a,_0x5ea7b8,_0x35c029)=>{const _0x43df76=_0x2fc972;for(var _0x32fc57=_0x35c029>0x1?void 0x0:_0x35c029?Ji(_0x21044a,_0x5ea7b8):_0x21044a,_0x443acf=_0x2e9a3f[_0x43df76(0x14d)]-0x1,_0x2b7bbe;_0x443acf>=0x0;_0x443acf--)(_0x2b7bbe=_0x2e9a3f[_0x443acf])&&(_0x32fc57=(_0x35c029?_0x2b7bbe(_0x21044a,_0x5ea7b8,_0x32fc57):_0x2b7bbe(_0x32fc57))||_0x32fc57);return _0x35c029&&_0x32fc57&&Xi(_0x21044a,_0x5ea7b8,_0x32fc57),_0x32fc57;},be=(_0x2635a7,_0x26c4be)=>(_0x41a1c7,_0x475661)=>_0x26c4be(_0x41a1c7,_0x475661,_0x2635a7);const Qi=0x12c,es=0x64,ts=()=>{let _0x17f1eb=[],_0x430bc4=!0x1;return _0x5732a8=>{const _0x35b270=_0x10d1;_0x17f1eb[_0x35b270(0x540)](_0x5732a8),_0x430bc4||(_0x430bc4=!0x0,setTimeout(()=>{const _0x1160d3=_0x35b270;_0x17f1eb[_0x1160d3(0x422)](_0x547d10=>_0x547d10()),_0x17f1eb=[],_0x430bc4=!0x1;}));};};let St=class extends a[_0x2fc972(0x222)]{constructor(_0x34c538,_0x51573c,_0x389931,_0x5c4e0d,_0x19fe6a,_0x12ea49,_0x5b82f8,_0x3049b8){const _0xe40262=_0x2fc972;super(),I(this,_0xe40262(0x1b1),!0x1),I(this,_0xe40262(0x192),!0x1),I(this,'_cursorInfo$',new A[(_0xe40262(0x130))](new Map())),I(this,_0xe40262(0x32c),this[_0xe40262(0x4ef)][_0xe40262(0x1f3)]()),I(this,_0xe40262(0x3b2),new A['BehaviorSubject']([])),I(this,_0xe40262(0x420),this[_0xe40262(0x3b2)]['pipe'](A['debounceTime'](Qi))),I(this,_0xe40262(0x2af),a[_0xe40262(0x1f1)]((_0x4ed97e,_0x1267e6)=>{const _0x4779ae=_0xe40262,_0x324345={'eventID':S[_0x4779ae(0x2b7)][_0x4779ae(0x1be)],'data':{'unitID':this['unitID'],'memberID':this[_0x4779ae(0x46f)]['getMemberID'](),'selection':Pt[_0x4779ae(0x486)](_0x4ed97e,_0x1267e6[_0x4779ae(0xbd)])}};this['_session'][_0x4779ae(0x3b3)](_0x324345,this['unitID']);},es)),(this['unitID']=_0x34c538,this['_session']=_0x51573c,this['_injector']=_0x389931,this[_0xe40262(0x2f6)]=_0x5c4e0d,this[_0xe40262(0x35d)]=_0x19fe6a,this[_0xe40262(0x4d3)]=_0x12ea49,this['_commandService']=_0x5b82f8,this[_0xe40262(0x52d)]=_0x3049b8);}get['cursorInfo'](){const _0x2f5645=_0x2fc972;return this[_0x2f5645(0x4ef)][_0x2f5645(0x4a3)]();}get[_0x2fc972(0x37a)](){const _0x2895e0=_0x2fc972;return this[_0x2895e0(0x3b2)][_0x2895e0(0x4a3)]();}[_0x2fc972(0x324)](){const _0x54fe4a=_0x2fc972;super[_0x54fe4a(0x324)](),this['_cursorInfo$'][_0x54fe4a(0x450)](new Map()),this[_0x54fe4a(0x4ef)][_0x54fe4a(0x4b9)](),this[_0x54fe4a(0x3b2)]['next']([]),this['_roomMembers$'][_0x54fe4a(0x4b9)]();}[_0x2fc972(0x173)](){const _0x172c26=_0x2fc972;this['_init']||(this[_0x172c26(0x192)]=!0x0,this['_session'][_0x172c26(0x4cb)][_0x172c26(0x54d)](A[_0x172c26(0x26d)](this[_0x172c26(0x391)]))[_0x172c26(0x243)](_0x22715f=>{const _0x7b536a=_0x172c26;_0x22715f===se[_0x7b536a(0x30f)]?this['_toggleOnline']():this[_0x7b536a(0x152)]();}),this[_0x172c26(0x46f)][_0x172c26(0x312)]['pipe'](A[_0x172c26(0x26d)](this[_0x172c26(0x391)]))[_0x172c26(0x243)](_0xb1b23e=>{const _0x2bb514=_0x172c26,_0x102d67=_0xb1b23e[_0x2bb514(0x4ca)];_0x102d67===S[_0x2bb514(0x2b7)]['UPDATE_CURSOR']&&this[_0x2bb514(0x376)](_0xb1b23e),_0x102d67===S[_0x2bb514(0x2b7)][_0x2bb514(0x50a)]&&this[_0x2bb514(0x134)](_0xb1b23e);}),this['_onRefRangeChange'](),this[_0x172c26(0x1a7)](this[_0x172c26(0x3be)][_0x172c26(0x2d6)](_0x34f855=>{const _0x2fb5bb=_0x172c26;if(this[_0x2fb5bb(0x1b1)]&&_0x34f855['id']===k[_0x2fb5bb(0x2c0)]['id']&&_0x34f855[_0x2fb5bb(0x2ad)][_0x2fb5bb(0xb5)]===this[_0x2fb5bb(0xbc)]){const _0xa71439=_0x34f855['params'];this[_0x2fb5bb(0x2af)](_0xa71439[_0x2fb5bb(0x469)],_0xa71439['selections'][0x0]);}})));}[_0x2fc972(0x376)](_0x5ce379){const _0x5deb3a=_0x2fc972;var _0x1e46cf,_0x233d62;const {memberID:_0x2914d1,selection:_0x93a5b}=_0x5ce379[_0x5deb3a(0x191)],{sheetName:_0x10e25a,range:_0x2abcad}=Pt[_0x5deb3a(0x21c)](_0x93a5b),_0x2daf2f={'name':(_0x233d62=(_0x1e46cf=this['_memberService']['getMember'](this[_0x5deb3a(0xbc)],_0x2914d1))==null?void 0x0:_0x1e46cf[_0x5deb3a(0xab)])!=null?_0x233d62:_0x5deb3a(0x33d),'range':this[_0x5deb3a(0x4b2)](_0x10e25a,_0x2abcad),'sheetID':_0x10e25a,'color':this['_colorAssignService'][_0x5deb3a(0x115)](_0x2914d1),'selection':_0x93a5b},_0x4b7bcf=this[_0x5deb3a(0x177)];_0x4b7bcf[_0x5deb3a(0x3ef)](_0x2914d1,_0x2daf2f),this[_0x5deb3a(0x4ef)][_0x5deb3a(0x450)](_0x4b7bcf);}[_0x2fc972(0x134)](_0x507217){const _0x12677b=_0x2fc972,{memberID:_0x4fbbc9}=_0x507217[_0x12677b(0x191)],_0x565cc1=this['cursorInfo'];_0x565cc1['delete'](_0x4fbbc9),this['_cursorInfo$']['next'](_0x565cc1);}[_0x2fc972(0x4b2)](_0xa72666,_0x5431b7){const _0x1ef210=_0x2fc972;var _0x4b7a91,_0xedbe4b;const _0x4ff4a4=(_0xedbe4b=(_0x4b7a91=this[_0x1ef210(0x4d3)][_0x1ef210(0x2f8)](this[_0x1ef210(0xbc)]))==null?void 0x0:_0x4b7a91[_0x1ef210(0x361)](_0xa72666))==null?void 0x0:_0xedbe4b[_0x1ef210(0x4ff)]();return(_0x4ff4a4==null?void 0x0:_0x4ff4a4['find'](_0x575222=>a[_0x1ef210(0x1eb)][_0x1ef210(0x528)](_0x575222,_0x5431b7)))||_0x5431b7;}[_0x2fc972(0x37e)](){const _0x153b9f=_0x2fc972,_0x4d04e0=new a[(_0x153b9f(0x1a0))](),_0x672485=ts(),_0x875d8e=()=>{const _0x43fffa=_0x153b9f;_0x4d04e0[_0x43fffa(0x324)]();const _0x4b8d8e=(_0x2fb978,_0x52f6dc,_0x17b63a,_0x30f556)=>{const _0x427ecc=_0x43fffa;let _0x2d0a9a=[];switch(_0x2fb978['id']){case k['EffectRefRangId']['DeleteRangeMoveLeftCommandId']:{_0x2d0a9a=k[_0x427ecc(0x10c)](_0x2fb978,_0x30f556);break;}case k[_0x427ecc(0x313)][_0x427ecc(0x140)]:{_0x2d0a9a=k[_0x427ecc(0x334)](_0x2fb978,_0x30f556);break;}case k[_0x427ecc(0x313)][_0x427ecc(0x194)]:{_0x2d0a9a=k[_0x427ecc(0xcf)](_0x2fb978,_0x30f556);break;}case k['EffectRefRangId'][_0x427ecc(0x4f5)]:{_0x2d0a9a=k['handleInsertRangeMoveDown'](_0x2fb978,_0x30f556);break;}case k[_0x427ecc(0x313)][_0x427ecc(0x460)]:{_0x2d0a9a=k[_0x427ecc(0x3f6)](_0x2fb978,_0x30f556);break;}case k['EffectRefRangId']['InsertRowCommandId']:{_0x2d0a9a=k[_0x427ecc(0x2c3)](_0x2fb978,_0x30f556);break;}case k[_0x427ecc(0x313)][_0x427ecc(0x2ba)]:{_0x2d0a9a=k[_0x427ecc(0x1fe)](_0x2fb978,_0x30f556);break;}case k[_0x427ecc(0x313)]['RemoveColCommandId']:{_0x2d0a9a=k['handleIRemoveCol'](_0x2fb978,_0x30f556);break;}case k[_0x427ecc(0x313)][_0x427ecc(0x101)]:{_0x2d0a9a=k[_0x427ecc(0x36c)](_0x2fb978,_0x30f556);break;}}const _0x100b9e=k[_0x427ecc(0x32b)](_0x2d0a9a,_0x30f556),_0x3ac8a6=this[_0x427ecc(0x177)]['get'](_0x52f6dc);if(_0x3ac8a6&&_0x100b9e){const _0x1eab04={..._0x3ac8a6,'range':_0x100b9e};this['cursorInfo'][_0x427ecc(0x3ef)](_0x52f6dc,_0x1eab04),_0x672485(()=>{const _0xe472d8=_0x427ecc,_0x398e3b=this[_0xe472d8(0x52d)]['registerRefRange'](_0x100b9e,_0x2b0a78=>(_0x398e3b['dispose'](),_0x4b8d8e(_0x2b0a78,_0x52f6dc,_0x17b63a,_0x100b9e)));_0x4d04e0[_0xe472d8(0x34a)](_0x398e3b);});}return{'redos':[],'undos':[]};};this[_0x43fffa(0x177)][_0x43fffa(0x422)]((_0x54b5b2,_0x1c3e60)=>{const _0x323eaa=_0x43fffa,{range:_0x4b0798,sheetID:_0xf46842}=_0x54b5b2,_0x55a35b=this[_0x323eaa(0x52d)][_0x323eaa(0x247)](_0x4b0798,_0x67c149=>(_0x55a35b[_0x323eaa(0x324)](),_0x4b8d8e(_0x67c149,_0x1c3e60,_0xf46842,_0x4b0798)));_0x4d04e0['add'](_0x55a35b);});};this[_0x153b9f(0x1a7)](a[_0x153b9f(0x146)](this[_0x153b9f(0x4ef)]['subscribe'](()=>{_0x875d8e();})));}[_0x2fc972(0x353)](){const _0x56fac4=_0x2fc972;var _0x56bc51,_0x4c4730;if(this[_0x56fac4(0x1b1)]=!0x0,((_0x56bc51=this['_univerInstanceService'][_0x56fac4(0x2df)]())==null?void 0x0:_0x56bc51[_0x56fac4(0x12b)]())!==this[_0x56fac4(0xbc)])return;const _0x47dc22=(_0x4c4730=this[_0x56fac4(0x2bd)][_0x56fac4(0x3cf)](k[_0x56fac4(0x108)])[_0x56fac4(0x440)]())==null?void 0x0:_0x4c4730[0x0],_0x198fd8=this[_0x56fac4(0x4d3)][_0x56fac4(0x1b8)](a[_0x56fac4(0x172)][_0x56fac4(0x252)])['getActiveSheet']();_0x47dc22&&_0x198fd8&&this[_0x56fac4(0x2af)](_0x198fd8[_0x56fac4(0x32e)](),_0x47dc22);}['_toggleOffline'](){const _0x3c971a=_0x2fc972;this[_0x3c971a(0x1b1)]=!0x1;}};St=Zi([be(0x2,a[_0x2fc972(0xde)](a['Injector'])),be(0x3,a[_0x2fc972(0xde)](Ot)),be(0x4,a[_0x2fc972(0xde)](exports[_0x2fc972(0x120)])),be(0x5,a[_0x2fc972(0x3b9)]),be(0x6,a[_0x2fc972(0x451)]),be(0x7,a[_0x2fc972(0xde)](k['RefRangeService']))],St);var ns=Object[_0x2fc972(0x356)],is=Object[_0x2fc972(0x423)],ss=(_0x1465c7,_0x34fda4,_0x57f704,_0x3964a3)=>{const _0x1ba1c0=_0x2fc972;for(var _0x3b23bf=_0x3964a3>0x1?void 0x0:_0x3964a3?is(_0x34fda4,_0x57f704):_0x34fda4,_0x11a608=_0x1465c7[_0x1ba1c0(0x14d)]-0x1,_0x219008;_0x11a608>=0x0;_0x11a608--)(_0x219008=_0x1465c7[_0x11a608])&&(_0x3b23bf=(_0x3964a3?_0x219008(_0x34fda4,_0x57f704,_0x3b23bf):_0x219008(_0x3b23bf))||_0x3b23bf);return _0x3964a3&&_0x3b23bf&&ns(_0x34fda4,_0x57f704,_0x3b23bf),_0x3b23bf;},nt=(_0x40c52a,_0x48fc44)=>(_0x565f72,_0x2cacdc)=>_0x48fc44(_0x565f72,_0x2cacdc,_0x40c52a);let De=class extends a[_0x2fc972(0x222)]{constructor(_0x1b56c0,_0x138541,_0x228eb5){const _0x1f16e1=_0x2fc972;super(),I(this,_0x1f16e1(0xd2),new Map()),I(this,_0x1f16e1(0x445),new A[(_0x1f16e1(0xd4))]()),(this[_0x1f16e1(0x4d3)]=_0x1b56c0,this[_0x1f16e1(0x2bd)]=_0x138541,this[_0x1f16e1(0x381)]=_0x228eb5,this['_init']());}[_0x2fc972(0x324)](){const _0x104f73=_0x2fc972;super[_0x104f73(0x324)](),this[_0x104f73(0x445)][_0x104f73(0x4b9)](),this[_0x104f73(0xd2)][_0x104f73(0x422)](_0x2b2680=>_0x2b2680['dispose']());}[_0x2fc972(0x3ec)](_0x57a653){const _0x52090c=_0x2fc972;return this[_0x52090c(0xd2)]['has'](_0x57a653)?this['_entities']['get'](_0x57a653)[_0x52090c(0x32c)]:this[_0x52090c(0x445)][_0x52090c(0x54d)](A[_0x52090c(0xda)](_0x22e466=>_0x22e466[_0x52090c(0xbc)]===_0x57a653),A['switchMap'](_0x4c626f=>_0x4c626f['cursorInfo$']));}[_0x2fc972(0x192)](){const _0x4d5dd3=_0x2fc972;this['_univerInstanceService'][_0x4d5dd3(0x41f)](a[_0x4d5dd3(0x172)][_0x4d5dd3(0x252)])[_0x4d5dd3(0x54d)](A[_0x4d5dd3(0x26d)](this[_0x4d5dd3(0x391)]))[_0x4d5dd3(0x243)](async _0x1212bb=>{const _0x5c53bf=_0x4d5dd3,_0xb54aaa=_0x1212bb['getUnitId'](),_0x1b8022=await this['_startSheetCollabCursor'](_0xb54aaa);this[_0x5c53bf(0x445)][_0x5c53bf(0x450)](_0x1b8022),this[_0x5c53bf(0xd2)][_0x5c53bf(0x3ef)](_0xb54aaa,_0x1b8022);}),this['_univerInstanceService'][_0x4d5dd3(0x41f)](a['UniverInstanceType'][_0x4d5dd3(0x22f)])[_0x4d5dd3(0x54d)](A[_0x4d5dd3(0x26d)](this[_0x4d5dd3(0x391)]))[_0x4d5dd3(0x54d)](A[_0x4d5dd3(0xda)](_0x4ff3d6=>!_0x4ff3d6['getUnitId']()[_0x4d5dd3(0x14c)]('__')))[_0x4d5dd3(0x243)](async _0x29c1d1=>{const _0x5d4705=_0x4d5dd3,_0x3e9042=_0x29c1d1[_0x5d4705(0x12b)](),_0x117a36=await this[_0x5d4705(0x3f2)](_0x3e9042);this[_0x5d4705(0x445)][_0x5d4705(0x450)](_0x117a36),this[_0x5d4705(0xd2)][_0x5d4705(0x3ef)](_0x3e9042,_0x117a36);}),A['merge'](this['_univerInstanceService']['getTypeOfUnitDisposed$'](a['UniverInstanceType'][_0x4d5dd3(0x22f)]),this[_0x4d5dd3(0x4d3)][_0x4d5dd3(0x4fa)](a[_0x4d5dd3(0x172)]['UNIVER_SHEET']))['pipe'](A[_0x4d5dd3(0x26d)](this[_0x4d5dd3(0x391)]))[_0x4d5dd3(0x243)](_0x3720ad=>{const _0x266322=_0x4d5dd3,_0xb588af=_0x3720ad[_0x266322(0x12b)](),_0x1a0e81=this[_0x266322(0xd2)][_0x266322(0x3cf)](_0xb588af);_0x1a0e81&&(_0x1a0e81[_0x266322(0x324)](),this[_0x266322(0xd2)][_0x266322(0x332)](_0xb588af));});}async[_0x2fc972(0x3a3)](_0x43e3b6){const _0x1bf272=_0x2fc972,_0x58e3a9=await this['_collabSessionService'][_0x1bf272(0x42c)](_0x43e3b6),_0x2499ed=this[_0x1bf272(0x2bd)][_0x1bf272(0x176)](St,_0x43e3b6,_0x58e3a9);return _0x2499ed[_0x1bf272(0x173)](),_0x2499ed;}async[_0x2fc972(0x3f2)](_0x1c1f8c){const _0x146edf=_0x2fc972,_0x377820=await this[_0x146edf(0x381)][_0x146edf(0x42c)](_0x1c1f8c),_0x3c8ecd=this['_injector'][_0x146edf(0x176)](mt,_0x1c1f8c,_0x377820);return _0x3c8ecd[_0x146edf(0x173)](),_0x3c8ecd;}};De=ss([nt(0x0,a[_0x2fc972(0x3b9)]),nt(0x1,a[_0x2fc972(0xde)](a[_0x2fc972(0x10d)])),nt(0x2,a[_0x2fc972(0xde)](exports['CollaborationSessionService']))],De);const Le=0x14,Ht=0xc8,it=0x4,rs=0x5;function os(_0x5808b2,_0x491eee){const _0x3fc7d5=_0x2fc972;let {radius:_0x1183a6,width:_0x2848c9,height:_0x461fc1}=_0x491eee;_0x1183a6=_0x1183a6!=null?_0x1183a6:0x0,_0x2848c9=_0x2848c9!=null?_0x2848c9:0x1e,_0x461fc1=_0x461fc1!=null?_0x461fc1:0x1e;let _0x4d56b2=0x0,_0x5d59e2=0x0,_0x494180=0x0;_0x4d56b2=_0x5d59e2=_0x494180=Math['min'](_0x1183a6,_0x2848c9/0x2,_0x461fc1/0x2),_0x5808b2[_0x3fc7d5(0x4b1)](),_0x5808b2[_0x3fc7d5(0x161)](_0x4d56b2,0x0),_0x5808b2['lineTo'](_0x2848c9-_0x5d59e2,0x0),_0x5808b2[_0x3fc7d5(0x3d1)](_0x2848c9-_0x5d59e2,_0x5d59e2,_0x5d59e2,Math['PI']*0x3/0x2,0x0,!0x1),_0x5808b2[_0x3fc7d5(0x47e)](_0x2848c9,_0x461fc1-_0x494180),_0x5808b2[_0x3fc7d5(0x3d1)](_0x2848c9-_0x494180,_0x461fc1-_0x494180,_0x494180,0x0,Math['PI']/0x2,!0x1),_0x5808b2[_0x3fc7d5(0x47e)](0x0,_0x461fc1),_0x5808b2[_0x3fc7d5(0x47e)](0x0,_0x4d56b2),_0x5808b2[_0x3fc7d5(0x3d1)](_0x4d56b2,_0x4d56b2,_0x4d56b2,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x5808b2[_0x3fc7d5(0x3df)](),_0x491eee[_0x3fc7d5(0x49a)]&&(_0x5808b2[_0x3fc7d5(0xb7)](),_0x5808b2[_0x3fc7d5(0x242)]=_0x491eee[_0x3fc7d5(0x49a)],_0x491eee[_0x3fc7d5(0x1fa)]===_0x3fc7d5(0x2da)?_0x5808b2[_0x3fc7d5(0x49a)](_0x3fc7d5(0x2da)):_0x5808b2[_0x3fc7d5(0x49a)](),_0x5808b2[_0x3fc7d5(0x339)]());}class ze extends K[_0x2fc972(0x362)]{constructor(_0xa2d97,_0x2184db){const _0x512e6=_0x2fc972;super(_0xa2d97,_0x2184db),I(this,_0x512e6(0x406)),I(this,_0x512e6(0x322)),(this[_0x512e6(0x406)]=_0x2184db==null?void 0x0:_0x2184db['color'],this[_0x512e6(0x322)]=_0x2184db==null?void 0x0:_0x2184db[_0x512e6(0x322)]);}static['drawWith'](_0x1ada87,_0x5b6f07){const _0x39edf2=_0x2fc972,{text:_0x4b934e,color:_0x1002f9}=_0x5b6f07;_0x1ada87[_0x39edf2(0xb7)](),_0x1ada87[_0x39edf2(0x3ed)]=_0x39edf2(0x371);const _0x33bc3c=_0x1ada87['measureText'](_0x4b934e)['width'],_0x4309b6=Math[_0x39edf2(0x3d4)](_0x33bc3c+0x2*it,Ht);os(_0x1ada87,{'height':Le,'radius':0x4,'width':_0x4309b6,'fill':_0x1002f9,'evented':!0x1}),_0x1ada87['fillStyle']='#FFF';const _0x5ea601=it,_0x5dfdc4=Le-rs,_0x14959a=Ht-0x2*it;if(_0x33bc3c>_0x14959a){let _0x1ad68a='',_0x498e20=0x0;for(const _0x42198e of _0x4b934e){const _0x54e4c1=_0x1ada87[_0x39edf2(0x2ea)](_0x42198e)[_0x39edf2(0x1cf)];if(_0x498e20+_0x54e4c1<=_0x14959a-_0x1ada87[_0x39edf2(0x2ea)](_0x39edf2(0x1e0))[_0x39edf2(0x1cf)])_0x1ad68a+=_0x42198e,_0x498e20+=_0x54e4c1;else{_0x1ad68a+=_0x39edf2(0x1e0);break;}}_0x1ada87[_0x39edf2(0x3ce)](_0x1ad68a,_0x5ea601,_0x5dfdc4);}else _0x1ada87['fillText'](_0x4b934e,_0x5ea601,_0x5dfdc4);_0x1ada87[_0x39edf2(0x339)]();}[_0x2fc972(0x485)](_0x1adc44){const _0x293f46=_0x2fc972;ze[_0x293f46(0x3c3)](_0x1adc44,this);}}const st=_0x2fc972(0x299),as=_0x2fc972(0x268),cs=_0x2fc972(0x351),Ue=0x6,ls=1.5,rt=0x4,hs=1.5,_s='rgba(255,\x20255,\x20255,\x200.01)';class Bt{constructor(_0x503509,_0x229dba,_0x1ee1c6,_0x40f00d){const _0x3f60a3=_0x2fc972;I(this,'_shapes',[]),I(this,_0x3f60a3(0x284),null),I(this,_0x3f60a3(0x459),null),I(this,_0x3f60a3(0x31d),null),I(this,_0x3f60a3(0x3f9),null),I(this,_0x3f60a3(0x20e),null),(this[_0x3f60a3(0x1b3)]=_0x503509,this[_0x3f60a3(0x15a)]=_0x229dba,this['_docSkeleton']=_0x1ee1c6,this['_document']=_0x40f00d,this['_render']());}set[_0x2fc972(0x1bc)](_0x5c2605){const _0x5725d1=_0x2fc972;_0x5c2605?(this['_anchorDot']&&this[_0x5725d1(0x31d)]['hide'](),this[_0x5725d1(0x459)]&&this['_textBubble'][_0x5725d1(0x456)]()):(this[_0x5725d1(0x31d)]&&this[_0x5725d1(0x31d)][_0x5725d1(0x456)](),this[_0x5725d1(0x459)]&&this['_textBubble'][_0x5725d1(0x2a4)]());}[_0x2fc972(0x324)](){const _0x3283cd=_0x2fc972;for(const _0x3590e2 of this[_0x3283cd(0x236)])_0x3590e2[_0x3283cd(0x324)]();this[_0x3283cd(0x459)]&&this[_0x3283cd(0x459)][_0x3283cd(0x324)](),this[_0x3283cd(0x31d)]&&this[_0x3283cd(0x31d)]['dispose'](),this['_anchor']&&this[_0x3283cd(0x284)]['dispose'](),this['_eventUnsubscribe']&&this[_0x3283cd(0x20e)]();}[_0x2fc972(0x221)](){const _0x32489a=_0x2fc972;var _0x22a59b;const {_docSkeleton:_0x23fe82,_document:_0x536d60}=this,{color:_0x1c407a,name:_0x4f8e4f,ranges:_0x49aaf5}=this[_0x32489a(0x1b3)],_0xddccdf=_0x536d60[_0x32489a(0x4c4)](),{docsLeft:_0x2dfcf,docsTop:_0x546c63}=_0xddccdf,_0x45fa0b=new J[(_0x32489a(0x3f8))](_0xddccdf,_0x23fe82);for(const {startOffset:_0x23fa9e,endOffset:_0x3800cc,rangeType:_0x328212,segmentId:_0x1a403f,segmentPage:_0x3d4a48,collapsed:_0x4a257e,isActive:_0x4e54ff}of _0x49aaf5){const _0xd3c1ed=_0x23fe82[_0x32489a(0x3e8)](_0x23fa9e,!0x0,_0x1a403f,_0x3d4a48);let _0x107ef9=_0x23fe82[_0x32489a(0x3e8)](_0x3800cc,!0x0,_0x1a403f,_0x3d4a48);if(_0x107ef9==null&&(_0x107ef9=_0x23fe82[_0x32489a(0x3e8)](_0x3800cc-0x1,!0x1,_0x1a403f,_0x3d4a48)),_0x4e54ff){const {contentBoxPointGroup:_0x27b7e6}=_0x45fa0b[_0x32489a(0x1f9)](_0x107ef9,_0x107ef9);if(_0x27b7e6[_0x32489a(0x14d)]===0x0)continue;this[_0x32489a(0x3ba)](_0x1c407a,_0x27b7e6,_0x2dfcf,_0x546c63,_0x4f8e4f),this[_0x32489a(0x20e)]=this[_0x32489a(0x1d6)]();}if(_0xd3c1ed&&_0x107ef9){if(_0x328212===a[_0x32489a(0x35b)]['RECT']){const _0x330119=new J[(_0x32489a(0x4a5))](_0xddccdf,_0x23fe82),{pointGroup:_0x1cd97c}=(_0x22a59b=_0x330119[_0x32489a(0x1f9)](_0xd3c1ed,_0x107ef9))!=null?_0x22a59b:{};if(_0x1cd97c==null||_0x1cd97c[_0x32489a(0x14d)]===0x0)continue;this[_0x32489a(0x4b5)](_0x1c407a,_0x1cd97c,_0x2dfcf,_0x546c63);}else{if(!_0x4a257e){const {borderBoxPointGroup:_0x14a6d8}=_0x45fa0b[_0x32489a(0x1f9)](_0xd3c1ed,_0x107ef9);if(_0x14a6d8[_0x32489a(0x14d)]===0x0)continue;this[_0x32489a(0x52b)](_0x1c407a,_0x14a6d8,_0x2dfcf,_0x546c63);}}}}}[_0x2fc972(0x3ba)](_0x48f879,_0x496f96,_0x188cef,_0x2251bb,_0x366a27){const _0x4db3f5=_0x2fc972,_0x24557a=this[_0x4db3f5(0xdf)](_0x496f96),{left:_0x10a429,top:_0xec7fb9,height:_0x453db6}=_0x24557a,_0x45f9cf=this[_0x4db3f5(0x169)](),_0x4292c7=hs/_0x45f9cf,_0xf0439f=new K['Rect'](st+a[_0x4db3f5(0x3bd)][_0x4db3f5(0xf2)](Ue),{'left':_0x10a429+_0x188cef-_0x4292c7,'top':_0xec7fb9+_0x2251bb,'height':_0x453db6,'width':ls,'fill':_0x48f879||K[_0x4db3f5(0x504)](a[_0x4db3f5(0x188)][_0x4db3f5(0x24e)],0x0),'strokeWidth':_0x4292c7,'stroke':_s,'evented':!0x0});this['_anchor']=_0xf0439f,this[_0x4db3f5(0x15a)]['addObject'](_0xf0439f,J[_0x4db3f5(0x3e0)]);const _0x2b7b56=new K[(_0x4db3f5(0x2b9))](st+a[_0x4db3f5(0x3bd)][_0x4db3f5(0xf2)](Ue),{'left':_0x10a429+_0x188cef-_0x4292c7,'top':_0xec7fb9+_0x2251bb-rt/0x2,'height':rt,'width':rt,'fill':_0x48f879||K[_0x4db3f5(0x504)](a[_0x4db3f5(0x188)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x48f879||K[_0x4db3f5(0x504)](a[_0x4db3f5(0x188)][_0x4db3f5(0x24e)],0x0),'evented':!0x1});this[_0x4db3f5(0x31d)]=_0x2b7b56,this[_0x4db3f5(0x15a)][_0x4db3f5(0x1f2)](_0x2b7b56,J['TEXT_RANGE_LAYER_INDEX']);const _0x4c8ece=new ze(st+a['Tools'][_0x4db3f5(0xf2)](Ue),{'left':_0x10a429+_0x188cef-_0x4292c7,'top':_0xec7fb9+_0x2251bb-Le,'text':_0x366a27,'color':_0x48f879});this[_0x4db3f5(0x459)]=_0x4c8ece,this['_scene'][_0x4db3f5(0x1f2)](_0x4c8ece,J[_0x4db3f5(0x3e0)]),this['_hover']=!0x1;}[_0x2fc972(0x1d6)](){const _0x2ec24e=_0x2fc972,_0x4c2cfa=this[_0x2ec24e(0x284)][_0x2ec24e(0x3e6)][_0x2ec24e(0x41b)](()=>{const _0x528847=_0x2ec24e;this[_0x528847(0x1bc)]=!0x0;}),_0x56cc64=this[_0x2ec24e(0x284)][_0x2ec24e(0x110)]['subscribeEvent'](()=>{const _0x473e80=_0x2ec24e;this[_0x473e80(0x3f9)]&&clearTimeout(this[_0x473e80(0x3f9)]),this[_0x473e80(0x3f9)]=setTimeout(()=>{const _0xf30ac0=_0x473e80;this[_0xf30ac0(0x1bc)]=!0x1;},0x7d0);});return()=>{const _0x5bb37b=_0x2ec24e;_0x4c2cfa[_0x5bb37b(0x484)](),_0x56cc64[_0x5bb37b(0x484)]();};}[_0x2fc972(0x52b)](_0x3428ee,_0x3326a0,_0x935013,_0x20a315){const _0x4b724f=_0x2fc972,_0x510b1a=new a[(_0x4b724f(0xf0))](_0x3428ee)[_0x4b724f(0x220)](0.2)['toRgbString'](),_0x82a2d7=new K['RegularPolygon'](as+a[_0x4b724f(0x3bd)][_0x4b724f(0xf2)](Ue),{'pointsGroup':_0x3326a0,'fill':_0x510b1a||K[_0x4b724f(0x504)](a[_0x4b724f(0x188)][_0x4b724f(0x24e)],0.2),'left':_0x935013,'top':_0x20a315,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x4b724f(0x540)](_0x82a2d7),this[_0x4b724f(0x15a)][_0x4b724f(0x1f2)](_0x82a2d7,J[_0x4b724f(0x3e0)]);}[_0x2fc972(0x4b5)](_0x3a6f98,_0x54385e,_0x1703a9,_0x25bdc5){const _0x23f3f1=_0x2fc972,_0x31627b=new a[(_0x23f3f1(0xf0))](_0x3a6f98)[_0x23f3f1(0x220)](0.2)[_0x23f3f1(0x28c)](),_0x37ff3d=new K[(_0x23f3f1(0x43e))](cs+a['Tools'][_0x23f3f1(0xf2)](Ue),{'pointsGroup':_0x54385e,'fill':_0x31627b||K['getColor'](a[_0x23f3f1(0x188)][_0x23f3f1(0x24e)],0.2),'left':_0x1703a9,'top':_0x25bdc5,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x23f3f1(0x236)][_0x23f3f1(0x540)](_0x37ff3d),this[_0x23f3f1(0x15a)][_0x23f3f1(0x1f2)](_0x37ff3d,J[_0x23f3f1(0x3e0)]);}['_getAnchorBounding'](_0x132273){const _0x32eb8b=_0x132273[0x0],_0x4e6e28=_0x32eb8b[0x0],_0x2405ec=_0x32eb8b[0x2],{x:_0x376d24,y:_0x1c43ba}=_0x4e6e28,{x:_0x116687,y:_0x25ee4c}=_0x2405ec;return{'left':_0x376d24,'top':_0x1c43ba,'width':_0x116687-_0x376d24,'height':_0x25ee4c-_0x1c43ba};}[_0x2fc972(0x169)](){const _0x1cb61e=_0x2fc972,{scaleX:_0x51f5e0,scaleY:_0x440c87}=this[_0x1cb61e(0x15a)][_0x1cb61e(0x1b6)]();return Math[_0x1cb61e(0x476)](_0x51f5e0,_0x440c87);}}var us=Object['defineProperty'],ds=Object[_0x2fc972(0x423)],fs=(_0xa0c80d,_0x5a3c38,_0x21123d,_0x53cbc9)=>{const _0x4ffc47=_0x2fc972;for(var _0x28354a=_0x53cbc9>0x1?void 0x0:_0x53cbc9?ds(_0x5a3c38,_0x21123d):_0x5a3c38,_0x1218c5=_0xa0c80d[_0x4ffc47(0x14d)]-0x1,_0x43ab50;_0x1218c5>=0x0;_0x1218c5--)(_0x43ab50=_0xa0c80d[_0x1218c5])&&(_0x28354a=(_0x53cbc9?_0x43ab50(_0x5a3c38,_0x21123d,_0x28354a):_0x43ab50(_0x28354a))||_0x28354a);return _0x53cbc9&&_0x28354a&&us(_0x5a3c38,_0x21123d,_0x28354a),_0x28354a;},je=(_0x39ef88,_0xc9e4bd)=>(_0x279d7d,_0xc95482)=>_0xc9e4bd(_0x279d7d,_0xc95482,_0x39ef88);let pt=class extends a[_0x2fc972(0x222)]{constructor(_0x280875,_0x5e8a81,_0x4f6f19,_0xb451ce,_0x198fe0){const _0x2a81eb=_0x2fc972;super(),I(this,_0x2a81eb(0x47a),[]),I(this,_0x2a81eb(0x22c),[]),(this[_0x2a81eb(0x2c6)]=_0x280875,this[_0x2a81eb(0xb0)]=_0x5e8a81,this[_0x2a81eb(0x4f8)]=_0x4f6f19,this[_0x2a81eb(0x3be)]=_0xb451ce,this['_themeService']=_0x198fe0,this['_init']());}[_0x2fc972(0x192)](){const _0x2ce324=_0x2fc972,_0x2257fc=this['_context'][_0x2ce324(0xb5)],_0x346844=this['_docSkeletonManagerService'];this['disposeWithMe'](A['combineLatest']([this[_0x2ce324(0x4f8)][_0x2ce324(0x3ec)](_0x2257fc),this[_0x2ce324(0x266)][_0x2ce324(0x275)]])[_0x2ce324(0x54d)](V[_0x2ce324(0x2dc)](([_0x4353d0,_0xb7c576])=>({'skeleton':_0x346844['getSkeleton'](),'cursors':[..._0x4353d0[_0x2ce324(0x510)]()][_0x2ce324(0x142)](_0x195c66=>({..._0x195c66,'color':_0xb7c576[_0x195c66[_0x2ce324(0x406)]]}))})))[_0x2ce324(0x243)](_0x23af69=>{const _0x2480a9=_0x2ce324;if(this['_removeCollabCursors'](),_0x23af69){const {skeleton:_0x31c64a,cursors:_0x575adf}=_0x23af69;this[_0x2480a9(0xba)](_0x31c64a,_0x575adf);}})),this[_0x2ce324(0x3fe)](),this[_0x2ce324(0x30b)]();}['_updateCollabCursors'](_0x372e88,_0x4ed4ec){const _0x38e6b1=_0x2fc972,{scene:_0x3eb1a7,mainComponent:_0x20e340}=this['_context'],_0x6c7832=_0x4ed4ec[_0x38e6b1(0x2dc)](_0x5d012e=>new Bt(_0x5d012e,_0x3eb1a7,_0x372e88,_0x20e340));this[_0x38e6b1(0x47a)]=_0x6c7832,this[_0x38e6b1(0x22c)]=_0x4ed4ec;}['_refreshCollabCursors'](){const _0xa9a2ae=_0x2fc972;this[_0xa9a2ae(0x389)]();const {scene:_0x1d1f32,mainComponent:_0x24ca52}=this[_0xa9a2ae(0x2c6)],_0x1b7a92=this[_0xa9a2ae(0xb0)][_0xa9a2ae(0x441)](),_0x245e30=this['_cursors'][_0xa9a2ae(0x2dc)](_0x129158=>new Bt(_0x129158,_0x1d1f32,_0x1b7a92,_0x24ca52));this[_0xa9a2ae(0x47a)]=_0x245e30;}[_0x2fc972(0x389)](){const _0xfa00b9=_0x2fc972;this[_0xfa00b9(0x47a)][_0xfa00b9(0x422)](_0x1aa501=>_0x1aa501['dispose']()),this[_0xfa00b9(0x47a)]=[];}['_initCommandExecutedListener'](){const _0x5848ff=_0x2fc972,_0x364fe0=[J[_0x5848ff(0x254)]['id']];this[_0x5848ff(0x1a7)](this[_0x5848ff(0x3be)][_0x5848ff(0x2d6)](_0xacd3c4=>{const _0x44108c=_0x5848ff;_0x364fe0[_0x44108c(0x4d6)](_0xacd3c4['id'])&&_0xacd3c4[_0x44108c(0x2ad)][_0x44108c(0xb5)]===this['_context']['unitId']&&this[_0x44108c(0x1de)]();}));}['_initResize'](){const _0x4d5a25=_0x2fc972;this['disposeWithMe'](a[_0x4d5a25(0x340)](this[_0x4d5a25(0x2c6)][_0x4d5a25(0x54a)][_0x4d5a25(0x1ed)])['pipe'](V['filter'](_0x5662bc=>_0x5662bc[_0x4d5a25(0xc1)]===K[_0x4d5a25(0x145)][_0x4d5a25(0xcd)]),V[_0x4d5a25(0x507)](0x10))[_0x4d5a25(0x243)](()=>{const _0x3c0fcf=_0x4d5a25;this[_0x3c0fcf(0x1de)]();}));}};pt=fs([je(0x1,a['Inject'](ye[_0x2fc972(0x533)])),je(0x2,a[_0x2fc972(0xde)](De)),je(0x3,a[_0x2fc972(0x451)]),je(0x4,a[_0x2fc972(0xde)](a[_0x2fc972(0x1cc)]))],pt);const vs=0x1,ms=1.5;class Sn extends K[_0x2fc972(0x362)]{constructor(_0x42ff3d,_0x21f8ff){const _0x2ad050=_0x2fc972;super(_0x42ff3d,_0x21f8ff),I(this,'_color'),I(this,_0x2ad050(0x209),!0x1),I(this,_0x2ad050(0x481)),I(this,_0x2ad050(0x525),''),I(this,'_labelPosition','top'),I(this,'_backgroundColor'),(_0x21f8ff&&this[_0x2ad050(0x369)](_0x21f8ff),this[_0x2ad050(0x3e6)]['subscribeEvent'](()=>this[_0x2ad050(0x369)]({'hovered':!0x0})),this[_0x2ad050(0x110)][_0x2ad050(0x41b)](()=>this[_0x2ad050(0x369)]({'hovered':!0x1})));}[_0x2fc972(0x369)](_0x5e47a7){const _0x31e685=_0x2fc972;var _0x189da0,_0x2df719,_0x12fefc,_0x2acbc5,_0xe0e094,_0x367455;this['_color']=(_0x189da0=_0x5e47a7[_0x31e685(0x406)])!=null?_0x189da0:this['_color'],this[_0x31e685(0x209)]=(_0x2df719=_0x5e47a7[_0x31e685(0x217)])!=null?_0x2df719:this[_0x31e685(0x209)],this[_0x31e685(0x481)]=(_0x12fefc=_0x5e47a7[_0x31e685(0xbd)])!=null?_0x12fefc:this[_0x31e685(0x481)],this['_name']=(_0x2acbc5=_0x5e47a7['name'])!=null?_0x2acbc5:this[_0x31e685(0x525)],this['_labelPosition']=(_0xe0e094=_0x5e47a7[_0x31e685(0x495)])!=null?_0xe0e094:this['_labelPosition'],this[_0x31e685(0x320)]=(_0x367455=_0x5e47a7[_0x31e685(0x1df)])!=null?_0x367455:this[_0x31e685(0x320)],this['transformByState']({'width':_0x5e47a7[_0x31e685(0x1cf)],'height':_0x5e47a7[_0x31e685(0x25f)]});}[_0x2fc972(0x39a)](_0x27664d){const _0x5cd0c3=_0x2fc972,{row:_0x35fc18,column:_0x431322}=_0x27664d;if(_0x35fc18>=this[_0x5cd0c3(0x481)][_0x5cd0c3(0x38b)]&&_0x35fc18<=this[_0x5cd0c3(0x481)][_0x5cd0c3(0xd3)]&&_0x431322>=this[_0x5cd0c3(0x481)]['startColumn']&&_0x431322<=this[_0x5cd0c3(0x481)][_0x5cd0c3(0x47d)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x5cd0c3(0x369)]({'hovered':!0x1});}[_0x2fc972(0x1d9)](_0x56fc31){return!0x1;}[_0x2fc972(0x485)](_0x245d7f){const _0x11c7d1=_0x2fc972;K[_0x11c7d1(0x2b9)][_0x11c7d1(0x3c3)](_0x245d7f,{'width':this[_0x11c7d1(0x1cf)],'height':this[_0x11c7d1(0x25f)],'strokeWidth':ms,'stroke':this[_0x11c7d1(0x27a)],'evented':!0x1,'fill':this['_backgroundColor']}),this['_hovered']&&(_0x245d7f['save'](),_0x245d7f[_0x11c7d1(0x248)](0x1,0x0,0x0,0x1,this[_0x11c7d1(0x1cf)],this[_0x11c7d1(0x357)]===_0x11c7d1(0x1f5)?0x0:-Le),ze[_0x11c7d1(0x3c3)](_0x245d7f,{'text':this[_0x11c7d1(0x525)],'color':this['_color']}),_0x245d7f[_0x11c7d1(0x339)]());}}var Ss=Object[_0x2fc972(0x356)],ps=Object['getOwnPropertyDescriptor'],gs=(_0x141353,_0x1c9d3c,_0x2153cb,_0x345e2d)=>{const _0x231351=_0x2fc972;for(var _0x40d6ef=_0x345e2d>0x1?void 0x0:_0x345e2d?ps(_0x1c9d3c,_0x2153cb):_0x1c9d3c,_0x447ccb=_0x141353[_0x231351(0x14d)]-0x1,_0x5cc0c0;_0x447ccb>=0x0;_0x447ccb--)(_0x5cc0c0=_0x141353[_0x447ccb])&&(_0x40d6ef=(_0x345e2d?_0x5cc0c0(_0x1c9d3c,_0x2153cb,_0x40d6ef):_0x5cc0c0(_0x40d6ef))||_0x40d6ef);return _0x345e2d&&_0x40d6ef&&Ss(_0x1c9d3c,_0x2153cb,_0x40d6ef),_0x40d6ef;},ot=(_0x1d0a4a,_0x30317f)=>(_0x3bc30d,_0x39ea38)=>_0x30317f(_0x3bc30d,_0x39ea38,_0x1d0a4a);const Is=0x1389;let gt=class extends a['RxDisposable']{constructor(_0x339f27,_0x483d41,_0x13a129,_0x39c87c){const _0x274828=_0x2fc972;super(),I(this,'_cursors',new Set()),I(this,'_lastPointer',null),(this[_0x274828(0x2c6)]=_0x339f27,this[_0x274828(0x131)]=_0x483d41,this[_0x274828(0x4f8)]=_0x13a129,this[_0x274828(0x266)]=_0x39c87c,this['_init']());}['_init'](){const _0x3bcf5d=_0x2fc972;this[_0x3bcf5d(0x131)]['currentSkeleton$']['pipe'](V[_0x3bcf5d(0x26d)](this[_0x3bcf5d(0x391)]),V[_0x3bcf5d(0x337)](_0x466715=>{const _0x4ee1ca=_0x3bcf5d;if(_0x466715){const _0x527948=_0x466715[_0x4ee1ca(0x3ae)];return A[_0x4ee1ca(0x3af)](this[_0x4ee1ca(0x4f8)]['getCollabCursors$'](this['_context'][_0x4ee1ca(0xb5)]),this[_0x4ee1ca(0x266)][_0x4ee1ca(0x275)])[_0x4ee1ca(0x54d)](V['map'](([_0x59bfd9,_0x554095])=>{const _0x553089=_0x4ee1ca,_0x53ce9b=new Map();return _0x59bfd9[_0x553089(0x422)]((_0xa0e1ea,_0x16a9b8)=>{const _0x308a5e=_0x553089;if(_0xa0e1ea['sheetID']===_0x527948){const _0x595c45={..._0xa0e1ea};_0x595c45[_0x308a5e(0x406)]=_0x554095[_0xa0e1ea[_0x308a5e(0x406)]],_0x53ce9b[_0x308a5e(0x3ef)](_0x16a9b8,_0x595c45);}}),{'skeleton':_0x466715,'cursors':_0x53ce9b};}));}return A['of']({'skeleton':null,'cursors':new Map()});}))[_0x3bcf5d(0x243)](({skeleton:_0x4a3c90,cursors:_0x3ff767})=>{const _0x28615e=_0x3bcf5d;this[_0x28615e(0x389)](),_0x4a3c90&&this[_0x28615e(0xba)](_0x4a3c90,_0x3ff767);}),this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x3bcf5d(0x243)](_0x2cf551=>{const _0x90f69b=_0x3bcf5d;if(_0x2cf551==null)return;const {skeleton:_0x5d83d7}=_0x2cf551,{scene:_0x43f023}=this['_context'];_0x43f023[_0x90f69b(0x327)]['subscribeEvent'](a['debounce'](_0x3dc5db=>{const _0x4c65fb=_0x90f69b;var _0x4fdf77,_0x210ed1;const {offsetX:_0x277e3f,offsetY:_0x25dca7}=_0x3dc5db,{x:_0x3ec5d5,y:_0x1a38a4}=_0x43f023[_0x4c65fb(0x349)](K['Vector2'][_0x4c65fb(0x218)]([_0x277e3f,_0x25dca7])),{scaleX:_0x32934e,scaleY:_0x3a4d5b}=_0x43f023[_0x4c65fb(0x1b6)](),_0x5a6694=_0x43f023[_0x4c65fb(0xdc)](Re[_0x4c65fb(0x541)][_0x4c65fb(0x2d8)]),_0x56b91f=_0x43f023[_0x4c65fb(0x2a0)](K[_0x4c65fb(0x258)][_0x4c65fb(0x218)]([_0x3ec5d5,_0x1a38a4]),_0x5a6694),_0x506d80=_0x5d83d7[_0x4c65fb(0x417)](_0x277e3f,_0x25dca7,_0x32934e,_0x3a4d5b,_0x56b91f);((_0x4fdf77=this['_lastPointer'])==null?void 0x0:_0x4fdf77[_0x4c65fb(0x292)])===_0x506d80[_0x4c65fb(0x292)]&&((_0x210ed1=this[_0x4c65fb(0x205)])==null?void 0x0:_0x210ed1['row'])===_0x506d80[_0x4c65fb(0x32a)]||this[_0x4c65fb(0x22c)][_0x4c65fb(0x422)](_0x10a92c=>{const _0x3191da=_0x4c65fb;_0x10a92c[_0x3191da(0x39a)](_0x506d80);});},0x64));});}[_0x2fc972(0xba)](_0x3d188c,_0x2b92fd){const _0x2aa5f8=_0x2fc972;var _0xbc8edd;const _0xcd4b52=(_0xbc8edd=this['_sheetSkeletonManagerService'][_0x2aa5f8(0x4ed)]())==null?void 0x0:_0xbc8edd[_0x2aa5f8(0x542)];if(!_0xcd4b52)return;const _0x226ed9=this['_getSheetObject']();if(!_0x226ed9)return;this['_cursors']['forEach'](_0xee51e2=>{const _0x447362=_0x2aa5f8;_0xee51e2[_0x447362(0x46d)]();});const {scene:_0x7aa126}=_0x226ed9,_0x1cf51e=Cs(Array[_0x2aa5f8(0x4fe)](_0x2b92fd['values']()))[_0x2aa5f8(0x2dc)](_0x4d2174=>{const _0x1d95fc=_0x2aa5f8,{color:_0x1d2b81,range:_0x238fe7,name:_0x4d99be,selection:_0x21f1de,sheetID:_0x4bb891}=_0x4d2174,{startColumn:_0x99fab0,startRow:_0x566b88,endColumn:_0x256413,endRow:_0x13b586}=_0x238fe7,_0x2d42d2=Re[_0x1d95fc(0x45b)](_0x566b88,_0x99fab0,_0x7aa126,_0xcd4b52),_0x25a0d9=Re[_0x1d95fc(0x45b)](_0x13b586,_0x256413,_0x7aa126,_0xcd4b52),{columnHeaderHeightAndMarginTop:_0x373b21}=_0xcd4b52,{startX:_0x38235c,startY:_0x5a7261}=_0x2d42d2,{endX:_0x44f34d,endY:_0x5d166a}=_0x25a0d9,_0x2454ce=_0x44f34d-_0x38235c,_0x4c317c=_0x5d166a-_0x5a7261,_0x3b86c5={'labelPosition':_0x5a7261-_0x373b21>=Le?_0x1d95fc(0x15e):'bottom','sheetID':_0x4bb891,'range':_0x238fe7,'color':_0x1d2b81,'name':_0x4d99be,'selection':_0x21f1de,'left':_0x38235c,'top':_0x5a7261,'width':_0x2454ce,'height':_0x4c317c,'evented':!0x1,'zIndex':Is};return new Sn(_0x4d99be,_0x3b86c5);});_0x7aa126[_0x2aa5f8(0xb4)](_0x1cf51e,vs),this['_cursors']=new Set(_0x1cf51e);}[_0x2fc972(0x389)](){const _0xb8e1ae=_0x2fc972;var _0x24822c;(_0x24822c=this[_0xb8e1ae(0x22c)])==null||_0x24822c[_0xb8e1ae(0x422)](_0x383f94=>_0x383f94[_0xb8e1ae(0x324)]());}['_getSheetObject'](){const _0x51daf5=_0x2fc972;return Re['getSheetObject'](this[_0x51daf5(0x2c6)][_0x51daf5(0x364)],this[_0x51daf5(0x2c6)]);}};gt=gs([ot(0x1,a['Inject'](Re[_0x2fc972(0xe8)])),ot(0x2,a[_0x2fc972(0xde)](De)),ot(0x3,a[_0x2fc972(0xde)](a['ThemeService']))],gt);function Cs(_0x330b54){const _0x41d452=_0x2fc972,_0x5164f1=new Map();return _0x330b54[_0x41d452(0x422)](_0x3f7572=>{const _0x249a66=_0x41d452;if(_0x5164f1[_0x249a66(0x33e)](_0x3f7572[_0x249a66(0x426)])){const _0x38fd5c=_0x5164f1['get'](_0x3f7572[_0x249a66(0x426)]);_0x38fd5c[_0x249a66(0xab)]+=',\x20'+_0x3f7572[_0x249a66(0xab)];}else _0x5164f1[_0x249a66(0x3ef)](_0x3f7572[_0x249a66(0x426)],_0x3f7572);}),Array[_0x41d452(0x4fe)](_0x5164f1[_0x41d452(0x510)]());}var X=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function xe(_0x5146ab){const _0xb7bb34=_0x2fc972;return _0x5146ab&&_0x5146ab['__esModule']&&Object['prototype'][_0xb7bb34(0x3d7)][_0xb7bb34(0x16c)](_0x5146ab,'default')?_0x5146ab['default']:_0x5146ab;}var pn={'exports':{}},Xe={},Es=ae,bs=Symbol['for'](_0x2fc972(0x230)),Ts=Symbol[_0x2fc972(0x2fb)](_0x2fc972(0x274)),Rs=Object['prototype'][_0x2fc972(0x3d7)],ys=Es[_0x2fc972(0x178)][_0x2fc972(0x489)],Os={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function gn(_0x3615ee,_0x2058cd,_0x421c83){const _0x3d8eec=_0x2fc972;var _0x638d8e,_0x3c786b={},_0x5c5f05=null,_0x332c3c=null;_0x421c83!==void 0x0&&(_0x5c5f05=''+_0x421c83),_0x2058cd[_0x3d8eec(0x4d0)]!==void 0x0&&(_0x5c5f05=''+_0x2058cd[_0x3d8eec(0x4d0)]),_0x2058cd[_0x3d8eec(0x14a)]!==void 0x0&&(_0x332c3c=_0x2058cd[_0x3d8eec(0x14a)]);for(_0x638d8e in _0x2058cd)Rs['call'](_0x2058cd,_0x638d8e)&&!Os[_0x3d8eec(0x3d7)](_0x638d8e)&&(_0x3c786b[_0x638d8e]=_0x2058cd[_0x638d8e]);if(_0x3615ee&&_0x3615ee['defaultProps']){for(_0x638d8e in(_0x2058cd=_0x3615ee['defaultProps'],_0x2058cd))_0x3c786b[_0x638d8e]===void 0x0&&(_0x3c786b[_0x638d8e]=_0x2058cd[_0x638d8e]);}return{'$$typeof':bs,'type':_0x3615ee,'key':_0x5c5f05,'ref':_0x332c3c,'props':_0x3c786b,'_owner':ys[_0x3d8eec(0x12c)]};}Xe[_0x2fc972(0x29f)]=Ts,Xe[_0x2fc972(0x42e)]=gn,Xe[_0x2fc972(0x277)]=gn,pn[_0x2fc972(0x40d)]=Xe;var pe=pn[_0x2fc972(0x40d)],Q=function(){const _0x36678f=_0x2fc972;return Q=Object[_0x36678f(0xdd)]||function(_0x39f92e){const _0x499d7a=_0x36678f;for(var _0x1dd16a,_0x120b06=0x1,_0x1fa2f5=arguments[_0x499d7a(0x14d)];_0x120b06<_0x1fa2f5;_0x120b06++){_0x1dd16a=arguments[_0x120b06];for(var _0x491221 in _0x1dd16a)Object[_0x499d7a(0x11f)]['hasOwnProperty'][_0x499d7a(0x16c)](_0x1dd16a,_0x491221)&&(_0x39f92e[_0x491221]=_0x1dd16a[_0x491221]);}return _0x39f92e;},Q['apply'](this,arguments);},Ds=function(_0x41328d,_0x4ea71b){const _0x105f1d=_0x2fc972;var _0x37e068={};for(var _0x1262b0 in _0x41328d)Object[_0x105f1d(0x11f)][_0x105f1d(0x3d7)][_0x105f1d(0x16c)](_0x41328d,_0x1262b0)&&_0x4ea71b[_0x105f1d(0x4e9)](_0x1262b0)<0x0&&(_0x37e068[_0x1262b0]=_0x41328d[_0x1262b0]);if(_0x41328d!=null&&typeof Object[_0x105f1d(0x4c7)]==_0x105f1d(0x4fc)){for(var _0x53a71f=0x0,_0x1262b0=Object[_0x105f1d(0x4c7)](_0x41328d);_0x53a71f<_0x1262b0['length'];_0x53a71f++)_0x4ea71b['indexOf'](_0x1262b0[_0x53a71f])<0x0&&Object['prototype'][_0x105f1d(0x3f4)][_0x105f1d(0x16c)](_0x41328d,_0x1262b0[_0x53a71f])&&(_0x37e068[_0x1262b0[_0x53a71f]]=_0x41328d[_0x1262b0[_0x53a71f]]);}return _0x37e068;},Dt=ae[_0x2fc972(0x2c7)](function(_0x1cf5a4,_0x1d4b04){const _0x6b768a=_0x2fc972;var _0x764f39=_0x1cf5a4['icon'],_0x272215=_0x1cf5a4['id'],_0x2476e8=_0x1cf5a4[_0x6b768a(0x2c9)],_0x171255=_0x1cf5a4[_0x6b768a(0x316)],_0x57bc99=Ds(_0x1cf5a4,['icon','id','className','extend']),_0x28c197=_0x6b768a(0x539)[_0x6b768a(0x204)](_0x272215,'\x20')[_0x6b768a(0x204)](_0x2476e8||'')[_0x6b768a(0x2ef)](),_0x2c0d75=ae[_0x6b768a(0x41e)]('_'[_0x6b768a(0x204)](Us()));return In(_0x764f39,''[_0x6b768a(0x204)](_0x272215),{'defIds':_0x764f39[_0x6b768a(0x478)],'idSuffix':_0x2c0d75[_0x6b768a(0x12c)]},Q({'ref':_0x1d4b04,'className':_0x28c197},_0x57bc99),_0x171255);});function In(_0x37c831,_0x16cfbb,_0x20ce27,_0x347f0e,_0x1f5fdd){const _0x14bebb=_0x2fc972;return ae[_0x14bebb(0x289)](_0x37c831[_0x14bebb(0x511)],Q(Q({'key':_0x16cfbb},ws(_0x37c831,_0x20ce27,_0x1f5fdd)),_0x347f0e),(Ps(_0x37c831,_0x20ce27)[_0x14bebb(0x384)]||[])[_0x14bebb(0x2dc)](function(_0x1ef07b,_0x2bb713){const _0x1e6a46=_0x14bebb;return In(_0x1ef07b,''[_0x1e6a46(0x204)](_0x16cfbb,'-')[_0x1e6a46(0x204)](_0x37c831[_0x1e6a46(0x511)],'-')[_0x1e6a46(0x204)](_0x2bb713),_0x20ce27,void 0x0,_0x1f5fdd);}));}function ws(_0x269edf,_0x5813c3,_0xda9bac){const _0x3a86b1=_0x2fc972;var _0x16fa92=Q({},_0x269edf[_0x3a86b1(0x1db)]);_0xda9bac!=null&&_0xda9bac['colorChannel1']&&_0x16fa92['fill']===_0x3a86b1(0x3e9)&&(_0x16fa92[_0x3a86b1(0x49a)]=_0xda9bac[_0x3a86b1(0x3e9)]);var _0x5ae3c1=_0x5813c3[_0x3a86b1(0x478)];return!_0x5ae3c1||_0x5ae3c1['length']===0x0||(_0x269edf[_0x3a86b1(0x511)]===_0x3a86b1(0x158)&&_0x16fa92[_0x3a86b1(0x434)]&&(_0x16fa92[_0x3a86b1(0x434)]=_0x16fa92[_0x3a86b1(0x434)]+_0x5813c3['idSuffix']),Object[_0x3a86b1(0x4f6)](_0x16fa92)['forEach'](function(_0x593a3e){const _0x4e56ef=_0x3a86b1;var _0x5a19bd=_0x593a3e[0x0],_0x3f6915=_0x593a3e[0x1];typeof _0x3f6915==_0x4e56ef(0x12e)&&(_0x16fa92[_0x5a19bd]=_0x3f6915[_0x4e56ef(0x431)](/url\(#(.*)\)/,'url(#$1'[_0x4e56ef(0x204)](_0x5813c3[_0x4e56ef(0x253)],')')));})),_0x16fa92;}function Ps(_0x56def8,_0x720c4b){const _0x98bc40=_0x2fc972;var _0x2df314,_0x3f1b8e=_0x720c4b[_0x98bc40(0x478)];return!_0x3f1b8e||_0x3f1b8e[_0x98bc40(0x14d)]===0x0?_0x56def8:_0x56def8[_0x98bc40(0x511)]===_0x98bc40(0x2cb)&&(!((_0x2df314=_0x56def8[_0x98bc40(0x384)])===null||_0x2df314===void 0x0)&&_0x2df314[_0x98bc40(0x14d)])?Q(Q({},_0x56def8),{'children':_0x56def8[_0x98bc40(0x384)]['map'](function(_0x162058){const _0x518e4a=_0x98bc40;return typeof _0x162058[_0x518e4a(0x1db)]['id']==_0x518e4a(0x12e)&&_0x3f1b8e&&_0x3f1b8e[_0x518e4a(0x4e9)](_0x162058[_0x518e4a(0x1db)]['id'])>-0x1?Q(Q({},_0x162058),{'attrs':Q(Q({},_0x162058[_0x518e4a(0x1db)]),{'id':_0x162058['attrs']['id']+_0x720c4b[_0x518e4a(0x253)]})}):_0x162058;})}):_0x56def8;}function Us(){const _0x388e79=_0x2fc972;return Math[_0x388e79(0x151)]()[_0x388e79(0x443)](0x24)[_0x388e79(0x10a)](0x2,0x8);}Dt['displayName']=_0x2fc972(0x14f);var Ms={'tag':_0x2fc972(0x49c),'attrs':{'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x2fc972(0x208),'height':_0x2fc972(0x208)},'children':[{'tag':'g','attrs':{'clipPath':_0x2fc972(0x330)},'children':[{'tag':_0x2fc972(0x241),'attrs':{'stroke':_0x2fc972(0x38f),'d':_0x2fc972(0x387),'strokeLinecap':'round','strokeLinejoin':_0x2fc972(0x1c6),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x2fc972(0x36a)},'children':[{'tag':'path','attrs':{'fill':_0x2fc972(0x11b),'d':_0x2fc972(0x160)}}]}]}],'defIds':[_0x2fc972(0x36a)]},Cn=ae['forwardRef'](function(_0x51df97,_0x158c9e){const _0x5d0daf=_0x2fc972;return ae[_0x5d0daf(0x289)](Dt,Object[_0x5d0daf(0xdd)]({},_0x51df97,{'id':_0x5d0daf(0x48b),'ref':_0x158c9e,'icon':Ms}));});Cn[_0x2fc972(0x536)]=_0x2fc972(0x3a7);var As={'tag':_0x2fc972(0x49c),'attrs':{'fill':'none','viewBox':_0x2fc972(0x207),'width':_0x2fc972(0x208),'height':_0x2fc972(0x208)},'children':[{'tag':'g','attrs':{'clipPath':_0x2fc972(0x244)},'children':[{'tag':_0x2fc972(0x241),'attrs':{'stroke':_0x2fc972(0x38f),'d':_0x2fc972(0x40b),'strokeLinecap':_0x2fc972(0x1c6),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x2fc972(0x2cb),'attrs':{},'children':[{'tag':_0x2fc972(0xf3),'attrs':{'id':_0x2fc972(0x532)},'children':[{'tag':_0x2fc972(0x241),'attrs':{'fill':_0x2fc972(0x11b),'d':'M0\x200H16V16H0z','transform':_0x2fc972(0x3a2)}}]}]}],'defIds':[_0x2fc972(0x532)]},En=ae[_0x2fc972(0x2c7)](function(_0x421b7e,_0x3212bc){const _0x22a2ea=_0x2fc972;return ae[_0x22a2ea(0x289)](Dt,Object[_0x22a2ea(0xdd)]({},_0x421b7e,{'id':_0x22a2ea(0x47b),'ref':_0x3212bc,'icon':As}));});En[_0x2fc972(0x536)]=_0x2fc972(0x453);function bn(_0x233a2a){const _0x4f8674=_0x2fc972;var _0x2406ea,_0x49cd02,_0x345794='';if(typeof _0x233a2a==_0x4f8674(0x12e)||typeof _0x233a2a==_0x4f8674(0x23f))_0x345794+=_0x233a2a;else{if(typeof _0x233a2a==_0x4f8674(0x3a9)){if(Array['isArray'](_0x233a2a)){var _0x5b44c0=_0x233a2a['length'];for(_0x2406ea=0x0;_0x2406ea<_0x5b44c0;_0x2406ea++)_0x233a2a[_0x2406ea]&&(_0x49cd02=bn(_0x233a2a[_0x2406ea]))&&(_0x345794&&(_0x345794+='\x20'),_0x345794+=_0x49cd02);}else{for(_0x49cd02 in _0x233a2a)_0x233a2a[_0x49cd02]&&(_0x345794&&(_0x345794+='\x20'),_0x345794+=_0x49cd02);}}}return _0x345794;}function Ns(){for(var _0xf8e2de,_0x1028bc,_0x2c53e0=0x0,_0x59c9f6='',_0x3d153e=arguments['length'];_0x2c53e0<_0x3d153e;_0x2c53e0++)(_0xf8e2de=arguments[_0x2c53e0])&&(_0x1028bc=bn(_0xf8e2de))&&(_0x59c9f6&&(_0x59c9f6+='\x20'),_0x59c9f6+=_0x1028bc);return _0x59c9f6;}const Ls='univer-online-status-icon',xs='univer-online-status-title',js=_0x2fc972(0x359),$s=_0x2fc972(0x213),Hs=_0x2fc972(0x494),Me={'onlineStatusIcon':Ls,'onlineStatusTitle':xs,'onlineStatus':js,'online':$s,'offline':Hs};function Bs(_0x60c0e3){const _0x214ce4=_0x2fc972;switch(_0x60c0e3){case q[_0x214ce4(0x455)]:return'collabStatus.offline';case q[_0x214ce4(0x54c)]:return'collabStatus.conflict';case q['FETCH_MISS']:return _0x214ce4(0x103);case q[_0x214ce4(0x2e7)]:return _0x214ce4(0x42d);case q[_0x214ce4(0x24d)]:case q['AWAITING_WITH_PENDING']:return _0x214ce4(0x392);case q[_0x214ce4(0x4d4)]:case q[_0x214ce4(0x309)]:return _0x214ce4(0x4c2);}}function Tn(_0x1e62d0){const _0x445650=_0x2fc972,{status$:_0x2d90b2}=_0x1e62d0,_0xe01005=ee[_0x445650(0x3d9)](_0x2d90b2,q[_0x445650(0x2e7)]),_0x57d68e=a[_0x445650(0x3e1)](a[_0x445650(0x2cf)]),_0x292d3b=a[_0x445650(0x3e1)](exports[_0x445650(0x45d)]),_0x4acc26=_0xe01005!==q[_0x445650(0x455)],_0x4f39b8=_0x57d68e['t'](Bs(_0xe01005)),_0x4c11d1=Ns(Me[_0x445650(0x46a)],{[Me[_0x445650(0x3f7)]]:_0x4acc26,[Me['offline']]:!_0x4acc26}),_0x2f0c78=_0x4acc26?pe[_0x445650(0x42e)](En,{}):pe[_0x445650(0x42e)](Cn,{}),_0x4283c8=ae[_0x445650(0x452)](()=>{const _0x57fb5b=_0x445650;_0x4acc26||_0x292d3b[_0x57fb5b(0x1f8)]();},[_0x4acc26,_0x292d3b]);function _0x30e2b1(){const _0x16f405=_0x445650;return pe[_0x16f405(0x277)](_0x16f405(0x1c8),{'className':_0x4c11d1,'onClick':_0x4283c8,'children':[pe[_0x16f405(0x42e)](_0x16f405(0x1c8),{'className':Me[_0x16f405(0x496)],'children':_0x2f0c78}),pe[_0x16f405(0x42e)](_0x16f405(0x1c8),{'className':Me['onlineStatusTitle'],'children':_0x4f39b8})]});}return _0x4acc26?_0x30e2b1():pe[_0x445650(0x42e)](ge[_0x445650(0x189)],{'title':_0x57d68e['t'](_0x445650(0x13b)),'children':_0x30e2b1()});}var ks=Object[_0x2fc972(0x356)],Ws=Object[_0x2fc972(0x423)],Fs=(_0x554db3,_0x53c179,_0x2882e9,_0x143da1)=>{const _0x16222e=_0x2fc972;for(var _0x274666=_0x143da1>0x1?void 0x0:_0x143da1?Ws(_0x53c179,_0x2882e9):_0x53c179,_0x2514f7=_0x554db3[_0x16222e(0x14d)]-0x1,_0x41e5a1;_0x2514f7>=0x0;_0x2514f7--)(_0x41e5a1=_0x554db3[_0x2514f7])&&(_0x274666=(_0x143da1?_0x41e5a1(_0x53c179,_0x2882e9,_0x274666):_0x41e5a1(_0x274666))||_0x274666);return _0x143da1&&_0x274666&&ks(_0x53c179,_0x2882e9,_0x274666),_0x274666;},$e=(_0x32ae48,_0x387065)=>(_0xf34319,_0x4c1ec3)=>_0x387065(_0xf34319,_0x4c1ec3,_0x32ae48);exports[_0x2fc972(0x34e)]=class extends a['Disposable']{constructor(_0x484ffb,_0x33523e,_0x5e53bc,_0x1fa6cd){const _0x83ed4=_0x2fc972;super(),I(this,_0x83ed4(0x367),new A[(_0x83ed4(0x130))](q[_0x83ed4(0x2e7)])),(this['_univerInstanceService']=_0x484ffb,this['_uiPartsService']=_0x33523e,this['_injector']=_0x5e53bc,this[_0x83ed4(0x3c2)]=_0x1fa6cd,this['_initStatusComponent'](),this[_0x83ed4(0x487)]());}[_0x2fc972(0x487)](){const _0x45e200=_0x2fc972;this[_0x45e200(0x1a7)](this['_univerInstanceService']['focused$'][_0x45e200(0x54d)](A[_0x45e200(0x337)](()=>{const _0x2c4b75=_0x45e200,_0x5e81c4=this[_0x2c4b75(0x4d3)][_0x2c4b75(0x2df)]();return _0x5e81c4?this[_0x2c4b75(0x3c2)][_0x2c4b75(0x506)](_0x5e81c4['getUnitId']()):A['of'](null);}),A[_0x45e200(0x337)](_0x256a5a=>_0x256a5a?_0x256a5a[_0x45e200(0x1c4)]:A['of'](q[_0x45e200(0x2e7)])))[_0x45e200(0x243)](_0x2f0f0d=>{const _0x1aa303=_0x45e200;this[_0x1aa303(0x367)][_0x1aa303(0x450)](_0x2f0f0d);}));}[_0x2fc972(0x336)](){const _0x2ad6ca=_0x2fc972;this[_0x2ad6ca(0x1a7)](this[_0x2ad6ca(0x227)][_0x2ad6ca(0x294)](ee[_0x2ad6ca(0xbf)][_0x2ad6ca(0x398)],()=>a['connectInjector'](Vs({'status$':this['_status$'][_0x2ad6ca(0x1f3)]()}),this[_0x2ad6ca(0x2bd)])));}},exports[_0x2fc972(0x34e)]=Fs([$e(0x0,a['IUniverInstanceService']),$e(0x1,ee[_0x2fc972(0x1b7)]),$e(0x2,a['Inject'](a[_0x2fc972(0x10d)])),$e(0x3,a[_0x2fc972(0xde)](exports['CollaborationController']))],exports[_0x2fc972(0x34e)]);function Vs(_0x256878){const {status$:_0x3b7854}=_0x256878;return function(){return pe['jsx'](Tn,{'status$':_0x3b7854});};}const wt=a[_0x2fc972(0x183)](_0x2fc972(0x2d0));var Gs=Object[_0x2fc972(0x356)],Ys=Object['getOwnPropertyDescriptor'],Ks=(_0x58d9ed,_0x36d21d,_0x3f96d4,_0x23ffa8)=>{const _0x2ea0f7=_0x2fc972;for(var _0x500cb3=_0x23ffa8>0x1?void 0x0:_0x23ffa8?Ys(_0x36d21d,_0x3f96d4):_0x36d21d,_0x55a3c8=_0x58d9ed[_0x2ea0f7(0x14d)]-0x1,_0x1d1aec;_0x55a3c8>=0x0;_0x55a3c8--)(_0x1d1aec=_0x58d9ed[_0x55a3c8])&&(_0x500cb3=(_0x23ffa8?_0x1d1aec(_0x36d21d,_0x3f96d4,_0x500cb3):_0x1d1aec(_0x500cb3))||_0x500cb3);return _0x23ffa8&&_0x500cb3&&Gs(_0x36d21d,_0x3f96d4,_0x500cb3),_0x500cb3;},Te=(_0x390300,_0x277735)=>(_0x1e9f20,_0x45c844)=>_0x277735(_0x1e9f20,_0x45c844,_0x390300);exports['DataLoaderController']=class extends a[_0x2fc972(0x222)]{constructor(_0x15b826,_0x34efe0,_0x5852a1,_0x3745b4,_0x225a2d,_0x1b9f3a){const _0xdc6f2=_0x2fc972;super(),this[_0xdc6f2(0x240)]=_0x15b826,this[_0xdc6f2(0x3e5)]=_0x34efe0,this[_0xdc6f2(0x3be)]=_0x5852a1,this[_0xdc6f2(0x12d)]=_0x3745b4,this['_snapshotService']=_0x225a2d,_0x1b9f3a?_0x1b9f3a==null||_0x1b9f3a[_0xdc6f2(0xbe)]()['then'](()=>this[_0xdc6f2(0x192)]()):(this[_0xdc6f2(0x3e5)]['debug']('[DataLoaderController]','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0xdc6f2(0x192)]());}async[_0x2fc972(0x192)](){const _0x2a19cd=_0x2fc972,_0x1822b6=this[_0x2a19cd(0x240)][_0x2a19cd(0x32f)]('unit'),_0x4d17cd=this['_urlService'][_0x2a19cd(0x32f)](_0x2a19cd(0xc1));if(!_0x1822b6||!_0x4d17cd){this[_0x2a19cd(0x3e5)][_0x2a19cd(0x17a)]('[DataLoaderController]',_0x2a19cd(0x4ad));return;}switch(Number(_0x4d17cd)){case ie[_0x2a19cd(0x252)]:{const _0x2c3158=await this[_0x2a19cd(0x20a)](_0x1822b6);this[_0x2a19cd(0x26a)](_0x2c3158);break;}case ie[_0x2a19cd(0x22f)]:{await this['_loadDoc'](_0x1822b6);break;}default:{this[_0x2a19cd(0x3e5)][_0x2a19cd(0x2be)](_0x2a19cd(0x22a),'Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}}async[_0x2fc972(0x26a)](_0xdf05d7){const _0x811189=_0x2fc972;await this[_0x811189(0x4c5)](_0xdf05d7),_0xdf05d7[_0x811189(0x372)][_0x811189(0x54d)](A['takeUntil'](this['dispose$']))[_0x811189(0x243)](_0x232ec7=>{const _0x2c74d2=_0x811189;_0x232ec7&&this[_0x2c74d2(0x4a0)](_0x232ec7);}),this[_0x811189(0x240)][_0x811189(0x137)][_0x811189(0x54d)](A[_0x811189(0x26d)](this['dispose$']))[_0x811189(0x243)](()=>this['_updateSubUnitFromURLParams'](_0xdf05d7));}[_0x2fc972(0x4a0)](_0x385199,_0x90a669=!0x1){const _0x518403=_0x2fc972,_0x132c0c=this[_0x518403(0x240)]['getParam']('subunit');_0x385199[_0x518403(0x32e)]()!==_0x132c0c&&this['_urlService']['setParam'](_0x518403(0x31e),_0x385199[_0x518403(0x32e)](),_0x90a669);}async[_0x2fc972(0x4c5)](_0x5253ff){const _0x503f53=_0x2fc972;var _0x44c709;const _0x137f01=this[_0x503f53(0x240)]['getParam'](_0x503f53(0x31e));if(!_0x137f01||!_0x5253ff['getSheetBySheetId'](_0x137f01)){const _0x1bf15d=_0x5253ff[_0x503f53(0x4d8)]()[0x0],_0xe58438=_0x5253ff[_0x503f53(0x361)](_0x1bf15d);if(!_0xe58438)return;this[_0x503f53(0x4a0)](_0xe58438,!0x0),await this[_0x503f53(0x3be)][_0x503f53(0xc0)](k[_0x503f53(0x51b)]['id'],{'unitId':_0x5253ff['getUnitId'](),'subUnitId':_0x1bf15d});return;}((_0x44c709=_0x5253ff['getActiveSheet']())==null?void 0x0:_0x44c709[_0x503f53(0x32e)]())!==_0x137f01&&await this[_0x503f53(0x3be)][_0x503f53(0xc0)](k['SetWorksheetActivateCommand']['id'],{'unitId':_0x5253ff[_0x503f53(0x12b)](),'subUnitId':_0x137f01});}async[_0x2fc972(0x20a)](_0x5bb11d){const _0x5741ce=_0x2fc972;let _0x5c8e8a=0x0;const _0x495479=await this['_localCacheService'][_0x5741ce(0x47c)](_0x5bb11d);return _0x495479&&(_0x495479[_0x5741ce(0x1c0)]||_0x495479[_0x5741ce(0x492)][_0x5741ce(0x14d)]!==0x0)&&(_0x5c8e8a=_0x495479['rev']),_0x5c8e8a===0x0&&this[_0x5741ce(0x3e5)]['debug'](_0x5741ce(0x22a),_0x5741ce(0x408)),this[_0x5741ce(0x458)][_0x5741ce(0x1c9)](_0x5bb11d,_0x5c8e8a);}async[_0x2fc972(0x1bd)](_0x3eb6fd){const _0x4ef22d=_0x2fc972;let _0x166139=0x0;const _0x375000=await this[_0x4ef22d(0x12d)][_0x4ef22d(0x47c)](_0x3eb6fd);return _0x375000&&(_0x375000[_0x4ef22d(0x1c0)]||_0x375000['mutations'][_0x4ef22d(0x14d)]!==0x0)&&(_0x166139=_0x375000['rev']),_0x166139===0x0&&this['_logService'][_0x4ef22d(0x17a)](_0x4ef22d(0x22a),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this['_snapshotService'][_0x4ef22d(0x482)](_0x3eb6fd,_0x166139);}},exports[_0x2fc972(0x3fa)]=Ks([Te(0x0,wt),Te(0x1,a[_0x2fc972(0x1fc)]),Te(0x2,a[_0x2fc972(0x451)]),Te(0x3,a[_0x2fc972(0xde)](exports[_0x2fc972(0x464)])),Te(0x4,a['Inject'](S[_0x2fc972(0x546)])),Te(0x5,a[_0x2fc972(0x457)]($n[_0x2fc972(0x22d)]))],exports['DataLoaderController']);var qs=Object[_0x2fc972(0x356)],zs=Object[_0x2fc972(0x423)],Xs=(_0x4ebac9,_0x1a082f,_0x1da751,_0x2d3951)=>{const _0x4566a3=_0x2fc972;for(var _0x38505a=_0x2d3951>0x1?void 0x0:_0x2d3951?zs(_0x1a082f,_0x1da751):_0x1a082f,_0xc4766b=_0x4ebac9[_0x4566a3(0x14d)]-0x1,_0x3dab91;_0xc4766b>=0x0;_0xc4766b--)(_0x3dab91=_0x4ebac9[_0xc4766b])&&(_0x38505a=(_0x2d3951?_0x3dab91(_0x1a082f,_0x1da751,_0x38505a):_0x3dab91(_0x38505a))||_0x38505a);return _0x2d3951&&_0x38505a&&qs(_0x1a082f,_0x1da751,_0x38505a),_0x38505a;},kt=(_0x559e05,_0xa5f25b)=>(_0x382ed0,_0x1218d4)=>_0xa5f25b(_0x382ed0,_0x1218d4,_0x559e05);const Js='DEFAULT_FILE_NAME',Zs='Univer';let Ve=class extends a[_0x2fc972(0x37c)]{constructor(_0x10f9b5,_0x5bd1ae){const _0x3ebc9b=_0x2fc972;super(),this[_0x3ebc9b(0x4d3)]=_0x10f9b5,this[_0x3ebc9b(0x51e)]=_0x5bd1ae,this[_0x3ebc9b(0x192)]();}[_0x2fc972(0x192)](){const _0x586ff0=_0x2fc972;this[_0x586ff0(0x1a7)](this[_0x586ff0(0x4d3)][_0x586ff0(0x4f4)]['subscribe'](()=>{const _0xd2e41a=_0x586ff0;var _0x3fedd9;const _0x160872=this[_0xd2e41a(0x4d3)]['getFocusedUnit']();let _0x3d8c26=(_0x3fedd9=this[_0xd2e41a(0x51e)][_0xd2e41a(0xf1)](Js))!=null?_0x3fedd9:Zs;_0x160872 instanceof a['Workbook']&&(_0x3d8c26=_0x160872[_0xd2e41a(0xab)]),document['title']=_0x3d8c26;}));}};Ve=Xs([kt(0x0,a[_0x2fc972(0x3b9)]),kt(0x1,a[_0x2fc972(0x33a)])],Ve);var Qs=Object['defineProperty'],er=Object['getOwnPropertyDescriptor'],tr=(_0x3bfbff,_0x105bff,_0x5ab453,_0x24b7ba)=>{const _0x4cb2dd=_0x2fc972;for(var _0x2aba03=_0x24b7ba>0x1?void 0x0:_0x24b7ba?er(_0x105bff,_0x5ab453):_0x105bff,_0x165ecb=_0x3bfbff[_0x4cb2dd(0x14d)]-0x1,_0x27099b;_0x165ecb>=0x0;_0x165ecb--)(_0x27099b=_0x3bfbff[_0x165ecb])&&(_0x2aba03=(_0x24b7ba?_0x27099b(_0x105bff,_0x5ab453,_0x2aba03):_0x27099b(_0x2aba03))||_0x2aba03);return _0x24b7ba&&_0x2aba03&&Qs(_0x105bff,_0x5ab453,_0x2aba03),_0x2aba03;},at=(_0x53c5a7,_0x32ec3e)=>(_0x3ec78e,_0x4a797b)=>_0x32ec3e(_0x3ec78e,_0x4a797b,_0x53c5a7);let Ge=class{constructor(_0x3114de,_0x518f79,_0x1b2968){const _0x3551e2=_0x2fc972;this[_0x3551e2(0x51e)]=_0x3114de,this[_0x3551e2(0x4e8)]=_0x518f79,this['localeService']=_0x1b2968,this[_0x3551e2(0x173)]();}[_0x2fc972(0x173)](){const _0x56d901=_0x2fc972;this[_0x56d901(0x4e8)][_0x56d901(0x2b8)]({'priority':0x1,'interceptor':(_0x448ec8,_0x1ee5a7)=>_0x1ee5a7(_0x448ec8)[_0x56d901(0x54d)](A[_0x56d901(0x1a3)](async _0x332602=>{const _0x5a98e5=_0x56d901,_0x39966e=_0x332602;if(_0x39966e[_0x5a98e5(0x3c9)]===0x191&&window[_0x5a98e5(0x3eb)](this[_0x5a98e5(0x2f1)]['t']('auth.needGotoLoginAlert'))){const _0x1bd434=window[_0x5a98e5(0x1a1)](window['location'][_0x5a98e5(0x39b)]);window[_0x5a98e5(0x24a)]['href']=this[_0x5a98e5(0x225)]()+_0x5a98e5(0xac)+_0x1bd434;}return _0x39966e;}))});}['_getLoginPath'](){const _0x401886=_0x2fc972;var _0x55bd58,_0x236916;const _0xce4516=this[_0x401886(0x51e)][_0x401886(0xf1)](an),_0x27c113=this['_configService'][_0x401886(0xf1)](te);return(_0x236916=(_0x55bd58=_0x27c113==null?void 0x0:_0x27c113[_0x401886(0x2ff)])!=null?_0x55bd58:_0xce4516)!=null?_0x236916:qn;}};Ge=tr([at(0x0,a['IConfigService']),at(0x1,a['Inject'](Z['HTTPService'])),at(0x2,a['Inject'](a[_0x2fc972(0x2cf)]))],Ge);var nr=Object[_0x2fc972(0x356)],ir=Object[_0x2fc972(0x423)],sr=(_0xde28d,_0x4af886,_0x18c93b,_0x1e5be1)=>{const _0x33f2e2=_0x2fc972;for(var _0x3d3075=_0x1e5be1>0x1?void 0x0:_0x1e5be1?ir(_0x4af886,_0x18c93b):_0x4af886,_0x123cda=_0xde28d[_0x33f2e2(0x14d)]-0x1,_0x520309;_0x123cda>=0x0;_0x123cda--)(_0x520309=_0xde28d[_0x123cda])&&(_0x3d3075=(_0x1e5be1?_0x520309(_0x4af886,_0x18c93b,_0x3d3075):_0x520309(_0x3d3075))||_0x3d3075);return _0x1e5be1&&_0x3d3075&&nr(_0x4af886,_0x18c93b,_0x3d3075),_0x3d3075;},Wt=(_0x4cabfd,_0x480273)=>(_0x32a080,_0x4907cc)=>_0x480273(_0x32a080,_0x4907cc,_0x4cabfd);const Rn=_0x2fc972(0x2d7),rr=_0x2fc972(0x1e1);exports[_0x2fc972(0x228)]=class extends a[_0x2fc972(0x37c)]{constructor(_0x43658d,_0x19c16c){const _0x11b4f1=_0x2fc972;super(),this['_HTTPService']=_0x43658d,this['_configService']=_0x19c16c,this[_0x11b4f1(0x4bb)]();}[_0x2fc972(0x4bb)](){const _0x518241=_0x2fc972,_0x14e83d=this;this['disposeWithMe'](this['_HTTPService'][_0x518241(0x2b8)]({'priority':0x3e7,'interceptor':Z['MergeInterceptorFactory']({'isMatch'(_0x16428f){const _0x27e2e9=_0x518241;var _0xa3e55c;if(_0x16428f[_0x27e2e9(0x3d0)]===_0x27e2e9(0x331)&&((_0xa3e55c=_0x16428f[_0x27e2e9(0x44a)])!=null&&_0xa3e55c[_0x27e2e9(0x3fd)])){const {objectID:_0x5b8ffc,objectType:_0x53828c}=_0x16428f[_0x27e2e9(0x44a)]['body']||{};if(!_0x5b8ffc||_0x53828c===void 0x0)return!0x1;const _0x1075a3=_0x14e83d['_getAPIPrefixPath']()+'/'+_0x53828c+_0x27e2e9(0x36f)+_0x5b8ffc+'/allowed';if(_0x16428f[_0x27e2e9(0x153)]===_0x1075a3)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x34c119){const _0x2a9f1d=_0x518241;var _0x5807e6;return(_0x5807e6=_0x34c119[_0x2a9f1d(0x44a)])==null?void 0x0:_0x5807e6[_0x2a9f1d(0x3fd)];},'mergeParamsToRequest'(_0x2541ce,_0x414d57){const _0x1db208=_0x518241,_0x13ff2c=_0x14e83d['_getAPIPrefixPath']()+_0x1db208(0x430),_0x5c8a52=_0x2541ce[_0x1db208(0x415)]((_0x217dfb,_0x4e7269)=>{const _0x2fedda=_0x1db208,{unitID:_0x2d9d22,objectID:_0x4690f4,objectType:_0x5be11c,actions:_0x623de8}=_0x4e7269;return _0x217dfb[_0x2d9d22]||(_0x217dfb[_0x2d9d22]={}),_0x217dfb[_0x2d9d22][_0x4690f4]||(_0x217dfb[_0x2d9d22][_0x4690f4]={'objectID':_0x4690f4,'objectType':_0x5be11c,'actions':[]}),_0x217dfb[_0x2d9d22][_0x4690f4][_0x2fedda(0x4ac)][_0x2fedda(0x540)](..._0x623de8),_0x217dfb;},{}),_0x39794d=[];for(const _0x2371ac in _0x5c8a52)for(const _0x1ed5d2 in _0x5c8a52[_0x2371ac]){const {actions:_0x363aed,objectType:_0x3d618c}=_0x5c8a52[_0x2371ac][_0x1ed5d2],_0x11f75d=[...new Set(_0x363aed)];_0x39794d['push']({'unitID':_0x2371ac,'objectID':_0x1ed5d2,'objectType':_0x3d618c,'actions':_0x11f75d});}return new Z[(_0x1db208(0x49f))]('POST',_0x13ff2c,{'headers':_0x414d57[_0x1db208(0x166)],'withCredentials':_0x414d57[_0x1db208(0x432)],'responseType':_0x414d57[_0x1db208(0xd6)],'body':{'requests':_0x39794d}});}},{'distributeResult'(_0x481e93,_0x4375ce){const _0x4c0708=_0x518241,{objectActions:_0x3d0db1}=_0x481e93;return _0x4375ce[_0x4c0708(0x2dc)](_0x5ac226=>{const _0x43fa0b=_0x4c0708,{unitID:_0x4770c4,objectID:_0x8e65ab,actions:_0x13d2c5}=_0x5ac226,_0x340f45=_0x3d0db1['find'](_0x3b5b57=>_0x3b5b57[_0x43fa0b(0xbc)]===_0x4770c4&&_0x3b5b57[_0x43fa0b(0x1f4)]===_0x8e65ab),_0x58919f=_0x13d2c5[_0x43fa0b(0x2dc)](_0x327c23=>_0x340f45==null?void 0x0:_0x340f45[_0x43fa0b(0x4ac)][_0x43fa0b(0x2e1)](_0x519ee3=>_0x519ee3['action']===_0x327c23))[_0x43fa0b(0xda)](_0x8c7aee=>!!_0x8c7aee);return{'config':_0x5ac226,'result':{'actions':_0x58919f,'error':_0x481e93[_0x43fa0b(0x2be)]}};});}})}));}['_getAPIPrefixPath'](){const _0x596ebd=_0x2fc972;var _0x41f853,_0x33f312;const _0x5428d0=this['_configService'][_0x596ebd(0xf1)](Rn),_0x4338c5=this[_0x596ebd(0x51e)][_0x596ebd(0xf1)](te);return(_0x33f312=(_0x41f853=_0x4338c5==null?void 0x0:_0x4338c5['authzUrl'])!=null?_0x41f853:_0x5428d0)!=null?_0x33f312:rr;}async[_0x2fc972(0xe9)](_0x238470){const _0x573037=_0x2fc972,_0x4515b0=this[_0x573037(0x329)]()+'/'+_0x238470[_0x573037(0xce)]+_0x573037(0xec);return(await this[_0x573037(0x4a7)][_0x573037(0x1b2)](_0x4515b0,{'body':_0x238470}))[_0x573037(0x3fd)][_0x573037(0x1f4)]||'';}async[_0x2fc972(0x325)](_0x561e2b){const _0x21d649=_0x2fc972,_0x224bd4=this[_0x21d649(0x329)]()+_0x21d649(0x119);return(await this[_0x21d649(0x4a7)][_0x21d649(0x1b2)](_0x224bd4,{'body':_0x561e2b}))[_0x21d649(0x3fd)]['objects'];}async[_0x2fc972(0xe5)](_0xc9cdfa){const _0x59ad7d=_0x2fc972,_0xe0e644=this[_0x59ad7d(0x329)]()+'/'+_0xc9cdfa[_0x59ad7d(0xce)]+'/object/'+_0xc9cdfa[_0x59ad7d(0x1f4)];await this[_0x59ad7d(0x4a7)][_0x59ad7d(0x111)](_0xe0e644,{'body':_0xc9cdfa});}async['allowed'](_0x416e1e){const _0x4023fb=_0x2fc972,_0x496576=this[_0x4023fb(0x329)]()+'/'+_0x416e1e[_0x4023fb(0xce)]+'/object/'+_0x416e1e[_0x4023fb(0x1f4)]+'/allowed';return(await this[_0x4023fb(0x4a7)][_0x4023fb(0x1b2)](_0x496576,{'body':_0x416e1e}))[_0x4023fb(0x3fd)][_0x4023fb(0x4ac)];}async[_0x2fc972(0x373)](_0x3f1e38){const _0x26628c=_0x2fc972,_0x2da206=this['_getAPIPrefixPath']()+_0x26628c(0x430);return(await this[_0x26628c(0x4a7)]['post'](_0x2da206,{'body':{'requests':_0x3f1e38}}))[_0x26628c(0x3fd)][_0x26628c(0x3c8)];}async[_0x2fc972(0x54e)](_0x1d4531){const _0x2b4534=_0x2fc972,_0x2fc19f=this['_getAPIPrefixPath']()+'/'+_0x1d4531[_0x2b4534(0xce)]+_0x2b4534(0x300),_0x318cd3=await this[_0x2b4534(0x4a7)][_0x2b4534(0x1b2)](_0x2fc19f,{'body':_0x1d4531});return{'roles':_0x318cd3[_0x2b4534(0x3fd)][_0x2b4534(0x269)],'actions':_0x318cd3['body'][_0x2b4534(0x4ac)]};}async['deleteCollaborator'](_0x42bcdd){const _0x32c3f2=_0x2fc972,_0x5e9235=this[_0x32c3f2(0x329)]()+'/collaborator';await this['_HTTPService'][_0x32c3f2(0x332)](_0x5e9235,{'params':{'collaboratorID':_0x42bcdd[_0x32c3f2(0x38a)],'objectID':_0x42bcdd['objectID'],'unitID':_0x42bcdd[_0x32c3f2(0xbc)]}});}async['updateCollaborator'](_0x53a134){const _0x23011e=_0x2fc972,_0x3d5a70=this['_getAPIPrefixPath']()+_0x23011e(0x303);await this[_0x23011e(0x4a7)]['patch'](_0x3d5a70,{'body':_0x53a134});}async[_0x2fc972(0x290)](_0x13dd94){const _0x4ea521=_0x2fc972,_0x2ded53=this['_getAPIPrefixPath']()+_0x4ea521(0x303);await this[_0x4ea521(0x4a7)][_0x4ea521(0x1b2)](_0x2ded53,{'body':_0x13dd94});}async[_0x2fc972(0x18b)](_0x5b1b57){const _0x2492fa=_0x2fc972,_0x12738b=this[_0x2492fa(0x329)]()+_0x2492fa(0x303);return(await this[_0x2492fa(0x4a7)][_0x2492fa(0x3cf)](_0x12738b,{'params':{'objectID':_0x5b1b57['objectID'],'unitID':_0x5b1b57['unitID']}}))[_0x2492fa(0x3fd)][_0x2492fa(0xaf)];}async[_0x2fc972(0x28a)](_0x5b4bb1){const _0x1f2254=_0x2fc972,_0x3f030e=this[_0x1f2254(0x329)]()+'/collaborator';await this[_0x1f2254(0x4a7)][_0x1f2254(0x111)](_0x3f030e,{'body':_0x5b4bb1});}},exports['AuthzIoHttpService']=sr([Wt(0x0,a[_0x2fc972(0xde)](Z[_0x2fc972(0x4a1)])),Wt(0x1,a[_0x2fc972(0xde)](a['IConfigService']))],exports[_0x2fc972(0x228)]);var yn={'exports':{}};function or(_0x56409e){const _0x450195=_0x2fc972;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x56409e+_0x450195(0x1a4));}var ct={'exports':{}},Ft;function oe(){const _0x14958a=_0x2fc972;return Ft||(Ft=0x1,function(_0x11eaa8,_0x5a6dc3){(function(_0x179d72,_0xf5e207){const _0x499b80=_0x10d1;_0x11eaa8[_0x499b80(0x40d)]=_0xf5e207();}(X,function(){var _0x65ed03=_0x65ed03||function(_0x3d3350,_0x2d5f11){const _0x1e1969=_0x10d1;var _0x364de5;if(typeof window<'u'&&window[_0x1e1969(0x4c6)]&&(_0x364de5=window[_0x1e1969(0x4c6)]),typeof self<'u'&&self['crypto']&&(_0x364de5=self[_0x1e1969(0x4c6)]),typeof globalThis<'u'&&globalThis[_0x1e1969(0x4c6)]&&(_0x364de5=globalThis[_0x1e1969(0x4c6)]),!_0x364de5&&typeof window<'u'&&window[_0x1e1969(0x4b0)]&&(_0x364de5=window[_0x1e1969(0x4b0)]),!_0x364de5&&typeof X<'u'&&X[_0x1e1969(0x4c6)]&&(_0x364de5=X[_0x1e1969(0x4c6)]),!_0x364de5&&typeof or=='function')try{_0x364de5=require(_0x1e1969(0x4c6));}catch{}var _0x40d566=function(){const _0x3edc91=_0x1e1969;if(_0x364de5){if(typeof _0x364de5[_0x3edc91(0xb1)]==_0x3edc91(0x4fc))try{return _0x364de5[_0x3edc91(0xb1)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x364de5['randomBytes']==_0x3edc91(0x4fc))try{return _0x364de5['randomBytes'](0x4)['readInt32LE']();}catch{}}throw new Error(_0x3edc91(0xad));},_0x1207c3=Object['create']||(function(){function _0x946b4a(){}return function(_0x2cf69c){const _0x7bac51=_0x10d1;var _0x185ff7;return _0x946b4a[_0x7bac51(0x11f)]=_0x2cf69c,_0x185ff7=new _0x946b4a(),_0x946b4a[_0x7bac51(0x11f)]=null,_0x185ff7;};}()),_0xf2ce63={},_0x31bcc6=_0xf2ce63[_0x1e1969(0x342)]={},_0x219543=_0x31bcc6[_0x1e1969(0x3d3)]=(function(){return{'extend':function(_0x48a75a){const _0x505cdd=_0x10d1;var _0x28da81=_0x1207c3(this);return _0x48a75a&&_0x28da81[_0x505cdd(0x3c1)](_0x48a75a),(!_0x28da81['hasOwnProperty'](_0x505cdd(0x173))||this[_0x505cdd(0x173)]===_0x28da81[_0x505cdd(0x173)])&&(_0x28da81[_0x505cdd(0x173)]=function(){const _0x5a9641=_0x505cdd;_0x28da81['$super'][_0x5a9641(0x173)]['apply'](this,arguments);}),_0x28da81[_0x505cdd(0x173)][_0x505cdd(0x11f)]=_0x28da81,_0x28da81[_0x505cdd(0x10e)]=this,_0x28da81;},'create':function(){const _0x5a1c5b=_0x10d1;var _0x3c5702=this[_0x5a1c5b(0x316)]();return _0x3c5702[_0x5a1c5b(0x173)][_0x5a1c5b(0x2ce)](_0x3c5702,arguments),_0x3c5702;},'init':function(){},'mixIn':function(_0x239b25){const _0x27e684=_0x10d1;for(var _0x12f8f5 in _0x239b25)_0x239b25['hasOwnProperty'](_0x12f8f5)&&(this[_0x12f8f5]=_0x239b25[_0x12f8f5]);_0x239b25[_0x27e684(0x3d7)]('toString')&&(this[_0x27e684(0x443)]=_0x239b25[_0x27e684(0x443)]);},'clone':function(){const _0x3cf838=_0x10d1;return this['init']['prototype'][_0x3cf838(0x316)](this);}};}()),_0x407c7b=_0x31bcc6[_0x1e1969(0x50c)]=_0x219543['extend']({'init':function(_0x45cb5e,_0x5f1d0b){const _0x18219c=_0x1e1969;_0x45cb5e=this[_0x18219c(0x53a)]=_0x45cb5e||[],_0x5f1d0b!=_0x2d5f11?this[_0x18219c(0x509)]=_0x5f1d0b:this[_0x18219c(0x509)]=_0x45cb5e[_0x18219c(0x14d)]*0x4;},'toString':function(_0x135444){const _0xdd45b7=_0x1e1969;return(_0x135444||_0x1923a9)[_0xdd45b7(0x3cd)](this);},'concat':function(_0x3d83a0){const _0x5799bb=_0x1e1969;var _0x455383=this[_0x5799bb(0x53a)],_0x5cf172=_0x3d83a0[_0x5799bb(0x53a)],_0x42d4ef=this[_0x5799bb(0x509)],_0x942b3b=_0x3d83a0[_0x5799bb(0x509)];if(this[_0x5799bb(0x4e7)](),_0x42d4ef%0x4)for(var _0x35936c=0x0;_0x35936c<_0x942b3b;_0x35936c++){var _0x2e0c02=_0x5cf172[_0x35936c>>>0x2]>>>0x18-_0x35936c%0x4*0x8&0xff;_0x455383[_0x42d4ef+_0x35936c>>>0x2]|=_0x2e0c02<<0x18-(_0x42d4ef+_0x35936c)%0x4*0x8;}else{for(var _0xd61832=0x0;_0xd61832<_0x942b3b;_0xd61832+=0x4)_0x455383[_0x42d4ef+_0xd61832>>>0x2]=_0x5cf172[_0xd61832>>>0x2];}return this[_0x5799bb(0x509)]+=_0x942b3b,this;},'clamp':function(){const _0x456b49=_0x1e1969;var _0x2c2e6b=this['words'],_0x2db046=this[_0x456b49(0x509)];_0x2c2e6b[_0x2db046>>>0x2]&=0xffffffff<<0x20-_0x2db046%0x4*0x8,_0x2c2e6b[_0x456b49(0x14d)]=_0x3d3350['ceil'](_0x2db046/0x4);},'clone':function(){const _0x1a1b01=_0x1e1969;var _0x112258=_0x219543['clone'][_0x1a1b01(0x16c)](this);return _0x112258[_0x1a1b01(0x53a)]=this[_0x1a1b01(0x53a)][_0x1a1b01(0x2b1)](0x0),_0x112258;},'random':function(_0x4d5e7c){const _0x181576=_0x1e1969;for(var _0x2d2223=[],_0x170978=0x0;_0x170978<_0x4d5e7c;_0x170978+=0x4)_0x2d2223[_0x181576(0x540)](_0x40d566());return new _0x407c7b[(_0x181576(0x173))](_0x2d2223,_0x4d5e7c);}}),_0x393845=_0xf2ce63['enc']={},_0x1923a9=_0x393845[_0x1e1969(0xcb)]={'stringify':function(_0x1cda04){const _0x40adc2=_0x1e1969;for(var _0x1a238e=_0x1cda04[_0x40adc2(0x53a)],_0x4d6b46=_0x1cda04['sigBytes'],_0x885581=[],_0x2b5a9a=0x0;_0x2b5a9a<_0x4d6b46;_0x2b5a9a++){var _0x1ea148=_0x1a238e[_0x2b5a9a>>>0x2]>>>0x18-_0x2b5a9a%0x4*0x8&0xff;_0x885581[_0x40adc2(0x540)]((_0x1ea148>>>0x4)[_0x40adc2(0x443)](0x10)),_0x885581['push']((_0x1ea148&0xf)[_0x40adc2(0x443)](0x10));}return _0x885581[_0x40adc2(0x4e1)]('');},'parse':function(_0x188d7d){const _0x473cef=_0x1e1969;for(var _0x31998a=_0x188d7d[_0x473cef(0x14d)],_0x369de2=[],_0x48c24d=0x0;_0x48c24d<_0x31998a;_0x48c24d+=0x2)_0x369de2[_0x48c24d>>>0x3]|=parseInt(_0x188d7d['substr'](_0x48c24d,0x2),0x10)<<0x18-_0x48c24d%0x8*0x4;return new _0x407c7b[(_0x473cef(0x173))](_0x369de2,_0x31998a/0x2);}},_0x4af8d1=_0x393845['Latin1']={'stringify':function(_0x184cf2){const _0x514219=_0x1e1969;for(var _0x60454e=_0x184cf2[_0x514219(0x53a)],_0x5dd049=_0x184cf2[_0x514219(0x509)],_0x28c631=[],_0x3001b1=0x0;_0x3001b1<_0x5dd049;_0x3001b1++){var _0x4d9b3e=_0x60454e[_0x3001b1>>>0x2]>>>0x18-_0x3001b1%0x4*0x8&0xff;_0x28c631['push'](String[_0x514219(0x45e)](_0x4d9b3e));}return _0x28c631[_0x514219(0x4e1)]('');},'parse':function(_0x3d349d){const _0x3e7f52=_0x1e1969;for(var _0x15ef03=_0x3d349d[_0x3e7f52(0x14d)],_0x3a81d8=[],_0x5d75c9=0x0;_0x5d75c9<_0x15ef03;_0x5d75c9++)_0x3a81d8[_0x5d75c9>>>0x2]|=(_0x3d349d[_0x3e7f52(0xf7)](_0x5d75c9)&0xff)<<0x18-_0x5d75c9%0x4*0x8;return new _0x407c7b[(_0x3e7f52(0x173))](_0x3a81d8,_0x15ef03);}},_0x21cc68=_0x393845[_0x1e1969(0x52f)]={'stringify':function(_0x1ee1bd){const _0x2e5c99=_0x1e1969;try{return decodeURIComponent(escape(_0x4af8d1[_0x2e5c99(0x3cd)](_0x1ee1bd)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x373e8a){const _0x460b4b=_0x1e1969;return _0x4af8d1[_0x460b4b(0x17d)](unescape(encodeURIComponent(_0x373e8a)));}},_0x2dfadb=_0x31bcc6[_0x1e1969(0x282)]=_0x219543[_0x1e1969(0x316)]({'reset':function(){const _0x2920c1=_0x1e1969;this[_0x2920c1(0x1c7)]=new _0x407c7b[(_0x2920c1(0x173))](),this[_0x2920c1(0x4fb)]=0x0;},'_append':function(_0x1a84a8){const _0x784dbd=_0x1e1969;typeof _0x1a84a8==_0x784dbd(0x12e)&&(_0x1a84a8=_0x21cc68[_0x784dbd(0x17d)](_0x1a84a8)),this[_0x784dbd(0x1c7)][_0x784dbd(0x204)](_0x1a84a8),this[_0x784dbd(0x4fb)]+=_0x1a84a8['sigBytes'];},'_process':function(_0x31109a){const _0x1b5d5f=_0x1e1969;var _0x100ba9,_0x12bc01=this[_0x1b5d5f(0x1c7)],_0x46f625=_0x12bc01[_0x1b5d5f(0x53a)],_0x5365ff=_0x12bc01['sigBytes'],_0x5029e6=this[_0x1b5d5f(0x11d)],_0x1476fb=_0x5029e6*0x4,_0x16bfbe=_0x5365ff/_0x1476fb;_0x31109a?_0x16bfbe=_0x3d3350['ceil'](_0x16bfbe):_0x16bfbe=_0x3d3350[_0x1b5d5f(0x476)]((_0x16bfbe|0x0)-this[_0x1b5d5f(0x26f)],0x0);var _0x4b825b=_0x16bfbe*_0x5029e6,_0x514ef4=_0x3d3350[_0x1b5d5f(0x3d4)](_0x4b825b*0x4,_0x5365ff);if(_0x4b825b){for(var _0x24b011=0x0;_0x24b011<_0x4b825b;_0x24b011+=_0x5029e6)this['_doProcessBlock'](_0x46f625,_0x24b011);_0x100ba9=_0x46f625[_0x1b5d5f(0x28d)](0x0,_0x4b825b),_0x12bc01['sigBytes']-=_0x514ef4;}return new _0x407c7b[(_0x1b5d5f(0x173))](_0x100ba9,_0x514ef4);},'clone':function(){const _0x88caf0=_0x1e1969;var _0x490a02=_0x219543['clone']['call'](this);return _0x490a02[_0x88caf0(0x1c7)]=this[_0x88caf0(0x1c7)]['clone'](),_0x490a02;},'_minBufferSize':0x0});_0x31bcc6['Hasher']=_0x2dfadb[_0x1e1969(0x316)]({'cfg':_0x219543[_0x1e1969(0x316)](),'init':function(_0x1fd870){const _0x589369=_0x1e1969;this[_0x589369(0x19e)]=this[_0x589369(0x19e)][_0x589369(0x316)](_0x1fd870),this['reset']();},'reset':function(){const _0xaeaa7e=_0x1e1969;_0x2dfadb[_0xaeaa7e(0x18d)][_0xaeaa7e(0x16c)](this),this[_0xaeaa7e(0x3a4)]();},'update':function(_0x2405f7){const _0x596944=_0x1e1969;return this[_0x596944(0x538)](_0x2405f7),this[_0x596944(0x2e6)](),this;},'finalize':function(_0x29bd57){const _0x36bf87=_0x1e1969;_0x29bd57&&this[_0x36bf87(0x538)](_0x29bd57);var _0x542638=this[_0x36bf87(0x2fd)]();return _0x542638;},'blockSize':0x10,'_createHelper':function(_0x30c60a){return function(_0x28e6c6,_0x1c23cd){const _0x2eee6c=_0x10d1;return new _0x30c60a[(_0x2eee6c(0x173))](_0x1c23cd)[_0x2eee6c(0x259)](_0x28e6c6);};},'_createHmacHelper':function(_0x5bbcda){return function(_0x310d0b,_0x11742c){const _0x2ef42c=_0x10d1;return new _0x498c03[(_0x2ef42c(0x2a3))][(_0x2ef42c(0x173))](_0x5bbcda,_0x11742c)['finalize'](_0x310d0b);};}});var _0x498c03=_0xf2ce63[_0x1e1969(0x474)]={};return _0xf2ce63;}(Math);return _0x65ed03;}));}(ct)),ct[_0x14958a(0x40d)];}var lt={'exports':{}},Vt;function On(){const _0x47c5f7=_0x2fc972;return Vt||(Vt=0x1,function(_0x3f7dd4,_0x24ca4e){(function(_0x3749e7,_0x2730d7){_0x3f7dd4['exports']=_0x2730d7(oe());}(X,function(_0x5b47ee){const _0x4287ee=_0x10d1;return(function(){const _0x23e05b=_0x10d1;var _0x3a16f5=_0x5b47ee,_0x422a7a=_0x3a16f5['lib'],_0x2506ff=_0x422a7a['WordArray'],_0x3c1e6b=_0x3a16f5[_0x23e05b(0x3dc)];_0x3c1e6b[_0x23e05b(0x2f7)]={'stringify':function(_0x4fef88){const _0x16722b=_0x23e05b;var _0x21e77b=_0x4fef88[_0x16722b(0x53a)],_0x3f8940=_0x4fef88[_0x16722b(0x509)],_0x273deb=this[_0x16722b(0x159)];_0x4fef88[_0x16722b(0x4e7)]();for(var _0x4a8480=[],_0x49286d=0x0;_0x49286d<_0x3f8940;_0x49286d+=0x3)for(var _0x3e5025=_0x21e77b[_0x49286d>>>0x2]>>>0x18-_0x49286d%0x4*0x8&0xff,_0x36097c=_0x21e77b[_0x49286d+0x1>>>0x2]>>>0x18-(_0x49286d+0x1)%0x4*0x8&0xff,_0x4a1764=_0x21e77b[_0x49286d+0x2>>>0x2]>>>0x18-(_0x49286d+0x2)%0x4*0x8&0xff,_0x58ec65=_0x3e5025<<0x10|_0x36097c<<0x8|_0x4a1764,_0x173c39=0x0;_0x173c39<0x4&&_0x49286d+_0x173c39*0.75<_0x3f8940;_0x173c39++)_0x4a8480[_0x16722b(0x540)](_0x273deb['charAt'](_0x58ec65>>>0x6*(0x3-_0x173c39)&0x3f));var _0x5d84bd=_0x273deb[_0x16722b(0x317)](0x40);if(_0x5d84bd){for(;_0x4a8480[_0x16722b(0x14d)]%0x4;)_0x4a8480[_0x16722b(0x540)](_0x5d84bd);}return _0x4a8480['join']('');},'parse':function(_0x34619d){const _0x2125c2=_0x23e05b;var _0x5709c7=_0x34619d['length'],_0x32f9be=this[_0x2125c2(0x159)],_0x483e07=this[_0x2125c2(0x1b4)];if(!_0x483e07){_0x483e07=this['_reverseMap']=[];for(var _0x320ea8=0x0;_0x320ea8<_0x32f9be[_0x2125c2(0x14d)];_0x320ea8++)_0x483e07[_0x32f9be[_0x2125c2(0xf7)](_0x320ea8)]=_0x320ea8;}var _0x33e5bb=_0x32f9be['charAt'](0x40);if(_0x33e5bb){var _0x523a71=_0x34619d[_0x2125c2(0x4e9)](_0x33e5bb);_0x523a71!==-0x1&&(_0x5709c7=_0x523a71);}return _0x25143d(_0x34619d,_0x5709c7,_0x483e07);},'_map':_0x23e05b(0x219)};function _0x25143d(_0x568624,_0x18c293,_0x4ab2b5){const _0x3d7b28=_0x23e05b;for(var _0x2c6d29=[],_0x488005=0x0,_0x4ca6cf=0x0;_0x4ca6cf<_0x18c293;_0x4ca6cf++)if(_0x4ca6cf%0x4){var _0x5519b4=_0x4ab2b5[_0x568624[_0x3d7b28(0xf7)](_0x4ca6cf-0x1)]<<_0x4ca6cf%0x4*0x2,_0x3489c4=_0x4ab2b5[_0x568624['charCodeAt'](_0x4ca6cf)]>>>0x6-_0x4ca6cf%0x4*0x2,_0x873b02=_0x5519b4|_0x3489c4;_0x2c6d29[_0x488005>>>0x2]|=_0x873b02<<0x18-_0x488005%0x4*0x8,_0x488005++;}return _0x2506ff[_0x3d7b28(0xe9)](_0x2c6d29,_0x488005);}}()),_0x5b47ee[_0x4287ee(0x3dc)]['Base64'];}));}(lt)),lt[_0x47c5f7(0x40d)];}var ht={'exports':{}},Gt;function ar(){const _0xe8bb40=_0x2fc972;return Gt||(Gt=0x1,function(_0x495ede,_0x32015){(function(_0x4f3268,_0xd80268){const _0xbb8d7e=_0x10d1;_0x495ede[_0xbb8d7e(0x40d)]=_0xd80268(oe());}(X,function(_0x122806){const _0x3d4943=_0x10d1;return function(_0x184f39){const _0x3152d6=_0x10d1;var _0x35033f=_0x122806,_0x5344a5=_0x35033f[_0x3152d6(0x342)],_0x57dd0e=_0x5344a5[_0x3152d6(0x50c)],_0x3d56a3=_0x5344a5['Hasher'],_0x2e6fe2=_0x35033f[_0x3152d6(0x474)],_0x4fb31f=[];(function(){const _0x306307=_0x3152d6;for(var _0x268ec2=0x0;_0x268ec2<0x40;_0x268ec2++)_0x4fb31f[_0x268ec2]=_0x184f39[_0x306307(0xd7)](_0x184f39['sin'](_0x268ec2+0x1))*0x100000000|0x0;}());var _0x39a1aa=_0x2e6fe2[_0x3152d6(0x16d)]=_0x3d56a3[_0x3152d6(0x316)]({'_doReset':function(){const _0xc55019=_0x3152d6;this[_0xc55019(0x4eb)]=new _0x57dd0e[(_0xc55019(0x173))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0xe3bc9,_0x144487){const _0x59c639=_0x3152d6;for(var _0x4d67a5=0x0;_0x4d67a5<0x10;_0x4d67a5++){var _0x9c88d9=_0x144487+_0x4d67a5,_0x40b1e5=_0xe3bc9[_0x9c88d9];_0xe3bc9[_0x9c88d9]=(_0x40b1e5<<0x8|_0x40b1e5>>>0x18)&0xff00ff|(_0x40b1e5<<0x18|_0x40b1e5>>>0x8)&0xff00ff00;}var _0xf8dd31=this[_0x59c639(0x4eb)][_0x59c639(0x53a)],_0xdf7daa=_0xe3bc9[_0x144487+0x0],_0x45cb05=_0xe3bc9[_0x144487+0x1],_0x19988f=_0xe3bc9[_0x144487+0x2],_0x12d262=_0xe3bc9[_0x144487+0x3],_0x1cca04=_0xe3bc9[_0x144487+0x4],_0x3f7485=_0xe3bc9[_0x144487+0x5],_0x22cde3=_0xe3bc9[_0x144487+0x6],_0x2487bc=_0xe3bc9[_0x144487+0x7],_0x459cf6=_0xe3bc9[_0x144487+0x8],_0x2e3dcd=_0xe3bc9[_0x144487+0x9],_0x1f31fa=_0xe3bc9[_0x144487+0xa],_0x595be8=_0xe3bc9[_0x144487+0xb],_0x345fb7=_0xe3bc9[_0x144487+0xc],_0x6ea1be=_0xe3bc9[_0x144487+0xd],_0x5bce64=_0xe3bc9[_0x144487+0xe],_0x413a0e=_0xe3bc9[_0x144487+0xf],_0x33fa29=_0xf8dd31[0x0],_0x247366=_0xf8dd31[0x1],_0x37c6a1=_0xf8dd31[0x2],_0x3b749f=_0xf8dd31[0x3];_0x33fa29=_0x3bed82(_0x33fa29,_0x247366,_0x37c6a1,_0x3b749f,_0xdf7daa,0x7,_0x4fb31f[0x0]),_0x3b749f=_0x3bed82(_0x3b749f,_0x33fa29,_0x247366,_0x37c6a1,_0x45cb05,0xc,_0x4fb31f[0x1]),_0x37c6a1=_0x3bed82(_0x37c6a1,_0x3b749f,_0x33fa29,_0x247366,_0x19988f,0x11,_0x4fb31f[0x2]),_0x247366=_0x3bed82(_0x247366,_0x37c6a1,_0x3b749f,_0x33fa29,_0x12d262,0x16,_0x4fb31f[0x3]),_0x33fa29=_0x3bed82(_0x33fa29,_0x247366,_0x37c6a1,_0x3b749f,_0x1cca04,0x7,_0x4fb31f[0x4]),_0x3b749f=_0x3bed82(_0x3b749f,_0x33fa29,_0x247366,_0x37c6a1,_0x3f7485,0xc,_0x4fb31f[0x5]),_0x37c6a1=_0x3bed82(_0x37c6a1,_0x3b749f,_0x33fa29,_0x247366,_0x22cde3,0x11,_0x4fb31f[0x6]),_0x247366=_0x3bed82(_0x247366,_0x37c6a1,_0x3b749f,_0x33fa29,_0x2487bc,0x16,_0x4fb31f[0x7]),_0x33fa29=_0x3bed82(_0x33fa29,_0x247366,_0x37c6a1,_0x3b749f,_0x459cf6,0x7,_0x4fb31f[0x8]),_0x3b749f=_0x3bed82(_0x3b749f,_0x33fa29,_0x247366,_0x37c6a1,_0x2e3dcd,0xc,_0x4fb31f[0x9]),_0x37c6a1=_0x3bed82(_0x37c6a1,_0x3b749f,_0x33fa29,_0x247366,_0x1f31fa,0x11,_0x4fb31f[0xa]),_0x247366=_0x3bed82(_0x247366,_0x37c6a1,_0x3b749f,_0x33fa29,_0x595be8,0x16,_0x4fb31f[0xb]),_0x33fa29=_0x3bed82(_0x33fa29,_0x247366,_0x37c6a1,_0x3b749f,_0x345fb7,0x7,_0x4fb31f[0xc]),_0x3b749f=_0x3bed82(_0x3b749f,_0x33fa29,_0x247366,_0x37c6a1,_0x6ea1be,0xc,_0x4fb31f[0xd]),_0x37c6a1=_0x3bed82(_0x37c6a1,_0x3b749f,_0x33fa29,_0x247366,_0x5bce64,0x11,_0x4fb31f[0xe]),_0x247366=_0x3bed82(_0x247366,_0x37c6a1,_0x3b749f,_0x33fa29,_0x413a0e,0x16,_0x4fb31f[0xf]),_0x33fa29=_0x5e2627(_0x33fa29,_0x247366,_0x37c6a1,_0x3b749f,_0x45cb05,0x5,_0x4fb31f[0x10]),_0x3b749f=_0x5e2627(_0x3b749f,_0x33fa29,_0x247366,_0x37c6a1,_0x22cde3,0x9,_0x4fb31f[0x11]),_0x37c6a1=_0x5e2627(_0x37c6a1,_0x3b749f,_0x33fa29,_0x247366,_0x595be8,0xe,_0x4fb31f[0x12]),_0x247366=_0x5e2627(_0x247366,_0x37c6a1,_0x3b749f,_0x33fa29,_0xdf7daa,0x14,_0x4fb31f[0x13]),_0x33fa29=_0x5e2627(_0x33fa29,_0x247366,_0x37c6a1,_0x3b749f,_0x3f7485,0x5,_0x4fb31f[0x14]),_0x3b749f=_0x5e2627(_0x3b749f,_0x33fa29,_0x247366,_0x37c6a1,_0x1f31fa,0x9,_0x4fb31f[0x15]),_0x37c6a1=_0x5e2627(_0x37c6a1,_0x3b749f,_0x33fa29,_0x247366,_0x413a0e,0xe,_0x4fb31f[0x16]),_0x247366=_0x5e2627(_0x247366,_0x37c6a1,_0x3b749f,_0x33fa29,_0x1cca04,0x14,_0x4fb31f[0x17]),_0x33fa29=_0x5e2627(_0x33fa29,_0x247366,_0x37c6a1,_0x3b749f,_0x2e3dcd,0x5,_0x4fb31f[0x18]),_0x3b749f=_0x5e2627(_0x3b749f,_0x33fa29,_0x247366,_0x37c6a1,_0x5bce64,0x9,_0x4fb31f[0x19]),_0x37c6a1=_0x5e2627(_0x37c6a1,_0x3b749f,_0x33fa29,_0x247366,_0x12d262,0xe,_0x4fb31f[0x1a]),_0x247366=_0x5e2627(_0x247366,_0x37c6a1,_0x3b749f,_0x33fa29,_0x459cf6,0x14,_0x4fb31f[0x1b]),_0x33fa29=_0x5e2627(_0x33fa29,_0x247366,_0x37c6a1,_0x3b749f,_0x6ea1be,0x5,_0x4fb31f[0x1c]),_0x3b749f=_0x5e2627(_0x3b749f,_0x33fa29,_0x247366,_0x37c6a1,_0x19988f,0x9,_0x4fb31f[0x1d]),_0x37c6a1=_0x5e2627(_0x37c6a1,_0x3b749f,_0x33fa29,_0x247366,_0x2487bc,0xe,_0x4fb31f[0x1e]),_0x247366=_0x5e2627(_0x247366,_0x37c6a1,_0x3b749f,_0x33fa29,_0x345fb7,0x14,_0x4fb31f[0x1f]),_0x33fa29=_0x446774(_0x33fa29,_0x247366,_0x37c6a1,_0x3b749f,_0x3f7485,0x4,_0x4fb31f[0x20]),_0x3b749f=_0x446774(_0x3b749f,_0x33fa29,_0x247366,_0x37c6a1,_0x459cf6,0xb,_0x4fb31f[0x21]),_0x37c6a1=_0x446774(_0x37c6a1,_0x3b749f,_0x33fa29,_0x247366,_0x595be8,0x10,_0x4fb31f[0x22]),_0x247366=_0x446774(_0x247366,_0x37c6a1,_0x3b749f,_0x33fa29,_0x5bce64,0x17,_0x4fb31f[0x23]),_0x33fa29=_0x446774(_0x33fa29,_0x247366,_0x37c6a1,_0x3b749f,_0x45cb05,0x4,_0x4fb31f[0x24]),_0x3b749f=_0x446774(_0x3b749f,_0x33fa29,_0x247366,_0x37c6a1,_0x1cca04,0xb,_0x4fb31f[0x25]),_0x37c6a1=_0x446774(_0x37c6a1,_0x3b749f,_0x33fa29,_0x247366,_0x2487bc,0x10,_0x4fb31f[0x26]),_0x247366=_0x446774(_0x247366,_0x37c6a1,_0x3b749f,_0x33fa29,_0x1f31fa,0x17,_0x4fb31f[0x27]),_0x33fa29=_0x446774(_0x33fa29,_0x247366,_0x37c6a1,_0x3b749f,_0x6ea1be,0x4,_0x4fb31f[0x28]),_0x3b749f=_0x446774(_0x3b749f,_0x33fa29,_0x247366,_0x37c6a1,_0xdf7daa,0xb,_0x4fb31f[0x29]),_0x37c6a1=_0x446774(_0x37c6a1,_0x3b749f,_0x33fa29,_0x247366,_0x12d262,0x10,_0x4fb31f[0x2a]),_0x247366=_0x446774(_0x247366,_0x37c6a1,_0x3b749f,_0x33fa29,_0x22cde3,0x17,_0x4fb31f[0x2b]),_0x33fa29=_0x446774(_0x33fa29,_0x247366,_0x37c6a1,_0x3b749f,_0x2e3dcd,0x4,_0x4fb31f[0x2c]),_0x3b749f=_0x446774(_0x3b749f,_0x33fa29,_0x247366,_0x37c6a1,_0x345fb7,0xb,_0x4fb31f[0x2d]),_0x37c6a1=_0x446774(_0x37c6a1,_0x3b749f,_0x33fa29,_0x247366,_0x413a0e,0x10,_0x4fb31f[0x2e]),_0x247366=_0x446774(_0x247366,_0x37c6a1,_0x3b749f,_0x33fa29,_0x19988f,0x17,_0x4fb31f[0x2f]),_0x33fa29=_0x488367(_0x33fa29,_0x247366,_0x37c6a1,_0x3b749f,_0xdf7daa,0x6,_0x4fb31f[0x30]),_0x3b749f=_0x488367(_0x3b749f,_0x33fa29,_0x247366,_0x37c6a1,_0x2487bc,0xa,_0x4fb31f[0x31]),_0x37c6a1=_0x488367(_0x37c6a1,_0x3b749f,_0x33fa29,_0x247366,_0x5bce64,0xf,_0x4fb31f[0x32]),_0x247366=_0x488367(_0x247366,_0x37c6a1,_0x3b749f,_0x33fa29,_0x3f7485,0x15,_0x4fb31f[0x33]),_0x33fa29=_0x488367(_0x33fa29,_0x247366,_0x37c6a1,_0x3b749f,_0x345fb7,0x6,_0x4fb31f[0x34]),_0x3b749f=_0x488367(_0x3b749f,_0x33fa29,_0x247366,_0x37c6a1,_0x12d262,0xa,_0x4fb31f[0x35]),_0x37c6a1=_0x488367(_0x37c6a1,_0x3b749f,_0x33fa29,_0x247366,_0x1f31fa,0xf,_0x4fb31f[0x36]),_0x247366=_0x488367(_0x247366,_0x37c6a1,_0x3b749f,_0x33fa29,_0x45cb05,0x15,_0x4fb31f[0x37]),_0x33fa29=_0x488367(_0x33fa29,_0x247366,_0x37c6a1,_0x3b749f,_0x459cf6,0x6,_0x4fb31f[0x38]),_0x3b749f=_0x488367(_0x3b749f,_0x33fa29,_0x247366,_0x37c6a1,_0x413a0e,0xa,_0x4fb31f[0x39]),_0x37c6a1=_0x488367(_0x37c6a1,_0x3b749f,_0x33fa29,_0x247366,_0x22cde3,0xf,_0x4fb31f[0x3a]),_0x247366=_0x488367(_0x247366,_0x37c6a1,_0x3b749f,_0x33fa29,_0x6ea1be,0x15,_0x4fb31f[0x3b]),_0x33fa29=_0x488367(_0x33fa29,_0x247366,_0x37c6a1,_0x3b749f,_0x1cca04,0x6,_0x4fb31f[0x3c]),_0x3b749f=_0x488367(_0x3b749f,_0x33fa29,_0x247366,_0x37c6a1,_0x595be8,0xa,_0x4fb31f[0x3d]),_0x37c6a1=_0x488367(_0x37c6a1,_0x3b749f,_0x33fa29,_0x247366,_0x19988f,0xf,_0x4fb31f[0x3e]),_0x247366=_0x488367(_0x247366,_0x37c6a1,_0x3b749f,_0x33fa29,_0x2e3dcd,0x15,_0x4fb31f[0x3f]),_0xf8dd31[0x0]=_0xf8dd31[0x0]+_0x33fa29|0x0,_0xf8dd31[0x1]=_0xf8dd31[0x1]+_0x247366|0x0,_0xf8dd31[0x2]=_0xf8dd31[0x2]+_0x37c6a1|0x0,_0xf8dd31[0x3]=_0xf8dd31[0x3]+_0x3b749f|0x0;},'_doFinalize':function(){const _0x44ed73=_0x3152d6;var _0xf1a567=this[_0x44ed73(0x1c7)],_0xad349f=_0xf1a567[_0x44ed73(0x53a)],_0x2d2750=this[_0x44ed73(0x4fb)]*0x8,_0xe6237a=_0xf1a567['sigBytes']*0x8;_0xad349f[_0xe6237a>>>0x5]|=0x80<<0x18-_0xe6237a%0x20;var _0x274d5a=_0x184f39[_0x44ed73(0x402)](_0x2d2750/0x100000000),_0x3cc422=_0x2d2750;_0xad349f[(_0xe6237a+0x40>>>0x9<<0x4)+0xf]=(_0x274d5a<<0x8|_0x274d5a>>>0x18)&0xff00ff|(_0x274d5a<<0x18|_0x274d5a>>>0x8)&0xff00ff00,_0xad349f[(_0xe6237a+0x40>>>0x9<<0x4)+0xe]=(_0x3cc422<<0x8|_0x3cc422>>>0x18)&0xff00ff|(_0x3cc422<<0x18|_0x3cc422>>>0x8)&0xff00ff00,_0xf1a567[_0x44ed73(0x509)]=(_0xad349f[_0x44ed73(0x14d)]+0x1)*0x4,this[_0x44ed73(0x2e6)]();for(var _0x972cc1=this['_hash'],_0x29ea91=_0x972cc1[_0x44ed73(0x53a)],_0x50ce26=0x0;_0x50ce26<0x4;_0x50ce26++){var _0x4ab55e=_0x29ea91[_0x50ce26];_0x29ea91[_0x50ce26]=(_0x4ab55e<<0x8|_0x4ab55e>>>0x18)&0xff00ff|(_0x4ab55e<<0x18|_0x4ab55e>>>0x8)&0xff00ff00;}return _0x972cc1;},'clone':function(){const _0xefeef3=_0x3152d6;var _0x5c62ae=_0x3d56a3[_0xefeef3(0x403)]['call'](this);return _0x5c62ae[_0xefeef3(0x4eb)]=this['_hash'][_0xefeef3(0x403)](),_0x5c62ae;}});function _0x3bed82(_0x339e4d,_0x148dad,_0x330d59,_0x2eb8e0,_0x164e9e,_0x5ab807,_0x2748ea){var _0x538746=_0x339e4d+(_0x148dad&_0x330d59|~_0x148dad&_0x2eb8e0)+_0x164e9e+_0x2748ea;return(_0x538746<<_0x5ab807|_0x538746>>>0x20-_0x5ab807)+_0x148dad;}function _0x5e2627(_0x7f0a5b,_0x33094f,_0x216a83,_0x54a5e2,_0x56a6b5,_0x1c991d,_0x1b41ca){var _0x28bd49=_0x7f0a5b+(_0x33094f&_0x54a5e2|_0x216a83&~_0x54a5e2)+_0x56a6b5+_0x1b41ca;return(_0x28bd49<<_0x1c991d|_0x28bd49>>>0x20-_0x1c991d)+_0x33094f;}function _0x446774(_0x38f212,_0x3aa590,_0x55e8af,_0x56b15d,_0x5e28a7,_0x2c82f8,_0x977e18){var _0x3dd5fb=_0x38f212+(_0x3aa590^_0x55e8af^_0x56b15d)+_0x5e28a7+_0x977e18;return(_0x3dd5fb<<_0x2c82f8|_0x3dd5fb>>>0x20-_0x2c82f8)+_0x3aa590;}function _0x488367(_0x47e9cd,_0x1a4a91,_0x5339b9,_0x311041,_0x5436d0,_0x5ae77c,_0x28b758){var _0x469680=_0x47e9cd+(_0x5339b9^(_0x1a4a91|~_0x311041))+_0x5436d0+_0x28b758;return(_0x469680<<_0x5ae77c|_0x469680>>>0x20-_0x5ae77c)+_0x1a4a91;}_0x35033f['MD5']=_0x3d56a3[_0x3152d6(0x52a)](_0x39a1aa),_0x35033f[_0x3152d6(0x393)]=_0x3d56a3[_0x3152d6(0x29c)](_0x39a1aa);}(Math),_0x122806[_0x3d4943(0x16d)];}));}(ht)),ht[_0xe8bb40(0x40d)];}var _t={'exports':{}},ut={'exports':{}},Yt;function cr(){const _0x5e1b8c=_0x2fc972;return Yt||(Yt=0x1,function(_0x4c6470,_0x3f69c7){(function(_0x49d699,_0xc3e002){const _0x54a073=_0x10d1;_0x4c6470[_0x54a073(0x40d)]=_0xc3e002(oe());}(X,function(_0x472cc6){return(function(){const _0x54bf0c=_0x10d1;var _0x52469b=_0x472cc6,_0x103416=_0x52469b[_0x54bf0c(0x342)],_0x3ef0cd=_0x103416[_0x54bf0c(0x50c)],_0xe02bb3=_0x103416[_0x54bf0c(0x319)],_0x445a09=_0x52469b[_0x54bf0c(0x474)],_0x3b2d11=[],_0x114e19=_0x445a09[_0x54bf0c(0x15d)]=_0xe02bb3[_0x54bf0c(0x316)]({'_doReset':function(){const _0xac460c=_0x54bf0c;this[_0xac460c(0x4eb)]=new _0x3ef0cd['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x24a765,_0x8ba611){const _0x51ae76=_0x54bf0c;for(var _0xb509c5=this[_0x51ae76(0x4eb)][_0x51ae76(0x53a)],_0x340b9a=_0xb509c5[0x0],_0x44b505=_0xb509c5[0x1],_0x5116f8=_0xb509c5[0x2],_0x549388=_0xb509c5[0x3],_0x303354=_0xb509c5[0x4],_0x193a06=0x0;_0x193a06<0x50;_0x193a06++){if(_0x193a06<0x10)_0x3b2d11[_0x193a06]=_0x24a765[_0x8ba611+_0x193a06]|0x0;else{var _0x4e4dcc=_0x3b2d11[_0x193a06-0x3]^_0x3b2d11[_0x193a06-0x8]^_0x3b2d11[_0x193a06-0xe]^_0x3b2d11[_0x193a06-0x10];_0x3b2d11[_0x193a06]=_0x4e4dcc<<0x1|_0x4e4dcc>>>0x1f;}var _0x1053f4=(_0x340b9a<<0x5|_0x340b9a>>>0x1b)+_0x303354+_0x3b2d11[_0x193a06];_0x193a06<0x14?_0x1053f4+=(_0x44b505&_0x5116f8|~_0x44b505&_0x549388)+0x5a827999:_0x193a06<0x28?_0x1053f4+=(_0x44b505^_0x5116f8^_0x549388)+0x6ed9eba1:_0x193a06<0x3c?_0x1053f4+=(_0x44b505&_0x5116f8|_0x44b505&_0x549388|_0x5116f8&_0x549388)-0x70e44324:_0x1053f4+=(_0x44b505^_0x5116f8^_0x549388)-0x359d3e2a,_0x303354=_0x549388,_0x549388=_0x5116f8,_0x5116f8=_0x44b505<<0x1e|_0x44b505>>>0x2,_0x44b505=_0x340b9a,_0x340b9a=_0x1053f4;}_0xb509c5[0x0]=_0xb509c5[0x0]+_0x340b9a|0x0,_0xb509c5[0x1]=_0xb509c5[0x1]+_0x44b505|0x0,_0xb509c5[0x2]=_0xb509c5[0x2]+_0x5116f8|0x0,_0xb509c5[0x3]=_0xb509c5[0x3]+_0x549388|0x0,_0xb509c5[0x4]=_0xb509c5[0x4]+_0x303354|0x0;},'_doFinalize':function(){const _0x6bd184=_0x54bf0c;var _0x15ac93=this['_data'],_0x1f6d62=_0x15ac93[_0x6bd184(0x53a)],_0x39cdfe=this[_0x6bd184(0x4fb)]*0x8,_0x28562a=_0x15ac93[_0x6bd184(0x509)]*0x8;return _0x1f6d62[_0x28562a>>>0x5]|=0x80<<0x18-_0x28562a%0x20,_0x1f6d62[(_0x28562a+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x39cdfe/0x100000000),_0x1f6d62[(_0x28562a+0x40>>>0x9<<0x4)+0xf]=_0x39cdfe,_0x15ac93[_0x6bd184(0x509)]=_0x1f6d62[_0x6bd184(0x14d)]*0x4,this[_0x6bd184(0x2e6)](),this['_hash'];},'clone':function(){const _0x1d2dbb=_0x54bf0c;var _0x15fcfc=_0xe02bb3['clone'][_0x1d2dbb(0x16c)](this);return _0x15fcfc[_0x1d2dbb(0x4eb)]=this[_0x1d2dbb(0x4eb)][_0x1d2dbb(0x403)](),_0x15fcfc;}});_0x52469b[_0x54bf0c(0x15d)]=_0xe02bb3[_0x54bf0c(0x52a)](_0x114e19),_0x52469b[_0x54bf0c(0x17e)]=_0xe02bb3[_0x54bf0c(0x29c)](_0x114e19);}()),_0x472cc6['SHA1'];}));}(ut)),ut[_0x5e1b8c(0x40d)];}var dt={'exports':{}},Kt;function lr(){const _0x34a462=_0x2fc972;return Kt||(Kt=0x1,function(_0x337da4,_0x28fe7b){(function(_0xbb1690,_0x2d6a37){const _0x411f20=_0x10d1;_0x337da4[_0x411f20(0x40d)]=_0x2d6a37(oe());}(X,function(_0x2851eb){(function(){const _0x1c9f68=_0x10d1;var _0x421856=_0x2851eb,_0x48b250=_0x421856['lib'],_0x287aa9=_0x48b250[_0x1c9f68(0x3d3)],_0x36c922=_0x421856['enc'],_0x2f6da9=_0x36c922[_0x1c9f68(0x52f)],_0x22d8a7=_0x421856['algo'];_0x22d8a7[_0x1c9f68(0x2a3)]=_0x287aa9[_0x1c9f68(0x316)]({'init':function(_0x27e5e9,_0xc0394d){const _0x4c4f36=_0x1c9f68;_0x27e5e9=this[_0x4c4f36(0x2b6)]=new _0x27e5e9[(_0x4c4f36(0x173))](),typeof _0xc0394d==_0x4c4f36(0x12e)&&(_0xc0394d=_0x2f6da9['parse'](_0xc0394d));var _0x5c15cc=_0x27e5e9['blockSize'],_0x228c77=_0x5c15cc*0x4;_0xc0394d[_0x4c4f36(0x509)]>_0x228c77&&(_0xc0394d=_0x27e5e9[_0x4c4f36(0x259)](_0xc0394d)),_0xc0394d[_0x4c4f36(0x4e7)]();for(var _0x5bff2b=this[_0x4c4f36(0x37f)]=_0xc0394d[_0x4c4f36(0x403)](),_0x1e0884=this[_0x4c4f36(0x44d)]=_0xc0394d[_0x4c4f36(0x403)](),_0x2b69aa=_0x5bff2b['words'],_0x574f71=_0x1e0884[_0x4c4f36(0x53a)],_0x8078aa=0x0;_0x8078aa<_0x5c15cc;_0x8078aa++)_0x2b69aa[_0x8078aa]^=0x5c5c5c5c,_0x574f71[_0x8078aa]^=0x36363636;_0x5bff2b[_0x4c4f36(0x509)]=_0x1e0884['sigBytes']=_0x228c77,this[_0x4c4f36(0x18d)]();},'reset':function(){const _0x2efa02=_0x1c9f68;var _0x1c330c=this['_hasher'];_0x1c330c['reset'](),_0x1c330c[_0x2efa02(0xe5)](this['_iKey']);},'update':function(_0x3a9dae){const _0x531dda=_0x1c9f68;return this[_0x531dda(0x2b6)][_0x531dda(0xe5)](_0x3a9dae),this;},'finalize':function(_0xd3567e){const _0x5b6383=_0x1c9f68;var _0x245525=this[_0x5b6383(0x2b6)],_0x4f7c50=_0x245525[_0x5b6383(0x259)](_0xd3567e);_0x245525[_0x5b6383(0x18d)]();var _0x55d6e1=_0x245525[_0x5b6383(0x259)](this[_0x5b6383(0x37f)]['clone']()[_0x5b6383(0x204)](_0x4f7c50));return _0x55d6e1;}});}());}));}(dt)),dt[_0x34a462(0x40d)];}var qt;function Dn(){const _0x55374a=_0x2fc972;return qt||(qt=0x1,function(_0x117759,_0x5190fe){(function(_0x542f54,_0x6f29ea,_0x30f69c){const _0x515748=_0x10d1;_0x117759[_0x515748(0x40d)]=_0x6f29ea(oe(),cr(),lr());}(X,function(_0x52ce43){const _0x1ac59e=_0x10d1;return(function(){const _0x3cffe5=_0x10d1;var _0x5bde7a=_0x52ce43,_0x1f82d3=_0x5bde7a[_0x3cffe5(0x342)],_0x2becf1=_0x1f82d3[_0x3cffe5(0x3d3)],_0x25c3ac=_0x1f82d3[_0x3cffe5(0x50c)],_0x168304=_0x5bde7a[_0x3cffe5(0x474)],_0xbdceff=_0x168304[_0x3cffe5(0x16d)],_0x13c145=_0x168304['EvpKDF']=_0x2becf1[_0x3cffe5(0x316)]({'cfg':_0x2becf1[_0x3cffe5(0x316)]({'keySize':0x80/0x20,'hasher':_0xbdceff,'iterations':0x1}),'init':function(_0x1fd532){const _0x330b74=_0x3cffe5;this[_0x330b74(0x19e)]=this[_0x330b74(0x19e)][_0x330b74(0x316)](_0x1fd532);},'compute':function(_0x49e6ed,_0x21be01){const _0x1a99c6=_0x3cffe5;for(var _0x52688f,_0x1b7b81=this[_0x1a99c6(0x19e)],_0x3076f7=_0x1b7b81[_0x1a99c6(0x1d8)][_0x1a99c6(0xe9)](),_0x165c40=_0x25c3ac[_0x1a99c6(0xe9)](),_0x3693c5=_0x165c40['words'],_0x1ac27d=_0x1b7b81[_0x1a99c6(0x3c5)],_0x72ae1e=_0x1b7b81[_0x1a99c6(0x3d5)];_0x3693c5['length']<_0x1ac27d;){_0x52688f&&_0x3076f7['update'](_0x52688f),_0x52688f=_0x3076f7['update'](_0x49e6ed)[_0x1a99c6(0x259)](_0x21be01),_0x3076f7[_0x1a99c6(0x18d)]();for(var _0x5ae75a=0x1;_0x5ae75a<_0x72ae1e;_0x5ae75a++)_0x52688f=_0x3076f7[_0x1a99c6(0x259)](_0x52688f),_0x3076f7[_0x1a99c6(0x18d)]();_0x165c40['concat'](_0x52688f);}return _0x165c40['sigBytes']=_0x1ac27d*0x4,_0x165c40;}});_0x5bde7a[_0x3cffe5(0x4f2)]=function(_0x1b1ce7,_0x53fef0,_0x33cb54){const _0xfc3855=_0x3cffe5;return _0x13c145['create'](_0x33cb54)[_0xfc3855(0x419)](_0x1b1ce7,_0x53fef0);};}()),_0x52ce43[_0x1ac59e(0x4f2)];}));}(_t)),_t[_0x55374a(0x40d)];}function _0x10d1(_0x19a0ae,_0x42e753){const _0x14d04e=_0x14d0();return _0x10d1=function(_0x10d13d,_0xdc23cd){_0x10d13d=_0x10d13d-0xaa;let _0x8bdc81=_0x14d04e[_0x10d13d];return _0x8bdc81;},_0x10d1(_0x19a0ae,_0x42e753);}var ft={'exports':{}},zt;function wn(){const _0x4ec3ba=_0x2fc972;return zt||(zt=0x1,function(_0x33e9b5,_0x4ccf71){(function(_0xcbf748,_0xf92b5d,_0x563bbe){const _0x78672=_0x10d1;_0x33e9b5[_0x78672(0x40d)]=_0xf92b5d(oe(),Dn());}(X,function(_0xfd96ee){const _0x2eac7a=_0x10d1;_0xfd96ee[_0x2eac7a(0x342)][_0x2eac7a(0x296)]||function(_0x4c746f){const _0x104734=_0x2eac7a;var _0x21a855=_0xfd96ee,_0x22ea2c=_0x21a855[_0x104734(0x342)],_0x579347=_0x22ea2c[_0x104734(0x3d3)],_0x430788=_0x22ea2c['WordArray'],_0x1189ca=_0x22ea2c[_0x104734(0x282)],_0x50eafb=_0x21a855[_0x104734(0x3dc)];_0x50eafb[_0x104734(0x52f)];var _0x4294e5=_0x50eafb[_0x104734(0x2f7)],_0x19b21e=_0x21a855[_0x104734(0x474)],_0x2badfa=_0x19b21e['EvpKDF'],_0x204e0f=_0x22ea2c[_0x104734(0x296)]=_0x1189ca[_0x104734(0x316)]({'cfg':_0x579347[_0x104734(0x316)](),'createEncryptor':function(_0x244cc0,_0x4052bd){const _0x317ead=_0x104734;return this[_0x317ead(0xe9)](this['_ENC_XFORM_MODE'],_0x244cc0,_0x4052bd);},'createDecryptor':function(_0x3d437e,_0x2f67c5){const _0x26bfdb=_0x104734;return this['create'](this[_0x26bfdb(0x477)],_0x3d437e,_0x2f67c5);},'init':function(_0x539648,_0x121c77,_0xdbe101){const _0x16265e=_0x104734;this['cfg']=this[_0x16265e(0x19e)][_0x16265e(0x316)](_0xdbe101),this[_0x16265e(0x270)]=_0x539648,this[_0x16265e(0xf5)]=_0x121c77,this[_0x16265e(0x18d)]();},'reset':function(){const _0x30a43e=_0x104734;_0x1189ca[_0x30a43e(0x18d)]['call'](this),this[_0x30a43e(0x3a4)]();},'process':function(_0x24129f){const _0x481165=_0x104734;return this[_0x481165(0x538)](_0x24129f),this[_0x481165(0x2e6)]();},'finalize':function(_0x385492){const _0x2e41af=_0x104734;_0x385492&&this[_0x2e41af(0x538)](_0x385492);var _0x4ec5fe=this[_0x2e41af(0x2fd)]();return _0x4ec5fe;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x3be3c6(_0xb7a68d){const _0x3846b2=_0x10d1;return typeof _0xb7a68d==_0x3846b2(0x12e)?_0x77caf1:_0x16b58f;}return function(_0x21b13b){return{'encrypt':function(_0x37be71,_0x29c6ed,_0x53772d){const _0x3f4848=_0x10d1;return _0x3be3c6(_0x29c6ed)[_0x3f4848(0x50b)](_0x21b13b,_0x37be71,_0x29c6ed,_0x53772d);},'decrypt':function(_0xb47a1,_0x11a3ac,_0x30e861){const _0x51f65a=_0x10d1;return _0x3be3c6(_0x11a3ac)[_0x51f65a(0x4b7)](_0x21b13b,_0xb47a1,_0x11a3ac,_0x30e861);}};};}())});_0x22ea2c[_0x104734(0x529)]=_0x204e0f[_0x104734(0x316)]({'_doFinalize':function(){const _0x4fd50b=_0x104734;var _0x425902=this[_0x4fd50b(0x2e6)](!0x0);return _0x425902;},'blockSize':0x1});var _0x3988b4=_0x21a855[_0x104734(0x3c4)]={},_0x300774=_0x22ea2c['BlockCipherMode']=_0x579347[_0x104734(0x316)]({'createEncryptor':function(_0x4f23e0,_0x13caa5){const _0x2f4b9a=_0x104734;return this[_0x2f4b9a(0xd1)][_0x2f4b9a(0xe9)](_0x4f23e0,_0x13caa5);},'createDecryptor':function(_0x1aa341,_0x51f9c0){const _0x4b4d8a=_0x104734;return this[_0x4b4d8a(0x3f0)][_0x4b4d8a(0xe9)](_0x1aa341,_0x51f9c0);},'init':function(_0x4652f6,_0x9052cf){const _0x50d14f=_0x104734;this['_cipher']=_0x4652f6,this[_0x50d14f(0x100)]=_0x9052cf;}}),_0x1c8b80=_0x3988b4['CBC']=(function(){const _0x5d0d45=_0x104734;var _0x18a15e=_0x300774[_0x5d0d45(0x316)]();_0x18a15e[_0x5d0d45(0xd1)]=_0x18a15e[_0x5d0d45(0x316)]({'processBlock':function(_0x58946d,_0x1db5ae){const _0xe65125=_0x5d0d45;var _0x2368d0=this[_0xe65125(0x521)],_0x250a55=_0x2368d0['blockSize'];_0x40abf4[_0xe65125(0x16c)](this,_0x58946d,_0x1db5ae,_0x250a55),_0x2368d0[_0xe65125(0x114)](_0x58946d,_0x1db5ae),this[_0xe65125(0xe2)]=_0x58946d['slice'](_0x1db5ae,_0x1db5ae+_0x250a55);}}),_0x18a15e['Decryptor']=_0x18a15e[_0x5d0d45(0x316)]({'processBlock':function(_0x326321,_0x3993c7){const _0x18389d=_0x5d0d45;var _0x326204=this[_0x18389d(0x521)],_0x1dbf74=_0x326204[_0x18389d(0x11d)],_0x48a00a=_0x326321[_0x18389d(0x2b1)](_0x3993c7,_0x3993c7+_0x1dbf74);_0x326204[_0x18389d(0x195)](_0x326321,_0x3993c7),_0x40abf4[_0x18389d(0x16c)](this,_0x326321,_0x3993c7,_0x1dbf74),this[_0x18389d(0xe2)]=_0x48a00a;}});function _0x40abf4(_0x24ec6b,_0x2ac934,_0x19c91e){const _0x120f2b=_0x5d0d45;var _0x34bf23,_0x1ebb5e=this[_0x120f2b(0x100)];_0x1ebb5e?(_0x34bf23=_0x1ebb5e,this['_iv']=_0x4c746f):_0x34bf23=this[_0x120f2b(0xe2)];for(var _0x44905d=0x0;_0x44905d<_0x19c91e;_0x44905d++)_0x24ec6b[_0x2ac934+_0x44905d]^=_0x34bf23[_0x44905d];}return _0x18a15e;}()),_0x3c0d62=_0x21a855[_0x104734(0x310)]={},_0x2de561=_0x3c0d62[_0x104734(0x262)]={'pad':function(_0x274d9a,_0x59e2d5){const _0x4cdfd6=_0x104734;for(var _0x12bc6a=_0x59e2d5*0x4,_0x190857=_0x12bc6a-_0x274d9a['sigBytes']%_0x12bc6a,_0x2ba417=_0x190857<<0x18|_0x190857<<0x10|_0x190857<<0x8|_0x190857,_0x498ebf=[],_0x58afcf=0x0;_0x58afcf<_0x190857;_0x58afcf+=0x4)_0x498ebf[_0x4cdfd6(0x540)](_0x2ba417);var _0x47e047=_0x430788['create'](_0x498ebf,_0x190857);_0x274d9a[_0x4cdfd6(0x204)](_0x47e047);},'unpad':function(_0x235a7a){const _0x41dbd3=_0x104734;var _0x4aeb7e=_0x235a7a[_0x41dbd3(0x53a)][_0x235a7a[_0x41dbd3(0x509)]-0x1>>>0x2]&0xff;_0x235a7a[_0x41dbd3(0x509)]-=_0x4aeb7e;}};_0x22ea2c[_0x104734(0x10f)]=_0x204e0f[_0x104734(0x316)]({'cfg':_0x204e0f[_0x104734(0x19e)][_0x104734(0x316)]({'mode':_0x1c8b80,'padding':_0x2de561}),'reset':function(){const _0x3e538a=_0x104734;var _0x9656bd;_0x204e0f['reset']['call'](this);var _0x29a236=this[_0x3e538a(0x19e)],_0xbf70e=_0x29a236['iv'],_0x2dcbae=_0x29a236[_0x3e538a(0x3c4)];this[_0x3e538a(0x270)]==this['_ENC_XFORM_MODE']?_0x9656bd=_0x2dcbae[_0x3e538a(0x125)]:(_0x9656bd=_0x2dcbae[_0x3e538a(0xee)],this['_minBufferSize']=0x1),this[_0x3e538a(0x493)]&&this[_0x3e538a(0x493)][_0x3e538a(0x22b)]==_0x9656bd?this[_0x3e538a(0x493)]['init'](this,_0xbf70e&&_0xbf70e[_0x3e538a(0x53a)]):(this['_mode']=_0x9656bd[_0x3e538a(0x16c)](_0x2dcbae,this,_0xbf70e&&_0xbf70e['words']),this[_0x3e538a(0x493)][_0x3e538a(0x22b)]=_0x9656bd);},'_doProcessBlock':function(_0x4241bb,_0x22c491){const _0x14bcb3=_0x104734;this[_0x14bcb3(0x493)]['processBlock'](_0x4241bb,_0x22c491);},'_doFinalize':function(){const _0x49cff2=_0x104734;var _0x1c9536,_0x362bfa=this[_0x49cff2(0x19e)][_0x49cff2(0x4e6)];return this[_0x49cff2(0x270)]==this[_0x49cff2(0xf6)]?(_0x362bfa[_0x49cff2(0x310)](this['_data'],this[_0x49cff2(0x11d)]),_0x1c9536=this[_0x49cff2(0x2e6)](!0x0)):(_0x1c9536=this['_process'](!0x0),_0x362bfa['unpad'](_0x1c9536)),_0x1c9536;},'blockSize':0x80/0x20});var _0x4b348b=_0x22ea2c['CipherParams']=_0x579347[_0x104734(0x316)]({'init':function(_0x41d329){this['mixIn'](_0x41d329);},'toString':function(_0x4df9bf){const _0x59f92e=_0x104734;return(_0x4df9bf||this[_0x59f92e(0x446)])['stringify'](this);}}),_0x3ed845=_0x21a855[_0x104734(0x237)]={},_0x2d8a5a=_0x3ed845[_0x104734(0x25b)]={'stringify':function(_0x26514d){const _0x32c6e4=_0x104734;var _0x35bfcc,_0x1d143e=_0x26514d[_0x32c6e4(0x23a)],_0x4befa7=_0x26514d[_0x32c6e4(0x180)];return _0x4befa7?_0x35bfcc=_0x430788[_0x32c6e4(0xe9)]([0x53616c74,0x65645f5f])[_0x32c6e4(0x204)](_0x4befa7)[_0x32c6e4(0x204)](_0x1d143e):_0x35bfcc=_0x1d143e,_0x35bfcc[_0x32c6e4(0x443)](_0x4294e5);},'parse':function(_0x4d9d1f){const _0x5049fe=_0x104734;var _0x48a563,_0x4cee7f=_0x4294e5[_0x5049fe(0x17d)](_0x4d9d1f),_0x4b792f=_0x4cee7f['words'];return _0x4b792f[0x0]==0x53616c74&&_0x4b792f[0x1]==0x65645f5f&&(_0x48a563=_0x430788[_0x5049fe(0xe9)](_0x4b792f[_0x5049fe(0x2b1)](0x2,0x4)),_0x4b792f[_0x5049fe(0x28d)](0x0,0x4),_0x4cee7f[_0x5049fe(0x509)]-=0x10),_0x4b348b[_0x5049fe(0xe9)]({'ciphertext':_0x4cee7f,'salt':_0x48a563});}},_0x16b58f=_0x22ea2c['SerializableCipher']=_0x579347[_0x104734(0x316)]({'cfg':_0x579347[_0x104734(0x316)]({'format':_0x2d8a5a}),'encrypt':function(_0x4af82b,_0x279896,_0x10d0cc,_0x3bd7d3){const _0x293cdd=_0x104734;_0x3bd7d3=this[_0x293cdd(0x19e)][_0x293cdd(0x316)](_0x3bd7d3);var _0x338754=_0x4af82b[_0x293cdd(0x125)](_0x10d0cc,_0x3bd7d3),_0x3b847d=_0x338754[_0x293cdd(0x259)](_0x279896),_0x3f2a40=_0x338754['cfg'];return _0x4b348b[_0x293cdd(0xe9)]({'ciphertext':_0x3b847d,'key':_0x10d0cc,'iv':_0x3f2a40['iv'],'algorithm':_0x4af82b,'mode':_0x3f2a40[_0x293cdd(0x3c4)],'padding':_0x3f2a40[_0x293cdd(0x4e6)],'blockSize':_0x4af82b[_0x293cdd(0x11d)],'formatter':_0x3bd7d3[_0x293cdd(0x237)]});},'decrypt':function(_0x4c1b55,_0x25433d,_0x39f8a5,_0x1f9e6a){const _0xbae21b=_0x104734;_0x1f9e6a=this[_0xbae21b(0x19e)]['extend'](_0x1f9e6a),_0x25433d=this[_0xbae21b(0x438)](_0x25433d,_0x1f9e6a[_0xbae21b(0x237)]);var _0x44d290=_0x4c1b55['createDecryptor'](_0x39f8a5,_0x1f9e6a)[_0xbae21b(0x259)](_0x25433d['ciphertext']);return _0x44d290;},'_parse':function(_0x205c5e,_0x353f45){const _0x2eaf7a=_0x104734;return typeof _0x205c5e=='string'?_0x353f45[_0x2eaf7a(0x17d)](_0x205c5e,this):_0x205c5e;}}),_0x533924=_0x21a855['kdf']={},_0x3ca464=_0x533924[_0x104734(0x25b)]={'execute':function(_0x800945,_0x4f1658,_0x439392,_0x43ec5e,_0x33e92c){const _0xa7480e=_0x104734;if(_0x43ec5e||(_0x43ec5e=_0x430788[_0xa7480e(0x151)](0x40/0x8)),_0x33e92c)var _0x2a4014=_0x2badfa['create']({'keySize':_0x4f1658+_0x439392,'hasher':_0x33e92c})['compute'](_0x800945,_0x43ec5e);else var _0x2a4014=_0x2badfa[_0xa7480e(0xe9)]({'keySize':_0x4f1658+_0x439392})[_0xa7480e(0x419)](_0x800945,_0x43ec5e);var _0x51c51f=_0x430788[_0xa7480e(0xe9)](_0x2a4014[_0xa7480e(0x53a)]['slice'](_0x4f1658),_0x439392*0x4);return _0x2a4014['sigBytes']=_0x4f1658*0x4,_0x4b348b[_0xa7480e(0xe9)]({'key':_0x2a4014,'iv':_0x51c51f,'salt':_0x43ec5e});}},_0x77caf1=_0x22ea2c[_0x104734(0x1c3)]=_0x16b58f[_0x104734(0x316)]({'cfg':_0x16b58f[_0x104734(0x19e)][_0x104734(0x316)]({'kdf':_0x3ca464}),'encrypt':function(_0x2f6064,_0x3b2388,_0xf1850b,_0x313f94){const _0x2dcd47=_0x104734;_0x313f94=this[_0x2dcd47(0x19e)][_0x2dcd47(0x316)](_0x313f94);var _0x44e00a=_0x313f94[_0x2dcd47(0x25c)][_0x2dcd47(0x105)](_0xf1850b,_0x2f6064[_0x2dcd47(0x3c5)],_0x2f6064[_0x2dcd47(0x15c)],_0x313f94['salt'],_0x313f94[_0x2dcd47(0x1d8)]);_0x313f94['iv']=_0x44e00a['iv'];var _0x547b4c=_0x16b58f[_0x2dcd47(0x50b)][_0x2dcd47(0x16c)](this,_0x2f6064,_0x3b2388,_0x44e00a[_0x2dcd47(0x4d0)],_0x313f94);return _0x547b4c['mixIn'](_0x44e00a),_0x547b4c;},'decrypt':function(_0x34078e,_0x4a5429,_0x15c8a5,_0x222b82){const _0x19828a=_0x104734;_0x222b82=this[_0x19828a(0x19e)][_0x19828a(0x316)](_0x222b82),_0x4a5429=this[_0x19828a(0x438)](_0x4a5429,_0x222b82[_0x19828a(0x237)]);var _0x4dd62f=_0x222b82[_0x19828a(0x25c)][_0x19828a(0x105)](_0x15c8a5,_0x34078e['keySize'],_0x34078e[_0x19828a(0x15c)],_0x4a5429[_0x19828a(0x180)],_0x222b82[_0x19828a(0x1d8)]);_0x222b82['iv']=_0x4dd62f['iv'];var _0x4c74=_0x16b58f[_0x19828a(0x4b7)]['call'](this,_0x34078e,_0x4a5429,_0x4dd62f[_0x19828a(0x4d0)],_0x222b82);return _0x4c74;}});}();}));}(ft)),ft[_0x4ec3ba(0x40d)];}(function(_0x7891f1,_0x28ebb0){(function(_0x4535fc,_0x3b1572,_0x370dd4){const _0x1f81ff=_0x10d1;_0x7891f1[_0x1f81ff(0x40d)]=_0x3b1572(oe(),On(),ar(),Dn(),wn());}(X,function(_0x4df7ee){const _0x8bd98c=_0x10d1;return(function(){const _0x427352=_0x10d1;var _0x3ad55e=_0x4df7ee,_0x529128=_0x3ad55e[_0x427352(0x342)],_0x323a26=_0x529128[_0x427352(0x10f)],_0x4d6a9b=_0x3ad55e[_0x427352(0x474)],_0x3fc0fe=[],_0x314312=[],_0x47dc0=[],_0x14dc18=[],_0x4bef0e=[],_0x23f9b4=[],_0x120d85=[],_0x435de6=[],_0x285a93=[],_0x1608fa=[];(function(){for(var _0x230f86=[],_0x429410=0x0;_0x429410<0x100;_0x429410++)_0x429410<0x80?_0x230f86[_0x429410]=_0x429410<<0x1:_0x230f86[_0x429410]=_0x429410<<0x1^0x11b;for(var _0x1b79bb=0x0,_0x1d38b7=0x0,_0x429410=0x0;_0x429410<0x100;_0x429410++){var _0x21b58c=_0x1d38b7^_0x1d38b7<<0x1^_0x1d38b7<<0x2^_0x1d38b7<<0x3^_0x1d38b7<<0x4;_0x21b58c=_0x21b58c>>>0x8^_0x21b58c&0xff^0x63,_0x3fc0fe[_0x1b79bb]=_0x21b58c,_0x314312[_0x21b58c]=_0x1b79bb;var _0x77840=_0x230f86[_0x1b79bb],_0x141b1c=_0x230f86[_0x77840],_0x5c6e16=_0x230f86[_0x141b1c],_0x1a15e1=_0x230f86[_0x21b58c]*0x101^_0x21b58c*0x1010100;_0x47dc0[_0x1b79bb]=_0x1a15e1<<0x18|_0x1a15e1>>>0x8,_0x14dc18[_0x1b79bb]=_0x1a15e1<<0x10|_0x1a15e1>>>0x10,_0x4bef0e[_0x1b79bb]=_0x1a15e1<<0x8|_0x1a15e1>>>0x18,_0x23f9b4[_0x1b79bb]=_0x1a15e1;var _0x1a15e1=_0x5c6e16*0x1010101^_0x141b1c*0x10001^_0x77840*0x101^_0x1b79bb*0x1010100;_0x120d85[_0x21b58c]=_0x1a15e1<<0x18|_0x1a15e1>>>0x8,_0x435de6[_0x21b58c]=_0x1a15e1<<0x10|_0x1a15e1>>>0x10,_0x285a93[_0x21b58c]=_0x1a15e1<<0x8|_0x1a15e1>>>0x18,_0x1608fa[_0x21b58c]=_0x1a15e1,_0x1b79bb?(_0x1b79bb=_0x77840^_0x230f86[_0x230f86[_0x230f86[_0x5c6e16^_0x77840]]],_0x1d38b7^=_0x230f86[_0x230f86[_0x1d38b7]]):_0x1b79bb=_0x1d38b7=0x1;}}());var _0x4b0fd1=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x54b096=_0x4d6a9b[_0x427352(0x2e9)]=_0x323a26[_0x427352(0x316)]({'_doReset':function(){const _0x53a0f3=_0x427352;var _0x203fcb;if(!(this[_0x53a0f3(0x475)]&&this[_0x53a0f3(0x261)]===this['_key'])){for(var _0x46d576=this[_0x53a0f3(0x261)]=this[_0x53a0f3(0xf5)],_0x885faa=_0x46d576[_0x53a0f3(0x53a)],_0x2e6a14=_0x46d576[_0x53a0f3(0x509)]/0x4,_0x55d600=this['_nRounds']=_0x2e6a14+0x6,_0x46ca23=(_0x55d600+0x1)*0x4,_0x1103f5=this[_0x53a0f3(0x363)]=[],_0x2ec8ec=0x0;_0x2ec8ec<_0x46ca23;_0x2ec8ec++)_0x2ec8ec<_0x2e6a14?_0x1103f5[_0x2ec8ec]=_0x885faa[_0x2ec8ec]:(_0x203fcb=_0x1103f5[_0x2ec8ec-0x1],_0x2ec8ec%_0x2e6a14?_0x2e6a14>0x6&&_0x2ec8ec%_0x2e6a14==0x4&&(_0x203fcb=_0x3fc0fe[_0x203fcb>>>0x18]<<0x18|_0x3fc0fe[_0x203fcb>>>0x10&0xff]<<0x10|_0x3fc0fe[_0x203fcb>>>0x8&0xff]<<0x8|_0x3fc0fe[_0x203fcb&0xff]):(_0x203fcb=_0x203fcb<<0x8|_0x203fcb>>>0x18,_0x203fcb=_0x3fc0fe[_0x203fcb>>>0x18]<<0x18|_0x3fc0fe[_0x203fcb>>>0x10&0xff]<<0x10|_0x3fc0fe[_0x203fcb>>>0x8&0xff]<<0x8|_0x3fc0fe[_0x203fcb&0xff],_0x203fcb^=_0x4b0fd1[_0x2ec8ec/_0x2e6a14|0x0]<<0x18),_0x1103f5[_0x2ec8ec]=_0x1103f5[_0x2ec8ec-_0x2e6a14]^_0x203fcb);for(var _0xeb00c2=this[_0x53a0f3(0x190)]=[],_0x2f00de=0x0;_0x2f00de<_0x46ca23;_0x2f00de++){var _0x2ec8ec=_0x46ca23-_0x2f00de;if(_0x2f00de%0x4)var _0x203fcb=_0x1103f5[_0x2ec8ec];else var _0x203fcb=_0x1103f5[_0x2ec8ec-0x4];_0x2f00de<0x4||_0x2ec8ec<=0x4?_0xeb00c2[_0x2f00de]=_0x203fcb:_0xeb00c2[_0x2f00de]=_0x120d85[_0x3fc0fe[_0x203fcb>>>0x18]]^_0x435de6[_0x3fc0fe[_0x203fcb>>>0x10&0xff]]^_0x285a93[_0x3fc0fe[_0x203fcb>>>0x8&0xff]]^_0x1608fa[_0x3fc0fe[_0x203fcb&0xff]];}}},'encryptBlock':function(_0x108ce2,_0x3a36de){const _0x201576=_0x427352;this[_0x201576(0x444)](_0x108ce2,_0x3a36de,this[_0x201576(0x363)],_0x47dc0,_0x14dc18,_0x4bef0e,_0x23f9b4,_0x3fc0fe);},'decryptBlock':function(_0x5cb6af,_0x270e87){const _0x5b80af=_0x427352;var _0x28ce8e=_0x5cb6af[_0x270e87+0x1];_0x5cb6af[_0x270e87+0x1]=_0x5cb6af[_0x270e87+0x3],_0x5cb6af[_0x270e87+0x3]=_0x28ce8e,this[_0x5b80af(0x444)](_0x5cb6af,_0x270e87,this['_invKeySchedule'],_0x120d85,_0x435de6,_0x285a93,_0x1608fa,_0x314312);var _0x28ce8e=_0x5cb6af[_0x270e87+0x1];_0x5cb6af[_0x270e87+0x1]=_0x5cb6af[_0x270e87+0x3],_0x5cb6af[_0x270e87+0x3]=_0x28ce8e;},'_doCryptBlock':function(_0x572e6e,_0xc0b01b,_0x319919,_0x3383e6,_0x3c2c47,_0x355e89,_0x5eb5fa,_0x5796cd){const _0x395d98=_0x427352;for(var _0x490f76=this[_0x395d98(0x475)],_0x587e58=_0x572e6e[_0xc0b01b]^_0x319919[0x0],_0x2dee07=_0x572e6e[_0xc0b01b+0x1]^_0x319919[0x1],_0x338b7a=_0x572e6e[_0xc0b01b+0x2]^_0x319919[0x2],_0xbd85db=_0x572e6e[_0xc0b01b+0x3]^_0x319919[0x3],_0x1eb127=0x4,_0x4a8859=0x1;_0x4a8859<_0x490f76;_0x4a8859++){var _0x4db5ae=_0x3383e6[_0x587e58>>>0x18]^_0x3c2c47[_0x2dee07>>>0x10&0xff]^_0x355e89[_0x338b7a>>>0x8&0xff]^_0x5eb5fa[_0xbd85db&0xff]^_0x319919[_0x1eb127++],_0x3a8ccc=_0x3383e6[_0x2dee07>>>0x18]^_0x3c2c47[_0x338b7a>>>0x10&0xff]^_0x355e89[_0xbd85db>>>0x8&0xff]^_0x5eb5fa[_0x587e58&0xff]^_0x319919[_0x1eb127++],_0x445d00=_0x3383e6[_0x338b7a>>>0x18]^_0x3c2c47[_0xbd85db>>>0x10&0xff]^_0x355e89[_0x587e58>>>0x8&0xff]^_0x5eb5fa[_0x2dee07&0xff]^_0x319919[_0x1eb127++],_0x4c6d27=_0x3383e6[_0xbd85db>>>0x18]^_0x3c2c47[_0x587e58>>>0x10&0xff]^_0x355e89[_0x2dee07>>>0x8&0xff]^_0x5eb5fa[_0x338b7a&0xff]^_0x319919[_0x1eb127++];_0x587e58=_0x4db5ae,_0x2dee07=_0x3a8ccc,_0x338b7a=_0x445d00,_0xbd85db=_0x4c6d27;}var _0x4db5ae=(_0x5796cd[_0x587e58>>>0x18]<<0x18|_0x5796cd[_0x2dee07>>>0x10&0xff]<<0x10|_0x5796cd[_0x338b7a>>>0x8&0xff]<<0x8|_0x5796cd[_0xbd85db&0xff])^_0x319919[_0x1eb127++],_0x3a8ccc=(_0x5796cd[_0x2dee07>>>0x18]<<0x18|_0x5796cd[_0x338b7a>>>0x10&0xff]<<0x10|_0x5796cd[_0xbd85db>>>0x8&0xff]<<0x8|_0x5796cd[_0x587e58&0xff])^_0x319919[_0x1eb127++],_0x445d00=(_0x5796cd[_0x338b7a>>>0x18]<<0x18|_0x5796cd[_0xbd85db>>>0x10&0xff]<<0x10|_0x5796cd[_0x587e58>>>0x8&0xff]<<0x8|_0x5796cd[_0x2dee07&0xff])^_0x319919[_0x1eb127++],_0x4c6d27=(_0x5796cd[_0xbd85db>>>0x18]<<0x18|_0x5796cd[_0x587e58>>>0x10&0xff]<<0x10|_0x5796cd[_0x2dee07>>>0x8&0xff]<<0x8|_0x5796cd[_0x338b7a&0xff])^_0x319919[_0x1eb127++];_0x572e6e[_0xc0b01b]=_0x4db5ae,_0x572e6e[_0xc0b01b+0x1]=_0x3a8ccc,_0x572e6e[_0xc0b01b+0x2]=_0x445d00,_0x572e6e[_0xc0b01b+0x3]=_0x4c6d27;},'keySize':0x100/0x20});_0x3ad55e[_0x427352(0x2e9)]=_0x323a26['_createHelper'](_0x54b096);}()),_0x4df7ee[_0x8bd98c(0x2e9)];}));}(yn));var hr=yn[_0x2fc972(0x40d)];const _r=xe(hr);var ur=On();const Xt=xe(ur);var Pn={'exports':{}};(function(_0x23c6a0,_0x11d724){(function(_0x202861,_0x275806){const _0x4fd564=_0x10d1;_0x23c6a0[_0x4fd564(0x40d)]=_0x275806(oe());}(X,function(_0x5ef3fc){const _0x1cfbfc=_0x10d1;return _0x5ef3fc[_0x1cfbfc(0x3dc)][_0x1cfbfc(0x52f)];}));}(Pn));var dr=Pn['exports'];const fr=xe(dr);var Un={'exports':{}};(function(_0x2f2bab,_0x5dc7be){(function(_0x200a7a,_0x32a5e8){const _0x1ef94e=_0x10d1;_0x2f2bab[_0x1ef94e(0x40d)]=_0x32a5e8(oe());}(X,function(_0x2bcc0d){const _0x4dd020=_0x10d1;return(function(){const _0x50fa1d=_0x10d1;if(typeof ArrayBuffer==_0x50fa1d(0x4fc)){var _0x4b81fc=_0x2bcc0d,_0x20f700=_0x4b81fc[_0x50fa1d(0x342)],_0x3dd81d=_0x20f700[_0x50fa1d(0x50c)],_0x5f51b9=_0x3dd81d['init'],_0x8fe511=_0x3dd81d[_0x50fa1d(0x173)]=function(_0x18a66b){const _0x1472ee=_0x50fa1d;if(_0x18a66b instanceof ArrayBuffer&&(_0x18a66b=new Uint8Array(_0x18a66b)),(_0x18a66b instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x18a66b instanceof Uint8ClampedArray||_0x18a66b instanceof Int16Array||_0x18a66b instanceof Uint16Array||_0x18a66b instanceof Int32Array||_0x18a66b instanceof Uint32Array||_0x18a66b instanceof Float32Array||_0x18a66b instanceof Float64Array)&&(_0x18a66b=new Uint8Array(_0x18a66b[_0x1472ee(0x147)],_0x18a66b[_0x1472ee(0x2e8)],_0x18a66b[_0x1472ee(0x3ca)])),_0x18a66b instanceof Uint8Array){for(var _0x2cec22=_0x18a66b[_0x1472ee(0x3ca)],_0x4011e0=[],_0xd066ed=0x0;_0xd066ed<_0x2cec22;_0xd066ed++)_0x4011e0[_0xd066ed>>>0x2]|=_0x18a66b[_0xd066ed]<<0x18-_0xd066ed%0x4*0x8;_0x5f51b9['call'](this,_0x4011e0,_0x2cec22);}else _0x5f51b9[_0x1472ee(0x2ce)](this,arguments);};_0x8fe511[_0x50fa1d(0x11f)]=_0x3dd81d;}}()),_0x2bcc0d['lib'][_0x4dd020(0x50c)];}));}(Un));var vr=Un[_0x2fc972(0x40d)];const mr=xe(vr);var Mn={'exports':{}};(function(_0xa36ded,_0x196f67){(function(_0x59e527,_0x1ca6a7,_0x9f810f){const _0x3759f3=_0x10d1;_0xa36ded[_0x3759f3(0x40d)]=_0x1ca6a7(oe(),wn());}(X,function(_0x3eff94){const _0x5b2a7f=_0x10d1;return _0x3eff94['pad'][_0x5b2a7f(0x250)]={'pad':function(){},'unpad':function(){}},_0x3eff94[_0x5b2a7f(0x310)][_0x5b2a7f(0x250)];}));}(Mn));var Sr=Mn[_0x2fc972(0x40d)];const pr=xe(Sr);function _0x14d0(){const _0x4814ff=['_submitChangeset','/object/','isInternalEditorID','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','activeSheet$','batchAllowed','IMessageService','c2Prime','_onCursorUpdate','_docTransformStateCacheService','Plugin','hidden','roomMembers','image/jpeg','Disposable','_substituteRedoStack','_onRefRangeChange','_oKey','cmd','_collabSessionService','_createInitialStateImpl','collabCursorState$','children','_removeClearOtherTimer','_onUserJoin','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','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_removeCollabCursors','collaboratorID','startRow','__Key__','SnapshotServerOverHTTPService','equals','currentColor','_socketMessageSubscription','dispose$','collabStatus.syncing','HmacMD5','toStringTag','_applyRemoteChangeset','@univerjs/network','getActiveSheet','HEADER_MENU','offline','onMouseMove','href','close$','setInterval','replaceState','27bdeLUf','socketService','_transformUndoRedoStack','translate(.97)','_startSheetCollabCursor','_doReset','_syncEditingCollabCursorService','LIVESHARE_OPERATION','OffLineSingle','setWaitCount','object','_collabCursorState$','updatePermissionPoint','onRemoteChangeset','_acknowledgedAwaitingChangeset','sheetId','combineLatest','_handleHeartbeatEvent','COLLAB_SUBMIT_CHANGESET_URL','_roomMembers$','send','_removeRoom','roomInfos','_messageService','randomUUID','HELLO','IUniverInstanceService','_drawAnchor','HEARTBEAT','_members','Tools','_commandService','@univerjs-pro/collaboration','_updateLocalCache','mixIn','_collaborationController','drawWith','mode','keySize','image/gif','_unitStatus','objectActions','status','byteLength','isTransformMutationsWithChangesetSuccess','isActive','stringify','fillText','get','method','arc','ImageSourceType','Base','min','iterations','onReady','hasOwnProperty','MUTATION','useObservable','_rescheduleHeartbeat','@univerjs/sheets-ui','enc','ERROR_IMAGE','appendMutation','closePath','TEXT_RANGE_LAYER_INDEX','useDependency','liveShareNewHost','_handleLeaveEvent','getWorkbookSelections','_logService','onPointerEnter$','_redoStacks','findNodePositionByCharIndex','colorChannel1','getCollabEntity','confirm','getCollabCursors$','font','SNAPSHOT_HAS_BEEN_REMOVED','set','Decryptor','_startTelemetryCollaborationNewChangeset','_startDocCollabCursor','onRendered','propertyIsEnumerable','_transformUndoredo','handleInsertRangeMoveRight','online','NodePositionConvertToCursor','_hideTimer','DataLoaderController','_exhaustRemoteChangesetQueue','onlyLocal','body','_initResize','permissionRejEvent','_pendingMutations','_incrementRevisionNumber','floor','clone','delay','commentUpdateEvent','color','_imageSourceCache','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','fromEvent','MessageType','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','m1Prime','exports','&source=','_userManagerService','ranges','NOT_FOUND','_compressMutationService','state$','revision','reduce','UNKNOWN_CODE','getCellPositionByOffset','setItem','compute','ImageIoService','subscribeEvent','fetchMiss','_scheduleClearOtherTimer','useRef','getTypeOfUnitAdded$','roomMembers$','clearInterval','forEach','getOwnPropertyDescriptor','fetch_missing','copyFileMeta','selection','_docTransformSelectionsService','collaMsg','_schedule','_updateStatus','gold400','requireSession','collabStatus.notCollab','jsx','transformUndoRedo','/-/object/-/batch_allowed','replace','withCredentials','getUnitStatus$','xlink:href','_clearOtherTimers','split','_getSaveTimeout','_parse','conflict.content','state','setCurrentUser','socket$','SNAPSHOT_URL_KEY','RegularPolygon','image/jpg','getCurrentSelections','getSkeleton','5201770sibsSz','toString','_doCryptBlock','_entityInit$','formatter','_tryReconnect','IBeforeCloseService','_lockTransition','requestParams','_sessionStatus$','CollaborationSocketService','_iKey','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','Error','next','ICommandService','useCallback','OnLineSingle','_replaceFileID','OFFLINE','show','Optional','_snapshotService','_textBubble','607ChnnRZ','getCoordByCell','NEW_CHANGESETS','CollaborationSessionService','fromCharCode','originalMeta','InsertRangeMoveRightCommandId','_onLocalMutation','IURLService','onSyncEditingCollabCursor','LocalCacheService','undoState','textRanges','newCsEvent','_change$','subUnitId','onlineStatus','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','fetchThroughInterceptors','makeDirty','_localeService','_session','CHANGESET_ACK','InsertSheetMutation','FETCH_MISSING','collaboration-client.offline-data-not-saved','algo','_nRounds','max','_DEC_XFORM_MODE','defIds','_checkMissing','_cursorShapes','on-line-single','loadOfflineData','endColumn','lineTo','visibilitychange','sessionStatus','_range','loadDoc','univer-pro.collaboration-client-socket-service','unsubscribe','_draw','serializeRangeWithSheet','_initStatusListener','red300','ReactCurrentOwner','message$','off-line-single','isPermissionRej','UnitEmbedded','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_resendTimeout','getUnitType','duration','mutations','_mode','univer-offline','labelPosition','onlineStatusIcon','_socket$','reject','_state','fill','/block/','svg','removeMember','SheetCollaborationEntity','HTTPRequest','_updateURLWithCurrentState','HTTPService','_changesetSessionId','getValue','ITransformService','NodePositionConvertToRectRange','WebURLService','_HTTPService','startTime','getCurrentUser','registerDependencies','HEARTBEAT_TIMEOUT_KEY','actions','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','SEND_CHANGESET_TIMEOUT','resourceIDs','msCrypto','beginPath','_getMergeRange','shareReplay','_startCollaboration','_drawRectRange','LICENSE_MAX_UNITS_EXCEEDED','decrypt','registerRenderModule','complete','/universer-api/oidc/authpage','_initMergeInterceptor','_getUploadFileURL','COMPLETION_FINISHED','CHANGESET_REVISION_CONFILICT','exhaustSavingTask','c1Prime','LICENSE_EXPORT_SIZE_EXCEEDED','collabStatus.synced','/rev/','getOffsetConfig','_updateSubUnitFromURLParams','crypto','getOwnPropertySymbols','transformStack\x20failed!','_unitOnClients','eventID','sessionStatus$','[FetchMissState]','MSG_FOR_ERROR','SEND_CHANGESET_TIMEOUT_KEY','_onFetchMissResult','key','?size=','parseProtocolChangeset','_univerInstanceService','SYNCED','saveOfflineData','includes','_resendTimer','getUnhiddenWorksheets','_getCtorByUniverType','getDocRanges','APPLY_DUPLICATED','take','reqId','save\x20fail\x20reason\x20is\x20','[CollaborationUndoRedoService]','catch','join','with','sequenceExecute','_onUserLeave','LOCAL_CACHE_INTERVAL_KEY','padding','clamp','_httpService','indexOf','collabWebSocketUrl','_hash','{fileID}','getCurrent','transformMutationsWithChangeset','_cursorInfo$','LICENSE_IMPORT_SIZE_EXCEEDED','@univerjs/engine-formula','EvpKDF','_scheduleTimestamp','focused$','InsertRangeMoveDownCommandId','entries','hostname','_collabCursorController','append','getTypeOfUnitDisposed$','_nDataBytes','function','fetchMissingChangesets','from','getMergeData','CollaborationController','getLatestCsReqIdBySid','_onCombEvent','disposeUnit','getColor','session.will-retry','getCollabEntity$','throttleTime','sheets','sigBytes','USERS_LEAVE','encrypt','WordArray','INTERNAL_ERROR','[CollaborationEntity]','_isPermissionRej','values','tag','transformIMECache','setConfig','mapDocumentTypeToUniverType','\x20in\x20_schedule.','_transformHistoryAndStateStack','changesets','getTime','getImage','distinctUntilChanged','SetWorksheetActivateCommand','_getSignURL','memberID','_configService','createSocket','csShouldRetryEvent','_cipher','encode','_updateState','awaiting','_name','liveShareOperation','_sendHeartbeatTimer','contains','StreamCipher','_createHelper','_drawTextRange','onSendChangeset','_refRangeService','saveImage','Utf8','clearTimeout','@univerjs/docs','on-line-single_clip0_910_349','DocSkeletonManagerService','CONNECTOR_DATA_TOO_LARGE','UniverCollaborationPlugin','displayName','syncEditingCollabCursor','_append','univerjs-icon\x20univerjs-icon-','words','LIVESHARE_TERMINATE','_assignedColors','getUndoRedoMutationParamsCache','_clearCollaborationTimeoutTimer','DocCollaborationEntity','push','VIEWPORT_KEY','skeleton','_syncEditingCollabCursor','onMissedChangesetFetched','TEXT','SnapshotService','stopTime','getStateCache','onTransformRemoteChangesetByIMECache','engine','x-univer-host','CONFLICT','pipe','listRoles','_onConnectionOpen','_socket','/unit/','name','?url=','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','enableOfflineEditing','collaborators','_docSkeletonManagerService','getRandomValues','CollaborationStatus','LocalUndoRedoService','addObjects','unitId','docStateChange$','save','updateOfflineData','onRemoteRetry','_updateCollabCursors','_clearScheduledTask','unitID','range','whenReady','BuiltInUIPart','executeCommand','type','collaboration-session-retry','visibilityState','_type','enableSingleActiveInstanceLock','_onRecvEvent','LOGIN_URL_KEY','PSEUDO_FETCH_MISSING_RESULT','getCurrentRevOfUnit','Error\x20on\x20receiving\x20event','Hex','HEARTBEAT_INTERVAL','resize','objectType','handleInsertCol','_instanceService','Encryptor','_entities','endRow','Subject','baseRev','responseType','abs','_getAPIPrefix','getUnit','filter','INGEST','getViewport','assign','Inject','_getAnchorBounding','EXCHANGE_SIGN_URL_SERVER_URL_KEY','CompressMutationService','_prevBlock','_undoStacks','FileId','update','snapshot','transformChangesets','SheetSkeletonManagerService','create','11002638RyBDQH','setTimeout','/object','JOINING','createDecryptor','_collaborationPaused','ColorKit','getConfig','generateRandomId','clipPath','collaboration-client.config','_key','_ENC_XFORM_MODE','charCodeAt','isTransformMutationsWithChangesetFailure','telemetry\x20info\x20is\x20not\x20initialized','_getSendChangesetTimeout','transformStateCache','result','members','permission.title','image/png','_iv','RemoveRowCommandId','pauseCollaboration','collabStatus.fetchMiss','then','execute','incrementRevOfUnit','isTransformMutationFailure','SheetsSelectionsService','deepClone','substring','_scheduleCollaborationTimeoutTimer','handleDeleteRangeMoveLeft','Injector','$super','BlockCipher','onPointerLeave$','put','replaceDocRanges','APPLY_REVISION_CONFILICT','encryptBlock','assignAColorForMemberID','_transformService','change$','workbook','/-/object/list','UPDATE_PERMISSION_OBJ','#fff','downloadEndpointUrl','blockSize','_revisionService','prototype','MemberService','[SyncedState]:\x20received\x20acknowledgement.','COLLAB_SUBMIT_CHANGESET_URL_KEY','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','resend','createEncryptor','interceptor','SetTextSelectionsOperation','_onConnectionFailed','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_changesetReqId','getUnitId','current','_localCacheService','string','_onRemoteACK','BehaviorSubject','_sheetSkeletonManagerService','_send','searchParams','_onCursorDelete','_sendingTimer','pending','urlChange$','_getDownloadEndpointURL','IAuthzIoService','repeat','collab-client.tooltip.reconnect','_transitionLocked','not_collab','_saveTaskMap','newValue','DeleteRangeMoveUpCommandId','_clearTimeoutTimer','flatMap','_substituteUndoStack','[CollaborationState]:\x20apply\x20error!','TRANSFORM_CHANGE_OBSERVABLE_TYPE','toDisposable','buffer','UnitSnapshot','COLLAB_WEB_SOCKET_URL_KEY','ref','JOIN','startsWith','length','onCommentUpdate','UniverIcon','ICollaborationSocketService','random','_toggleOffline','url','collaboration_new_changeset','_telemetryService','csRejEvent','1258230xMbFJQ','use','_map','_scene','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','ivSize','SHA1','top','DocIMEInputManagerService','M0\x200H16V16H0z','moveTo','sid','every','unload','YUUMI_RATE_OVER_LIMIT','headers','FETCH_MISS','_unitID','_getScale','fetching\x20missing\x20changesets\x20from\x20','joinRsp','call','MD5','INVALID_ARGUMENT','_commentService','addEventListener','getItem','UniverInstanceType','init','EmptyMutation','_initUnitPermissionChange','createInstance','cursorInfo','__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED','IPermissionService','debug','toggleOnline','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','parse','HmacSHA1','_socketReady','salt','_notificationService','16EDDoVL','createIdentifier','_renderManagerService','_replayCachedMutations','101199xFjBxb','_retryConnectingTimer','COLORS','Tooltip','_snapshotServerService','listCollaborators','[CollaborationSessionService]','reset','onStarting','RETRY_CONNECTING_MAX_COUNT_KEY','_invKeySchedule','data','_init','_setupBeforeClosingHandler','InsertColCommandId','decryptBlock','reverse','_beforeCloseService','_collaborationSessionService','awaiting_with_pending','_retryCount','onMissingChangesets','_resendWithTimeout','Warning','cfg','pushState','DisposableCollection','encodeURIComponent','_telemetryInfo','concatMap','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','OTHER_CLIENTS_EDITING','_tryEnsureSocket','disposeWithMe','_singleActiveUnitService','HttpImport','YUUMI_URL_COL_OUT_OF_RANGE','capture','conflict','Undefined','_fetchMissChangesets','_onRemoteRejected','getRenderById','_online','post','_cursor','_reverseMap','transformSelections','getAncestorScale','IUIPartsService','getCurrentUnitForType','_disabled','UNDEFINED','_getSnapshotAPIPrefix','_hover','_loadDoc','UPDATE_CURSOR','_getCurrentRevision','awaitingChangeset','_commentUpdate$','_event$','PasswordBasedCipher','status$','commentUpdate$','round','_data','div','loadSheet','size','getRoom','ThemeService','_id','_initEventListeners','width','WebSocketService','_sendHeartbeat','/fetchmissing?from=','IUndoRedoService','UNIVER_COLLABORATION_CLIENT_PLUGIN','_decreaseWaiting','_handleHover','_candidateSocket','hasher','triggerDblclick','_clearLocalCache','attrs','[PendingState]:\x20received\x20acknowledgement.','_listenToOnlineEvent','_refreshCollabCursors','backgroundColor','...','/universer-api/authz','m2Prime','_queuedRemoteChangesets','_transformIMECache','UNRECOGNIZED','_clearRedo','b64DecodeUnicode','ReplaySubject','univer-pro.collaboration-client.single-active-unit-service','LIVESHARE_REQUEST_HOST','Rectangle','\x20to\x20','onTransformChange$','\x0aCurrent:\x20','_onJoinRoomEvent','UniverCollaborationClientPlugin','debounce','addObject','asObservable','objectID','bottom','_permissionService','ThresholdInterceptorFactory','reconnect','getRangePointData','fillRule','CHANGESET_REJ','ILogService','textEncoder','handleMoveRange','UNIVER_SLIDE','ENSURE_SNAPSHOT_EXECUTION','blue400','BASE64','ACTIVE_UNIT_EVENT_CHANNEL','concat','_lastPointer','onRemoteAck','0\x200\x2017\x2016','1em','_hovered','_loadSheet','_onOffline','json','@univerjs/rpc','_eventUnsubscribe','ERROR_IMAGE_TYPE','@univerjs/telemetry','clear','SHOULD_CLOSE_CONN','univer-online','_disableEditing','SheetPermissionInitController','UNIVER_UNKNOWN','hovered','FromArray','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_shouldReportTelemetry','[OfflineState]:\x20received\x20rejection.','deserializeRangeWithSheet','_throwTelemetryCollaborationNewChangeset','socket\x20close','@univerjs/sheets','setAlpha','_render','RxDisposable','onStateChange','close','_getLoginPath','_registerDependencies','_uiPartsService','AuthzIoHttpService','@univerjs/design','[DataLoaderController]','__creator','_cursors','IRemoteInstanceService','[SyncedState]:\x20received\x20rejection.','UNIVER_DOC','react.element','APPLY_REJECT','sendChangesetTimeout','ERROR_EXCEED_SIZE','_socketService','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_shapes','format','mapTo','removeParam','ciphertext','closeSession','_createSocket','_docSyncEditingCollabCursorService','_handler','number','_urlService','path','fillStyle','subscribe','url(#on-line-single_clip0_910_349)','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','CollaborationSession','registerRefRange','transform','isArray','location','session.collaboration-timeout','_transformRemoteChangesetByStateCache','AWAITING','black','4676somniI','NoPadding','SNAPSHOT_INVALID_SNAPSHOT','UNIVER_SHEET','idSuffix','SetDocZoomRatioOperation','_clearUndo','NO_OTHER_CLIENTS_EDITING','_getRedoStack','Vector2','finalize','PERMISSION_REJ','OpenSSL','kdf','verdancy600','registerBeforeClose','height','_ensureSubject','_keyPriorReset','Pkcs7','session.connection-failed','_cachedData','unknown','_themeService','onTransformSelections','collab-text-range-','roles','_setupSubUnitSync','updateMember','_waitCount','takeUntil','open$','_minBufferSize','_xformMode','code','getSheetBlock','_colorIndex','react.fragment','currentTheme$','1171303zdxYVb','jsxs','_executeRemoteChangeset','refreshPermission','_color','userID','editingUnit','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_remoteChangesetQueue','_handleJoinEvent','_registerRenderDependencies','some','BufferedBlockAlgorithm','synced','_anchor','redoState','collaboration.single-unit.warning','getMemberID','toggleOffline','createElement','putCollaborators','_sender','toRgbString','splice','_initDependencies','_transformPreviousActiveRange','createCollaborator','@univerjs/core','column','popstate','registerComponent','disableLocalCache','Cipher','APPLY_NON_SEQUENTIAL_REVISION','connection\x20error','collab-text-anchor-','bind','selections','_createHmacHelper','_localStorageService','7706720ZxvNKt','Fragment','getVpScrollXYInfoByPosToVp','error$','SessionStatus','HMAC','hide','uploadFileServerUrl','CHANGESET_SHOULD_RETRY','PERMISSION_DENIED','compose','_saveCache','isTransformChangesetsSuccess','conflict.title','debounceTime','params','APPLY_PERMISSION_DENIED','_updateLocalCursor','unshift','slice','session','WorkbookEditablePermission','LEAVE','_undoRedoService','_hasher','CollaborationEvent','registerHTTPInterceptor','Rect','MoveRangeCommandId','setStateCache','getMember','_injector','error','@univerjs/ui','SetSelectionsOperation','IRenderManagerService','saveSheetBlock','handleInsertRow','routeKey','transformMutation','_context','forwardRef','RETRY_CONNECTING_MAX_COUNT','className','_initRequestHeader','defs','RichTextEditingMutation','TOO_MANY_REQUESTS','apply','LocaleService','uni.network.url-service','_initCloseConn','setShowComponents','saveSnapshot','ILocalStorageService','_listenToOfflineEvent','onCommandExecuted','AUTHZ_URL_KEY','VIEW_MAIN','_timeoutTimer','evenodd','_scheduleSaving','map','socket\x20open.','FAIL','getFocusedUnit','_state$','find','_collaborationTimeoutTimer','getInterceptPoints','_getUndoStack','rng','_process','NOT_COLLAB','byteOffset','AES','measureText','touchDependencies','_transformRemoteChangesetByIMECache','_roomMembers','now','trim','permission.content','localeService','DocStateChangeManagerService','_heartbeatTimer','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_colorAssignService','Base64','getUniverSheetInstance','YUUMI_UNABLE_LOAD_URL','transformRemoteChangeset','for','onTransformIME','_doFinalize','getAllMembers','loginUrlKey','/role','override','IDLE','/collaborator','[CollaborationSession]','initWorkbookPermissionChange','SUBMIT_CHANGESET','_sheetTransformSelectionsService','updateCursorEvent','PENDING','UUID','_initCommandExecutedListener','DocSelectionManagerService','doc.mutation.rich-text-editing','_awaitingChangeset','ONLINE','pad','/universer-api/snapshot/','event$','EffectRefRangId','LIVESHARE_NEW_HOST','_unlockTransition','extend','charAt','ImageUploadStatusType','Hasher','unitId\x20is\x20not\x20found','_waitForHeartbeatResponse','_docTransformIMECacheService','_anchorDot','subunit','_scheduleHeartbeat','_backgroundColor','USERS_ENTER','text','_createHandler','dispose','list','UNKNOWN_CMD','onPointerMove$','&assign=','_getAPIPrefixPath','row','runRefRangeMutations','cursorInfo$','[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.','getSheetId','getParam','url(#off-line-single_clip0_910_343)','POST','delete','CollaborationEntity','handleDeleteRangeMoveUp','onTransformRemoteChangesetByStateCache','_initStatusComponent','switchMap','CommandType','restore','IConfigService','HttpExport','_onMessage','Unknown\x20user','has','setUndoRedoMutationParamsCache','fromEventSubject','_handleEvent','lib','UserManagerService','COMPRESS_MUTATION_SEND','_config','_transformStack','RevisionService','ALREADY_EXISTS','getRelativeToViewportCoord','add','_stopTelemetryCollaborationNewChangeset','_selfUnitIDs','CollaborationStatusDisplay','DesktopCollaborationStatusDisplayController','infoRsp','_clearHeartbeatTimer','collab-rect-range-','onRemoteRej','_toggleOnline','_onConflict','YUUMI_SUBSCRIPTION_NOT_FOUND','defineProperty','_labelPosition','getResourcesRequest','univer-online-status','_showConflictNotification','DOC_RANGE_TYPE','/new_changes','_memberService','merge','_docStateChangeManagerService','history','getSheetBySheetId','Shape','_keySchedule','unit','failed\x20to\x20apply\x20missed\x20changesets!','RECV','_status$','SNAPSHOT_SERVER_URL_KEY','setShapeProps','off-line-single_clip0_910_343','COMPRESS_MUTATION_APPLY','handleIRemoveRow','_sessions'];_0x14d0=function(){return _0x4814ff;};return _0x14d0();}function gr(_0x242c08,_0x3ab874){const _0x54addc=_0x2fc972,_0x25cabc=_0x3ab874-_0x242c08['length']%_0x3ab874,_0x3cb55c=String[_0x54addc(0x45e)](_0x25cabc)[_0x54addc(0x13a)](_0x25cabc);return _0x242c08+_0x3cb55c;}function Ir(_0x2a95d6,_0x2ee979){const _0x425eb2=_0x2fc972,_0x482dad=mr[_0x425eb2(0x151)](0x10),_0x409387=gr(_0x2a95d6,0x10),_0x55ba49=_r[_0x425eb2(0x50b)](fr[_0x425eb2(0x17d)](_0x409387),Xt[_0x425eb2(0x17d)](_0x2ee979),{'iv':_0x482dad,'padding':pr});return _0x482dad[_0x425eb2(0x204)](_0x55ba49['ciphertext'])[_0x425eb2(0x443)](Xt);}function Cr(){const _0x35c877=_0x2fc972,_0xbc010c=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x35c877(0x38c)];if(_0xbc010c){const _0x4ce699={'time':Math[_0x35c877(0x402)](Date[_0x35c877(0x2ee)]()/0x3e8),'domain':location[_0x35c877(0x4f7)]};return Ir(JSON['stringify'](_0x4ce699),_0xbc010c);}}var Er=Object[_0x2fc972(0x356)],br=Object['getOwnPropertyDescriptor'],Tr=(_0x2a4cf0,_0x4016ce,_0x142a10,_0x35c3ab)=>{const _0x43fee7=_0x2fc972;for(var _0xe61d8e=_0x35c3ab>0x1?void 0x0:_0x35c3ab?br(_0x4016ce,_0x142a10):_0x4016ce,_0x171daa=_0x2a4cf0[_0x43fee7(0x14d)]-0x1,_0x22425e;_0x171daa>=0x0;_0x171daa--)(_0x22425e=_0x2a4cf0[_0x171daa])&&(_0xe61d8e=(_0x35c3ab?_0x22425e(_0x4016ce,_0x142a10,_0xe61d8e):_0x22425e(_0xe61d8e))||_0xe61d8e);return _0x35c3ab&&_0xe61d8e&&Er(_0x4016ce,_0x142a10,_0xe61d8e),_0xe61d8e;},Rr=(_0x3b9215,_0x24ac56)=>(_0x3e441b,_0x404522)=>_0x24ac56(_0x3e441b,_0x404522,_0x3b9215);let Ye=class{constructor(_0x2dac03){const _0x9c1eb=_0x2fc972;this[_0x9c1eb(0x4e8)]=_0x2dac03,this['_initRequestHeader']();}[_0x2fc972(0x2ca)](){const _0x30d845=_0x2fc972;this['_httpService'][_0x30d845(0x2b8)]({'interceptor':(_0x120f68,_0xd82b31)=>{const _0x5426f3=_0x30d845,_0x217b24=_0x120f68[_0x5426f3(0x166)],_0x4e94e5=Cr();return _0x4e94e5&&_0x217b24[_0x5426f3(0x3ef)](_0x5426f3(0x54b),_0x4e94e5),_0xd82b31(_0x120f68);}});}};Ye=Tr([Rr(0x0,a[_0x2fc972(0xde)](Z[_0x2fc972(0x4a1)]))],Ye);var yr=Object[_0x2fc972(0x356)],Or=Object['getOwnPropertyDescriptor'],Dr=(_0xbb29f8,_0x4659f8,_0x366ec5,_0x2383ca)=>{const _0x1f02e8=_0x2fc972;for(var _0x47eab1=_0x2383ca>0x1?void 0x0:_0x2383ca?Or(_0x4659f8,_0x366ec5):_0x4659f8,_0xe72c28=_0xbb29f8[_0x1f02e8(0x14d)]-0x1,_0x457fbf;_0xe72c28>=0x0;_0xe72c28--)(_0x457fbf=_0xbb29f8[_0xe72c28])&&(_0x47eab1=(_0x2383ca?_0x457fbf(_0x4659f8,_0x366ec5,_0x47eab1):_0x457fbf(_0x47eab1))||_0x47eab1);return _0x2383ca&&_0x47eab1&&yr(_0x4659f8,_0x366ec5,_0x47eab1),_0x47eab1;},vt=(_0x259f84,_0x2ecc3b)=>(_0x1e6d49,_0x4ae86d)=>_0x2ecc3b(_0x1e6d49,_0x4ae86d,_0x259f84);const wr=[_0x2fc972(0xff),_0x2fc972(0x37b),_0x2fc972(0x43f),_0x2fc972(0x3c6),'image/bmp'],Pr=0x5*0x400*0x400,Ur=_0x2fc972(0x123),Mr='/universer-api/stream/file/upload',Ar=_0x2fc972(0xe0),Nr='/universer-api/file/{fileID}/sign-url';exports[_0x2fc972(0x41a)]=class{constructor(_0x2faafc,_0x2d2e82,_0x16eec2){const _0x379be5=_0x2fc972;I(this,_0x379be5(0x26c),0x0),I(this,_0x379be5(0x468),new A[(_0x379be5(0xd4))]()),I(this,_0x379be5(0x117),this['_change$']),I(this,_0x379be5(0x407),new Map()),(this[_0x379be5(0x4e8)]=_0x2faafc,this[_0x379be5(0x51e)]=_0x2d2e82,this[_0x379be5(0x4d3)]=_0x16eec2);}[_0x2fc972(0x3a8)](_0x533dc8){const _0x37d2a2=_0x2fc972;this[_0x37d2a2(0x26c)]=_0x533dc8,this[_0x37d2a2(0x468)][_0x37d2a2(0x450)](_0x533dc8);}['getImageSourceCache'](_0x334d00,_0x33828c){const _0x29b182=_0x2fc972;if(_0x33828c===ne[_0x29b182(0x3d2)][_0x29b182(0x202)]){const _0x2819b7=new Image();return _0x2819b7['src']=_0x334d00,_0x2819b7;}return this['_imageSourceCache'][_0x29b182(0x3cf)](_0x334d00);}['addImageSourceCache'](_0x4e4a74,_0xb1f061,_0x2e9903){const _0x19b4fc=_0x2fc972;_0xb1f061===ne[_0x19b4fc(0x3d2)][_0x19b4fc(0x202)]||_0x2e9903==null||this['_imageSourceCache'][_0x19b4fc(0x3ef)](_0x4e4a74,_0x2e9903);}async[_0x2fc972(0x519)](_0x26b7d0){const _0x2a55cb=_0x2fc972;try{const _0x5368b1=this[_0x2a55cb(0x454)](this[_0x2a55cb(0x51c)](),''+_0x26b7d0),_0xbfac64=(await this[_0x2a55cb(0x4e8)][_0x2a55cb(0x3cf)](_0x5368b1))[_0x2a55cb(0x3fd)];if(_0xbfac64['error']&&_0xbfac64[_0x2a55cb(0x2be)][_0x2a55cb(0x271)]===cn['OK']){const _0x6eb020=new URL(_0xbfac64[_0x2a55cb(0x153)],this[_0x2a55cb(0x138)]())['toString']();return Promise['resolve'](_0x6eb020);}return Promise[_0x2a55cb(0x498)](_0xbfac64[_0x2a55cb(0x2be)]);}catch(_0x3bbfe2){return Promise[_0x2a55cb(0x498)](_0x3bbfe2);}}async[_0x2fc972(0x52e)](_0x5c432d){const _0xfa2b49=_0x2fc972;let _0x387fc8='';if(!wr['includes'](_0x5c432d[_0xfa2b49(0xc1)]))return this[_0xfa2b49(0x1d5)](),Promise[_0xfa2b49(0x498)](new Error(ne[_0xfa2b49(0x318)][_0xfa2b49(0x20f)]));if(_0x5c432d[_0xfa2b49(0x1ca)]>Pr)return this['_decreaseWaiting'](),Promise[_0xfa2b49(0x498)](new Error(ne['ImageUploadStatusType'][_0xfa2b49(0x233)]));try{const _0x44a13f=new FormData();_0x44a13f[_0xfa2b49(0x4f9)]('file',_0x5c432d);const _0x2cd6c4=this[_0xfa2b49(0x4d3)][_0xfa2b49(0x2df)](),_0x31bbf4=_0x2cd6c4==null?void 0x0:_0x2cd6c4[_0xfa2b49(0x12b)]();if(!_0x31bbf4)throw new Error(_0xfa2b49(0x31a));const _0x771b9b=this['_getUploadFileURL']()+_0xfa2b49(0x4d1)+_0x5c432d[_0xfa2b49(0x1ca)][_0xfa2b49(0x443)]()+_0xfa2b49(0x40e)+ln[_0xfa2b49(0x48d)]+_0xfa2b49(0x328)+encodeURIComponent(_0x31bbf4),_0x11ae20=await(await fetch(_0x771b9b,{'method':_0xfa2b49(0x331),'body':_0x44a13f}))[_0xfa2b49(0x20c)]();if(typeof _0x11ae20[_0xfa2b49(0xe4)]!='string')return this[_0xfa2b49(0x1d5)](),Promise[_0xfa2b49(0x498)](new Error(ne['ImageUploadStatusType'][_0xfa2b49(0x3dd)]));_0x387fc8=_0x11ae20[_0xfa2b49(0xe4)];}catch{return this['_decreaseWaiting'](),Promise['reject'](new Error(ne[_0xfa2b49(0x318)][_0xfa2b49(0x3dd)]));}return new Promise((_0x1ac330,_0x2c8d08)=>{const _0x19a828=new FileReader();_0x19a828['readAsDataURL'](_0x5c432d),_0x19a828['onload']=_0x393313=>{const _0x46879c=_0x10d1;var _0x7288e8;const _0x145770=(_0x7288e8=_0x393313['target'])==null?void 0x0:_0x7288e8[_0x46879c(0xfc)];if(_0x145770==null){this[_0x46879c(0x1d5)](),_0x2c8d08(new Error(ne[_0x46879c(0x318)][_0x46879c(0x3dd)]));return;}const _0x42f5c3=a['Tools']['generateRandomId'](0x6);_0x1ac330({'imageId':_0x42f5c3,'imageSourceType':ne[_0x46879c(0x3d2)][_0x46879c(0x30a)],'source':_0x387fc8,'base64Cache':_0x145770,'status':ne[_0x46879c(0x318)]['SUCCUSS']}),this[_0x46879c(0x1d5)]();};});}[_0x2fc972(0x4bc)](){const _0x5a9be1=_0x2fc972;var _0x5dcbb9,_0x3313c6;const _0x1403a0=this[_0x5a9be1(0x51e)]['getConfig'](Ur),_0x207f6f=this[_0x5a9be1(0x51e)][_0x5a9be1(0xf1)](te);return(_0x3313c6=(_0x5dcbb9=_0x207f6f==null?void 0x0:_0x207f6f[_0x5a9be1(0x2a5)])!=null?_0x5dcbb9:_0x1403a0)!=null?_0x3313c6:Mr;}[_0x2fc972(0x51c)](){const _0x2574ad=_0x2fc972;var _0x2f9f27,_0x29bd27;const _0x552840=this[_0x2574ad(0x51e)][_0x2574ad(0xf1)](Ar),_0x3e9df0=this[_0x2574ad(0x51e)][_0x2574ad(0xf1)](te);return(_0x29bd27=(_0x2f9f27=_0x3e9df0==null?void 0x0:_0x3e9df0['signUrlServerUrl'])!=null?_0x2f9f27:_0x552840)!=null?_0x29bd27:Nr;}[_0x2fc972(0x138)](){const _0x5e9c46=_0x2fc972;var _0x73b372;const _0xf9b345=this[_0x5e9c46(0x51e)][_0x5e9c46(0xf1)](te);return(_0x73b372=_0xf9b345==null?void 0x0:_0xf9b345[_0x5e9c46(0x11c)])!=null?_0x73b372:location['origin'];}[_0x2fc972(0x454)](_0x32c12a,_0x169e29){const _0x2389cd=_0x2fc972;return _0x32c12a[_0x2389cd(0x431)](_0x2389cd(0x4ec),_0x169e29);}[_0x2fc972(0x1d5)](){const _0x35729c=_0x2fc972;this[_0x35729c(0x26c)]-=0x1,this[_0x35729c(0x468)]['next'](this[_0x35729c(0x26c)]);}},exports['ImageIoService']=Dr([vt(0x0,a[_0x2fc972(0xde)](Z['HTTPService'])),vt(0x1,a[_0x2fc972(0x33a)]),vt(0x2,a[_0x2fc972(0xde)](a[_0x2fc972(0x3b9)]))],exports[_0x2fc972(0x41a)]);var Lr=Object[_0x2fc972(0x356)],xr=Object[_0x2fc972(0x423)],jr=(_0x130b86,_0x382fbf,_0x2e93d1,_0x552513)=>{const _0x16e108=_0x2fc972;for(var _0x27b0ad=_0x552513>0x1?void 0x0:_0x552513?xr(_0x382fbf,_0x2e93d1):_0x382fbf,_0xd9a590=_0x130b86[_0x16e108(0x14d)]-0x1,_0x2b5f26;_0xd9a590>=0x0;_0xd9a590--)(_0x2b5f26=_0x130b86[_0xd9a590])&&(_0x27b0ad=(_0x552513?_0x2b5f26(_0x382fbf,_0x2e93d1,_0x27b0ad):_0x2b5f26(_0x27b0ad))||_0x27b0ad);return _0x552513&&_0x27b0ad&&Lr(_0x382fbf,_0x2e93d1,_0x27b0ad),_0x27b0ad;},Ae=(_0x4bc1ae,_0x5c26c5)=>(_0x373c31,_0x24e7b1)=>_0x5c26c5(_0x373c31,_0x24e7b1,_0x4bc1ae);let Ke=class extends a[_0x2fc972(0x222)]{constructor(_0xec8859,_0x4fb2d9,_0x2d2b48,_0x4f9720,_0x448a50){const _0x32048a=_0x2fc972;super(),this[_0x32048a(0x2bd)]=_0xec8859,this[_0x32048a(0x4d3)]=_0x4fb2d9,this[_0x32048a(0x1f6)]=_0x2d2b48,this['_collaborationSessionService']=_0x4f9720,this[_0x32048a(0x46e)]=_0x448a50,this[_0x32048a(0x175)](),this[_0x32048a(0x2d1)]();}['_initCloseConn'](){const _0x5ab73c=_0x2fc972,_0x2a6ac9=async _0x16e334=>{const _0x464a0a=_0x10d1;(await this['_collaborationSessionService']['requireSession'](_0x16e334))[_0x464a0a(0x312)][_0x464a0a(0x54d)](V[_0x464a0a(0xda)](_0x2a0fac=>_0x2a0fac[_0x464a0a(0x4ca)]===S[_0x464a0a(0x2b7)][_0x464a0a(0x212)]),V[_0x464a0a(0x26d)](this[_0x464a0a(0x391)]))['subscribe'](_0x94b90d=>{const _0x3c3530=_0x464a0a,_0x31809e=_0x94b90d,{reason:_0x5e2377}=_0x31809e[_0x3c3530(0x191)];this[_0x3c3530(0x2bd)]['get'](ee[_0x3c3530(0x374)])['show']({'type':ge[_0x3c3530(0x40a)][_0x3c3530(0x44f)],'content':this[_0x3c3530(0x46e)]['t']('collaboration.closeRoom')+'('+_0x5e2377+')'}),this[_0x3c3530(0x1f6)]['updatePermissionPoint'](new k[(_0x3c3530(0x2b3))](_0x16e334)['id'],!0x1),this['_collaborationSessionService'][_0x3c3530(0x23b)](_0x16e334);});};A[_0x5ab73c(0x35e)](this['_univerInstanceService'][_0x5ab73c(0x41f)](a[_0x5ab73c(0x172)][_0x5ab73c(0x252)]),this['_univerInstanceService']['getTypeOfUnitAdded$'](a['UniverInstanceType'][_0x5ab73c(0x22f)]))[_0x5ab73c(0x54d)](V[_0x5ab73c(0x2dc)](_0x1c2095=>_0x1c2095['getUnitId']()),V[_0x5ab73c(0xda)](_0x3c4e4c=>!a[_0x5ab73c(0x370)](_0x3c4e4c)),V[_0x5ab73c(0x26d)](this[_0x5ab73c(0x391)]))['subscribe'](_0x4bc8e3=>{_0x2a6ac9(_0x4bc8e3);});}[_0x2fc972(0x175)](){const _0x5c573a=_0x2fc972,_0x378967=async _0x1808e2=>{const _0x2eea41=_0x10d1;(await this[_0x2eea41(0x198)][_0x2eea41(0x42c)](_0x1808e2))[_0x2eea41(0x312)]['pipe'](V['filter'](_0x890d11=>_0x890d11[_0x2eea41(0x4ca)]===S[_0x2eea41(0x2b7)][_0x2eea41(0x11a)]),V[_0x2eea41(0x26d)](this[_0x2eea41(0x391)]))['subscribe'](_0x460cdf=>{const _0x5dba42=_0x2eea41,_0x20ccde=_0x460cdf,{objectId:_0x1db8cf}=_0x20ccde[_0x5dba42(0x191)],_0x52719d=this[_0x5dba42(0x2bd)][_0x5dba42(0x3cf)](Re[_0x5dba42(0x215)]);_0x1db8cf===_0x1808e2?_0x52719d[_0x5dba42(0x305)](_0x1808e2):_0x52719d[_0x5dba42(0x279)](_0x1808e2,_0x1db8cf);});};A['merge'](this[_0x5c573a(0x4d3)][_0x5c573a(0x41f)](a[_0x5c573a(0x172)][_0x5c573a(0x252)]),this['_univerInstanceService']['getTypeOfUnitAdded$'](a[_0x5c573a(0x172)][_0x5c573a(0x22f)]))[_0x5c573a(0x54d)](V[_0x5c573a(0x2dc)](_0x53021f=>_0x53021f[_0x5c573a(0x12b)]()),V[_0x5c573a(0xda)](_0x2a504f=>!a['isInternalEditorID'](_0x2a504f)),V[_0x5c573a(0x26d)](this['dispose$']))[_0x5c573a(0x243)](_0x491604=>{_0x378967(_0x491604);});}};Ke=jr([Ae(0x0,a['Inject'](a['Injector'])),Ae(0x1,a[_0x2fc972(0x3b9)]),Ae(0x2,a[_0x2fc972(0x179)]),Ae(0x3,a[_0x2fc972(0xde)](exports[_0x2fc972(0x45d)])),Ae(0x4,a[_0x2fc972(0xde)](a[_0x2fc972(0x2cf)]))],Ke);var $r=Object[_0x2fc972(0x356)],Hr=Object[_0x2fc972(0x423)],Br=(_0x3e9eb9,_0x2d03ae,_0x35621b,_0x36c400)=>{const _0x15571f=_0x2fc972;for(var _0x2f4a63=_0x36c400>0x1?void 0x0:_0x36c400?Hr(_0x2d03ae,_0x35621b):_0x2d03ae,_0xe3c008=_0x3e9eb9[_0x15571f(0x14d)]-0x1,_0xc48558;_0xe3c008>=0x0;_0xe3c008--)(_0xc48558=_0x3e9eb9[_0xe3c008])&&(_0x2f4a63=(_0x36c400?_0xc48558(_0x2d03ae,_0x35621b,_0x2f4a63):_0xc48558(_0x2f4a63))||_0x2f4a63);return _0x36c400&&_0x2f4a63&&$r(_0x2d03ae,_0x35621b,_0x2f4a63),_0x2f4a63;},Jt=(_0x17efd7,_0x5617a1)=>(_0x2a77a2,_0x22c585)=>_0x5617a1(_0x2a77a2,_0x22c585,_0x17efd7);exports[_0x2fc972(0x38d)]=class{constructor(_0x42a1e2,_0x11b6b3){const _0x3aab57=_0x2fc972;this['_configService']=_0x42a1e2,this[_0x3aab57(0x4e8)]=_0x11b6b3;}async['getUnitOnRev'](_0xd82a69,_0x50d6f0){const _0x2dbd67=_0x2fc972;var _0x4db048;const {unitID:_0x5bfb9f,type:_0x21f89a,revision:_0x52a5cb=0x0}=_0x50d6f0,_0x29460c=this[_0x2dbd67(0x1bb)]()+'/'+_0x21f89a+_0x2dbd67(0xaa)+_0x5bfb9f+_0x2dbd67(0x4c3)+_0x52a5cb,_0x249f4b=(await this['_httpService'][_0x2dbd67(0x3cf)](_0x29460c))['body'],_0x42b22b=(_0x4db048=_0x249f4b[_0x2dbd67(0xe6)])==null?void 0x0:_0x4db048[_0x2dbd67(0x118)];if(_0x42b22b){const _0x17c5b5=_0x42b22b==null?void 0x0:_0x42b22b['originalMeta'],_0x1960fb=S['textEncoder'][_0x2dbd67(0x522)](S[_0x2dbd67(0x1e7)](_0x17c5b5));_0x42b22b[_0x2dbd67(0x45f)]=_0x1960fb,Object[_0x2dbd67(0x4f6)](_0x42b22b[_0x2dbd67(0x508)])[_0x2dbd67(0x422)](([,_0x25f869])=>{const _0x46710c=_0x2dbd67,_0xd6cbb6=_0x25f869['originalMeta'],_0x13945d=S[_0x46710c(0x1fd)][_0x46710c(0x522)](S['b64DecodeUnicode'](_0xd6cbb6));_0x25f869[_0x46710c(0x45f)]=_0x13945d;});}return _0x249f4b;}async[_0x2fc972(0x272)](_0x2711b0,_0x1456da){const _0x49a3a6=_0x2fc972,{unitID:_0x587be5,type:_0x1b2120,blockID:_0x326a7e}=_0x1456da,_0x2f9c23=this['_getAPIPrefix']()+'/'+_0x1b2120+_0x49a3a6(0xaa)+_0x587be5+_0x49a3a6(0x49b)+_0x326a7e;return(await this[_0x49a3a6(0x4e8)]['get'](_0x2f9c23))[_0x49a3a6(0x3fd)];}async['getDeserializedSheetBlock'](_0x346d39,_0xf5ddf4){const _0x38ea1e=_0x2fc972,{unitID:_0x2e58cc,type:_0x3d6c3f,blockID:_0x1c486a}=_0xf5ddf4,_0x4dd4c9=this[_0x38ea1e(0xd8)]()+_0x38ea1e(0x49b)+_0x3d6c3f+_0x38ea1e(0xaa)+_0x2e58cc+_0x38ea1e(0x49b)+_0x1c486a;return(await this[_0x38ea1e(0x4e8)][_0x38ea1e(0x3cf)](_0x4dd4c9))[_0x38ea1e(0x3fd)];}async[_0x2fc972(0x4fd)](_0x29fd3c,_0x1523e8){const _0x37a5bc=_0x2fc972,{unitID:_0x4e36ec,type:_0x643c11,from:_0xe232e2,to:_0x560bfd}=_0x1523e8,_0x31f7f8=this[_0x37a5bc(0xd8)]()+'/'+_0x643c11+_0x37a5bc(0xaa)+_0x4e36ec+_0x37a5bc(0x1d2)+_0xe232e2+'&to='+_0x560bfd;return(await this[_0x37a5bc(0x4e8)][_0x37a5bc(0x3cf)](_0x31f7f8))[_0x37a5bc(0x3fd)];}['_getSnapshotAPIPrefix'](){const _0x6a6c9d=_0x2fc972;var _0x5b0cc3;return(_0x5b0cc3=this[_0x6a6c9d(0x51e)][_0x6a6c9d(0xf1)](Qt))!=null?_0x5b0cc3:this[_0x6a6c9d(0xd8)]();}[_0x2fc972(0xd8)](){const _0x6e4406=_0x2fc972;var _0x18b11a,_0x49cf2a;const _0x297424=this[_0x6e4406(0x51e)][_0x6e4406(0xf1)](Zt),_0x4075ca=this[_0x6e4406(0x51e)][_0x6e4406(0xf1)](te);return(_0x49cf2a=(_0x18b11a=_0x4075ca==null?void 0x0:_0x4075ca['snapshotServerUrl'])!=null?_0x18b11a:_0x297424)!=null?_0x49cf2a:Hn;}async[_0x2fc972(0x358)](_0x46791c,_0x447cfa){const _0xc58c10=_0x2fc972,_0x1c6358=_0xc58c10(0x311)+_0x447cfa[_0xc58c10(0xc1)]+_0xc58c10(0xaa)+_0x447cfa[_0xc58c10(0xbc)]+'/resources';return(await this[_0xc58c10(0x4e8)][_0xc58c10(0x3cf)](_0x1c6358,{'params':{'resourceId':JSON['stringify'](_0x447cfa[_0xc58c10(0x4af)])}}))['body'];}[_0x2fc972(0x2d3)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x2fc972(0x2c2)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['saveChangeset'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x2fc972(0x425)](){const _0xb7e5c5=_0x2fc972;throw new Error(_0xb7e5c5(0x129));}[_0x2fc972(0x501)](){const _0x5486bc=_0x2fc972;throw new Error(_0x5486bc(0x129));}},exports[_0x2fc972(0x38d)]=Br([Jt(0x0,a[_0x2fc972(0x33a)]),Jt(0x1,a[_0x2fc972(0xde)](Z[_0x2fc972(0x4a1)]))],exports[_0x2fc972(0x38d)]);var kr=Object[_0x2fc972(0x356)],Wr=Object[_0x2fc972(0x423)],Fr=(_0x37fc4d,_0x27ac39,_0x42a15d,_0x5e2a9d)=>{const _0x27d982=_0x2fc972;for(var _0x25c3e7=_0x5e2a9d>0x1?void 0x0:_0x5e2a9d?Wr(_0x27ac39,_0x42a15d):_0x27ac39,_0xeb161d=_0x37fc4d[_0x27d982(0x14d)]-0x1,_0x56b6d3;_0xeb161d>=0x0;_0xeb161d--)(_0x56b6d3=_0x37fc4d[_0xeb161d])&&(_0x25c3e7=(_0x5e2a9d?_0x56b6d3(_0x27ac39,_0x42a15d,_0x25c3e7):_0x56b6d3(_0x25c3e7))||_0x25c3e7);return _0x5e2a9d&&_0x25c3e7&&kr(_0x27ac39,_0x42a15d,_0x25c3e7),_0x25c3e7;},Ne=(_0x7ccdd7,_0x529a5d)=>(_0x445c2f,_0x1d4ab7)=>_0x529a5d(_0x445c2f,_0x1d4ab7,_0x7ccdd7);let It=class extends a[_0x2fc972(0xb3)]{constructor(_0x396915,_0x3ba853,_0x3d8d9a,_0x2b60a2,_0x2b4b96){const _0x47f119=_0x2fc972;super(_0x396915,_0x3ba853,_0x3d8d9a),this[_0x47f119(0x116)]=_0x2b60a2,this[_0x47f119(0x3e5)]=_0x2b4b96;}[_0x2fc972(0x42f)](_0x5e7e16,_0x3861e3){const _0x39d4e2=_0x2fc972,_0x30cd2a=this[_0x39d4e2(0x2e4)](_0x5e7e16);if(_0x30cd2a)try{const _0x1051c8=this[_0x39d4e2(0x346)](_0x30cd2a,_0x3861e3);this[_0x39d4e2(0x143)](_0x5e7e16,_0x1051c8);}catch(_0x4807b2){this[_0x39d4e2(0x3e5)][_0x39d4e2(0x2be)](_0x39d4e2(0x4df),_0x4807b2),this[_0x39d4e2(0x255)](_0x5e7e16);}const _0x2b4c0c=this[_0x39d4e2(0x257)](_0x5e7e16);if(_0x2b4c0c)try{const _0x4a93e2=this[_0x39d4e2(0x346)](_0x2b4c0c,_0x3861e3);this[_0x39d4e2(0x37d)](_0x5e7e16,_0x4a93e2);}catch(_0x342ed7){this['_logService'][_0x39d4e2(0x2be)](_0x342ed7),this['_clearRedo'](_0x5e7e16);}}['_clearUndo'](_0x472d59){const _0x535e29=_0x2fc972,_0x1e1c84=this[_0x535e29(0x2e4)](_0x472d59);_0x1e1c84&&(_0x1e1c84[_0x535e29(0x14d)]=0x0,this[_0x535e29(0x42a)]());}[_0x2fc972(0x1e6)](_0x16b362){const _0x27c7af=_0x2fc972,_0x28f848=this[_0x27c7af(0x257)](_0x16b362);_0x28f848&&(_0x28f848[_0x27c7af(0x14d)]=0x0,this['_updateStatus']());}[_0x2fc972(0x143)](_0x27b6a6,_0x4c23c4){const _0x667d39=_0x2fc972;this[_0x667d39(0xe3)][_0x667d39(0x3ef)](_0x27b6a6,_0x4c23c4),this[_0x667d39(0x42a)]();}[_0x2fc972(0x37d)](_0xd74179,_0x4d06b6){const _0x136dbc=_0x2fc972;this[_0x136dbc(0x3e7)][_0x136dbc(0x3ef)](_0xd74179,_0x4d06b6),this[_0x136dbc(0x42a)]();}[_0x2fc972(0x346)](_0x637f21,_0x2c8e1){const _0x1defdf=_0x2fc972,_0x56fff3=[];let _0x23df70=_0x2c8e1,_0x4b1b1d=_0x2c8e1;for(let _0xf1e9a9=_0x637f21[_0x1defdf(0x14d)]-0x1;_0xf1e9a9>=0x0;_0xf1e9a9--){const {unitID:_0xd8c772,undoMutations:_0xd05dc,redoMutations:_0x266dcd}=_0x637f21[_0xf1e9a9],_0x4fda27=this[_0x1defdf(0x116)][_0x1defdf(0x4ee)](_0x23df70,_0xd05dc),_0x3bc3c2=this[_0x1defdf(0x116)][_0x1defdf(0x4ee)](_0x4b1b1d,_0x266dcd);if(S['isTransformMutationsWithChangesetFailure'](_0x4fda27)||S[_0x1defdf(0xf8)](_0x3bc3c2)){this['_logService'][_0x1defdf(0x2be)]('[CollaborationUndoRedoService]',_0x1defdf(0x4c8),_0x4fda27,_0x3bc3c2);break;}_0x23df70=_0x4fda27['c1Prime'],_0x4b1b1d=_0x3bc3c2[_0x1defdf(0x4c0)],_0x56fff3[_0x1defdf(0x540)]({'unitID':_0xd8c772,'undoMutations':_0x4fda27['m2Prime'],'redoMutations':_0x3bc3c2[_0x1defdf(0x1e2)]});}return _0x56fff3[_0x1defdf(0x196)]();}};It=Fr([Ne(0x0,a['IUniverInstanceService']),Ne(0x1,a[_0x2fc972(0x451)]),Ne(0x2,a['IContextService']),Ne(0x3,S[_0x2fc972(0x4a4)]),Ne(0x4,a[_0x2fc972(0x1fc)])],It);class An extends a[_0x2fc972(0x222)]{constructor(){const _0x49722c=_0x2fc972;super(),I(this,'urlChange$'),this[_0x49722c(0x137)]=A[_0x49722c(0x409)](window,_0x49722c(0x293))[_0x49722c(0x54d)](A['takeUntil'](this[_0x49722c(0x391)]),A[_0x49722c(0x4b3)](0x1),A[_0x49722c(0x238)](void 0x0));}['setParam'](_0x4e817b,_0x3bd20f,_0x5b23b4=!0x1){const _0x2d0448=_0x2fc972,_0x43bf3e=new URL(window[_0x2d0448(0x24a)]['href']);_0x43bf3e[_0x2d0448(0x133)][_0x2d0448(0x3ef)](_0x4e817b,_0x3bd20f),_0x5b23b4?window[_0x2d0448(0x360)][_0x2d0448(0x39e)]('','',_0x43bf3e[_0x2d0448(0x443)]()):window[_0x2d0448(0x360)][_0x2d0448(0x19f)]('','',_0x43bf3e[_0x2d0448(0x443)]());}[_0x2fc972(0x239)](_0x2b9c99,_0x33bbe4=!0x1){const _0x1da63c=_0x2fc972,_0x1e4d5c=new URL(window[_0x1da63c(0x24a)][_0x1da63c(0x39b)]);_0x1e4d5c[_0x1da63c(0x133)][_0x1da63c(0x332)](_0x2b9c99),_0x33bbe4?window['history'][_0x1da63c(0x39e)]('','',_0x1e4d5c[_0x1da63c(0x443)]()):window[_0x1da63c(0x360)]['pushState']('','',_0x1e4d5c[_0x1da63c(0x443)]());}[_0x2fc972(0x32f)](_0x42c9c2){const _0x5087eb=_0x2fc972;var _0x34dd95;return(_0x34dd95=new URL(window[_0x5087eb(0x24a)]['href'])[_0x5087eb(0x133)][_0x5087eb(0x3cf)](_0x42c9c2))!=null?_0x34dd95:void 0x0;}}var Nn=Object['defineProperty'],Vr=Object[_0x2fc972(0x423)],Gr=(_0x3270df,_0x3e746f,_0x3d123d)=>_0x3e746f in _0x3270df?Nn(_0x3270df,_0x3e746f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3d123d}):_0x3270df[_0x3e746f]=_0x3d123d,Yr=(_0x1a8702,_0x1297ce,_0x3e6132,_0x3a7531)=>{for(var _0x134c2f=_0x3a7531>0x1?void 0x0:_0x3a7531?Vr(_0x1297ce,_0x3e6132):_0x1297ce,_0xe21c97=_0x1a8702['length']-0x1,_0xddee61;_0xe21c97>=0x0;_0xe21c97--)(_0xddee61=_0x1a8702[_0xe21c97])&&(_0x134c2f=(_0x3a7531?_0xddee61(_0x1297ce,_0x3e6132,_0x134c2f):_0xddee61(_0x134c2f))||_0x134c2f);return _0x3a7531&&_0x134c2f&&Nn(_0x1297ce,_0x3e6132,_0x134c2f),_0x134c2f;},He=(_0x34c1db,_0x2e213a)=>(_0x520d26,_0x15d69d)=>_0x2e213a(_0x520d26,_0x15d69d,_0x34c1db),Kr=(_0x26a3e2,_0x42dbb4,_0x17b6aa)=>Gr(_0x26a3e2,_0x42dbb4+'',_0x17b6aa);const qr=_0x2fc972(0x1d4);exports[_0x2fc972(0x1f0)]=class extends a[_0x2fc972(0x378)]{constructor(_0x474186=zn,_0x37deed,_0x3a0c7c,_0x9fea60,_0x3b679c){const _0x30df9b=_0x2fc972;super(),this[_0x30df9b(0x345)]=_0x474186,this[_0x30df9b(0x3e5)]=_0x37deed,this[_0x30df9b(0x184)]=_0x3a0c7c,this['_injector']=_0x9fea60,this[_0x30df9b(0x51e)]=_0x3b679c;const {..._0x1d4752}=this[_0x30df9b(0x345)];this[_0x30df9b(0x51e)][_0x30df9b(0x513)](te,_0x1d4752);}[_0x2fc972(0x18e)](){const _0x57e745=_0x2fc972;this[_0x57e745(0x226)](),this['_initDependencies']();}[_0x2fc972(0x3d6)](){const _0x377c68=_0x2fc972;a[_0x377c68(0x2eb)](this[_0x377c68(0x2bd)],[[Ve]]);}[_0x2fc972(0x3f3)](){const _0x698fda=_0x2fc972;this[_0x698fda(0x280)]();}[_0x2fc972(0x226)](){const _0x51cc2b=_0x2fc972;var _0x412b2a,_0x15da33,_0x204274,_0x18b35c;this[_0x51cc2b(0x2bd)]['has'](a[_0x51cc2b(0x1d3)])&&this['_logService'][_0x51cc2b(0x2be)]('[UniverCollaborationClientPlugin]',_0x51cc2b(0x2f4));const _0x5b5ba5=[[a['IUndoRedoService'],{'useClass':It}],[exports['CollaborationSessionService']],[Ot],[wt,{'useClass':An}],[exports[_0x51cc2b(0x120)]],[exports[_0x51cc2b(0x464)]],[Z[_0x51cc2b(0x1d0)]],[ke],[Fe],[Be],[We],[Rt],[Ge],[Ye],[Tt],[Ke],[bt,{'useClass':(_0x15da33=(_0x412b2a=this[_0x51cc2b(0x345)])==null?void 0x0:_0x412b2a[_0x51cc2b(0x3a0)])!=null?_0x15da33:exports[_0x51cc2b(0x44c)]}],[S['ISnapshotServerService'],{'useClass':exports[_0x51cc2b(0x38d)]}],[a[_0x51cc2b(0x139)],{'useClass':exports[_0x51cc2b(0x228)]}],[ne['IImageIoService'],{'useClass':exports[_0x51cc2b(0x41a)]}],[exports[_0x51cc2b(0x500)]],[exports[_0x51cc2b(0x3fa)]],[exports[_0x51cc2b(0x34e)]],[Ve],[De]];(_0x204274=this[_0x51cc2b(0x345)])!=null&&_0x204274[_0x51cc2b(0xc5)]&&_0x5b5ba5[_0x51cc2b(0x540)]([qe,{'useClass':Oi}]),a[_0x51cc2b(0x4aa)](this['_injector'],a['mergeOverrideWithDependencies'](_0x5b5ba5,(_0x18b35c=this[_0x51cc2b(0x345)])==null?void 0x0:_0x18b35c[_0x51cc2b(0x301)]));}[_0x2fc972(0x280)](){const _0x3309fd=_0x2fc972;this['disposeWithMe'](this[_0x3309fd(0x184)][_0x3309fd(0x4b8)](a['UniverInstanceType'][_0x3309fd(0x22f)],[pt])),this['disposeWithMe'](this[_0x3309fd(0x184)]['registerRenderModule'](a[_0x3309fd(0x172)][_0x3309fd(0x252)],[gt]));}[_0x2fc972(0x28e)](){const _0x565e32=_0x2fc972;var _0xf358a7,_0x4efb97;this[_0x565e32(0x2bd)][_0x565e32(0x3cf)](Z[_0x565e32(0x4a1)])[_0x565e32(0x2b8)]({'priority':0x14,'interceptor':Z[_0x565e32(0x1f7)]({'maxParallel':0x6})}),(_0xf358a7=this[_0x565e32(0x345)])!=null&&_0xf358a7[_0x565e32(0xae)]||this[_0x565e32(0x2bd)]['get'](exports['LocalCacheService'])[_0x565e32(0x295)](),(_0x4efb97=this[_0x565e32(0x345)])!=null&&_0x4efb97['enableAuthServer']&&a[_0x565e32(0x2eb)](this[_0x565e32(0x2bd)],[[Ge]]),a[_0x565e32(0x2eb)](this[_0x565e32(0x2bd)],[[Ye],[De],[exports[_0x565e32(0x3fa)]],[exports[_0x565e32(0x500)]],[exports[_0x565e32(0x34e)]],[Ke]]);}},Kr(exports['UniverCollaborationClientPlugin'],'pluginName',qr),exports['UniverCollaborationClientPlugin']=Yr([a['DependentOn'](S[_0x2fc972(0x535)],Z['UniverNetworkPlugin']),He(0x1,a['ILogService']),He(0x2,K[_0x2fc972(0x2c1)]),He(0x3,a[_0x2fc972(0xde)](a[_0x2fc972(0x10d)])),He(0x4,a[_0x2fc972(0x33a)])],exports[_0x2fc972(0x1f0)]),exports[_0x2fc972(0x2d7)]=Rn,exports[_0x2fc972(0x122)]=on,exports[_0x2fc972(0x149)]=en,exports[_0x2fc972(0xb2)]=q,exports[_0x2fc972(0x34d)]=Tn,exports['CommentService']=Tt,exports['HEARTBEAT_INTERVAL_KEY']=tn,exports[_0x2fc972(0x4ab)]=Ct,exports[_0x2fc972(0x150)]=bt,exports[_0x2fc972(0x462)]=wt,exports[_0x2fc972(0x4e5)]=rn,exports[_0x2fc972(0xc7)]=an,exports[_0x2fc972(0x18f)]=sn,exports[_0x2fc972(0x4ce)]=Bn,exports[_0x2fc972(0x368)]=Zt,exports[_0x2fc972(0x43d)]=Qt,exports[_0x2fc972(0x2a2)]=se,exports['SheetCollabCursorShape']=Sn,exports[_0x2fc972(0x4a6)]=An,exports['deserializeToCombResponse']=hn,exports['serializeCombRequest']=_n;
1
+ 'use strict';const _0x2683e6=_0x479a;(function(_0x2bba74,_0x2d589e){const _0x1de600=_0x479a,_0x8d06c3=_0x2bba74();while(!![]){try{const _0x56f181=parseInt(_0x1de600(0x2ac))/0x1+-parseInt(_0x1de600(0x4a8))/0x2+parseInt(_0x1de600(0x23d))/0x3+parseInt(_0x1de600(0x5f8))/0x4*(-parseInt(_0x1de600(0x15c))/0x5)+parseInt(_0x1de600(0x5a1))/0x6*(-parseInt(_0x1de600(0x2b4))/0x7)+-parseInt(_0x1de600(0x371))/0x8*(-parseInt(_0x1de600(0x3aa))/0x9)+parseInt(_0x1de600(0x513))/0xa;if(_0x56f181===_0x2d589e)break;else _0x8d06c3['push'](_0x8d06c3['shift']());}catch(_0x441d1a){_0x8d06c3['push'](_0x8d06c3['shift']());}}}(_0x21f6,0xf08c5));var Ln=Object[_0x2683e6(0x1e7)],xn=(_0x41e7d6,_0x4689ea,_0x269f16)=>_0x4689ea in _0x41e7d6?Ln(_0x41e7d6,_0x4689ea,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x269f16}):_0x41e7d6[_0x4689ea]=_0x269f16,I=(_0x41e76b,_0x55e5ec,_0x3915f2)=>xn(_0x41e76b,typeof _0x55e5ec!=_0x2683e6(0x2db)?_0x55e5ec+'':_0x55e5ec,_0x3915f2);Object[_0x2683e6(0x1e7)](exports,Symbol['toStringTag'],{'value':'Module'});const a=require(_0x2683e6(0x37d)),A=require('rxjs'),V=require('rxjs/operators'),ge=require(_0x2683e6(0x26d)),ee=require(_0x2683e6(0x466)),Z=require(_0x2683e6(0x310)),S=require(_0x2683e6(0x299)),jn=require(_0x2683e6(0x1a4)),J=require('@univerjs/docs-ui'),k=require(_0x2683e6(0x44c)),K=require(_0x2683e6(0x555)),ye=require('@univerjs/docs'),ne=require(_0x2683e6(0x268)),Pt=require(_0x2683e6(0x298)),Re=require(_0x2683e6(0x23e)),ae=require(_0x2683e6(0x4ef)),$n=require(_0x2683e6(0x4c5)),Zt=_0x2683e6(0x5a8),Hn='/universer-api/snapshot',Qt=_0x2683e6(0x4f8),Bn=_0x2683e6(0x4ff),kn=0x7d0,en=_0x2683e6(0x5bf),Wn='ws://127.0.0.1:8000/universer-api/comb/connect',tn=_0x2683e6(0x4ad),Fn=0x7530,Ct=_0x2683e6(0x2be),nn=0x4e20,Vn=0x4e20,sn=_0x2683e6(0x1cc),Gn=0x3,rn=_0x2683e6(0x396),Yn=0x3e8,on=_0x2683e6(0x2c0),Kn=_0x2683e6(0x5fe),an=_0x2683e6(0x481),qn=_0x2683e6(0x41b);var cn=(_0xf5184a=>(_0xf5184a[_0xf5184a[_0x2683e6(0x5a5)]=0x0]=_0x2683e6(0x5a5),_0xf5184a[_0xf5184a['OK']=0x1]='OK',_0xf5184a[_0xf5184a[_0x2683e6(0x158)]=0x2]=_0x2683e6(0x158),_0xf5184a[_0xf5184a[_0x2683e6(0x3d3)]=0x3]=_0x2683e6(0x3d3),_0xf5184a[_0xf5184a[_0x2683e6(0x469)]=0x4]=_0x2683e6(0x469),_0xf5184a[_0xf5184a['UNAUTHENTICATED']=0x5]=_0x2683e6(0x17f),_0xf5184a[_0xf5184a['ALREADY_EXISTS']=0x6]=_0x2683e6(0x546),_0xf5184a[_0xf5184a[_0x2683e6(0x390)]=0x7]=_0x2683e6(0x390),_0xf5184a[_0xf5184a[_0x2683e6(0x568)]=0x8]=_0x2683e6(0x568),_0xf5184a[_0xf5184a[_0x2683e6(0x3e8)]=0x9]=_0x2683e6(0x3e8),_0xf5184a[_0xf5184a[_0x2683e6(0x536)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0xf5184a[_0xf5184a[_0x2683e6(0x354)]=0x1771]=_0x2683e6(0x354),_0xf5184a[_0xf5184a[_0x2683e6(0x54f)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0xf5184a[_0xf5184a[_0x2683e6(0x1e6)]=0x1773]=_0x2683e6(0x1e6),_0xf5184a[_0xf5184a[_0x2683e6(0x3f1)]=0x1b59]=_0x2683e6(0x3f1),_0xf5184a[_0xf5184a[_0x2683e6(0x382)]=0x1b5a]=_0x2683e6(0x382),_0xf5184a[_0xf5184a[_0x2683e6(0x1fa)]=0x1b5b]=_0x2683e6(0x1fa),_0xf5184a[_0xf5184a[_0x2683e6(0x217)]=0x1b5c]=_0x2683e6(0x217),_0xf5184a[_0xf5184a[_0x2683e6(0x398)]=0x1b5d]=_0x2683e6(0x398),_0xf5184a[_0xf5184a[_0x2683e6(0x5fa)]=0x1f41]=_0x2683e6(0x5fa),_0xf5184a[_0xf5184a[_0x2683e6(0x156)]=0x2329]=_0x2683e6(0x156),_0xf5184a[_0xf5184a[_0x2683e6(0x467)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0xf5184a[_0xf5184a[_0x2683e6(0x5c1)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0xf5184a[_0xf5184a[_0x2683e6(0x54b)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0xf5184a[_0xf5184a[_0x2683e6(0x152)]=0x232d]=_0x2683e6(0x152),_0xf5184a[_0xf5184a[_0x2683e6(0x376)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0xf5184a[_0xf5184a[_0x2683e6(0x56c)]=0x2712]=_0x2683e6(0x56c),_0xf5184a[_0xf5184a['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x2683e6(0x1c8),_0xf5184a[_0xf5184a[_0x2683e6(0x22f)]=0x2714]=_0x2683e6(0x22f),_0xf5184a[_0xf5184a[_0x2683e6(0x165)]=-0x1]=_0x2683e6(0x165),_0xf5184a))(cn||{}),ie=(_0x4af399=>(_0x4af399[_0x4af399[_0x2683e6(0x41d)]=0x0]=_0x2683e6(0x41d),_0x4af399[_0x4af399[_0x2683e6(0x56e)]=0x1]='UNIVER_DOC',_0x4af399[_0x4af399['UNIVER_SHEET']=0x2]=_0x2683e6(0x4a1),_0x4af399[_0x4af399[_0x2683e6(0x1fc)]=0x3]=_0x2683e6(0x1fc),_0x4af399[_0x4af399[_0x2683e6(0x311)]=0x4]=_0x2683e6(0x311),_0x4af399[_0x4af399[_0x2683e6(0x165)]=-0x1]='UNRECOGNIZED',_0x4af399))(ie||{}),G=(_0xbce49b=>(_0xbce49b[_0xbce49b[_0x2683e6(0x435)]=0x0]=_0x2683e6(0x435),_0xbce49b[_0xbce49b['HELLO']=0x1]=_0x2683e6(0x1c3),_0xbce49b[_0xbce49b[_0x2683e6(0x426)]=0x2]=_0x2683e6(0x426),_0xbce49b[_0xbce49b['LEAVE']=0x3]='LEAVE',_0xbce49b[_0xbce49b[_0x2683e6(0x3c9)]=0x4]=_0x2683e6(0x3c9),_0xbce49b[_0xbce49b[_0x2683e6(0x530)]=0x5]=_0x2683e6(0x530),_0xbce49b[_0xbce49b[_0x2683e6(0x4c8)]=0x6]='RECV',_0xbce49b[_0xbce49b[_0x2683e6(0x165)]=-0x1]=_0x2683e6(0x165),_0xbce49b))(G||{}),Et=(_0xf65f35=>(_0xf65f35[_0xf65f35[_0x2683e6(0x41c)]=0x0]=_0x2683e6(0x41c),_0xf65f35[_0xf65f35['OK']=0x1]='OK',_0xf65f35[_0xf65f35[_0x2683e6(0x44e)]=0x2]=_0x2683e6(0x44e),_0xf65f35[_0xf65f35[_0x2683e6(0x165)]=-0x1]=_0x2683e6(0x165),_0xf65f35))(Et||{}),ln=(_0x37cf12=>(_0x37cf12[_0x37cf12[_0x2683e6(0x2a8)]=0x0]=_0x2683e6(0x2a8),_0x37cf12[_0x37cf12[_0x2683e6(0x1ab)]=0x1]='HttpImport',_0x37cf12[_0x37cf12['HttpExport']=0x2]=_0x2683e6(0x4e4),_0x37cf12[_0x37cf12[_0x2683e6(0x20c)]=0x3]=_0x2683e6(0x20c),_0x37cf12[_0x37cf12[_0x2683e6(0x5c4)]=0x4]=_0x2683e6(0x5c4),_0x37cf12[_0x37cf12[_0x2683e6(0x165)]=-0x1]='UNRECOGNIZED',_0x37cf12))(ln||{});const te='collaboration-client.config',zn={};function hn(_0x12406b){const _0x54e4ff=_0x2683e6;var _0x301591,_0x20dc64,_0x76b17b,_0x50bccf,_0x5ad00f;const _0x25a1d5=_0x12406b[_0x54e4ff(0x5ac)],_0x28e77c=JSON[_0x54e4ff(0x18e)](_0x25a1d5);switch(_0x28e77c[_0x54e4ff(0x57a)]){case G[_0x54e4ff(0x530)]:case G['HELLO']:{const _0x2213e9=_0x28e77c[_0x54e4ff(0x38b)];return{..._0x28e77c,'data':_0x2213e9,'cmd':_0x28e77c[_0x54e4ff(0x57a)]};}case G[_0x54e4ff(0x426)]:{const _0x47468e=_0x28e77c[_0x54e4ff(0x5f0)];return{..._0x28e77c,'data':_0x47468e,'cmd':_0x28e77c[_0x54e4ff(0x57a)]};}case G[_0x54e4ff(0x4c8)]:{const _0x3753d5=_0x28e77c[_0x54e4ff(0x20a)];switch(_0x3753d5['eventID']){case S[_0x54e4ff(0x3d6)][_0x54e4ff(0x4e1)]:return{..._0x28e77c,'data':{..._0x3753d5,'data':(_0x301591=_0x3753d5['permissionRejEvent'])==null?void 0x0:_0x301591['cs']},'cmd':_0x28e77c['cmd']};case S[_0x54e4ff(0x3d6)]['CHANGESET_ACK']:return{..._0x28e77c,'data':{..._0x3753d5,'data':(_0x20dc64=_0x3753d5[_0x54e4ff(0x5d2)])==null?void 0x0:_0x20dc64['cs']},'cmd':_0x28e77c[_0x54e4ff(0x57a)]};case S[_0x54e4ff(0x3d6)][_0x54e4ff(0x3da)]:return{..._0x28e77c,'data':{..._0x3753d5,'data':(_0x76b17b=_0x3753d5[_0x54e4ff(0x463)])==null?void 0x0:_0x76b17b['cs']},'cmd':_0x28e77c['cmd']};case S[_0x54e4ff(0x3d6)][_0x54e4ff(0x1bf)]:return{..._0x28e77c,'data':{..._0x3753d5,'data':(_0x50bccf=_0x3753d5[_0x54e4ff(0x360)])==null?void 0x0:_0x50bccf['cs']},'cmd':_0x28e77c[_0x54e4ff(0x57a)]};case S[_0x54e4ff(0x3d6)]['CHANGESET_SHOULD_RETRY']:return{..._0x28e77c,'data':{..._0x3753d5,'data':(_0x5ad00f=_0x3753d5[_0x54e4ff(0x583)])==null?void 0x0:_0x5ad00f['cs']},'cmd':_0x28e77c[_0x54e4ff(0x57a)]};case S['CollaborationEvent'][_0x54e4ff(0x470)]:return{..._0x28e77c,'data':{..._0x3753d5,'data':_0x3753d5['updateCursorEvent']},'cmd':_0x28e77c[_0x54e4ff(0x57a)]};case S[_0x54e4ff(0x3d6)][_0x54e4ff(0x221)]:return{..._0x28e77c,'data':{..._0x3753d5,'data':_0x3753d5[_0x54e4ff(0x3a0)]},'cmd':_0x28e77c[_0x54e4ff(0x57a)]};case S[_0x54e4ff(0x3d6)]['USERS_LEAVE']:return{..._0x28e77c,'data':{..._0x3753d5,'data':_0x3753d5[_0x54e4ff(0x1be)]},'cmd':_0x28e77c[_0x54e4ff(0x57a)]};case S[_0x54e4ff(0x3d6)]['LIVESHARE_NEW_HOST']:return{..._0x28e77c,'data':{..._0x3753d5,'data':_0x3753d5['liveShareNewHost']},'cmd':_0x28e77c[_0x54e4ff(0x57a)]};case S[_0x54e4ff(0x3d6)][_0x54e4ff(0x22e)]:case S[_0x54e4ff(0x3d6)][_0x54e4ff(0x338)]:return{..._0x28e77c,'data':{..._0x3753d5,'data':_0x3753d5[_0x54e4ff(0x54c)]},'cmd':_0x28e77c[_0x54e4ff(0x57a)]};case S[_0x54e4ff(0x3d6)][_0x54e4ff(0x412)]:return{..._0x28e77c,'data':{..._0x3753d5,'data':_0x3753d5[_0x54e4ff(0x3ce)]},'cmd':_0x28e77c['cmd']};case S[_0x54e4ff(0x3d6)][_0x54e4ff(0x5f1)]:return{..._0x28e77c,'data':_0x3753d5,'cmd':_0x28e77c['cmd']};case S[_0x54e4ff(0x3d6)][_0x54e4ff(0x176)]:return{..._0x28e77c,'data':{..._0x3753d5,'data':_0x3753d5['commentUpdateEvent']},'cmd':_0x28e77c[_0x54e4ff(0x57a)]};case S[_0x54e4ff(0x3d6)]['UPDATE_PERMISSION_OBJ']:return{..._0x28e77c,'data':{..._0x3753d5,'data':_0x3753d5['updatePermissionObjEvent']},'cmd':_0x28e77c['cmd']};case S['CollaborationEvent'][_0x54e4ff(0x235)]:return{..._0x28e77c,'data':{..._0x3753d5,'data':_0x3753d5[_0x54e4ff(0x46d)]},'cmd':_0x28e77c['cmd']};default:return _0x28e77c;}}default:return _0x28e77c;}}function _n(_0x534a41){const _0x3370f5=_0x2683e6;switch(_0x534a41[_0x3370f5(0x57a)]){case G[_0x3370f5(0x530)]:case G['HELLO']:return JSON[_0x3370f5(0x40e)]({'cmd':_0x534a41[_0x3370f5(0x57a)],'routeKey':_0x534a41['routeKey']});case G[_0x3370f5(0x3c9)]:{let _0x320e48;switch(_0x534a41[_0x3370f5(0x5ac)][_0x3370f5(0x477)]){case S[_0x3370f5(0x3d6)][_0x3370f5(0x470)]:{_0x320e48={'eventID':S[_0x3370f5(0x3d6)]['UPDATE_CURSOR'],'updateCursorEvent':_0x534a41[_0x3370f5(0x5ac)][_0x3370f5(0x5ac)]};break;}case S[_0x3370f5(0x3d6)][_0x3370f5(0x388)]:{_0x320e48={'eventID':S[_0x3370f5(0x3d6)][_0x3370f5(0x388)],'leaveEvent':_0x534a41[_0x3370f5(0x5ac)][_0x3370f5(0x5ac)]};break;}case S['CollaborationEvent']['USERS_ENTER']:{_0x320e48={'eventID':S[_0x3370f5(0x3d6)][_0x3370f5(0x221)],'joinEvent':_0x534a41['data'][_0x3370f5(0x5ac)]};break;}case S[_0x3370f5(0x3d6)][_0x3370f5(0x283)]:{_0x320e48={'eventID':S[_0x3370f5(0x3d6)][_0x3370f5(0x283)],'liveShareNewHost':_0x534a41[_0x3370f5(0x5ac)][_0x3370f5(0x5ac)]};break;}case S[_0x3370f5(0x3d6)]['LIVESHARE_OPERATION']:{_0x320e48={'eventID':S['CollaborationEvent'][_0x3370f5(0x338)],'liveShareOperation':_0x534a41[_0x3370f5(0x5ac)][_0x3370f5(0x5ac)]};break;}case S[_0x3370f5(0x3d6)][_0x3370f5(0x412)]:{_0x320e48={'eventID':S[_0x3370f5(0x3d6)][_0x3370f5(0x412)],'liveShareTerminate':_0x534a41[_0x3370f5(0x5ac)]['data']};break;}case S[_0x3370f5(0x3d6)][_0x3370f5(0x31f)]:{_0x320e48={'eventID':S[_0x3370f5(0x3d6)][_0x3370f5(0x31f)],'liveShareRequestHost':_0x534a41[_0x3370f5(0x5ac)][_0x3370f5(0x5ac)]};break;}case S['CollaborationEvent'][_0x3370f5(0x22e)]:{_0x320e48={'eventID':S[_0x3370f5(0x3d6)][_0x3370f5(0x22e)]};break;}default:_0x320e48={'eventID':_0x534a41['data']['eventID']};}return JSON['stringify']({'cmd':_0x534a41[_0x3370f5(0x57a)],'routeKey':_0x534a41[_0x3370f5(0x453)],'collaMsg':_0x320e48});}case G['JOIN']:return JSON[_0x3370f5(0x40e)]({'cmd':_0x534a41['cmd'],'routeKey':_0x534a41[_0x3370f5(0x453)],'joinReq':_0x534a41[_0x3370f5(0x5ac)]});case G[_0x3370f5(0x34e)]:return JSON[_0x3370f5(0x40e)]({'cmd':_0x534a41[_0x3370f5(0x57a)],'routeKey':_0x534a41[_0x3370f5(0x453)],'leaveReq':_0x534a41[_0x3370f5(0x5ac)]});default:throw new Error(_0x3370f5(0x159));}}var Xn=Object[_0x2683e6(0x1e7)],Jn=Object[_0x2683e6(0x181)],Zn=(_0x1ee3f7,_0x1bafea,_0x411326,_0x60ead1)=>{const _0xd8d04e=_0x2683e6;for(var _0x15140d=_0x60ead1>0x1?void 0x0:_0x60ead1?Jn(_0x1bafea,_0x411326):_0x1bafea,_0x33a041=_0x1ee3f7[_0xd8d04e(0x29a)]-0x1,_0x50e55e;_0x33a041>=0x0;_0x33a041--)(_0x50e55e=_0x1ee3f7[_0x33a041])&&(_0x15140d=(_0x60ead1?_0x50e55e(_0x1bafea,_0x411326,_0x15140d):_0x50e55e(_0x15140d))||_0x15140d);return _0x60ead1&&_0x15140d&&Xn(_0x1bafea,_0x411326,_0x15140d),_0x15140d;},we=(_0x4c89c2,_0x524bc7)=>(_0x257b61,_0x482e5f)=>_0x524bc7(_0x257b61,_0x482e5f,_0x4c89c2);const bt=a['createIdentifier'](_0x2683e6(0x545));function Qn(_0x5e1469,_0x3a4339,_0x1bc500){const _0x1f7d4b=_0x2683e6;return _0x5e1469+'/'+_0x3a4339+_0x1f7d4b(0x182)+_0x1bc500+'/new_changes';}exports['CollaborationSocketService']=class extends a[_0x2683e6(0x3cc)]{constructor(_0x4a74c3,_0x5d8978,_0x454796,_0x527b8f,_0x26fb0f){const _0x3826f8=_0x2683e6;super(),this[_0x3826f8(0x1d7)]=_0x4a74c3,this[_0x3826f8(0x5a0)]=_0x5d8978,this[_0x3826f8(0x3d1)]=_0x454796,this['_logService']=_0x527b8f,this['_snapshotServerService']=_0x26fb0f;}['createSocket'](_0x157d63){const _0x3b1ecf=_0x2683e6,_0x22263a=this['_ws'][_0x3b1ecf(0x3eb)](_0x157d63);if(!_0x22263a)throw new Error(_0x3b1ecf(0x1b5));const _0x2a3641=new a['DisposableCollection'](),_0x202ff8=new A['Subject']();_0x2a3641[_0x3b1ecf(0x494)](_0x22263a[_0x3b1ecf(0x168)]['subscribe'](_0x5315aa=>_0x202ff8['next'](_0x5315aa))),_0x2a3641[_0x3b1ecf(0x494)](a[_0x3b1ecf(0x454)](()=>_0x202ff8[_0x3b1ecf(0x438)]()));const _0x54faaf=new A[(_0x3b1ecf(0x51b))]();_0x2a3641['add'](_0x22263a[_0x3b1ecf(0x263)]['subscribe'](_0x571ced=>_0x54faaf[_0x3b1ecf(0x40f)](_0x571ced))),_0x2a3641['add'](a[_0x3b1ecf(0x454)](()=>_0x54faaf[_0x3b1ecf(0x438)]()));const _0x47259c=new A['Subject']();_0x2a3641[_0x3b1ecf(0x494)](_0x22263a[_0x3b1ecf(0x492)]['subscribe'](_0x26178c=>{const _0x17e456=_0x3b1ecf,_0x572907=hn(_0x26178c);_0x47259c[_0x17e456(0x40f)](_0x572907);})),_0x2a3641['add'](a[_0x3b1ecf(0x454)](()=>_0x47259c[_0x3b1ecf(0x438)]()));let _0x395f8e;const _0x1cd90e=()=>{const _0x594092=_0x3b1ecf;_0x54faaf[_0x594092(0x40f)](new Event(_0x594092(0x57d))),_0x202ff8['next'](new CloseEvent(_0x594092(0x57d))),_0x395f8e[_0x594092(0x3e4)]();};return _0x395f8e={'memberID':'','close$':_0x202ff8[_0x3b1ecf(0x4f2)](),'error$':_0x54faaf[_0x3b1ecf(0x4f2)](),'open$':_0x22263a['open$'],'message$':_0x47259c[_0x3b1ecf(0x4f2)](),'send':_0x37e17a=>{const _0x178ac2=_0x3b1ecf;if(_0x37e17a[_0x178ac2(0x57a)]===G[_0x178ac2(0x3c9)]){if(_0x37e17a[_0x178ac2(0x5ac)][_0x178ac2(0x477)]===S[_0x178ac2(0x3d6)]['SUBMIT_CHANGESET']){this[_0x178ac2(0x595)](_0x395f8e,_0x37e17a[_0x178ac2(0x5ac)])['catch'](_0x431465=>{const _0x5d906c=_0x178ac2;this[_0x5d906c(0x577)]['error'](_0x431465),_0x1cd90e();});return;}if(_0x37e17a[_0x178ac2(0x5ac)][_0x178ac2(0x477)]===S[_0x178ac2(0x3d6)]['FETCH_MISSING']){const _0x2a2773=_0x37e17a[_0x178ac2(0x5ac)];this[_0x178ac2(0x21e)](_0x2a2773)['then'](_0x152277=>{const _0x4530fb=_0x178ac2;_0x47259c[_0x4530fb(0x40f)]({'cmd':G[_0x4530fb(0x4c8)],'code':Et['OK'],'routeKey':_0x2a2773['data']['unitID'],'routeType':'','data':{'eventID':S['CollaborationEvent'][_0x4530fb(0x4d1)],'data':{'changesets':_0x152277}}});})['catch'](_0x13aaa5=>{const _0x2db646=_0x178ac2;this[_0x2db646(0x577)][_0x2db646(0x461)](_0x13aaa5),_0x1cd90e();});return;}}_0x22263a[_0x178ac2(0x4ae)](_n(_0x37e17a));},'close':()=>{const _0x918073=_0x3b1ecf;_0x22263a[_0x918073(0x3e4)](),_0x2a3641[_0x918073(0x269)]();}},_0x395f8e;}async[_0x2683e6(0x595)](_0x56b138,_0x7bbcd4){const _0x24ea24=_0x2683e6;var _0x1abd69,_0x1b2f08;const {unitType:_0x12a9da,unitID:_0x46c63a,changeset:_0x2289fe}=_0x7bbcd4[_0x24ea24(0x5ac)],_0x1bc365={'unitID':_0x46c63a,'memberID':_0x56b138[_0x24ea24(0x30e)],'type':_0x12a9da,'changeset':S['parseChangesetToProtocol'](_0x2289fe)},_0xe3b895=this['_configService'][_0x24ea24(0x496)](on),_0x5c3022=this[_0x24ea24(0x3d1)][_0x24ea24(0x496)](te),_0x582904=Qn((_0x1b2f08=(_0x1abd69=_0x5c3022==null?void 0x0:_0x5c3022[_0x24ea24(0x315)])!=null?_0x1abd69:_0xe3b895)!=null?_0x1b2f08:Kn,_0x12a9da,_0x46c63a);try{await this[_0x24ea24(0x1d7)][_0x24ea24(0x551)](_0x582904,{'body':_0x1bc365});}catch(_0x161b5f){throw this[_0x24ea24(0x577)][_0x24ea24(0x461)](_0x24ea24(0x5ca),'submit\x20changeset\x20error!'),_0x161b5f;}}async[_0x2683e6(0x21e)](_0x207754){const _0x2773a0=_0x2683e6,{unitID:_0x3bbdcd,from:_0x5d83a5,to:_0x1d20e6,unitType:_0x2e8626}=_0x207754[_0x2773a0(0x5ac)];return(await this[_0x2773a0(0x1e5)][_0x2773a0(0x606)]({'metadata':void 0x0},{'unitID':_0x3bbdcd,'type':_0x2e8626,'from':_0x5d83a5,'to':_0x1d20e6}))[_0x2773a0(0x29f)];}},exports[_0x2683e6(0x5bb)]=Zn([we(0x0,a[_0x2683e6(0x22b)](Z[_0x2683e6(0x2a2)])),we(0x1,a['Inject'](Z['WebSocketService'])),we(0x2,a['IConfigService']),we(0x3,a['ILogService']),we(0x4,S['ISnapshotServerService'])],exports[_0x2683e6(0x5bb)]);const ei=_0x2683e6(0x19f);function ti(_0x1ea806){const _0x26eb0f=_0x2683e6;return JSON[_0x26eb0f(0x40e)](_0x1ea806)[_0x26eb0f(0x29a)];}class Tt{constructor(){const _0x2b338e=_0x2683e6;I(this,_0x2b338e(0x1e8),new A['Subject']()),I(this,_0x2b338e(0x49d),this[_0x2b338e(0x1e8)][_0x2b338e(0x4f2)]());}[_0x2683e6(0x5fb)](_0x76751d){const _0x28e8bb=_0x2683e6;this[_0x28e8bb(0x1e8)][_0x28e8bb(0x40f)](_0x76751d);}}var ni=Object[_0x2683e6(0x1e7)],ii=Object[_0x2683e6(0x181)],si=(_0x4630bc,_0x1e1397,_0x109f7a,_0xfde637)=>{const _0x112118=_0x2683e6;for(var _0x5d0b08=_0xfde637>0x1?void 0x0:_0xfde637?ii(_0x1e1397,_0x109f7a):_0x1e1397,_0x440d99=_0x4630bc[_0x112118(0x29a)]-0x1,_0x14030b;_0x440d99>=0x0;_0x440d99--)(_0x14030b=_0x4630bc[_0x440d99])&&(_0x5d0b08=(_0xfde637?_0x14030b(_0x1e1397,_0x109f7a,_0x5d0b08):_0x14030b(_0x5d0b08))||_0x5d0b08);return _0xfde637&&_0x5d0b08&&ni(_0x1e1397,_0x109f7a,_0x5d0b08),_0x5d0b08;},Ut=(_0x2f95ec,_0x3ff680)=>(_0x4ba7b6,_0x3f6e10)=>_0x3ff680(_0x4ba7b6,_0x3f6e10,_0x2f95ec);exports[_0x2683e6(0x184)]=class extends a['Disposable']{constructor(_0xfe3611,_0x404e17){const _0x59f525=_0x2683e6;super(),I(this,_0x59f525(0x377),new Map()),(this[_0x59f525(0x45b)]=_0xfe3611,this[_0x59f525(0x291)]=_0x404e17,this[_0x59f525(0x427)](a['toDisposable'](A['merge'](this[_0x59f525(0x45b)]['getTypeOfUnitDisposed$'](a[_0x59f525(0x342)]['UNIVER_SHEET'])[_0x59f525(0x36b)](V[_0x59f525(0x538)](_0x2b5b01=>_0x2b5b01[_0x59f525(0x478)]())),this['_univerInstanceService'][_0x59f525(0x3b4)](a['UniverInstanceType']['UNIVER_DOC'])['pipe'](V[_0x59f525(0x538)](_0x3a758f=>_0x3a758f['getUnitId']())),this[_0x59f525(0x45b)][_0x59f525(0x3b4)](a[_0x59f525(0x342)][_0x59f525(0x1fc)])['pipe'](V[_0x59f525(0x538)](_0x10bcc6=>_0x10bcc6[_0x59f525(0x478)]())))[_0x59f525(0x44d)](_0x55283a=>this[_0x59f525(0x2dd)](_0x55283a)))));}[_0x2683e6(0x306)](_0x28d98b){const _0x4c4679=_0x2683e6;this[_0x4c4679(0x291)][_0x4c4679(0x306)](_0x28d98b);}[_0x2683e6(0x39d)](){const _0x5b8f36=_0x2683e6;return this[_0x5b8f36(0x291)][_0x5b8f36(0x39d)]();}[_0x2683e6(0x499)](_0x19469f,_0x45f431){const _0x7fcdc=_0x2683e6;let _0x258822=this[_0x7fcdc(0x377)][_0x7fcdc(0x553)](_0x19469f);_0x258822||(_0x258822=new ri(),this[_0x7fcdc(0x377)][_0x7fcdc(0x46f)](_0x19469f,_0x258822)),_0x258822['updateMember'](_0x45f431);}[_0x2683e6(0x222)](_0x39306d,_0x5e8e9d){const _0x5230e3=_0x2683e6,_0x2b2b26=this[_0x5230e3(0x377)][_0x5230e3(0x553)](_0x39306d);_0x2b2b26&&_0x2b2b26[_0x5230e3(0x222)](_0x5e8e9d);}[_0x2683e6(0x5ab)](_0x2594a3){const _0xdfb8d=_0x2683e6;return this[_0xdfb8d(0x377)][_0xdfb8d(0x553)](_0x2594a3);}[_0x2683e6(0x55d)](_0x50acbd,_0x4874fc){const _0x45d0a7=_0x2683e6,_0x55e188=this['_roomMembers'][_0x45d0a7(0x553)](_0x50acbd);if(_0x55e188)return _0x55e188['getMember'](_0x4874fc);}[_0x2683e6(0x2dd)](_0x2dca80){const _0x151b1d=_0x2683e6,_0x5ec9c4=this[_0x151b1d(0x377)]['get'](_0x2dca80);_0x5ec9c4&&(_0x5ec9c4['dispose'](),this[_0x151b1d(0x377)][_0x151b1d(0x27e)](_0x2dca80));}['dispose'](){const _0x454511=_0x2683e6;this[_0x454511(0x377)][_0x454511(0x280)](_0x1a1b82=>_0x1a1b82[_0x454511(0x269)]()),this['_roomMembers'][_0x454511(0x308)]();}},exports[_0x2683e6(0x184)]=si([Ut(0x0,a[_0x2683e6(0x468)]),Ut(0x1,a['Inject'](a[_0x2683e6(0x18d)]))],exports[_0x2683e6(0x184)]);class ri extends a[_0x2683e6(0x3cc)]{constructor(){super(...arguments),I(this,'_members',new Map());}[_0x2683e6(0x269)](){const _0x5f3876=_0x2683e6;this[_0x5f3876(0x51d)][_0x5f3876(0x308)]();}[_0x2683e6(0x499)](_0x3407a8){const _0x3a2179=_0x2683e6;this[_0x3a2179(0x51d)]['set'](_0x3407a8['memberID'],_0x3407a8);}[_0x2683e6(0x222)](_0x43e937){const _0x5e6754=_0x2683e6;this[_0x5e6754(0x51d)]['delete'](_0x43e937);}['getMember'](_0x3eac44){const _0x10c907=_0x2683e6;return this[_0x10c907(0x51d)]['get'](_0x3eac44);}['getAllMembers'](){const _0x5a7d86=_0x2683e6;return Array['from'](this[_0x5a7d86(0x51d)]['values']());}}var oi=Object['defineProperty'],ai=Object[_0x2683e6(0x181)],ci=(_0x39d0c0,_0x1b5ddd,_0x54af82,_0x21c033)=>{const _0x177722=_0x2683e6;for(var _0x1803b1=_0x21c033>0x1?void 0x0:_0x21c033?ai(_0x1b5ddd,_0x54af82):_0x1b5ddd,_0xc48736=_0x39d0c0[_0x177722(0x29a)]-0x1,_0x390df9;_0xc48736>=0x0;_0xc48736--)(_0x390df9=_0x39d0c0[_0xc48736])&&(_0x1803b1=(_0x21c033?_0x390df9(_0x1b5ddd,_0x54af82,_0x1803b1):_0x390df9(_0x1803b1))||_0x1803b1);return _0x21c033&&_0x1803b1&&oi(_0x1b5ddd,_0x54af82,_0x1803b1),_0x1803b1;},de=(_0x538cd5,_0x3e6927)=>(_0x186c39,_0xfef94f)=>_0x3e6927(_0x186c39,_0xfef94f,_0x538cd5),se=(_0x103b56=>(_0x103b56[_0x103b56[_0x2683e6(0x55c)]=0x0]=_0x2683e6(0x55c),_0x103b56[_0x103b56['JOINING']=0x1]=_0x2683e6(0x38f),_0x103b56[_0x103b56[_0x2683e6(0x25a)]=0x2]=_0x2683e6(0x25a),_0x103b56[_0x103b56[_0x2683e6(0x191)]=0x3]=_0x2683e6(0x191),_0x103b56))(se||{});exports[_0x2683e6(0x5eb)]=class extends a[_0x2683e6(0x1e0)]{constructor(_0x386fd9,_0xdc9562,_0x2fd059,_0x1f34b3,_0x38c73b,_0x2dbbdc,_0x4f9f61,_0x388f67,_0x13a1cc,_0x19998c){const _0x2fafda=_0x2683e6;super(),I(this,_0x2fafda(0x2b6),new A['BehaviorSubject'](0x0)),I(this,_0x2fafda(0x497),this['_sessionStatus$']['asObservable']()),I(this,_0x2fafda(0x55e),new A['Subject']()),I(this,_0x2fafda(0x279),this['_event$']['asObservable']()),I(this,_0x2fafda(0x1ee)),I(this,_0x2fafda(0x558)),I(this,_0x2fafda(0x3d7)),I(this,_0x2fafda(0x3a2),!0x1),I(this,_0x2fafda(0x239),null),(this['_unitID']=_0x386fd9,this[_0x2fafda(0x577)]=_0x2fd059,this[_0x2fafda(0x264)]=_0x1f34b3,this[_0x2fafda(0x167)]=_0x38c73b,this[_0x2fafda(0x3d1)]=_0x2dbbdc,this[_0x2fafda(0x347)]=_0x4f9f61,this[_0x2fafda(0x2cf)]=_0x388f67,this['_commentService']=_0x13a1cc,this[_0x2fafda(0x473)]=_0x19998c,this[_0x2fafda(0x3a2)]=!!this[_0x2fafda(0x473)],_0xdc9562[_0x2fafda(0x36b)](A[_0x2fafda(0x35f)](this[_0x2fafda(0x534)]))[_0x2fafda(0x44d)](_0x313b3a=>{const _0x303e5f=_0x2fafda;var _0x163417;typeof _0x313b3a>'u'||(this[_0x303e5f(0x1ee)]=_0x313b3a,_0x313b3a?(this['_joinRoom'](_0x313b3a),this[_0x303e5f(0x558)]=_0x313b3a[_0x303e5f(0x492)]['subscribe'](_0x1b211b=>{_0x1b211b['routeKey']===this['_unitID']&&this['_onCombEvent'](_0x1b211b);})):(this['_throwTelemetryCollaborationNewChangeset'](),this['_sessionStatus$'][_0x303e5f(0x40f)](0x2),(_0x163417=this[_0x303e5f(0x558)])==null||_0x163417[_0x303e5f(0x334)](),this[_0x303e5f(0x558)]=null));}),this['disposeWithMe'](this['_beforeCloseService']['registerOnClose'](()=>{const _0x3cdc15=_0x2fafda;var _0x5c1ff3;(_0x5c1ff3=this[_0x3cdc15(0x1ee)])==null||_0x5c1ff3[_0x3cdc15(0x4ae)]({'cmd':G[_0x3cdc15(0x34e)],'data':{'roomID':this['_unitID']}});})));}get['sessionStatus'](){const _0x56f218=_0x2683e6;return this[_0x56f218(0x2b6)][_0x56f218(0x1fb)]();}[_0x2683e6(0x4c2)](){const _0x165557=_0x2683e6;var _0x29cca0,_0x4bd252;return(_0x4bd252=(_0x29cca0=this[_0x165557(0x1ee)])==null?void 0x0:_0x29cca0['memberID'])!=null?_0x4bd252:null;}[_0x2683e6(0x269)](){const _0x21b68c=_0x2683e6;super[_0x21b68c(0x269)](),this[_0x21b68c(0x534)][_0x21b68c(0x40f)](),this[_0x21b68c(0x534)][_0x21b68c(0x438)]();}['close'](){const _0x969d2a=_0x2683e6;var _0xc24c15,_0x531bf0;this[_0x969d2a(0x261)](),(_0xc24c15=this[_0x969d2a(0x1ee)])==null||_0xc24c15[_0x969d2a(0x4ae)]({'cmd':G[_0x969d2a(0x34e)],'data':{'roomID':this[_0x969d2a(0x225)]}}),(_0x531bf0=this['_socket'])==null||_0x531bf0[_0x969d2a(0x3e4)](),this['_event$'][_0x969d2a(0x438)](),this['_sessionStatus$'][_0x969d2a(0x438)](),this[_0x969d2a(0x269)]();}[_0x2683e6(0x5b5)](_0x3e27d2){const _0x1a4729=_0x2683e6;_0x3e27d2[_0x1a4729(0x57a)]===G[_0x1a4729(0x426)]?this[_0x1a4729(0x505)](_0x3e27d2):_0x3e27d2[_0x1a4729(0x57a)]===G[_0x1a4729(0x4c8)]&&this[_0x1a4729(0x46c)](_0x3e27d2);}[_0x2683e6(0x527)](_0xc4fb3e){const _0x31c74d=_0x2683e6;this[_0x31c74d(0x2b6)][_0x31c74d(0x40f)](0x1),_0xc4fb3e[_0x31c74d(0x4ae)]({'cmd':G[_0x31c74d(0x426)],'routeKey':this[_0x31c74d(0x225)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x2683e6(0x505)](_0xed4a12){const _0x32e5dc=_0x2683e6;var _0xe4b37;if(_0xed4a12[_0x32e5dc(0x443)]===Et['FAIL']){this[_0x32e5dc(0x167)]['show']({'type':ge['MessageType']['Warning'],'content':this['_localeService']['t'](_0x32e5dc(0x47a))}),this[_0x32e5dc(0x2b6)][_0x32e5dc(0x40f)](0x2);return;}this[_0x32e5dc(0x2b6)][_0x32e5dc(0x40f)](0x3);const _0x1645ff=(_0xe4b37=_0xed4a12[_0x32e5dc(0x5ac)][_0x32e5dc(0x38c)][this[_0x32e5dc(0x225)]])==null?void 0x0:_0xe4b37[_0x32e5dc(0x51c)];_0x1645ff&&_0x1645ff[_0x32e5dc(0x280)](_0x5b936c=>this[_0x32e5dc(0x2cf)][_0x32e5dc(0x499)](this['_unitID'],_0x5b936c));}[_0x2683e6(0x46c)](_0x3a836a){const _0x36160d=_0x2683e6;try{const _0x152d25=_0x3a836a[_0x36160d(0x5ac)];switch(_0x152d25[_0x36160d(0x477)]){case S[_0x36160d(0x3d6)][_0x36160d(0x221)]:this['_onUserJoin'](_0x152d25),this['_event$'][_0x36160d(0x40f)](_0x152d25);break;case S[_0x36160d(0x3d6)][_0x36160d(0x388)]:this[_0x36160d(0x1fd)](_0x152d25),this[_0x36160d(0x55e)][_0x36160d(0x40f)](_0x152d25);break;case S[_0x36160d(0x3d6)][_0x36160d(0x2e1)]:case S[_0x36160d(0x3d6)][_0x36160d(0x4e5)]:this[_0x36160d(0x4e0)](),this[_0x36160d(0x26a)](),this[_0x36160d(0x55e)][_0x36160d(0x40f)](_0x152d25);break;case S[_0x36160d(0x3d6)][_0x36160d(0x5f1)]:this[_0x36160d(0x577)][_0x36160d(0x461)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x36160d(0x40e)](_0x152d25)),this[_0x36160d(0x55e)][_0x36160d(0x40f)](_0x152d25);break;case S[_0x36160d(0x3d6)][_0x36160d(0x176)]:this['_commentService'][_0x36160d(0x5fb)](_0x152d25[_0x36160d(0x5ac)]),this['_event$'][_0x36160d(0x40f)](_0x152d25);break;default:this['_event$'][_0x36160d(0x40f)](_0x152d25);}}catch(_0x51754c){this[_0x36160d(0x577)]['error'](_0x51754c,_0x3a836a);}}[_0x2683e6(0x4ce)](_0x513d2f){const _0x2bb5e9=_0x2683e6;this[_0x2bb5e9(0x2cf)][_0x2bb5e9(0x499)](this[_0x2bb5e9(0x225)],_0x513d2f['data']);}['_onUserLeave'](_0x22ede5){const _0x129eaf=_0x2683e6;this['_memberService'][_0x129eaf(0x222)](this[_0x129eaf(0x225)],_0x22ede5[_0x129eaf(0x5ac)]['memberID']);}async['send'](_0x17befa,_0x33ad86){const _0x365e9e=_0x2683e6;if(this['sessionStatus']!==0x3||!this[_0x365e9e(0x1ee)])throw new Error(_0x365e9e(0x383));try{_0x17befa[_0x365e9e(0x477)]===S['CollaborationEvent'][_0x365e9e(0x2a4)]&&(this['_scheduleCollaborationTimeoutTimer'](),this['_startTelemetryCollaborationNewChangeset'](_0x17befa)),this[_0x365e9e(0x1ee)]['send']({'cmd':G['INGEST'],'routeKey':_0x33ad86,'routeType':'','data':_0x17befa});}catch(_0x3de715){this['_logService'][_0x365e9e(0x461)](_0x3de715);}}['_scheduleCollaborationTimeoutTimer'](){const _0x4b77db=_0x2683e6;var _0x419b36;this[_0x4b77db(0x3d7)]=window[_0x4b77db(0x352)](()=>{const _0x107b20=_0x4b77db;this[_0x107b20(0x3d7)]=null,this[_0x107b20(0x167)]['show']({'type':ge['MessageType'][_0x107b20(0x272)],'content':this[_0x107b20(0x347)]['t']('session.collaboration-timeout')});},(_0x419b36=this['_configService'][_0x4b77db(0x496)](Ct))!=null?_0x419b36:nn);}[_0x2683e6(0x26a)](){const _0x2207f4=_0x2683e6;this[_0x2207f4(0x3d7)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x2207f4(0x3d7)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x19f20c){const _0x19a48b=_0x2683e6;if(!this[_0x19a48b(0x3a2)])return;const {data:_0x3f57d9}=_0x19f20c,{unitID:_0x4cea38,changeset:_0x18e6d3}=_0x3f57d9,{mutations:_0x2c7b84,type:_0x12e58a}=_0x18e6d3;this['_telemetryInfo']={'unitId':_0x4cea38,'type':_0x12e58a,'startTime':performance[_0x19a48b(0x1f9)](),'stopTime':0x0,'duration':0x0,'size':ti(_0x2c7b84)};}[_0x2683e6(0x4e0)](){const _0x13fe47=_0x2683e6;if(this[_0x13fe47(0x3a2)]){if(!this[_0x13fe47(0x239)]){this[_0x13fe47(0x577)]['error'](_0x13fe47(0x5ca),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x13fe47(0x239)][_0x13fe47(0x328)]=performance[_0x13fe47(0x1f9)](),this[_0x13fe47(0x239)][_0x13fe47(0x2ec)]=this[_0x13fe47(0x239)]['stopTime']-this[_0x13fe47(0x239)][_0x13fe47(0x4de)],this['_telemetryService'][_0x13fe47(0x1d8)](ei,this[_0x13fe47(0x239)]),this[_0x13fe47(0x239)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){this['_telemetryInfo']=null;}},exports[_0x2683e6(0x5eb)]=ci([de(0x2,a[_0x2683e6(0x5a9)]),de(0x3,ee[_0x2683e6(0x246)]),de(0x4,ee[_0x2683e6(0x509)]),de(0x5,a[_0x2683e6(0x58f)]),de(0x6,a[_0x2683e6(0x22b)](a[_0x2683e6(0x479)])),de(0x7,a[_0x2683e6(0x22b)](exports['MemberService'])),de(0x8,a[_0x2683e6(0x22b)](Tt)),de(0x9,a[_0x2683e6(0x23c)](jn['ITelemetryService']))],exports[_0x2683e6(0x5eb)]);var li=Object[_0x2683e6(0x1e7)],hi=Object['getOwnPropertyDescriptor'],_i=(_0x456631,_0x3acc6b,_0x2212e1,_0x1b17a5)=>{const _0x6578c5=_0x2683e6;for(var _0x32fabe=_0x1b17a5>0x1?void 0x0:_0x1b17a5?hi(_0x3acc6b,_0x2212e1):_0x3acc6b,_0x18fd3f=_0x456631[_0x6578c5(0x29a)]-0x1,_0x4a58b9;_0x18fd3f>=0x0;_0x18fd3f--)(_0x4a58b9=_0x456631[_0x18fd3f])&&(_0x32fabe=(_0x1b17a5?_0x4a58b9(_0x3acc6b,_0x2212e1,_0x32fabe):_0x4a58b9(_0x32fabe))||_0x32fabe);return _0x1b17a5&&_0x32fabe&&li(_0x3acc6b,_0x2212e1,_0x32fabe),_0x32fabe;},Ee=(_0x3574a9,_0x93ddaa)=>(_0x5cd057,_0x533284)=>_0x93ddaa(_0x5cd057,_0x533284,_0x3574a9);exports[_0x2683e6(0x17a)]=class extends a[_0x2683e6(0x3cc)]{constructor(_0x28bdbb,_0x25cb47,_0x3d091c,_0x2cfa6c,_0x5146a5,_0x19a667){const _0x569d20=_0x2683e6;super(),I(this,_0x569d20(0x4ab),new A[(_0x569d20(0x1ce))](void 0x0)),I(this,_0x569d20(0x5b6),this[_0x569d20(0x4ab)][_0x569d20(0x4f2)]()),I(this,'_candidateSocket',null),I(this,_0x569d20(0x31e),new Map()),I(this,_0x569d20(0x1bc),new A[(_0x569d20(0x1ce))](se[_0x569d20(0x55c)])),I(this,'status$',this[_0x569d20(0x1bc)][_0x569d20(0x4f2)]()),I(this,_0x569d20(0x28c),!0x1),I(this,_0x569d20(0x4f3)),I(this,'_retryCount',0x0),I(this,_0x569d20(0x408)),I(this,_0x569d20(0x51e)),(this[_0x569d20(0x3e9)]=_0x28bdbb,this[_0x569d20(0x347)]=_0x25cb47,this[_0x569d20(0x167)]=_0x3d091c,this['_logService']=_0x2cfa6c,this['_configService']=_0x5146a5,this[_0x569d20(0x446)]=_0x19a667,this[_0x569d20(0x386)]());}get['_socket'](){const _0x4093cc=_0x2683e6;return this[_0x4093cc(0x4ab)]['getValue']();}[_0x2683e6(0x386)](){const _0x211fe0=_0x2683e6;this[_0x211fe0(0x336)](),this[_0x211fe0(0x2c2)]();}[_0x2683e6(0x269)](){const _0x22ab7c=_0x2683e6;super[_0x22ab7c(0x269)](),this['_sessions'][_0x22ab7c(0x280)](_0x4c92bf=>_0x4c92bf[_0x22ab7c(0x269)]()),this['_sessions'][_0x22ab7c(0x308)](),this[_0x22ab7c(0x1bc)][_0x22ab7c(0x438)]();}async['requireSession'](_0x3215e7){const _0x113f82=_0x2683e6;if(this[_0x113f82(0x31e)]['has'](_0x3215e7))return this[_0x113f82(0x31e)][_0x113f82(0x553)](_0x3215e7);this[_0x113f82(0x4a0)]();const _0x3044d6=this['_injector']['createInstance'](exports[_0x113f82(0x5eb)],_0x3215e7,this['_socket$'][_0x113f82(0x4f2)]());return this[_0x113f82(0x31e)][_0x113f82(0x46f)](_0x3215e7,_0x3044d6),_0x3044d6;}[_0x2683e6(0x4fd)](_0xaf2554){const _0x2bbf49=_0x2683e6;var _0x466d0b;const _0x2a15de=this['_sessions'][_0x2bbf49(0x553)](_0xaf2554);_0x2a15de&&(this[_0x2bbf49(0x31e)][_0x2bbf49(0x27e)](_0xaf2554),_0x2a15de[_0x2bbf49(0x3e4)]()),this[_0x2bbf49(0x31e)][_0x2bbf49(0x4b4)]||(_0x466d0b=this['_socket'])==null||_0x466d0b[_0x2bbf49(0x3e4)]();}[_0x2683e6(0x5bd)](){const _0xd957c6=_0x2683e6;this[_0xd957c6(0x293)]=0x0,this[_0xd957c6(0x4f3)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null),this[_0xd957c6(0x4f1)]();}['_createSocket'](){const _0x2a3b6c=_0x2683e6;var _0x46fbd7,_0x2882c7;const _0x1a9154=this[_0x2a3b6c(0x3d1)][_0x2a3b6c(0x496)](en),_0x4b7dce=this[_0x2a3b6c(0x3d1)][_0x2a3b6c(0x496)](te),_0x2ad7b2=(_0x2882c7=(_0x46fbd7=_0x4b7dce==null?void 0x0:_0x4b7dce[_0x2a3b6c(0x356)])!=null?_0x46fbd7:_0x1a9154)!=null?_0x2882c7:Wn,_0x241d5f=this[_0x2a3b6c(0x446)][_0x2a3b6c(0x3eb)](_0x2ad7b2);return this[_0x2a3b6c(0x4cf)]=_0x241d5f,_0x241d5f;}['_tryEnsureSocket'](){const _0x1c5fc9=_0x2683e6;var _0x57656b,_0x23501c;try{const _0x41a33c=(_0x23501c=(_0x57656b=this[_0x1c5fc9(0x1ee)])!=null?_0x57656b:this[_0x1c5fc9(0x4cf)])!=null?_0x23501c:this['_createSocket']();if(_0x41a33c){const _0x32ebb2=_0x41a33c[_0x1c5fc9(0x4ae)];_0x41a33c[_0x1c5fc9(0x4ae)]=_0x32f9e2=>(this[_0x1c5fc9(0x3d2)](),_0x32ebb2[_0x1c5fc9(0x4c4)](_0x41a33c,[_0x32f9e2])),_0x41a33c['message$'][_0x1c5fc9(0x44d)](_0xffba89=>this['_onMessage'](_0x41a33c,_0xffba89)),_0x41a33c['error$'][_0x1c5fc9(0x36b)](V[_0x1c5fc9(0x282)](0x1))[_0x1c5fc9(0x44d)](_0x3b2b83=>this[_0x1c5fc9(0x577)][_0x1c5fc9(0x461)](_0x1c5fc9(0x562),_0x3b2b83)),_0x41a33c[_0x1c5fc9(0x30f)]['pipe'](V['take'](0x1))[_0x1c5fc9(0x44d)](()=>{this['_onConnectionOpen'](_0x41a33c);}),_0x41a33c['close$']['pipe'](V['take'](0x1))['subscribe'](_0x5a3af2=>{const _0x2843d3=_0x1c5fc9;this[_0x2843d3(0x577)][_0x2843d3(0x3db)]('[CollaborationSessionService]','socket\x20close',_0x5a3af2),this[_0x2843d3(0x501)]();});}}catch(_0x137b08){this[_0x1c5fc9(0x577)]['error'](_0x137b08),this[_0x1c5fc9(0x501)]();}}[_0x2683e6(0x3c7)](_0x12fba3){const _0x2113f1=_0x2683e6;this[_0x2113f1(0x577)][_0x2113f1(0x3db)](_0x2113f1(0x2ca),'socket\x20open.'),_0x12fba3[_0x2113f1(0x4ae)]({'cmd':G[_0x2113f1(0x1c3)]}),this[_0x2113f1(0x3d2)]();}[_0x2683e6(0x336)](){const _0x32f5b4=_0x2683e6;window[_0x32f5b4(0x4fc)](_0x32f5b4(0x39a),()=>this[_0x32f5b4(0x27b)]());}[_0x2683e6(0x27b)](){const _0x48c580=_0x2683e6;this[_0x48c580(0x28c)]=!0x1,this[_0x48c580(0x4cf)]=null,this['_status$'][_0x48c580(0x40f)](se[_0x48c580(0x25a)]),this['_socket$'][_0x48c580(0x40f)](null),this[_0x48c580(0x5f6)](),this[_0x48c580(0x304)]();}['_onConnectionFailed'](){const _0x40a4d9=_0x2683e6;var _0x3d0919;this[_0x40a4d9(0x27b)](),this[_0x40a4d9(0x293)]<((_0x3d0919=this['_configService'][_0x40a4d9(0x496)](sn))!=null?_0x3d0919:Gn)?(this['_messageService'][_0x40a4d9(0x4db)]({'key':'collaboration-session-retry','type':ge[_0x40a4d9(0x455)][_0x40a4d9(0x1f7)],'content':this[_0x40a4d9(0x347)]['t'](_0x40a4d9(0x1ed))}),this['_tryReconnect']()):this[_0x40a4d9(0x167)]['show']({'key':'collaboration-session-retry','type':ge[_0x40a4d9(0x455)][_0x40a4d9(0x272)],'content':this['_localeService']['t'](_0x40a4d9(0x28a))});}[_0x2683e6(0x2c2)](){const _0x12aff0=_0x2683e6,_0xb18f5=()=>{const _0x1d5e2e=_0x479a;this[_0x1d5e2e(0x1ee)]||this['reconnect']();},_0xbbedde=()=>{const _0x1aa6de=_0x479a;this[_0x1aa6de(0x1ee)]||document[_0x1aa6de(0x25f)]==='hidden'||this['reconnect']();};window['addEventListener'](_0x12aff0(0x230),_0xb18f5),document[_0x12aff0(0x4fc)](_0x12aff0(0x5b1),_0xbbedde);}[_0x2683e6(0x4f1)](){const _0x51fedc=_0x2683e6;var _0x3aea68;const _0x118e19=this[_0x51fedc(0x293)],_0x54a9aa=this[_0x51fedc(0x3d1)][_0x51fedc(0x496)](te),_0x364274=_0x118e19===0x0?0x0:((_0x3aea68=_0x54a9aa==null?void 0x0:_0x54a9aa[_0x51fedc(0x1d6)])!=null?_0x3aea68:Vn)*0x2**_0x118e19;this[_0x51fedc(0x4f3)]=window['setTimeout'](()=>{const _0x592515=_0x51fedc;clearTimeout(this[_0x592515(0x4f3)]),this[_0x592515(0x4f3)]=null,this[_0x592515(0x4a0)]();},_0x364274),this[_0x51fedc(0x293)]+=0x1;}['_onMessage'](_0x489b77,_0x1bf7f7){const _0x4fba9e=_0x2683e6,{cmd:_0xcbfb1}=_0x1bf7f7;_0xcbfb1===G[_0x4fba9e(0x1c3)]&&!this[_0x4fba9e(0x28c)]&&(_0x489b77['memberID']=_0x1bf7f7[_0x4fba9e(0x5ac)]['memberID'],this[_0x4fba9e(0x4ab)][_0x4fba9e(0x40f)](_0x489b77),this[_0x4fba9e(0x1bc)]['next'](se[_0x4fba9e(0x191)]),this['_socketReady']=!0x0,this[_0x4fba9e(0x4cf)]=null),_0xcbfb1===G[_0x4fba9e(0x530)]&&this[_0x4fba9e(0x5f6)](),this[_0x4fba9e(0x3d2)]();}[_0x2683e6(0x3d2)](){const _0x143910=_0x2683e6;var _0x33bb21;this['_clearHeartbeatTimer'](),this['_sendHeartbeatTimer']=window[_0x143910(0x352)](()=>this[_0x143910(0x594)](),(_0x33bb21=this[_0x143910(0x3d1)][_0x143910(0x496)](tn))!=null?_0x33bb21:Fn);}[_0x2683e6(0x594)](){const _0x349eea=_0x2683e6;this[_0x349eea(0x1ee)]['send']({'cmd':G['HEARTBEAT']}),this[_0x349eea(0x178)]();}['_waitForHeartbeatResponse'](){const _0x5f9f5=_0x2683e6;var _0x251195;this[_0x5f9f5(0x51e)]=window[_0x5f9f5(0x352)](()=>this[_0x5f9f5(0x501)](),(_0x251195=this[_0x5f9f5(0x3d1)][_0x5f9f5(0x496)](Ct))!=null?_0x251195:nn);}[_0x2683e6(0x304)](){const _0x333fc9=_0x2683e6;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x333fc9(0x408)]),this[_0x333fc9(0x408)]=null);}[_0x2683e6(0x5f6)](){const _0x5a6d43=_0x2683e6;this[_0x5a6d43(0x51e)]!=null&&(clearTimeout(this[_0x5a6d43(0x51e)]),this[_0x5a6d43(0x51e)]=null);}},exports[_0x2683e6(0x17a)]=_i([Ee(0x0,a[_0x2683e6(0x22b)](a[_0x2683e6(0x2c8)])),Ee(0x1,a[_0x2683e6(0x22b)](a[_0x2683e6(0x479)])),Ee(0x2,ee[_0x2683e6(0x509)]),Ee(0x3,a[_0x2683e6(0x5a9)]),Ee(0x4,a[_0x2683e6(0x58f)]),Ee(0x5,bt)],exports[_0x2683e6(0x17a)]);const Y=[];for(let s=0x0;s<0x100;++s)Y[_0x2683e6(0x17e)]((s+0x100)['toString'](0x10)[_0x2683e6(0x237)](0x1));function ui(_0x44e223,_0x5056ee=0x0){const _0x3d385b=_0x2683e6;return(Y[_0x44e223[_0x5056ee+0x0]]+Y[_0x44e223[_0x5056ee+0x1]]+Y[_0x44e223[_0x5056ee+0x2]]+Y[_0x44e223[_0x5056ee+0x3]]+'-'+Y[_0x44e223[_0x5056ee+0x4]]+Y[_0x44e223[_0x5056ee+0x5]]+'-'+Y[_0x44e223[_0x5056ee+0x6]]+Y[_0x44e223[_0x5056ee+0x7]]+'-'+Y[_0x44e223[_0x5056ee+0x8]]+Y[_0x44e223[_0x5056ee+0x9]]+'-'+Y[_0x44e223[_0x5056ee+0xa]]+Y[_0x44e223[_0x5056ee+0xb]]+Y[_0x44e223[_0x5056ee+0xc]]+Y[_0x44e223[_0x5056ee+0xd]]+Y[_0x44e223[_0x5056ee+0xe]]+Y[_0x44e223[_0x5056ee+0xf]])[_0x3d385b(0x575)]();}let Je;const di=new Uint8Array(0x10);function fi(){const _0x1db702=_0x2683e6;if(!Je){if(typeof crypto>'u'||!crypto[_0x1db702(0x578)])throw new Error(_0x1db702(0x14e));Je=crypto[_0x1db702(0x578)][_0x1db702(0x580)](crypto);}return Je(di);}const vi=typeof crypto<'u'&&crypto['randomUUID']&&crypto[_0x2683e6(0x5fd)][_0x2683e6(0x580)](crypto),Mt={'randomUUID':vi};function mi(_0x1d1765,_0x495ee4,_0x5d1841){const _0x1bca74=_0x2683e6;if(Mt[_0x1bca74(0x5fd)]&&!_0x495ee4&&!_0x1d1765)return Mt[_0x1bca74(0x5fd)]();_0x1d1765=_0x1d1765||{};const _0x133e20=_0x1d1765[_0x1bca74(0x3e7)]||(_0x1d1765[_0x1bca74(0x480)]||fi)();return _0x133e20[0x6]=_0x133e20[0x6]&0xf|0x40,_0x133e20[0x8]=_0x133e20[0x8]&0x3f|0x80,ui(_0x133e20);}var Si=Object[_0x2683e6(0x1e7)],pi=Object[_0x2683e6(0x181)],gi=(_0x1d536c,_0x26cec5,_0x5d0b93,_0x1aeebd)=>{const _0x46215e=_0x2683e6;for(var _0x938adc=_0x1aeebd>0x1?void 0x0:_0x1aeebd?pi(_0x26cec5,_0x5d0b93):_0x26cec5,_0x24fd64=_0x1d536c[_0x46215e(0x29a)]-0x1,_0x50132a;_0x24fd64>=0x0;_0x24fd64--)(_0x50132a=_0x1d536c[_0x24fd64])&&(_0x938adc=(_0x1aeebd?_0x50132a(_0x26cec5,_0x5d0b93,_0x938adc):_0x50132a(_0x938adc))||_0x938adc);return _0x1aeebd&&_0x938adc&&Si(_0x26cec5,_0x5d0b93,_0x938adc),_0x938adc;},Ze=(_0x32533d,_0x974040)=>(_0x1c5671,_0x1aec46)=>_0x974040(_0x1c5671,_0x1aec46,_0x32533d);let Be=class{constructor(_0x3c8a0f,_0x390b30,_0x174ebe){const _0x55a697=_0x2683e6;this[_0x55a697(0x3e9)]=_0x3c8a0f,this[_0x55a697(0x318)]=_0x390b30,this['_renderManagerService']=_0x174ebe;}[_0x2683e6(0x4d2)](_0x5adf5b){const _0x48f26f=_0x2683e6;this[_0x48f26f(0x199)](_0x5adf5b),this[_0x48f26f(0x16b)](_0x5adf5b);}[_0x2683e6(0x5b3)](_0x1eec75){const _0x10e446=_0x2683e6,{unitID:_0x2f5bdc}=_0x1eec75,_0x43919a=this['_renderManagerService'][_0x10e446(0x4f9)](_0x2f5bdc)[_0x10e446(0x175)](J[_0x10e446(0x5aa)]),{redoCache:_0x5957ad}=_0x43919a['getUndoRedoMutationParamsCache']();if(_0x5957ad[_0x10e446(0x29a)]===0x0)return _0x1eec75;let _0x5cd622=a[_0x10e446(0x256)][_0x10e446(0x43a)](_0x1eec75[_0x10e446(0x2a9)][0x0]);for(let _0x2fe2c4=0x0;_0x2fe2c4<_0x5957ad[_0x10e446(0x29a)];_0x2fe2c4++){const _0x5256d1={'id':_0x10e446(0x35c),'params':{..._0x5957ad[_0x2fe2c4]}},_0x3945bc=this[_0x10e446(0x318)][_0x10e446(0x2b0)](_0x5cd622,_0x5256d1,!0x1);if(S[_0x10e446(0x157)](_0x3945bc))throw _0x3945bc[_0x10e446(0x461)];_0x5cd622=_0x3945bc[_0x10e446(0x515)];}return{...a[_0x10e446(0x256)]['deepClone'](_0x1eec75),'mutations':[_0x5cd622]};}[_0x2683e6(0x199)](_0x34000e){const _0x5090e5=_0x2683e6,{unitID:_0x9fa2bc}=_0x34000e,_0x35eeb9=this[_0x5090e5(0x233)][_0x5090e5(0x4f9)](_0x9fa2bc)[_0x5090e5(0x175)](J[_0x5090e5(0x5aa)]),{undoCache:_0x566fad,redoCache:_0xafd102}=_0x35eeb9[_0x5090e5(0x2ba)]();if(_0x566fad[_0x5090e5(0x29a)]===0x0||_0xafd102[_0x5090e5(0x29a)]===0x0)return;const _0x5c7a07=[],_0x57862e=[];let _0x373fe7=a[_0x5090e5(0x256)]['deepClone'](_0x34000e[_0x5090e5(0x2a9)][0x0]),_0x3b7263=a[_0x5090e5(0x256)][_0x5090e5(0x43a)](_0x34000e[_0x5090e5(0x2a9)][0x0]);for(let _0x77d47a=_0x566fad['length']-0x1;_0x77d47a>=0x0;_0x77d47a--){const _0x457602={'id':'doc.mutation.rich-text-editing','params':{..._0x566fad[_0x77d47a]}},_0x5523c1={'id':'doc.mutation.rich-text-editing','params':{..._0xafd102[_0x77d47a]}},_0x5073b1=this['_transformService'][_0x5090e5(0x2b0)](_0x373fe7,_0x457602,!0x1),_0x4d3041=this[_0x5090e5(0x318)][_0x5090e5(0x2b0)](_0x3b7263,_0x5523c1,!0x1);if(S[_0x5090e5(0x157)](_0x5073b1))throw _0x5073b1[_0x5090e5(0x461)];if(S['isTransformMutationFailure'](_0x4d3041))throw _0x4d3041[_0x5090e5(0x461)];_0x5c7a07['unshift'](_0x5073b1[_0x5090e5(0x326)][_0x5090e5(0x55b)]),_0x57862e['unshift'](_0x4d3041[_0x5090e5(0x326)]['params']),_0x373fe7=_0x5073b1['m1Prime'],_0x3b7263=_0x4d3041['m1Prime'];}_0x35eeb9['setUndoRedoMutationParamsCache']({'undoCache':_0x5c7a07,'redoCache':_0x57862e});}[_0x2683e6(0x16b)](_0x1f6704){const _0x31afc9=_0x2683e6,{unitID:_0x2a611c}=_0x1f6704,_0x377496=this[_0x31afc9(0x233)]['getRenderById'](_0x2a611c)['with'](J[_0x31afc9(0x5aa)]),_0x4254b1=_0x377496['getActiveRange']();if(_0x4254b1==null)return;const _0x2cc654=[{'id':_0x31afc9(0x35c),'params':{'unitId':_0x1f6704[_0x31afc9(0x4a9)],'actions':null,'textRanges':[_0x4254b1]}}],_0x4569a8=this[_0x31afc9(0x318)][_0x31afc9(0x1b6)](_0x1f6704,_0x2cc654);if(!S[_0x31afc9(0x30a)](_0x4569a8))throw _0x4569a8[_0x31afc9(0x461)];const _0x48cd4a=_0x4569a8[_0x31afc9(0x326)][0x0][_0x31afc9(0x55b)][_0x31afc9(0x242)];Array['isArray'](_0x48cd4a)&&_0x48cd4a[_0x31afc9(0x29a)]&&_0x377496['setActiveRange'](_0x48cd4a[0x0]);}};Be=gi([Ze(0x0,a[_0x2683e6(0x22b)](a['Injector'])),Ze(0x1,S[_0x2683e6(0x1e3)]),Ze(0x2,K['IRenderManagerService'])],Be);var Ii=Object[_0x2683e6(0x1e7)],Ci=Object[_0x2683e6(0x181)],Ei=(_0x5affcc,_0x20b642,_0x2c3c54,_0x20f3dd)=>{const _0x4cd4bd=_0x2683e6;for(var _0x54aabb=_0x20f3dd>0x1?void 0x0:_0x20f3dd?Ci(_0x20b642,_0x2c3c54):_0x20b642,_0x515d57=_0x5affcc[_0x4cd4bd(0x29a)]-0x1,_0x5add45;_0x515d57>=0x0;_0x515d57--)(_0x5add45=_0x5affcc[_0x515d57])&&(_0x54aabb=(_0x20f3dd?_0x5add45(_0x20b642,_0x2c3c54,_0x54aabb):_0x5add45(_0x54aabb))||_0x54aabb);return _0x20f3dd&&_0x54aabb&&Ii(_0x20b642,_0x2c3c54,_0x54aabb),_0x54aabb;},Pe=(_0x2543a9,_0x209c33)=>(_0x2f227d,_0x12c92d)=>_0x209c33(_0x2f227d,_0x12c92d,_0x2543a9);exports[_0x2683e6(0x604)]=class extends a['Disposable']{constructor(_0x2c234a,_0x174390,_0x55f832,_0x18d1da,_0x4debe7){const _0x34be41=_0x2683e6;super(),I(this,_0x34be41(0x1b7),new Map()),I(this,_0x34be41(0x1aa),new Map()),I(this,_0x34be41(0x45d),!0x1),(this[_0x34be41(0x3d1)]=_0x2c234a,this[_0x34be41(0x3a6)]=_0x174390,this[_0x34be41(0x264)]=_0x55f832,this[_0x34be41(0x347)]=_0x18d1da,this[_0x34be41(0x285)]=_0x4debe7,this['_setupBeforeClosingHandler']());}[_0x2683e6(0x51a)](){const _0x494466=_0x2683e6;this[_0x494466(0x45d)]=!0x0;}[_0x2683e6(0x240)](){this['_disabled']=!0x1;}['dispose'](){const _0x18adc0=_0x2683e6;this['exhaustSavingTask']()[_0x18adc0(0x3a7)](()=>super[_0x18adc0(0x269)]());}async[_0x2683e6(0x27c)](_0x175835){const _0x4f0d37=_0x2683e6;return this[_0x4f0d37(0x45d)]?null:this[_0x4f0d37(0x3a6)]['getItem'](At(_0x175835));}async[_0x2683e6(0x3d9)](_0x483919,_0x4af811){const _0x54fcd5=_0x2683e6;return!!this[_0x54fcd5(0x3a6)]['setItem'](_0x483919,_0x4af811);}[_0x2683e6(0x2d4)](_0x396dcf,_0x51d461,_0x42e9db,_0x91d04d){const _0x1a84a5=_0x2683e6,_0x1b8e33=this['_revisionService']['getCurrentRevOfUnit'](_0x396dcf);this[_0x1a84a5(0x1b7)][_0x1a84a5(0x46f)](_0x396dcf,{'unitID':_0x396dcf,'type':_0x51d461,'awaitingChangeset':_0x42e9db,'mutations':_0x91d04d,'rev':_0x1b8e33}),this[_0x1a84a5(0x1aa)][_0x1a84a5(0x58e)](_0x396dcf)||this[_0x1a84a5(0x1ad)](_0x396dcf);}[_0x2683e6(0x1ad)](_0x71fc63){const _0x3793be=_0x2683e6,_0x286fe8=this[_0x3793be(0x508)]();_0x286fe8===0x0?this[_0x3793be(0x544)](_0x71fc63):this[_0x3793be(0x1aa)][_0x3793be(0x46f)](_0x71fc63,setTimeout(()=>this[_0x3793be(0x544)](_0x71fc63),_0x286fe8));}[_0x2683e6(0x508)](){const _0x204393=_0x2683e6;var _0x29fa22;return(_0x29fa22=this['_configService'][_0x204393(0x496)](rn))!=null?_0x29fa22:Yn;}['_saveCache'](_0x117513){const _0x20f295=_0x2683e6,_0x38694a=this[_0x20f295(0x1aa)][_0x20f295(0x553)](_0x117513);return _0x38694a!==void 0x0&&window[_0x20f295(0x24d)](_0x38694a),this[_0x20f295(0x3a6)][_0x20f295(0x579)](At(_0x117513),this[_0x20f295(0x1b7)]['get'](_0x117513))['then'](()=>this[_0x20f295(0x1aa)][_0x20f295(0x27e)](_0x117513));}async[_0x2683e6(0x353)](){const _0x18799e=_0x2683e6,_0x3eec05=[];this[_0x18799e(0x1aa)][_0x18799e(0x280)]((_0x21b8c2,_0x3f4b69)=>{const _0x4ad206=_0x18799e;window['clearTimeout'](_0x21b8c2),_0x3eec05['push'](this[_0x4ad206(0x544)](_0x3f4b69)[_0x4ad206(0x3a7)](()=>{const _0x3062a0=_0x4ad206;this[_0x3062a0(0x1aa)]['delete'](_0x3f4b69);}));}),await Promise[_0x18799e(0x344)](_0x3eec05);}[_0x2683e6(0x2bb)](){const _0x1edc34=_0x2683e6;this[_0x1edc34(0x427)](this[_0x1edc34(0x264)][_0x1edc34(0x21f)](()=>{const _0x4d7d7a=_0x1edc34;if(this[_0x4d7d7a(0x1aa)]['size'])return this[_0x4d7d7a(0x347)]['t']('collaboration-client.offline-data-not-saved');}));}},exports[_0x2683e6(0x604)]=Ei([Pe(0x0,a['IConfigService']),Pe(0x1,a[_0x2683e6(0x5be)]),Pe(0x2,ee[_0x2683e6(0x246)]),Pe(0x3,a[_0x2683e6(0x22b)](a[_0x2683e6(0x479)])),Pe(0x4,a[_0x2683e6(0x22b)](S[_0x2683e6(0x4f5)]))],exports[_0x2683e6(0x604)]);function At(_0x2760cd){return'unit-cache-'+_0x2760cd;}var bi=Object[_0x2683e6(0x1e7)],Ti=Object[_0x2683e6(0x181)],Ri=(_0x2f845c,_0x4e8c89,_0xe85416,_0x12f030)=>{const _0x298d5b=_0x2683e6;for(var _0x367cd6=_0x12f030>0x1?void 0x0:_0x12f030?Ti(_0x4e8c89,_0xe85416):_0x4e8c89,_0x276f4a=_0x2f845c[_0x298d5b(0x29a)]-0x1,_0x36db53;_0x276f4a>=0x0;_0x276f4a--)(_0x36db53=_0x2f845c[_0x276f4a])&&(_0x367cd6=(_0x12f030?_0x36db53(_0x4e8c89,_0xe85416,_0x367cd6):_0x36db53(_0x367cd6))||_0x367cd6);return _0x12f030&&_0x367cd6&&bi(_0x4e8c89,_0xe85416,_0x367cd6),_0x367cd6;},Qe=(_0x215593,_0x14d349)=>(_0x2384d5,_0x4508c1)=>_0x14d349(_0x2384d5,_0x4508c1,_0x215593);function yi(_0x2f11fa){const _0x45974c=_0x2683e6,{unitID:_0x806581,mutations:_0x20aa1c}=_0x2f11fa;return{'unitId':_0x806581,'subUnitId':_0x20aa1c[0x0][_0x45974c(0x55b)][_0x45974c(0x305)]};}let ke=class{constructor(_0x4905a4,_0x4d8d22,_0x38d299){const _0x23ae77=_0x2683e6;this[_0x23ae77(0x3e9)]=_0x4905a4,this['_transformService']=_0x4d8d22,this['_instanceService']=_0x38d299;}[_0x2683e6(0x46a)](_0x5b928f){const _0x4b5b2b=_0x2683e6;var _0x9756d5,_0x36b215,_0xf83e4b,_0x3ecd57;const _0x96e948=this[_0x4b5b2b(0x3e9)][_0x4b5b2b(0x553)](k[_0x4b5b2b(0x550)]),{unitId:_0x28d656,subUnitId:_0x321826}=yi(_0x5b928f),_0x4eddec=_0x96e948['getWorkbookSelections'](_0x28d656)['getCurrentSelections'](),_0x170fd1=(_0x36b215=(_0x9756d5=this['_instanceService'][_0x4b5b2b(0x4af)](_0x28d656))==null?void 0x0:_0x9756d5[_0x4b5b2b(0x399)]())==null?void 0x0:_0x36b215[_0x4b5b2b(0x276)]();if(_0x4eddec[_0x4b5b2b(0x29a)]===0x0||!_0x28d656||!_0x321826)return;const _0x34d15c=[{'id':k[_0x4b5b2b(0x227)]['id'],'params':{'unitId':_0x28d656,'subUnitId':_0x170fd1,'selections':a[_0x4b5b2b(0x256)]['deepClone'](_0x4eddec)}}],_0x2370fe=this[_0x4b5b2b(0x318)][_0x4b5b2b(0x1b6)](_0x5b928f,_0x34d15c);if(!S[_0x4b5b2b(0x30a)](_0x2370fe))throw _0x2370fe[_0x4b5b2b(0x461)];const _0x4860b9=(_0x3ecd57=(_0xf83e4b=_0x2370fe[_0x4b5b2b(0x326)][0x0])==null?void 0x0:_0xf83e4b['params'])==null?void 0x0:_0x3ecd57['selections'];if(Array['isArray'](_0x4860b9)&&_0x4860b9['length']){if(_0x4860b9[_0x4b5b2b(0x29a)]===_0x34d15c[0x0][_0x4b5b2b(0x55b)][_0x4b5b2b(0x50b)]['length']&&_0x4860b9[_0x4b5b2b(0x333)]((_0x3f31a7,_0x13f161)=>a['Rectangle']['equals'](_0x3f31a7['range'],_0x34d15c[0x0][_0x4b5b2b(0x55b)][_0x4b5b2b(0x50b)][_0x13f161][_0x4b5b2b(0x1c7)])))return;this[_0x4b5b2b(0x3e9)][_0x4b5b2b(0x553)](a['ICommandService'])[_0x4b5b2b(0x511)](k[_0x4b5b2b(0x227)]['id'],{'unitId':_0x28d656,'subUnitId':_0x170fd1,'selections':_0x4860b9});}}};ke=Ri([Qe(0x0,a[_0x2683e6(0x22b)](a['Injector'])),Qe(0x1,S[_0x2683e6(0x1e3)]),Qe(0x2,a[_0x2683e6(0x468)])],ke);const qe=a[_0x2683e6(0x608)](_0x2683e6(0x42d));var un=(_0x467e9e=>(_0x467e9e[_0x467e9e[_0x2683e6(0x1f1)]=0x0]=_0x2683e6(0x1f1),_0x467e9e[_0x467e9e[_0x2683e6(0x4c1)]=0x1]='OTHER_CLIENTS_EDITING',_0x467e9e))(un||{});const Nt=0x7530,Lt=_0x2683e6(0x471);class Oi extends a['Disposable']{constructor(){const _0x2c61f7=_0x2683e6;super(),I(this,_0x2c61f7(0x400),a[_0x2c61f7(0x256)][_0x2c61f7(0x59e)]()),I(this,_0x2c61f7(0x1e9),new Set()),I(this,_0x2c61f7(0x229),new Map()),I(this,_0x2c61f7(0x557),null),I(this,'_clearOtherTimers',new Map()),I(this,_0x2c61f7(0x1b1),new Map()),this[_0x2c61f7(0x4ea)]();}[_0x2683e6(0x269)](){const _0x541e16=_0x2683e6;super[_0x541e16(0x269)](),this[_0x541e16(0x450)][_0x541e16(0x280)]((_0x32e61f,_0x46ab9e)=>this[_0x541e16(0x302)](_0x46ab9e)),this['_heartbeatTimer']&&window['clearInterval'](this[_0x541e16(0x557)]);}[_0x2683e6(0x195)](_0x4848d4){const _0x583eb0=_0x2683e6;return this[_0x583eb0(0x4b0)](_0x4848d4)[_0x583eb0(0x36b)](A[_0x583eb0(0x381)]());}[_0x2683e6(0x1b4)](_0x1d0f4c){const _0x439dae=_0x2683e6;this[_0x439dae(0x1e9)][_0x439dae(0x4b4)]===0x0&&this['_scheduleHeartbeat'](),this['_selfUnitIDs'][_0x439dae(0x494)](_0x1d0f4c),this[_0x439dae(0x549)]({'type':0x0,'memberID':this[_0x439dae(0x400)],'unitIDs':[_0x1d0f4c],'isForwarded':!0x1});}[_0x2683e6(0x5d7)](_0x360001){const _0x38ce64=_0x2683e6;this['_selfUnitIDs'][_0x38ce64(0x27e)](_0x360001),this[_0x38ce64(0x1e9)][_0x38ce64(0x4b4)]===0x0&&this[_0x38ce64(0x557)]&&window[_0x38ce64(0x251)](this[_0x38ce64(0x557)]);}[_0x2683e6(0x4ea)](){const _0x4a50af=_0x2683e6;this[_0x4a50af(0x427)](a[_0x4a50af(0x454)](A[_0x4a50af(0x5d5)](window,_0x4a50af(0x3ea))[_0x4a50af(0x44d)](_0x3e1d99=>{const _0x5c4731=_0x4a50af;if(_0x3e1d99[_0x5c4731(0x327)]!==Lt||!_0x3e1d99[_0x5c4731(0x59a)])return;const _0x365b7c=JSON['parse'](_0x3e1d99[_0x5c4731(0x59a)]);this[_0x5c4731(0x430)](_0x365b7c);}))),window[_0x4a50af(0x4fc)](_0x4a50af(0x36a),()=>this[_0x4a50af(0x549)]({'type':0x1,'memberID':this[_0x4a50af(0x400)],'unitIDs':Array['from'](this['_selfUnitIDs'])}));}['_handleEvent'](_0x47aef6){const _0x5d7a61=_0x2683e6;switch(_0x47aef6['type']){case 0x0:this[_0x5d7a61(0x431)](_0x47aef6);break;case 0x1:this[_0x5d7a61(0x45c)](_0x47aef6);break;case 0x2:this[_0x5d7a61(0x586)](_0x47aef6);break;}}[_0x2683e6(0x431)](_0x1173e2){const _0x2fb763=_0x2683e6,{unitIDs:_0x39b95a,memberID:_0x19f2fc,isForwarded:_0x347ad5}=_0x1173e2;_0x39b95a['forEach'](_0x3f191e=>{const _0x4c1f00=_0x479a;if(!_0x347ad5&&this['_unitOnClients'][_0x4c1f00(0x58e)](_0x3f191e)&&this[_0x4c1f00(0x4b0)](_0x3f191e)['next'](0x1),!this['_unitOnClients'][_0x4c1f00(0x58e)](_0x3f191e)||!this[_0x4c1f00(0x229)][_0x4c1f00(0x553)](_0x3f191e)['has'](_0x19f2fc)){const _0x4ae18b=this['_unitOnClients'][_0x4c1f00(0x553)](_0x3f191e)||new Set();_0x4ae18b[_0x4c1f00(0x494)](_0x19f2fc),this[_0x4c1f00(0x229)][_0x4c1f00(0x46f)](_0x3f191e,_0x4ae18b),this[_0x4c1f00(0x5ea)](_0x19f2fc);}}),_0x347ad5||this['_send']({'type':0x0,'memberID':this[_0x2fb763(0x400)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x2683e6(0x5ea)](_0x21d5a5){const _0x21a585=_0x2683e6;this[_0x21a585(0x302)](_0x21d5a5);const _0x503ef6=window[_0x21a585(0x352)](()=>{const _0x4c82b8=_0x21a585;this[_0x4c82b8(0x229)][_0x4c82b8(0x280)](_0xaede55=>{_0xaede55['delete'](_0x21d5a5);});},Nt*0x2);this[_0x21a585(0x450)][_0x21a585(0x46f)](_0x21d5a5,_0x503ef6);}['_removeClearOtherTimer'](_0x5738bc){const _0x3eac68=_0x2683e6;if(this[_0x3eac68(0x450)]['has'](_0x5738bc)){const _0x255612=this[_0x3eac68(0x450)][_0x3eac68(0x553)](_0x5738bc);_0x255612&&window['clearTimeout'](_0x255612),this['_clearOtherTimers']['set'](_0x5738bc,null);}}['_handleLeaveEvent'](_0x23685d){const _0x314b54=_0x2683e6,{memberID:_0x3d3356,unitIDs:_0x559dc7}=_0x23685d;_0x559dc7[_0x314b54(0x280)](_0xe0e7e0=>{const _0x47f842=_0x314b54;var _0x34201a;const _0xbdaa35=this[_0x47f842(0x229)][_0x47f842(0x553)](_0xe0e7e0);_0xbdaa35&&(_0xbdaa35[_0x47f842(0x27e)](_0x3d3356),(_0x34201a=this[_0x47f842(0x4b0)](_0xe0e7e0))==null||_0x34201a[_0x47f842(0x40f)](_0xbdaa35[_0x47f842(0x4b4)]===0x0?0x0:0x1));}),this[_0x314b54(0x302)](_0x3d3356);}[_0x2683e6(0x586)](_0x533375){const _0x3bb526=_0x2683e6;this[_0x3bb526(0x5ea)](_0x533375[_0x3bb526(0x30e)]);}[_0x2683e6(0x549)](_0x29e642){const _0x373fb4=_0x2683e6;localStorage['setItem'](Lt,JSON[_0x373fb4(0x40e)](_0x29e642));}[_0x2683e6(0x5ad)](){const _0x2fa0b0=_0x2683e6;this[_0x2fa0b0(0x557)]=window[_0x2fa0b0(0x489)](()=>{const _0xbf7339=_0x2fa0b0;this[_0xbf7339(0x549)]({'type':0x2,'memberID':this[_0xbf7339(0x400)]});},Nt);}[_0x2683e6(0x4b0)](_0x14929d){const _0x1fd09a=_0x2683e6;return this[_0x1fd09a(0x1b1)]['has'](_0x14929d)||this[_0x1fd09a(0x1b1)][_0x1fd09a(0x46f)](_0x14929d,new A['BehaviorSubject'](0x0)),this['_unitStatus']['get'](_0x14929d);}}var Di=Object[_0x2683e6(0x1e7)],wi=Object['getOwnPropertyDescriptor'],Pi=(_0x3fabb1,_0x31d119,_0x2db250,_0x2e09dd)=>{const _0x17c7e2=_0x2683e6;for(var _0x17930e=_0x2e09dd>0x1?void 0x0:_0x2e09dd?wi(_0x31d119,_0x2db250):_0x31d119,_0x26f90d=_0x3fabb1[_0x17c7e2(0x29a)]-0x1,_0x102239;_0x26f90d>=0x0;_0x26f90d--)(_0x102239=_0x3fabb1[_0x26f90d])&&(_0x17930e=(_0x2e09dd?_0x102239(_0x31d119,_0x2db250,_0x17930e):_0x102239(_0x17930e))||_0x17930e);return _0x2e09dd&&_0x17930e&&Di(_0x31d119,_0x2db250,_0x17930e),_0x17930e;},et=(_0x4958ea,_0x119bf2)=>(_0x2ab780,_0xf1857f)=>_0x119bf2(_0x2ab780,_0xf1857f,_0x4958ea);let We=class{constructor(_0x86f0cf,_0x82a47,_0xadebdf){const _0x52b7e1=_0x2683e6;this[_0x52b7e1(0x3e9)]=_0x86f0cf,this['_transformService']=_0x82a47,this[_0x52b7e1(0x42e)]=_0xadebdf;}['transformStateCache'](_0x545ea5){const _0x1c0d4d=_0x2683e6;this[_0x1c0d4d(0x5c3)](_0x545ea5);}['transformRemoteChangeset'](_0x3604c7){const _0xc2dc98=_0x2683e6,{unitID:_0x171d8a}=_0x3604c7,{collaboration:_0x433186}=this['_docStateChangeManagerService']['getStateCache'](_0x171d8a);if(_0x433186[_0xc2dc98(0x29a)]===0x0)return _0x3604c7;let _0x56263d=a[_0xc2dc98(0x256)][_0xc2dc98(0x43a)](_0x3604c7[_0xc2dc98(0x2a9)][0x0]);for(let _0x25d0ff=0x0;_0x25d0ff<_0x433186[_0xc2dc98(0x29a)];_0x25d0ff++){const _0x1f1d04={'id':_0xc2dc98(0x35c),'params':{'unitId':_0x433186[_0x25d0ff][_0xc2dc98(0x5e6)],..._0x433186[_0x25d0ff]['redoState']}},_0x1fee48=this[_0xc2dc98(0x318)]['transformMutation'](_0x56263d,_0x1f1d04,!0x1);if(S['isTransformMutationFailure'](_0x1fee48))throw _0x1fee48['error'];_0x56263d=_0x1fee48[_0xc2dc98(0x515)];}return{...a[_0xc2dc98(0x256)][_0xc2dc98(0x43a)](_0x3604c7),'mutations':[_0x56263d]};}['_transformHistoryAndStateStack'](_0x3a05b7){const _0xe79e96=_0x2683e6,{unitID:_0x5e63ee}=_0x3a05b7,{history:_0x50973b,collaboration:_0x9035d5}=this[_0xe79e96(0x42e)][_0xe79e96(0x329)](_0x5e63ee);if(_0x50973b[_0xe79e96(0x29a)]===0x0&&_0x9035d5[_0xe79e96(0x29a)]===0x0)return;const _0x19a9b5=[],_0x1d2f84=[];let _0x30dc42=a[_0xe79e96(0x256)][_0xe79e96(0x43a)](_0x3a05b7[_0xe79e96(0x2a9)][0x0]),_0x4aa146=a[_0xe79e96(0x256)][_0xe79e96(0x43a)](_0x3a05b7[_0xe79e96(0x2a9)][0x0]);for(let _0x20d6cb=_0x50973b[_0xe79e96(0x29a)]-0x1;_0x20d6cb>=0x0;_0x20d6cb--){const _0x4abda4={'id':_0xe79e96(0x35c),'params':{'unitId':_0x50973b[_0x20d6cb][_0xe79e96(0x5e6)],..._0x50973b[_0x20d6cb]['undoState']}},_0x50594e={'id':_0xe79e96(0x35c),'params':{'unitId':_0x50973b[_0x20d6cb][_0xe79e96(0x5e6)],..._0x50973b[_0x20d6cb][_0xe79e96(0x266)]}},_0x5ef897=this[_0xe79e96(0x318)]['transformMutation'](_0x30dc42,_0x4abda4,!0x1),_0x73a6be=this[_0xe79e96(0x318)]['transformMutation'](_0x4aa146,_0x50594e,!0x1);if(S[_0xe79e96(0x157)](_0x5ef897))throw _0x5ef897[_0xe79e96(0x461)];if(S[_0xe79e96(0x157)](_0x73a6be))throw _0x73a6be['error'];_0x19a9b5[_0xe79e96(0x309)]({..._0x50973b[_0x20d6cb],'undoState':_0x5ef897[_0xe79e96(0x326)][_0xe79e96(0x55b)],'redoState':_0x73a6be[_0xe79e96(0x326)]['params']}),_0x30dc42=_0x5ef897[_0xe79e96(0x515)],_0x4aa146=_0x73a6be[_0xe79e96(0x515)];}_0x30dc42=a['Tools'][_0xe79e96(0x43a)](_0x3a05b7[_0xe79e96(0x2a9)][0x0]),_0x4aa146=a[_0xe79e96(0x256)][_0xe79e96(0x43a)](_0x3a05b7[_0xe79e96(0x2a9)][0x0]);for(let _0x4220ed=_0x9035d5['length']-0x1;_0x4220ed>=0x0;_0x4220ed--){const _0x36deb4={'id':_0xe79e96(0x35c),'params':{'unitId':_0x9035d5[_0x4220ed][_0xe79e96(0x5e6)],..._0x9035d5[_0x4220ed][_0xe79e96(0x503)]}},_0x5b164e={'id':_0xe79e96(0x35c),'params':{'unitId':_0x9035d5[_0x4220ed][_0xe79e96(0x5e6)],..._0x9035d5[_0x4220ed]['redoState']}},_0x50ee21=this['_transformService'][_0xe79e96(0x2b0)](_0x30dc42,_0x36deb4,!0x1),_0x872b6e=this[_0xe79e96(0x318)][_0xe79e96(0x2b0)](_0x4aa146,_0x5b164e,!0x1);if(S['isTransformMutationFailure'](_0x50ee21))throw _0x50ee21[_0xe79e96(0x461)];if(S[_0xe79e96(0x157)](_0x872b6e))throw _0x872b6e[_0xe79e96(0x461)];_0x1d2f84[_0xe79e96(0x309)]({..._0x9035d5[_0x4220ed],'undoState':_0x50ee21[_0xe79e96(0x326)][_0xe79e96(0x55b)],'redoState':_0x872b6e[_0xe79e96(0x326)][_0xe79e96(0x55b)]}),_0x30dc42=_0x50ee21['m1Prime'],_0x4aa146=_0x872b6e[_0xe79e96(0x515)];}this[_0xe79e96(0x42e)]['setStateCache'](_0x5e63ee,{'history':_0x19a9b5,'collaboration':_0x1d2f84});}};We=Pi([et(0x0,a['Inject'](a['Injector'])),et(0x1,S[_0x2683e6(0x1e3)]),et(0x2,a[_0x2683e6(0x22b)](J['DocStateChangeManagerService']))],We);function dn(_0x1cd40b){const _0x11d903=_0x2683e6;let _0x3bda20='';for(const _0x3fdc12 of _0x1cd40b){const {startOffset:_0x1b2edc,endOffset:_0x7a3dea,isActive:_0x2d556a,rangeType:_0x4a5193,segmentId:_0x395922,segmentPage:_0x56e062}=_0x3fdc12;_0x3bda20[_0x11d903(0x29a)]&&(_0x3bda20+=','),_0x3bda20+=_0x1b2edc+':'+_0x7a3dea+':'+(_0x2d556a?'1':'0')+':'+_0x4a5193+':'+_0x395922+':'+_0x56e062;}return _0x3bda20;}function Ui(_0x3aa677){const _0x30e1de=_0x2683e6,_0x27f4a5=_0x3aa677[_0x30e1de(0x18f)](','),_0x2e702f=[];for(const _0x380194 of _0x27f4a5){const [_0x3a5f99,_0x2cf709,_0x49da26,_0x10086b,_0x532b51,_0x476cf4]=_0x380194[_0x30e1de(0x18f)](':');_0x2e702f[_0x30e1de(0x17e)]({'startOffset':Number(_0x3a5f99),'endOffset':Number(_0x2cf709),'collapsed':_0x3a5f99===_0x2cf709,'isActive':_0x49da26==='1','rangeType':_0x10086b===a[_0x30e1de(0x5ec)][_0x30e1de(0x350)]?a['DOC_RANGE_TYPE']['TEXT']:a['DOC_RANGE_TYPE'][_0x30e1de(0x3bf)],'segmentId':typeof _0x532b51==_0x30e1de(0x516)?String(_0x532b51):'','segmentPage':Number(_0x476cf4!=null?_0x476cf4:-0x1)});}return _0x2e702f['some'](_0x3eebc0=>_0x3eebc0[_0x30e1de(0x2da)])||(_0x2e702f[0x0]['isActive']=!0x0),_0x2e702f;}class Rt extends a[_0x2683e6(0x1e0)]{constructor(){const _0x401977=_0x2683e6;super(...arguments),I(this,_0x401977(0x4d6),new A[(_0x401977(0x1ce))](null)),I(this,_0x401977(0x409),this['_collabCursorState$'][_0x401977(0x4f2)]());}['syncEditingCollabCursor'](_0x9e1878){const _0xa032f3=_0x2683e6,{unitID:_0x159499,memberID:_0x5c74b6,textRanges:_0x1b407d}=_0x9e1878,_0x4cdea7=dn(_0x1b407d);if(_0x4cdea7==='')return;const _0x5c4c39={'unitID':_0x159499,'memberID':_0x5c74b6,'selection':_0x4cdea7};this[_0xa032f3(0x4d6)][_0xa032f3(0x40f)](_0x5c4c39);}}var Mi=Object[_0x2683e6(0x1e7)],Ai=Object[_0x2683e6(0x181)],Ni=(_0x31dfec,_0x3f3bca,_0x51ba97,_0x32f797)=>{const _0x3bc5ea=_0x2683e6;for(var _0x55420d=_0x32f797>0x1?void 0x0:_0x32f797?Ai(_0x3f3bca,_0x51ba97):_0x3f3bca,_0x52f272=_0x31dfec[_0x3bc5ea(0x29a)]-0x1,_0xc1635e;_0x52f272>=0x0;_0x52f272--)(_0xc1635e=_0x31dfec[_0x52f272])&&(_0x55420d=(_0x32f797?_0xc1635e(_0x3f3bca,_0x51ba97,_0x55420d):_0xc1635e(_0x55420d))||_0x55420d);return _0x32f797&&_0x55420d&&Mi(_0x3f3bca,_0x51ba97,_0x55420d),_0x55420d;},xt=(_0x2bfd18,_0x21c54a)=>(_0x332dab,_0x38f91c)=>_0x21c54a(_0x332dab,_0x38f91c,_0x2bfd18);let Fe=class{constructor(_0x306df2,_0x44477e){const _0x4e326d=_0x2683e6;this['_injector']=_0x306df2,this[_0x4e326d(0x318)]=_0x44477e;}['transformSelections'](_0x3e1a8d){const _0x2b42fa=_0x2683e6;var _0x396b17;const _0x6610a7=this[_0x2b42fa(0x3e9)][_0x2b42fa(0x553)](ye[_0x2b42fa(0x53e)]),_0x3dcdf8=(_0x396b17=_0x6610a7[_0x2b42fa(0x500)]())!=null?_0x396b17:[];if(_0x3dcdf8[_0x2b42fa(0x29a)]===0x0)return;const _0x6c8ac=_0x3e1a8d[_0x2b42fa(0x4a9)],_0x1019ab=[{'id':_0x2b42fa(0x35c),'params':{'unitId':_0x6c8ac,'actions':null,'textRanges':_0x3dcdf8}}],_0xc44622=this['_transformService']['transformMutationsWithChangeset'](_0x3e1a8d,_0x1019ab);if(!S[_0x2b42fa(0x30a)](_0xc44622))throw _0xc44622[_0x2b42fa(0x461)];const _0x4b491d=_0xc44622[_0x2b42fa(0x326)][0x0]['params'][_0x2b42fa(0x242)];Array[_0x2b42fa(0x1c2)](_0x4b491d)&&_0x4b491d[_0x2b42fa(0x29a)]&&_0x6610a7[_0x2b42fa(0x29c)](_0x4b491d,{'unitId':_0x6c8ac,'subUnitId':_0x6c8ac},!0x1);}};Fe=Ni([xt(0x0,a[_0x2683e6(0x22b)](a['Injector'])),xt(0x1,S[_0x2683e6(0x1e3)])],Fe);const Li=new Set([k[_0x2683e6(0x4f7)]['id']]);function jt(_0x40776b,_0x488cc0,_0x428548,_0x5cc9e3,_0x46076f){const _0xe6ff8e=_0x2683e6;var _0x12b856,_0x520ddb,_0xed7580,_0x480c33;const _0x9fc6c5=[];for(const _0x3f5222 of _0x40776b)if(Li[_0xe6ff8e(0x58e)](_0x3f5222['id'])){if(_0x9fc6c5[_0xe6ff8e(0x29a)]>0x0)break;_0x9fc6c5[_0xe6ff8e(0x17e)](_0x3f5222);break;}else _0x9fc6c5['push'](_0x3f5222);const _0x5a21b7=(_0x520ddb=(_0x12b856=_0x46076f[_0xe6ff8e(0x39d)]())==null?void 0x0:_0x12b856[_0xe6ff8e(0x3be)])!=null?_0x520ddb:_0xe6ff8e(0x507),_0x5bd2ff=(_0x480c33=(_0xed7580=_0x46076f[_0xe6ff8e(0x39d)]())==null?void 0x0:_0xed7580[_0xe6ff8e(0x30e)])!=null?_0x480c33:_0xe6ff8e(0x507);return{'changeset':{'unitID':_0x488cc0,'type':S[_0xe6ff8e(0x26e)](_0x428548[_0xe6ff8e(0x16e)](_0x488cc0)),'baseRev':_0x5cc9e3[_0xe6ff8e(0x581)](_0x488cc0),'revision':0x0,'userID':_0x5a21b7,'memberID':_0x5bd2ff,'mutations':_0x9fc6c5},'pendingMutations':_0x40776b[_0xe6ff8e(0x237)](_0x9fc6c5[_0xe6ff8e(0x29a)])};}function xi(_0x14b86e,_0x2314f6,_0x31250a,_0x59faac,_0x520bf8){const _0x1529ba=_0x2683e6;var _0x5bf4da,_0xac7570,_0x5950ac,_0x380ee9;const _0x2c52fb=[_0x14b86e[_0x1529ba(0x49a)]((_0x4bd79e,_0x26d79a)=>{const _0xe5117b=_0x1529ba;var _0x1c0d93;const {id:_0x542722}=_0x4bd79e,{id:_0x3a4891,type:_0x22a230}=_0x26d79a,_0x1cb7a0=(_0x1c0d93=_0x4bd79e['params'])!=null?_0x1c0d93:{'actions':null},_0x17fbfe=_0x26d79a[_0xe5117b(0x55b)];if(_0x542722&&_0x542722!==_0x3a4891)throw new Error(_0xe5117b(0x56f)+_0x542722+_0xe5117b(0x47c)+_0x3a4891+'.');return{..._0x4bd79e,'id':_0x3a4891,'type':_0x22a230,'params':{'unitId':_0x17fbfe[_0xe5117b(0x5e6)],'textRanges':_0x17fbfe['textRanges'],'actions':a['JSONX']['compose'](_0x1cb7a0[_0xe5117b(0x2ab)],_0x17fbfe[_0xe5117b(0x2ab)])}};},{})],_0x4dcec5=(_0xac7570=(_0x5bf4da=_0x520bf8[_0x1529ba(0x39d)]())==null?void 0x0:_0x5bf4da[_0x1529ba(0x3be)])!=null?_0xac7570:_0x1529ba(0x507),_0x1097eb=(_0x380ee9=(_0x5950ac=_0x520bf8['getCurrentUser']())==null?void 0x0:_0x5950ac[_0x1529ba(0x30e)])!=null?_0x380ee9:'unknown';return{'changeset':{'unitID':_0x2314f6,'type':S[_0x1529ba(0x26e)](_0x31250a[_0x1529ba(0x16e)](_0x2314f6)),'baseRev':_0x59faac[_0x1529ba(0x581)](_0x2314f6),'revision':0x0,'userID':_0x4dcec5,'memberID':_0x1097eb,'mutations':_0x2c52fb},'pendingMutations':[]};}function fn(_0x2794cf,_0x5bf8c5){const _0x5b999e=_0x2683e6,_0xa88dee=new A['ReplaySubject'](0x1);return setTimeout(()=>_0xa88dee[_0x5b999e(0x40f)](_0x5bf8c5),_0x2794cf),_0xa88dee[_0x5b999e(0x4f2)]()['pipe'](A[_0x5b999e(0x282)](0x1));}const ji={'id':k[_0x2683e6(0x514)]['id'],'type':a['CommandType'][_0x2683e6(0x3fd)],'params':{}};function _0x479a(_0x4277e8,_0x40d3c5){const _0x21f6c9=_0x21f6();return _0x479a=function(_0x479a10,_0x207df7){_0x479a10=_0x479a10-0x14d;let _0x73105=_0x21f6c9[_0x479a10];return _0x73105;},_0x479a(_0x4277e8,_0x40d3c5);}var $i=Object['defineProperty'],Hi=Object['getOwnPropertyDescriptor'],Ie=(_0x594b71,_0x550e9c,_0x464d5b,_0x4125b5)=>{for(var _0x3be3d4=_0x4125b5>0x1?void 0x0:_0x4125b5?Hi(_0x550e9c,_0x464d5b):_0x550e9c,_0x3ac341=_0x594b71['length']-0x1,_0x23fcc0;_0x3ac341>=0x0;_0x3ac341--)(_0x23fcc0=_0x594b71[_0x3ac341])&&(_0x3be3d4=(_0x4125b5?_0x23fcc0(_0x550e9c,_0x464d5b,_0x3be3d4):_0x23fcc0(_0x3be3d4))||_0x3be3d4);return _0x4125b5&&_0x3be3d4&&$i(_0x550e9c,_0x464d5b,_0x3be3d4),_0x3be3d4;},N=(_0x40c31f,_0x5ceba4)=>(_0x7b71b5,_0x22141c)=>_0x5ceba4(_0x7b71b5,_0x22141c,_0x40c31f),q=(_0x18fdfc=>(_0x18fdfc[_0x2683e6(0x325)]='not_collab',_0x18fdfc[_0x2683e6(0x244)]=_0x2683e6(0x588),_0x18fdfc['PENDING']=_0x2683e6(0x4fa),_0x18fdfc[_0x2683e6(0x2c7)]=_0x2683e6(0x2d6),_0x18fdfc['AWAITING_WITH_PENDING']=_0x2683e6(0x281),_0x18fdfc[_0x2683e6(0x4c9)]=_0x2683e6(0x2ef),_0x18fdfc[_0x2683e6(0x476)]=_0x2683e6(0x2f7),_0x18fdfc['OFFLINE']=_0x2683e6(0x39a),_0x18fdfc))(q||{});const vn=0xea60;class Ce{constructor(_0x44654e,_0x44eea2,_0x1ae6f8,_0x5e56ce,_0x4007ea,_0x32e5e4,_0x484b87,_0x430c04,_0x1c8038){const _0x1bca9e=_0x2683e6;I(this,_0x1bca9e(0x36d),null),I(this,_0x1bca9e(0x4b8),[]),(this[_0x1bca9e(0x4a9)]=_0x44654e,this[_0x1bca9e(0x44a)]=_0x44eea2,this['_handler']=_0x4007ea,this['_commandService']=_0x32e5e4,this[_0x1bca9e(0x25d)]=_0x484b87,this[_0x1bca9e(0x285)]=_0x430c04,this['_localCacheService']=_0x1c8038,this['_awaitingChangeset']=_0x1ae6f8,this[_0x1bca9e(0x4b8)]=_0x5e56ce);}['_checkMissing'](_0x102c78){const _0xfcc54f=_0x2683e6,_0x15720f=this[_0xfcc54f(0x285)]['getCurrentRevOfUnit'](this[_0xfcc54f(0x4a9)]);return _0x102c78['revision']>_0x15720f+0x1?(this[_0xfcc54f(0x474)]['onMissingChangesets']({'from':_0x15720f,'to':_0x102c78['revision']-0x1}),!0x0):!0x1;}[_0x2683e6(0x28b)](_0x35c060){const _0x3689eb=_0x2683e6;this['_undoRedoService'][_0x3689eb(0x3dd)](this[_0x3689eb(0x4a9)],_0x35c060);}[_0x2683e6(0x48f)](_0x99f95c){const _0x5900a6=_0x2683e6;var _0x5fe67a,_0x39d1c4;(_0x39d1c4=(_0x5fe67a=this[_0x5900a6(0x474)])[_0x5900a6(0x366)])==null||_0x39d1c4[_0x5900a6(0x54a)](_0x5fe67a,_0x99f95c);}[_0x2683e6(0x4fb)](_0x4db90d){const _0xf77a86=_0x2683e6;var _0x142081,_0x570d56;return(_0x570d56=(_0x142081=this[_0xf77a86(0x474)])[_0xf77a86(0x32f)])==null?void 0x0:_0x570d56[_0xf77a86(0x54a)](_0x142081,_0x4db90d);}['_transformStateCache'](_0x5c6979){const _0x46c7eb=_0x2683e6;var _0x4ab487,_0xf3c1ef;return(_0xf3c1ef=(_0x4ab487=this[_0x46c7eb(0x474)])[_0x46c7eb(0x458)])==null?void 0x0:_0xf3c1ef[_0x46c7eb(0x54a)](_0x4ab487,_0x5c6979);}[_0x2683e6(0x504)](_0x5105f1){const _0x183b76=_0x2683e6;var _0x2956c9,_0x5ed9ec,_0x372ff3;return(_0x372ff3=(_0x5ed9ec=(_0x2956c9=this[_0x183b76(0x474)])[_0x183b76(0x3bd)])==null?void 0x0:_0x5ed9ec[_0x183b76(0x54a)](_0x2956c9,_0x5105f1))!=null?_0x372ff3:_0x5105f1;}[_0x2683e6(0x3ae)](_0x123876){const _0x18643c=_0x2683e6;var _0x530ce5,_0x90905,_0x370216;return(_0x370216=(_0x90905=(_0x530ce5=this[_0x18643c(0x474)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x90905[_0x18643c(0x54a)](_0x530ce5,_0x123876))!=null?_0x370216:_0x123876;}[_0x2683e6(0x5b2)](_0x18288b){const _0x3781ab=_0x2683e6;var _0x4e6f81,_0x484c42;if(this[_0x3781ab(0x44a)]===ie['UNIVER_DOC']){const {unitID:_0xef4770,mutations:_0x1f04a0,memberID:_0x1a19f3}=_0x18288b,_0x3f762f=_0x1f04a0[0x0][_0x3781ab(0x55b)]['textRanges'];Array['isArray'](_0x3f762f)&&_0x3f762f[_0x3781ab(0x29a)]>0x0&&((_0x484c42=(_0x4e6f81=this[_0x3781ab(0x474)])[_0x3781ab(0x2fe)])==null||_0x484c42[_0x3781ab(0x54a)](_0x4e6f81,{'unitID':_0xef4770,'memberID':_0x1a19f3,'textRanges':_0x3f762f}));}}[_0x2683e6(0x22c)](){const _0x50ce6e=_0x2683e6;this[_0x50ce6e(0x4ee)][_0x50ce6e(0x2d4)](this[_0x50ce6e(0x4a9)],this[_0x50ce6e(0x44a)],this[_0x50ce6e(0x36d)],this[_0x50ce6e(0x4b8)]);}[_0x2683e6(0x186)](){const _0x574f82=_0x2683e6;return this[_0x574f82(0x285)][_0x574f82(0x581)](this[_0x574f82(0x4a9)]);}[_0x2683e6(0x45a)](){const _0x3c22ac=_0x2683e6;this[_0x3c22ac(0x285)][_0x3c22ac(0x1b2)](this['unitID']);}[_0x2683e6(0x2ff)](_0x31f13f){const _0x58d2a5=_0x2683e6;var _0x4338b8;let _0x31eef7=this[_0x58d2a5(0x504)](_0x31f13f);_0x31eef7=this[_0x58d2a5(0x3ae)](_0x31eef7);const _0xdad2f9=a[_0x58d2a5(0x4b1)](_0x31eef7['mutations'],this[_0x58d2a5(0x447)],{'fromCollab':!0x0});if(!_0xdad2f9['result'])throw _0xdad2f9['error']instanceof Error?_0xdad2f9[_0x58d2a5(0x461)]:new Error((_0x4338b8=_0xdad2f9[_0x58d2a5(0x461)])!=null?_0x4338b8:_0x58d2a5(0x1e2));this[_0x58d2a5(0x4fb)](_0x31eef7),this[_0x58d2a5(0x39f)](_0x31eef7),this['_transformUndoredo'](_0x31f13f),this[_0x58d2a5(0x48f)](_0x31eef7),this[_0x58d2a5(0x5b2)](_0x31eef7),this[_0x58d2a5(0x45a)]();}}let Oe=class extends Ce{constructor(_0x2d475b,_0x29c748,_0x747e83,_0x5cb9f8,_0x2972a0,_0x2efda5,_0x15be6a,_0x14c26a,_0x37a055,_0x597be3){const _0x51c9be=_0x2683e6;super(_0x2d475b,_0x29c748,null,[],_0x747e83,_0x14c26a,_0x15be6a,_0x5cb9f8,_0x2972a0),I(this,_0x51c9be(0x47e),_0x51c9be(0x588)),(this['_injector']=_0x2efda5,this[_0x51c9be(0x577)]=_0x37a055,this[_0x51c9be(0x318)]=_0x597be3);}['appendMutation'](_0x10bd7e){const _0x3deb51=_0x2683e6,_0x14e107=this[_0x3deb51(0x3e9)][_0x3deb51(0x4d7)](ce,this['unitID'],this[_0x3deb51(0x44a)],[_0x10bd7e],this['_handler']);return _0x14e107[_0x3deb51(0x375)](),_0x14e107[_0x3deb51(0x22c)](),_0x14e107;}[_0x2683e6(0x373)](_0x1cb7a7){const _0x189e1e=_0x2683e6;if(this[_0x189e1e(0x441)](_0x1cb7a7))return this[_0x189e1e(0x3e9)]['createInstance'](re,this['unitID'],this[_0x189e1e(0x44a)],null,[],null,[_0x1cb7a7],this[_0x189e1e(0x474)]);try{const _0x2b20f0=this['_transformService'][_0x189e1e(0x1b6)](_0x1cb7a7,[ji]);if(S[_0x189e1e(0x30a)](_0x2b20f0)){const {c1Prime:_0x576926}=_0x2b20f0;return this[_0x189e1e(0x2ff)](_0x576926),this;}throw _0x2b20f0[_0x189e1e(0x461)];}catch(_0x5aef89){return this[_0x189e1e(0x577)][_0x189e1e(0x461)](_0x5aef89),this[_0x189e1e(0x25c)](!0x1);}}[_0x2683e6(0x25c)](_0x101c3f){const _0x5305f9=_0x2683e6;return this[_0x5305f9(0x3e9)]['createInstance'](ve,this[_0x5305f9(0x4a9)],this['type'],null,[],this[_0x5305f9(0x474)],_0x101c3f);}[_0x2683e6(0x1a5)](){const _0x25f7b9=_0x2683e6;throw new Error(_0x25f7b9(0x361));}[_0x2683e6(0x2ea)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x2683e6(0x456)](){return this;}['toggleOffline'](){const _0x29db5a=_0x2683e6;return this[_0x29db5a(0x3e9)][_0x29db5a(0x4d7)](me,this[_0x29db5a(0x4a9)],this[_0x29db5a(0x44a)],null,[],this['_handler']);}[_0x2683e6(0x46e)](){return this;}[_0x2683e6(0x4df)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x2683e6(0x445)](){const _0x2891ef=_0x2683e6,_0x5bcdbe=this[_0x2891ef(0x285)][_0x2891ef(0x581)](this[_0x2891ef(0x4a9)]);return this[_0x2891ef(0x474)][_0x2891ef(0x418)]({'from':_0x5bcdbe,'to':0x0}),this[_0x2891ef(0x3e9)][_0x2891ef(0x4d7)](re,this[_0x2891ef(0x4a9)],this[_0x2891ef(0x44a)],null,[],null,[],this[_0x2891ef(0x474)]);}};Oe=Ie([N(0x3,a[_0x2683e6(0x22b)](S[_0x2683e6(0x4f5)])),N(0x4,a[_0x2683e6(0x22b)](exports[_0x2683e6(0x604)])),N(0x5,a[_0x2683e6(0x22b)](a[_0x2683e6(0x2c8)])),N(0x6,a[_0x2683e6(0x5cb)]),N(0x7,a[_0x2683e6(0x1d5)]),N(0x8,a['ILogService']),N(0x9,S[_0x2683e6(0x1e3)])],Oe);let ce=class extends Ce{constructor(_0x43c02a,_0x4e05fe,_0x1a1b44,_0x90cdbd,_0x1d46a8,_0x18c195,_0x112d58,_0xc5560d,_0x5a8aa5,_0x3e8bc,_0x5cae17,_0x4a96fd,_0x542f1c,_0x19e047){const _0x1b62ae=_0x2683e6;super(_0x43c02a,_0x4e05fe,null,_0x1a1b44,_0x90cdbd,_0x3e8bc,_0x19e047,_0x18c195,_0x112d58),I(this,_0x1b62ae(0x47e),_0x1b62ae(0x4fa)),I(this,'_scheduleTimestamp',null),I(this,_0x1b62ae(0x397),null),(this[_0x1b62ae(0x3e9)]=_0x1d46a8,this[_0x1b62ae(0x2cf)]=_0xc5560d,this[_0x1b62ae(0x577)]=_0x5a8aa5,this[_0x1b62ae(0x3d1)]=_0x5cae17,this['_transformService']=_0x4a96fd,this[_0x1b62ae(0x45b)]=_0x542f1c);}[_0x2683e6(0x3b0)](_0x88caa9){const _0x52c55c=_0x2683e6;return this[_0x52c55c(0x4b8)][_0x52c55c(0x17e)](_0x88caa9),this[_0x52c55c(0x22c)](),this;}[_0x2683e6(0x373)](_0x5d145d){const _0x232e12=_0x2683e6;if(this['_checkMissing'](_0x5d145d))return this['_clearScheduledTask'](),this[_0x232e12(0x3e9)]['createInstance'](re,this[_0x232e12(0x4a9)],this[_0x232e12(0x44a)],null,this[_0x232e12(0x4b8)],null,[_0x5d145d],this[_0x232e12(0x474)]);try{const _0x573191=this[_0x232e12(0x318)]['transformMutationsWithChangeset'](_0x5d145d,this[_0x232e12(0x4b8)]);if(S[_0x232e12(0x30a)](_0x573191)){const {c1Prime:_0x25ce1b,m2Prime:_0x2dbcb0}=_0x573191;this[_0x232e12(0x2ff)](_0x25ce1b);const _0x4cc311=this[_0x232e12(0x3e9)][_0x232e12(0x4d7)](ce,this[_0x232e12(0x4a9)],this[_0x232e12(0x44a)],_0x2dbcb0,this[_0x232e12(0x474)]);return this[_0x232e12(0x245)](),_0x4cc311[_0x232e12(0x375)](this[_0x232e12(0x358)]?Math[_0x232e12(0x1a1)](0x0,new Date()[_0x232e12(0x284)]()-this[_0x232e12(0x358)]):this[_0x232e12(0x368)]()),_0x4cc311;}throw _0x573191[_0x232e12(0x461)];}catch(_0x238cb4){return this[_0x232e12(0x577)][_0x232e12(0x461)](_0x238cb4),this[_0x232e12(0x25c)](!0x1);}}[_0x2683e6(0x1a5)](){const _0x14cc42=_0x2683e6;throw new Error(_0x14cc42(0x37f));}[_0x2683e6(0x2ea)](){const _0x1d0420=_0x2683e6;throw new Error(_0x1d0420(0x506));}[_0x2683e6(0x456)](){return this;}['toggleOffline'](){const _0x1026f9=_0x2683e6;return this[_0x1026f9(0x245)](),this[_0x1026f9(0x3e9)][_0x1026f9(0x4d7)](me,this[_0x1026f9(0x4a9)],this[_0x1026f9(0x44a)],null,this[_0x1026f9(0x4b8)],this[_0x1026f9(0x474)]);}[_0x2683e6(0x46e)](){return this;}[_0x2683e6(0x375)](_0x4f4998){const _0x238147=_0x2683e6,_0x4c0b0b=_0x4f4998!=null?_0x4f4998:this['_getSendChangesetTimeout']();this[_0x238147(0x358)]=new Date()[_0x238147(0x284)](),this[_0x238147(0x397)]=window[_0x238147(0x352)](()=>{const _0x158d4d=_0x238147;this[_0x158d4d(0x245)]();let _0x1c29cd=null;switch(this[_0x158d4d(0x44a)]){case ie[_0x158d4d(0x4a1)]:{_0x1c29cd=jt(this[_0x158d4d(0x4b8)],this['unitID'],this['_univerInstanceService'],this[_0x158d4d(0x285)],this['_memberService']);break;}case ie[_0x158d4d(0x56e)]:{this['_pendingMutations'][_0x158d4d(0x333)](_0x10dce8=>_0x10dce8['id']===ye[_0x158d4d(0x1ae)]['id'])?_0x1c29cd=xi(this[_0x158d4d(0x4b8)],this[_0x158d4d(0x4a9)],this[_0x158d4d(0x45b)],this[_0x158d4d(0x285)],this[_0x158d4d(0x2cf)]):_0x1c29cd=jt(this['_pendingMutations'],this[_0x158d4d(0x4a9)],this['_univerInstanceService'],this[_0x158d4d(0x285)],this[_0x158d4d(0x2cf)]);break;}default:throw new Error(_0x158d4d(0x294)+this['type']+'\x20in\x20_schedule.');}const {changeset:_0x2784b4,pendingMutations:_0x50f6a3}=_0x1c29cd;this[_0x158d4d(0x474)][_0x158d4d(0x4aa)](_0x2784b4);const _0x37d818=_0x50f6a3[_0x158d4d(0x29a)]?this[_0x158d4d(0x3e9)][_0x158d4d(0x4d7)](le,this[_0x158d4d(0x4a9)],this[_0x158d4d(0x44a)],_0x2784b4,_0x50f6a3,this[_0x158d4d(0x474)],void 0x0):this['_injector']['createInstance'](fe,this[_0x158d4d(0x4a9)],this['type'],_0x2784b4,this[_0x158d4d(0x474)]);_0x37d818[_0x158d4d(0x22c)](),this[_0x158d4d(0x474)][_0x158d4d(0x2fa)](this,_0x37d818);},_0x4c0b0b);}[_0x2683e6(0x368)](){const _0x3858a4=_0x2683e6;var _0xcbd7ca;const _0x18fa67=this['_configService'][_0x3858a4(0x496)](te);return(_0xcbd7ca=_0x18fa67==null?void 0x0:_0x18fa67['sendChangesetTimeout'])!=null?_0xcbd7ca:kn;}['resend'](){const _0x52acc0=_0x2683e6;throw new Error(_0x52acc0(0x5ff));}['_clearScheduledTask'](){const _0x47575f=_0x2683e6;this['_sendingTimer']!=null&&(clearTimeout(this[_0x47575f(0x397)]),this['_sendingTimer']=null);}[_0x2683e6(0x25c)](_0x579849){const _0x27131f=_0x2683e6;return this[_0x27131f(0x245)](),this['_injector'][_0x27131f(0x4d7)](ve,this['unitID'],this[_0x27131f(0x44a)],null,this[_0x27131f(0x4b8)],this[_0x27131f(0x474)],_0x579849);}};ce=Ie([N(0x4,a[_0x2683e6(0x22b)](a[_0x2683e6(0x2c8)])),N(0x5,a[_0x2683e6(0x22b)](S[_0x2683e6(0x4f5)])),N(0x6,a[_0x2683e6(0x22b)](exports[_0x2683e6(0x604)])),N(0x7,a[_0x2683e6(0x22b)](exports[_0x2683e6(0x184)])),N(0x8,a['ILogService']),N(0x9,a[_0x2683e6(0x1d5)]),N(0xa,a['IConfigService']),N(0xb,S[_0x2683e6(0x1e3)]),N(0xc,a[_0x2683e6(0x468)]),N(0xd,a[_0x2683e6(0x5cb)])],ce);let fe=class extends Ce{constructor(_0x506d97,_0x5e3ce4,_0x48e45c,_0x58b373,_0x4a9bd5,_0x15477a,_0x3ccfb6,_0x9d9444,_0x536fd6,_0x2282ad,_0x301a1f){const _0x224085=_0x2683e6;super(_0x506d97,_0x5e3ce4,_0x48e45c,[],_0x58b373,_0x9d9444,_0x301a1f,_0x15477a,_0x3ccfb6),I(this,_0x224085(0x47e),'awaiting'),I(this,_0x224085(0x4da),0x0),I(this,_0x224085(0x30c)),I(this,_0x224085(0x330)),(this[_0x224085(0x3e9)]=_0x4a9bd5,this[_0x224085(0x577)]=_0x536fd6,this[_0x224085(0x318)]=_0x2282ad);}[_0x2683e6(0x3b0)](_0x2b6080){const _0x21cba7=_0x2683e6;this[_0x21cba7(0x245)]();const _0x43193f=this[_0x21cba7(0x3e9)][_0x21cba7(0x4d7)](le,this[_0x21cba7(0x4a9)],this[_0x21cba7(0x44a)],this['_awaitingChangeset'],[_0x2b6080],this[_0x21cba7(0x474)],this['_resendTimer']);return _0x43193f[_0x21cba7(0x22c)](),_0x43193f;}[_0x2683e6(0x373)](_0x430d9b){const _0x3d1ca9=_0x2683e6;if(this[_0x3d1ca9(0x441)](_0x430d9b))return this[_0x3d1ca9(0x245)](),this[_0x3d1ca9(0x3e9)][_0x3d1ca9(0x4d7)](re,this['unitID'],this[_0x3d1ca9(0x44a)],this[_0x3d1ca9(0x36d)],[],null,[_0x430d9b],this[_0x3d1ca9(0x474)]);try{const _0x2fb940=this[_0x3d1ca9(0x318)]['transformChangesets']([_0x430d9b],[this[_0x3d1ca9(0x36d)]],!0x1);if(S[_0x3d1ca9(0x406)](_0x2fb940)){const {c1Prime:_0x5cc880,c2Prime:_0x454213}=_0x2fb940;this['_executeRemoteChangeset'](_0x5cc880[0x0]),_0x454213[0x0]['baseRev']=this['_getCurrentRevision'](),this['_clearScheduledTask']();const _0x2fa69b=this[_0x3d1ca9(0x3e9)][_0x3d1ca9(0x4d7)](fe,this[_0x3d1ca9(0x4a9)],this[_0x3d1ca9(0x44a)],_0x454213[0x0],this['_handler']);return _0x2fa69b[_0x3d1ca9(0x22c)](),_0x2fa69b;}return this[_0x3d1ca9(0x25c)](!0x1);}catch(_0x1b814c){return this[_0x3d1ca9(0x577)][_0x3d1ca9(0x461)](_0x1b814c),this[_0x3d1ca9(0x25c)](!0x1);}}[_0x2683e6(0x1a5)](_0x4da8eb){const _0x278034=_0x2683e6;this[_0x278034(0x245)]();const _0x12081a=this[_0x278034(0x285)][_0x278034(0x581)](this[_0x278034(0x4a9)]);if(_0x4da8eb[_0x278034(0x297)]<_0x12081a-0x1)return this;if(this[_0x278034(0x441)](_0x4da8eb))return this[_0x278034(0x3e9)][_0x278034(0x4d7)](re,this[_0x278034(0x4a9)],this['type'],null,[],this[_0x278034(0x36d)],[],this[_0x278034(0x474)]);this['_incrementRevisionNumber']();const _0xa9025f=this[_0x278034(0x3e9)][_0x278034(0x4d7)](Oe,this[_0x278034(0x4a9)],this[_0x278034(0x44a)],this['_handler']);return _0xa9025f[_0x278034(0x22c)](),_0xa9025f;}[_0x2683e6(0x2ea)](_0x1793f1){const _0xac8bf1=_0x2683e6;return this[_0xac8bf1(0x25c)](!!(_0x1793f1!=null&&_0x1793f1[_0xac8bf1(0x43e)]));}[_0x2683e6(0x456)](_0x12b407){const _0x1956ba=_0x2683e6;return this['_resendTimeout']>vn?this[_0x1956ba(0x173)]():(this[_0x1956ba(0x30c)]=fn(this[_0x1956ba(0x4da)],{'timeout':this['_resendTimeout'],'reqId':_0x12b407['reqId']}),this[_0x1956ba(0x330)]=this[_0x1956ba(0x30c)][_0x1956ba(0x44d)](({reqId:_0x1978cb,timeout:_0x3382af})=>{const _0xccc619=_0x1956ba;this[_0xccc619(0x2c6)](_0x1978cb,_0x3382af);}),this);}['toggleOffline'](){const _0x267102=_0x2683e6;return this[_0x267102(0x245)](),this[_0x267102(0x3e9)][_0x267102(0x4d7)](me,this['unitID'],this[_0x267102(0x44a)],this[_0x267102(0x36d)],[],this[_0x267102(0x474)]);}['toggleOnline'](){return this;}[_0x2683e6(0x4df)](){const _0x205883=_0x2683e6;this[_0x205883(0x474)]['onSendChangeset'](this[_0x205883(0x36d)]);}[_0x2683e6(0x25c)](_0x3a51be){const _0x4873bf=_0x2683e6;return this[_0x4873bf(0x245)](),this[_0x4873bf(0x3e9)][_0x4873bf(0x4d7)](ve,this[_0x4873bf(0x4a9)],this[_0x4873bf(0x44a)],this[_0x4873bf(0x36d)],[],this[_0x4873bf(0x474)],_0x3a51be);}[_0x2683e6(0x2c6)](_0x44104b,_0x32310f){const _0x3f3bf9=_0x2683e6;var _0x3e8e53;_0x44104b===((_0x3e8e53=this['_awaitingChangeset'])==null?void 0x0:_0x3e8e53['reqId'])&&(this[_0x3f3bf9(0x4df)](),this[_0x3f3bf9(0x4da)]=_0x32310f===0x0?0x3e8:_0x32310f*0x2);}[_0x2683e6(0x245)](){const _0x431dd1=_0x2683e6;var _0x1a4f23;(_0x1a4f23=this[_0x431dd1(0x330)])==null||_0x1a4f23[_0x431dd1(0x334)](),this[_0x431dd1(0x4da)]=0x0;}};fe=Ie([N(0x4,a[_0x2683e6(0x22b)](a[_0x2683e6(0x2c8)])),N(0x5,a[_0x2683e6(0x22b)](S[_0x2683e6(0x4f5)])),N(0x6,a[_0x2683e6(0x22b)](exports[_0x2683e6(0x604)])),N(0x7,a[_0x2683e6(0x1d5)]),N(0x8,a[_0x2683e6(0x5a9)]),N(0x9,S[_0x2683e6(0x1e3)]),N(0xa,a[_0x2683e6(0x5cb)])],fe);let le=class extends Ce{constructor(_0x581d56,_0x3261db,_0x13db57,_0x584eaf,_0xcef5d4,_0x3a4159,_0x4a0a9a,_0xd26331,_0x12202a,_0xe6ddab,_0x3f5226,_0x38d685,_0x58648b){const _0x377436=_0x2683e6;super(_0x581d56,_0x3261db,_0x13db57,_0x584eaf,_0xcef5d4,_0xe6ddab,_0x58648b,_0xd26331,_0x12202a),I(this,_0x377436(0x47e),_0x377436(0x281)),I(this,_0x377436(0x4da),0x0),I(this,'_resendTimer'),I(this,_0x377436(0x330)),(this[_0x377436(0x3e9)]=_0x4a0a9a,this[_0x377436(0x577)]=_0x3f5226,this[_0x377436(0x318)]=_0x38d685,_0x3a4159&&(this[_0x377436(0x30c)]=_0x3a4159,this[_0x377436(0x330)]=this[_0x377436(0x30c)]['subscribe'](({reqId:_0x1cfc24,timeout:_0x5bee57})=>{this['_resendWithTimeout'](_0x1cfc24,_0x5bee57);})));}['appendMutation'](_0x72c28e){const _0x30adf0=_0x2683e6;return this[_0x30adf0(0x4b8)][_0x30adf0(0x17e)](_0x72c28e),this;}[_0x2683e6(0x373)](_0xeaef68){const _0x358c0b=_0x2683e6;if(this[_0x358c0b(0x441)](_0xeaef68))return this['_clearScheduledTask'](),this['_injector'][_0x358c0b(0x4d7)](re,this[_0x358c0b(0x4a9)],this['type'],this[_0x358c0b(0x36d)],this[_0x358c0b(0x4b8)],null,[_0xeaef68],this[_0x358c0b(0x474)]);try{const _0x1ce6bb=this[_0x358c0b(0x318)][_0x358c0b(0x192)]([_0xeaef68],[this[_0x358c0b(0x36d)]],!0x1);if(S[_0x358c0b(0x406)](_0x1ce6bb)){const {c1Prime:_0x57f97b,c2Prime:_0x243cba}=_0x1ce6bb,_0x4ba5ee=this[_0x358c0b(0x318)][_0x358c0b(0x1b6)](_0x57f97b[0x0],this['_pendingMutations']);if(S[_0x358c0b(0x30a)](_0x4ba5ee)){const {c1Prime:_0x1a79dc,m2Prime:_0x204420}=_0x4ba5ee;return this[_0x358c0b(0x2ff)](_0x1a79dc),_0x243cba[0x0][_0x358c0b(0x522)]=this[_0x358c0b(0x186)](),this[_0x358c0b(0x245)](),this[_0x358c0b(0x3e9)][_0x358c0b(0x4d7)](le,this[_0x358c0b(0x4a9)],this['type'],_0x243cba[0x0],_0x204420,this[_0x358c0b(0x474)],void 0x0);}throw _0x4ba5ee[_0x358c0b(0x461)];}throw _0x1ce6bb[_0x358c0b(0x461)];}catch(_0x4bd3ec){return this['_logService'][_0x358c0b(0x461)](_0x4bd3ec),this[_0x358c0b(0x25c)](!0x1);}}[_0x2683e6(0x1a5)](_0x457b2e){const _0x387ba7=_0x2683e6;if(this[_0x387ba7(0x245)](),this[_0x387ba7(0x441)](_0x457b2e))return this[_0x387ba7(0x3e9)]['createInstance'](re,this[_0x387ba7(0x4a9)],this[_0x387ba7(0x44a)],null,this['_pendingMutations'],this[_0x387ba7(0x36d)],[],this[_0x387ba7(0x474)]);this[_0x387ba7(0x45a)]();const _0xd2e7a4=this[_0x387ba7(0x3e9)][_0x387ba7(0x4d7)](ce,this['unitID'],this[_0x387ba7(0x44a)],this['_pendingMutations'],this[_0x387ba7(0x474)]);return _0xd2e7a4[_0x387ba7(0x375)](),_0xd2e7a4[_0x387ba7(0x22c)](),_0xd2e7a4;}['onRemoteRej'](_0x2a5076){const _0x29bd68=_0x2683e6;return this[_0x29bd68(0x25c)](!!(_0x2a5076!=null&&_0x2a5076[_0x29bd68(0x43e)]));}[_0x2683e6(0x456)](_0x5160f9){const _0x27627c=_0x2683e6;return this[_0x27627c(0x4da)]>vn?this[_0x27627c(0x173)]():(this[_0x27627c(0x30c)]=fn(this[_0x27627c(0x4da)],{'timeout':this[_0x27627c(0x4da)],'reqId':_0x5160f9[_0x27627c(0x5c5)]}),this[_0x27627c(0x330)]=this[_0x27627c(0x30c)][_0x27627c(0x44d)](({reqId:_0x366a58,timeout:_0x1bab28})=>{this['_resendWithTimeout'](_0x366a58,_0x1bab28);}),this);}[_0x2683e6(0x173)](){const _0x3251f5=_0x2683e6;return this[_0x3251f5(0x245)](),this[_0x3251f5(0x3e9)][_0x3251f5(0x4d7)](me,this[_0x3251f5(0x4a9)],this['type'],this[_0x3251f5(0x36d)],this['_pendingMutations'],this[_0x3251f5(0x474)]);}[_0x2683e6(0x46e)](){return this;}[_0x2683e6(0x4df)](){const _0x4bed4f=_0x2683e6;this[_0x4bed4f(0x474)][_0x4bed4f(0x4aa)](this[_0x4bed4f(0x36d)]);}[_0x2683e6(0x25c)](_0x3246a7){const _0x4e58be=_0x2683e6;return this[_0x4e58be(0x245)](),this[_0x4e58be(0x3e9)][_0x4e58be(0x4d7)](ve,this['unitID'],this[_0x4e58be(0x44a)],null,this['_pendingMutations'],this[_0x4e58be(0x474)],_0x3246a7);}[_0x2683e6(0x2c6)](_0x32faee,_0x4fb2e8){const _0x4ac9e2=_0x2683e6;var _0x3c485c;_0x32faee===((_0x3c485c=this[_0x4ac9e2(0x36d)])==null?void 0x0:_0x3c485c['reqId'])&&(this[_0x4ac9e2(0x4df)](),this[_0x4ac9e2(0x4da)]=_0x4fb2e8===0x0?0x3e8:_0x4fb2e8*0x2);}['_clearScheduledTask'](){const _0x5c662c=_0x2683e6;var _0x3f10f7;(_0x3f10f7=this[_0x5c662c(0x330)])==null||_0x3f10f7['unsubscribe'](),this[_0x5c662c(0x4da)]=0x0;}};le=Ie([N(0x6,a[_0x2683e6(0x22b)](a[_0x2683e6(0x2c8)])),N(0x7,a[_0x2683e6(0x22b)](S[_0x2683e6(0x4f5)])),N(0x8,a[_0x2683e6(0x22b)](exports['LocalCacheService'])),N(0x9,a[_0x2683e6(0x1d5)]),N(0xa,a['ILogService']),N(0xb,S[_0x2683e6(0x1e3)]),N(0xc,a[_0x2683e6(0x5cb)])],le);let ve=class extends Ce{constructor(_0x3faaf5,_0x5b5e43,_0x2173e9,_0x52c18d,_0x30bac8,_0x458c72=!0x1,_0x2e56f1,_0x1a0260,_0x150878,_0x109ebf,_0x41bbf0,_0x5dbd57,_0xec7619){const _0x577961=_0x2683e6;super(_0x3faaf5,_0x5b5e43,_0x2173e9,_0x52c18d,_0x30bac8,_0x1a0260,_0x150878,_0x41bbf0,_0x109ebf),I(this,'status','conflict'),(this['_isPermissionRej']=_0x458c72,this[_0x577961(0x2b5)]=_0x2e56f1,this[_0x577961(0x347)]=_0x5dbd57,this['_notificationService']=_0xec7619,this['_showConflictNotification'](),this[_0x577961(0x17c)](),this[_0x577961(0x49c)]());}[_0x2683e6(0x3b0)](){return this;}[_0x2683e6(0x373)](){return this;}[_0x2683e6(0x1a5)](){return this;}['onRemoteRej'](){return this;}[_0x2683e6(0x456)](){return this;}[_0x2683e6(0x173)](){return this;}[_0x2683e6(0x46e)](){return this;}[_0x2683e6(0x4df)](){const _0x43192f=_0x2683e6;throw new Error(_0x43192f(0x259));}['_clearLocalCache'](){const _0x110606=_0x2683e6;this[_0x110606(0x4ee)][_0x110606(0x2d4)](this[_0x110606(0x4a9)],this[_0x110606(0x44a)],null,[]);}[_0x2683e6(0x2c3)](){const _0x45d3c2=_0x2683e6;this[_0x45d3c2(0x4b9)]?this[_0x45d3c2(0x2cc)]['show']({'title':this[_0x45d3c2(0x347)]['t'](_0x45d3c2(0x567)),'content':this['_localeService']['t'](_0x45d3c2(0x3b3)),'type':_0x45d3c2(0x461),'duration':0x0}):this[_0x45d3c2(0x2cc)][_0x45d3c2(0x4db)]({'title':this[_0x45d3c2(0x347)]['t'](_0x45d3c2(0x482)),'content':this['_localeService']['t'](_0x45d3c2(0x185)),'type':_0x45d3c2(0x461),'duration':0x0});}[_0x2683e6(0x49c)](){const _0x15b31b=_0x2683e6;this['_permissionService'][_0x15b31b(0x524)](new k[(_0x15b31b(0x4f4))](this[_0x15b31b(0x4a9)])['id'],!0x1);}};ve=Ie([N(0x6,a['Inject'](a[_0x2683e6(0x273)])),N(0x7,a[_0x2683e6(0x1d5)]),N(0x8,a[_0x2683e6(0x5cb)]),N(0x9,a[_0x2683e6(0x22b)](exports['LocalCacheService'])),N(0xa,a[_0x2683e6(0x22b)](S[_0x2683e6(0x4f5)])),N(0xb,a[_0x2683e6(0x22b)](a[_0x2683e6(0x479)])),N(0xc,ee['INotificationService'])],ve);let me=class extends Ce{constructor(_0x100313,_0x257747,_0x21619e,_0x1172d9,_0x5cc783,_0x3e6ddd,_0x33abbd,_0x1fd2c4,_0xa9ffb4,_0x59dabc){const _0x37f588=_0x2683e6;super(_0x100313,_0x257747,_0x21619e,_0x1172d9,_0x5cc783,_0xa9ffb4,_0x59dabc,_0x33abbd,_0x1fd2c4),I(this,_0x37f588(0x47e),_0x37f588(0x39a)),this[_0x37f588(0x3e9)]=_0x3e6ddd;}[_0x2683e6(0x3b0)](_0x3cb574){const _0x1eca5b=_0x2683e6;return this['_pendingMutations']['push'](_0x3cb574),this[_0x1eca5b(0x22c)](),this;}['onRemoteChangeset'](_0x713291){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x2683e6(0x1a5)](){const _0x560dba=_0x2683e6;throw new Error(_0x560dba(0x2e5));}[_0x2683e6(0x2ea)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x2683e6(0x456)](){return this;}[_0x2683e6(0x173)](){return this;}[_0x2683e6(0x46e)](){const _0xbbca3b=_0x2683e6,{_injector:_0x44d034,_pendingMutations:_0x46c923,_awaitingChangeset:_0x37271a,unitID:_0x5a036a,_handler:_0x30a18e,type:_0x53a8c3}=this,_0xabe9a0=mn(_0x44d034,_0x5a036a,_0x53a8c3,_0x37271a,_0x46c923,_0x30a18e);return _0xabe9a0 instanceof ce?_0xabe9a0['_schedule']():(_0xabe9a0 instanceof le||_0xabe9a0 instanceof fe)&&_0xabe9a0[_0xbbca3b(0x4df)](),_0xabe9a0;}['resend'](){const _0x2a8378=_0x2683e6;throw new Error(_0x2a8378(0x270));}};me=Ie([N(0x5,a['Inject'](a['Injector'])),N(0x6,a['Inject'](S[_0x2683e6(0x4f5)])),N(0x7,a['Inject'](exports[_0x2683e6(0x604)])),N(0x8,a[_0x2683e6(0x1d5)]),N(0x9,a[_0x2683e6(0x5cb)])],me);let re=class extends Ce{constructor(_0x299a2c,_0x15aecc,_0x1de616,_0x12ab3f,_0x7463c6,_0x365e36,_0x4a53a2,_0x1da48d,_0x29336e,_0x5a43f8,_0x48f931,_0x2039fa,_0x179cbd,_0x25be57){const _0x4782e8=_0x2683e6;super(_0x299a2c,_0x15aecc,_0x1de616,_0x12ab3f,_0x4a53a2,_0x2039fa,_0x179cbd,_0x29336e,_0x5a43f8),I(this,_0x4782e8(0x47e),_0x4782e8(0x2ef)),(this[_0x4782e8(0x1a3)]=_0x7463c6,this[_0x4782e8(0x5b9)]=_0x365e36,this[_0x4782e8(0x3e9)]=_0x1da48d,this[_0x4782e8(0x577)]=_0x48f931,this['_transformService']=_0x25be57);}[_0x2683e6(0x16f)](_0x2972ab){const _0x245a67=_0x2683e6;try{const _0x4de069=[..._0x2972ab,...this[_0x245a67(0x5b9)]],_0xcc9b21=[this[_0x245a67(0x36d)]||this[_0x245a67(0x1a3)]][_0x245a67(0x57f)](_0xc12f18=>!!_0xc12f18);let _0x1f205c,_0x22a78b;if(_0xcc9b21['length']){const _0x2ff343=this[_0x245a67(0x318)][_0x245a67(0x192)](_0x4de069,_0xcc9b21,!0x1);if(!S[_0x245a67(0x406)](_0x2ff343))throw _0x2ff343['error'];_0x1f205c=_0x2ff343['c1Prime'],_0x22a78b=_0x2ff343[_0x245a67(0x421)];}else _0x1f205c=_0x4de069,_0x22a78b=[];let _0x3a495c=this[_0x245a67(0x4b8)];_0x1f205c[_0x245a67(0x280)](_0x513855=>{const _0x467dba=_0x245a67;let _0x14190e;if(_0x3a495c[_0x467dba(0x29a)]){const _0x3cab22=this[_0x467dba(0x318)]['transformMutationsWithChangeset'](_0x513855,_0x3a495c);if(!S[_0x467dba(0x30a)](_0x3cab22))throw _0x3cab22['error'];_0x14190e=_0x3cab22[_0x467dba(0x160)],_0x3a495c=_0x3cab22[_0x467dba(0x326)];}else _0x14190e=_0x513855;this[_0x467dba(0x2ff)](_0x14190e);}),this[_0x245a67(0x1a3)]&&this[_0x245a67(0x45a)](),this['_awaitingChangeset']&&_0x22a78b[_0x245a67(0x29a)]&&(_0x22a78b[0x0][_0x245a67(0x522)]=this[_0x245a67(0x186)]());let _0x1ec118;if(this['_awaitingChangeset']&&_0x3a495c[_0x245a67(0x29a)]!==0x0)_0x1ec118=this[_0x245a67(0x3e9)][_0x245a67(0x4d7)](le,this['unitID'],this[_0x245a67(0x44a)],_0x22a78b[0x0],_0x3a495c,this[_0x245a67(0x474)],void 0x0);else{if(this[_0x245a67(0x36d)]&&_0x3a495c['length']===0x0)_0x22a78b[0x0][_0x245a67(0x522)]=this[_0x245a67(0x186)](),_0x1ec118=this[_0x245a67(0x3e9)][_0x245a67(0x4d7)](fe,this[_0x245a67(0x4a9)],this[_0x245a67(0x44a)],_0x22a78b[0x0],this[_0x245a67(0x474)]);else{if(_0x3a495c[_0x245a67(0x29a)]!==0x0){const _0x1e4a50=this[_0x245a67(0x3e9)][_0x245a67(0x4d7)](ce,this['unitID'],this[_0x245a67(0x44a)],_0x3a495c,this[_0x245a67(0x474)]);_0x1e4a50['_schedule'](),_0x1ec118=_0x1e4a50;}else _0x1ec118=this[_0x245a67(0x3e9)][_0x245a67(0x4d7)](Oe,this['unitID'],this[_0x245a67(0x44a)],this[_0x245a67(0x474)]);}}return _0x1ec118[_0x245a67(0x22c)](),_0x1ec118;}catch(_0x4ec920){return this['_logService'][_0x245a67(0x461)](_0x245a67(0x2a1),_0x245a67(0x5ed),_0x4ec920),this[_0x245a67(0x3e9)]['createInstance'](ve,this[_0x245a67(0x4a9)],this['type'],this[_0x245a67(0x36d)],this[_0x245a67(0x4b8)],this[_0x245a67(0x474)],!0x1);}}['resend'](){const _0x4c2924=_0x2683e6;throw new Error(_0x4c2924(0x5e0));}[_0x2683e6(0x3b0)](_0x3a3670){const _0x119201=_0x2683e6;return this[_0x119201(0x4b8)][_0x119201(0x17e)](_0x3a3670),this;}[_0x2683e6(0x373)](_0x152d34){const _0x253a5f=_0x2683e6;return this[_0x253a5f(0x5b9)]['push'](_0x152d34),this;}[_0x2683e6(0x1a5)](_0x4df9f0){const _0x2f4865=_0x2683e6;if(this[_0x2f4865(0x36d)])return this[_0x2f4865(0x1a3)]=this[_0x2f4865(0x36d)],this[_0x2f4865(0x36d)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x2683e6(0x2ea)](_0x4e4f41){return this['_onConflict'](!!(_0x4e4f41!=null&&_0x4e4f41['isPermissionRej']));}[_0x2683e6(0x456)](){return this;}[_0x2683e6(0x173)](){const _0x4b81bc=_0x2683e6;return this[_0x4b81bc(0x3e9)]['createInstance'](me,this['unitID'],this[_0x4b81bc(0x44a)],this[_0x4b81bc(0x36d)],this['_pendingMutations'],this['_handler']);}[_0x2683e6(0x46e)](){return this;}[_0x2683e6(0x25c)](_0xde900e){const _0x5cf908=_0x2683e6;return this[_0x5cf908(0x3e9)][_0x5cf908(0x4d7)](ve,this[_0x5cf908(0x4a9)],this[_0x5cf908(0x44a)],this[_0x5cf908(0x36d)],this[_0x5cf908(0x4b8)],this[_0x5cf908(0x474)],_0xde900e);}};re=Ie([N(0x7,a[_0x2683e6(0x22b)](a[_0x2683e6(0x2c8)])),N(0x8,a[_0x2683e6(0x22b)](S[_0x2683e6(0x4f5)])),N(0x9,a[_0x2683e6(0x22b)](exports[_0x2683e6(0x604)])),N(0xa,a['ILogService']),N(0xb,a[_0x2683e6(0x1d5)]),N(0xc,a[_0x2683e6(0x5cb)]),N(0xd,S['ITransformService'])],re);function mn(_0x5d7cbb,_0x1abdba,_0x42cb22,_0x3faea0,_0x7b1620,_0x5dbca4){const _0x4ed15d=_0x2683e6;return _0x3faea0&&_0x7b1620[_0x4ed15d(0x29a)]?_0x5d7cbb[_0x4ed15d(0x4d7)](le,_0x1abdba,_0x42cb22,_0x3faea0,_0x7b1620,_0x5dbca4,void 0x0):_0x3faea0?_0x5d7cbb[_0x4ed15d(0x4d7)](fe,_0x1abdba,_0x42cb22,_0x3faea0,_0x5dbca4):_0x7b1620['length']?_0x5d7cbb[_0x4ed15d(0x4d7)](ce,_0x1abdba,_0x42cb22,_0x7b1620,_0x5dbca4):_0x5d7cbb[_0x4ed15d(0x4d7)](Oe,_0x1abdba,_0x42cb22,_0x5dbca4);}var Bi=Object[_0x2683e6(0x1e7)],ki=Object[_0x2683e6(0x181)],yt=(_0x62d45d,_0x3e8766,_0x5dd371,_0x48815a)=>{const _0x36dde8=_0x2683e6;for(var _0xba0ac6=_0x48815a>0x1?void 0x0:_0x48815a?ki(_0x3e8766,_0x5dd371):_0x3e8766,_0x40b462=_0x62d45d[_0x36dde8(0x29a)]-0x1,_0x50e814;_0x40b462>=0x0;_0x40b462--)(_0x50e814=_0x62d45d[_0x40b462])&&(_0xba0ac6=(_0x48815a?_0x50e814(_0x3e8766,_0x5dd371,_0xba0ac6):_0x50e814(_0xba0ac6))||_0xba0ac6);return _0x48815a&&_0xba0ac6&&Bi(_0x3e8766,_0x5dd371,_0xba0ac6),_0xba0ac6;},H=(_0x53da6e,_0x146258)=>(_0x29498a,_0x4046e4)=>_0x146258(_0x29498a,_0x4046e4,_0x53da6e);exports[_0x2683e6(0x30d)]=class extends a[_0x2683e6(0x1e0)]{constructor(_0x5d3ea1,_0x50cb44,_0x48f603,_0x171742,_0x10c46b,_0x45c5c9,_0x23c128,_0xab350f,_0x386022,_0x122d7f,_0xa0fd0f,_0x2e3815,_0x204e49){const _0x143fc1=_0x2683e6;super(),I(this,_0x143fc1(0x402),new A[(_0x143fc1(0x1ce))](null)),I(this,_0x143fc1(0x21a),this[_0x143fc1(0x402)][_0x143fc1(0x4f2)]()),I(this,_0x143fc1(0x3c4)),I(this,'_collaborationPaused',!0x1),I(this,_0x143fc1(0x1c5),''),I(this,_0x143fc1(0x47f),0x0),I(this,'status$',this[_0x143fc1(0x21a)]['pipe'](A['map'](_0xd53f69=>_0xd53f69?_0xd53f69[_0x143fc1(0x47e)]:q['OFFLINE']),A[_0x143fc1(0x4dd)](0x1))),I(this,'_transitionLocked',!0x1),I(this,'_remoteChangesetQueue',[]),(this[_0x143fc1(0x4a9)]=_0x5d3ea1,this[_0x143fc1(0x34f)]=_0x50cb44,this[_0x143fc1(0x3e6)]=_0x48f603,this['_injector']=_0x171742,this[_0x143fc1(0x4ee)]=_0x10c46b,this[_0x143fc1(0x2fb)]=_0x45c5c9,this[_0x143fc1(0x347)]=_0x23c128,this[_0x143fc1(0x285)]=_0xab350f,this[_0x143fc1(0x577)]=_0x386022,this[_0x143fc1(0x447)]=_0x122d7f,this['_messageService']=_0xa0fd0f,this[_0x143fc1(0x2b5)]=_0x2e3815,this[_0x143fc1(0x5da)]=_0x204e49);}get[_0x2683e6(0x243)](){const _0x3484ca=_0x2683e6;return this[_0x3484ca(0x3c4)];}async[_0x2683e6(0x25b)](){const _0x40a933=_0x2683e6;if(this['state'])throw new Error(_0x40a933(0x24a));await this[_0x40a933(0x4ea)]();}[_0x2683e6(0x4d0)](){const _0xa2f098=_0x2683e6;return this[_0xa2f098(0x201)]=!0x0,a[_0xa2f098(0x454)](()=>{const _0x5b6cf5=_0xa2f098;this[_0x5b6cf5(0x201)]=!0x1,this[_0x5b6cf5(0x193)]();});}[_0x2683e6(0x54d)](_0x47666a){const _0x263935=_0x2683e6;this[_0x263935(0x3c4)]=_0x47666a,this[_0x263935(0x402)][_0x263935(0x40f)](_0x47666a);}async['_init'](){const _0x116a31=_0x2683e6;var _0xe3a4fe;this['_updateState'](await this[_0x116a31(0x378)]()),this[_0x116a31(0x5da)]&&((_0xe3a4fe=this[_0x116a31(0x5da)])==null||_0xe3a4fe[_0x116a31(0x1b4)](this[_0x116a31(0x4a9)]),this[_0x116a31(0x427)](this[_0x116a31(0x5da)][_0x116a31(0x195)](this[_0x116a31(0x4a9)])['subscribe'](_0x19a947=>{const _0x58bff6=_0x116a31;this['_logService'][_0x58bff6(0x3db)](_0x58bff6(0x3f6),_0x58bff6(0x43b),_0x19a947),_0x19a947===un[_0x58bff6(0x4c1)]?(this[_0x58bff6(0x167)][_0x58bff6(0x4db)]({'content':this[_0x58bff6(0x347)]['t']('collaboration.single-unit.warning'),'type':ge[_0x58bff6(0x455)][_0x58bff6(0x1f7)]}),this[_0x58bff6(0x2b5)]['updatePermissionPoint'](new k[(_0x58bff6(0x4f4))](this[_0x58bff6(0x4a9)])['id'],!0x1),this['_permissionService']['setShowComponents'](!0x1)):(this['_permissionService']['updatePermissionPoint'](new k[(_0x58bff6(0x4f4))](this[_0x58bff6(0x4a9)])['id'],!0x0),this['_permissionService']['setShowComponents'](!0x0));})));let _0x3ce31e=!0x1;return this[_0x116a31(0x427)](this['session']['sessionStatus$']['subscribe'](_0xebbfc8=>{const _0x2b210a=_0x116a31;_0xebbfc8===se[_0x2b210a(0x191)]?this[_0x2b210a(0x4bd)](_0x3ce31e):_0xebbfc8===se[_0x2b210a(0x25a)]&&(_0x3ce31e=!0x0,this['_toggleOffline']());})),this[_0x116a31(0x427)](this[_0x116a31(0x34f)][_0x116a31(0x279)][_0x116a31(0x44d)](_0x58b6f3=>{const _0x26e9e4=_0x116a31;try{switch(_0x58b6f3[_0x26e9e4(0x477)]){case S[_0x26e9e4(0x3d6)][_0x26e9e4(0x3da)]:{this['_onRemoteChangeset'](S['parseProtocolChangeset'](_0x58b6f3[_0x26e9e4(0x5ac)]));break;}case S[_0x26e9e4(0x3d6)][_0x26e9e4(0x2e1)]:{this[_0x26e9e4(0x364)](_0x58b6f3['data']);break;}case S[_0x26e9e4(0x3d6)][_0x26e9e4(0x1bf)]:{this[_0x26e9e4(0x274)]();break;}case S['CollaborationEvent'][_0x26e9e4(0x4e5)]:{this[_0x26e9e4(0x1a7)](_0x58b6f3[_0x26e9e4(0x5ac)]);break;}case S['CollaborationEvent'][_0x26e9e4(0x4d1)]:{this[_0x26e9e4(0x3af)](_0x58b6f3[_0x26e9e4(0x5ac)]['changesets']['map'](_0x5a2906=>S[_0x26e9e4(0x36e)](_0x5a2906)));break;}case S[_0x26e9e4(0x3d6)][_0x26e9e4(0x4e1)]:this[_0x26e9e4(0x274)]({'isPermissionRej':!0x0});}}catch(_0x45b4f7){throw console[_0x26e9e4(0x461)](_0x26e9e4(0x52c),_0x45b4f7),_0x45b4f7;}})),this[_0x116a31(0x3c4)];}['_unlockTransition'](){const _0x2300ad=_0x2683e6;this[_0x2300ad(0x2e4)]=!0x1;}[_0x2683e6(0x15a)](){const _0x15ae53=_0x2683e6;if(this[_0x15ae53(0x2e4)])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[_0x15ae53(0x2e4)]=!0x0;}[_0x2683e6(0x300)](_0x2bc60f){const _0x4d9b12=_0x2683e6;this[_0x4d9b12(0x15a)](),this[_0x4d9b12(0x54d)](this[_0x4d9b12(0x3c4)][_0x4d9b12(0x3b0)](_0x2bc60f)),this[_0x4d9b12(0x2fd)]();}[_0x2683e6(0x1c4)](_0x2bba79){const _0x5cfb08=_0x2683e6;if(!(_0x2bba79[_0x5cfb08(0x297)]<=this['_revisionService']['getCurrentRevOfUnit'](this[_0x5cfb08(0x4a9)]))){if(this['_collaborationPaused']){this[_0x5cfb08(0x1db)][_0x5cfb08(0x17e)](_0x2bba79);return;}this[_0x5cfb08(0x190)](_0x2bba79);}}[_0x2683e6(0x193)](){const _0x528973=_0x2683e6;this[_0x528973(0x1db)]['forEach'](_0x448da9=>this['_applyRemoteChangeset'](_0x448da9)),this['_remoteChangesetQueue']=[];}['_applyRemoteChangeset'](_0x2a710e){const _0xbb53ae=_0x2683e6,_0x471215=this[_0xbb53ae(0x2fb)][_0xbb53ae(0x475)]['fetchThroughInterceptors'](this[_0xbb53ae(0x2fb)]['interceptor'][_0xbb53ae(0x2e9)]()['COMPRESS_MUTATION_APPLY'])(_0x2a710e[_0xbb53ae(0x2a9)],null)||_0x2a710e[_0xbb53ae(0x2a9)],_0x4e9cd7={..._0x2a710e,'mutations':_0x471215};this[_0xbb53ae(0x15a)](),this[_0xbb53ae(0x54d)](this[_0xbb53ae(0x3c4)][_0xbb53ae(0x373)](_0x4e9cd7)),this[_0xbb53ae(0x2fd)]();}[_0x2683e6(0x364)](_0x231582){const _0x68ddfb=_0x2683e6;this[_0x68ddfb(0x15a)](),this[_0x68ddfb(0x54d)](this[_0x68ddfb(0x3c4)][_0x68ddfb(0x1a5)](_0x231582)),this['_unlockTransition']();}[_0x2683e6(0x274)](_0xabf9b9){const _0xb5b38=_0x2683e6;this[_0xb5b38(0x15a)](),this[_0xb5b38(0x54d)](this['_state']['onRemoteRej'](_0xabf9b9)),this[_0xb5b38(0x2fd)]();}[_0x2683e6(0x1a7)](_0x92d52c){const _0x4a0c23=_0x2683e6;this[_0x4a0c23(0x15a)](),this['_updateState'](this[_0x4a0c23(0x3c4)][_0x4a0c23(0x456)](_0x92d52c)),this['_unlockTransition']();}['_onFetchMissResult'](_0x3f5bfe){const _0x34f267=_0x2683e6;if(!(this[_0x34f267(0x3c4)]instanceof re))throw new TypeError(_0x34f267(0x379));const _0x692efb=_0x3f5bfe[_0x34f267(0x538)](_0x13af5d=>{const _0xf520b9=_0x34f267,_0x22f3ca=this['_compressMutationService'][_0xf520b9(0x475)]['fetchThroughInterceptors'](this[_0xf520b9(0x2fb)]['interceptor'][_0xf520b9(0x2e9)]()[_0xf520b9(0x2f4)])(_0x13af5d[_0xf520b9(0x2a9)],null)||_0x13af5d['mutations'];return{..._0x13af5d,'mutations':_0x22f3ca};});this[_0x34f267(0x15a)](),this[_0x34f267(0x54d)](this[_0x34f267(0x3c4)][_0x34f267(0x16f)](_0x692efb)),this['_unlockTransition']();}[_0x2683e6(0x202)](){const _0x4dd902=_0x2683e6;this[_0x4dd902(0x15a)](),this[_0x4dd902(0x54d)](this[_0x4dd902(0x3c4)][_0x4dd902(0x173)]()),this[_0x4dd902(0x2fd)]();}[_0x2683e6(0x4bd)](_0x1f2dcf=!0x1){const _0x491026=_0x2683e6;this[_0x491026(0x15a)](),this[_0x491026(0x54d)](this['_state'][_0x491026(0x46e)]()),this[_0x491026(0x2fd)]();const _0x5059c7=this['_state'];_0x1f2dcf&&_0x5059c7 instanceof Oe&&(this[_0x491026(0x15a)](),this[_0x491026(0x54d)](_0x5059c7['fetchMiss']()),this[_0x491026(0x2fd)]());}async[_0x2683e6(0x378)](){return new Promise(_0x448289=>{const _0x12339c=_0x479a;this['session']['sessionStatus$'][_0x12339c(0x36b)](A[_0x12339c(0x282)](0x1))[_0x12339c(0x44d)](async _0x424e1b=>{const _0x19e6f3=_0x12339c;_0x448289(await this[_0x19e6f3(0x5b0)](_0x424e1b===se[_0x19e6f3(0x191)]));});});}[_0x2683e6(0x1d9)](){const _0x3b9be0=this['unitID'];return{'onStateChange':(_0x8e7a34,_0x74b7fc)=>{const _0x2e094e=_0x479a;if(_0x8e7a34!==this[_0x2e094e(0x3c4)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x8e7a34['status']+'\x0aAfter:\x20'+_0x74b7fc[_0x2e094e(0x47e)]+_0x2e094e(0x307)+this['_state'][_0x2e094e(0x47e)]);this[_0x2e094e(0x54d)](_0x74b7fc);},'onSendChangeset':_0x227101=>{const _0x53a698=_0x479a;_0x227101[_0x53a698(0x1ea)]||(_0x227101[_0x53a698(0x1ea)]=this[_0x53a698(0x1c5)],_0x227101[_0x53a698(0x5c5)]=++this[_0x53a698(0x47f)]);const _0x497b03={'eventID':S[_0x53a698(0x3d6)][_0x53a698(0x2a4)],'data':{'unitID':_0x227101[_0x53a698(0x4a9)],'unitType':this[_0x53a698(0x3e6)],'changeset':_0x227101,'memberID':this['session']['getMemberID']()}};this[_0x53a698(0x34f)]['send'](_0x497b03,this[_0x53a698(0x4a9)]);},'onMissingChangesets':({from:_0x29aee7,to:_0x190515})=>{const _0xfa4efc=_0x479a;this[_0xfa4efc(0x577)][_0xfa4efc(0x3db)](_0xfa4efc(0x3f6),_0xfa4efc(0x5f5)+_0x29aee7+'\x20to\x20'+_0x190515);const _0x2afea8={'eventID':S[_0xfa4efc(0x3d6)][_0xfa4efc(0x464)],'data':{'unitID':_0x3b9be0,'unitType':this[_0xfa4efc(0x3e6)],'from':_0x29aee7,'to':_0x190515}};this['session'][_0xfa4efc(0x4ae)](_0x2afea8,this[_0xfa4efc(0x4a9)]);}};}async[_0x2683e6(0x5b0)](_0x2cdfa1){const _0xd797ed=_0x2683e6;var _0x89910d,_0x230811;const _0xf1839e=await this[_0xd797ed(0x4ee)][_0xd797ed(0x27c)](this['unitID']),_0x394056=(_0x89910d=_0xf1839e==null?void 0x0:_0xf1839e[_0xd797ed(0x2a9)])!=null?_0x89910d:[],_0x269086=(_0x230811=_0xf1839e==null?void 0x0:_0xf1839e[_0xd797ed(0x154)])!=null?_0x230811:null,_0x4994f4=!!(_0x269086!=null&&_0x269086[_0xd797ed(0x1ea)])&&!!(_0x269086!=null&&_0x269086[_0xd797ed(0x5c5)]);this['_changesetSessionId']=_0x4994f4?_0x269086[_0xd797ed(0x1ea)]:mi(),this[_0xd797ed(0x47f)]=_0x4994f4?_0x269086[_0xd797ed(0x5c5)]:0x0;const _0x507b42=this[_0xd797ed(0x4a9)];try{this[_0xd797ed(0x3e0)](_0x269086,_0x394056);}catch(_0x35f123){this[_0xd797ed(0x577)]['error'](_0x35f123);}const _0x473c3c=this[_0xd797ed(0x1d9)]();if(_0x2cdfa1){const _0x2bdb16=mn(this['_injector'],_0x507b42,this[_0xd797ed(0x3e6)],_0x269086,_0x394056,_0x473c3c);return _0x2bdb16 instanceof ce?_0x2bdb16[_0xd797ed(0x375)]():(_0x2bdb16 instanceof le||_0x2bdb16 instanceof fe)&&_0x2bdb16[_0xd797ed(0x4df)](),_0x2bdb16;}return this[_0xd797ed(0x3e9)][_0xd797ed(0x4d7)](me,_0x507b42,this[_0xd797ed(0x3e6)],_0x269086,_0x394056,_0x473c3c);}['_replayCachedMutations'](_0x1748c4,_0x57064a){const _0x24c4ab=_0x2683e6;var _0x497977,_0x354f01;const _0x47b728=this[_0x24c4ab(0x2fb)][_0x24c4ab(0x475)][_0x24c4ab(0x5d9)](this[_0x24c4ab(0x2fb)][_0x24c4ab(0x475)][_0x24c4ab(0x2e9)]()['COMPRESS_MUTATION_APPLY']);(_0x497977=_0x47b728((_0x1748c4==null?void 0x0:_0x1748c4[_0x24c4ab(0x2a9)])||[],null))==null||_0x497977[_0x24c4ab(0x280)](_0x2e71f1=>this[_0x24c4ab(0x447)]['executeCommand'](_0x2e71f1['id'],_0x2e71f1[_0x24c4ab(0x55b)])),(_0x354f01=_0x47b728(_0x57064a||[],null))==null||_0x354f01['forEach'](_0x373de7=>this[_0x24c4ab(0x447)][_0x24c4ab(0x511)](_0x373de7['id'],_0x373de7['params']));}},exports[_0x2683e6(0x30d)]=yt([H(0x3,a['Inject'](a[_0x2683e6(0x2c8)])),H(0x4,a[_0x2683e6(0x22b)](exports[_0x2683e6(0x604)])),H(0x5,a['Inject'](S[_0x2683e6(0x3a1)])),H(0x6,a[_0x2683e6(0x22b)](a[_0x2683e6(0x479)])),H(0x7,a[_0x2683e6(0x22b)](S[_0x2683e6(0x4f5)])),H(0x8,a[_0x2683e6(0x5a9)]),H(0x9,a[_0x2683e6(0x1d5)]),H(0xa,ee[_0x2683e6(0x509)]),H(0xb,a[_0x2683e6(0x273)]),H(0xc,a[_0x2683e6(0x23c)](qe))],exports[_0x2683e6(0x30d)]),exports[_0x2683e6(0x365)]=class extends exports['CollaborationEntity']{constructor(_0x1c0758,_0x46ffb5,_0x5898b1,_0x53e94a,_0xb383e9,_0x58c387,_0x5e5e00,_0xe11058,_0x80f69f,_0x10511d,_0x5a6cd8,_0x5a8136,_0x3ef1b9,_0x421b54,_0x1061c9,_0x38a8b5,_0x12c9ef,_0x394f67){const _0x1e1c97=_0x2683e6;super(_0x1c0758,_0x5898b1,_0x46ffb5,_0x53e94a,_0xb383e9,_0x58c387,_0x5e5e00,_0xe11058,_0x421b54,_0x1061c9,_0x38a8b5,_0x12c9ef,_0x394f67),this[_0x1e1c97(0x4a9)]=_0x1c0758,this[_0x1e1c97(0x44a)]=_0x46ffb5,this[_0x1e1c97(0x42e)]=_0x80f69f,this[_0x1e1c97(0x1bb)]=_0x10511d,this[_0x1e1c97(0x5d8)]=_0x5a6cd8,this[_0x1e1c97(0x20f)]=_0x5a8136,this['_docSyncEditingCollabCursorService']=_0x3ef1b9;}[_0x2683e6(0x1d9)](){const _0x5a6c4f=_0x2683e6,_0x27418e=super[_0x5a6c4f(0x1d9)]();return _0x27418e[_0x5a6c4f(0x32f)]=_0x59465c=>this['_docTransformIMECacheService'][_0x5a6c4f(0x4d2)](_0x59465c),_0x27418e[_0x5a6c4f(0x458)]=_0x7b57cf=>this[_0x5a6c4f(0x5d8)][_0x5a6c4f(0x37e)](_0x7b57cf),_0x27418e[_0x5a6c4f(0x366)]=_0x364c4d=>this[_0x5a6c4f(0x20f)][_0x5a6c4f(0x46a)](_0x364c4d),_0x27418e[_0x5a6c4f(0x2fe)]=_0x277f2a=>this[_0x5a6c4f(0x1dd)][_0x5a6c4f(0x4be)](_0x277f2a),_0x27418e[_0x5a6c4f(0x3bd)]=_0x42372d=>this['_docTransformIMECacheService'][_0x5a6c4f(0x5b3)](_0x42372d),_0x27418e[_0x5a6c4f(0x48d)]=_0x5bddcd=>this[_0x5a6c4f(0x5d8)][_0x5a6c4f(0x5b3)](_0x5bddcd),_0x27418e;}async[_0x2683e6(0x4ea)](){const _0x432b7f=_0x2683e6,_0x28480a=await super[_0x432b7f(0x4ea)]();return this['_docStateChangeManagerService'][_0x432b7f(0x439)][_0x432b7f(0x36b)](A['takeUntil'](this[_0x432b7f(0x534)]))[_0x432b7f(0x44d)](_0x25929a=>{const _0x125526=_0x432b7f;if(_0x25929a==null)return;const {unitId:_0x16c4e0,redoState:_0x13644e,commandId:_0x166da2}=_0x25929a;if(_0x16c4e0!==this['unitID'])return;const _0x101d46={'id':_0x166da2,'type':a[_0x125526(0x59f)][_0x125526(0x3fd)],'params':{'unitId':_0x16c4e0,'actions':_0x13644e[_0x125526(0x2ab)],'textRanges':null}};this['_onLocalMutation'](_0x101d46);}),_0x28480a;}},exports[_0x2683e6(0x365)]=yt([H(0x3,a[_0x2683e6(0x22b)](a[_0x2683e6(0x2c8)])),H(0x4,a[_0x2683e6(0x22b)](exports['LocalCacheService'])),H(0x5,a['Inject'](S['CompressMutationService'])),H(0x6,a[_0x2683e6(0x22b)](a['LocaleService'])),H(0x7,a[_0x2683e6(0x22b)](S[_0x2683e6(0x4f5)])),H(0x8,a['Inject'](J[_0x2683e6(0x169)])),H(0x9,a[_0x2683e6(0x22b)](Be)),H(0xa,a['Inject'](We)),H(0xb,a[_0x2683e6(0x22b)](Fe)),H(0xc,a[_0x2683e6(0x22b)](Rt)),H(0xd,a[_0x2683e6(0x5a9)]),H(0xe,a[_0x2683e6(0x1d5)]),H(0xf,ee[_0x2683e6(0x509)]),H(0x10,a[_0x2683e6(0x273)]),H(0x11,a[_0x2683e6(0x23c)](qe))],exports[_0x2683e6(0x365)]),exports[_0x2683e6(0x4bf)]=class extends exports['CollaborationEntity']{constructor(_0x169d8a,_0x13fca7,_0x3e2e35,_0x4345c1,_0x1a5bb3,_0x4c4684,_0x5708ee,_0x41b857,_0x13b3a7,_0xf624bd,_0x26c54b,_0x51d9e8,_0x578d65,_0x6a226e){const _0x12c320=_0x2683e6;super(_0x169d8a,_0x3e2e35,_0x13fca7,_0x4345c1,_0x1a5bb3,_0x4c4684,_0x5708ee,_0x41b857,_0xf624bd,_0x26c54b,_0x51d9e8,_0x578d65,_0x6a226e),this[_0x12c320(0x4a9)]=_0x169d8a,this['type']=_0x13fca7,this['_sheetTransformSelectionsService']=_0x13b3a7;}[_0x2683e6(0x1d9)](){const _0x3a22c7=_0x2683e6,_0x4a31af=super[_0x3a22c7(0x1d9)]();return _0x4a31af['onTransformSelections']=_0x17a207=>this[_0x3a22c7(0x440)][_0x3a22c7(0x46a)](_0x17a207),_0x4a31af;}async[_0x2683e6(0x4ea)](){const _0x42bd42=_0x2683e6,_0x284849=await super['_init']();return this[_0x42bd42(0x427)](this[_0x42bd42(0x447)][_0x42bd42(0x571)]((_0x33a5e5,_0x36fb5a)=>{const _0x89ff16=_0x42bd42;if(_0x33a5e5[_0x89ff16(0x44a)]!==a[_0x89ff16(0x59f)]['MUTATION']||_0x36fb5a!=null&&_0x36fb5a[_0x89ff16(0x498)]||_0x36fb5a!=null&&_0x36fb5a['onlyLocal'])return;const _0x486f94=_0x33a5e5[_0x89ff16(0x55b)];if((_0x486f94==null?void 0x0:_0x486f94[_0x89ff16(0x5e6)])!==this['unitID'])return;const _0x2ddd78=_0x33a5e5,_0xdbc3e0=this[_0x89ff16(0x2fb)][_0x89ff16(0x475)]['fetchThroughInterceptors'](this['_compressMutationService']['interceptor'][_0x89ff16(0x2e9)]()[_0x89ff16(0x484)])([_0x2ddd78],null)||[_0x2ddd78];this[_0x89ff16(0x300)](_0xdbc3e0[0x0]);})),_0x284849;}},exports['SheetCollaborationEntity']=yt([H(0x3,a[_0x2683e6(0x22b)](a[_0x2683e6(0x2c8)])),H(0x4,a[_0x2683e6(0x22b)](exports[_0x2683e6(0x604)])),H(0x5,a[_0x2683e6(0x22b)](S[_0x2683e6(0x3a1)])),H(0x6,a[_0x2683e6(0x22b)](a[_0x2683e6(0x479)])),H(0x7,a['Inject'](S[_0x2683e6(0x4f5)])),H(0x8,a[_0x2683e6(0x22b)](ke)),H(0x9,a[_0x2683e6(0x5a9)]),H(0xa,a[_0x2683e6(0x1d5)]),H(0xb,ee[_0x2683e6(0x509)]),H(0xc,a['IPermissionService']),H(0xd,a[_0x2683e6(0x23c)](qe))],exports[_0x2683e6(0x4bf)]);var Wi=Object[_0x2683e6(0x1e7)],Fi=Object[_0x2683e6(0x181)],Vi=(_0x400d7a,_0xe6edb6,_0x42af82,_0x438d1e)=>{const _0x35615c=_0x2683e6;for(var _0x38d939=_0x438d1e>0x1?void 0x0:_0x438d1e?Fi(_0xe6edb6,_0x42af82):_0xe6edb6,_0x5af708=_0x400d7a[_0x35615c(0x29a)]-0x1,_0x3bbf2e;_0x5af708>=0x0;_0x5af708--)(_0x3bbf2e=_0x400d7a[_0x5af708])&&(_0x38d939=(_0x438d1e?_0x3bbf2e(_0xe6edb6,_0x42af82,_0x38d939):_0x3bbf2e(_0x38d939))||_0x38d939);return _0x438d1e&&_0x38d939&&Wi(_0xe6edb6,_0x42af82,_0x38d939),_0x38d939;},tt=(_0x1b17a2,_0x33575f)=>(_0x475a27,_0x1a6c58)=>_0x33575f(_0x475a27,_0x1a6c58,_0x1b17a2);exports[_0x2683e6(0x3de)]=class extends a[_0x2683e6(0x1e0)]{constructor(_0x15bad5,_0x7b698a,_0x4cde75){const _0x8b9974=_0x2683e6;super(),I(this,_0x8b9974(0x37a),new Map()),I(this,_0x8b9974(0x316),new A[(_0x8b9974(0x51b))]()),(this[_0x8b9974(0x3e9)]=_0x15bad5,this[_0x8b9974(0x5f7)]=_0x7b698a,this['_univerInstanceService']=_0x4cde75,this[_0x8b9974(0x4ea)]());}['dispose'](){const _0x149421=_0x2683e6;super[_0x149421(0x269)](),this[_0x149421(0x37a)][_0x149421(0x280)](_0x5cdd3f=>_0x5cdd3f[_0x149421(0x269)]()),this[_0x149421(0x37a)][_0x149421(0x308)]();}[_0x2683e6(0x3c3)](_0xd42001){const _0x1aaa4e=_0x2683e6;var _0xe8cf98;return(_0xe8cf98=this['_entities'][_0x1aaa4e(0x553)](_0xd42001))!=null?_0xe8cf98:null;}[_0x2683e6(0x3f8)](_0x38a4f4){const _0x5ddd40=_0x2683e6,_0x1b0cf7=this[_0x5ddd40(0x3c3)](_0x38a4f4);return _0x1b0cf7?A['of'](_0x1b0cf7):this[_0x5ddd40(0x316)][_0x5ddd40(0x36b)](V[_0x5ddd40(0x57f)](_0x227b96=>_0x227b96['unitID']===_0x38a4f4));}[_0x2683e6(0x4ea)](){const _0x2ceb03=_0x2683e6;this[_0x2ceb03(0x45b)][_0x2ceb03(0x32d)](a[_0x2ceb03(0x342)][_0x2ceb03(0x4a1)])[_0x2ceb03(0x36b)](A[_0x2ceb03(0x35f)](this['dispose$']),V[_0x2ceb03(0x1ba)](0x10))[_0x2ceb03(0x44d)](async _0x5ac9be=>{const _0x19b2f5=_0x2ceb03,_0x56bf90=_0x5ac9be[_0x19b2f5(0x478)](),_0x3a2b3c=await this[_0x19b2f5(0x385)](_0x56bf90,ie[_0x19b2f5(0x4a1)]);this[_0x19b2f5(0x37a)][_0x19b2f5(0x46f)](_0x56bf90,_0x3a2b3c);}),this[_0x2ceb03(0x45b)][_0x2ceb03(0x32d)](a['UniverInstanceType'][_0x2ceb03(0x56e)])[_0x2ceb03(0x36b)](A[_0x2ceb03(0x35f)](this['dispose$']),V[_0x2ceb03(0x1ba)](0x10))[_0x2ceb03(0x36b)](V[_0x2ceb03(0x57f)](_0x3abd7a=>!_0x3abd7a[_0x2ceb03(0x478)]()[_0x2ceb03(0x205)]('__')))['subscribe'](async _0xa11b91=>{const _0x295214=_0x2ceb03,_0x285c2e=_0xa11b91[_0x295214(0x478)](),_0xe8ee81=await this['_startCollaboration'](_0x285c2e,ie[_0x295214(0x56e)]);this[_0x295214(0x37a)][_0x295214(0x46f)](_0x285c2e,_0xe8ee81);}),A[_0x2ceb03(0x3ee)](this[_0x2ceb03(0x45b)][_0x2ceb03(0x3b4)](a[_0x2ceb03(0x342)][_0x2ceb03(0x4a1)]),this['_univerInstanceService'][_0x2ceb03(0x3b4)](a['UniverInstanceType'][_0x2ceb03(0x56e)]))[_0x2ceb03(0x36b)](A[_0x2ceb03(0x35f)](this['dispose$']))['subscribe'](_0x6b5082=>{const _0x3a53f3=_0x2ceb03,_0x29024f=_0x6b5082[_0x3a53f3(0x478)](),_0x3fb573=this['_entities']['get'](_0x29024f);_0x3fb573&&(_0x3fb573[_0x3a53f3(0x269)](),this['_entities']['delete'](_0x29024f));});}async['_startCollaboration'](_0xc79767,_0x55a903){const _0x52da71=_0x2683e6,_0x5e6682=await this[_0x52da71(0x5f7)][_0x52da71(0x2b8)](_0xc79767),_0x1e2927=this[_0x52da71(0x3e9)][_0x52da71(0x4d7)](this[_0x52da71(0x55a)](_0x55a903),_0xc79767,_0x55a903,_0x5e6682);return await _0x1e2927[_0x52da71(0x25b)](),this[_0x52da71(0x316)][_0x52da71(0x40f)](_0x1e2927),_0x1e2927;}[_0x2683e6(0x55a)](_0xf81815){const _0x5c9a5d=_0x2683e6;switch(_0xf81815){case ie[_0x5c9a5d(0x56e)]:return exports[_0x5c9a5d(0x365)];case ie[_0x5c9a5d(0x4a1)]:return exports[_0x5c9a5d(0x4bf)];default:throw new Error(_0x5c9a5d(0x44f)+_0xf81815);}}},exports[_0x2683e6(0x3de)]=Vi([tt(0x0,a[_0x2683e6(0x22b)](a[_0x2683e6(0x2c8)])),tt(0x1,a['Inject'](exports[_0x2683e6(0x17a)])),tt(0x2,a[_0x2683e6(0x468)])],exports[_0x2683e6(0x3de)]);const $t=[_0x2683e6(0x592),_0x2683e6(0x3e5),_0x2683e6(0x495),_0x2683e6(0x292),_0x2683e6(0x4c6),_0x2683e6(0x510)];class Ot extends a[_0x2683e6(0x3cc)]{constructor(){const _0x59dccd=_0x2683e6;super(...arguments),I(this,_0x59dccd(0x3ab),new Map()),I(this,_0x59dccd(0x1c1),0x0);}[_0x2683e6(0x1b0)](_0x887cf0){const _0x25130f=_0x2683e6;if(this['_assignedColors']['has'](_0x887cf0))return this[_0x25130f(0x3ab)][_0x25130f(0x553)](_0x887cf0);const _0x1aaf19=$t[this[_0x25130f(0x1c1)]];return this[_0x25130f(0x1c1)]=(this[_0x25130f(0x1c1)]+0x1)%$t[_0x25130f(0x29a)],this[_0x25130f(0x3ab)][_0x25130f(0x46f)](_0x887cf0,_0x1aaf19),_0x1aaf19;}}var Gi=Object[_0x2683e6(0x1e7)],Yi=Object[_0x2683e6(0x181)],Ki=(_0xf5675,_0x4cbdfe,_0x122998,_0x23b550)=>{const _0x354fbd=_0x2683e6;for(var _0xe17774=_0x23b550>0x1?void 0x0:_0x23b550?Yi(_0x4cbdfe,_0x122998):_0x4cbdfe,_0x6be963=_0xf5675[_0x354fbd(0x29a)]-0x1,_0x1ff0d3;_0x6be963>=0x0;_0x6be963--)(_0x1ff0d3=_0xf5675[_0x6be963])&&(_0xe17774=(_0x23b550?_0x1ff0d3(_0x4cbdfe,_0x122998,_0xe17774):_0x1ff0d3(_0xe17774))||_0xe17774);return _0x23b550&&_0xe17774&&Gi(_0x4cbdfe,_0x122998,_0xe17774),_0xe17774;},Se=(_0x40ce1c,_0x4cf1c2)=>(_0x54b2a8,_0x67141b)=>_0x4cf1c2(_0x54b2a8,_0x67141b,_0x40ce1c);const qi=0x12c,zi=0x64;let mt=class extends a[_0x2683e6(0x1e0)]{constructor(_0x3d6645,_0x1e01e5,_0x29b9e9,_0xac3491,_0x202fe5,_0xc8be35,_0x2bacc,_0x1a4d3b,_0x222c86){const _0x5916a2=_0x2683e6;super(),I(this,_0x5916a2(0x15d),!0x1),I(this,_0x5916a2(0x4ea),!0x1),I(this,_0x5916a2(0x4a5),new A[(_0x5916a2(0x1ce))](new Map())),I(this,_0x5916a2(0x449),this[_0x5916a2(0x4a5)][_0x5916a2(0x4f2)]()),I(this,'_roomMembers$',new A[(_0x5916a2(0x1ce))]([])),I(this,'roomMembers$',this[_0x5916a2(0x3f9)]['pipe'](A['debounceTime'](qi))),I(this,_0x5916a2(0x288),a[_0x5916a2(0x2b9)](_0x4da40f=>{const _0x44afc7=_0x5916a2,_0x559d8a={'eventID':S[_0x44afc7(0x3d6)][_0x44afc7(0x470)],'data':{'unitID':this[_0x44afc7(0x4a9)],'memberID':this['_session']['getMemberID'](),'selection':dn(_0x4da40f)}};this[_0x44afc7(0x389)][_0x44afc7(0x4ae)](_0x559d8a,this[_0x44afc7(0x4a9)]);},zi)),(this['unitID']=_0x3d6645,this['_session']=_0x1e01e5,this[_0x5916a2(0x3e9)]=_0x29b9e9,this['_colorAssignService']=_0xac3491,this[_0x5916a2(0x2cf)]=_0x202fe5,this['_syncEditingCollabCursorService']=_0xc8be35,this[_0x5916a2(0x318)]=_0x2bacc,this[_0x5916a2(0x45b)]=_0x1a4d3b,this['_commandService']=_0x222c86);}get[_0x2683e6(0x1d4)](){const _0x45e4ce=_0x2683e6;return this[_0x45e4ce(0x4a5)][_0x45e4ce(0x1fb)]();}get[_0x2683e6(0x33a)](){return this['_roomMembers$']['getValue']();}['dispose'](){const _0x23cbf4=_0x2683e6;super[_0x23cbf4(0x269)](),this[_0x23cbf4(0x4a5)][_0x23cbf4(0x40f)](new Map()),this[_0x23cbf4(0x4a5)][_0x23cbf4(0x438)](),this[_0x23cbf4(0x3f9)]['next']([]),this[_0x23cbf4(0x3f9)][_0x23cbf4(0x438)]();}[_0x2683e6(0x25b)](){const _0x34cf52=_0x2683e6;this[_0x34cf52(0x4ea)]||(this['_init']=!0x0,this[_0x34cf52(0x389)]['sessionStatus$'][_0x34cf52(0x36b)](A[_0x34cf52(0x35f)](this['dispose$']))['subscribe'](_0x489bdf=>{const _0x15310f=_0x34cf52;_0x489bdf===se[_0x15310f(0x191)]?this[_0x15310f(0x4bd)]():this['_toggleOffline']();}),this[_0x34cf52(0x389)][_0x34cf52(0x279)][_0x34cf52(0x36b)](A[_0x34cf52(0x35f)](this['dispose$']))[_0x34cf52(0x44d)](_0x2d35b7=>{const _0x26b3bd=_0x34cf52,_0xb30264=_0x2d35b7['eventID'];_0xb30264===S[_0x26b3bd(0x3d6)][_0x26b3bd(0x470)]&&this[_0x26b3bd(0x4ed)](_0x2d35b7),_0xb30264===S[_0x26b3bd(0x3d6)][_0x26b3bd(0x388)]&&this[_0x26b3bd(0x414)](_0x2d35b7);}),this['disposeWithMe'](this['_commandService'][_0x34cf52(0x571)](_0x52dcf8=>{const _0x5537e7=_0x34cf52,_0x2b48d6=_0x52dcf8[_0x5537e7(0x55b)];_0x2b48d6!=null&&this['_online']&&_0x52dcf8['id']===ye[_0x5537e7(0x2d9)]['id']&&_0x2b48d6[_0x5537e7(0x5e6)]===this[_0x5537e7(0x4a9)]&&_0x2b48d6[_0x5537e7(0x33b)]===!0x1&&_0x2b48d6[_0x5537e7(0x213)][_0x5537e7(0x29a)]>0x0&&this[_0x5537e7(0x288)](_0x2b48d6[_0x5537e7(0x213)]);})),this[_0x34cf52(0x20b)][_0x34cf52(0x409)][_0x34cf52(0x36b)](A['takeUntil'](this['dispose$']))[_0x34cf52(0x44d)](_0x164269=>{const _0x128c1c=_0x34cf52;if((_0x164269==null?void 0x0:_0x164269[_0x128c1c(0x4a9)])!==this[_0x128c1c(0x4a9)])return;const _0x21706f={'eventID':S[_0x128c1c(0x3d6)][_0x128c1c(0x470)],'data':_0x164269};this[_0x128c1c(0x4ed)](_0x21706f);}),this[_0x34cf52(0x427)](this[_0x34cf52(0x447)][_0x34cf52(0x571)](_0xa1c6d5=>{const _0x4e8a47=_0x34cf52;if(_0xa1c6d5[_0x4e8a47(0x55b)]==null)return;const _0x2fdda7=_0xa1c6d5['params'];if(_0xa1c6d5['id']!==ye['RichTextEditingMutation']['id']||_0x2fdda7[_0x4e8a47(0x5e6)]!==this['unitID'])return;const _0x288ad7={'id':_0x4e8a47(0x35c),'params':_0x2fdda7},_0x1788b2=this['cursorInfo'];for(const [_0x4b07b2,_0x117fe4]of _0x1788b2){const _0xb48f0c={'id':_0x4e8a47(0x35c),'params':{'unitId':this[_0x4e8a47(0x4a9)],'actions':null,'textRanges':_0x117fe4[_0x4e8a47(0x213)]}},_0x26d9f8=this[_0x4e8a47(0x318)][_0x4e8a47(0x2b0)](_0x288ad7,_0xb48f0c,!0x1);if(S[_0x4e8a47(0x157)](_0x26d9f8))throw _0x26d9f8['error'];_0x1788b2[_0x4e8a47(0x46f)](_0x4b07b2,{..._0x117fe4,'ranges':_0x26d9f8[_0x4e8a47(0x326)]['params'][_0x4e8a47(0x242)]});}queueMicrotask(()=>{const _0x3cf62b=_0x4e8a47;this['_cursorInfo$'][_0x3cf62b(0x40f)](_0x1788b2);});})));}[_0x2683e6(0x4ed)](_0x461967){const _0x493a47=_0x2683e6;var _0x5538b6,_0x5c7336;const {memberID:_0x575cb0,selection:_0x4d0a8c}=_0x461967[_0x493a47(0x5ac)],_0x475389=Ui(_0x4d0a8c),_0x59ccee=(_0x5c7336=(_0x5538b6=this['_memberService'][_0x493a47(0x55d)](this[_0x493a47(0x4a9)],_0x575cb0))==null?void 0x0:_0x5538b6[_0x493a47(0x231)])!=null?_0x5c7336:_0x493a47(0x3cd),_0x11085e={'color':this['_colorAssignService'][_0x493a47(0x1b0)](_0x575cb0),'name':_0x59ccee,'ranges':_0x475389},_0x579669=this[_0x493a47(0x1d4)];_0x579669[_0x493a47(0x46f)](_0x575cb0,_0x11085e),this['_cursorInfo$']['next'](_0x579669);}[_0x2683e6(0x414)](_0x19645e){const _0x182356=_0x2683e6,{memberID:_0x4746ab}=_0x19645e['data'],_0x1be917=this[_0x182356(0x1d4)];_0x1be917[_0x182356(0x27e)](_0x4746ab),this[_0x182356(0x4a5)][_0x182356(0x40f)](_0x1be917);}[_0x2683e6(0x4bd)](){const _0x5f22a8=_0x2683e6;var _0x4d6616;if(this['_online']=!0x0,((_0x4d6616=this[_0x5f22a8(0x45b)]['getFocusedUnit']())==null?void 0x0:_0x4d6616['getUnitId']())!==this[_0x5f22a8(0x4a9)])return;const _0x378a21=this[_0x5f22a8(0x3e9)]['get'](ye[_0x5f22a8(0x53e)])[_0x5f22a8(0x500)]();Array['isArray'](_0x378a21)&&_0x378a21[_0x5f22a8(0x29a)]>0x0&&this[_0x5f22a8(0x288)](_0x378a21);}[_0x2683e6(0x202)](){const _0x5edcb0=_0x2683e6;this[_0x5edcb0(0x15d)]=!0x1;}};mt=Ki([Se(0x2,a[_0x2683e6(0x22b)](a[_0x2683e6(0x2c8)])),Se(0x3,a[_0x2683e6(0x22b)](Ot)),Se(0x4,a[_0x2683e6(0x22b)](exports[_0x2683e6(0x184)])),Se(0x5,a[_0x2683e6(0x22b)](Rt)),Se(0x6,S['ITransformService']),Se(0x7,a['IUniverInstanceService']),Se(0x8,a['ICommandService'])],mt);var Xi=Object[_0x2683e6(0x1e7)],Ji=Object['getOwnPropertyDescriptor'],Zi=(_0x23a92d,_0x318bd0,_0x281c5d,_0x429427)=>{for(var _0x203a59=_0x429427>0x1?void 0x0:_0x429427?Ji(_0x318bd0,_0x281c5d):_0x318bd0,_0x186d69=_0x23a92d['length']-0x1,_0x1bec08;_0x186d69>=0x0;_0x186d69--)(_0x1bec08=_0x23a92d[_0x186d69])&&(_0x203a59=(_0x429427?_0x1bec08(_0x318bd0,_0x281c5d,_0x203a59):_0x1bec08(_0x203a59))||_0x203a59);return _0x429427&&_0x203a59&&Xi(_0x318bd0,_0x281c5d,_0x203a59),_0x203a59;},be=(_0x342e1c,_0x2e0d17)=>(_0x4a6af6,_0xb76a0f)=>_0x2e0d17(_0x4a6af6,_0xb76a0f,_0x342e1c);const Qi=0x12c,es=0x64,ts=()=>{let _0x25f652=[],_0x3d20ec=!0x1;return _0x2b3c72=>{const _0x3fe5d7=_0x479a;_0x25f652[_0x3fe5d7(0x17e)](_0x2b3c72),_0x3d20ec||(_0x3d20ec=!0x0,setTimeout(()=>{_0x25f652['forEach'](_0x416b6e=>_0x416b6e()),_0x25f652=[],_0x3d20ec=!0x1;}));};};let St=class extends a['RxDisposable']{constructor(_0x4a81cd,_0x336bf0,_0x1206f5,_0x3e4821,_0x20b91c,_0x254d35,_0x4679d7,_0x394283){const _0x2f8868=_0x2683e6;super(),I(this,_0x2f8868(0x15d),!0x1),I(this,_0x2f8868(0x4ea),!0x1),I(this,'_cursorInfo$',new A[(_0x2f8868(0x1ce))](new Map())),I(this,_0x2f8868(0x449),this[_0x2f8868(0x4a5)][_0x2f8868(0x4f2)]()),I(this,_0x2f8868(0x3f9),new A[(_0x2f8868(0x1ce))]([])),I(this,_0x2f8868(0x34a),this[_0x2f8868(0x3f9)][_0x2f8868(0x36b)](A[_0x2f8868(0x208)](Qi))),I(this,_0x2f8868(0x288),a['debounce']((_0x4ec912,_0x52e0d7)=>{const _0x34c45b=_0x2f8868,_0x233fa4={'eventID':S[_0x34c45b(0x3d6)][_0x34c45b(0x470)],'data':{'unitID':this[_0x34c45b(0x4a9)],'memberID':this[_0x34c45b(0x389)][_0x34c45b(0x4c2)](),'selection':Pt[_0x34c45b(0x31b)](_0x4ec912,_0x52e0d7[_0x34c45b(0x1c7)])}};this[_0x34c45b(0x389)][_0x34c45b(0x4ae)](_0x233fa4,this[_0x34c45b(0x4a9)]);},es)),(this[_0x2f8868(0x4a9)]=_0x4a81cd,this[_0x2f8868(0x389)]=_0x336bf0,this[_0x2f8868(0x3e9)]=_0x1206f5,this[_0x2f8868(0x26b)]=_0x3e4821,this[_0x2f8868(0x2cf)]=_0x20b91c,this['_univerInstanceService']=_0x254d35,this[_0x2f8868(0x447)]=_0x4679d7,this[_0x2f8868(0x153)]=_0x394283);}get[_0x2683e6(0x1d4)](){const _0x448dd2=_0x2683e6;return this[_0x448dd2(0x4a5)]['getValue']();}get[_0x2683e6(0x33a)](){const _0x237cdf=_0x2683e6;return this['_roomMembers$'][_0x237cdf(0x1fb)]();}[_0x2683e6(0x269)](){const _0x5716cc=_0x2683e6;super[_0x5716cc(0x269)](),this['_cursorInfo$'][_0x5716cc(0x40f)](new Map()),this[_0x5716cc(0x4a5)][_0x5716cc(0x438)](),this[_0x5716cc(0x3f9)]['next']([]),this[_0x5716cc(0x3f9)][_0x5716cc(0x438)]();}['init'](){const _0x66e41b=_0x2683e6;this[_0x66e41b(0x4ea)]||(this[_0x66e41b(0x4ea)]=!0x0,this[_0x66e41b(0x389)][_0x66e41b(0x497)][_0x66e41b(0x36b)](A[_0x66e41b(0x35f)](this[_0x66e41b(0x534)]))[_0x66e41b(0x44d)](_0x4d41d2=>{const _0x418f0c=_0x66e41b;_0x4d41d2===se['ONLINE']?this['_toggleOnline']():this[_0x418f0c(0x202)]();}),this[_0x66e41b(0x389)][_0x66e41b(0x279)]['pipe'](A['takeUntil'](this[_0x66e41b(0x534)]))[_0x66e41b(0x44d)](_0x2ec39c=>{const _0x1cb336=_0x66e41b,_0x37e3ce=_0x2ec39c[_0x1cb336(0x477)];_0x37e3ce===S[_0x1cb336(0x3d6)][_0x1cb336(0x470)]&&this[_0x1cb336(0x4ed)](_0x2ec39c),_0x37e3ce===S[_0x1cb336(0x3d6)][_0x1cb336(0x388)]&&this[_0x1cb336(0x414)](_0x2ec39c);}),this[_0x66e41b(0x2e6)](),this[_0x66e41b(0x427)](this['_commandService'][_0x66e41b(0x571)](_0x50d239=>{const _0x3f4c07=_0x66e41b;if(this['_online']&&_0x50d239['id']===k[_0x3f4c07(0x227)]['id']&&_0x50d239[_0x3f4c07(0x55b)]['unitId']===this[_0x3f4c07(0x4a9)]){const _0x190143=_0x50d239[_0x3f4c07(0x55b)];this[_0x3f4c07(0x288)](_0x190143['subUnitId'],_0x190143[_0x3f4c07(0x50b)][0x0]);}})));}[_0x2683e6(0x4ed)](_0x4c9007){const _0x3aab1b=_0x2683e6;var _0x19f82d,_0x2f0e73;const {memberID:_0x10b8d0,selection:_0x2cfbbe}=_0x4c9007[_0x3aab1b(0x5ac)],{sheetName:_0x41f30c,range:_0x11b742}=Pt['deserializeRangeWithSheet'](_0x2cfbbe),_0x38858={'name':(_0x2f0e73=(_0x19f82d=this[_0x3aab1b(0x2cf)][_0x3aab1b(0x55d)](this[_0x3aab1b(0x4a9)],_0x10b8d0))==null?void 0x0:_0x19f82d[_0x3aab1b(0x231)])!=null?_0x2f0e73:_0x3aab1b(0x3cd),'range':this[_0x3aab1b(0x22a)](_0x41f30c,_0x11b742),'sheetID':_0x41f30c,'color':this[_0x3aab1b(0x26b)][_0x3aab1b(0x1b0)](_0x10b8d0),'selection':_0x2cfbbe},_0xfb1b52=this[_0x3aab1b(0x1d4)];_0xfb1b52[_0x3aab1b(0x46f)](_0x10b8d0,_0x38858),this[_0x3aab1b(0x4a5)][_0x3aab1b(0x40f)](_0xfb1b52);}[_0x2683e6(0x414)](_0x4672bf){const _0x587440=_0x2683e6,{memberID:_0x470a2e}=_0x4672bf[_0x587440(0x5ac)],_0xee48ee=this[_0x587440(0x1d4)];_0xee48ee[_0x587440(0x27e)](_0x470a2e),this[_0x587440(0x4a5)][_0x587440(0x40f)](_0xee48ee);}[_0x2683e6(0x22a)](_0x6a2277,_0x36cd1d){const _0x123f69=_0x2683e6;var _0x14880e,_0x38b6a4;const _0x5bb6a0=(_0x38b6a4=(_0x14880e=this[_0x123f69(0x45b)][_0x123f69(0x3bc)](this[_0x123f69(0x4a9)]))==null?void 0x0:_0x14880e['getSheetBySheetId'](_0x6a2277))==null?void 0x0:_0x38b6a4[_0x123f69(0x1d2)]();return(_0x5bb6a0==null?void 0x0:_0x5bb6a0[_0x123f69(0x250)](_0x2dbfec=>a[_0x123f69(0x587)][_0x123f69(0x5ce)](_0x2dbfec,_0x36cd1d)))||_0x36cd1d;}['_onRefRangeChange'](){const _0x340a1d=_0x2683e6,_0x38e9a1=new a[(_0x340a1d(0x234))](),_0xf05ef9=ts(),_0x580f01=()=>{const _0x1d637d=_0x340a1d;_0x38e9a1['dispose']();const _0xa97c88=(_0x4c5797,_0x17c802,_0x475ca1,_0x4642bd)=>{const _0x1a3822=_0x479a;let _0x5c7447=[];switch(_0x4c5797['id']){case k[_0x1a3822(0x362)]['DeleteRangeMoveLeftCommandId']:{_0x5c7447=k[_0x1a3822(0x21c)](_0x4c5797,_0x4642bd);break;}case k[_0x1a3822(0x362)][_0x1a3822(0x41f)]:{_0x5c7447=k['handleDeleteRangeMoveUp'](_0x4c5797,_0x4642bd);break;}case k[_0x1a3822(0x362)][_0x1a3822(0x52d)]:{_0x5c7447=k[_0x1a3822(0x5fc)](_0x4c5797,_0x4642bd);break;}case k[_0x1a3822(0x362)][_0x1a3822(0x523)]:{_0x5c7447=k[_0x1a3822(0x337)](_0x4c5797,_0x4642bd);break;}case k[_0x1a3822(0x362)][_0x1a3822(0x45e)]:{_0x5c7447=k['handleInsertRangeMoveRight'](_0x4c5797,_0x4642bd);break;}case k[_0x1a3822(0x362)][_0x1a3822(0x38a)]:{_0x5c7447=k[_0x1a3822(0x351)](_0x4c5797,_0x4642bd);break;}case k['EffectRefRangId'][_0x1a3822(0x4a2)]:{_0x5c7447=k[_0x1a3822(0x34d)](_0x4c5797,_0x4642bd);break;}case k[_0x1a3822(0x362)]['RemoveColCommandId']:{_0x5c7447=k[_0x1a3822(0x196)](_0x4c5797,_0x4642bd);break;}case k[_0x1a3822(0x362)][_0x1a3822(0x16c)]:{_0x5c7447=k[_0x1a3822(0x19e)](_0x4c5797,_0x4642bd);break;}}const _0x1ca826=k[_0x1a3822(0x525)](_0x5c7447,_0x4642bd),_0x2ba083=this[_0x1a3822(0x1d4)]['get'](_0x17c802);if(_0x2ba083&&_0x1ca826){const _0xfa0dc5={..._0x2ba083,'range':_0x1ca826};this['cursorInfo'][_0x1a3822(0x46f)](_0x17c802,_0xfa0dc5),_0xf05ef9(()=>{const _0x3a511b=_0x1a3822,_0xf57b69=this[_0x3a511b(0x153)][_0x3a511b(0x262)](_0x1ca826,_0x384a57=>(_0xf57b69[_0x3a511b(0x269)](),_0xa97c88(_0x384a57,_0x17c802,_0x475ca1,_0x1ca826)));_0x38e9a1[_0x3a511b(0x494)](_0xf57b69);});}return{'redos':[],'undos':[]};};this[_0x1d637d(0x1d4)][_0x1d637d(0x280)]((_0x4a445d,_0x2ad40c)=>{const _0x552452=_0x1d637d,{range:_0x36362c,sheetID:_0x5df3d3}=_0x4a445d,_0x21887a=this[_0x552452(0x153)][_0x552452(0x262)](_0x36362c,_0xef38bf=>(_0x21887a[_0x552452(0x269)](),_0xa97c88(_0xef38bf,_0x2ad40c,_0x5df3d3,_0x36362c)));_0x38e9a1[_0x552452(0x494)](_0x21887a);});};this[_0x340a1d(0x427)](a[_0x340a1d(0x454)](this[_0x340a1d(0x4a5)]['subscribe'](()=>{_0x580f01();})));}[_0x2683e6(0x4bd)](){const _0x30af10=_0x2683e6;var _0x3d607d,_0x4fec9e;if(this[_0x30af10(0x15d)]=!0x0,((_0x3d607d=this[_0x30af10(0x45b)][_0x30af10(0x452)]())==null?void 0x0:_0x3d607d[_0x30af10(0x478)]())!==this['unitID'])return;const _0xa2a4f8=(_0x4fec9e=this[_0x30af10(0x3e9)][_0x30af10(0x553)](k[_0x30af10(0x550)])[_0x30af10(0x422)]())==null?void 0x0:_0x4fec9e[0x0],_0x2e55ca=this['_univerInstanceService']['getCurrentUnitForType'](a['UniverInstanceType'][_0x30af10(0x4a1)])[_0x30af10(0x399)]();_0xa2a4f8&&_0x2e55ca&&this[_0x30af10(0x288)](_0x2e55ca[_0x30af10(0x276)](),_0xa2a4f8);}['_toggleOffline'](){const _0x15fa44=_0x2683e6;this[_0x15fa44(0x15d)]=!0x1;}};St=Zi([be(0x2,a['Inject'](a[_0x2683e6(0x2c8)])),be(0x3,a[_0x2683e6(0x22b)](Ot)),be(0x4,a[_0x2683e6(0x22b)](exports[_0x2683e6(0x184)])),be(0x5,a[_0x2683e6(0x468)]),be(0x6,a[_0x2683e6(0x1d5)]),be(0x7,a[_0x2683e6(0x22b)](k[_0x2683e6(0x43d)]))],St);var ns=Object['defineProperty'],is=Object[_0x2683e6(0x181)],ss=(_0xc774f7,_0x30ee0a,_0x76fc38,_0x5c61bc)=>{const _0x2a1ee9=_0x2683e6;for(var _0x56ba91=_0x5c61bc>0x1?void 0x0:_0x5c61bc?is(_0x30ee0a,_0x76fc38):_0x30ee0a,_0x38c677=_0xc774f7[_0x2a1ee9(0x29a)]-0x1,_0xf6c6c3;_0x38c677>=0x0;_0x38c677--)(_0xf6c6c3=_0xc774f7[_0x38c677])&&(_0x56ba91=(_0x5c61bc?_0xf6c6c3(_0x30ee0a,_0x76fc38,_0x56ba91):_0xf6c6c3(_0x56ba91))||_0x56ba91);return _0x5c61bc&&_0x56ba91&&ns(_0x30ee0a,_0x76fc38,_0x56ba91),_0x56ba91;},nt=(_0x5884ed,_0x5b9531)=>(_0x38e203,_0x5581c5)=>_0x5b9531(_0x38e203,_0x5581c5,_0x5884ed);let De=class extends a[_0x2683e6(0x1e0)]{constructor(_0x56012a,_0x3ae48f,_0x3370e7){const _0x273eb3=_0x2683e6;super(),I(this,_0x273eb3(0x37a),new Map()),I(this,_0x273eb3(0x316),new A['Subject']()),(this[_0x273eb3(0x45b)]=_0x56012a,this[_0x273eb3(0x3e9)]=_0x3ae48f,this[_0x273eb3(0x5f7)]=_0x3370e7,this[_0x273eb3(0x4ea)]());}['dispose'](){const _0x17deb0=_0x2683e6;super['dispose'](),this[_0x17deb0(0x316)][_0x17deb0(0x438)](),this[_0x17deb0(0x37a)][_0x17deb0(0x280)](_0x1c8e15=>_0x1c8e15[_0x17deb0(0x269)]());}[_0x2683e6(0x24c)](_0x28176d){const _0x258bfc=_0x2683e6;return this[_0x258bfc(0x37a)]['has'](_0x28176d)?this[_0x258bfc(0x37a)]['get'](_0x28176d)['cursorInfo$']:this[_0x258bfc(0x316)]['pipe'](A[_0x258bfc(0x57f)](_0x1dec77=>_0x1dec77[_0x258bfc(0x4a9)]===_0x28176d),A['switchMap'](_0x3d78e5=>_0x3d78e5['cursorInfo$']));}['_init'](){const _0x47c400=_0x2683e6;this[_0x47c400(0x45b)]['getTypeOfUnitAdded$'](a['UniverInstanceType'][_0x47c400(0x4a1)])[_0x47c400(0x36b)](A[_0x47c400(0x35f)](this['dispose$']))[_0x47c400(0x44d)](async _0x212796=>{const _0x4eb731=_0x47c400,_0x32a155=_0x212796[_0x4eb731(0x478)](),_0x4838a0=await this[_0x4eb731(0x2f1)](_0x32a155);this['_entityInit$'][_0x4eb731(0x40f)](_0x4838a0),this[_0x4eb731(0x37a)]['set'](_0x32a155,_0x4838a0);}),this['_univerInstanceService'][_0x47c400(0x32d)](a[_0x47c400(0x342)][_0x47c400(0x56e)])[_0x47c400(0x36b)](A[_0x47c400(0x35f)](this['dispose$']))['pipe'](A[_0x47c400(0x57f)](_0x57e1f1=>!_0x57e1f1[_0x47c400(0x478)]()['startsWith']('__')))[_0x47c400(0x44d)](async _0x301375=>{const _0x261f03=_0x47c400,_0x57a003=_0x301375[_0x261f03(0x478)](),_0x5c5158=await this['_startDocCollabCursor'](_0x57a003);this[_0x261f03(0x316)][_0x261f03(0x40f)](_0x5c5158),this[_0x261f03(0x37a)][_0x261f03(0x46f)](_0x57a003,_0x5c5158);}),A['merge'](this[_0x47c400(0x45b)][_0x47c400(0x3b4)](a[_0x47c400(0x342)][_0x47c400(0x56e)]),this[_0x47c400(0x45b)][_0x47c400(0x3b4)](a[_0x47c400(0x342)][_0x47c400(0x4a1)]))['pipe'](A[_0x47c400(0x35f)](this[_0x47c400(0x534)]))['subscribe'](_0x343430=>{const _0x3d3c20=_0x47c400,_0x5ac3ce=_0x343430[_0x3d3c20(0x478)](),_0x3c861f=this['_entities']['get'](_0x5ac3ce);_0x3c861f&&(_0x3c861f[_0x3d3c20(0x269)](),this['_entities']['delete'](_0x5ac3ce));});}async['_startSheetCollabCursor'](_0xac15f2){const _0x5cddf0=_0x2683e6,_0x1731e3=await this['_collabSessionService'][_0x5cddf0(0x2b8)](_0xac15f2),_0xcf9f6f=this['_injector']['createInstance'](St,_0xac15f2,_0x1731e3);return _0xcf9f6f[_0x5cddf0(0x25b)](),_0xcf9f6f;}async[_0x2683e6(0x36f)](_0x560ec6){const _0x28f7dc=_0x2683e6,_0x3379d7=await this[_0x28f7dc(0x5f7)][_0x28f7dc(0x2b8)](_0x560ec6),_0x5422d1=this[_0x28f7dc(0x3e9)]['createInstance'](mt,_0x560ec6,_0x3379d7);return _0x5422d1[_0x28f7dc(0x25b)](),_0x5422d1;}};De=ss([nt(0x0,a['IUniverInstanceService']),nt(0x1,a[_0x2683e6(0x22b)](a['Injector'])),nt(0x2,a['Inject'](exports['CollaborationSessionService']))],De);const Le=0x14,Ht=0xc8,it=0x4,rs=0x5;function os(_0x20c4ad,_0x4ecaed){const _0x4a09b9=_0x2683e6;let {radius:_0x50603c,width:_0x439f36,height:_0x2b2cae}=_0x4ecaed;_0x50603c=_0x50603c!=null?_0x50603c:0x0,_0x439f36=_0x439f36!=null?_0x439f36:0x1e,_0x2b2cae=_0x2b2cae!=null?_0x2b2cae:0x1e;let _0x26674b=0x0,_0x450132=0x0,_0x640001=0x0;_0x26674b=_0x450132=_0x640001=Math[_0x4a09b9(0x211)](_0x50603c,_0x439f36/0x2,_0x2b2cae/0x2),_0x20c4ad[_0x4a09b9(0x599)](),_0x20c4ad[_0x4a09b9(0x212)](_0x26674b,0x0),_0x20c4ad['lineTo'](_0x439f36-_0x450132,0x0),_0x20c4ad[_0x4a09b9(0x36c)](_0x439f36-_0x450132,_0x450132,_0x450132,Math['PI']*0x3/0x2,0x0,!0x1),_0x20c4ad[_0x4a09b9(0x490)](_0x439f36,_0x2b2cae-_0x640001),_0x20c4ad[_0x4a09b9(0x36c)](_0x439f36-_0x640001,_0x2b2cae-_0x640001,_0x640001,0x0,Math['PI']/0x2,!0x1),_0x20c4ad['lineTo'](0x0,_0x2b2cae),_0x20c4ad['lineTo'](0x0,_0x26674b),_0x20c4ad[_0x4a09b9(0x36c)](_0x26674b,_0x26674b,_0x26674b,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x20c4ad[_0x4a09b9(0x4bc)](),_0x4ecaed[_0x4a09b9(0x215)]&&(_0x20c4ad[_0x4a09b9(0x303)](),_0x20c4ad[_0x4a09b9(0x5e4)]=_0x4ecaed[_0x4a09b9(0x215)],_0x4ecaed['fillRule']===_0x4a09b9(0x47d)?_0x20c4ad[_0x4a09b9(0x215)](_0x4a09b9(0x47d)):_0x20c4ad['fill'](),_0x20c4ad['restore']());}class ze extends K[_0x2683e6(0x1df)]{constructor(_0x4437a7,_0xfe6baa){const _0x207918=_0x2683e6;super(_0x4437a7,_0xfe6baa),I(this,_0x207918(0x52f)),I(this,'text'),(this[_0x207918(0x52f)]=_0xfe6baa==null?void 0x0:_0xfe6baa['color'],this['text']=_0xfe6baa==null?void 0x0:_0xfe6baa['text']);}static[_0x2683e6(0x2c9)](_0x33d26d,_0x1a3144){const _0x30de9b=_0x2683e6,{text:_0x5a267d,color:_0x2ab78e}=_0x1a3144;_0x33d26d[_0x30de9b(0x303)](),_0x33d26d[_0x30de9b(0x38d)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x3c7d12=_0x33d26d[_0x30de9b(0x2cd)](_0x5a267d)[_0x30de9b(0x3d8)],_0x40d5b8=Math[_0x30de9b(0x211)](_0x3c7d12+0x2*it,Ht);os(_0x33d26d,{'height':Le,'radius':0x4,'width':_0x40d5b8,'fill':_0x2ab78e,'evented':!0x1}),_0x33d26d['fillStyle']=_0x30de9b(0x2f9);const _0x18fbee=it,_0x132767=Le-rs,_0x30d60f=Ht-0x2*it;if(_0x3c7d12>_0x30d60f){let _0x16e623='',_0x33202c=0x0;for(const _0xd84f34 of _0x5a267d){const _0x4ac547=_0x33d26d['measureText'](_0xd84f34)[_0x30de9b(0x3d8)];if(_0x33202c+_0x4ac547<=_0x30d60f-_0x33d26d[_0x30de9b(0x2cd)]('...')[_0x30de9b(0x3d8)])_0x16e623+=_0xd84f34,_0x33202c+=_0x4ac547;else{_0x16e623+='...';break;}}_0x33d26d[_0x30de9b(0x322)](_0x16e623,_0x18fbee,_0x132767);}else _0x33d26d['fillText'](_0x5a267d,_0x18fbee,_0x132767);_0x33d26d[_0x30de9b(0x249)]();}[_0x2683e6(0x605)](_0x454936){ze['drawWith'](_0x454936,this);}}const st='collab-text-anchor-',as=_0x2683e6(0x4e7),cs=_0x2683e6(0x5e7),Ue=0x6,ls=1.5,rt=0x4,hs=1.5,_s=_0x2683e6(0x2e0);class Bt{constructor(_0x2e9514,_0x3cf298,_0x3e2d3e,_0x4a7119){const _0x5a24d4=_0x2683e6;I(this,_0x5a24d4(0x2bd),[]),I(this,_0x5a24d4(0x53f),null),I(this,_0x5a24d4(0x200),null),I(this,'_anchorDot',null),I(this,_0x5a24d4(0x1c6),null),I(this,_0x5a24d4(0x560),null),(this[_0x5a24d4(0x448)]=_0x2e9514,this[_0x5a24d4(0x30b)]=_0x3cf298,this[_0x5a24d4(0x563)]=_0x3e2d3e,this[_0x5a24d4(0x5e9)]=_0x4a7119,this['_render']());}set[_0x2683e6(0x15b)](_0x56c898){const _0x45af6f=_0x2683e6;_0x56c898?(this[_0x45af6f(0x27f)]&&this[_0x45af6f(0x27f)][_0x45af6f(0x58d)](),this[_0x45af6f(0x200)]&&this[_0x45af6f(0x200)][_0x45af6f(0x4db)]()):(this[_0x45af6f(0x27f)]&&this[_0x45af6f(0x27f)][_0x45af6f(0x4db)](),this[_0x45af6f(0x200)]&&this[_0x45af6f(0x200)]['hide']());}['dispose'](){const _0xc7c7b6=_0x2683e6;for(const _0x1ed491 of this[_0xc7c7b6(0x2bd)])_0x1ed491[_0xc7c7b6(0x269)]();this[_0xc7c7b6(0x200)]&&this[_0xc7c7b6(0x200)][_0xc7c7b6(0x269)](),this[_0xc7c7b6(0x27f)]&&this['_anchorDot'][_0xc7c7b6(0x269)](),this[_0xc7c7b6(0x53f)]&&this[_0xc7c7b6(0x53f)][_0xc7c7b6(0x269)](),this[_0xc7c7b6(0x560)]&&this[_0xc7c7b6(0x560)]();}[_0x2683e6(0x3b2)](){const _0x429be2=_0x2683e6;var _0x11b205;const {_docSkeleton:_0x2f94f8,_document:_0x122a82}=this,{color:_0x2e7453,name:_0x8e35de,ranges:_0x1bda21}=this[_0x429be2(0x448)],_0x26d34d=_0x122a82[_0x429be2(0x2dc)](),{docsLeft:_0x5dde01,docsTop:_0x3d17fe}=_0x26d34d,_0x5e81b9=new J['NodePositionConvertToCursor'](_0x26d34d,_0x2f94f8);for(const {startOffset:_0x5f0e16,endOffset:_0x530390,rangeType:_0x1ad3d4,segmentId:_0x40e4dd,segmentPage:_0x23efaa,collapsed:_0x45926d,isActive:_0x5151c0}of _0x1bda21){const _0x2b3e8a=_0x2f94f8[_0x429be2(0x183)](_0x5f0e16,!0x0,_0x40e4dd,_0x23efaa);let _0x42efa0=_0x2f94f8[_0x429be2(0x183)](_0x530390,!0x0,_0x40e4dd,_0x23efaa);if(_0x42efa0==null&&(_0x42efa0=_0x2f94f8[_0x429be2(0x183)](_0x530390-0x1,!0x1,_0x40e4dd,_0x23efaa)),_0x5151c0){const {contentBoxPointGroup:_0x59a904}=_0x5e81b9[_0x429be2(0x19d)](_0x42efa0,_0x42efa0);if(_0x59a904[_0x429be2(0x29a)]===0x0)continue;this[_0x429be2(0x359)](_0x2e7453,_0x59a904,_0x5dde01,_0x3d17fe,_0x8e35de),this[_0x429be2(0x560)]=this[_0x429be2(0x3ca)]();}if(_0x2b3e8a&&_0x42efa0){if(_0x1ad3d4===a['DOC_RANGE_TYPE'][_0x429be2(0x3bf)]){const _0x20918f=new J[(_0x429be2(0x483))](_0x26d34d,_0x2f94f8),{pointGroup:_0xfa59f3}=(_0x11b205=_0x20918f['getRangePointData'](_0x2b3e8a,_0x42efa0))!=null?_0x11b205:{};if(_0xfa59f3==null||_0xfa59f3[_0x429be2(0x29a)]===0x0)continue;this[_0x429be2(0x5bc)](_0x2e7453,_0xfa59f3,_0x5dde01,_0x3d17fe);}else{if(!_0x45926d){const {borderBoxPointGroup:_0x2d7d81}=_0x5e81b9[_0x429be2(0x19d)](_0x2b3e8a,_0x42efa0);if(_0x2d7d81[_0x429be2(0x29a)]===0x0)continue;this[_0x429be2(0x520)](_0x2e7453,_0x2d7d81,_0x5dde01,_0x3d17fe);}}}}}[_0x2683e6(0x359)](_0xc426b1,_0x24b622,_0x2900c8,_0x8ff878,_0x484b0f){const _0x3c4506=_0x2683e6,_0x5aa411=this['_getAnchorBounding'](_0x24b622),{left:_0x330772,top:_0x1c778d,height:_0x2de527}=_0x5aa411,_0x204d04=this[_0x3c4506(0x57e)](),_0x4e7326=hs/_0x204d04,_0x388986=new K[(_0x3c4506(0x48c))](st+a[_0x3c4506(0x256)][_0x3c4506(0x59e)](Ue),{'left':_0x330772+_0x2900c8-_0x4e7326,'top':_0x1c778d+_0x8ff878,'height':_0x2de527,'width':ls,'fill':_0xc426b1||K[_0x3c4506(0x552)](a['COLORS'][_0x3c4506(0x1ff)],0x0),'strokeWidth':_0x4e7326,'stroke':_s,'evented':!0x0});this['_anchor']=_0x388986,this['_scene'][_0x3c4506(0x28f)](_0x388986,J[_0x3c4506(0x5de)]);const _0x443628=new K[(_0x3c4506(0x48c))](st+a[_0x3c4506(0x256)][_0x3c4506(0x59e)](Ue),{'left':_0x330772+_0x2900c8-_0x4e7326,'top':_0x1c778d+_0x8ff878-rt/0x2,'height':rt,'width':rt,'fill':_0xc426b1||K[_0x3c4506(0x552)](a['COLORS'][_0x3c4506(0x1ff)],0x0),'strokeWidth':0x0,'stroke':_0xc426b1||K['getColor'](a[_0x3c4506(0x5b8)][_0x3c4506(0x1ff)],0x0),'evented':!0x1});this['_anchorDot']=_0x443628,this[_0x3c4506(0x30b)]['addObject'](_0x443628,J[_0x3c4506(0x5de)]);const _0x39fc0d=new ze(st+a[_0x3c4506(0x256)][_0x3c4506(0x59e)](Ue),{'left':_0x330772+_0x2900c8-_0x4e7326,'top':_0x1c778d+_0x8ff878-Le,'text':_0x484b0f,'color':_0xc426b1});this[_0x3c4506(0x200)]=_0x39fc0d,this[_0x3c4506(0x30b)][_0x3c4506(0x28f)](_0x39fc0d,J[_0x3c4506(0x5de)]),this[_0x3c4506(0x15b)]=!0x1;}['_handleHover'](){const _0x3296bb=_0x2683e6,_0x2c9bf4=this[_0x3296bb(0x53f)]['onPointerEnter$'][_0x3296bb(0x357)](()=>{const _0x25c377=_0x3296bb;this[_0x25c377(0x15b)]=!0x0;}),_0x1753b0=this[_0x3296bb(0x53f)][_0x3296bb(0x3c1)][_0x3296bb(0x357)](()=>{const _0x6a8559=_0x3296bb;this[_0x6a8559(0x1c6)]&&clearTimeout(this['_hideTimer']),this[_0x6a8559(0x1c6)]=setTimeout(()=>{const _0x288997=_0x6a8559;this[_0x288997(0x15b)]=!0x1;},0x7d0);});return()=>{const _0xa00428=_0x3296bb;_0x2c9bf4[_0xa00428(0x334)](),_0x1753b0[_0xa00428(0x334)]();};}[_0x2683e6(0x520)](_0x59d14e,_0x813dab,_0x33cd6b,_0x5f15fe){const _0x2ec1c8=_0x2683e6,_0xd79267=new a[(_0x2ec1c8(0x3dc))](_0x59d14e)[_0x2ec1c8(0x413)](0.2)['toRgbString'](),_0x5895dd=new K[(_0x2ec1c8(0x51f))](as+a[_0x2ec1c8(0x256)][_0x2ec1c8(0x59e)](Ue),{'pointsGroup':_0x813dab,'fill':_0xd79267||K[_0x2ec1c8(0x552)](a[_0x2ec1c8(0x5b8)][_0x2ec1c8(0x1ff)],0.2),'left':_0x33cd6b,'top':_0x5f15fe,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2ec1c8(0x2bd)][_0x2ec1c8(0x17e)](_0x5895dd),this['_scene'][_0x2ec1c8(0x28f)](_0x5895dd,J['TEXT_RANGE_LAYER_INDEX']);}[_0x2683e6(0x5bc)](_0x325f2a,_0x1b7eab,_0x713ba6,_0x34345d){const _0x53a7e5=_0x2683e6,_0x189746=new a[(_0x53a7e5(0x3dc))](_0x325f2a)[_0x53a7e5(0x413)](0.2)['toRgbString'](),_0x31e6c5=new K[(_0x53a7e5(0x51f))](cs+a[_0x53a7e5(0x256)][_0x53a7e5(0x59e)](Ue),{'pointsGroup':_0x1b7eab,'fill':_0x189746||K[_0x53a7e5(0x552)](a['COLORS'][_0x53a7e5(0x1ff)],0.2),'left':_0x713ba6,'top':_0x34345d,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x53a7e5(0x17e)](_0x31e6c5),this[_0x53a7e5(0x30b)]['addObject'](_0x31e6c5,J[_0x53a7e5(0x5de)]);}[_0x2683e6(0x419)](_0x4e697d){const _0x47ee8a=_0x4e697d[0x0],_0x5b662f=_0x47ee8a[0x0],_0x1f6a8d=_0x47ee8a[0x2],{x:_0x2dbd60,y:_0x37524d}=_0x5b662f,{x:_0x2e6968,y:_0x3a576c}=_0x1f6a8d;return{'left':_0x2dbd60,'top':_0x37524d,'width':_0x2e6968-_0x2dbd60,'height':_0x3a576c-_0x37524d};}[_0x2683e6(0x57e)](){const _0x29d5c1=_0x2683e6,{scaleX:_0x32bdce,scaleY:_0x4a3ffa}=this[_0x29d5c1(0x30b)][_0x29d5c1(0x254)]();return Math[_0x29d5c1(0x1a1)](_0x32bdce,_0x4a3ffa);}}var us=Object['defineProperty'],ds=Object['getOwnPropertyDescriptor'],fs=(_0x29ab20,_0x6ac9ac,_0x4f50e8,_0x33c741)=>{const _0x1d4744=_0x2683e6;for(var _0xe97fbc=_0x33c741>0x1?void 0x0:_0x33c741?ds(_0x6ac9ac,_0x4f50e8):_0x6ac9ac,_0x3453fa=_0x29ab20[_0x1d4744(0x29a)]-0x1,_0x19b097;_0x3453fa>=0x0;_0x3453fa--)(_0x19b097=_0x29ab20[_0x3453fa])&&(_0xe97fbc=(_0x33c741?_0x19b097(_0x6ac9ac,_0x4f50e8,_0xe97fbc):_0x19b097(_0xe97fbc))||_0xe97fbc);return _0x33c741&&_0xe97fbc&&us(_0x6ac9ac,_0x4f50e8,_0xe97fbc),_0xe97fbc;},je=(_0x1c281e,_0xe2a209)=>(_0x327465,_0x7d7b3f)=>_0xe2a209(_0x327465,_0x7d7b3f,_0x1c281e);let pt=class extends a[_0x2683e6(0x1e0)]{constructor(_0x91c5a3,_0x4dc901,_0xf31658,_0x380401,_0x59d4b2){const _0x1e8dbe=_0x2683e6;super(),I(this,_0x1e8dbe(0x253),[]),I(this,_0x1e8dbe(0x2b1),[]),(this[_0x1e8dbe(0x556)]=_0x91c5a3,this[_0x1e8dbe(0x3fa)]=_0x4dc901,this['_collabCursorController']=_0xf31658,this[_0x1e8dbe(0x447)]=_0x380401,this['_themeService']=_0x59d4b2,this[_0x1e8dbe(0x4ea)]());}[_0x2683e6(0x4ea)](){const _0xa6a88e=_0x2683e6,_0x5b7ca7=this[_0xa6a88e(0x556)][_0xa6a88e(0x5e6)],_0x6e5557=this[_0xa6a88e(0x3fa)];this[_0xa6a88e(0x427)](A[_0xa6a88e(0x241)]([this[_0xa6a88e(0x5f4)][_0xa6a88e(0x24c)](_0x5b7ca7),this[_0xa6a88e(0x50e)][_0xa6a88e(0x3e3)]])[_0xa6a88e(0x36b)](V[_0xa6a88e(0x538)](([_0x3727a5,_0x28af64])=>({'skeleton':_0x6e5557['getSkeleton'](),'cursors':[..._0x3727a5[_0xa6a88e(0x2d2)]()][_0xa6a88e(0x228)](_0x39b731=>({..._0x39b731,'color':_0x28af64[_0x39b731[_0xa6a88e(0x52f)]]}))})))[_0xa6a88e(0x44d)](_0x18d868=>{const _0x38d170=_0xa6a88e;if(this[_0x38d170(0x2cb)](),_0x18d868){const {skeleton:_0x6d4612,cursors:_0x4f6b62}=_0x18d868;this['_updateCollabCursors'](_0x6d4612,_0x4f6b62);}})),this[_0xa6a88e(0x57b)](),this[_0xa6a88e(0x48a)]();}[_0x2683e6(0x4a7)](_0x1ef51e,_0x9f37e0){const _0x2c529c=_0x2683e6,{scene:_0x327bee,mainComponent:_0x5a4121}=this[_0x2c529c(0x556)],_0x474cb9=_0x9f37e0['map'](_0x4f4d78=>new Bt(_0x4f4d78,_0x327bee,_0x1ef51e,_0x5a4121));this[_0x2c529c(0x253)]=_0x474cb9,this['_cursors']=_0x9f37e0;}['_refreshCollabCursors'](){const _0x4c0a06=_0x2683e6;this[_0x4c0a06(0x2cb)]();const {scene:_0x192f52,mainComponent:_0x15107e}=this[_0x4c0a06(0x556)],_0x534051=this[_0x4c0a06(0x3fa)][_0x4c0a06(0x3d5)](),_0xe88dc8=this[_0x4c0a06(0x2b1)][_0x4c0a06(0x538)](_0x21e11d=>new Bt(_0x21e11d,_0x192f52,_0x534051,_0x15107e));this[_0x4c0a06(0x253)]=_0xe88dc8;}[_0x2683e6(0x2cb)](){const _0x5c1391=_0x2683e6;this['_cursorShapes']['forEach'](_0x36201c=>_0x36201c['dispose']()),this[_0x5c1391(0x253)]=[];}[_0x2683e6(0x48a)](){const _0x3598eb=_0x2683e6,_0x44a524=[J[_0x3598eb(0x171)]['id']];this[_0x3598eb(0x427)](this['_commandService']['onCommandExecuted'](_0x4d0928=>{const _0x276b40=_0x3598eb;_0x44a524[_0x276b40(0x598)](_0x4d0928['id'])&&_0x4d0928['params'][_0x276b40(0x5e6)]===this['_context']['unitId']&&this[_0x276b40(0x295)]();}));}[_0x2683e6(0x57b)](){const _0x467857=_0x2683e6;this[_0x467857(0x427)](a[_0x467857(0x252)](this['_context'][_0x467857(0x576)][_0x467857(0x5c8)])[_0x467857(0x36b)](V[_0x467857(0x57f)](_0xf27e3f=>_0xf27e3f[_0x467857(0x44a)]===K[_0x467857(0x602)][_0x467857(0x460)]),V[_0x467857(0x4f0)](0x10))[_0x467857(0x44d)](()=>{const _0x3769e9=_0x467857;this[_0x3769e9(0x295)]();}));}};pt=fs([je(0x1,a[_0x2683e6(0x22b)](ye[_0x2683e6(0x46b)])),je(0x2,a[_0x2683e6(0x22b)](De)),je(0x3,a['ICommandService']),je(0x4,a[_0x2683e6(0x22b)](a[_0x2683e6(0x3ba)]))],pt);const vs=0x1,ms=1.5;class Sn extends K[_0x2683e6(0x1df)]{constructor(_0x1090e3,_0x42ef0d){const _0x39bd13=_0x2683e6;super(_0x1090e3,_0x42ef0d),I(this,_0x39bd13(0x512)),I(this,_0x39bd13(0x17b),!0x1),I(this,_0x39bd13(0x429)),I(this,_0x39bd13(0x539),''),I(this,_0x39bd13(0x565),_0x39bd13(0x1de)),I(this,_0x39bd13(0x1ec)),(_0x42ef0d&&this[_0x39bd13(0x2bc)](_0x42ef0d),this['onPointerEnter$'][_0x39bd13(0x357)](()=>this[_0x39bd13(0x2bc)]({'hovered':!0x0})),this[_0x39bd13(0x3c1)][_0x39bd13(0x357)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x2683e6(0x2bc)](_0x1479ce){const _0x1deadd=_0x2683e6;var _0x1d7c2f,_0x428b8b,_0x32659f,_0x586ba0,_0x4a5002,_0x4c246e;this['_color']=(_0x1d7c2f=_0x1479ce[_0x1deadd(0x52f)])!=null?_0x1d7c2f:this[_0x1deadd(0x512)],this[_0x1deadd(0x17b)]=(_0x428b8b=_0x1479ce[_0x1deadd(0x31a)])!=null?_0x428b8b:this[_0x1deadd(0x17b)],this['_range']=(_0x32659f=_0x1479ce[_0x1deadd(0x1c7)])!=null?_0x32659f:this[_0x1deadd(0x429)],this[_0x1deadd(0x539)]=(_0x586ba0=_0x1479ce[_0x1deadd(0x231)])!=null?_0x586ba0:this['_name'],this[_0x1deadd(0x565)]=(_0x4a5002=_0x1479ce[_0x1deadd(0x2c4)])!=null?_0x4a5002:this[_0x1deadd(0x565)],this[_0x1deadd(0x1ec)]=(_0x4c246e=_0x1479ce[_0x1deadd(0x3ac)])!=null?_0x4c246e:this[_0x1deadd(0x1ec)],this['transformByState']({'width':_0x1479ce[_0x1deadd(0x3d8)],'height':_0x1479ce[_0x1deadd(0x197)]});}[_0x2683e6(0x25e)](_0xe2f01){const _0x39406f=_0x2683e6,{row:_0x2acd30,column:_0x1932f2}=_0xe2f01;if(_0x2acd30>=this['_range'][_0x39406f(0x459)]&&_0x2acd30<=this[_0x39406f(0x429)][_0x39406f(0x600)]&&_0x1932f2>=this[_0x39406f(0x429)][_0x39406f(0x247)]&&_0x1932f2<=this[_0x39406f(0x429)][_0x39406f(0x2a6)]){this[_0x39406f(0x2bc)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x2683e6(0x287)](_0x484754){return!0x1;}['_draw'](_0x50f769){const _0x25e9f7=_0x2683e6;K[_0x25e9f7(0x48c)][_0x25e9f7(0x2c9)](_0x50f769,{'width':this[_0x25e9f7(0x3d8)],'height':this[_0x25e9f7(0x197)],'strokeWidth':ms,'stroke':this[_0x25e9f7(0x512)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x25e9f7(0x17b)]&&(_0x50f769[_0x25e9f7(0x303)](),_0x50f769[_0x25e9f7(0x39b)](0x1,0x0,0x0,0x1,this[_0x25e9f7(0x3d8)],this[_0x25e9f7(0x565)]===_0x25e9f7(0x5a3)?0x0:-Le),ze[_0x25e9f7(0x2c9)](_0x50f769,{'text':this[_0x25e9f7(0x539)],'color':this['_color']}),_0x50f769['restore']());}}var Ss=Object[_0x2683e6(0x1e7)],ps=Object[_0x2683e6(0x181)],gs=(_0x8b75a9,_0x35d294,_0x353a82,_0xe7d46a)=>{const _0x3992f9=_0x2683e6;for(var _0x2cd82f=_0xe7d46a>0x1?void 0x0:_0xe7d46a?ps(_0x35d294,_0x353a82):_0x35d294,_0x34d75c=_0x8b75a9[_0x3992f9(0x29a)]-0x1,_0x5ab92c;_0x34d75c>=0x0;_0x34d75c--)(_0x5ab92c=_0x8b75a9[_0x34d75c])&&(_0x2cd82f=(_0xe7d46a?_0x5ab92c(_0x35d294,_0x353a82,_0x2cd82f):_0x5ab92c(_0x2cd82f))||_0x2cd82f);return _0xe7d46a&&_0x2cd82f&&Ss(_0x35d294,_0x353a82,_0x2cd82f),_0x2cd82f;},ot=(_0x58dc5b,_0x332b90)=>(_0x47c928,_0x1fd325)=>_0x332b90(_0x47c928,_0x1fd325,_0x58dc5b);const Is=0x1389;let gt=class extends a[_0x2683e6(0x1e0)]{constructor(_0x249e25,_0xf36a5d,_0x5b8cf3,_0x5efaad){const _0x5e6419=_0x2683e6;super(),I(this,'_cursors',new Set()),I(this,_0x5e6419(0x374),null),(this[_0x5e6419(0x556)]=_0x249e25,this['_sheetSkeletonManagerService']=_0xf36a5d,this[_0x5e6419(0x5f4)]=_0x5b8cf3,this[_0x5e6419(0x50e)]=_0x5efaad,this['_init']());}['_init'](){const _0x1b66ee=_0x2683e6;this[_0x1b66ee(0x2c5)][_0x1b66ee(0x320)][_0x1b66ee(0x36b)](V[_0x1b66ee(0x35f)](this[_0x1b66ee(0x534)]),V[_0x1b66ee(0x424)](_0x265ea0=>{const _0x286fb0=_0x1b66ee;if(_0x265ea0){const _0x1cabb4=_0x265ea0[_0x286fb0(0x53a)];return A[_0x286fb0(0x241)](this[_0x286fb0(0x5f4)][_0x286fb0(0x24c)](this['_context'][_0x286fb0(0x5e6)]),this['_themeService']['currentTheme$'])['pipe'](V['map'](([_0x4fcba3,_0x1e2ed1])=>{const _0x20a64e=new Map();return _0x4fcba3['forEach']((_0x428fca,_0x1b592a)=>{const _0x3b2aa8=_0x479a;if(_0x428fca[_0x3b2aa8(0x224)]===_0x1cabb4){const _0x5c6466={..._0x428fca};_0x5c6466[_0x3b2aa8(0x52f)]=_0x1e2ed1[_0x428fca[_0x3b2aa8(0x52f)]],_0x20a64e[_0x3b2aa8(0x46f)](_0x1b592a,_0x5c6466);}}),{'skeleton':_0x265ea0,'cursors':_0x20a64e};}));}return A['of']({'skeleton':null,'cursors':new Map()});}))[_0x1b66ee(0x44d)](({skeleton:_0x15102b,cursors:_0x5d8b70})=>{const _0x285745=_0x1b66ee;this[_0x285745(0x2cb)](),_0x15102b&&this[_0x285745(0x4a7)](_0x15102b,_0x5d8b70);}),this[_0x1b66ee(0x2c5)][_0x1b66ee(0x320)]['subscribe'](_0x5efb8c=>{const _0x24d0a0=_0x1b66ee;if(_0x5efb8c==null)return;const {skeleton:_0x18ba32}=_0x5efb8c,{scene:_0x146ecf}=this[_0x24d0a0(0x556)];_0x146ecf['onPointerMove$'][_0x24d0a0(0x357)](a['debounce'](_0x3b95f1=>{const _0x55632f=_0x24d0a0;var _0x298ffa,_0x1d7b40;const {offsetX:_0xc78bb3,offsetY:_0x4a2353}=_0x3b95f1,{x:_0x5174ea,y:_0x5f368a}=_0x146ecf[_0x55632f(0x5d4)](K[_0x55632f(0x35b)][_0x55632f(0x29e)]([_0xc78bb3,_0x4a2353])),{scaleX:_0x5a00cb,scaleY:_0x4fe165}=_0x146ecf['getAncestorScale'](),_0x294213=_0x146ecf[_0x55632f(0x161)](Re[_0x55632f(0x5dc)][_0x55632f(0x42a)]),_0x40b770=_0x146ecf[_0x55632f(0x21b)](K[_0x55632f(0x35b)][_0x55632f(0x29e)]([_0x5174ea,_0x5f368a]),_0x294213),_0x5b519c=_0x18ba32[_0x55632f(0x561)](_0xc78bb3,_0x4a2353,_0x5a00cb,_0x4fe165,_0x40b770);((_0x298ffa=this[_0x55632f(0x374)])==null?void 0x0:_0x298ffa[_0x55632f(0x609)])===_0x5b519c[_0x55632f(0x609)]&&((_0x1d7b40=this['_lastPointer'])==null?void 0x0:_0x1d7b40[_0x55632f(0x17d)])===_0x5b519c['row']||this[_0x55632f(0x2b1)][_0x55632f(0x280)](_0x25a326=>{const _0x69c52a=_0x55632f;_0x25a326[_0x69c52a(0x25e)](_0x5b519c);});},0x64));});}[_0x2683e6(0x4a7)](_0x3ceec6,_0x3a4fd6){const _0x40fa5b=_0x2683e6;var _0x4ce947;const _0x44c958=(_0x4ce947=this['_sheetSkeletonManagerService'][_0x40fa5b(0x26f)]())==null?void 0x0:_0x4ce947[_0x40fa5b(0x3c5)];if(!_0x44c958)return;const _0x14df4d=this[_0x40fa5b(0x487)]();if(!_0x14df4d)return;this[_0x40fa5b(0x2b1)][_0x40fa5b(0x280)](_0x2032c6=>{const _0x1a0c53=_0x40fa5b;_0x2032c6[_0x1a0c53(0x442)]();});const {scene:_0x4f9625}=_0x14df4d,_0x21a196=Cs(Array[_0x40fa5b(0x33f)](_0x3a4fd6[_0x40fa5b(0x2d2)]()))[_0x40fa5b(0x538)](_0x43e073=>{const _0x54b087=_0x40fa5b,{color:_0xf99707,range:_0x630628,name:_0x427688,selection:_0x5397f8,sheetID:_0x3f8810}=_0x43e073,{startColumn:_0x2bf0fa,startRow:_0x3ee54d,endColumn:_0x2f4809,endRow:_0x6c07d7}=_0x630628,_0x3f8398=Re['getCoordByCell'](_0x3ee54d,_0x2bf0fa,_0x4f9625,_0x44c958),_0x3199b0=Re['getCoordByCell'](_0x6c07d7,_0x2f4809,_0x4f9625,_0x44c958),{columnHeaderHeightAndMarginTop:_0x411ad6}=_0x44c958,{startX:_0x2c8c14,startY:_0x16661d}=_0x3f8398,{endX:_0x2570d8,endY:_0x2ca507}=_0x3199b0,_0x299fd5=_0x2570d8-_0x2c8c14,_0x44cf76=_0x2ca507-_0x16661d,_0xbdf8ef={'labelPosition':_0x16661d-_0x411ad6>=Le?'top':_0x54b087(0x5a3),'sheetID':_0x3f8810,'range':_0x630628,'color':_0xf99707,'name':_0x427688,'selection':_0x5397f8,'left':_0x2c8c14,'top':_0x16661d,'width':_0x299fd5,'height':_0x44cf76,'evented':!0x1,'zIndex':Is};return new Sn(_0x427688,_0xbdf8ef);});_0x4f9625[_0x40fa5b(0x43f)](_0x21a196,vs),this[_0x40fa5b(0x2b1)]=new Set(_0x21a196);}[_0x2683e6(0x2cb)](){const _0x274e89=_0x2683e6;var _0x49dd86;(_0x49dd86=this[_0x274e89(0x2b1)])==null||_0x49dd86[_0x274e89(0x280)](_0x3d7803=>_0x3d7803[_0x274e89(0x269)]());}['_getSheetObject'](){const _0x5567cd=_0x2683e6;return Re[_0x5567cd(0x349)](this[_0x5567cd(0x556)][_0x5567cd(0x434)],this[_0x5567cd(0x556)]);}};gt=gs([ot(0x1,a[_0x2683e6(0x22b)](Re['SheetSkeletonManagerService'])),ot(0x2,a[_0x2683e6(0x22b)](De)),ot(0x3,a[_0x2683e6(0x22b)](a[_0x2683e6(0x3ba)]))],gt);function Cs(_0x3be064){const _0x5619d8=_0x2683e6,_0x1810cf=new Map();return _0x3be064[_0x5619d8(0x280)](_0x3e1db8=>{const _0x1a653b=_0x5619d8;if(_0x1810cf[_0x1a653b(0x58e)](_0x3e1db8[_0x1a653b(0x2aa)])){const _0x1240e8=_0x1810cf[_0x1a653b(0x553)](_0x3e1db8['selection']);_0x1240e8['name']+=',\x20'+_0x3e1db8[_0x1a653b(0x231)];}else _0x1810cf['set'](_0x3e1db8['selection'],_0x3e1db8);}),Array[_0x5619d8(0x33f)](_0x1810cf[_0x5619d8(0x2d2)]());}var X=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function xe(_0x460fc7){const _0x16d5c2=_0x2683e6;return _0x460fc7&&_0x460fc7[_0x16d5c2(0x238)]&&Object['prototype']['hasOwnProperty']['call'](_0x460fc7,_0x16d5c2(0x34b))?_0x460fc7[_0x16d5c2(0x34b)]:_0x460fc7;}var pn={'exports':{}},Xe={},Es=ae,bs=Symbol['for'](_0x2683e6(0x28e)),Ts=Symbol['for'](_0x2683e6(0x573)),Rs=Object[_0x2683e6(0x2f3)][_0x2683e6(0x405)],ys=Es[_0x2683e6(0x4bb)][_0x2683e6(0x49b)],Os={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function gn(_0x2fd3eb,_0x3ba7fd,_0x2fc252){const _0x2a2674=_0x2683e6;var _0x2a7cd2,_0x49c35f={},_0x4067fb=null,_0x16dec3=null;_0x2fc252!==void 0x0&&(_0x4067fb=''+_0x2fc252),_0x3ba7fd[_0x2a2674(0x327)]!==void 0x0&&(_0x4067fb=''+_0x3ba7fd[_0x2a2674(0x327)]),_0x3ba7fd[_0x2a2674(0x403)]!==void 0x0&&(_0x16dec3=_0x3ba7fd[_0x2a2674(0x403)]);for(_0x2a7cd2 in _0x3ba7fd)Rs['call'](_0x3ba7fd,_0x2a7cd2)&&!Os[_0x2a2674(0x405)](_0x2a7cd2)&&(_0x49c35f[_0x2a7cd2]=_0x3ba7fd[_0x2a7cd2]);if(_0x2fd3eb&&_0x2fd3eb[_0x2a2674(0x278)]){for(_0x2a7cd2 in(_0x3ba7fd=_0x2fd3eb[_0x2a2674(0x278)],_0x3ba7fd))_0x49c35f[_0x2a7cd2]===void 0x0&&(_0x49c35f[_0x2a7cd2]=_0x3ba7fd[_0x2a7cd2]);}return{'$$typeof':bs,'type':_0x2fd3eb,'key':_0x4067fb,'ref':_0x16dec3,'props':_0x49c35f,'_owner':ys['current']};}Xe['Fragment']=Ts,Xe[_0x2683e6(0x1d3)]=gn,Xe[_0x2683e6(0x4a3)]=gn,pn[_0x2683e6(0x436)]=Xe;var pe=pn[_0x2683e6(0x436)],Q=function(){const _0x5a702a=_0x2683e6;return Q=Object['assign']||function(_0x2d3aaf){const _0x3cbd1e=_0x479a;for(var _0x51ce3c,_0x3932ee=0x1,_0x59d920=arguments[_0x3cbd1e(0x29a)];_0x3932ee<_0x59d920;_0x3932ee++){_0x51ce3c=arguments[_0x3932ee];for(var _0x782ce8 in _0x51ce3c)Object[_0x3cbd1e(0x2f3)][_0x3cbd1e(0x405)][_0x3cbd1e(0x54a)](_0x51ce3c,_0x782ce8)&&(_0x2d3aaf[_0x782ce8]=_0x51ce3c[_0x782ce8]);}return _0x2d3aaf;},Q[_0x5a702a(0x4c4)](this,arguments);},Ds=function(_0x3a588a,_0x325987){const _0x4dd6f9=_0x2683e6;var _0x11b3a6={};for(var _0x32be31 in _0x3a588a)Object[_0x4dd6f9(0x2f3)][_0x4dd6f9(0x405)][_0x4dd6f9(0x54a)](_0x3a588a,_0x32be31)&&_0x325987[_0x4dd6f9(0x404)](_0x32be31)<0x0&&(_0x11b3a6[_0x32be31]=_0x3a588a[_0x32be31]);if(_0x3a588a!=null&&typeof Object[_0x4dd6f9(0x289)]==_0x4dd6f9(0x1c9)){for(var _0x485b09=0x0,_0x32be31=Object[_0x4dd6f9(0x289)](_0x3a588a);_0x485b09<_0x32be31[_0x4dd6f9(0x29a)];_0x485b09++)_0x325987['indexOf'](_0x32be31[_0x485b09])<0x0&&Object['prototype'][_0x4dd6f9(0x543)][_0x4dd6f9(0x54a)](_0x3a588a,_0x32be31[_0x485b09])&&(_0x11b3a6[_0x32be31[_0x485b09]]=_0x3a588a[_0x32be31[_0x485b09]]);}return _0x11b3a6;},Dt=ae[_0x2683e6(0x5f3)](function(_0x35f3de,_0x376f41){const _0xec3ef=_0x2683e6;var _0x43424c=_0x35f3de[_0xec3ef(0x177)],_0x1aeb17=_0x35f3de['id'],_0x23d53f=_0x35f3de[_0xec3ef(0x206)],_0x13a555=_0x35f3de[_0xec3ef(0x5c9)],_0x16e2f4=Ds(_0x35f3de,[_0xec3ef(0x177),'id',_0xec3ef(0x206),'extend']),_0x4114a9=_0xec3ef(0x391)[_0xec3ef(0x33e)](_0x1aeb17,'\x20')[_0xec3ef(0x33e)](_0x23d53f||'')['trim'](),_0x5ba940=ae[_0xec3ef(0x54e)]('_'['concat'](Us()));return In(_0x43424c,''[_0xec3ef(0x33e)](_0x1aeb17),{'defIds':_0x43424c[_0xec3ef(0x2e8)],'idSuffix':_0x5ba940[_0xec3ef(0x3b7)]},Q({'ref':_0x376f41,'className':_0x4114a9},_0x16e2f4),_0x13a555);});function In(_0x556ff8,_0x9b9f25,_0x3b7255,_0x335132,_0x39c329){const _0x40f1d1=_0x2683e6;return ae[_0x40f1d1(0x48e)](_0x556ff8[_0x40f1d1(0x493)],Q(Q({'key':_0x9b9f25},ws(_0x556ff8,_0x3b7255,_0x39c329)),_0x335132),(Ps(_0x556ff8,_0x3b7255)[_0x40f1d1(0x50d)]||[])[_0x40f1d1(0x538)](function(_0x18e17a,_0x34a9e0){const _0x2ac7a9=_0x40f1d1;return In(_0x18e17a,''[_0x2ac7a9(0x33e)](_0x9b9f25,'-')[_0x2ac7a9(0x33e)](_0x556ff8['tag'],'-')[_0x2ac7a9(0x33e)](_0x34a9e0),_0x3b7255,void 0x0,_0x39c329);}));}function ws(_0x4fb5a0,_0x1a76ad,_0x354ea4){const _0x267ab9=_0x2683e6;var _0x2cff61=Q({},_0x4fb5a0['attrs']);_0x354ea4!=null&&_0x354ea4[_0x267ab9(0x2a3)]&&_0x2cff61[_0x267ab9(0x215)]===_0x267ab9(0x2a3)&&(_0x2cff61['fill']=_0x354ea4[_0x267ab9(0x2a3)]);var _0xb7d85f=_0x1a76ad[_0x267ab9(0x2e8)];return!_0xb7d85f||_0xb7d85f[_0x267ab9(0x29a)]===0x0||(_0x4fb5a0['tag']===_0x267ab9(0x219)&&_0x2cff61[_0x267ab9(0x223)]&&(_0x2cff61[_0x267ab9(0x223)]=_0x2cff61[_0x267ab9(0x223)]+_0x1a76ad['idSuffix']),Object[_0x267ab9(0x548)](_0x2cff61)[_0x267ab9(0x280)](function(_0x2f3497){const _0xfb9832=_0x267ab9;var _0x529790=_0x2f3497[0x0],_0x505988=_0x2f3497[0x1];typeof _0x505988==_0xfb9832(0x516)&&(_0x2cff61[_0x529790]=_0x505988[_0xfb9832(0x5d6)](/url\(#(.*)\)/,_0xfb9832(0x56b)['concat'](_0x1a76ad['idSuffix'],')')));})),_0x2cff61;}function Ps(_0x2fa724,_0x2b808c){const _0x36a3ab=_0x2683e6;var _0xe4e84a,_0x23a010=_0x2b808c[_0x36a3ab(0x2e8)];return!_0x23a010||_0x23a010[_0x36a3ab(0x29a)]===0x0?_0x2fa724:_0x2fa724['tag']===_0x36a3ab(0x564)&&(!((_0xe4e84a=_0x2fa724[_0x36a3ab(0x50d)])===null||_0xe4e84a===void 0x0)&&_0xe4e84a[_0x36a3ab(0x29a)])?Q(Q({},_0x2fa724),{'children':_0x2fa724[_0x36a3ab(0x50d)]['map'](function(_0x3b3d94){const _0x437cc4=_0x36a3ab;return typeof _0x3b3d94['attrs']['id']=='string'&&_0x23a010&&_0x23a010[_0x437cc4(0x404)](_0x3b3d94[_0x437cc4(0x14d)]['id'])>-0x1?Q(Q({},_0x3b3d94),{'attrs':Q(Q({},_0x3b3d94[_0x437cc4(0x14d)]),{'id':_0x3b3d94[_0x437cc4(0x14d)]['id']+_0x2b808c[_0x437cc4(0x485)]})}):_0x3b3d94;})}):_0x2fa724;}function Us(){const _0x561f50=_0x2683e6;return Math['random']()[_0x561f50(0x155)](0x24)[_0x561f50(0x20e)](0x2,0x8);}Dt[_0x2683e6(0x528)]=_0x2683e6(0x411);var Ms={'tag':_0x2683e6(0x4cc),'attrs':{'fill':'none','viewBox':_0x2683e6(0x4b6),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x2683e6(0x423)},'children':[{'tag':'path','attrs':{'stroke':_0x2683e6(0x2b3),'d':_0x2683e6(0x321),'strokeLinecap':_0x2683e6(0x597),'strokeLinejoin':_0x2683e6(0x597),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x2683e6(0x41e),'attrs':{'id':_0x2683e6(0x3a4)},'children':[{'tag':'path','attrs':{'fill':_0x2683e6(0x574),'d':_0x2683e6(0x2ce)}}]}]}],'defIds':['off-line-single_clip0_910_343']},Cn=ae[_0x2683e6(0x5f3)](function(_0x54195e,_0x18bff6){const _0xe3da71=_0x2683e6;return ae[_0xe3da71(0x48e)](Dt,Object['assign']({},_0x54195e,{'id':'off-line-single','ref':_0x18bff6,'icon':Ms}));});Cn[_0x2683e6(0x528)]='OffLineSingle';var As={'tag':_0x2683e6(0x4cc),'attrs':{'fill':'none','viewBox':_0x2683e6(0x519),'width':_0x2683e6(0x312),'height':_0x2683e6(0x312)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x2683e6(0x53c),'attrs':{'stroke':'currentColor','d':_0x2683e6(0x5a4),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x2683e6(0x564),'attrs':{},'children':[{'tag':_0x2683e6(0x41e),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x2683e6(0x53c),'attrs':{'fill':_0x2683e6(0x574),'d':_0x2683e6(0x2ce),'transform':_0x2683e6(0x569)}}]}]}],'defIds':[_0x2683e6(0x444)]},En=ae[_0x2683e6(0x5f3)](function(_0x191b13,_0x152ea2){const _0x5662b8=_0x2683e6;return ae['createElement'](Dt,Object[_0x5662b8(0x3f3)]({},_0x191b13,{'id':_0x5662b8(0x188),'ref':_0x152ea2,'icon':As}));});En[_0x2683e6(0x528)]=_0x2683e6(0x163);function bn(_0x3adca5){const _0x266ad1=_0x2683e6;var _0x205e02,_0x12d95c,_0x1d3c97='';if(typeof _0x3adca5=='string'||typeof _0x3adca5==_0x266ad1(0x5ee))_0x1d3c97+=_0x3adca5;else{if(typeof _0x3adca5==_0x266ad1(0x24b)){if(Array[_0x266ad1(0x1c2)](_0x3adca5)){var _0x4c57fd=_0x3adca5[_0x266ad1(0x29a)];for(_0x205e02=0x0;_0x205e02<_0x4c57fd;_0x205e02++)_0x3adca5[_0x205e02]&&(_0x12d95c=bn(_0x3adca5[_0x205e02]))&&(_0x1d3c97&&(_0x1d3c97+='\x20'),_0x1d3c97+=_0x12d95c);}else{for(_0x12d95c in _0x3adca5)_0x3adca5[_0x12d95c]&&(_0x1d3c97&&(_0x1d3c97+='\x20'),_0x1d3c97+=_0x12d95c);}}}return _0x1d3c97;}function Ns(){const _0x89522=_0x2683e6;for(var _0x337860,_0x379b55,_0x5b55c9=0x0,_0x2e6c4a='',_0x5ccdc8=arguments[_0x89522(0x29a)];_0x5b55c9<_0x5ccdc8;_0x5b55c9++)(_0x337860=arguments[_0x5b55c9])&&(_0x379b55=bn(_0x337860))&&(_0x2e6c4a&&(_0x2e6c4a+='\x20'),_0x2e6c4a+=_0x379b55);return _0x2e6c4a;}const Ls='univer-online-status-icon',xs=_0x2683e6(0x35d),js=_0x2683e6(0x339),$s=_0x2683e6(0x174),Hs=_0x2683e6(0x542),Me={'onlineStatusIcon':Ls,'onlineStatusTitle':xs,'onlineStatus':js,'online':$s,'offline':Hs};function Bs(_0x2926ff){const _0x150aad=_0x2683e6;switch(_0x2926ff){case q['OFFLINE']:return'collabStatus.offline';case q[_0x150aad(0x476)]:return _0x150aad(0x31c);case q[_0x150aad(0x4c9)]:return _0x150aad(0x4e6);case q[_0x150aad(0x325)]:return _0x150aad(0x1cd);case q[_0x150aad(0x2c7)]:case q['AWAITING_WITH_PENDING']:return _0x150aad(0x1cf);case q[_0x150aad(0x244)]:case q[_0x150aad(0x23b)]:return _0x150aad(0x1af);}}function Tn(_0xe4204a){const _0x1381c7=_0x2683e6,{status$:_0x5c5959}=_0xe4204a,_0x2fb480=ee[_0x1381c7(0x2b2)](_0x5c5959,q[_0x1381c7(0x325)]),_0x43f916=a['useDependency'](a[_0x1381c7(0x479)]),_0x18ea16=a['useDependency'](exports[_0x1381c7(0x17a)]),_0x42fbaf=_0x2fb480!==q[_0x1381c7(0x25a)],_0x499247=_0x43f916['t'](Bs(_0x2fb480)),_0x4e28f6=Ns(Me[_0x1381c7(0x3c2)],{[Me[_0x1381c7(0x230)]]:_0x42fbaf,[Me['offline']]:!_0x42fbaf}),_0x556d00=_0x42fbaf?pe[_0x1381c7(0x1d3)](En,{}):pe[_0x1381c7(0x1d3)](Cn,{}),_0x133928=ae['useCallback'](()=>{const _0x31853c=_0x1381c7;_0x42fbaf||_0x18ea16[_0x31853c(0x5bd)]();},[_0x42fbaf,_0x18ea16]);function _0x5aceac(){const _0x377794=_0x1381c7;return pe['jsxs']('div',{'className':_0x4e28f6,'onClick':_0x133928,'children':[pe['jsx'](_0x377794(0x5a2),{'className':Me[_0x377794(0x47b)],'children':_0x556d00}),pe[_0x377794(0x1d3)]('div',{'className':Me[_0x377794(0x189)],'children':_0x499247})]});}return _0x42fbaf?_0x5aceac():pe[_0x1381c7(0x1d3)](ge[_0x1381c7(0x3ec)],{'title':_0x43f916['t'](_0x1381c7(0x5ba)),'children':_0x5aceac()});}var ks=Object['defineProperty'],Ws=Object[_0x2683e6(0x181)],Fs=(_0x18b4a6,_0x40982f,_0x3a8e57,_0x290d8e)=>{const _0x18d89d=_0x2683e6;for(var _0x580ef0=_0x290d8e>0x1?void 0x0:_0x290d8e?Ws(_0x40982f,_0x3a8e57):_0x40982f,_0x30541f=_0x18b4a6[_0x18d89d(0x29a)]-0x1,_0x4461a4;_0x30541f>=0x0;_0x30541f--)(_0x4461a4=_0x18b4a6[_0x30541f])&&(_0x580ef0=(_0x290d8e?_0x4461a4(_0x40982f,_0x3a8e57,_0x580ef0):_0x4461a4(_0x580ef0))||_0x580ef0);return _0x290d8e&&_0x580ef0&&ks(_0x40982f,_0x3a8e57,_0x580ef0),_0x580ef0;},$e=(_0x58c8b6,_0x5565f0)=>(_0x1c37f1,_0x1c1a37)=>_0x5565f0(_0x1c37f1,_0x1c1a37,_0x58c8b6);exports[_0x2683e6(0x20d)]=class extends a[_0x2683e6(0x3cc)]{constructor(_0x58988f,_0x29716f,_0xca2ae2,_0x5c79a3){const _0x28644d=_0x2683e6;super(),I(this,_0x28644d(0x1bc),new A[(_0x28644d(0x1ce))](q[_0x28644d(0x325)])),(this[_0x28644d(0x45b)]=_0x58988f,this[_0x28644d(0x2e2)]=_0x29716f,this['_injector']=_0xca2ae2,this['_collaborationController']=_0x5c79a3,this[_0x28644d(0x392)](),this[_0x28644d(0x3c6)]());}['_initStatusListener'](){const _0x48437e=_0x2683e6;this[_0x48437e(0x427)](this[_0x48437e(0x45b)][_0x48437e(0x5dd)][_0x48437e(0x36b)](A['switchMap'](()=>{const _0x126d84=_0x48437e,_0x2b2fea=this[_0x126d84(0x45b)][_0x126d84(0x452)]();return _0x2b2fea?this[_0x126d84(0x343)][_0x126d84(0x3f8)](_0x2b2fea[_0x126d84(0x478)]()):A['of'](null);}),A[_0x48437e(0x424)](_0x3b62be=>_0x3b62be?_0x3b62be[_0x48437e(0x2bf)]:A['of'](q['NOT_COLLAB'])))[_0x48437e(0x44d)](_0x479063=>{const _0x3f5e28=_0x48437e;this[_0x3f5e28(0x1bc)][_0x3f5e28(0x40f)](_0x479063);}));}['_initStatusComponent'](){const _0xa66fcf=_0x2683e6;this[_0xa66fcf(0x427)](this[_0xa66fcf(0x2e2)][_0xa66fcf(0x2d3)](ee[_0xa66fcf(0x3b9)][_0xa66fcf(0x370)],()=>a[_0xa66fcf(0x16d)](Vs({'status$':this[_0xa66fcf(0x1bc)][_0xa66fcf(0x4f2)]()}),this[_0xa66fcf(0x3e9)])));}},exports[_0x2683e6(0x20d)]=Fs([$e(0x0,a[_0x2683e6(0x468)]),$e(0x1,ee[_0x2683e6(0x1f5)]),$e(0x2,a[_0x2683e6(0x22b)](a[_0x2683e6(0x2c8)])),$e(0x3,a[_0x2683e6(0x22b)](exports['CollaborationController']))],exports['DesktopCollaborationStatusDisplayController']);function Vs(_0x50d86a){const {status$:_0x2a9574}=_0x50d86a;return function(){const _0xe282fd=_0x479a;return pe[_0xe282fd(0x1d3)](Tn,{'status$':_0x2a9574});};}const wt=a['createIdentifier'](_0x2683e6(0x566));var Gs=Object[_0x2683e6(0x1e7)],Ys=Object['getOwnPropertyDescriptor'],Ks=(_0x34ff12,_0x37a3c2,_0x22ca5b,_0x12f9fa)=>{for(var _0x1fc6ed=_0x12f9fa>0x1?void 0x0:_0x12f9fa?Ys(_0x37a3c2,_0x22ca5b):_0x37a3c2,_0x5c3b7c=_0x34ff12['length']-0x1,_0x18ed4a;_0x5c3b7c>=0x0;_0x5c3b7c--)(_0x18ed4a=_0x34ff12[_0x5c3b7c])&&(_0x1fc6ed=(_0x12f9fa?_0x18ed4a(_0x37a3c2,_0x22ca5b,_0x1fc6ed):_0x18ed4a(_0x1fc6ed))||_0x1fc6ed);return _0x12f9fa&&_0x1fc6ed&&Gs(_0x37a3c2,_0x22ca5b,_0x1fc6ed),_0x1fc6ed;},Te=(_0x4b25da,_0x1cae6b)=>(_0x1c6d69,_0x85e840)=>_0x1cae6b(_0x1c6d69,_0x85e840,_0x4b25da);exports[_0x2683e6(0x323)]=class extends a[_0x2683e6(0x1e0)]{constructor(_0x5d0f6e,_0x2040b8,_0x289c76,_0x10d852,_0x508d55,_0x2d422b){const _0x545c03=_0x2683e6;super(),this[_0x545c03(0x3ff)]=_0x5d0f6e,this['_logService']=_0x2040b8,this[_0x545c03(0x447)]=_0x289c76,this[_0x545c03(0x4ee)]=_0x10d852,this[_0x545c03(0x218)]=_0x508d55,_0x2d422b?_0x2d422b==null||_0x2d422b[_0x545c03(0x425)]()[_0x545c03(0x3a7)](()=>this[_0x545c03(0x4ea)]()):(this['_logService'][_0x545c03(0x3db)](_0x545c03(0x5a6),_0x545c03(0x4d3)),this[_0x545c03(0x4ea)]());}async[_0x2683e6(0x4ea)](){const _0x1c31a2=_0x2683e6,_0x26db1e=this[_0x1c31a2(0x3ff)][_0x1c31a2(0x277)](_0x1c31a2(0x434)),_0x16f3ce=this[_0x1c31a2(0x3ff)][_0x1c31a2(0x277)]('type');if(!_0x26db1e||!_0x16f3ce){this['_logService'][_0x1c31a2(0x3db)](_0x1c31a2(0x5a6),_0x1c31a2(0x335));return;}switch(Number(_0x16f3ce)){case ie[_0x1c31a2(0x4a1)]:{const _0x5287de=await this[_0x1c31a2(0x5af)](_0x26db1e);this[_0x1c31a2(0x4cb)](_0x5287de);break;}case ie[_0x1c31a2(0x56e)]:{await this[_0x1c31a2(0x521)](_0x26db1e);break;}default:{this[_0x1c31a2(0x577)][_0x1c31a2(0x461)](_0x1c31a2(0x5a6),_0x1c31a2(0x48b));break;}}}async[_0x2683e6(0x4cb)](_0x32082a){const _0x5f4bff=_0x2683e6;await this['_updateSubUnitFromURLParams'](_0x32082a),_0x32082a[_0x5f4bff(0x2d0)]['pipe'](A[_0x5f4bff(0x35f)](this[_0x5f4bff(0x534)]))['subscribe'](_0x523f9f=>{const _0x567aff=_0x5f4bff;_0x523f9f&&this[_0x567aff(0x258)](_0x523f9f);}),this[_0x5f4bff(0x3ff)][_0x5f4bff(0x5b7)][_0x5f4bff(0x36b)](A[_0x5f4bff(0x35f)](this['dispose$']))[_0x5f4bff(0x44d)](()=>this[_0x5f4bff(0x3fe)](_0x32082a));}[_0x2683e6(0x258)](_0x4ec35b,_0xbff459=!0x1){const _0x3b16cc=_0x2683e6,_0x34b927=this[_0x3b16cc(0x3ff)]['getParam']('subunit');_0x4ec35b[_0x3b16cc(0x276)]()!==_0x34b927&&this[_0x3b16cc(0x3ff)][_0x3b16cc(0x2df)](_0x3b16cc(0x590),_0x4ec35b[_0x3b16cc(0x276)](),_0xbff459);}async[_0x2683e6(0x3fe)](_0x2879e1){const _0x4dd02a=_0x2683e6;var _0x46f66e;const _0x297151=this[_0x4dd02a(0x3ff)][_0x4dd02a(0x277)](_0x4dd02a(0x590));if(!_0x297151||!_0x2879e1[_0x4dd02a(0x5ae)](_0x297151)){const _0x4ba558=_0x2879e1[_0x4dd02a(0x260)]()[0x0],_0x1fbeea=_0x2879e1['getSheetBySheetId'](_0x4ba558);if(!_0x1fbeea)return;this[_0x4dd02a(0x258)](_0x1fbeea,!0x0),await this[_0x4dd02a(0x447)][_0x4dd02a(0x511)](k[_0x4dd02a(0x18b)]['id'],{'unitId':_0x2879e1[_0x4dd02a(0x478)](),'subUnitId':_0x4ba558});return;}((_0x46f66e=_0x2879e1[_0x4dd02a(0x399)]())==null?void 0x0:_0x46f66e[_0x4dd02a(0x276)]())!==_0x297151&&await this['_commandService'][_0x4dd02a(0x511)](k[_0x4dd02a(0x18b)]['id'],{'unitId':_0x2879e1[_0x4dd02a(0x478)](),'subUnitId':_0x297151});}async[_0x2683e6(0x5af)](_0x27da65){const _0x3f535d=_0x2683e6;let _0x5dd77a=0x0;const _0x212c8e=await this[_0x3f535d(0x4ee)]['loadOfflineData'](_0x27da65);return _0x212c8e&&(_0x212c8e[_0x3f535d(0x154)]||_0x212c8e[_0x3f535d(0x2a9)]['length']!==0x0)&&(_0x5dd77a=_0x212c8e[_0x3f535d(0x162)]),_0x5dd77a===0x0&&this['_logService'][_0x3f535d(0x3db)](_0x3f535d(0x5a6),_0x3f535d(0x39c)),this[_0x3f535d(0x218)][_0x3f535d(0x4b2)](_0x27da65,_0x5dd77a);}async[_0x2683e6(0x521)](_0xebedc1){const _0x476a0e=_0x2683e6;let _0x2ace33=0x0;const _0x1db113=await this[_0x476a0e(0x4ee)][_0x476a0e(0x27c)](_0xebedc1);return _0x1db113&&(_0x1db113['awaitingChangeset']||_0x1db113['mutations'][_0x476a0e(0x29a)]!==0x0)&&(_0x2ace33=_0x1db113[_0x476a0e(0x162)]),_0x2ace33===0x0&&this[_0x476a0e(0x577)][_0x476a0e(0x3db)](_0x476a0e(0x5a6),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this['_snapshotService']['loadDoc'](_0xebedc1,_0x2ace33);}},exports[_0x2683e6(0x323)]=Ks([Te(0x0,wt),Te(0x1,a['ILogService']),Te(0x2,a[_0x2683e6(0x1d5)]),Te(0x3,a[_0x2683e6(0x22b)](exports[_0x2683e6(0x604)])),Te(0x4,a['Inject'](S[_0x2683e6(0x1d1)])),Te(0x5,a[_0x2683e6(0x23c)]($n[_0x2683e6(0x488)]))],exports[_0x2683e6(0x323)]);function _0x21f6(){const _0x1e1a34=['_context','_heartbeatTimer','_socketMessageSubscription','msCrypto','_getCtorByUniverType','params','IDLE','getMember','_event$','/universer-api/authz','_eventUnsubscribe','getCellPositionByOffset','[CollaborationSessionService]:\x20socket\x20error','_docSkeleton','defs','_labelPosition','uni.network.url-service','permission.title','TOO_MANY_REQUESTS','translate(.97)','href','url(#$1','YUUMI_URL_COL_OUT_OF_RANGE','_createHelper','UNIVER_DOC','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_key','onCommandExecuted','IURLService','react.fragment','#fff','toLowerCase','engine','_logService','getRandomValues','setItem','cmd','_initResize','_data','connection\x20error','_getScale','filter','bind','getCurrentRevOfUnit','textEncoder','csShouldRetryEvent','WebURLService','join','_handleHeartbeatEvent','Rectangle','synced','_nDataBytes','randomBytes','keySize','SerializableCipher','hide','has','IConfigService','subunit','/resources','purple300','enc','_sendHeartbeat','_submitChangeset','MergeInterceptorFactory','round','includes','beginPath','newValue','transformStack\x20failed!','localeService','Decryptor','generateRandomId','CommandType','_ws','9986202feSsWz','div','bottom','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','UNDEFINED','[DataLoaderController]','words','SNAPSHOT_SERVER_URL_KEY','ILogService','DocIMEInputManagerService','getRoom','data','_scheduleHeartbeat','getSheetBySheetId','_loadSheet','_createInitialStateImpl','visibilitychange','_syncEditingCollabCursor','transformRemoteChangeset','BufferedBlockAlgorithm','_onCombEvent','socket$','urlChange$','COLORS','_queuedRemoteChangesets','collab-client.tooltip.reconnect','CollaborationSocketService','_drawRectRange','reconnect','ILocalStorageService','COLLAB_WEB_SOCKET_URL','_getUploadFileURL','LICENSE_IMPORT_SIZE_EXCEEDED','getResourcesRequest','_transformHistoryAndStateStack','UnitSnapshot','reqId','originalMeta','&source=','onTransformChange$','extend','[CollaborationSession]','IUndoRedoService','registerDependencies','ImageUploadStatusType','contains','_minBufferSize','readInt32LE','_undoStacks','csAckEvent','Could\x20not\x20dynamically\x20require\x20\x22','getRelativeToViewportCoord','fromEvent','replace','disposeUnit','_docTransformStateCacheService','fetchThroughInterceptors','_singleActiveUnitService','lib','VIEWPORT_KEY','focused$','TEXT_RANGE_LAYER_INDEX','kdf','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','/allowed','getSheetBlock','SessionStatus','fillStyle','SheetPermissionInitController','unitId','collab-rect-range-','registerHTTPInterceptor','_document','_scheduleClearOtherTimer','CollaborationSession','DOC_RANGE_TYPE','failed\x20to\x20apply\x20missed\x20changesets!','number','Utf8','joinRsp','MSG_FOR_ERROR','ivSize','forwardRef','_collabCursorController','fetching\x20missing\x20changesets\x20from\x20','_clearTimeoutTimer','_collabSessionService','55604QZQcQc','_doCryptBlock','CONNECTOR_DATA_TOO_LARGE','onCommentUpdate','handleInsertCol','randomUUID','/universer-api/comb','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','endRow','_initDependencies','TRANSFORM_CHANGE_OBSERVABLE_TYPE','src','LocalCacheService','_draw','fetchMissingChangesets','_initUnitPermissionChange','createIdentifier','column','attrs','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','AuthzIoHttpService','putCollaborators','Hex','LICENSE_DISTRO_REJECTED','_refRangeService','awaitingChangeset','toString','LICENSE_MAX_UNITS_EXCEEDED','isTransformMutationFailure','INTERNAL_ERROR','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_lockTransition','_hover','365TsRweM','_online','getDeserializedSheetBlock','/rev/','c1Prime','getViewport','rev','OnLineSingle','sigBytes','UNRECOGNIZED','LocalUndoRedoService','_messageService','close$','DocStateChangeManagerService','popstate','_transformPreviousActiveRange','RemoveRowCommandId','connectInjector','getUnitType','onMissedChangesetFetched','url','SetDocZoomRatioOperation','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','toggleOffline','univer-online','with','COMMENT_UPDATE','icon','_waitForHeartbeatResponse','clone','CollaborationSessionService','_hovered','_clearLocalCache','row','push','UNAUTHENTICATED','_reverseMap','getOwnPropertyDescriptor','/unit/','findNodePositionByCharIndex','MemberService','conflict.content','_getCurrentRevision','ImageIoService','on-line-single','onlineStatusTitle','/fetchmissing?from=','SetWorksheetActivateCommand','_getAPIPrefixPath','UserManagerService','parse','split','_applyRemoteChangeset','ONLINE','transformChangesets','_exhaustRemoteChangesetQueue','b64DecodeUnicode','getUnitStatus$','handleIRemoveCol','height','saveImage','_transformUndoRedoStack','fromCharCode','_mode','_imageSourceCache','getRangePointData','handleIRemoveRow','collaboration_new_changeset','_append','max','MD5','_acknowledgedAwaitingChangeset','@univerjs/telemetry','onRemoteAck','_getSnapshotAPIPrefix','_onRemoteRetry','SHA1','ICollaborationSocketService','_saveTaskMap','HttpImport','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_scheduleSaving','RichTextEditingMutation','collabStatus.synced','assignAColorForMemberID','_unitStatus','incrementRevOfUnit','signUrlServerUrl','editingUnit','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','transformMutationsWithChangeset','_cachedData','readAsDataURL','ImageSourceType','delay','_docTransformIMECacheService','_status$','isTransformMutationsWithChangesetFailure','leaveEvent','CHANGESET_REJ','_ENC_XFORM_MODE','_colorIndex','isArray','HELLO','_onRemoteChangeset','_changesetSessionId','_hideTimer','range','YUUMI_RATE_OVER_LIMIT','function','{fileID}','/universer-api/stream/file/upload','RETRY_CONNECTING_MAX_COUNT','collabStatus.notCollab','BehaviorSubject','collabStatus.syncing','decryptBlock','SnapshotService','getMergeData','jsx','cursorInfo','ICommandService','retryConnectingInterval','_http','capture','_createHandler','isInternalEditorID','_remoteChangesetQueue','_process','_docSyncEditingCollabCursorService','top','Shape','RxDisposable','snapshot','[CollaborationState]:\x20apply\x20error!','ITransformService','copyFileMeta','_snapshotServerService','ENSURE_SNAPSHOT_EXECUTION','defineProperty','_commentUpdate$','_selfUnitIDs','sid','collaborators','_backgroundColor','session.will-retry','_socket','file','COLLAB_SUBMIT_CHANGESET_URL_KEY','NO_OTHER_CLIENTS_EDITING','getImage','_getUndoStack','format','IUIPartsService','StreamCipher','Warning','objectType','now','APPLY_REVISION_CONFILICT','getValue','UNIVER_SLIDE','_onUserLeave','reset','black','_textBubble','_collaborationPaused','_toggleOffline','/object/','_clearUndo','startsWith','className','_substituteRedoStack','debounceTime','_initCloseConn','collaMsg','_syncEditingCollabCursorService','UnitEmbedded','DesktopCollaborationStatusDisplayController','substring','_docTransformSelectionsService','patch','min','moveTo','ranges','onReady','fill','_collaborationSessionService','APPLY_PERMISSION_DENIED','_snapshotService','use','state$','getVpScrollXYInfoByPosToVp','handleDeleteRangeMoveLeft','?size=','_fetchMissChangesets','registerBeforeClose','EvpKDF','USERS_ENTER','removeMember','xlink:href','sheetID','_unitID','_clearRedo','SetSelectionsOperation','flatMap','_unitOnClients','_getMergeRange','Inject','_updateLocalCache','mapTo','LIVESHARE_FETCH_OPERATIONS','YUUMI_SUBSCRIPTION_NOT_FOUND','online','name','_nRounds','_renderManagerService','DisposableCollection','SHOULD_CLOSE_CONN','/universer-api/file/{fileID}/sign-url','slice','__esModule','_telemetryInfo','deleteCollaborator','PENDING','Optional','171801abfyJf','@univerjs/sheets-ui','byteLength','enableLocalCache','combineLatest','textRanges','state','SYNCED','_clearScheduledTask','IBeforeCloseService','startColumn','collaboration.closeRoom','restore','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','object','getCollabCursors$','clearTimeout','ISnapshotServerService','OpenSSL','find','clearInterval','fromEventSubject','_cursorShapes','getAncestorScale','concatMap','Tools','finalize','_updateURLWithCurrentState','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','OFFLINE','init','_onConflict','_undoRedoService','onMouseMove','visibilityState','getUnhiddenWorksheets','_throwTelemetryCollaborationNewChangeset','registerRefRange','error$','_beforeCloseService','UPDATE_PERMISSION_OBJ','redoState','decrypt','@univerjs/drawing','dispose','_clearCollaborationTimeoutTimer','_colorAssignService','mixIn','@univerjs/design','mapDocumentTypeToUniverType','getCurrent','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_getDownloadEndpointURL','Error','IPermissionService','_onRemoteRejected','PasswordBasedCipher','getSheetId','getParam','defaultProps','event$','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_onOffline','loadOfflineData','padding','delete','_anchorDot','forEach','awaiting_with_pending','take','LIVESHARE_NEW_HOST','getTime','_revisionService','location','triggerDblclick','_updateLocalCursor','getOwnPropertySymbols','session.connection-failed','_transformUndoredo','_socketReady','Hasher','react.element','addObject','repeat','_userManagerService','red300','_retryCount','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_refreshCollabCursors','_map','revision','@univerjs/engine-formula','@univerjs-pro/collaboration','length','FileId','replaceDocRanges','IImageIoService','FromArray','changesets','_hash','[FetchMissState]','HTTPService','colorChannel1','SUBMIT_CHANGESET','Latin1','endColumn','body','Undefined','mutations','selection','actions','1883787rIVVGf','Workbook','NoPadding','onRendered','transformMutation','_cursors','useObservable','currentColor','7RFSklI','_permissionService','_sessionStatus$','requestParams','requireSession','debounce','getUndoRedoMutationParamsCache','_setupBeforeClosingHandler','setShapeProps','_shapes','HEARTBEAT_TIMEOUT','status$','COLLAB_SUBMIT_CHANGESET_URL','auth.needGotoLoginAlert','_listenToOnlineEvent','_showConflictNotification','labelPosition','_sheetSkeletonManagerService','_resendWithTimeout','AWAITING','Injector','drawWith','[CollaborationSessionService]','_removeCollabCursors','_notificationService','measureText','M0\x200H16V16H0z','_memberService','activeSheet$','_oKey','values','registerComponent','updateOfflineData','HEARTBEAT_INTERVAL_KEY','awaiting','DEFAULT_FILE_NAME','createDecryptor','SetTextSelectionsOperation','isActive','symbol','getOffsetConfig','_removeRoom','&to=','setParam','rgba(255,\x20255,\x20255,\x200.01)','CHANGESET_ACK','_uiPartsService','Base64','_transitionLocked','[OfflineState]:\x20received\x20acknowledgement.','_onRefRangeChange','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','defIds','getInterceptPoints','onRemoteRej','objectActions','duration','substr','_getLoginPath','fetch_missing','floor','_startSheetCollabCursor','snapshotServerUrl','prototype','COMPRESS_MUTATION_APPLY','headers','[CollaborationUndoRedoService]','conflict','crypto','#FFF','onStateChange','_compressMutationService','reject','_unlockTransition','onSyncEditingCollabCursor','_executeRemoteChangeset','_onLocalMutation','__creator','_removeClearOtherTimer','save','_clearHeartbeatTimer','subUnitId','setCurrentUser','\x0aCurrent:\x20','clear','unshift','isTransformMutationsWithChangesetSuccess','_scene','_resendTimer','CollaborationEntity','memberID','open$','@univerjs/network','UNIVER_PROJECT','1em','_createHmacHelper','create','collabSubmitChangesetUrl','_entityInit$','pushState','_transformService','title','hovered','serializeRangeWithSheet','collabStatus.conflict','unitId\x20is\x20not\x20found','_sessions','LIVESHARE_REQUEST_HOST','currentSkeleton$','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','fillText','DataLoaderController','_cipher','NOT_COLLAB','m2Prime','key','stopTime','getStateCache','origin','saveSheetBlock','ERROR_IMAGE','getTypeOfUnitAdded$','blockSize','onTransformIME','_sender','allowed','result','every','unsubscribe','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_listenToOfflineEvent','handleInsertRangeMoveDown','LIVESHARE_OPERATION','univer-online-status','roomMembers','isEditing','_HTTPService','mode','concat','from','_keyPriorReset','ThresholdInterceptorFactory','UniverInstanceType','_collaborationController','all','Encryptor','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_localeService','update','getSheetObject','roomMembers$','default','_doReset','handleMoveRange','LEAVE','session','TEXT','handleInsertRow','setTimeout','exhaustSavingTask','SNAPSHOT_INVALID_SNAPSHOT','CommentService','collabWebSocketUrl','subscribeEvent','_scheduleTimestamp','_drawAnchor','confirm','Vector2','doc.mutation.rich-text-editing','univer-online-status-title','objects','takeUntil','csRejEvent','[SyncedState]:\x20received\x20acknowledgement.','EffectRefRangId','_waitCount','_onRemoteACK','DocCollaborationEntity','onTransformSelections','hasher','_getSendChangesetTimeout','_config','unload','pipe','arc','_awaitingChangeset','parseProtocolChangeset','_startDocCollabCursor','HEADER_MENU','2009144zIyPwQ','mergeOverrideWithDependencies','onRemoteChangeset','_lastPointer','_schedule','YUUMI_UNABLE_LOAD_URL','_roomMembers','_createInitialState','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_entities','Base','ERROR_IMAGE_TYPE','@univerjs/core','transformStateCache','[PendingState]:\x20received\x20acknowledgement.','SnapshotServerOverHTTPService','distinctUntilChanged','APPLY_NON_SEQUENTIAL_REVISION','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','UniverCollaborationClientPlugin','_startCollaboration','_initEventListeners','_transformStack','USERS_LEAVE','_session','InsertRowCommandId','infoRsp','roomInfos','font','roles','JOINING','INVALID_ARGUMENT','univerjs-icon\x20univerjs-icon-','_initStatusComponent','?url=','abs','encode','LOCAL_CACHE_INTERVAL','_sendingTimer','APPLY_DUPLICATED','getActiveSheet','offline','transform','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','getCurrentUser','AUTHZ_URL_KEY','_transformStateCache','joinEvent','CompressMutationService','_shouldReportTelemetry','IAuthzIoService','off-line-single_clip0_910_343','socketService','_localStorageService','then','_DEC_XFORM_MODE','_invKeySchedule','63mUvdTG','_assignedColors','backgroundColor','ciphertext','_transformRemoteChangesetByStateCache','_onFetchMissResult','appendMutation','image/jpg','_render','permission.content','getTypeOfUnitDisposed$','salt','_registerRenderDependencies','current','cfg','BuiltInUIPart','ThemeService','override','getUniverSheetInstance','onTransformRemoteChangesetByIMECache','userID','RECT','history','onPointerLeave$','onlineStatus','getCollabEntity','_state','skeleton','_initStatusListener','_onConnectionOpen','uploadFileServerUrl','INGEST','_handleHover','encrypt','Disposable','Unknown\x20user','liveShareNewHost','touchDependencies','Plugin','_configService','_rescheduleHeartbeat','PERMISSION_DENIED','image/png','getSkeleton','CollaborationEvent','_collaborationTimeoutTimer','width','saveOfflineData','NEW_CHANGESETS','debug','ColorKit','transformUndoRedo','CollaborationController','UniverCollaborationPlugin','_replayCachedMutations','_decreaseWaiting','_parse','currentTheme$','close','jiqing500','_type','random','COMPLETION_FINISHED','_injector','storage','createSocket','Tooltip','resolve','merge','reverse','ceil','APPLY_REJECT','json','assign','SEND_CHANGESET_TIMEOUT_KEY','HEARTBEAT_TIMEOUT_KEY','[CollaborationEntity]','byteOffset','getCollabEntity$','_roomMembers$','_docSkeletonManagerService','_httpService','_getSignURL','MUTATION','_updateSubUnitFromURLParams','_urlService','_id','_hasher','_state$','ref','indexOf','hasOwnProperty','isTransformChangesetsSuccess','downloadEndpointUrl','_sendHeartbeatTimer','collabCursorState$','charCodeAt','processBlock','_substituteUndoStack','_doProcessBlock','stringify','next','_prevBlock','UniverIcon','LIVESHARE_TERMINATE','setAlpha','_onCursorDelete','replaceState','encryptBlock','pad','onMissingChangesets','_getAnchorBounding','BlockCipherMode','/universer-api/oidc/authpage','UNKNOWN_CODE','UNIVER_UNKNOWN','clipPath','DeleteRangeMoveUpCommandId','image/jpeg','c2Prime','getCurrentSelections','url(#off-line-single_clip0_910_343)','switchMap','whenReady','JOIN','disposeWithMe','_getRedoStack','_range','VIEW_MAIN','_iv','compute','univer-pro.collaboration-client.single-active-unit-service','_docStateChangeManagerService','setConfig','_handleEvent','_handleJoinEvent','AES','_change$','unit','UNKNOWN_CMD','exports','SheetCollabCursorShape','complete','docStateChange$','deepClone','editing\x20status\x20changed\x20to','_updateStatus','RefRangeService','isPermissionRej','addObjects','_sheetTransformSelectionsService','_checkMissing','makeDirty','code','on-line-single_clip0_910_349','fetchMiss','_socketService','_commandService','_cursor','cursorInfo$','type','put','@univerjs/sheets','subscribe','FAIL','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_clearOtherTimers','getImageSourceCache','getFocusedUnit','routeKey','toDisposable','MessageType','onRemoteRetry','withCredentials','onTransformState','startRow','_incrementRevisionNumber','_univerInstanceService','_handleLeaveEvent','_disabled','InsertRangeMoveRightCommandId','workbook','resize','error','x-univer-host','newCsEvent','FETCH_MISSING','hostname','@univerjs/ui','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','IUniverInstanceService','NOT_FOUND','transformSelections','DocSkeletonManagerService','_onRecvEvent','shouldCloseConn','toggleOnline','set','UPDATE_CURSOR','ACTIVE_UNIT_EVENT_CHANNEL','HMAC','_telemetryService','_handler','interceptor','CONFLICT','eventID','getUnitId','LocaleService','session.room-full','onlineStatusIcon','\x20-\x20','evenodd','status','_changesetReqId','rng','LOGIN_URL_KEY','conflict.title','NodePositionConvertToRectRange','COMPRESS_MUTATION_SEND','idSuffix','iterations','_getSheetObject','IRemoteInstanceService','setInterval','_initCommandExecutedListener','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','Rect','onTransformRemoteChangesetByStateCache','createElement','_transformSelections','lineTo','sheets','message$','tag','add','verdancy600','getConfig','sessionStatus$','fromCollab','updateMember','reduce','ReactCurrentOwner','_disableEditing','commentUpdate$','enableOfflineEditing','_registerDependencies','_tryEnsureSocket','UNIVER_SHEET','MoveRangeCommandId','jsxs','Malformed\x20UTF-8\x20data','_cursorInfo$','formatter','_updateCollabCursors','2521186lIhVRB','unitID','onSendChangeset','_socket$','/collaborator','HEARTBEAT_INTERVAL','send','getUnit','_ensureSubject','sequenceExecute','loadSheet','WebSocketService','size','_getAPIPrefix','0\x200\x2016\x2016','pluginName','_pendingMutations','_isPermissionRej','authzUrl','__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED','closePath','_toggleOnline','syncEditingCollabCursor','SheetCollaborationEntity','createEncryptor','OTHER_CLIENTS_EDITING','getMemberID','method','apply','@univerjs/rpc','blue400','UNIVER_COLLABORATION_CLIENT_PLUGIN','RECV','FETCH_MISS','append','_setupSubUnitSync','svg','splice','_onUserJoin','_candidateSocket','pauseCollaboration','PSEUDO_FETCH_MISSING_RESULT','transformIMECache','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','image/gif','__Key__','_collabCursorState$','createInstance','&assign=','/-/object/-/batch_allowed','_resendTimeout','show','clamp','shareReplay','startTime','resend','_stopTelemetryCollaborationNewChangeset','PERMISSION_REJ','HmacMD5','deserializeToCombResponse','HttpExport','CHANGESET_SHOULD_RETRY','collabStatus.fetchMiss','collab-text-range-','createCollaborator','enableSingleActiveInstanceLock','_init','_initRequestHeader','_keySchedule','_onCursorUpdate','_localCacheService','react','throttleTime','_tryReconnect','asObservable','_retryConnectingTimer','WorkbookEditablePermission','RevisionService','searchParams','InsertSheetMutation','SNAPSHOT_URL_KEY','getRenderById','pending','_transformIMECache','addEventListener','closeSession','charAt','SEND_CHANGESET_TIMEOUT','getDocRanges','_onConnectionFailed','_xformMode','undoState','_transformRemoteChangesetByIMECache','_onJoinRoomEvent','[PendingState]:\x20received\x20rejection.','unknown','_getSaveTimeout','IMessageService','_replaceFileID','selections','encodeURIComponent','children','_themeService','objectID','gold400','executeCommand','_color','12259630NIayvE','EmptyMutation','m1Prime','string','UniverNetworkPlugin','_initMergeInterceptor','0\x200\x2017\x2016','disableLocalCache','Subject','members','_members','_timeoutTimer','RegularPolygon','_drawTextRange','_loadDoc','baseRev','InsertRangeMoveDownCommandId','updatePermissionPoint','runRefRangeMutations','algo','_joinRoom','displayName','action','target','loginUrlKey','Error\x20on\x20receiving\x20event','InsertColCommandId','CollaborationStatus','color','HEARTBEAT','[UniverCollaborationClientPlugin]','Univer','removeParam','dispose$','addImageSourceCache','CHANGESET_REVISION_CONFILICT','_redoStacks','map','_name','sheetId','WordArray','path','/block/','DocSelectionManagerService','_anchor','execute','resourceIDs','univer-offline','propertyIsEnumerable','_saveCache','univer-pro.collaboration-client-socket-service','ALREADY_EXISTS','setWaitCount','entries','_send','call','LICENSE_EXPORT_SIZE_EXCEEDED','liveShareOperation','_updateState','useRef','SNAPSHOT_HAS_BEEN_REMOVED','SheetsSelectionsService','post','getColor','get','Cipher','@univerjs/engine-render'];_0x21f6=function(){return _0x1e1a34;};return _0x21f6();}var qs=Object[_0x2683e6(0x1e7)],zs=Object[_0x2683e6(0x181)],Xs=(_0x470475,_0x85c71a,_0x98c4d7,_0x367b70)=>{const _0x53a59f=_0x2683e6;for(var _0x31656b=_0x367b70>0x1?void 0x0:_0x367b70?zs(_0x85c71a,_0x98c4d7):_0x85c71a,_0x145aa3=_0x470475[_0x53a59f(0x29a)]-0x1,_0x193c67;_0x145aa3>=0x0;_0x145aa3--)(_0x193c67=_0x470475[_0x145aa3])&&(_0x31656b=(_0x367b70?_0x193c67(_0x85c71a,_0x98c4d7,_0x31656b):_0x193c67(_0x31656b))||_0x31656b);return _0x367b70&&_0x31656b&&qs(_0x85c71a,_0x98c4d7,_0x31656b),_0x31656b;},kt=(_0x4db9e4,_0x3b947b)=>(_0x1e429e,_0x40d2ca)=>_0x3b947b(_0x1e429e,_0x40d2ca,_0x4db9e4);const Js=_0x2683e6(0x2d7),Zs=_0x2683e6(0x532);let Ve=class extends a[_0x2683e6(0x3cc)]{constructor(_0x48d83a,_0x106136){const _0x1eea49=_0x2683e6;super(),this[_0x1eea49(0x45b)]=_0x48d83a,this['_configService']=_0x106136,this[_0x1eea49(0x4ea)]();}[_0x2683e6(0x4ea)](){const _0x58db44=_0x2683e6;this[_0x58db44(0x427)](this[_0x58db44(0x45b)][_0x58db44(0x5dd)][_0x58db44(0x44d)](()=>{const _0x24f977=_0x58db44;var _0x595189;const _0x465e9d=this[_0x24f977(0x45b)][_0x24f977(0x452)]();let _0x4e223a=(_0x595189=this['_configService']['getConfig'](Js))!=null?_0x595189:Zs;_0x465e9d instanceof a[_0x24f977(0x2ad)]&&(_0x4e223a=_0x465e9d[_0x24f977(0x231)]),document[_0x24f977(0x319)]=_0x4e223a;}));}};Ve=Xs([kt(0x0,a[_0x2683e6(0x468)]),kt(0x1,a['IConfigService'])],Ve);var Qs=Object[_0x2683e6(0x1e7)],er=Object[_0x2683e6(0x181)],tr=(_0x4d5f70,_0x1d8c6f,_0xb5b511,_0x55d92f)=>{for(var _0x532b88=_0x55d92f>0x1?void 0x0:_0x55d92f?er(_0x1d8c6f,_0xb5b511):_0x1d8c6f,_0xc8e3d2=_0x4d5f70['length']-0x1,_0x4e147d;_0xc8e3d2>=0x0;_0xc8e3d2--)(_0x4e147d=_0x4d5f70[_0xc8e3d2])&&(_0x532b88=(_0x55d92f?_0x4e147d(_0x1d8c6f,_0xb5b511,_0x532b88):_0x4e147d(_0x532b88))||_0x532b88);return _0x55d92f&&_0x532b88&&Qs(_0x1d8c6f,_0xb5b511,_0x532b88),_0x532b88;},at=(_0x3fb467,_0x15c9eb)=>(_0x5d857d,_0x2eb63c)=>_0x15c9eb(_0x5d857d,_0x2eb63c,_0x3fb467);let Ge=class{constructor(_0x26728b,_0x13896,_0x456144){const _0x59abd7=_0x2683e6;this[_0x59abd7(0x3d1)]=_0x26728b,this[_0x59abd7(0x3fb)]=_0x13896,this[_0x59abd7(0x59c)]=_0x456144,this[_0x59abd7(0x25b)]();}[_0x2683e6(0x25b)](){const _0x5480fa=_0x2683e6;this[_0x5480fa(0x3fb)][_0x5480fa(0x5e8)]({'priority':0x1,'interceptor':(_0xeff59d,_0x46cc0c)=>_0x46cc0c(_0xeff59d)[_0x5480fa(0x36b)](A[_0x5480fa(0x255)](async _0x5ad0d7=>{const _0x4abe8f=_0x5480fa,_0x313a58=_0x5ad0d7;if(_0x313a58[_0x4abe8f(0x47e)]===0x191&&window[_0x4abe8f(0x35a)](this['localeService']['t'](_0x4abe8f(0x2c1)))){const _0x278785=window[_0x4abe8f(0x50c)](window[_0x4abe8f(0x286)][_0x4abe8f(0x56a)]);window[_0x4abe8f(0x286)]['href']=this[_0x4abe8f(0x2ee)]()+_0x4abe8f(0x393)+_0x278785;}return _0x313a58;}))});}[_0x2683e6(0x2ee)](){const _0x4d2b7b=_0x2683e6;var _0x336948,_0xb052aa;const _0xad4247=this[_0x4d2b7b(0x3d1)][_0x4d2b7b(0x496)](an),_0x3491bf=this[_0x4d2b7b(0x3d1)][_0x4d2b7b(0x496)](te);return(_0xb052aa=(_0x336948=_0x3491bf==null?void 0x0:_0x3491bf[_0x4d2b7b(0x52b)])!=null?_0x336948:_0xad4247)!=null?_0xb052aa:qn;}};Ge=tr([at(0x0,a[_0x2683e6(0x58f)]),at(0x1,a[_0x2683e6(0x22b)](Z[_0x2683e6(0x2a2)])),at(0x2,a[_0x2683e6(0x22b)](a[_0x2683e6(0x479)]))],Ge);var nr=Object['defineProperty'],ir=Object[_0x2683e6(0x181)],sr=(_0x227066,_0x35c3c2,_0x1ff946,_0x677b04)=>{const _0x5c01cc=_0x2683e6;for(var _0x1a804b=_0x677b04>0x1?void 0x0:_0x677b04?ir(_0x35c3c2,_0x1ff946):_0x35c3c2,_0x13019b=_0x227066[_0x5c01cc(0x29a)]-0x1,_0x3421fc;_0x13019b>=0x0;_0x13019b--)(_0x3421fc=_0x227066[_0x13019b])&&(_0x1a804b=(_0x677b04?_0x3421fc(_0x35c3c2,_0x1ff946,_0x1a804b):_0x3421fc(_0x1a804b))||_0x1a804b);return _0x677b04&&_0x1a804b&&nr(_0x35c3c2,_0x1ff946,_0x1a804b),_0x1a804b;},Wt=(_0x2a06dc,_0x304237)=>(_0x5203c7,_0x2de8c6)=>_0x304237(_0x5203c7,_0x2de8c6,_0x2a06dc);const Rn='AUTHZ_URL_KEY',rr=_0x2683e6(0x55f);exports[_0x2683e6(0x14f)]=class extends a[_0x2683e6(0x3cc)]{constructor(_0x16ed80,_0x12a07a){const _0x365129=_0x2683e6;super(),this[_0x365129(0x33c)]=_0x16ed80,this[_0x365129(0x3d1)]=_0x12a07a,this[_0x365129(0x518)]();}[_0x2683e6(0x518)](){const _0x206c91=_0x2683e6,_0x4d7e50=this;this[_0x206c91(0x427)](this[_0x206c91(0x33c)][_0x206c91(0x5e8)]({'priority':0x3e7,'interceptor':Z[_0x206c91(0x596)]({'isMatch'(_0x10e8c0){const _0x2e9163=_0x206c91;var _0x4065b6;if(_0x10e8c0[_0x2e9163(0x4c3)]==='POST'&&((_0x4065b6=_0x10e8c0[_0x2e9163(0x2b7)])!=null&&_0x4065b6[_0x2e9163(0x2a7)])){const {objectID:_0x2ec493,objectType:_0x540dcf}=_0x10e8c0['requestParams']['body']||{};if(!_0x2ec493||_0x540dcf===void 0x0)return!0x1;const _0x4f59f2=_0x4d7e50[_0x2e9163(0x18c)]()+'/'+_0x540dcf+_0x2e9163(0x203)+_0x2ec493+_0x2e9163(0x5e1);if(_0x10e8c0[_0x2e9163(0x170)]===_0x4f59f2)return!0x0;}return!0x1;},'getParamsFromRequest'(_0xac8725){const _0x3d379a=_0x206c91;var _0x797863;return(_0x797863=_0xac8725['requestParams'])==null?void 0x0:_0x797863[_0x3d379a(0x2a7)];},'mergeParamsToRequest'(_0x1e220a,_0x1abffa){const _0x589101=_0x206c91,_0x3acc4e=_0x4d7e50['_getAPIPrefixPath']()+_0x589101(0x4d9),_0x2fdb6f=_0x1e220a[_0x589101(0x49a)]((_0x405b17,_0x453669)=>{const _0x3a9b8a=_0x589101,{unitID:_0x43ced4,objectID:_0x3d0197,objectType:_0x190cef,actions:_0x33ed76}=_0x453669;return _0x405b17[_0x43ced4]||(_0x405b17[_0x43ced4]={}),_0x405b17[_0x43ced4][_0x3d0197]||(_0x405b17[_0x43ced4][_0x3d0197]={'objectID':_0x3d0197,'objectType':_0x190cef,'actions':[]}),_0x405b17[_0x43ced4][_0x3d0197][_0x3a9b8a(0x2ab)][_0x3a9b8a(0x17e)](..._0x33ed76),_0x405b17;},{}),_0x1e9f9c=[];for(const _0x7f8f21 in _0x2fdb6f)for(const _0x4e12d7 in _0x2fdb6f[_0x7f8f21]){const {actions:_0x5c437d,objectType:_0x3aabe6}=_0x2fdb6f[_0x7f8f21][_0x4e12d7],_0xff3eb6=[...new Set(_0x5c437d)];_0x1e9f9c[_0x589101(0x17e)]({'unitID':_0x7f8f21,'objectID':_0x4e12d7,'objectType':_0x3aabe6,'actions':_0xff3eb6});}return new Z['HTTPRequest']('POST',_0x3acc4e,{'headers':_0x1abffa['headers'],'withCredentials':_0x1abffa[_0x589101(0x457)],'responseType':_0x1abffa['responseType'],'body':{'requests':_0x1e9f9c}});}},{'distributeResult'(_0x8fdb87,_0x5d4e2b){const _0x14d552=_0x206c91,{objectActions:_0x1c55ec}=_0x8fdb87;return _0x5d4e2b[_0x14d552(0x538)](_0xe20b62=>{const _0x2ac0ec=_0x14d552,{unitID:_0x2cbb92,objectID:_0x4ab3f1,actions:_0x2a72a6}=_0xe20b62,_0x193dde=_0x1c55ec[_0x2ac0ec(0x250)](_0x3336d7=>_0x3336d7[_0x2ac0ec(0x4a9)]===_0x2cbb92&&_0x3336d7['objectID']===_0x4ab3f1),_0xdb849b=_0x2a72a6['map'](_0x3a373f=>_0x193dde==null?void 0x0:_0x193dde[_0x2ac0ec(0x2ab)][_0x2ac0ec(0x250)](_0x20a80c=>_0x20a80c[_0x2ac0ec(0x529)]===_0x3a373f))[_0x2ac0ec(0x57f)](_0x3751ac=>!!_0x3751ac);return{'config':_0xe20b62,'result':{'actions':_0xdb849b,'error':_0x8fdb87[_0x2ac0ec(0x461)]}};});}})}));}[_0x2683e6(0x18c)](){const _0x12f63d=_0x2683e6;var _0x5b8c44,_0x3d6377;const _0xb6c961=this['_configService'][_0x12f63d(0x496)](Rn),_0x4bbe2d=this[_0x12f63d(0x3d1)][_0x12f63d(0x496)](te);return(_0x3d6377=(_0x5b8c44=_0x4bbe2d==null?void 0x0:_0x4bbe2d[_0x12f63d(0x4ba)])!=null?_0x5b8c44:_0xb6c961)!=null?_0x3d6377:rr;}async['create'](_0x344be4){const _0x43e2ae=_0x2683e6,_0x8c5dc9=this[_0x43e2ae(0x18c)]()+'/'+_0x344be4[_0x43e2ae(0x1f8)]+'/object';return(await this[_0x43e2ae(0x33c)][_0x43e2ae(0x551)](_0x8c5dc9,{'body':_0x344be4}))[_0x43e2ae(0x2a7)]['objectID']||'';}async['list'](_0x95882c){const _0x6fb1db=_0x2683e6,_0x3d305c=this['_getAPIPrefixPath']()+'/-/object/list';return(await this[_0x6fb1db(0x33c)][_0x6fb1db(0x551)](_0x3d305c,{'body':_0x95882c}))[_0x6fb1db(0x2a7)][_0x6fb1db(0x35e)];}async['update'](_0xcc866f){const _0x38dc77=_0x2683e6,_0x332afa=this[_0x38dc77(0x18c)]()+'/'+_0xcc866f['objectType']+_0x38dc77(0x203)+_0xcc866f[_0x38dc77(0x50f)];await this[_0x38dc77(0x33c)][_0x38dc77(0x44b)](_0x332afa,{'body':_0xcc866f});}async[_0x2683e6(0x331)](_0x268050){const _0x49e3f0=_0x2683e6,_0x3f6b62=this[_0x49e3f0(0x18c)]()+'/'+_0x268050['objectType']+'/object/'+_0x268050[_0x49e3f0(0x50f)]+_0x49e3f0(0x5e1);return(await this[_0x49e3f0(0x33c)][_0x49e3f0(0x551)](_0x3f6b62,{'body':_0x268050}))[_0x49e3f0(0x2a7)][_0x49e3f0(0x2ab)];}async['batchAllowed'](_0x4dbdd4){const _0x4843a4=_0x2683e6,_0x44a2be=this[_0x4843a4(0x18c)]()+'/-/object/-/batch_allowed';return(await this[_0x4843a4(0x33c)][_0x4843a4(0x551)](_0x44a2be,{'body':{'requests':_0x4dbdd4}}))[_0x4843a4(0x2a7)][_0x4843a4(0x2eb)];}async['listRoles'](_0x121d71){const _0x38b45c=_0x2683e6,_0x7e7f3d=this[_0x38b45c(0x18c)]()+'/'+_0x121d71[_0x38b45c(0x1f8)]+'/role',_0x344323=await this[_0x38b45c(0x33c)][_0x38b45c(0x551)](_0x7e7f3d,{'body':_0x121d71});return{'roles':_0x344323[_0x38b45c(0x2a7)][_0x38b45c(0x38e)],'actions':_0x344323[_0x38b45c(0x2a7)][_0x38b45c(0x2ab)]};}async[_0x2683e6(0x23a)](_0x23fbed){const _0x58fb36=_0x2683e6,_0x3aa965=this['_getAPIPrefixPath']()+_0x58fb36(0x4ac);await this['_HTTPService'][_0x58fb36(0x27e)](_0x3aa965,{'params':{'collaboratorID':_0x23fbed['collaboratorID'],'objectID':_0x23fbed[_0x58fb36(0x50f)],'unitID':_0x23fbed[_0x58fb36(0x4a9)]}});}async['updateCollaborator'](_0x57e4d0){const _0x4341df=_0x2683e6,_0x39fd8a=this[_0x4341df(0x18c)]()+_0x4341df(0x4ac);await this[_0x4341df(0x33c)][_0x4341df(0x210)](_0x39fd8a,{'body':_0x57e4d0});}async[_0x2683e6(0x4e8)](_0xb46b3d){const _0x559be9=_0x2683e6,_0x2ef252=this['_getAPIPrefixPath']()+_0x559be9(0x4ac);await this[_0x559be9(0x33c)][_0x559be9(0x551)](_0x2ef252,{'body':_0xb46b3d});}async['listCollaborators'](_0x937d35){const _0x443aaa=_0x2683e6,_0x1c3d46=this[_0x443aaa(0x18c)]()+'/collaborator';return(await this[_0x443aaa(0x33c)]['get'](_0x1c3d46,{'params':{'objectID':_0x937d35[_0x443aaa(0x50f)],'unitID':_0x937d35['unitID']}}))['body'][_0x443aaa(0x1eb)];}async[_0x2683e6(0x150)](_0x287b35){const _0x27b861=_0x2683e6,_0x3715e8=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x27b861(0x33c)][_0x27b861(0x44b)](_0x3715e8,{'body':_0x287b35});}},exports[_0x2683e6(0x14f)]=sr([Wt(0x0,a[_0x2683e6(0x22b)](Z[_0x2683e6(0x2a2)])),Wt(0x1,a['Inject'](a[_0x2683e6(0x58f)]))],exports[_0x2683e6(0x14f)]);var yn={'exports':{}};function or(_0x578452){const _0x1710d9=_0x2683e6;throw new Error(_0x1710d9(0x5d3)+_0x578452+_0x1710d9(0x172));}var ct={'exports':{}},Ft;function oe(){const _0x231ea=_0x2683e6;return Ft||(Ft=0x1,function(_0x2cb48e,_0x3cf060){(function(_0xe54c10,_0x3a57db){const _0x25554a=_0x479a;_0x2cb48e[_0x25554a(0x436)]=_0x3a57db();}(X,function(){var _0x52c774=_0x52c774||function(_0x57b94a,_0x1da324){const _0x32be86=_0x479a;var _0xe9df64;if(typeof window<'u'&&window[_0x32be86(0x2f8)]&&(_0xe9df64=window[_0x32be86(0x2f8)]),typeof self<'u'&&self['crypto']&&(_0xe9df64=self[_0x32be86(0x2f8)]),typeof globalThis<'u'&&globalThis[_0x32be86(0x2f8)]&&(_0xe9df64=globalThis[_0x32be86(0x2f8)]),!_0xe9df64&&typeof window<'u'&&window[_0x32be86(0x559)]&&(_0xe9df64=window[_0x32be86(0x559)]),!_0xe9df64&&typeof X<'u'&&X[_0x32be86(0x2f8)]&&(_0xe9df64=X[_0x32be86(0x2f8)]),!_0xe9df64&&typeof or=='function')try{_0xe9df64=require('crypto');}catch{}var _0x494875=function(){const _0x3f0f75=_0x32be86;if(_0xe9df64){if(typeof _0xe9df64['getRandomValues']==_0x3f0f75(0x1c9))try{return _0xe9df64['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0xe9df64[_0x3f0f75(0x58a)]==_0x3f0f75(0x1c9))try{return _0xe9df64[_0x3f0f75(0x58a)](0x4)[_0x3f0f75(0x5d0)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x314c35=Object[_0x32be86(0x314)]||(function(){function _0x4928bd(){}return function(_0x4ec6ca){const _0x5ea5c6=_0x479a;var _0x3cfdfc;return _0x4928bd[_0x5ea5c6(0x2f3)]=_0x4ec6ca,_0x3cfdfc=new _0x4928bd(),_0x4928bd[_0x5ea5c6(0x2f3)]=null,_0x3cfdfc;};}()),_0x12f7d5={},_0x59dc96=_0x12f7d5['lib']={},_0x3b5bc9=_0x59dc96['Base']=(function(){return{'extend':function(_0x8b820a){const _0x37c7d4=_0x479a;var _0x5f2d83=_0x314c35(this);return _0x8b820a&&_0x5f2d83[_0x37c7d4(0x26c)](_0x8b820a),(!_0x5f2d83[_0x37c7d4(0x405)]('init')||this[_0x37c7d4(0x25b)]===_0x5f2d83[_0x37c7d4(0x25b)])&&(_0x5f2d83[_0x37c7d4(0x25b)]=function(){const _0x2f1f93=_0x37c7d4;_0x5f2d83['$super']['init'][_0x2f1f93(0x4c4)](this,arguments);}),_0x5f2d83[_0x37c7d4(0x25b)][_0x37c7d4(0x2f3)]=_0x5f2d83,_0x5f2d83['$super']=this,_0x5f2d83;},'create':function(){const _0x28df1f=_0x479a;var _0x52fb58=this[_0x28df1f(0x5c9)]();return _0x52fb58[_0x28df1f(0x25b)][_0x28df1f(0x4c4)](_0x52fb58,arguments),_0x52fb58;},'init':function(){},'mixIn':function(_0x54e93f){const _0x3058a9=_0x479a;for(var _0x1c8bc3 in _0x54e93f)_0x54e93f['hasOwnProperty'](_0x1c8bc3)&&(this[_0x1c8bc3]=_0x54e93f[_0x1c8bc3]);_0x54e93f[_0x3058a9(0x405)](_0x3058a9(0x155))&&(this[_0x3058a9(0x155)]=_0x54e93f[_0x3058a9(0x155)]);},'clone':function(){const _0x589313=_0x479a;return this['init'][_0x589313(0x2f3)]['extend'](this);}};}()),_0x2191f0=_0x59dc96[_0x32be86(0x53b)]=_0x3b5bc9[_0x32be86(0x5c9)]({'init':function(_0x533b96,_0x44b7f9){const _0x3e673b=_0x32be86;_0x533b96=this[_0x3e673b(0x5a7)]=_0x533b96||[],_0x44b7f9!=_0x1da324?this[_0x3e673b(0x164)]=_0x44b7f9:this['sigBytes']=_0x533b96[_0x3e673b(0x29a)]*0x4;},'toString':function(_0x668ce3){const _0x17c2c7=_0x32be86;return(_0x668ce3||_0x3b325b)[_0x17c2c7(0x40e)](this);},'concat':function(_0x4ac70d){const _0x132585=_0x32be86;var _0x216e0c=this[_0x132585(0x5a7)],_0x348449=_0x4ac70d[_0x132585(0x5a7)],_0x99ee56=this[_0x132585(0x164)],_0x2ccee6=_0x4ac70d['sigBytes'];if(this[_0x132585(0x4dc)](),_0x99ee56%0x4)for(var _0x19cc5e=0x0;_0x19cc5e<_0x2ccee6;_0x19cc5e++){var _0x2861f0=_0x348449[_0x19cc5e>>>0x2]>>>0x18-_0x19cc5e%0x4*0x8&0xff;_0x216e0c[_0x99ee56+_0x19cc5e>>>0x2]|=_0x2861f0<<0x18-(_0x99ee56+_0x19cc5e)%0x4*0x8;}else{for(var _0x17d1a3=0x0;_0x17d1a3<_0x2ccee6;_0x17d1a3+=0x4)_0x216e0c[_0x99ee56+_0x17d1a3>>>0x2]=_0x348449[_0x17d1a3>>>0x2];}return this[_0x132585(0x164)]+=_0x2ccee6,this;},'clamp':function(){const _0x15fcae=_0x32be86;var _0x18f8a4=this[_0x15fcae(0x5a7)],_0x5d5788=this[_0x15fcae(0x164)];_0x18f8a4[_0x5d5788>>>0x2]&=0xffffffff<<0x20-_0x5d5788%0x4*0x8,_0x18f8a4['length']=_0x57b94a['ceil'](_0x5d5788/0x4);},'clone':function(){const _0x4bbd2a=_0x32be86;var _0x4e370=_0x3b5bc9[_0x4bbd2a(0x179)][_0x4bbd2a(0x54a)](this);return _0x4e370[_0x4bbd2a(0x5a7)]=this[_0x4bbd2a(0x5a7)][_0x4bbd2a(0x237)](0x0),_0x4e370;},'random':function(_0x4f6815){const _0x48d34c=_0x32be86;for(var _0xc24d80=[],_0x1e4ce6=0x0;_0x1e4ce6<_0x4f6815;_0x1e4ce6+=0x4)_0xc24d80[_0x48d34c(0x17e)](_0x494875());return new _0x2191f0[(_0x48d34c(0x25b))](_0xc24d80,_0x4f6815);}}),_0x46c780=_0x12f7d5[_0x32be86(0x593)]={},_0x3b325b=_0x46c780[_0x32be86(0x151)]={'stringify':function(_0x469231){const _0x53206e=_0x32be86;for(var _0x17d309=_0x469231[_0x53206e(0x5a7)],_0x2ff19b=_0x469231[_0x53206e(0x164)],_0x2ebfc4=[],_0x22ac7d=0x0;_0x22ac7d<_0x2ff19b;_0x22ac7d++){var _0x43f8c4=_0x17d309[_0x22ac7d>>>0x2]>>>0x18-_0x22ac7d%0x4*0x8&0xff;_0x2ebfc4[_0x53206e(0x17e)]((_0x43f8c4>>>0x4)[_0x53206e(0x155)](0x10)),_0x2ebfc4[_0x53206e(0x17e)]((_0x43f8c4&0xf)['toString'](0x10));}return _0x2ebfc4['join']('');},'parse':function(_0x304b1d){const _0x35b226=_0x32be86;for(var _0x411717=_0x304b1d['length'],_0x502934=[],_0x5893ea=0x0;_0x5893ea<_0x411717;_0x5893ea+=0x2)_0x502934[_0x5893ea>>>0x3]|=parseInt(_0x304b1d[_0x35b226(0x2ed)](_0x5893ea,0x2),0x10)<<0x18-_0x5893ea%0x8*0x4;return new _0x2191f0[(_0x35b226(0x25b))](_0x502934,_0x411717/0x2);}},_0x5205b3=_0x46c780[_0x32be86(0x2a5)]={'stringify':function(_0x2b76d2){const _0x48bd61=_0x32be86;for(var _0xdab156=_0x2b76d2[_0x48bd61(0x5a7)],_0x32b332=_0x2b76d2['sigBytes'],_0xbc5882=[],_0x7873d6=0x0;_0x7873d6<_0x32b332;_0x7873d6++){var _0x578bc5=_0xdab156[_0x7873d6>>>0x2]>>>0x18-_0x7873d6%0x4*0x8&0xff;_0xbc5882[_0x48bd61(0x17e)](String['fromCharCode'](_0x578bc5));}return _0xbc5882[_0x48bd61(0x585)]('');},'parse':function(_0x1dd8df){const _0x58fa52=_0x32be86;for(var _0x1e23d4=_0x1dd8df[_0x58fa52(0x29a)],_0x16bc9e=[],_0x2cde09=0x0;_0x2cde09<_0x1e23d4;_0x2cde09++)_0x16bc9e[_0x2cde09>>>0x2]|=(_0x1dd8df[_0x58fa52(0x40a)](_0x2cde09)&0xff)<<0x18-_0x2cde09%0x4*0x8;return new _0x2191f0[(_0x58fa52(0x25b))](_0x16bc9e,_0x1e23d4);}},_0x5305d4=_0x46c780[_0x32be86(0x5ef)]={'stringify':function(_0x438b96){const _0x49d766=_0x32be86;try{return decodeURIComponent(escape(_0x5205b3[_0x49d766(0x40e)](_0x438b96)));}catch{throw new Error(_0x49d766(0x4a4));}},'parse':function(_0x5dd3d6){const _0x42caf0=_0x32be86;return _0x5205b3[_0x42caf0(0x18e)](unescape(encodeURIComponent(_0x5dd3d6)));}},_0x373dcf=_0x59dc96[_0x32be86(0x5b4)]=_0x3b5bc9[_0x32be86(0x5c9)]({'reset':function(){const _0x553328=_0x32be86;this[_0x553328(0x57c)]=new _0x2191f0[(_0x553328(0x25b))](),this[_0x553328(0x589)]=0x0;},'_append':function(_0x52781b){const _0x2b67f8=_0x32be86;typeof _0x52781b==_0x2b67f8(0x516)&&(_0x52781b=_0x5305d4[_0x2b67f8(0x18e)](_0x52781b)),this[_0x2b67f8(0x57c)][_0x2b67f8(0x33e)](_0x52781b),this[_0x2b67f8(0x589)]+=_0x52781b['sigBytes'];},'_process':function(_0x429265){const _0x3789bb=_0x32be86;var _0x1ff729,_0x350159=this[_0x3789bb(0x57c)],_0x35248a=_0x350159[_0x3789bb(0x5a7)],_0x1b650b=_0x350159[_0x3789bb(0x164)],_0x2f13b6=this['blockSize'],_0x2c1669=_0x2f13b6*0x4,_0x226f19=_0x1b650b/_0x2c1669;_0x429265?_0x226f19=_0x57b94a[_0x3789bb(0x3f0)](_0x226f19):_0x226f19=_0x57b94a[_0x3789bb(0x1a1)]((_0x226f19|0x0)-this['_minBufferSize'],0x0);var _0x31b8b2=_0x226f19*_0x2f13b6,_0x5740eb=_0x57b94a[_0x3789bb(0x211)](_0x31b8b2*0x4,_0x1b650b);if(_0x31b8b2){for(var _0x5f11ce=0x0;_0x5f11ce<_0x31b8b2;_0x5f11ce+=_0x2f13b6)this[_0x3789bb(0x40d)](_0x35248a,_0x5f11ce);_0x1ff729=_0x35248a[_0x3789bb(0x4cd)](0x0,_0x31b8b2),_0x350159[_0x3789bb(0x164)]-=_0x5740eb;}return new _0x2191f0[(_0x3789bb(0x25b))](_0x1ff729,_0x5740eb);},'clone':function(){const _0x6e3ff3=_0x32be86;var _0x568405=_0x3b5bc9['clone'][_0x6e3ff3(0x54a)](this);return _0x568405[_0x6e3ff3(0x57c)]=this[_0x6e3ff3(0x57c)][_0x6e3ff3(0x179)](),_0x568405;},'_minBufferSize':0x0});_0x59dc96[_0x32be86(0x28d)]=_0x373dcf[_0x32be86(0x5c9)]({'cfg':_0x3b5bc9[_0x32be86(0x5c9)](),'init':function(_0x493e74){const _0x24e891=_0x32be86;this[_0x24e891(0x3b8)]=this['cfg']['extend'](_0x493e74),this[_0x24e891(0x1fe)]();},'reset':function(){const _0x124f58=_0x32be86;_0x373dcf['reset'][_0x124f58(0x54a)](this),this[_0x124f58(0x34c)]();},'update':function(_0x9394c2){const _0x2bcfbe=_0x32be86;return this[_0x2bcfbe(0x1a0)](_0x9394c2),this[_0x2bcfbe(0x1dc)](),this;},'finalize':function(_0x395e59){const _0x83000e=_0x32be86;_0x395e59&&this[_0x83000e(0x1a0)](_0x395e59);var _0x176b7f=this['_doFinalize']();return _0x176b7f;},'blockSize':0x10,'_createHelper':function(_0x3449ac){return function(_0xdf4c74,_0x29289a){const _0x3bbe18=_0x479a;return new _0x3449ac['init'](_0x29289a)[_0x3bbe18(0x257)](_0xdf4c74);};},'_createHmacHelper':function(_0x466f0c){return function(_0x410d35,_0x16ccd4){const _0x1b374d=_0x479a;return new _0x248868[(_0x1b374d(0x472))][(_0x1b374d(0x25b))](_0x466f0c,_0x16ccd4)['finalize'](_0x410d35);};}});var _0x248868=_0x12f7d5[_0x32be86(0x526)]={};return _0x12f7d5;}(Math);return _0x52c774;}));}(ct)),ct[_0x231ea(0x436)];}var lt={'exports':{}},Vt;function On(){const _0x4a9ed6=_0x2683e6;return Vt||(Vt=0x1,function(_0x3b9331,_0x110686){(function(_0x57e7d5,_0x579a0c){_0x3b9331['exports']=_0x579a0c(oe());}(X,function(_0x29a185){const _0x324214=_0x479a;return(function(){const _0x2a2698=_0x479a;var _0x7e83ea=_0x29a185,_0xcad5ef=_0x7e83ea['lib'],_0x3ccf2f=_0xcad5ef[_0x2a2698(0x53b)],_0x4ffa3b=_0x7e83ea[_0x2a2698(0x593)];_0x4ffa3b['Base64']={'stringify':function(_0x387163){const _0x6dcc11=_0x2a2698;var _0x118498=_0x387163['words'],_0x263a39=_0x387163['sigBytes'],_0x1ea65b=this[_0x6dcc11(0x296)];_0x387163[_0x6dcc11(0x4dc)]();for(var _0xf328c7=[],_0x4e8d3a=0x0;_0x4e8d3a<_0x263a39;_0x4e8d3a+=0x3)for(var _0x28851b=_0x118498[_0x4e8d3a>>>0x2]>>>0x18-_0x4e8d3a%0x4*0x8&0xff,_0x3dcfbe=_0x118498[_0x4e8d3a+0x1>>>0x2]>>>0x18-(_0x4e8d3a+0x1)%0x4*0x8&0xff,_0x32acc0=_0x118498[_0x4e8d3a+0x2>>>0x2]>>>0x18-(_0x4e8d3a+0x2)%0x4*0x8&0xff,_0x36f0a3=_0x28851b<<0x10|_0x3dcfbe<<0x8|_0x32acc0,_0x342f64=0x0;_0x342f64<0x4&&_0x4e8d3a+_0x342f64*0.75<_0x263a39;_0x342f64++)_0xf328c7[_0x6dcc11(0x17e)](_0x1ea65b['charAt'](_0x36f0a3>>>0x6*(0x3-_0x342f64)&0x3f));var _0x52f220=_0x1ea65b[_0x6dcc11(0x4fe)](0x40);if(_0x52f220){for(;_0xf328c7[_0x6dcc11(0x29a)]%0x4;)_0xf328c7[_0x6dcc11(0x17e)](_0x52f220);}return _0xf328c7[_0x6dcc11(0x585)]('');},'parse':function(_0x20f14c){const _0x5c1e74=_0x2a2698;var _0x307305=_0x20f14c[_0x5c1e74(0x29a)],_0x10c5f5=this[_0x5c1e74(0x296)],_0x52c14d=this['_reverseMap'];if(!_0x52c14d){_0x52c14d=this[_0x5c1e74(0x180)]=[];for(var _0x94997c=0x0;_0x94997c<_0x10c5f5[_0x5c1e74(0x29a)];_0x94997c++)_0x52c14d[_0x10c5f5['charCodeAt'](_0x94997c)]=_0x94997c;}var _0x6e6574=_0x10c5f5[_0x5c1e74(0x4fe)](0x40);if(_0x6e6574){var _0x3676ba=_0x20f14c[_0x5c1e74(0x404)](_0x6e6574);_0x3676ba!==-0x1&&(_0x307305=_0x3676ba);}return _0x29db1f(_0x20f14c,_0x307305,_0x52c14d);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x29db1f(_0x284d90,_0x46c86f,_0x526dbf){const _0x22c0af=_0x2a2698;for(var _0x2a833c=[],_0x36efd9=0x0,_0x1d9d76=0x0;_0x1d9d76<_0x46c86f;_0x1d9d76++)if(_0x1d9d76%0x4){var _0x1f99e6=_0x526dbf[_0x284d90[_0x22c0af(0x40a)](_0x1d9d76-0x1)]<<_0x1d9d76%0x4*0x2,_0x295bc8=_0x526dbf[_0x284d90['charCodeAt'](_0x1d9d76)]>>>0x6-_0x1d9d76%0x4*0x2,_0x1ad03b=_0x1f99e6|_0x295bc8;_0x2a833c[_0x36efd9>>>0x2]|=_0x1ad03b<<0x18-_0x36efd9%0x4*0x8,_0x36efd9++;}return _0x3ccf2f[_0x22c0af(0x314)](_0x2a833c,_0x36efd9);}}()),_0x29a185[_0x324214(0x593)][_0x324214(0x2e3)];}));}(lt)),lt[_0x4a9ed6(0x436)];}var ht={'exports':{}},Gt;function ar(){return Gt||(Gt=0x1,function(_0x4900a0,_0x1808bc){(function(_0x1f3ad0,_0x2a21e8){_0x4900a0['exports']=_0x2a21e8(oe());}(X,function(_0x6d252a){const _0x21fbb5=_0x479a;return function(_0x4627f4){const _0x42afb6=_0x479a;var _0x55e959=_0x6d252a,_0x45999f=_0x55e959[_0x42afb6(0x5db)],_0xedc35=_0x45999f[_0x42afb6(0x53b)],_0x550fca=_0x45999f[_0x42afb6(0x28d)],_0x333beb=_0x55e959['algo'],_0x56e37c=[];(function(){const _0x277a73=_0x42afb6;for(var _0x1738c5=0x0;_0x1738c5<0x40;_0x1738c5++)_0x56e37c[_0x1738c5]=_0x4627f4[_0x277a73(0x394)](_0x4627f4['sin'](_0x1738c5+0x1))*0x100000000|0x0;}());var _0x4cfe91=_0x333beb[_0x42afb6(0x1a2)]=_0x550fca[_0x42afb6(0x5c9)]({'_doReset':function(){const _0x4302a6=_0x42afb6;this[_0x4302a6(0x2a0)]=new _0xedc35[(_0x4302a6(0x25b))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x11d9c8,_0x2b12df){const _0xaa7565=_0x42afb6;for(var _0x38709a=0x0;_0x38709a<0x10;_0x38709a++){var _0x2281ad=_0x2b12df+_0x38709a,_0x23ab02=_0x11d9c8[_0x2281ad];_0x11d9c8[_0x2281ad]=(_0x23ab02<<0x8|_0x23ab02>>>0x18)&0xff00ff|(_0x23ab02<<0x18|_0x23ab02>>>0x8)&0xff00ff00;}var _0x14cbe9=this[_0xaa7565(0x2a0)]['words'],_0x38f7cf=_0x11d9c8[_0x2b12df+0x0],_0x39c779=_0x11d9c8[_0x2b12df+0x1],_0x2b258b=_0x11d9c8[_0x2b12df+0x2],_0x306568=_0x11d9c8[_0x2b12df+0x3],_0x37ead5=_0x11d9c8[_0x2b12df+0x4],_0x29d98d=_0x11d9c8[_0x2b12df+0x5],_0x23d857=_0x11d9c8[_0x2b12df+0x6],_0xe574f5=_0x11d9c8[_0x2b12df+0x7],_0x176fb7=_0x11d9c8[_0x2b12df+0x8],_0xa80a18=_0x11d9c8[_0x2b12df+0x9],_0x5c8c03=_0x11d9c8[_0x2b12df+0xa],_0x7875d=_0x11d9c8[_0x2b12df+0xb],_0x275278=_0x11d9c8[_0x2b12df+0xc],_0x597472=_0x11d9c8[_0x2b12df+0xd],_0x427913=_0x11d9c8[_0x2b12df+0xe],_0x1dcdeb=_0x11d9c8[_0x2b12df+0xf],_0x5af455=_0x14cbe9[0x0],_0x5caca5=_0x14cbe9[0x1],_0x5b0daf=_0x14cbe9[0x2],_0x542893=_0x14cbe9[0x3];_0x5af455=_0x120380(_0x5af455,_0x5caca5,_0x5b0daf,_0x542893,_0x38f7cf,0x7,_0x56e37c[0x0]),_0x542893=_0x120380(_0x542893,_0x5af455,_0x5caca5,_0x5b0daf,_0x39c779,0xc,_0x56e37c[0x1]),_0x5b0daf=_0x120380(_0x5b0daf,_0x542893,_0x5af455,_0x5caca5,_0x2b258b,0x11,_0x56e37c[0x2]),_0x5caca5=_0x120380(_0x5caca5,_0x5b0daf,_0x542893,_0x5af455,_0x306568,0x16,_0x56e37c[0x3]),_0x5af455=_0x120380(_0x5af455,_0x5caca5,_0x5b0daf,_0x542893,_0x37ead5,0x7,_0x56e37c[0x4]),_0x542893=_0x120380(_0x542893,_0x5af455,_0x5caca5,_0x5b0daf,_0x29d98d,0xc,_0x56e37c[0x5]),_0x5b0daf=_0x120380(_0x5b0daf,_0x542893,_0x5af455,_0x5caca5,_0x23d857,0x11,_0x56e37c[0x6]),_0x5caca5=_0x120380(_0x5caca5,_0x5b0daf,_0x542893,_0x5af455,_0xe574f5,0x16,_0x56e37c[0x7]),_0x5af455=_0x120380(_0x5af455,_0x5caca5,_0x5b0daf,_0x542893,_0x176fb7,0x7,_0x56e37c[0x8]),_0x542893=_0x120380(_0x542893,_0x5af455,_0x5caca5,_0x5b0daf,_0xa80a18,0xc,_0x56e37c[0x9]),_0x5b0daf=_0x120380(_0x5b0daf,_0x542893,_0x5af455,_0x5caca5,_0x5c8c03,0x11,_0x56e37c[0xa]),_0x5caca5=_0x120380(_0x5caca5,_0x5b0daf,_0x542893,_0x5af455,_0x7875d,0x16,_0x56e37c[0xb]),_0x5af455=_0x120380(_0x5af455,_0x5caca5,_0x5b0daf,_0x542893,_0x275278,0x7,_0x56e37c[0xc]),_0x542893=_0x120380(_0x542893,_0x5af455,_0x5caca5,_0x5b0daf,_0x597472,0xc,_0x56e37c[0xd]),_0x5b0daf=_0x120380(_0x5b0daf,_0x542893,_0x5af455,_0x5caca5,_0x427913,0x11,_0x56e37c[0xe]),_0x5caca5=_0x120380(_0x5caca5,_0x5b0daf,_0x542893,_0x5af455,_0x1dcdeb,0x16,_0x56e37c[0xf]),_0x5af455=_0x2d5f25(_0x5af455,_0x5caca5,_0x5b0daf,_0x542893,_0x39c779,0x5,_0x56e37c[0x10]),_0x542893=_0x2d5f25(_0x542893,_0x5af455,_0x5caca5,_0x5b0daf,_0x23d857,0x9,_0x56e37c[0x11]),_0x5b0daf=_0x2d5f25(_0x5b0daf,_0x542893,_0x5af455,_0x5caca5,_0x7875d,0xe,_0x56e37c[0x12]),_0x5caca5=_0x2d5f25(_0x5caca5,_0x5b0daf,_0x542893,_0x5af455,_0x38f7cf,0x14,_0x56e37c[0x13]),_0x5af455=_0x2d5f25(_0x5af455,_0x5caca5,_0x5b0daf,_0x542893,_0x29d98d,0x5,_0x56e37c[0x14]),_0x542893=_0x2d5f25(_0x542893,_0x5af455,_0x5caca5,_0x5b0daf,_0x5c8c03,0x9,_0x56e37c[0x15]),_0x5b0daf=_0x2d5f25(_0x5b0daf,_0x542893,_0x5af455,_0x5caca5,_0x1dcdeb,0xe,_0x56e37c[0x16]),_0x5caca5=_0x2d5f25(_0x5caca5,_0x5b0daf,_0x542893,_0x5af455,_0x37ead5,0x14,_0x56e37c[0x17]),_0x5af455=_0x2d5f25(_0x5af455,_0x5caca5,_0x5b0daf,_0x542893,_0xa80a18,0x5,_0x56e37c[0x18]),_0x542893=_0x2d5f25(_0x542893,_0x5af455,_0x5caca5,_0x5b0daf,_0x427913,0x9,_0x56e37c[0x19]),_0x5b0daf=_0x2d5f25(_0x5b0daf,_0x542893,_0x5af455,_0x5caca5,_0x306568,0xe,_0x56e37c[0x1a]),_0x5caca5=_0x2d5f25(_0x5caca5,_0x5b0daf,_0x542893,_0x5af455,_0x176fb7,0x14,_0x56e37c[0x1b]),_0x5af455=_0x2d5f25(_0x5af455,_0x5caca5,_0x5b0daf,_0x542893,_0x597472,0x5,_0x56e37c[0x1c]),_0x542893=_0x2d5f25(_0x542893,_0x5af455,_0x5caca5,_0x5b0daf,_0x2b258b,0x9,_0x56e37c[0x1d]),_0x5b0daf=_0x2d5f25(_0x5b0daf,_0x542893,_0x5af455,_0x5caca5,_0xe574f5,0xe,_0x56e37c[0x1e]),_0x5caca5=_0x2d5f25(_0x5caca5,_0x5b0daf,_0x542893,_0x5af455,_0x275278,0x14,_0x56e37c[0x1f]),_0x5af455=_0x2e3175(_0x5af455,_0x5caca5,_0x5b0daf,_0x542893,_0x29d98d,0x4,_0x56e37c[0x20]),_0x542893=_0x2e3175(_0x542893,_0x5af455,_0x5caca5,_0x5b0daf,_0x176fb7,0xb,_0x56e37c[0x21]),_0x5b0daf=_0x2e3175(_0x5b0daf,_0x542893,_0x5af455,_0x5caca5,_0x7875d,0x10,_0x56e37c[0x22]),_0x5caca5=_0x2e3175(_0x5caca5,_0x5b0daf,_0x542893,_0x5af455,_0x427913,0x17,_0x56e37c[0x23]),_0x5af455=_0x2e3175(_0x5af455,_0x5caca5,_0x5b0daf,_0x542893,_0x39c779,0x4,_0x56e37c[0x24]),_0x542893=_0x2e3175(_0x542893,_0x5af455,_0x5caca5,_0x5b0daf,_0x37ead5,0xb,_0x56e37c[0x25]),_0x5b0daf=_0x2e3175(_0x5b0daf,_0x542893,_0x5af455,_0x5caca5,_0xe574f5,0x10,_0x56e37c[0x26]),_0x5caca5=_0x2e3175(_0x5caca5,_0x5b0daf,_0x542893,_0x5af455,_0x5c8c03,0x17,_0x56e37c[0x27]),_0x5af455=_0x2e3175(_0x5af455,_0x5caca5,_0x5b0daf,_0x542893,_0x597472,0x4,_0x56e37c[0x28]),_0x542893=_0x2e3175(_0x542893,_0x5af455,_0x5caca5,_0x5b0daf,_0x38f7cf,0xb,_0x56e37c[0x29]),_0x5b0daf=_0x2e3175(_0x5b0daf,_0x542893,_0x5af455,_0x5caca5,_0x306568,0x10,_0x56e37c[0x2a]),_0x5caca5=_0x2e3175(_0x5caca5,_0x5b0daf,_0x542893,_0x5af455,_0x23d857,0x17,_0x56e37c[0x2b]),_0x5af455=_0x2e3175(_0x5af455,_0x5caca5,_0x5b0daf,_0x542893,_0xa80a18,0x4,_0x56e37c[0x2c]),_0x542893=_0x2e3175(_0x542893,_0x5af455,_0x5caca5,_0x5b0daf,_0x275278,0xb,_0x56e37c[0x2d]),_0x5b0daf=_0x2e3175(_0x5b0daf,_0x542893,_0x5af455,_0x5caca5,_0x1dcdeb,0x10,_0x56e37c[0x2e]),_0x5caca5=_0x2e3175(_0x5caca5,_0x5b0daf,_0x542893,_0x5af455,_0x2b258b,0x17,_0x56e37c[0x2f]),_0x5af455=_0x168f4d(_0x5af455,_0x5caca5,_0x5b0daf,_0x542893,_0x38f7cf,0x6,_0x56e37c[0x30]),_0x542893=_0x168f4d(_0x542893,_0x5af455,_0x5caca5,_0x5b0daf,_0xe574f5,0xa,_0x56e37c[0x31]),_0x5b0daf=_0x168f4d(_0x5b0daf,_0x542893,_0x5af455,_0x5caca5,_0x427913,0xf,_0x56e37c[0x32]),_0x5caca5=_0x168f4d(_0x5caca5,_0x5b0daf,_0x542893,_0x5af455,_0x29d98d,0x15,_0x56e37c[0x33]),_0x5af455=_0x168f4d(_0x5af455,_0x5caca5,_0x5b0daf,_0x542893,_0x275278,0x6,_0x56e37c[0x34]),_0x542893=_0x168f4d(_0x542893,_0x5af455,_0x5caca5,_0x5b0daf,_0x306568,0xa,_0x56e37c[0x35]),_0x5b0daf=_0x168f4d(_0x5b0daf,_0x542893,_0x5af455,_0x5caca5,_0x5c8c03,0xf,_0x56e37c[0x36]),_0x5caca5=_0x168f4d(_0x5caca5,_0x5b0daf,_0x542893,_0x5af455,_0x39c779,0x15,_0x56e37c[0x37]),_0x5af455=_0x168f4d(_0x5af455,_0x5caca5,_0x5b0daf,_0x542893,_0x176fb7,0x6,_0x56e37c[0x38]),_0x542893=_0x168f4d(_0x542893,_0x5af455,_0x5caca5,_0x5b0daf,_0x1dcdeb,0xa,_0x56e37c[0x39]),_0x5b0daf=_0x168f4d(_0x5b0daf,_0x542893,_0x5af455,_0x5caca5,_0x23d857,0xf,_0x56e37c[0x3a]),_0x5caca5=_0x168f4d(_0x5caca5,_0x5b0daf,_0x542893,_0x5af455,_0x597472,0x15,_0x56e37c[0x3b]),_0x5af455=_0x168f4d(_0x5af455,_0x5caca5,_0x5b0daf,_0x542893,_0x37ead5,0x6,_0x56e37c[0x3c]),_0x542893=_0x168f4d(_0x542893,_0x5af455,_0x5caca5,_0x5b0daf,_0x7875d,0xa,_0x56e37c[0x3d]),_0x5b0daf=_0x168f4d(_0x5b0daf,_0x542893,_0x5af455,_0x5caca5,_0x2b258b,0xf,_0x56e37c[0x3e]),_0x5caca5=_0x168f4d(_0x5caca5,_0x5b0daf,_0x542893,_0x5af455,_0xa80a18,0x15,_0x56e37c[0x3f]),_0x14cbe9[0x0]=_0x14cbe9[0x0]+_0x5af455|0x0,_0x14cbe9[0x1]=_0x14cbe9[0x1]+_0x5caca5|0x0,_0x14cbe9[0x2]=_0x14cbe9[0x2]+_0x5b0daf|0x0,_0x14cbe9[0x3]=_0x14cbe9[0x3]+_0x542893|0x0;},'_doFinalize':function(){const _0x3cc375=_0x42afb6;var _0x10d44a=this['_data'],_0x1e52e9=_0x10d44a[_0x3cc375(0x5a7)],_0x48e050=this[_0x3cc375(0x589)]*0x8,_0x3541f7=_0x10d44a[_0x3cc375(0x164)]*0x8;_0x1e52e9[_0x3541f7>>>0x5]|=0x80<<0x18-_0x3541f7%0x20;var _0x468c6b=_0x4627f4[_0x3cc375(0x2f0)](_0x48e050/0x100000000),_0x19605b=_0x48e050;_0x1e52e9[(_0x3541f7+0x40>>>0x9<<0x4)+0xf]=(_0x468c6b<<0x8|_0x468c6b>>>0x18)&0xff00ff|(_0x468c6b<<0x18|_0x468c6b>>>0x8)&0xff00ff00,_0x1e52e9[(_0x3541f7+0x40>>>0x9<<0x4)+0xe]=(_0x19605b<<0x8|_0x19605b>>>0x18)&0xff00ff|(_0x19605b<<0x18|_0x19605b>>>0x8)&0xff00ff00,_0x10d44a[_0x3cc375(0x164)]=(_0x1e52e9[_0x3cc375(0x29a)]+0x1)*0x4,this[_0x3cc375(0x1dc)]();for(var _0x1e9ae6=this[_0x3cc375(0x2a0)],_0x580e46=_0x1e9ae6[_0x3cc375(0x5a7)],_0x4903c5=0x0;_0x4903c5<0x4;_0x4903c5++){var _0x3319ca=_0x580e46[_0x4903c5];_0x580e46[_0x4903c5]=(_0x3319ca<<0x8|_0x3319ca>>>0x18)&0xff00ff|(_0x3319ca<<0x18|_0x3319ca>>>0x8)&0xff00ff00;}return _0x1e9ae6;},'clone':function(){const _0x18c931=_0x42afb6;var _0x2fa5f0=_0x550fca['clone']['call'](this);return _0x2fa5f0['_hash']=this[_0x18c931(0x2a0)]['clone'](),_0x2fa5f0;}});function _0x120380(_0x2bdf61,_0x544443,_0x4f92d7,_0x3ecc03,_0x7d5d42,_0x3a402d,_0x1ae915){var _0x1db3d7=_0x2bdf61+(_0x544443&_0x4f92d7|~_0x544443&_0x3ecc03)+_0x7d5d42+_0x1ae915;return(_0x1db3d7<<_0x3a402d|_0x1db3d7>>>0x20-_0x3a402d)+_0x544443;}function _0x2d5f25(_0x5cc645,_0x546e12,_0x538695,_0x573dcc,_0x5698a1,_0x43d668,_0x174cc4){var _0x448806=_0x5cc645+(_0x546e12&_0x573dcc|_0x538695&~_0x573dcc)+_0x5698a1+_0x174cc4;return(_0x448806<<_0x43d668|_0x448806>>>0x20-_0x43d668)+_0x546e12;}function _0x2e3175(_0x12075e,_0x4a468d,_0x25b7be,_0x4dea4a,_0x169ead,_0x14f6cd,_0x5e82bc){var _0x554348=_0x12075e+(_0x4a468d^_0x25b7be^_0x4dea4a)+_0x169ead+_0x5e82bc;return(_0x554348<<_0x14f6cd|_0x554348>>>0x20-_0x14f6cd)+_0x4a468d;}function _0x168f4d(_0x2aac1f,_0x9e0a97,_0x1ef268,_0x576f53,_0x159c62,_0x3b7230,_0x19d1c3){var _0x1f2fb5=_0x2aac1f+(_0x1ef268^(_0x9e0a97|~_0x576f53))+_0x159c62+_0x19d1c3;return(_0x1f2fb5<<_0x3b7230|_0x1f2fb5>>>0x20-_0x3b7230)+_0x9e0a97;}_0x55e959[_0x42afb6(0x1a2)]=_0x550fca[_0x42afb6(0x56d)](_0x4cfe91),_0x55e959[_0x42afb6(0x4e2)]=_0x550fca['_createHmacHelper'](_0x4cfe91);}(Math),_0x6d252a[_0x21fbb5(0x1a2)];}));}(ht)),ht['exports'];}var _t={'exports':{}},ut={'exports':{}},Yt;function cr(){const _0x4ecf57=_0x2683e6;return Yt||(Yt=0x1,function(_0x7f9c8b,_0x431361){(function(_0x40a781,_0xdd202a){const _0x26a25a=_0x479a;_0x7f9c8b[_0x26a25a(0x436)]=_0xdd202a(oe());}(X,function(_0x2f8d7d){const _0x329d77=_0x479a;return(function(){const _0xf5cd16=_0x479a;var _0x3ca42f=_0x2f8d7d,_0xa06027=_0x3ca42f[_0xf5cd16(0x5db)],_0x399bb9=_0xa06027['WordArray'],_0x390400=_0xa06027[_0xf5cd16(0x28d)],_0x5d1d33=_0x3ca42f[_0xf5cd16(0x526)],_0x10bee6=[],_0x547db7=_0x5d1d33[_0xf5cd16(0x1a8)]=_0x390400['extend']({'_doReset':function(){const _0x5c9546=_0xf5cd16;this[_0x5c9546(0x2a0)]=new _0x399bb9[(_0x5c9546(0x25b))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x231fd9,_0x2b23fa){for(var _0x43e2d4=this['_hash']['words'],_0x2295d2=_0x43e2d4[0x0],_0x2c91f1=_0x43e2d4[0x1],_0x5492e9=_0x43e2d4[0x2],_0x13e020=_0x43e2d4[0x3],_0x58132c=_0x43e2d4[0x4],_0x12bdb4=0x0;_0x12bdb4<0x50;_0x12bdb4++){if(_0x12bdb4<0x10)_0x10bee6[_0x12bdb4]=_0x231fd9[_0x2b23fa+_0x12bdb4]|0x0;else{var _0x3e1570=_0x10bee6[_0x12bdb4-0x3]^_0x10bee6[_0x12bdb4-0x8]^_0x10bee6[_0x12bdb4-0xe]^_0x10bee6[_0x12bdb4-0x10];_0x10bee6[_0x12bdb4]=_0x3e1570<<0x1|_0x3e1570>>>0x1f;}var _0x4a8a5e=(_0x2295d2<<0x5|_0x2295d2>>>0x1b)+_0x58132c+_0x10bee6[_0x12bdb4];_0x12bdb4<0x14?_0x4a8a5e+=(_0x2c91f1&_0x5492e9|~_0x2c91f1&_0x13e020)+0x5a827999:_0x12bdb4<0x28?_0x4a8a5e+=(_0x2c91f1^_0x5492e9^_0x13e020)+0x6ed9eba1:_0x12bdb4<0x3c?_0x4a8a5e+=(_0x2c91f1&_0x5492e9|_0x2c91f1&_0x13e020|_0x5492e9&_0x13e020)-0x70e44324:_0x4a8a5e+=(_0x2c91f1^_0x5492e9^_0x13e020)-0x359d3e2a,_0x58132c=_0x13e020,_0x13e020=_0x5492e9,_0x5492e9=_0x2c91f1<<0x1e|_0x2c91f1>>>0x2,_0x2c91f1=_0x2295d2,_0x2295d2=_0x4a8a5e;}_0x43e2d4[0x0]=_0x43e2d4[0x0]+_0x2295d2|0x0,_0x43e2d4[0x1]=_0x43e2d4[0x1]+_0x2c91f1|0x0,_0x43e2d4[0x2]=_0x43e2d4[0x2]+_0x5492e9|0x0,_0x43e2d4[0x3]=_0x43e2d4[0x3]+_0x13e020|0x0,_0x43e2d4[0x4]=_0x43e2d4[0x4]+_0x58132c|0x0;},'_doFinalize':function(){const _0x84c3fa=_0xf5cd16;var _0x2e0f35=this[_0x84c3fa(0x57c)],_0x13efd0=_0x2e0f35[_0x84c3fa(0x5a7)],_0x3f9d40=this[_0x84c3fa(0x589)]*0x8,_0x40d139=_0x2e0f35['sigBytes']*0x8;return _0x13efd0[_0x40d139>>>0x5]|=0x80<<0x18-_0x40d139%0x20,_0x13efd0[(_0x40d139+0x40>>>0x9<<0x4)+0xe]=Math[_0x84c3fa(0x2f0)](_0x3f9d40/0x100000000),_0x13efd0[(_0x40d139+0x40>>>0x9<<0x4)+0xf]=_0x3f9d40,_0x2e0f35[_0x84c3fa(0x164)]=_0x13efd0[_0x84c3fa(0x29a)]*0x4,this[_0x84c3fa(0x1dc)](),this[_0x84c3fa(0x2a0)];},'clone':function(){const _0x3e5053=_0xf5cd16;var _0x341d74=_0x390400[_0x3e5053(0x179)][_0x3e5053(0x54a)](this);return _0x341d74[_0x3e5053(0x2a0)]=this[_0x3e5053(0x2a0)]['clone'](),_0x341d74;}});_0x3ca42f[_0xf5cd16(0x1a8)]=_0x390400[_0xf5cd16(0x56d)](_0x547db7),_0x3ca42f['HmacSHA1']=_0x390400[_0xf5cd16(0x313)](_0x547db7);}()),_0x2f8d7d[_0x329d77(0x1a8)];}));}(ut)),ut[_0x4ecf57(0x436)];}var dt={'exports':{}},Kt;function lr(){const _0x489c66=_0x2683e6;return Kt||(Kt=0x1,function(_0x267b33,_0x1ff3c8){(function(_0x5961e8,_0x480fcf){_0x267b33['exports']=_0x480fcf(oe());}(X,function(_0x5826ba){(function(){const _0x296ef9=_0x479a;var _0x32f72b=_0x5826ba,_0x160b51=_0x32f72b[_0x296ef9(0x5db)],_0x380bf5=_0x160b51[_0x296ef9(0x37b)],_0x22bec9=_0x32f72b[_0x296ef9(0x593)],_0x397683=_0x22bec9[_0x296ef9(0x5ef)],_0xa72f2b=_0x32f72b[_0x296ef9(0x526)];_0xa72f2b['HMAC']=_0x380bf5[_0x296ef9(0x5c9)]({'init':function(_0x1a2ff0,_0x326f55){const _0x53fe2e=_0x296ef9;_0x1a2ff0=this[_0x53fe2e(0x401)]=new _0x1a2ff0['init'](),typeof _0x326f55==_0x53fe2e(0x516)&&(_0x326f55=_0x397683[_0x53fe2e(0x18e)](_0x326f55));var _0x451131=_0x1a2ff0[_0x53fe2e(0x32e)],_0x51d33c=_0x451131*0x4;_0x326f55[_0x53fe2e(0x164)]>_0x51d33c&&(_0x326f55=_0x1a2ff0['finalize'](_0x326f55)),_0x326f55[_0x53fe2e(0x4dc)]();for(var _0x240ef1=this[_0x53fe2e(0x2d1)]=_0x326f55['clone'](),_0x51bb0c=this['_iKey']=_0x326f55['clone'](),_0x3cacaa=_0x240ef1[_0x53fe2e(0x5a7)],_0x3d4562=_0x51bb0c[_0x53fe2e(0x5a7)],_0x3ad60b=0x0;_0x3ad60b<_0x451131;_0x3ad60b++)_0x3cacaa[_0x3ad60b]^=0x5c5c5c5c,_0x3d4562[_0x3ad60b]^=0x36363636;_0x240ef1[_0x53fe2e(0x164)]=_0x51bb0c['sigBytes']=_0x51d33c,this[_0x53fe2e(0x1fe)]();},'reset':function(){const _0xb2504=_0x296ef9;var _0x2d9fb3=this[_0xb2504(0x401)];_0x2d9fb3['reset'](),_0x2d9fb3[_0xb2504(0x348)](this['_iKey']);},'update':function(_0x14a932){const _0x508263=_0x296ef9;return this[_0x508263(0x401)]['update'](_0x14a932),this;},'finalize':function(_0x911ed0){const _0x2c5532=_0x296ef9;var _0x50b1dc=this['_hasher'],_0x55ca02=_0x50b1dc[_0x2c5532(0x257)](_0x911ed0);_0x50b1dc[_0x2c5532(0x1fe)]();var _0x5c2aca=_0x50b1dc[_0x2c5532(0x257)](this[_0x2c5532(0x2d1)][_0x2c5532(0x179)]()[_0x2c5532(0x33e)](_0x55ca02));return _0x5c2aca;}});}());}));}(dt)),dt[_0x489c66(0x436)];}var qt;function Dn(){const _0xe0307e=_0x2683e6;return qt||(qt=0x1,function(_0x2e8424,_0x2b2bee){(function(_0x24c992,_0x15a194,_0x23f1d4){const _0x481793=_0x479a;_0x2e8424[_0x481793(0x436)]=_0x15a194(oe(),cr(),lr());}(X,function(_0x5bac9d){const _0x996a6f=_0x479a;return(function(){const _0x4a5ae9=_0x479a;var _0x4110e9=_0x5bac9d,_0x1f41c9=_0x4110e9[_0x4a5ae9(0x5db)],_0x5d3bc2=_0x1f41c9[_0x4a5ae9(0x37b)],_0x2ff3f6=_0x1f41c9[_0x4a5ae9(0x53b)],_0x141192=_0x4110e9['algo'],_0x3f7d12=_0x141192['MD5'],_0x28b5aa=_0x141192[_0x4a5ae9(0x220)]=_0x5d3bc2['extend']({'cfg':_0x5d3bc2[_0x4a5ae9(0x5c9)]({'keySize':0x80/0x20,'hasher':_0x3f7d12,'iterations':0x1}),'init':function(_0x5b8d14){const _0x14517f=_0x4a5ae9;this[_0x14517f(0x3b8)]=this['cfg'][_0x14517f(0x5c9)](_0x5b8d14);},'compute':function(_0x3cfeaa,_0x3fb05c){const _0x39ec12=_0x4a5ae9;for(var _0x33f4b7,_0x296827=this[_0x39ec12(0x3b8)],_0x342a8d=_0x296827[_0x39ec12(0x367)][_0x39ec12(0x314)](),_0x27e04e=_0x2ff3f6[_0x39ec12(0x314)](),_0x2ed808=_0x27e04e['words'],_0x32b78=_0x296827[_0x39ec12(0x58b)],_0x54f986=_0x296827[_0x39ec12(0x486)];_0x2ed808[_0x39ec12(0x29a)]<_0x32b78;){_0x33f4b7&&_0x342a8d['update'](_0x33f4b7),_0x33f4b7=_0x342a8d['update'](_0x3cfeaa)[_0x39ec12(0x257)](_0x3fb05c),_0x342a8d[_0x39ec12(0x1fe)]();for(var _0x1df788=0x1;_0x1df788<_0x54f986;_0x1df788++)_0x33f4b7=_0x342a8d[_0x39ec12(0x257)](_0x33f4b7),_0x342a8d[_0x39ec12(0x1fe)]();_0x27e04e['concat'](_0x33f4b7);}return _0x27e04e['sigBytes']=_0x32b78*0x4,_0x27e04e;}});_0x4110e9[_0x4a5ae9(0x220)]=function(_0x2f2c45,_0x477761,_0x30b859){const _0x192d5d=_0x4a5ae9;return _0x28b5aa[_0x192d5d(0x314)](_0x30b859)[_0x192d5d(0x42c)](_0x2f2c45,_0x477761);};}()),_0x5bac9d[_0x996a6f(0x220)];}));}(_t)),_t[_0xe0307e(0x436)];}var ft={'exports':{}},zt;function wn(){return zt||(zt=0x1,function(_0x47cbd8,_0x44a1b8){(function(_0x1f276d,_0x41af16,_0x4be521){_0x47cbd8['exports']=_0x41af16(oe(),Dn());}(X,function(_0x5476da){const _0x5c87de=_0x479a;_0x5476da[_0x5c87de(0x5db)][_0x5c87de(0x554)]||function(_0x37d0ed){const _0x1dc471=_0x5c87de;var _0x4d811e=_0x5476da,_0x292cab=_0x4d811e['lib'],_0x8d0367=_0x292cab[_0x1dc471(0x37b)],_0x54c240=_0x292cab['WordArray'],_0x16f753=_0x292cab[_0x1dc471(0x5b4)],_0x1e6203=_0x4d811e[_0x1dc471(0x593)];_0x1e6203['Utf8'];var _0x1fdfd6=_0x1e6203['Base64'],_0xe02e2f=_0x4d811e['algo'],_0x29767f=_0xe02e2f['EvpKDF'],_0x56cb05=_0x292cab[_0x1dc471(0x554)]=_0x16f753['extend']({'cfg':_0x8d0367[_0x1dc471(0x5c9)](),'createEncryptor':function(_0x1e6b0c,_0x6b002b){const _0x4e7e88=_0x1dc471;return this[_0x4e7e88(0x314)](this[_0x4e7e88(0x1c0)],_0x1e6b0c,_0x6b002b);},'createDecryptor':function(_0xff8fda,_0x3a5871){const _0x21cbd5=_0x1dc471;return this[_0x21cbd5(0x314)](this[_0x21cbd5(0x3a8)],_0xff8fda,_0x3a5871);},'init':function(_0x43e050,_0x567aa4,_0x50b6cb){const _0x19a6ff=_0x1dc471;this[_0x19a6ff(0x3b8)]=this[_0x19a6ff(0x3b8)]['extend'](_0x50b6cb),this[_0x19a6ff(0x502)]=_0x43e050,this[_0x19a6ff(0x570)]=_0x567aa4,this[_0x19a6ff(0x1fe)]();},'reset':function(){const _0x1af73a=_0x1dc471;_0x16f753['reset'][_0x1af73a(0x54a)](this),this[_0x1af73a(0x34c)]();},'process':function(_0x166e84){const _0x35172e=_0x1dc471;return this[_0x35172e(0x1a0)](_0x166e84),this[_0x35172e(0x1dc)]();},'finalize':function(_0x84184d){const _0x3fca7d=_0x1dc471;_0x84184d&&this[_0x3fca7d(0x1a0)](_0x84184d);var _0x313ecd=this['_doFinalize']();return _0x313ecd;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x534631(_0x213ec8){const _0x444728=_0x479a;return typeof _0x213ec8==_0x444728(0x516)?_0x397fb7:_0x39e424;}return function(_0x43acca){return{'encrypt':function(_0x62a8c6,_0x30064f,_0x27aa9f){const _0x3747bb=_0x479a;return _0x534631(_0x30064f)[_0x3747bb(0x3cb)](_0x43acca,_0x62a8c6,_0x30064f,_0x27aa9f);},'decrypt':function(_0xaec988,_0x2882bc,_0x70d7ae){return _0x534631(_0x2882bc)['decrypt'](_0x43acca,_0xaec988,_0x2882bc,_0x70d7ae);}};};}())});_0x292cab[_0x1dc471(0x1f6)]=_0x56cb05[_0x1dc471(0x5c9)]({'_doFinalize':function(){const _0x20fac3=_0x1dc471;var _0x27615b=this[_0x20fac3(0x1dc)](!0x0);return _0x27615b;},'blockSize':0x1});var _0x19b434=_0x4d811e[_0x1dc471(0x33d)]={},_0x3f961b=_0x292cab[_0x1dc471(0x41a)]=_0x8d0367[_0x1dc471(0x5c9)]({'createEncryptor':function(_0x40cac6,_0x5d7fb1){const _0xb617e1=_0x1dc471;return this[_0xb617e1(0x345)][_0xb617e1(0x314)](_0x40cac6,_0x5d7fb1);},'createDecryptor':function(_0x39ffca,_0x5266c4){const _0x20d838=_0x1dc471;return this[_0x20d838(0x59d)]['create'](_0x39ffca,_0x5266c4);},'init':function(_0x23c915,_0x3828df){const _0x5d20f1=_0x1dc471;this[_0x5d20f1(0x324)]=_0x23c915,this['_iv']=_0x3828df;}}),_0x4e93d3=_0x19b434['CBC']=(function(){const _0x42809b=_0x1dc471;var _0x5ad3e0=_0x3f961b['extend']();_0x5ad3e0['Encryptor']=_0x5ad3e0[_0x42809b(0x5c9)]({'processBlock':function(_0x5e7ee4,_0x586ae1){const _0x51434a=_0x42809b;var _0x1ca7bd=this[_0x51434a(0x324)],_0x19ee3b=_0x1ca7bd[_0x51434a(0x32e)];_0x1ea559[_0x51434a(0x54a)](this,_0x5e7ee4,_0x586ae1,_0x19ee3b),_0x1ca7bd[_0x51434a(0x416)](_0x5e7ee4,_0x586ae1),this['_prevBlock']=_0x5e7ee4[_0x51434a(0x237)](_0x586ae1,_0x586ae1+_0x19ee3b);}}),_0x5ad3e0['Decryptor']=_0x5ad3e0[_0x42809b(0x5c9)]({'processBlock':function(_0x10d582,_0x406cac){const _0x350db9=_0x42809b;var _0x4c448b=this[_0x350db9(0x324)],_0x488060=_0x4c448b['blockSize'],_0x262d3f=_0x10d582[_0x350db9(0x237)](_0x406cac,_0x406cac+_0x488060);_0x4c448b[_0x350db9(0x1d0)](_0x10d582,_0x406cac),_0x1ea559[_0x350db9(0x54a)](this,_0x10d582,_0x406cac,_0x488060),this[_0x350db9(0x410)]=_0x262d3f;}});function _0x1ea559(_0xe60379,_0x365c10,_0x165482){const _0x431708=_0x42809b;var _0x477471,_0xce98ee=this[_0x431708(0x42b)];_0xce98ee?(_0x477471=_0xce98ee,this['_iv']=_0x37d0ed):_0x477471=this['_prevBlock'];for(var _0xe11190=0x0;_0xe11190<_0x165482;_0xe11190++)_0xe60379[_0x365c10+_0xe11190]^=_0x477471[_0xe11190];}return _0x5ad3e0;}()),_0x29a80b=_0x4d811e[_0x1dc471(0x417)]={},_0x884339=_0x29a80b['Pkcs7']={'pad':function(_0x5e7245,_0x565400){const _0x3bb2cf=_0x1dc471;for(var _0x28c36f=_0x565400*0x4,_0xde55ef=_0x28c36f-_0x5e7245[_0x3bb2cf(0x164)]%_0x28c36f,_0x4a77df=_0xde55ef<<0x18|_0xde55ef<<0x10|_0xde55ef<<0x8|_0xde55ef,_0xa465b=[],_0xaba9d3=0x0;_0xaba9d3<_0xde55ef;_0xaba9d3+=0x4)_0xa465b['push'](_0x4a77df);var _0x49b375=_0x54c240[_0x3bb2cf(0x314)](_0xa465b,_0xde55ef);_0x5e7245[_0x3bb2cf(0x33e)](_0x49b375);},'unpad':function(_0x4c517d){const _0x30ba8b=_0x1dc471;var _0x4de786=_0x4c517d[_0x30ba8b(0x5a7)][_0x4c517d[_0x30ba8b(0x164)]-0x1>>>0x2]&0xff;_0x4c517d[_0x30ba8b(0x164)]-=_0x4de786;}};_0x292cab['BlockCipher']=_0x56cb05[_0x1dc471(0x5c9)]({'cfg':_0x56cb05[_0x1dc471(0x3b8)][_0x1dc471(0x5c9)]({'mode':_0x4e93d3,'padding':_0x884339}),'reset':function(){const _0x27f0af=_0x1dc471;var _0x252fba;_0x56cb05[_0x27f0af(0x1fe)][_0x27f0af(0x54a)](this);var _0x3e9b06=this[_0x27f0af(0x3b8)],_0x16a874=_0x3e9b06['iv'],_0xb7ae41=_0x3e9b06['mode'];this[_0x27f0af(0x502)]==this[_0x27f0af(0x1c0)]?_0x252fba=_0xb7ae41[_0x27f0af(0x4c0)]:(_0x252fba=_0xb7ae41[_0x27f0af(0x2d8)],this[_0x27f0af(0x5cf)]=0x1),this[_0x27f0af(0x19b)]&&this['_mode'][_0x27f0af(0x301)]==_0x252fba?this[_0x27f0af(0x19b)][_0x27f0af(0x25b)](this,_0x16a874&&_0x16a874[_0x27f0af(0x5a7)]):(this[_0x27f0af(0x19b)]=_0x252fba[_0x27f0af(0x54a)](_0xb7ae41,this,_0x16a874&&_0x16a874[_0x27f0af(0x5a7)]),this[_0x27f0af(0x19b)][_0x27f0af(0x301)]=_0x252fba);},'_doProcessBlock':function(_0xc924c2,_0x161de7){const _0x17496d=_0x1dc471;this[_0x17496d(0x19b)][_0x17496d(0x40b)](_0xc924c2,_0x161de7);},'_doFinalize':function(){const _0x3ce73b=_0x1dc471;var _0x282736,_0x47d418=this[_0x3ce73b(0x3b8)][_0x3ce73b(0x27d)];return this[_0x3ce73b(0x502)]==this[_0x3ce73b(0x1c0)]?(_0x47d418[_0x3ce73b(0x417)](this[_0x3ce73b(0x57c)],this[_0x3ce73b(0x32e)]),_0x282736=this[_0x3ce73b(0x1dc)](!0x0)):(_0x282736=this['_process'](!0x0),_0x47d418['unpad'](_0x282736)),_0x282736;},'blockSize':0x80/0x20});var _0x1bf495=_0x292cab['CipherParams']=_0x8d0367[_0x1dc471(0x5c9)]({'init':function(_0x5744e6){this['mixIn'](_0x5744e6);},'toString':function(_0x5b3160){const _0x5edc54=_0x1dc471;return(_0x5b3160||this[_0x5edc54(0x4a6)])[_0x5edc54(0x40e)](this);}}),_0x5053ab=_0x4d811e['format']={},_0x5888e4=_0x5053ab[_0x1dc471(0x24f)]={'stringify':function(_0x22aa30){const _0x161e86=_0x1dc471;var _0x363886,_0x342551=_0x22aa30[_0x161e86(0x3ad)],_0x4321a8=_0x22aa30[_0x161e86(0x3b5)];return _0x4321a8?_0x363886=_0x54c240[_0x161e86(0x314)]([0x53616c74,0x65645f5f])[_0x161e86(0x33e)](_0x4321a8)[_0x161e86(0x33e)](_0x342551):_0x363886=_0x342551,_0x363886['toString'](_0x1fdfd6);},'parse':function(_0x3a9b87){const _0x1ed033=_0x1dc471;var _0x17250e,_0x2c384e=_0x1fdfd6[_0x1ed033(0x18e)](_0x3a9b87),_0x1ab14a=_0x2c384e[_0x1ed033(0x5a7)];return _0x1ab14a[0x0]==0x53616c74&&_0x1ab14a[0x1]==0x65645f5f&&(_0x17250e=_0x54c240[_0x1ed033(0x314)](_0x1ab14a['slice'](0x2,0x4)),_0x1ab14a[_0x1ed033(0x4cd)](0x0,0x4),_0x2c384e[_0x1ed033(0x164)]-=0x10),_0x1bf495['create']({'ciphertext':_0x2c384e,'salt':_0x17250e});}},_0x39e424=_0x292cab[_0x1dc471(0x58c)]=_0x8d0367[_0x1dc471(0x5c9)]({'cfg':_0x8d0367[_0x1dc471(0x5c9)]({'format':_0x5888e4}),'encrypt':function(_0xc1fd1b,_0x51bd5a,_0xb34428,_0x669a95){const _0xa77e8f=_0x1dc471;_0x669a95=this[_0xa77e8f(0x3b8)][_0xa77e8f(0x5c9)](_0x669a95);var _0x2bd58a=_0xc1fd1b['createEncryptor'](_0xb34428,_0x669a95),_0x3da00f=_0x2bd58a[_0xa77e8f(0x257)](_0x51bd5a),_0x5d615d=_0x2bd58a[_0xa77e8f(0x3b8)];return _0x1bf495[_0xa77e8f(0x314)]({'ciphertext':_0x3da00f,'key':_0xb34428,'iv':_0x5d615d['iv'],'algorithm':_0xc1fd1b,'mode':_0x5d615d[_0xa77e8f(0x33d)],'padding':_0x5d615d[_0xa77e8f(0x27d)],'blockSize':_0xc1fd1b[_0xa77e8f(0x32e)],'formatter':_0x669a95['format']});},'decrypt':function(_0x2c02e1,_0x5c8b7c,_0x3096b7,_0x1ee900){const _0x30b1da=_0x1dc471;_0x1ee900=this[_0x30b1da(0x3b8)]['extend'](_0x1ee900),_0x5c8b7c=this[_0x30b1da(0x3e2)](_0x5c8b7c,_0x1ee900[_0x30b1da(0x1f4)]);var _0x390333=_0x2c02e1[_0x30b1da(0x2d8)](_0x3096b7,_0x1ee900)['finalize'](_0x5c8b7c['ciphertext']);return _0x390333;},'_parse':function(_0x4faa1b,_0x4371f9){const _0x2c0936=_0x1dc471;return typeof _0x4faa1b==_0x2c0936(0x516)?_0x4371f9[_0x2c0936(0x18e)](_0x4faa1b,this):_0x4faa1b;}}),_0x363dd0=_0x4d811e[_0x1dc471(0x5df)]={},_0x1cfe95=_0x363dd0['OpenSSL']={'execute':function(_0x50ca1c,_0x3026f8,_0x70c199,_0x3ee59e,_0x11270a){const _0x5b46ee=_0x1dc471;if(_0x3ee59e||(_0x3ee59e=_0x54c240['random'](0x40/0x8)),_0x11270a)var _0x2495b5=_0x29767f[_0x5b46ee(0x314)]({'keySize':_0x3026f8+_0x70c199,'hasher':_0x11270a})[_0x5b46ee(0x42c)](_0x50ca1c,_0x3ee59e);else var _0x2495b5=_0x29767f[_0x5b46ee(0x314)]({'keySize':_0x3026f8+_0x70c199})[_0x5b46ee(0x42c)](_0x50ca1c,_0x3ee59e);var _0x4805e9=_0x54c240['create'](_0x2495b5[_0x5b46ee(0x5a7)][_0x5b46ee(0x237)](_0x3026f8),_0x70c199*0x4);return _0x2495b5[_0x5b46ee(0x164)]=_0x3026f8*0x4,_0x1bf495['create']({'key':_0x2495b5,'iv':_0x4805e9,'salt':_0x3ee59e});}},_0x397fb7=_0x292cab[_0x1dc471(0x275)]=_0x39e424[_0x1dc471(0x5c9)]({'cfg':_0x39e424[_0x1dc471(0x3b8)][_0x1dc471(0x5c9)]({'kdf':_0x1cfe95}),'encrypt':function(_0x51607e,_0x37e66a,_0x5841f5,_0x47429f){const _0x10ae46=_0x1dc471;_0x47429f=this[_0x10ae46(0x3b8)][_0x10ae46(0x5c9)](_0x47429f);var _0x44fbf7=_0x47429f[_0x10ae46(0x5df)][_0x10ae46(0x540)](_0x5841f5,_0x51607e[_0x10ae46(0x58b)],_0x51607e['ivSize'],_0x47429f[_0x10ae46(0x3b5)],_0x47429f[_0x10ae46(0x367)]);_0x47429f['iv']=_0x44fbf7['iv'];var _0x2061c2=_0x39e424['encrypt']['call'](this,_0x51607e,_0x37e66a,_0x44fbf7['key'],_0x47429f);return _0x2061c2[_0x10ae46(0x26c)](_0x44fbf7),_0x2061c2;},'decrypt':function(_0x1a33cb,_0x16f5ca,_0x172ad2,_0x44c420){const _0x198235=_0x1dc471;_0x44c420=this[_0x198235(0x3b8)][_0x198235(0x5c9)](_0x44c420),_0x16f5ca=this[_0x198235(0x3e2)](_0x16f5ca,_0x44c420[_0x198235(0x1f4)]);var _0x4ee20e=_0x44c420[_0x198235(0x5df)][_0x198235(0x540)](_0x172ad2,_0x1a33cb[_0x198235(0x58b)],_0x1a33cb[_0x198235(0x5f2)],_0x16f5ca['salt'],_0x44c420['hasher']);_0x44c420['iv']=_0x4ee20e['iv'];var _0x77423=_0x39e424[_0x198235(0x267)]['call'](this,_0x1a33cb,_0x16f5ca,_0x4ee20e[_0x198235(0x327)],_0x44c420);return _0x77423;}});}();}));}(ft)),ft['exports'];}(function(_0x547141,_0x5e4c2d){(function(_0x2c7846,_0x560bbc,_0xdd1b7d){const _0x59236a=_0x479a;_0x547141[_0x59236a(0x436)]=_0x560bbc(oe(),On(),ar(),Dn(),wn());}(X,function(_0x321714){const _0x3e2f10=_0x479a;return(function(){const _0x519a16=_0x479a;var _0x2690fb=_0x321714,_0x144e92=_0x2690fb[_0x519a16(0x5db)],_0x325941=_0x144e92['BlockCipher'],_0xf98e1b=_0x2690fb['algo'],_0x42430d=[],_0x1c81e1=[],_0x184c25=[],_0xa10ce6=[],_0x3921bf=[],_0x18ef03=[],_0x578165=[],_0x40175c=[],_0x179397=[],_0x51508f=[];(function(){for(var _0x4a5f1a=[],_0xb3f10=0x0;_0xb3f10<0x100;_0xb3f10++)_0xb3f10<0x80?_0x4a5f1a[_0xb3f10]=_0xb3f10<<0x1:_0x4a5f1a[_0xb3f10]=_0xb3f10<<0x1^0x11b;for(var _0x258083=0x0,_0x36a499=0x0,_0xb3f10=0x0;_0xb3f10<0x100;_0xb3f10++){var _0x4456ab=_0x36a499^_0x36a499<<0x1^_0x36a499<<0x2^_0x36a499<<0x3^_0x36a499<<0x4;_0x4456ab=_0x4456ab>>>0x8^_0x4456ab&0xff^0x63,_0x42430d[_0x258083]=_0x4456ab,_0x1c81e1[_0x4456ab]=_0x258083;var _0x1964b6=_0x4a5f1a[_0x258083],_0x3454a9=_0x4a5f1a[_0x1964b6],_0x45b9f2=_0x4a5f1a[_0x3454a9],_0x3c7cc1=_0x4a5f1a[_0x4456ab]*0x101^_0x4456ab*0x1010100;_0x184c25[_0x258083]=_0x3c7cc1<<0x18|_0x3c7cc1>>>0x8,_0xa10ce6[_0x258083]=_0x3c7cc1<<0x10|_0x3c7cc1>>>0x10,_0x3921bf[_0x258083]=_0x3c7cc1<<0x8|_0x3c7cc1>>>0x18,_0x18ef03[_0x258083]=_0x3c7cc1;var _0x3c7cc1=_0x45b9f2*0x1010101^_0x3454a9*0x10001^_0x1964b6*0x101^_0x258083*0x1010100;_0x578165[_0x4456ab]=_0x3c7cc1<<0x18|_0x3c7cc1>>>0x8,_0x40175c[_0x4456ab]=_0x3c7cc1<<0x10|_0x3c7cc1>>>0x10,_0x179397[_0x4456ab]=_0x3c7cc1<<0x8|_0x3c7cc1>>>0x18,_0x51508f[_0x4456ab]=_0x3c7cc1,_0x258083?(_0x258083=_0x1964b6^_0x4a5f1a[_0x4a5f1a[_0x4a5f1a[_0x45b9f2^_0x1964b6]]],_0x36a499^=_0x4a5f1a[_0x4a5f1a[_0x36a499]]):_0x258083=_0x36a499=0x1;}}());var _0x43f63c=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x25a5d1=_0xf98e1b[_0x519a16(0x432)]=_0x325941[_0x519a16(0x5c9)]({'_doReset':function(){const _0xff87f0=_0x519a16;var _0x11d829;if(!(this[_0xff87f0(0x232)]&&this['_keyPriorReset']===this['_key'])){for(var _0x15cd8a=this[_0xff87f0(0x340)]=this[_0xff87f0(0x570)],_0x2ce097=_0x15cd8a[_0xff87f0(0x5a7)],_0x16f821=_0x15cd8a['sigBytes']/0x4,_0x3b3161=this[_0xff87f0(0x232)]=_0x16f821+0x6,_0x4a99d9=(_0x3b3161+0x1)*0x4,_0x3030fc=this[_0xff87f0(0x4ec)]=[],_0x46c0b4=0x0;_0x46c0b4<_0x4a99d9;_0x46c0b4++)_0x46c0b4<_0x16f821?_0x3030fc[_0x46c0b4]=_0x2ce097[_0x46c0b4]:(_0x11d829=_0x3030fc[_0x46c0b4-0x1],_0x46c0b4%_0x16f821?_0x16f821>0x6&&_0x46c0b4%_0x16f821==0x4&&(_0x11d829=_0x42430d[_0x11d829>>>0x18]<<0x18|_0x42430d[_0x11d829>>>0x10&0xff]<<0x10|_0x42430d[_0x11d829>>>0x8&0xff]<<0x8|_0x42430d[_0x11d829&0xff]):(_0x11d829=_0x11d829<<0x8|_0x11d829>>>0x18,_0x11d829=_0x42430d[_0x11d829>>>0x18]<<0x18|_0x42430d[_0x11d829>>>0x10&0xff]<<0x10|_0x42430d[_0x11d829>>>0x8&0xff]<<0x8|_0x42430d[_0x11d829&0xff],_0x11d829^=_0x43f63c[_0x46c0b4/_0x16f821|0x0]<<0x18),_0x3030fc[_0x46c0b4]=_0x3030fc[_0x46c0b4-_0x16f821]^_0x11d829);for(var _0x8f0d4c=this[_0xff87f0(0x3a9)]=[],_0xe62c96=0x0;_0xe62c96<_0x4a99d9;_0xe62c96++){var _0x46c0b4=_0x4a99d9-_0xe62c96;if(_0xe62c96%0x4)var _0x11d829=_0x3030fc[_0x46c0b4];else var _0x11d829=_0x3030fc[_0x46c0b4-0x4];_0xe62c96<0x4||_0x46c0b4<=0x4?_0x8f0d4c[_0xe62c96]=_0x11d829:_0x8f0d4c[_0xe62c96]=_0x578165[_0x42430d[_0x11d829>>>0x18]]^_0x40175c[_0x42430d[_0x11d829>>>0x10&0xff]]^_0x179397[_0x42430d[_0x11d829>>>0x8&0xff]]^_0x51508f[_0x42430d[_0x11d829&0xff]];}}},'encryptBlock':function(_0x4f64ec,_0x85fb32){const _0x23f374=_0x519a16;this[_0x23f374(0x5f9)](_0x4f64ec,_0x85fb32,this[_0x23f374(0x4ec)],_0x184c25,_0xa10ce6,_0x3921bf,_0x18ef03,_0x42430d);},'decryptBlock':function(_0xe3635f,_0x54aeb9){const _0x19d938=_0x519a16;var _0x260ea0=_0xe3635f[_0x54aeb9+0x1];_0xe3635f[_0x54aeb9+0x1]=_0xe3635f[_0x54aeb9+0x3],_0xe3635f[_0x54aeb9+0x3]=_0x260ea0,this[_0x19d938(0x5f9)](_0xe3635f,_0x54aeb9,this[_0x19d938(0x3a9)],_0x578165,_0x40175c,_0x179397,_0x51508f,_0x1c81e1);var _0x260ea0=_0xe3635f[_0x54aeb9+0x1];_0xe3635f[_0x54aeb9+0x1]=_0xe3635f[_0x54aeb9+0x3],_0xe3635f[_0x54aeb9+0x3]=_0x260ea0;},'_doCryptBlock':function(_0x57ef9e,_0x93b13b,_0x319472,_0x200fd5,_0x3c64f9,_0x48e228,_0x2c2347,_0x227d19){const _0x589a69=_0x519a16;for(var _0x324744=this[_0x589a69(0x232)],_0x5013e5=_0x57ef9e[_0x93b13b]^_0x319472[0x0],_0x3c2f08=_0x57ef9e[_0x93b13b+0x1]^_0x319472[0x1],_0x2447e4=_0x57ef9e[_0x93b13b+0x2]^_0x319472[0x2],_0x2a827c=_0x57ef9e[_0x93b13b+0x3]^_0x319472[0x3],_0x51a894=0x4,_0x337565=0x1;_0x337565<_0x324744;_0x337565++){var _0x162b19=_0x200fd5[_0x5013e5>>>0x18]^_0x3c64f9[_0x3c2f08>>>0x10&0xff]^_0x48e228[_0x2447e4>>>0x8&0xff]^_0x2c2347[_0x2a827c&0xff]^_0x319472[_0x51a894++],_0x5d197e=_0x200fd5[_0x3c2f08>>>0x18]^_0x3c64f9[_0x2447e4>>>0x10&0xff]^_0x48e228[_0x2a827c>>>0x8&0xff]^_0x2c2347[_0x5013e5&0xff]^_0x319472[_0x51a894++],_0x434d5e=_0x200fd5[_0x2447e4>>>0x18]^_0x3c64f9[_0x2a827c>>>0x10&0xff]^_0x48e228[_0x5013e5>>>0x8&0xff]^_0x2c2347[_0x3c2f08&0xff]^_0x319472[_0x51a894++],_0x4d1519=_0x200fd5[_0x2a827c>>>0x18]^_0x3c64f9[_0x5013e5>>>0x10&0xff]^_0x48e228[_0x3c2f08>>>0x8&0xff]^_0x2c2347[_0x2447e4&0xff]^_0x319472[_0x51a894++];_0x5013e5=_0x162b19,_0x3c2f08=_0x5d197e,_0x2447e4=_0x434d5e,_0x2a827c=_0x4d1519;}var _0x162b19=(_0x227d19[_0x5013e5>>>0x18]<<0x18|_0x227d19[_0x3c2f08>>>0x10&0xff]<<0x10|_0x227d19[_0x2447e4>>>0x8&0xff]<<0x8|_0x227d19[_0x2a827c&0xff])^_0x319472[_0x51a894++],_0x5d197e=(_0x227d19[_0x3c2f08>>>0x18]<<0x18|_0x227d19[_0x2447e4>>>0x10&0xff]<<0x10|_0x227d19[_0x2a827c>>>0x8&0xff]<<0x8|_0x227d19[_0x5013e5&0xff])^_0x319472[_0x51a894++],_0x434d5e=(_0x227d19[_0x2447e4>>>0x18]<<0x18|_0x227d19[_0x2a827c>>>0x10&0xff]<<0x10|_0x227d19[_0x5013e5>>>0x8&0xff]<<0x8|_0x227d19[_0x3c2f08&0xff])^_0x319472[_0x51a894++],_0x4d1519=(_0x227d19[_0x2a827c>>>0x18]<<0x18|_0x227d19[_0x5013e5>>>0x10&0xff]<<0x10|_0x227d19[_0x3c2f08>>>0x8&0xff]<<0x8|_0x227d19[_0x2447e4&0xff])^_0x319472[_0x51a894++];_0x57ef9e[_0x93b13b]=_0x162b19,_0x57ef9e[_0x93b13b+0x1]=_0x5d197e,_0x57ef9e[_0x93b13b+0x2]=_0x434d5e,_0x57ef9e[_0x93b13b+0x3]=_0x4d1519;},'keySize':0x100/0x20});_0x2690fb[_0x519a16(0x432)]=_0x325941[_0x519a16(0x56d)](_0x25a5d1);}()),_0x321714[_0x3e2f10(0x432)];}));}(yn));var hr=yn['exports'];const _r=xe(hr);var ur=On();const Xt=xe(ur);var Pn={'exports':{}};(function(_0x5130ff,_0x21d62d){(function(_0x3966ec,_0x4b5c8e){const _0x40e0a7=_0x479a;_0x5130ff[_0x40e0a7(0x436)]=_0x4b5c8e(oe());}(X,function(_0x15ad8a){const _0x3f10d7=_0x479a;return _0x15ad8a[_0x3f10d7(0x593)]['Utf8'];}));}(Pn));var dr=Pn['exports'];const fr=xe(dr);var Un={'exports':{}};(function(_0x2f4e88,_0x23fb8f){(function(_0x176ea4,_0xb2ab8e){const _0x3bab81=_0x479a;_0x2f4e88[_0x3bab81(0x436)]=_0xb2ab8e(oe());}(X,function(_0x1f927a){const _0x33f48e=_0x479a;return(function(){const _0x358e3e=_0x479a;if(typeof ArrayBuffer=='function'){var _0x6a9768=_0x1f927a,_0x10c176=_0x6a9768[_0x358e3e(0x5db)],_0x35e85b=_0x10c176[_0x358e3e(0x53b)],_0x380580=_0x35e85b[_0x358e3e(0x25b)],_0x35303e=_0x35e85b[_0x358e3e(0x25b)]=function(_0xae6591){const _0x4cc671=_0x358e3e;if(_0xae6591 instanceof ArrayBuffer&&(_0xae6591=new Uint8Array(_0xae6591)),(_0xae6591 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0xae6591 instanceof Uint8ClampedArray||_0xae6591 instanceof Int16Array||_0xae6591 instanceof Uint16Array||_0xae6591 instanceof Int32Array||_0xae6591 instanceof Uint32Array||_0xae6591 instanceof Float32Array||_0xae6591 instanceof Float64Array)&&(_0xae6591=new Uint8Array(_0xae6591['buffer'],_0xae6591[_0x4cc671(0x3f7)],_0xae6591['byteLength'])),_0xae6591 instanceof Uint8Array){for(var _0x5135e0=_0xae6591[_0x4cc671(0x23f)],_0x2cc8a3=[],_0x45b051=0x0;_0x45b051<_0x5135e0;_0x45b051++)_0x2cc8a3[_0x45b051>>>0x2]|=_0xae6591[_0x45b051]<<0x18-_0x45b051%0x4*0x8;_0x380580[_0x4cc671(0x54a)](this,_0x2cc8a3,_0x5135e0);}else _0x380580[_0x4cc671(0x4c4)](this,arguments);};_0x35303e[_0x358e3e(0x2f3)]=_0x35e85b;}}()),_0x1f927a[_0x33f48e(0x5db)][_0x33f48e(0x53b)];}));}(Un));var vr=Un[_0x2683e6(0x436)];const mr=xe(vr);var Mn={'exports':{}};(function(_0x338d13,_0x149395){(function(_0x29c13a,_0x2a8949,_0x56d148){const _0xa9203d=_0x479a;_0x338d13[_0xa9203d(0x436)]=_0x2a8949(oe(),wn());}(X,function(_0x31cac9){const _0x370b0d=_0x479a;return _0x31cac9[_0x370b0d(0x417)][_0x370b0d(0x2ae)]={'pad':function(){},'unpad':function(){}},_0x31cac9['pad'][_0x370b0d(0x2ae)];}));}(Mn));var Sr=Mn[_0x2683e6(0x436)];const pr=xe(Sr);function gr(_0x4eef2a,_0x496c32){const _0x301883=_0x2683e6,_0x2102b6=_0x496c32-_0x4eef2a[_0x301883(0x29a)]%_0x496c32,_0x235e5b=String[_0x301883(0x19a)](_0x2102b6)[_0x301883(0x290)](_0x2102b6);return _0x4eef2a+_0x235e5b;}function Ir(_0x5c0d7c,_0x1e1d3b){const _0x27f983=_0x2683e6,_0x1116f6=mr[_0x27f983(0x3e7)](0x10),_0x47a886=gr(_0x5c0d7c,0x10),_0xffe542=_r[_0x27f983(0x3cb)](fr[_0x27f983(0x18e)](_0x47a886),Xt[_0x27f983(0x18e)](_0x1e1d3b),{'iv':_0x1116f6,'padding':pr});return _0x1116f6[_0x27f983(0x33e)](_0xffe542[_0x27f983(0x3ad)])['toString'](Xt);}function Cr(){const _0xbaba47=_0x2683e6,_0x7045f6=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0xbaba47(0x4d5)];if(_0x7045f6){const _0x57019e={'time':Math[_0xbaba47(0x2f0)](Date[_0xbaba47(0x1f9)]()/0x3e8),'domain':location[_0xbaba47(0x465)]};return Ir(JSON[_0xbaba47(0x40e)](_0x57019e),_0x7045f6);}}var Er=Object['defineProperty'],br=Object[_0x2683e6(0x181)],Tr=(_0x5d996d,_0x4141e0,_0x3f4858,_0x3358d0)=>{for(var _0x6f461=_0x3358d0>0x1?void 0x0:_0x3358d0?br(_0x4141e0,_0x3f4858):_0x4141e0,_0xc912cc=_0x5d996d['length']-0x1,_0x4dd2b8;_0xc912cc>=0x0;_0xc912cc--)(_0x4dd2b8=_0x5d996d[_0xc912cc])&&(_0x6f461=(_0x3358d0?_0x4dd2b8(_0x4141e0,_0x3f4858,_0x6f461):_0x4dd2b8(_0x6f461))||_0x6f461);return _0x3358d0&&_0x6f461&&Er(_0x4141e0,_0x3f4858,_0x6f461),_0x6f461;},Rr=(_0x54d7e3,_0x309bdb)=>(_0x2d7bd0,_0x3e597d)=>_0x309bdb(_0x2d7bd0,_0x3e597d,_0x54d7e3);let Ye=class{constructor(_0x4937af){const _0xef520e=_0x2683e6;this[_0xef520e(0x3fb)]=_0x4937af,this[_0xef520e(0x4eb)]();}['_initRequestHeader'](){this['_httpService']['registerHTTPInterceptor']({'interceptor':(_0x2224e7,_0x4841bf)=>{const _0x114e85=_0x479a,_0x22ae1f=_0x2224e7[_0x114e85(0x2f5)],_0xcf5a82=Cr();return _0xcf5a82&&_0x22ae1f[_0x114e85(0x46f)](_0x114e85(0x462),_0xcf5a82),_0x4841bf(_0x2224e7);}});}};Ye=Tr([Rr(0x0,a[_0x2683e6(0x22b)](Z[_0x2683e6(0x2a2)]))],Ye);var yr=Object['defineProperty'],Or=Object[_0x2683e6(0x181)],Dr=(_0x5be6d2,_0x5004fd,_0x3ed0be,_0x25d42b)=>{for(var _0x2ef83c=_0x25d42b>0x1?void 0x0:_0x25d42b?Or(_0x5004fd,_0x3ed0be):_0x5004fd,_0x3614b5=_0x5be6d2['length']-0x1,_0x2f5f2a;_0x3614b5>=0x0;_0x3614b5--)(_0x2f5f2a=_0x5be6d2[_0x3614b5])&&(_0x2ef83c=(_0x25d42b?_0x2f5f2a(_0x5004fd,_0x3ed0be,_0x2ef83c):_0x2f5f2a(_0x2ef83c))||_0x2ef83c);return _0x25d42b&&_0x2ef83c&&yr(_0x5004fd,_0x3ed0be,_0x2ef83c),_0x2ef83c;},vt=(_0x3f1c82,_0x4860d8)=>(_0x3114e0,_0x4e3116)=>_0x4860d8(_0x3114e0,_0x4e3116,_0x3f1c82);const wr=[_0x2683e6(0x3d4),_0x2683e6(0x420),_0x2683e6(0x3b1),_0x2683e6(0x4d4),'image/bmp'],Pr=0x5*0x400*0x400,Ur=_0x2683e6(0x2e7),Mr=_0x2683e6(0x1cb),Ar=_0x2683e6(0x1ac),Nr=_0x2683e6(0x236);exports[_0x2683e6(0x187)]=class{constructor(_0x382708,_0x47569c,_0x14cf3c){const _0xbfeeb9=_0x2683e6;I(this,_0xbfeeb9(0x363),0x0),I(this,_0xbfeeb9(0x433),new A[(_0xbfeeb9(0x51b))]()),I(this,'change$',this['_change$']),I(this,'_imageSourceCache',new Map()),(this[_0xbfeeb9(0x3fb)]=_0x382708,this[_0xbfeeb9(0x3d1)]=_0x47569c,this[_0xbfeeb9(0x45b)]=_0x14cf3c);}[_0x2683e6(0x547)](_0x2004da){const _0xac9dde=_0x2683e6;this['_waitCount']=_0x2004da,this[_0xac9dde(0x433)][_0xac9dde(0x40f)](_0x2004da);}[_0x2683e6(0x451)](_0x374550,_0x45c9e0){const _0x31622f=_0x2683e6;if(_0x45c9e0===ne[_0x31622f(0x1b9)]['BASE64']){const _0x5a10ab=new Image();return _0x5a10ab[_0x31622f(0x603)]=_0x374550,_0x5a10ab;}return this[_0x31622f(0x19c)][_0x31622f(0x553)](_0x374550);}[_0x2683e6(0x535)](_0x4c4a84,_0x5ca831,_0x128fa6){const _0x245ea4=_0x2683e6;_0x5ca831===ne['ImageSourceType']['BASE64']||_0x128fa6==null||this[_0x245ea4(0x19c)]['set'](_0x4c4a84,_0x128fa6);}async[_0x2683e6(0x1f2)](_0x4b64ba){const _0x2a4e7f=_0x2683e6;try{const _0x30aff8=this[_0x2a4e7f(0x50a)](this[_0x2a4e7f(0x3fc)](),''+_0x4b64ba),_0x3c497f=(await this[_0x2a4e7f(0x3fb)][_0x2a4e7f(0x553)](_0x30aff8))[_0x2a4e7f(0x2a7)];if(_0x3c497f[_0x2a4e7f(0x461)]&&_0x3c497f[_0x2a4e7f(0x461)][_0x2a4e7f(0x443)]===cn['OK']){const _0x45784b=new URL(_0x3c497f[_0x2a4e7f(0x170)],this[_0x2a4e7f(0x271)]())[_0x2a4e7f(0x155)]();return Promise[_0x2a4e7f(0x3ed)](_0x45784b);}return Promise['reject'](_0x3c497f[_0x2a4e7f(0x461)]);}catch(_0x309145){return Promise['reject'](_0x309145);}}async[_0x2683e6(0x198)](_0x55fa7a){const _0x243ecf=_0x2683e6;let _0x4959b4='';if(!wr[_0x243ecf(0x598)](_0x55fa7a[_0x243ecf(0x44a)]))return this[_0x243ecf(0x3e1)](),Promise[_0x243ecf(0x2fc)](new Error(ne[_0x243ecf(0x5cd)][_0x243ecf(0x37c)]));if(_0x55fa7a[_0x243ecf(0x4b4)]>Pr)return this[_0x243ecf(0x3e1)](),Promise['reject'](new Error(ne['ImageUploadStatusType']['ERROR_EXCEED_SIZE']));try{const _0x403a6c=new FormData();_0x403a6c[_0x243ecf(0x4ca)](_0x243ecf(0x1ef),_0x55fa7a);const _0x31df7f=this[_0x243ecf(0x45b)][_0x243ecf(0x452)](),_0x30ac46=_0x31df7f==null?void 0x0:_0x31df7f['getUnitId']();if(!_0x30ac46)throw new Error(_0x243ecf(0x31d));const _0x109a7c=this[_0x243ecf(0x5c0)]()+_0x243ecf(0x21d)+_0x55fa7a[_0x243ecf(0x4b4)][_0x243ecf(0x155)]()+_0x243ecf(0x5c7)+ln['UnitEmbedded']+_0x243ecf(0x4d8)+encodeURIComponent(_0x30ac46),_0x14bec1=await(await fetch(_0x109a7c,{'method':'POST','body':_0x403a6c}))[_0x243ecf(0x3f2)]();if(typeof _0x14bec1['FileId']!='string')return this[_0x243ecf(0x3e1)](),Promise[_0x243ecf(0x2fc)](new Error(ne['ImageUploadStatusType']['ERROR_IMAGE']));_0x4959b4=_0x14bec1[_0x243ecf(0x29b)];}catch{return this[_0x243ecf(0x3e1)](),Promise[_0x243ecf(0x2fc)](new Error(ne[_0x243ecf(0x5cd)][_0x243ecf(0x32c)]));}return new Promise((_0x30b360,_0x2724e7)=>{const _0x24b583=_0x243ecf,_0x27462a=new FileReader();_0x27462a[_0x24b583(0x1b8)](_0x55fa7a),_0x27462a['onload']=_0x3940be=>{const _0x3ab56a=_0x24b583;var _0x1bba45;const _0x598122=(_0x1bba45=_0x3940be[_0x3ab56a(0x52a)])==null?void 0x0:_0x1bba45[_0x3ab56a(0x332)];if(_0x598122==null){this['_decreaseWaiting'](),_0x2724e7(new Error(ne[_0x3ab56a(0x5cd)][_0x3ab56a(0x32c)]));return;}const _0x547cb7=a[_0x3ab56a(0x256)][_0x3ab56a(0x59e)](0x6);_0x30b360({'imageId':_0x547cb7,'imageSourceType':ne[_0x3ab56a(0x1b9)]['UUID'],'source':_0x4959b4,'base64Cache':_0x598122,'status':ne[_0x3ab56a(0x5cd)]['SUCCUSS']}),this['_decreaseWaiting']();};});}[_0x2683e6(0x5c0)](){const _0x173711=_0x2683e6;var _0x66c58d,_0x59da5b;const _0x2b518d=this[_0x173711(0x3d1)]['getConfig'](Ur),_0x248a09=this[_0x173711(0x3d1)][_0x173711(0x496)](te);return(_0x59da5b=(_0x66c58d=_0x248a09==null?void 0x0:_0x248a09[_0x173711(0x3c8)])!=null?_0x66c58d:_0x2b518d)!=null?_0x59da5b:Mr;}['_getSignURL'](){const _0x570392=_0x2683e6;var _0xecf983,_0x237439;const _0x30a0be=this[_0x570392(0x3d1)][_0x570392(0x496)](Ar),_0x1700eb=this['_configService']['getConfig'](te);return(_0x237439=(_0xecf983=_0x1700eb==null?void 0x0:_0x1700eb[_0x570392(0x1b3)])!=null?_0xecf983:_0x30a0be)!=null?_0x237439:Nr;}[_0x2683e6(0x271)](){const _0x4e3c94=_0x2683e6;var _0x3e3eef;const _0x29bd40=this['_configService'][_0x4e3c94(0x496)](te);return(_0x3e3eef=_0x29bd40==null?void 0x0:_0x29bd40[_0x4e3c94(0x407)])!=null?_0x3e3eef:location[_0x4e3c94(0x32a)];}['_replaceFileID'](_0x2e137d,_0x437954){const _0x17c421=_0x2683e6;return _0x2e137d[_0x17c421(0x5d6)](_0x17c421(0x1ca),_0x437954);}['_decreaseWaiting'](){const _0x352a8d=_0x2683e6;this[_0x352a8d(0x363)]-=0x1,this[_0x352a8d(0x433)]['next'](this['_waitCount']);}},exports[_0x2683e6(0x187)]=Dr([vt(0x0,a[_0x2683e6(0x22b)](Z[_0x2683e6(0x2a2)])),vt(0x1,a[_0x2683e6(0x58f)]),vt(0x2,a[_0x2683e6(0x22b)](a[_0x2683e6(0x468)]))],exports[_0x2683e6(0x187)]);var Lr=Object[_0x2683e6(0x1e7)],xr=Object[_0x2683e6(0x181)],jr=(_0x5d03ee,_0x3dc4aa,_0x3bcded,_0x881b31)=>{for(var _0x943cbe=_0x881b31>0x1?void 0x0:_0x881b31?xr(_0x3dc4aa,_0x3bcded):_0x3dc4aa,_0x30e7c5=_0x5d03ee['length']-0x1,_0x2e2395;_0x30e7c5>=0x0;_0x30e7c5--)(_0x2e2395=_0x5d03ee[_0x30e7c5])&&(_0x943cbe=(_0x881b31?_0x2e2395(_0x3dc4aa,_0x3bcded,_0x943cbe):_0x2e2395(_0x943cbe))||_0x943cbe);return _0x881b31&&_0x943cbe&&Lr(_0x3dc4aa,_0x3bcded,_0x943cbe),_0x943cbe;},Ae=(_0x43c5de,_0x5758cb)=>(_0x5c3dd5,_0x3fbf48)=>_0x5758cb(_0x5c3dd5,_0x3fbf48,_0x43c5de);let Ke=class extends a[_0x2683e6(0x1e0)]{constructor(_0x16e84a,_0x224a2c,_0x146b27,_0x2882fb,_0x4c9fde){const _0x2fad52=_0x2683e6;super(),this['_injector']=_0x16e84a,this[_0x2fad52(0x45b)]=_0x224a2c,this['_permissionService']=_0x146b27,this['_collaborationSessionService']=_0x2882fb,this[_0x2fad52(0x347)]=_0x4c9fde,this['_initUnitPermissionChange'](),this[_0x2fad52(0x209)]();}[_0x2683e6(0x209)](){const _0x25000d=_0x2683e6,_0x112e93=async _0x4b04b2=>{const _0x412a7f=_0x479a;(await this[_0x412a7f(0x216)][_0x412a7f(0x2b8)](_0x4b04b2))['event$'][_0x412a7f(0x36b)](V[_0x412a7f(0x57f)](_0x433213=>_0x433213[_0x412a7f(0x477)]===S[_0x412a7f(0x3d6)][_0x412a7f(0x235)]),V['takeUntil'](this[_0x412a7f(0x534)]))[_0x412a7f(0x44d)](_0x1b5291=>{const _0x5d9464=_0x412a7f,_0x2c7023=_0x1b5291,{reason:_0x28af35}=_0x2c7023[_0x5d9464(0x5ac)];this[_0x5d9464(0x3e9)][_0x5d9464(0x553)](ee[_0x5d9464(0x509)])[_0x5d9464(0x4db)]({'type':ge[_0x5d9464(0x455)][_0x5d9464(0x272)],'content':this['_localeService']['t'](_0x5d9464(0x248))+'('+_0x28af35+')'}),this[_0x5d9464(0x2b5)][_0x5d9464(0x524)](new k['WorkbookEditablePermission'](_0x4b04b2)['id'],!0x1),this['_collaborationSessionService'][_0x5d9464(0x4fd)](_0x4b04b2);});};A[_0x25000d(0x3ee)](this['_univerInstanceService']['getTypeOfUnitAdded$'](a['UniverInstanceType'][_0x25000d(0x4a1)]),this[_0x25000d(0x45b)]['getTypeOfUnitAdded$'](a['UniverInstanceType'][_0x25000d(0x56e)]))[_0x25000d(0x36b)](V[_0x25000d(0x538)](_0x350c94=>_0x350c94['getUnitId']()),V[_0x25000d(0x57f)](_0x4005c1=>!a['isInternalEditorID'](_0x4005c1)),V[_0x25000d(0x35f)](this[_0x25000d(0x534)]))['subscribe'](_0x36399b=>{_0x112e93(_0x36399b);});}[_0x2683e6(0x607)](){const _0x4544b0=_0x2683e6,_0x16bf9c=async _0x240b48=>{const _0x14cc03=_0x479a;(await this[_0x14cc03(0x216)][_0x14cc03(0x2b8)](_0x240b48))[_0x14cc03(0x279)][_0x14cc03(0x36b)](V[_0x14cc03(0x57f)](_0x2d4624=>_0x2d4624[_0x14cc03(0x477)]===S[_0x14cc03(0x3d6)][_0x14cc03(0x265)]),V[_0x14cc03(0x35f)](this[_0x14cc03(0x534)]))[_0x14cc03(0x44d)](_0x2318cf=>{const _0x45f2f8=_0x14cc03,_0x387113=_0x2318cf,{objectId:_0x5498f1}=_0x387113[_0x45f2f8(0x5ac)],_0x3f82ed=this[_0x45f2f8(0x3e9)][_0x45f2f8(0x553)](Re[_0x45f2f8(0x5e5)]);_0x5498f1===_0x240b48?_0x3f82ed['initWorkbookPermissionChange'](_0x240b48):_0x3f82ed['refreshPermission'](_0x240b48,_0x5498f1);});};A[_0x4544b0(0x3ee)](this[_0x4544b0(0x45b)][_0x4544b0(0x32d)](a[_0x4544b0(0x342)]['UNIVER_SHEET']),this['_univerInstanceService']['getTypeOfUnitAdded$'](a['UniverInstanceType']['UNIVER_DOC']))[_0x4544b0(0x36b)](V[_0x4544b0(0x538)](_0x294760=>_0x294760[_0x4544b0(0x478)]()),V[_0x4544b0(0x57f)](_0x42adca=>!a[_0x4544b0(0x1da)](_0x42adca)),V[_0x4544b0(0x35f)](this['dispose$']))[_0x4544b0(0x44d)](_0x38dcb9=>{_0x16bf9c(_0x38dcb9);});}};Ke=jr([Ae(0x0,a[_0x2683e6(0x22b)](a[_0x2683e6(0x2c8)])),Ae(0x1,a['IUniverInstanceService']),Ae(0x2,a['IPermissionService']),Ae(0x3,a[_0x2683e6(0x22b)](exports[_0x2683e6(0x17a)])),Ae(0x4,a[_0x2683e6(0x22b)](a[_0x2683e6(0x479)]))],Ke);var $r=Object['defineProperty'],Hr=Object[_0x2683e6(0x181)],Br=(_0x5f2038,_0x37252e,_0x305684,_0x2acda6)=>{const _0x546c81=_0x2683e6;for(var _0x23831d=_0x2acda6>0x1?void 0x0:_0x2acda6?Hr(_0x37252e,_0x305684):_0x37252e,_0x3a5f09=_0x5f2038[_0x546c81(0x29a)]-0x1,_0x4b9ee0;_0x3a5f09>=0x0;_0x3a5f09--)(_0x4b9ee0=_0x5f2038[_0x3a5f09])&&(_0x23831d=(_0x2acda6?_0x4b9ee0(_0x37252e,_0x305684,_0x23831d):_0x4b9ee0(_0x23831d))||_0x23831d);return _0x2acda6&&_0x23831d&&$r(_0x37252e,_0x305684,_0x23831d),_0x23831d;},Jt=(_0x1e0896,_0x55229f)=>(_0x423e25,_0x87ed87)=>_0x55229f(_0x423e25,_0x87ed87,_0x1e0896);exports[_0x2683e6(0x380)]=class{constructor(_0x443eae,_0x362f72){const _0x182107=_0x2683e6;this[_0x182107(0x3d1)]=_0x443eae,this[_0x182107(0x3fb)]=_0x362f72;}async['getUnitOnRev'](_0x524d54,_0x4ad806){const _0x408b31=_0x2683e6;var _0x2512b0;const {unitID:_0x5dfd85,type:_0x54346f,revision:_0x13141d=0x0}=_0x4ad806,_0x16ef91=this[_0x408b31(0x1a6)]()+'/'+_0x54346f+'/unit/'+_0x5dfd85+_0x408b31(0x15f)+_0x13141d,_0x24f53d=(await this[_0x408b31(0x3fb)][_0x408b31(0x553)](_0x16ef91))[_0x408b31(0x2a7)],_0x1fd9e5=(_0x2512b0=_0x24f53d[_0x408b31(0x1e1)])==null?void 0x0:_0x2512b0[_0x408b31(0x45f)];if(_0x1fd9e5){const _0x59c8ef=_0x1fd9e5==null?void 0x0:_0x1fd9e5[_0x408b31(0x5c6)],_0x562bba=S[_0x408b31(0x582)][_0x408b31(0x395)](S[_0x408b31(0x194)](_0x59c8ef));_0x1fd9e5[_0x408b31(0x5c6)]=_0x562bba,Object[_0x408b31(0x548)](_0x1fd9e5[_0x408b31(0x491)])[_0x408b31(0x280)](([,_0xd64fe6])=>{const _0x4db093=_0x408b31,_0x19e18b=_0xd64fe6[_0x4db093(0x5c6)],_0x11ea33=S['textEncoder'][_0x4db093(0x395)](S['b64DecodeUnicode'](_0x19e18b));_0xd64fe6[_0x4db093(0x5c6)]=_0x11ea33;});}return _0x24f53d;}async[_0x2683e6(0x5e2)](_0x59d42b,_0x13096d){const _0x51b277=_0x2683e6,{unitID:_0x2584a2,type:_0x21f4ed,blockID:_0x14e785}=_0x13096d,_0x105d2b=this[_0x51b277(0x4b5)]()+'/'+_0x21f4ed+_0x51b277(0x182)+_0x2584a2+_0x51b277(0x53d)+_0x14e785;return(await this[_0x51b277(0x3fb)][_0x51b277(0x553)](_0x105d2b))[_0x51b277(0x2a7)];}async[_0x2683e6(0x15e)](_0x2e71a7,_0x7ec83d){const _0x36672d=_0x2683e6,{unitID:_0x5c080a,type:_0x312dc4,blockID:_0x4ea1b4}=_0x7ec83d,_0x56abd4=this['_getAPIPrefix']()+_0x36672d(0x53d)+_0x312dc4+'/unit/'+_0x5c080a+'/block/'+_0x4ea1b4;return(await this[_0x36672d(0x3fb)][_0x36672d(0x553)](_0x56abd4))[_0x36672d(0x2a7)];}async[_0x2683e6(0x606)](_0x3a213a,_0x28f0ee){const _0x5ebecc=_0x2683e6,{unitID:_0x1f1748,type:_0x5960c0,from:_0x4493d6,to:_0x57dace}=_0x28f0ee,_0x450d72=this[_0x5ebecc(0x4b5)]()+'/'+_0x5960c0+_0x5ebecc(0x182)+_0x1f1748+_0x5ebecc(0x18a)+_0x4493d6+_0x5ebecc(0x2de)+_0x57dace;return(await this['_httpService'][_0x5ebecc(0x553)](_0x450d72))[_0x5ebecc(0x2a7)];}[_0x2683e6(0x1a6)](){const _0x1a35b2=_0x2683e6;var _0xfce56f;return(_0xfce56f=this[_0x1a35b2(0x3d1)][_0x1a35b2(0x496)](Qt))!=null?_0xfce56f:this[_0x1a35b2(0x4b5)]();}['_getAPIPrefix'](){const _0x117c07=_0x2683e6;var _0x3d0194,_0x508703;const _0x168ed2=this[_0x117c07(0x3d1)]['getConfig'](Zt),_0x26fb5a=this[_0x117c07(0x3d1)][_0x117c07(0x496)](te);return(_0x508703=(_0x3d0194=_0x26fb5a==null?void 0x0:_0x26fb5a[_0x117c07(0x2f2)])!=null?_0x3d0194:_0x168ed2)!=null?_0x508703:Hn;}async[_0x2683e6(0x5c2)](_0x2b747a,_0x669ff7){const _0x289d3f=_0x2683e6,_0x24cacf='/universer-api/snapshot/'+_0x669ff7[_0x289d3f(0x44a)]+_0x289d3f(0x182)+_0x669ff7[_0x289d3f(0x4a9)]+_0x289d3f(0x591);return(await this[_0x289d3f(0x3fb)][_0x289d3f(0x553)](_0x24cacf,{'params':{'resourceId':JSON['stringify'](_0x669ff7[_0x289d3f(0x541)])}}))[_0x289d3f(0x2a7)];}['saveSnapshot'](){const _0x99fe8f=_0x2683e6;throw new Error(_0x99fe8f(0x346));}[_0x2683e6(0x32b)](){const _0x53a7d1=_0x2683e6;throw new Error(_0x53a7d1(0x346));}['saveChangeset'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x2683e6(0x1e4)](){const _0x34d0c0=_0x2683e6;throw new Error(_0x34d0c0(0x346));}['getLatestCsReqIdBySid'](){const _0x49eb3f=_0x2683e6;throw new Error(_0x49eb3f(0x346));}},exports[_0x2683e6(0x380)]=Br([Jt(0x0,a[_0x2683e6(0x58f)]),Jt(0x1,a[_0x2683e6(0x22b)](Z[_0x2683e6(0x2a2)]))],exports[_0x2683e6(0x380)]);var kr=Object[_0x2683e6(0x1e7)],Wr=Object[_0x2683e6(0x181)],Fr=(_0x3d674c,_0x28b3f0,_0x452ff1,_0x352e64)=>{const _0x35e24e=_0x2683e6;for(var _0x26196a=_0x352e64>0x1?void 0x0:_0x352e64?Wr(_0x28b3f0,_0x452ff1):_0x28b3f0,_0x31b695=_0x3d674c[_0x35e24e(0x29a)]-0x1,_0x88e5b6;_0x31b695>=0x0;_0x31b695--)(_0x88e5b6=_0x3d674c[_0x31b695])&&(_0x26196a=(_0x352e64?_0x88e5b6(_0x28b3f0,_0x452ff1,_0x26196a):_0x88e5b6(_0x26196a))||_0x26196a);return _0x352e64&&_0x26196a&&kr(_0x28b3f0,_0x452ff1,_0x26196a),_0x26196a;},Ne=(_0x3acb31,_0x46f128)=>(_0x45ddf4,_0x9c6254)=>_0x46f128(_0x45ddf4,_0x9c6254,_0x3acb31);let It=class extends a[_0x2683e6(0x166)]{constructor(_0x189068,_0x220f18,_0x3e46b3,_0xa6b120,_0x4073f2){super(_0x189068,_0x220f18,_0x3e46b3),this['_transformService']=_0xa6b120,this['_logService']=_0x4073f2;}[_0x2683e6(0x3dd)](_0x3faa5d,_0x1c3f76){const _0x24c65a=_0x2683e6,_0x2442a6=this[_0x24c65a(0x1f3)](_0x3faa5d);if(_0x2442a6)try{const _0x44da0c=this[_0x24c65a(0x387)](_0x2442a6,_0x1c3f76);this[_0x24c65a(0x40c)](_0x3faa5d,_0x44da0c);}catch(_0xbc0169){this['_logService'][_0x24c65a(0x461)](_0x24c65a(0x2f6),_0xbc0169),this[_0x24c65a(0x204)](_0x3faa5d);}const _0x3ac29f=this[_0x24c65a(0x428)](_0x3faa5d);if(_0x3ac29f)try{const _0x34101c=this[_0x24c65a(0x387)](_0x3ac29f,_0x1c3f76);this[_0x24c65a(0x207)](_0x3faa5d,_0x34101c);}catch(_0x2ba67c){this[_0x24c65a(0x577)]['error'](_0x2ba67c),this['_clearRedo'](_0x3faa5d);}}[_0x2683e6(0x204)](_0x1b9a58){const _0x565041=_0x2683e6,_0x566259=this[_0x565041(0x1f3)](_0x1b9a58);_0x566259&&(_0x566259['length']=0x0,this[_0x565041(0x43c)]());}[_0x2683e6(0x226)](_0x41d443){const _0x29afc8=_0x2683e6,_0xc75c65=this[_0x29afc8(0x428)](_0x41d443);_0xc75c65&&(_0xc75c65[_0x29afc8(0x29a)]=0x0,this[_0x29afc8(0x43c)]());}[_0x2683e6(0x40c)](_0x1dc1d3,_0x50381c){const _0x5027d3=_0x2683e6;this[_0x5027d3(0x5d1)][_0x5027d3(0x46f)](_0x1dc1d3,_0x50381c),this['_updateStatus']();}[_0x2683e6(0x207)](_0x3ed99c,_0x16f71f){const _0x58860f=_0x2683e6;this[_0x58860f(0x537)]['set'](_0x3ed99c,_0x16f71f),this[_0x58860f(0x43c)]();}[_0x2683e6(0x387)](_0x28cc9a,_0x49b4e8){const _0x49c642=_0x2683e6,_0xd51699=[];let _0x3e8a12=_0x49b4e8,_0x6f8635=_0x49b4e8;for(let _0x3ba0f1=_0x28cc9a[_0x49c642(0x29a)]-0x1;_0x3ba0f1>=0x0;_0x3ba0f1--){const {unitID:_0x4f51b2,undoMutations:_0x3828aa,redoMutations:_0x210872}=_0x28cc9a[_0x3ba0f1],_0x38cafa=this[_0x49c642(0x318)][_0x49c642(0x1b6)](_0x3e8a12,_0x3828aa),_0x1a4b19=this[_0x49c642(0x318)]['transformMutationsWithChangeset'](_0x6f8635,_0x210872);if(S[_0x49c642(0x1bd)](_0x38cafa)||S['isTransformMutationsWithChangesetFailure'](_0x1a4b19)){this['_logService'][_0x49c642(0x461)](_0x49c642(0x2f6),_0x49c642(0x59b),_0x38cafa,_0x1a4b19);break;}_0x3e8a12=_0x38cafa['c1Prime'],_0x6f8635=_0x1a4b19[_0x49c642(0x160)],_0xd51699[_0x49c642(0x17e)]({'unitID':_0x4f51b2,'undoMutations':_0x38cafa[_0x49c642(0x326)],'redoMutations':_0x1a4b19[_0x49c642(0x326)]});}return _0xd51699[_0x49c642(0x3ef)]();}};It=Fr([Ne(0x0,a[_0x2683e6(0x468)]),Ne(0x1,a['ICommandService']),Ne(0x2,a['IContextService']),Ne(0x3,S[_0x2683e6(0x1e3)]),Ne(0x4,a['ILogService'])],It);class An extends a[_0x2683e6(0x1e0)]{constructor(){const _0x2f4040=_0x2683e6;super(),I(this,'urlChange$'),this[_0x2f4040(0x5b7)]=A['fromEvent'](window,_0x2f4040(0x16a))[_0x2f4040(0x36b)](A[_0x2f4040(0x35f)](this[_0x2f4040(0x534)]),A[_0x2f4040(0x4dd)](0x1),A[_0x2f4040(0x22d)](void 0x0));}['setParam'](_0x3c9ecb,_0x244bb2,_0x461609=!0x1){const _0xe509e1=_0x2683e6,_0x39dd22=new URL(window[_0xe509e1(0x286)][_0xe509e1(0x56a)]);_0x39dd22[_0xe509e1(0x4f6)]['set'](_0x3c9ecb,_0x244bb2),_0x461609?window[_0xe509e1(0x3c0)][_0xe509e1(0x415)]('','',_0x39dd22[_0xe509e1(0x155)]()):window['history'][_0xe509e1(0x317)]('','',_0x39dd22[_0xe509e1(0x155)]());}[_0x2683e6(0x533)](_0xd6e44f,_0x1b17bd=!0x1){const _0x556beb=_0x2683e6,_0x327077=new URL(window[_0x556beb(0x286)]['href']);_0x327077[_0x556beb(0x4f6)][_0x556beb(0x27e)](_0xd6e44f),_0x1b17bd?window['history'][_0x556beb(0x415)]('','',_0x327077[_0x556beb(0x155)]()):window[_0x556beb(0x3c0)][_0x556beb(0x317)]('','',_0x327077[_0x556beb(0x155)]());}['getParam'](_0x3bc9c2){const _0x2412ab=_0x2683e6;var _0x296989;return(_0x296989=new URL(window[_0x2412ab(0x286)][_0x2412ab(0x56a)])[_0x2412ab(0x4f6)][_0x2412ab(0x553)](_0x3bc9c2))!=null?_0x296989:void 0x0;}}var Nn=Object[_0x2683e6(0x1e7)],Vr=Object[_0x2683e6(0x181)],Gr=(_0x27a88c,_0x558b78,_0x50ef88)=>_0x558b78 in _0x27a88c?Nn(_0x27a88c,_0x558b78,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x50ef88}):_0x27a88c[_0x558b78]=_0x50ef88,Yr=(_0x20f56d,_0x7111ad,_0x2b5168,_0x91b3bf)=>{for(var _0x1ce1fb=_0x91b3bf>0x1?void 0x0:_0x91b3bf?Vr(_0x7111ad,_0x2b5168):_0x7111ad,_0x2e4415=_0x20f56d['length']-0x1,_0x3139f4;_0x2e4415>=0x0;_0x2e4415--)(_0x3139f4=_0x20f56d[_0x2e4415])&&(_0x1ce1fb=(_0x91b3bf?_0x3139f4(_0x7111ad,_0x2b5168,_0x1ce1fb):_0x3139f4(_0x1ce1fb))||_0x1ce1fb);return _0x91b3bf&&_0x1ce1fb&&Nn(_0x7111ad,_0x2b5168,_0x1ce1fb),_0x1ce1fb;},He=(_0x162720,_0x2acdd0)=>(_0x23e6ba,_0x3b0ec0)=>_0x2acdd0(_0x23e6ba,_0x3b0ec0,_0x162720),Kr=(_0x5ec457,_0xa158d4,_0x3f83db)=>Gr(_0x5ec457,_0xa158d4+'',_0x3f83db);const qr=_0x2683e6(0x4c7);exports[_0x2683e6(0x384)]=class extends a[_0x2683e6(0x3d0)]{constructor(_0x2c8119=zn,_0x41a69c,_0x5ee6c8,_0xd573d7,_0x362a01){const _0x25b614=_0x2683e6;super(),this[_0x25b614(0x369)]=_0x2c8119,this[_0x25b614(0x577)]=_0x41a69c,this[_0x25b614(0x233)]=_0x5ee6c8,this[_0x25b614(0x3e9)]=_0xd573d7,this['_configService']=_0x362a01;const {..._0x3c8693}=this[_0x25b614(0x369)];this['_configService'][_0x25b614(0x42f)](te,_0x3c8693);}['onStarting'](){const _0x31750e=_0x2683e6;this[_0x31750e(0x49f)](),this[_0x31750e(0x601)]();}[_0x2683e6(0x214)](){const _0x52550f=_0x2683e6;a[_0x52550f(0x3cf)](this[_0x52550f(0x3e9)],[[Ve]]);}[_0x2683e6(0x2af)](){const _0x4e3435=_0x2683e6;this[_0x4e3435(0x3b6)]();}[_0x2683e6(0x49f)](){const _0x46a5a4=_0x2683e6;var _0x578fd4,_0xcb1e5e,_0x1598b5,_0x3e381e;this[_0x46a5a4(0x3e9)]['has'](a['IUndoRedoService'])&&this[_0x46a5a4(0x577)][_0x46a5a4(0x461)](_0x46a5a4(0x531),_0x46a5a4(0x27a));const _0x1c9137=[[a[_0x46a5a4(0x5cb)],{'useClass':It}],[exports[_0x46a5a4(0x17a)]],[Ot],[wt,{'useClass':An}],[exports[_0x46a5a4(0x184)]],[exports[_0x46a5a4(0x604)]],[Z[_0x46a5a4(0x4b3)]],[ke],[Fe],[Be],[We],[Rt],[Ge],[Ye],[Tt],[Ke],[bt,{'useClass':(_0xcb1e5e=(_0x578fd4=this['_config'])==null?void 0x0:_0x578fd4[_0x46a5a4(0x3a5)])!=null?_0xcb1e5e:exports[_0x46a5a4(0x5bb)]}],[S[_0x46a5a4(0x24e)],{'useClass':exports['SnapshotServerOverHTTPService']}],[a[_0x46a5a4(0x3a3)],{'useClass':exports[_0x46a5a4(0x14f)]}],[ne[_0x46a5a4(0x29d)],{'useClass':exports[_0x46a5a4(0x187)]}],[exports[_0x46a5a4(0x3de)]],[exports[_0x46a5a4(0x323)]],[exports['DesktopCollaborationStatusDisplayController']],[Ve],[De]];(_0x1598b5=this[_0x46a5a4(0x369)])!=null&&_0x1598b5[_0x46a5a4(0x4e9)]&&_0x1c9137[_0x46a5a4(0x17e)]([qe,{'useClass':Oi}]),a[_0x46a5a4(0x5cc)](this['_injector'],a[_0x46a5a4(0x372)](_0x1c9137,(_0x3e381e=this[_0x46a5a4(0x369)])==null?void 0x0:_0x3e381e[_0x46a5a4(0x3bb)]));}[_0x2683e6(0x3b6)](){const _0xab0536=_0x2683e6;this[_0xab0536(0x427)](this[_0xab0536(0x233)]['registerRenderModule'](a[_0xab0536(0x342)]['UNIVER_DOC'],[pt])),this[_0xab0536(0x427)](this['_renderManagerService']['registerRenderModule'](a[_0xab0536(0x342)]['UNIVER_SHEET'],[gt]));}['_initDependencies'](){const _0x4208bf=_0x2683e6;var _0x44897d,_0x3c4ef1;this['_injector'][_0x4208bf(0x553)](Z[_0x4208bf(0x2a2)])[_0x4208bf(0x5e8)]({'priority':0x14,'interceptor':Z[_0x4208bf(0x341)]({'maxParallel':0x6})}),(_0x44897d=this[_0x4208bf(0x369)])!=null&&_0x44897d[_0x4208bf(0x49e)]||this[_0x4208bf(0x3e9)]['get'](exports[_0x4208bf(0x604)])[_0x4208bf(0x51a)](),(_0x3c4ef1=this[_0x4208bf(0x369)])!=null&&_0x3c4ef1['enableAuthServer']&&a[_0x4208bf(0x3cf)](this[_0x4208bf(0x3e9)],[[Ge]]),a[_0x4208bf(0x3cf)](this[_0x4208bf(0x3e9)],[[Ye],[De],[exports['DataLoaderController']],[exports[_0x4208bf(0x3de)]],[exports[_0x4208bf(0x20d)]],[Ke]]);}},Kr(exports['UniverCollaborationClientPlugin'],_0x2683e6(0x4b7),qr),exports[_0x2683e6(0x384)]=Yr([a['DependentOn'](S[_0x2683e6(0x3df)],Z[_0x2683e6(0x517)]),He(0x1,a[_0x2683e6(0x5a9)]),He(0x2,K['IRenderManagerService']),He(0x3,a[_0x2683e6(0x22b)](a['Injector'])),He(0x4,a[_0x2683e6(0x58f)])],exports['UniverCollaborationClientPlugin']),exports[_0x2683e6(0x39e)]=Rn,exports[_0x2683e6(0x1f0)]=on,exports['COLLAB_WEB_SOCKET_URL_KEY']=en,exports[_0x2683e6(0x52e)]=q,exports['CollaborationStatusDisplay']=Tn,exports[_0x2683e6(0x355)]=Tt,exports[_0x2683e6(0x2d5)]=tn,exports[_0x2683e6(0x3f5)]=Ct,exports[_0x2683e6(0x1a9)]=bt,exports[_0x2683e6(0x572)]=wt,exports['LOCAL_CACHE_INTERVAL_KEY']=rn,exports[_0x2683e6(0x481)]=an,exports['RETRY_CONNECTING_MAX_COUNT_KEY']=sn,exports[_0x2683e6(0x3f4)]=Bn,exports['SNAPSHOT_SERVER_URL_KEY']=Zt,exports[_0x2683e6(0x4f8)]=Qt,exports[_0x2683e6(0x5e3)]=se,exports[_0x2683e6(0x437)]=Sn,exports[_0x2683e6(0x584)]=An,exports[_0x2683e6(0x4e3)]=hn,exports['serializeCombRequest']=_n;