@univerjs-pro/collaboration-client 0.5.0-nightly.202411101605 → 0.5.0-nightly.202411120616
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +16 -16
package/lib/cjs/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';const _0x38c3ff=_0x4762;(function(_0x30b1cc,_0x247dd5){const _0x1e6895=_0x4762,_0x117a0f=_0x30b1cc();while(!![]){try{const _0x67e736=parseInt(_0x1e6895(0x1ef))/0x1*(-parseInt(_0x1e6895(0x2e6))/0x2)+-parseInt(_0x1e6895(0x578))/0x3*(-parseInt(_0x1e6895(0x4a3))/0x4)+parseInt(_0x1e6895(0x280))/0x5+-parseInt(_0x1e6895(0x49a))/0x6*(-parseInt(_0x1e6895(0x3ca))/0x7)+-parseInt(_0x1e6895(0x1bb))/0x8+-parseInt(_0x1e6895(0x527))/0x9*(-parseInt(_0x1e6895(0x46b))/0xa)+parseInt(_0x1e6895(0x35c))/0xb*(-parseInt(_0x1e6895(0x19f))/0xc);if(_0x67e736===_0x247dd5)break;else _0x117a0f['push'](_0x117a0f['shift']());}catch(_0x34e182){_0x117a0f['push'](_0x117a0f['shift']());}}}(_0x2079,0x8e56d));var Ln=Object[_0x38c3ff(0x1c1)],xn=(_0x3ec9b7,_0xd439c4,_0x3ca1b5)=>_0xd439c4 in _0x3ec9b7?Ln(_0x3ec9b7,_0xd439c4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3ca1b5}):_0x3ec9b7[_0xd439c4]=_0x3ca1b5,I=(_0x18c2c0,_0x49b7cb,_0x5d12b8)=>xn(_0x18c2c0,typeof _0x49b7cb!=_0x38c3ff(0x57a)?_0x49b7cb+'':_0x49b7cb,_0x5d12b8);Object[_0x38c3ff(0x1c1)](exports,Symbol['toStringTag'],{'value':_0x38c3ff(0x235)});const a=require(_0x38c3ff(0x239)),A=require('rxjs'),V=require(_0x38c3ff(0x22a)),ge=require(_0x38c3ff(0x3c9)),ee=require(_0x38c3ff(0x1b0)),Z=require(_0x38c3ff(0x3ab)),S=require(_0x38c3ff(0x468)),jn=require(_0x38c3ff(0x537)),J=require(_0x38c3ff(0x565)),k=require('@univerjs/sheets'),K=require(_0x38c3ff(0x3c4)),ye=require(_0x38c3ff(0x304)),ne=require(_0x38c3ff(0x1ec)),Pt=require(_0x38c3ff(0x3d3)),Re=require(_0x38c3ff(0x469)),ae=require('react'),$n=require('@univerjs/rpc'),Zt='SNAPSHOT_SERVER_URL_KEY',Hn=_0x38c3ff(0x56d),Qt=_0x38c3ff(0x462),Bn=_0x38c3ff(0x5c9),kn=0x7d0,en=_0x38c3ff(0x1db),Wn=_0x38c3ff(0x377),tn=_0x38c3ff(0x45d),Fn=0x7530,Ct=_0x38c3ff(0x49d),nn=0x4e20,Vn=0x4e20,sn=_0x38c3ff(0x4d9),Gn=0x3,rn=_0x38c3ff(0x5de),Yn=0x3e8,on='COLLAB_SUBMIT_CHANGESET_URL',Kn=_0x38c3ff(0x410),an=_0x38c3ff(0x216),qn=_0x38c3ff(0x1c2);var cn=(_0x2d76e3=>(_0x2d76e3[_0x2d76e3[_0x38c3ff(0x3c1)]=0x0]='UNDEFINED',_0x2d76e3[_0x2d76e3['OK']=0x1]='OK',_0x2d76e3[_0x2d76e3[_0x38c3ff(0x60c)]=0x2]=_0x38c3ff(0x60c),_0x2d76e3[_0x2d76e3['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x2d76e3[_0x2d76e3['NOT_FOUND']=0x4]=_0x38c3ff(0x567),_0x2d76e3[_0x2d76e3[_0x38c3ff(0x5b4)]=0x5]='UNAUTHENTICATED',_0x2d76e3[_0x2d76e3['ALREADY_EXISTS']=0x6]=_0x38c3ff(0x48a),_0x2d76e3[_0x2d76e3[_0x38c3ff(0x5f3)]=0x7]=_0x38c3ff(0x5f3),_0x2d76e3[_0x2d76e3[_0x38c3ff(0x36d)]=0x8]=_0x38c3ff(0x36d),_0x2d76e3[_0x2d76e3[_0x38c3ff(0x621)]=0x9]=_0x38c3ff(0x621),_0x2d76e3[_0x2d76e3[_0x38c3ff(0x378)]=0x1389]=_0x38c3ff(0x378),_0x2d76e3[_0x2d76e3[_0x38c3ff(0x20c)]=0x1771]=_0x38c3ff(0x20c),_0x2d76e3[_0x2d76e3[_0x38c3ff(0x57d)]=0x1772]=_0x38c3ff(0x57d),_0x2d76e3[_0x2d76e3[_0x38c3ff(0x39c)]=0x1773]=_0x38c3ff(0x39c),_0x2d76e3[_0x2d76e3[_0x38c3ff(0x36c)]=0x1b59]=_0x38c3ff(0x36c),_0x2d76e3[_0x2d76e3[_0x38c3ff(0x19a)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x2d76e3[_0x2d76e3[_0x38c3ff(0x638)]=0x1b5b]=_0x38c3ff(0x638),_0x2d76e3[_0x2d76e3[_0x38c3ff(0x45f)]=0x1b5c]=_0x38c3ff(0x45f),_0x2d76e3[_0x2d76e3[_0x38c3ff(0x3b4)]=0x1b5d]=_0x38c3ff(0x3b4),_0x2d76e3[_0x2d76e3['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x38c3ff(0x4f2),_0x2d76e3[_0x2d76e3['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x38c3ff(0x24e),_0x2d76e3[_0x2d76e3[_0x38c3ff(0x508)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x2d76e3[_0x2d76e3[_0x38c3ff(0x5ba)]=0x232b]=_0x38c3ff(0x5ba),_0x2d76e3[_0x2d76e3[_0x38c3ff(0x3e1)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x2d76e3[_0x2d76e3[_0x38c3ff(0x63a)]=0x232d]=_0x38c3ff(0x63a),_0x2d76e3[_0x2d76e3[_0x38c3ff(0x259)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x2d76e3[_0x2d76e3[_0x38c3ff(0x210)]=0x2712]=_0x38c3ff(0x210),_0x2d76e3[_0x2d76e3[_0x38c3ff(0x39f)]=0x2713]=_0x38c3ff(0x39f),_0x2d76e3[_0x2d76e3[_0x38c3ff(0x1ee)]=0x2714]=_0x38c3ff(0x1ee),_0x2d76e3[_0x2d76e3['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x2d76e3))(cn||{}),ie=(_0x625abe=>(_0x625abe[_0x625abe[_0x38c3ff(0x58e)]=0x0]=_0x38c3ff(0x58e),_0x625abe[_0x625abe[_0x38c3ff(0x649)]=0x1]=_0x38c3ff(0x649),_0x625abe[_0x625abe[_0x38c3ff(0x23d)]=0x2]=_0x38c3ff(0x23d),_0x625abe[_0x625abe['UNIVER_SLIDE']=0x3]=_0x38c3ff(0x4eb),_0x625abe[_0x625abe[_0x38c3ff(0x3a0)]=0x4]=_0x38c3ff(0x3a0),_0x625abe[_0x625abe['UNRECOGNIZED']=-0x1]=_0x38c3ff(0x546),_0x625abe))(ie||{}),G=(_0x3371af=>(_0x3371af[_0x3371af['UNKNOWN_CMD']=0x0]=_0x38c3ff(0x51b),_0x3371af[_0x3371af[_0x38c3ff(0x2a5)]=0x1]='HELLO',_0x3371af[_0x3371af['JOIN']=0x2]='JOIN',_0x3371af[_0x3371af[_0x38c3ff(0x407)]=0x3]=_0x38c3ff(0x407),_0x3371af[_0x3371af[_0x38c3ff(0x2b0)]=0x4]=_0x38c3ff(0x2b0),_0x3371af[_0x3371af['HEARTBEAT']=0x5]=_0x38c3ff(0x481),_0x3371af[_0x3371af[_0x38c3ff(0x329)]=0x6]='RECV',_0x3371af[_0x3371af[_0x38c3ff(0x546)]=-0x1]=_0x38c3ff(0x546),_0x3371af))(G||{}),Et=(_0x43efcd=>(_0x43efcd[_0x43efcd['UNKNOWN_CODE']=0x0]='UNKNOWN_CODE',_0x43efcd[_0x43efcd['OK']=0x1]='OK',_0x43efcd[_0x43efcd[_0x38c3ff(0x498)]=0x2]='FAIL',_0x43efcd[_0x43efcd['UNRECOGNIZED']=-0x1]=_0x38c3ff(0x546),_0x43efcd))(Et||{}),ln=(_0x36c035=>(_0x36c035[_0x36c035[_0x38c3ff(0x594)]=0x0]=_0x38c3ff(0x594),_0x36c035[_0x36c035[_0x38c3ff(0x466)]=0x1]=_0x38c3ff(0x466),_0x36c035[_0x36c035[_0x38c3ff(0x580)]=0x2]='HttpExport',_0x36c035[_0x36c035['UnitEmbedded']=0x3]='UnitEmbedded',_0x36c035[_0x36c035[_0x38c3ff(0x2ed)]=0x4]=_0x38c3ff(0x2ed),_0x36c035[_0x36c035['UNRECOGNIZED']=-0x1]=_0x38c3ff(0x546),_0x36c035))(ln||{});const te='collaboration-client.config',zn={};function hn(_0x5105a9){const _0x20f741=_0x38c3ff;var _0x3f0134,_0xaa3f14,_0x47f986,_0x44bfef,_0x4c2084;const _0x5c717d=_0x5105a9[_0x20f741(0x2e1)],_0x31786f=JSON['parse'](_0x5c717d);switch(_0x31786f[_0x20f741(0x4fa)]){case G['HEARTBEAT']:case G[_0x20f741(0x2a5)]:{const _0x26b657=_0x31786f[_0x20f741(0x31a)];return{..._0x31786f,'data':_0x26b657,'cmd':_0x31786f[_0x20f741(0x4fa)]};}case G[_0x20f741(0x344)]:{const _0x223eab=_0x31786f[_0x20f741(0x543)];return{..._0x31786f,'data':_0x223eab,'cmd':_0x31786f['cmd']};}case G[_0x20f741(0x329)]:{const _0x2d8bed=_0x31786f[_0x20f741(0x290)];switch(_0x2d8bed['eventID']){case S['CollaborationEvent'][_0x20f741(0x35d)]:return{..._0x31786f,'data':{..._0x2d8bed,'data':(_0x3f0134=_0x2d8bed[_0x20f741(0x52a)])==null?void 0x0:_0x3f0134['cs']},'cmd':_0x31786f[_0x20f741(0x4fa)]};case S['CollaborationEvent']['CHANGESET_ACK']:return{..._0x31786f,'data':{..._0x2d8bed,'data':(_0xaa3f14=_0x2d8bed[_0x20f741(0x274)])==null?void 0x0:_0xaa3f14['cs']},'cmd':_0x31786f[_0x20f741(0x4fa)]};case S['CollaborationEvent'][_0x20f741(0x5ec)]:return{..._0x31786f,'data':{..._0x2d8bed,'data':(_0x47f986=_0x2d8bed[_0x20f741(0x5e8)])==null?void 0x0:_0x47f986['cs']},'cmd':_0x31786f[_0x20f741(0x4fa)]};case S['CollaborationEvent'][_0x20f741(0x4b5)]:return{..._0x31786f,'data':{..._0x2d8bed,'data':(_0x44bfef=_0x2d8bed['csRejEvent'])==null?void 0x0:_0x44bfef['cs']},'cmd':_0x31786f[_0x20f741(0x4fa)]};case S[_0x20f741(0x201)][_0x20f741(0x57e)]:return{..._0x31786f,'data':{..._0x2d8bed,'data':(_0x4c2084=_0x2d8bed[_0x20f741(0x52d)])==null?void 0x0:_0x4c2084['cs']},'cmd':_0x31786f['cmd']};case S[_0x20f741(0x201)]['UPDATE_CURSOR']:return{..._0x31786f,'data':{..._0x2d8bed,'data':_0x2d8bed[_0x20f741(0x51e)]},'cmd':_0x31786f[_0x20f741(0x4fa)]};case S[_0x20f741(0x201)][_0x20f741(0x307)]:return{..._0x31786f,'data':{..._0x2d8bed,'data':_0x2d8bed['joinEvent']},'cmd':_0x31786f[_0x20f741(0x4fa)]};case S[_0x20f741(0x201)]['USERS_LEAVE']:return{..._0x31786f,'data':{..._0x2d8bed,'data':_0x2d8bed[_0x20f741(0x5f6)]},'cmd':_0x31786f[_0x20f741(0x4fa)]};case S[_0x20f741(0x201)]['LIVESHARE_NEW_HOST']:return{..._0x31786f,'data':{..._0x2d8bed,'data':_0x2d8bed['liveShareNewHost']},'cmd':_0x31786f[_0x20f741(0x4fa)]};case S[_0x20f741(0x201)]['LIVESHARE_FETCH_OPERATIONS']:case S[_0x20f741(0x201)][_0x20f741(0x253)]:return{..._0x31786f,'data':{..._0x2d8bed,'data':_0x2d8bed['liveShareOperation']},'cmd':_0x31786f['cmd']};case S['CollaborationEvent'][_0x20f741(0x59f)]:return{..._0x31786f,'data':{..._0x2d8bed,'data':_0x2d8bed['liveShareNewHost']},'cmd':_0x31786f[_0x20f741(0x4fa)]};case S['CollaborationEvent'][_0x20f741(0x369)]:return{..._0x31786f,'data':_0x2d8bed,'cmd':_0x31786f[_0x20f741(0x4fa)]};case S['CollaborationEvent']['COMMENT_UPDATE']:return{..._0x31786f,'data':{..._0x2d8bed,'data':_0x2d8bed[_0x20f741(0x4b4)]},'cmd':_0x31786f[_0x20f741(0x4fa)]};case S[_0x20f741(0x201)][_0x20f741(0x382)]:return{..._0x31786f,'data':{..._0x2d8bed,'data':_0x2d8bed[_0x20f741(0x617)]},'cmd':_0x31786f[_0x20f741(0x4fa)]};case S[_0x20f741(0x201)][_0x20f741(0x641)]:return{..._0x31786f,'data':{..._0x2d8bed,'data':_0x2d8bed[_0x20f741(0x522)]},'cmd':_0x31786f[_0x20f741(0x4fa)]};default:return _0x31786f;}}default:return _0x31786f;}}function _n(_0x2fece7){const _0x1bcb8d=_0x38c3ff;switch(_0x2fece7[_0x1bcb8d(0x4fa)]){case G[_0x1bcb8d(0x481)]:case G[_0x1bcb8d(0x2a5)]:return JSON[_0x1bcb8d(0x3e4)]({'cmd':_0x2fece7['cmd'],'routeKey':_0x2fece7[_0x1bcb8d(0x5eb)]});case G[_0x1bcb8d(0x2b0)]:{let _0x17a114;switch(_0x2fece7[_0x1bcb8d(0x2e1)][_0x1bcb8d(0x2bd)]){case S['CollaborationEvent'][_0x1bcb8d(0x46d)]:{_0x17a114={'eventID':S[_0x1bcb8d(0x201)][_0x1bcb8d(0x46d)],'updateCursorEvent':_0x2fece7[_0x1bcb8d(0x2e1)][_0x1bcb8d(0x2e1)]};break;}case S[_0x1bcb8d(0x201)][_0x1bcb8d(0x5e0)]:{_0x17a114={'eventID':S[_0x1bcb8d(0x201)][_0x1bcb8d(0x5e0)],'leaveEvent':_0x2fece7[_0x1bcb8d(0x2e1)][_0x1bcb8d(0x2e1)]};break;}case S[_0x1bcb8d(0x201)][_0x1bcb8d(0x307)]:{_0x17a114={'eventID':S[_0x1bcb8d(0x201)]['USERS_ENTER'],'joinEvent':_0x2fece7[_0x1bcb8d(0x2e1)][_0x1bcb8d(0x2e1)]};break;}case S[_0x1bcb8d(0x201)]['LIVESHARE_NEW_HOST']:{_0x17a114={'eventID':S[_0x1bcb8d(0x201)]['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x2fece7['data']['data']};break;}case S[_0x1bcb8d(0x201)]['LIVESHARE_OPERATION']:{_0x17a114={'eventID':S[_0x1bcb8d(0x201)][_0x1bcb8d(0x253)],'liveShareOperation':_0x2fece7[_0x1bcb8d(0x2e1)]['data']};break;}case S['CollaborationEvent'][_0x1bcb8d(0x59f)]:{_0x17a114={'eventID':S[_0x1bcb8d(0x201)][_0x1bcb8d(0x59f)],'liveShareTerminate':_0x2fece7[_0x1bcb8d(0x2e1)][_0x1bcb8d(0x2e1)]};break;}case S[_0x1bcb8d(0x201)][_0x1bcb8d(0x47f)]:{_0x17a114={'eventID':S[_0x1bcb8d(0x201)][_0x1bcb8d(0x47f)],'liveShareRequestHost':_0x2fece7[_0x1bcb8d(0x2e1)]['data']};break;}case S[_0x1bcb8d(0x201)][_0x1bcb8d(0x3d7)]:{_0x17a114={'eventID':S[_0x1bcb8d(0x201)][_0x1bcb8d(0x3d7)]};break;}default:_0x17a114={'eventID':_0x2fece7['data']['eventID']};}return JSON[_0x1bcb8d(0x3e4)]({'cmd':_0x2fece7[_0x1bcb8d(0x4fa)],'routeKey':_0x2fece7['routeKey'],'collaMsg':_0x17a114});}case G['JOIN']:return JSON[_0x1bcb8d(0x3e4)]({'cmd':_0x2fece7[_0x1bcb8d(0x4fa)],'routeKey':_0x2fece7['routeKey'],'joinReq':_0x2fece7[_0x1bcb8d(0x2e1)]});case G[_0x1bcb8d(0x407)]:return JSON['stringify']({'cmd':_0x2fece7[_0x1bcb8d(0x4fa)],'routeKey':_0x2fece7[_0x1bcb8d(0x5eb)],'leaveReq':_0x2fece7[_0x1bcb8d(0x2e1)]});default:throw new Error(_0x1bcb8d(0x480));}}var Xn=Object[_0x38c3ff(0x1c1)],Jn=Object[_0x38c3ff(0x336)],Zn=(_0x57a918,_0x4fa490,_0x3c0144,_0x3e4906)=>{const _0x3e121e=_0x38c3ff;for(var _0xe146a4=_0x3e4906>0x1?void 0x0:_0x3e4906?Jn(_0x4fa490,_0x3c0144):_0x4fa490,_0x225c45=_0x57a918[_0x3e121e(0x58c)]-0x1,_0x3d1fd8;_0x225c45>=0x0;_0x225c45--)(_0x3d1fd8=_0x57a918[_0x225c45])&&(_0xe146a4=(_0x3e4906?_0x3d1fd8(_0x4fa490,_0x3c0144,_0xe146a4):_0x3d1fd8(_0xe146a4))||_0xe146a4);return _0x3e4906&&_0xe146a4&&Xn(_0x4fa490,_0x3c0144,_0xe146a4),_0xe146a4;},we=(_0x4b5084,_0x5ed7d3)=>(_0x2fca0e,_0x2b3ed4)=>_0x5ed7d3(_0x2fca0e,_0x2b3ed4,_0x4b5084);const bt=a['createIdentifier']('univer-pro.collaboration-client-socket-service');function Qn(_0x34d1b2,_0x385c35,_0x4eb36a){const _0x85ff1e=_0x38c3ff;return _0x34d1b2+'/'+_0x385c35+_0x85ff1e(0x4e1)+_0x4eb36a+_0x85ff1e(0x40e);}exports[_0x38c3ff(0x476)]=class extends a[_0x38c3ff(0x1a8)]{constructor(_0x5ce073,_0x1270c4,_0x516f7c,_0x35a49e,_0x36dd99){const _0x5cc974=_0x38c3ff;super(),this['_http']=_0x5ce073,this[_0x5cc974(0x1c5)]=_0x1270c4,this[_0x5cc974(0x1f5)]=_0x516f7c,this[_0x5cc974(0x4ce)]=_0x35a49e,this[_0x5cc974(0x2b8)]=_0x36dd99;}[_0x38c3ff(0x3df)](_0x32de72){const _0x780fa=_0x38c3ff,_0x4696e8=this['_ws'][_0x780fa(0x3df)](_0x32de72);if(!_0x4696e8)throw new Error(_0x780fa(0x53e));const _0x42747f=new a[(_0x780fa(0x5ad))](),_0x25f6c4=new A[(_0x780fa(0x3cf))]();_0x42747f[_0x780fa(0x425)](_0x4696e8[_0x780fa(0x1ed)][_0x780fa(0x47b)](_0x5e78a1=>_0x25f6c4[_0x780fa(0x4c4)](_0x5e78a1))),_0x42747f[_0x780fa(0x425)](a[_0x780fa(0x2c7)](()=>_0x25f6c4[_0x780fa(0x40d)]()));const _0x39f4d5=new A['Subject']();_0x42747f[_0x780fa(0x425)](_0x4696e8[_0x780fa(0x659)][_0x780fa(0x47b)](_0x5d593b=>_0x39f4d5['next'](_0x5d593b))),_0x42747f['add'](a[_0x780fa(0x2c7)](()=>_0x39f4d5[_0x780fa(0x40d)]()));const _0x43ae26=new A[(_0x780fa(0x3cf))]();_0x42747f[_0x780fa(0x425)](_0x4696e8[_0x780fa(0x646)][_0x780fa(0x47b)](_0x2b3746=>{const _0x48903a=_0x780fa,_0x3b17aa=hn(_0x2b3746);_0x43ae26[_0x48903a(0x4c4)](_0x3b17aa);})),_0x42747f[_0x780fa(0x425)](a[_0x780fa(0x2c7)](()=>_0x43ae26[_0x780fa(0x40d)]()));let _0x44952d;const _0x45d99f=()=>{const _0x54f66a=_0x780fa;_0x39f4d5[_0x54f66a(0x4c4)](new Event(_0x54f66a(0x574))),_0x25f6c4[_0x54f66a(0x4c4)](new CloseEvent('connection\x20error')),_0x44952d['close']();};return _0x44952d={'memberID':'','close$':_0x25f6c4['asObservable'](),'error$':_0x39f4d5[_0x780fa(0x4a7)](),'open$':_0x4696e8[_0x780fa(0x24b)],'message$':_0x43ae26['asObservable'](),'send':_0x3bfe83=>{const _0x5935e2=_0x780fa;if(_0x3bfe83[_0x5935e2(0x4fa)]===G[_0x5935e2(0x2b0)]){if(_0x3bfe83['data']['eventID']===S[_0x5935e2(0x201)][_0x5935e2(0x512)]){this[_0x5935e2(0x33d)](_0x44952d,_0x3bfe83['data'])[_0x5935e2(0x423)](_0x293b18=>{const _0x50a9b0=_0x5935e2;this['_logService'][_0x50a9b0(0x55e)](_0x293b18),_0x45d99f();});return;}if(_0x3bfe83[_0x5935e2(0x2e1)][_0x5935e2(0x2bd)]===S[_0x5935e2(0x201)]['FETCH_MISSING']){const _0x3356ac=_0x3bfe83[_0x5935e2(0x2e1)];this['_fetchMissChangesets'](_0x3356ac)[_0x5935e2(0x1fb)](_0x2973fa=>{const _0x316e5a=_0x5935e2;_0x43ae26[_0x316e5a(0x4c4)]({'cmd':G[_0x316e5a(0x329)],'code':Et['OK'],'routeKey':_0x3356ac[_0x316e5a(0x2e1)][_0x316e5a(0x364)],'routeType':'','data':{'eventID':S[_0x316e5a(0x201)]['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x2973fa}}});})[_0x5935e2(0x423)](_0x4847f0=>{const _0x1e3d30=_0x5935e2;this[_0x1e3d30(0x4ce)][_0x1e3d30(0x55e)](_0x4847f0),_0x45d99f();});return;}}_0x4696e8[_0x5935e2(0x5bc)](_n(_0x3bfe83));},'close':()=>{const _0x47e9a1=_0x780fa;_0x4696e8[_0x47e9a1(0x61a)](),_0x42747f[_0x47e9a1(0x2da)]();}},_0x44952d;}async['_submitChangeset'](_0x2f28a6,_0x5ec7ec){const _0x21bd45=_0x38c3ff;var _0x5ea943,_0x2bdd39;const {unitType:_0x197c50,unitID:_0x2d0921,changeset:_0x1f3fff}=_0x5ec7ec['data'],_0x1b0eff={'unitID':_0x2d0921,'memberID':_0x2f28a6[_0x21bd45(0x3a6)],'type':_0x197c50,'changeset':S[_0x21bd45(0x2e0)](_0x1f3fff)},_0x115c0e=this['_configService'][_0x21bd45(0x556)](on),_0x46c451=this[_0x21bd45(0x1f5)][_0x21bd45(0x556)](te),_0x3548ca=Qn((_0x2bdd39=(_0x5ea943=_0x46c451==null?void 0x0:_0x46c451[_0x21bd45(0x4a5)])!=null?_0x5ea943:_0x115c0e)!=null?_0x2bdd39:Kn,_0x197c50,_0x2d0921);try{await this['_http']['post'](_0x3548ca,{'body':_0x1b0eff});}catch(_0x366115){throw this[_0x21bd45(0x4ce)][_0x21bd45(0x55e)](_0x21bd45(0x57c),_0x21bd45(0x272)),_0x366115;}}async['_fetchMissChangesets'](_0x3d27db){const _0x37d190=_0x38c3ff,{unitID:_0x1908b0,from:_0xcda849,to:_0x3c9f5e,unitType:_0x11ce1b}=_0x3d27db[_0x37d190(0x2e1)];return(await this[_0x37d190(0x2b8)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x1908b0,'type':_0x11ce1b,'from':_0xcda849,'to':_0x3c9f5e}))['changesets'];}},exports['CollaborationSocketService']=Zn([we(0x0,a[_0x38c3ff(0x2af)](Z[_0x38c3ff(0x627)])),we(0x1,a[_0x38c3ff(0x2af)](Z['WebSocketService'])),we(0x2,a[_0x38c3ff(0x326)]),we(0x3,a[_0x38c3ff(0x626)]),we(0x4,S['ISnapshotServerService'])],exports[_0x38c3ff(0x476)]);const ei=_0x38c3ff(0x3ac);function ti(_0x44429f){const _0x57f8f7=_0x38c3ff;return JSON[_0x57f8f7(0x3e4)](_0x44429f)['length'];}class Tt{constructor(){const _0x3e6fe9=_0x38c3ff;I(this,_0x3e6fe9(0x4d3),new A['Subject']()),I(this,_0x3e6fe9(0x2bc),this[_0x3e6fe9(0x4d3)][_0x3e6fe9(0x4a7)]());}[_0x38c3ff(0x2b3)](_0x29df0a){const _0x484569=_0x38c3ff;this['_commentUpdate$'][_0x484569(0x4c4)](_0x29df0a);}}var ni=Object[_0x38c3ff(0x1c1)],ii=Object[_0x38c3ff(0x336)],si=(_0x3a5f30,_0x21e227,_0x278d22,_0x537e9)=>{const _0x66668d=_0x38c3ff;for(var _0x547f48=_0x537e9>0x1?void 0x0:_0x537e9?ii(_0x21e227,_0x278d22):_0x21e227,_0xd0153c=_0x3a5f30[_0x66668d(0x58c)]-0x1,_0xc78e;_0xd0153c>=0x0;_0xd0153c--)(_0xc78e=_0x3a5f30[_0xd0153c])&&(_0x547f48=(_0x537e9?_0xc78e(_0x21e227,_0x278d22,_0x547f48):_0xc78e(_0x547f48))||_0x547f48);return _0x537e9&&_0x547f48&&ni(_0x21e227,_0x278d22,_0x547f48),_0x547f48;},Ut=(_0x786100,_0x557882)=>(_0xb40312,_0x520838)=>_0x557882(_0xb40312,_0x520838,_0x786100);exports[_0x38c3ff(0x41e)]=class extends a[_0x38c3ff(0x1a8)]{constructor(_0xc2fcd2,_0x1a043d){const _0x407b22=_0x38c3ff;super(),I(this,'_roomMembers',new Map()),(this['_univerInstanceService']=_0xc2fcd2,this[_0x407b22(0x40a)]=_0x1a043d,this[_0x407b22(0x4bd)](a[_0x407b22(0x2c7)](A[_0x407b22(0x1d2)](this[_0x407b22(0x393)][_0x407b22(0x3bc)](a['UniverInstanceType'][_0x407b22(0x23d)])['pipe'](V['map'](_0xb36c29=>_0xb36c29[_0x407b22(0x2ee)]())),this[_0x407b22(0x393)][_0x407b22(0x3bc)](a[_0x407b22(0x27f)][_0x407b22(0x649)])[_0x407b22(0x57b)](V['map'](_0x4ceb8e=>_0x4ceb8e['getUnitId']())),this[_0x407b22(0x393)][_0x407b22(0x3bc)](a[_0x407b22(0x27f)][_0x407b22(0x4eb)])[_0x407b22(0x57b)](V[_0x407b22(0x4d7)](_0x62acf0=>_0x62acf0['getUnitId']())))['subscribe'](_0x21ee53=>this[_0x407b22(0x1a4)](_0x21ee53)))));}[_0x38c3ff(0x3ff)](_0x588f32){const _0x58f855=_0x38c3ff;this[_0x58f855(0x40a)][_0x58f855(0x3ff)](_0x588f32);}[_0x38c3ff(0x35a)](){const _0x4b30cb=_0x38c3ff;return this[_0x4b30cb(0x40a)][_0x4b30cb(0x35a)]();}['updateMember'](_0x8d630d,_0x3099a4){const _0x260fcd=_0x38c3ff;let _0x154023=this[_0x260fcd(0x47e)]['get'](_0x8d630d);_0x154023||(_0x154023=new ri(),this[_0x260fcd(0x47e)][_0x260fcd(0x3e8)](_0x8d630d,_0x154023)),_0x154023['updateMember'](_0x3099a4);}['removeMember'](_0x23173e,_0x46dc5d){const _0x40fa95=_0x38c3ff,_0x16aff3=this[_0x40fa95(0x47e)][_0x40fa95(0x585)](_0x23173e);_0x16aff3&&_0x16aff3['removeMember'](_0x46dc5d);}[_0x38c3ff(0x308)](_0x2c5860){const _0x2fef0c=_0x38c3ff;return this[_0x2fef0c(0x47e)][_0x2fef0c(0x585)](_0x2c5860);}[_0x38c3ff(0x2ca)](_0x31c73e,_0x44de4b){const _0x330e60=_0x38c3ff,_0x245ba=this['_roomMembers'][_0x330e60(0x585)](_0x31c73e);if(_0x245ba)return _0x245ba['getMember'](_0x44de4b);}[_0x38c3ff(0x1a4)](_0x563ace){const _0x1b100c=_0x38c3ff,_0x4a04da=this['_roomMembers'][_0x1b100c(0x585)](_0x563ace);_0x4a04da&&(_0x4a04da['dispose'](),this['_roomMembers'][_0x1b100c(0x1d0)](_0x563ace));}[_0x38c3ff(0x2da)](){const _0x43fd39=_0x38c3ff;this['_roomMembers']['forEach'](_0x2e461=>_0x2e461['dispose']()),this[_0x43fd39(0x47e)][_0x43fd39(0x372)]();}},exports[_0x38c3ff(0x41e)]=si([Ut(0x0,a[_0x38c3ff(0x2a8)]),Ut(0x1,a[_0x38c3ff(0x2af)](a['UserManagerService']))],exports[_0x38c3ff(0x41e)]);class ri extends a['Disposable']{constructor(){const _0x4a9074=_0x38c3ff;super(...arguments),I(this,_0x4a9074(0x281),new Map());}[_0x38c3ff(0x2da)](){const _0x30161c=_0x38c3ff;this[_0x30161c(0x281)]['clear']();}[_0x38c3ff(0x4f9)](_0x58e74b){const _0x351fbe=_0x38c3ff;this[_0x351fbe(0x281)]['set'](_0x58e74b['memberID'],_0x58e74b);}['removeMember'](_0x361803){const _0x119995=_0x38c3ff;this[_0x119995(0x281)]['delete'](_0x361803);}[_0x38c3ff(0x2ca)](_0x2d7e25){const _0x3bc75c=_0x38c3ff;return this[_0x3bc75c(0x281)][_0x3bc75c(0x585)](_0x2d7e25);}[_0x38c3ff(0x29b)](){const _0x529a26=_0x38c3ff;return Array['from'](this[_0x529a26(0x281)][_0x529a26(0x1f7)]());}}var oi=Object[_0x38c3ff(0x1c1)],ai=Object['getOwnPropertyDescriptor'],ci=(_0x52dcd8,_0x60106c,_0x12f702,_0x347850)=>{for(var _0x261157=_0x347850>0x1?void 0x0:_0x347850?ai(_0x60106c,_0x12f702):_0x60106c,_0x53329b=_0x52dcd8['length']-0x1,_0x272f50;_0x53329b>=0x0;_0x53329b--)(_0x272f50=_0x52dcd8[_0x53329b])&&(_0x261157=(_0x347850?_0x272f50(_0x60106c,_0x12f702,_0x261157):_0x272f50(_0x261157))||_0x261157);return _0x347850&&_0x261157&&oi(_0x60106c,_0x12f702,_0x261157),_0x261157;},de=(_0x3ac8fb,_0x4786a9)=>(_0x28c963,_0x419a06)=>_0x4786a9(_0x28c963,_0x419a06,_0x3ac8fb),se=(_0x18d598=>(_0x18d598[_0x18d598[_0x38c3ff(0x340)]=0x0]=_0x38c3ff(0x340),_0x18d598[_0x18d598[_0x38c3ff(0x631)]=0x1]=_0x38c3ff(0x631),_0x18d598[_0x18d598['OFFLINE']=0x2]='OFFLINE',_0x18d598[_0x18d598[_0x38c3ff(0x1b4)]=0x3]=_0x38c3ff(0x1b4),_0x18d598))(se||{});exports[_0x38c3ff(0x4d6)]=class extends a['RxDisposable']{constructor(_0x1e7608,_0x22facd,_0x4919c7,_0x4af7b8,_0x4a6e6e,_0x211c45,_0xb5ccc7,_0x4db9de,_0x9ba3dd,_0x57e2da){const _0x144566=_0x38c3ff;super(),I(this,_0x144566(0x640),new A[(_0x144566(0x4fc))](0x0)),I(this,'sessionStatus$',this['_sessionStatus$'][_0x144566(0x4a7)]()),I(this,_0x144566(0x244),new A[(_0x144566(0x3cf))]()),I(this,_0x144566(0x604),this[_0x144566(0x244)][_0x144566(0x4a7)]()),I(this,_0x144566(0x4ff)),I(this,_0x144566(0x34d)),I(this,_0x144566(0x3e5)),I(this,'_shouldReportTelemetry',!0x1),I(this,_0x144566(0x360),null),(this['_unitID']=_0x1e7608,this[_0x144566(0x4ce)]=_0x4919c7,this[_0x144566(0x250)]=_0x4af7b8,this['_messageService']=_0x4a6e6e,this[_0x144566(0x1f5)]=_0x211c45,this[_0x144566(0x203)]=_0xb5ccc7,this['_memberService']=_0x4db9de,this['_commentService']=_0x9ba3dd,this['_telemetryService']=_0x57e2da,this[_0x144566(0x2b2)]=!!this['_telemetryService'],_0x22facd[_0x144566(0x57b)](A[_0x144566(0x3fb)](this['dispose$']))['subscribe'](_0x1abc57=>{const _0x2c80dc=_0x144566;var _0x27590a;typeof _0x1abc57>'u'||(this[_0x2c80dc(0x4ff)]=_0x1abc57,_0x1abc57?(this[_0x2c80dc(0x415)](_0x1abc57),this[_0x2c80dc(0x34d)]=_0x1abc57[_0x2c80dc(0x646)][_0x2c80dc(0x47b)](_0x1eb4b5=>{const _0x28927c=_0x2c80dc;_0x1eb4b5[_0x28927c(0x5eb)]===this[_0x28927c(0x584)]&&this['_onCombEvent'](_0x1eb4b5);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x2c80dc(0x640)][_0x2c80dc(0x4c4)](0x2),(_0x27590a=this[_0x2c80dc(0x34d)])==null||_0x27590a['unsubscribe'](),this['_socketMessageSubscription']=null));}),this[_0x144566(0x4bd)](this[_0x144566(0x250)][_0x144566(0x1b8)](()=>{const _0x57ad6a=_0x144566;var _0xf6ed15;(_0xf6ed15=this[_0x57ad6a(0x4ff)])==null||_0xf6ed15[_0x57ad6a(0x5bc)]({'cmd':G[_0x57ad6a(0x407)],'data':{'roomID':this[_0x57ad6a(0x584)]}});})));}get[_0x38c3ff(0x30c)](){const _0x3b81ff=_0x38c3ff;return this['_sessionStatus$'][_0x3b81ff(0x26d)]();}['getMemberID'](){const _0x5b845c=_0x38c3ff;var _0x2c9f73,_0x4ad0cd;return(_0x4ad0cd=(_0x2c9f73=this[_0x5b845c(0x4ff)])==null?void 0x0:_0x2c9f73[_0x5b845c(0x3a6)])!=null?_0x4ad0cd:null;}[_0x38c3ff(0x2da)](){const _0xe2a648=_0x38c3ff;super[_0xe2a648(0x2da)](),this[_0xe2a648(0x5ff)][_0xe2a648(0x4c4)](),this[_0xe2a648(0x5ff)]['complete']();}['close'](){const _0x245761=_0x38c3ff;var _0x26b6a3,_0x5bb552;this[_0x245761(0x504)](),(_0x26b6a3=this[_0x245761(0x4ff)])==null||_0x26b6a3[_0x245761(0x5bc)]({'cmd':G['LEAVE'],'data':{'roomID':this['_unitID']}}),(_0x5bb552=this[_0x245761(0x4ff)])==null||_0x5bb552[_0x245761(0x61a)](),this[_0x245761(0x244)][_0x245761(0x40d)](),this[_0x245761(0x640)][_0x245761(0x40d)](),this[_0x245761(0x2da)]();}[_0x38c3ff(0x566)](_0x218fd3){const _0x32803a=_0x38c3ff;_0x218fd3[_0x32803a(0x4fa)]===G[_0x32803a(0x344)]?this[_0x32803a(0x4d0)](_0x218fd3):_0x218fd3[_0x32803a(0x4fa)]===G[_0x32803a(0x329)]&&this['_onRecvEvent'](_0x218fd3);}[_0x38c3ff(0x415)](_0x415802){const _0x3ca167=_0x38c3ff;this[_0x3ca167(0x640)][_0x3ca167(0x4c4)](0x1),_0x415802[_0x3ca167(0x5bc)]({'cmd':G[_0x3ca167(0x344)],'routeKey':this[_0x3ca167(0x584)],'routeType':'','data':{'rooms':[{'roomID':this[_0x3ca167(0x584)]}]}});}[_0x38c3ff(0x4d0)](_0x5029c0){const _0x4a0755=_0x38c3ff;var _0x27aac5;if(_0x5029c0[_0x4a0755(0x3b2)]===Et[_0x4a0755(0x498)]){this[_0x4a0755(0x385)][_0x4a0755(0x37c)]({'type':ge[_0x4a0755(0x312)][_0x4a0755(0x42b)],'content':this[_0x4a0755(0x203)]['t']('session.room-full')}),this[_0x4a0755(0x640)][_0x4a0755(0x4c4)](0x2);return;}this['_sessionStatus$']['next'](0x3);const _0x35d72c=(_0x27aac5=_0x5029c0[_0x4a0755(0x2e1)][_0x4a0755(0x34a)][this[_0x4a0755(0x584)]])==null?void 0x0:_0x27aac5[_0x4a0755(0x254)];_0x35d72c&&_0x35d72c['forEach'](_0x56bcb1=>this[_0x4a0755(0x1aa)][_0x4a0755(0x4f9)](this[_0x4a0755(0x584)],_0x56bcb1));}['_onRecvEvent'](_0x315742){const _0x39b906=_0x38c3ff;try{const _0x20d330=_0x315742[_0x39b906(0x2e1)];switch(_0x20d330['eventID']){case S[_0x39b906(0x201)][_0x39b906(0x307)]:this['_onUserJoin'](_0x20d330),this[_0x39b906(0x244)][_0x39b906(0x4c4)](_0x20d330);break;case S[_0x39b906(0x201)][_0x39b906(0x5e0)]:this[_0x39b906(0x3a1)](_0x20d330),this['_event$'][_0x39b906(0x4c4)](_0x20d330);break;case S[_0x39b906(0x201)]['CHANGESET_ACK']:case S['CollaborationEvent'][_0x39b906(0x57e)]:this[_0x39b906(0x64f)](),this[_0x39b906(0x1f9)](),this[_0x39b906(0x244)]['next'](_0x20d330);break;case S[_0x39b906(0x201)][_0x39b906(0x369)]:this[_0x39b906(0x4ce)][_0x39b906(0x55e)]('save\x20fail\x20reason\x20is\x20'+JSON['stringify'](_0x20d330)),this[_0x39b906(0x244)][_0x39b906(0x4c4)](_0x20d330);break;case S[_0x39b906(0x201)][_0x39b906(0x5c6)]:this[_0x39b906(0x43d)]['onCommentUpdate'](_0x20d330['data']),this[_0x39b906(0x244)][_0x39b906(0x4c4)](_0x20d330);break;default:this[_0x39b906(0x244)]['next'](_0x20d330);}}catch(_0x2910d0){this[_0x39b906(0x4ce)]['error'](_0x2910d0,_0x315742);}}[_0x38c3ff(0x19c)](_0xdf0628){const _0x54ceec=_0x38c3ff;this['_memberService'][_0x54ceec(0x4f9)](this[_0x54ceec(0x584)],_0xdf0628['data']);}['_onUserLeave'](_0x421954){const _0x7bd6fc=_0x38c3ff;this['_memberService'][_0x7bd6fc(0x2ea)](this[_0x7bd6fc(0x584)],_0x421954['data'][_0x7bd6fc(0x3a6)]);}async[_0x38c3ff(0x5bc)](_0x3db05d,_0x2f4ed9){const _0x17f917=_0x38c3ff;if(this[_0x17f917(0x30c)]!==0x3||!this['_socket'])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x3db05d['eventID']===S[_0x17f917(0x201)]['SUBMIT_CHANGESET']&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x17f917(0x4dd)](_0x3db05d)),this[_0x17f917(0x4ff)]['send']({'cmd':G[_0x17f917(0x2b0)],'routeKey':_0x2f4ed9,'routeType':'','data':_0x3db05d});}catch(_0x52162b){this[_0x17f917(0x4ce)][_0x17f917(0x55e)](_0x52162b);}}['_scheduleCollaborationTimeoutTimer'](){const _0xbb2ac3=_0x38c3ff;var _0x5ec5e1;this[_0xbb2ac3(0x3e5)]=window[_0xbb2ac3(0x3bb)](()=>{const _0x108ded=_0xbb2ac3;this[_0x108ded(0x3e5)]=null,this[_0x108ded(0x385)][_0x108ded(0x37c)]({'type':ge[_0x108ded(0x312)]['Error'],'content':this[_0x108ded(0x203)]['t']('session.collaboration-timeout')});},(_0x5ec5e1=this[_0xbb2ac3(0x1f5)][_0xbb2ac3(0x556)](Ct))!=null?_0x5ec5e1:nn);}[_0x38c3ff(0x1f9)](){const _0x56a63a=_0x38c3ff;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x56a63a(0x3e5)]),this[_0x56a63a(0x3e5)]=null);}[_0x38c3ff(0x4dd)](_0x52e8c4){const _0x5696e4=_0x38c3ff;if(!this[_0x5696e4(0x2b2)])return;const {data:_0x3be723}=_0x52e8c4,{unitID:_0x1ac791,changeset:_0x577dae}=_0x3be723,{mutations:_0x48aec8,type:_0x515eb1}=_0x577dae;this[_0x5696e4(0x360)]={'unitId':_0x1ac791,'type':_0x515eb1,'startTime':performance[_0x5696e4(0x2eb)](),'stopTime':0x0,'duration':0x0,'size':ti(_0x48aec8)};}[_0x38c3ff(0x64f)](){const _0x4e6671=_0x38c3ff;if(this[_0x4e6671(0x2b2)]){if(!this[_0x4e6671(0x360)]){this[_0x4e6671(0x4ce)][_0x4e6671(0x55e)](_0x4e6671(0x57c),_0x4e6671(0x2e2));return;}this[_0x4e6671(0x360)][_0x4e6671(0x359)]=performance[_0x4e6671(0x2eb)](),this[_0x4e6671(0x360)]['duration']=this[_0x4e6671(0x360)][_0x4e6671(0x359)]-this[_0x4e6671(0x360)][_0x4e6671(0x5a0)],this['_telemetryService'][_0x4e6671(0x2f1)](ei,this[_0x4e6671(0x360)]),this[_0x4e6671(0x360)]=null;}}[_0x38c3ff(0x504)](){const _0x29371a=_0x38c3ff;this[_0x29371a(0x360)]=null;}},exports['CollaborationSession']=ci([de(0x2,a[_0x38c3ff(0x626)]),de(0x3,ee['IBeforeCloseService']),de(0x4,ee[_0x38c3ff(0x5d6)]),de(0x5,a[_0x38c3ff(0x326)]),de(0x6,a['Inject'](a[_0x38c3ff(0x222)])),de(0x7,a[_0x38c3ff(0x2af)](exports[_0x38c3ff(0x41e)])),de(0x8,a[_0x38c3ff(0x2af)](Tt)),de(0x9,a[_0x38c3ff(0x5e2)](jn[_0x38c3ff(0x529)]))],exports[_0x38c3ff(0x4d6)]);var li=Object[_0x38c3ff(0x1c1)],hi=Object[_0x38c3ff(0x336)],_i=(_0x57aff4,_0x40a828,_0x1757f4,_0x218130)=>{const _0x5ecbff=_0x38c3ff;for(var _0x4f5b9e=_0x218130>0x1?void 0x0:_0x218130?hi(_0x40a828,_0x1757f4):_0x40a828,_0x5e21b9=_0x57aff4[_0x5ecbff(0x58c)]-0x1,_0x3cf1a9;_0x5e21b9>=0x0;_0x5e21b9--)(_0x3cf1a9=_0x57aff4[_0x5e21b9])&&(_0x4f5b9e=(_0x218130?_0x3cf1a9(_0x40a828,_0x1757f4,_0x4f5b9e):_0x3cf1a9(_0x4f5b9e))||_0x4f5b9e);return _0x218130&&_0x4f5b9e&&li(_0x40a828,_0x1757f4,_0x4f5b9e),_0x4f5b9e;},Ee=(_0x331858,_0x381362)=>(_0x43eda9,_0x5d8dc6)=>_0x381362(_0x43eda9,_0x5d8dc6,_0x331858);exports[_0x38c3ff(0x1f6)]=class extends a[_0x38c3ff(0x1a8)]{constructor(_0x4ec5d8,_0x8cb134,_0x4e60b9,_0x45047e,_0x8a20d9,_0x469ffb){const _0x226707=_0x38c3ff;super(),I(this,_0x226707(0x581),new A['BehaviorSubject'](void 0x0)),I(this,_0x226707(0x31d),this['_socket$'][_0x226707(0x4a7)]()),I(this,'_candidateSocket',null),I(this,'_sessions',new Map()),I(this,_0x226707(0x586),new A[(_0x226707(0x4fc))](se[_0x226707(0x340)])),I(this,_0x226707(0x5e4),this[_0x226707(0x586)][_0x226707(0x4a7)]()),I(this,'_socketReady',!0x1),I(this,_0x226707(0x26a)),I(this,_0x226707(0x43a),0x0),I(this,_0x226707(0x20d)),I(this,'_timeoutTimer'),(this[_0x226707(0x3b6)]=_0x4ec5d8,this[_0x226707(0x203)]=_0x8cb134,this[_0x226707(0x385)]=_0x4e60b9,this[_0x226707(0x4ce)]=_0x45047e,this['_configService']=_0x8a20d9,this['_socketService']=_0x469ffb,this[_0x226707(0x1c3)]());}get[_0x38c3ff(0x4ff)](){const _0x19003a=_0x38c3ff;return this['_socket$'][_0x19003a(0x26d)]();}[_0x38c3ff(0x1c3)](){const _0x240e8e=_0x38c3ff;this['_listenToOfflineEvent'](),this[_0x240e8e(0x1e5)]();}[_0x38c3ff(0x2da)](){const _0x4508b6=_0x38c3ff;super[_0x4508b6(0x2da)](),this[_0x4508b6(0x293)][_0x4508b6(0x2d8)](_0x56086a=>_0x56086a['dispose']()),this['_sessions'][_0x4508b6(0x372)](),this[_0x4508b6(0x586)][_0x4508b6(0x40d)]();}async[_0x38c3ff(0x2aa)](_0x1fef1a){const _0x1378fb=_0x38c3ff;if(this['_sessions'][_0x1378fb(0x599)](_0x1fef1a))return this['_sessions']['get'](_0x1fef1a);this['_tryEnsureSocket']();const _0xccdec4=this['_injector']['createInstance'](exports['CollaborationSession'],_0x1fef1a,this[_0x1378fb(0x581)]['asObservable']());return this[_0x1378fb(0x293)][_0x1378fb(0x3e8)](_0x1fef1a,_0xccdec4),_0xccdec4;}[_0x38c3ff(0x327)](_0x5e7adb){const _0x2bae40=_0x38c3ff;var _0x823e04;const _0x53692e=this[_0x2bae40(0x293)][_0x2bae40(0x585)](_0x5e7adb);_0x53692e&&(this['_sessions']['delete'](_0x5e7adb),_0x53692e[_0x2bae40(0x61a)]()),this[_0x2bae40(0x293)][_0x2bae40(0x311)]||(_0x823e04=this['_socket'])==null||_0x823e04[_0x2bae40(0x61a)]();}['reconnect'](){const _0x5d1258=_0x38c3ff;this[_0x5d1258(0x43a)]=0x0,this[_0x5d1258(0x26a)]!=null&&(clearTimeout(this[_0x5d1258(0x26a)]),this['_retryConnectingTimer']=null),this['_tryReconnect']();}[_0x38c3ff(0x1fd)](){const _0x1df621=_0x38c3ff;var _0x19c5f8,_0x14b7ec;const _0x2d4f6d=this[_0x1df621(0x1f5)][_0x1df621(0x556)](en),_0x215237=this[_0x1df621(0x1f5)]['getConfig'](te),_0x1c1db4=(_0x14b7ec=(_0x19c5f8=_0x215237==null?void 0x0:_0x215237[_0x1df621(0x32c)])!=null?_0x19c5f8:_0x2d4f6d)!=null?_0x14b7ec:Wn,_0x240834=this['_socketService']['createSocket'](_0x1c1db4);return this['_candidateSocket']=_0x240834,_0x240834;}[_0x38c3ff(0x217)](){const _0xd9e6c6=_0x38c3ff;var _0x268f49,_0x533d81;try{const _0x660723=(_0x533d81=(_0x268f49=this[_0xd9e6c6(0x4ff)])!=null?_0x268f49:this['_candidateSocket'])!=null?_0x533d81:this[_0xd9e6c6(0x1fd)]();if(_0x660723){const _0x3f13bd=_0x660723[_0xd9e6c6(0x5bc)];_0x660723['send']=_0xb7f06c=>(this['_rescheduleHeartbeat'](),_0x3f13bd[_0xd9e6c6(0x21e)](_0x660723,[_0xb7f06c])),_0x660723[_0xd9e6c6(0x646)][_0xd9e6c6(0x47b)](_0x5f4386=>this[_0xd9e6c6(0x197)](_0x660723,_0x5f4386)),_0x660723[_0xd9e6c6(0x659)][_0xd9e6c6(0x57b)](V[_0xd9e6c6(0x3f1)](0x1))[_0xd9e6c6(0x47b)](_0x24edf4=>this[_0xd9e6c6(0x4ce)][_0xd9e6c6(0x55e)](_0xd9e6c6(0x389),_0x24edf4)),_0x660723[_0xd9e6c6(0x24b)][_0xd9e6c6(0x57b)](V[_0xd9e6c6(0x3f1)](0x1))['subscribe'](()=>{const _0x23294e=_0xd9e6c6;this[_0x23294e(0x1a5)](_0x660723);}),_0x660723[_0xd9e6c6(0x1ed)]['pipe'](V['take'](0x1))['subscribe'](_0x3882cd=>{const _0x4fe497=_0xd9e6c6;this[_0x4fe497(0x4ce)]['debug'](_0x4fe497(0x651),_0x4fe497(0x350),_0x3882cd),this[_0x4fe497(0x528)]();});}}catch(_0x1b1349){this['_logService'][_0xd9e6c6(0x55e)](_0x1b1349),this[_0xd9e6c6(0x528)]();}}[_0x38c3ff(0x1a5)](_0x398869){const _0x54e209=_0x38c3ff;this['_logService'][_0x54e209(0x405)](_0x54e209(0x651),_0x54e209(0x55b)),_0x398869[_0x54e209(0x5bc)]({'cmd':G[_0x54e209(0x2a5)]}),this[_0x54e209(0x376)]();}[_0x38c3ff(0x2c8)](){const _0x399d38=_0x38c3ff;window[_0x399d38(0x657)]('offline',()=>this[_0x399d38(0x206)]());}['_onOffline'](){const _0x1bc277=_0x38c3ff;this[_0x1bc277(0x48e)]=!0x1,this['_candidateSocket']=null,this[_0x1bc277(0x586)][_0x1bc277(0x4c4)](se['OFFLINE']),this[_0x1bc277(0x581)]['next'](null),this[_0x1bc277(0x1d4)](),this[_0x1bc277(0x358)]();}[_0x38c3ff(0x528)](){const _0x3b5055=_0x38c3ff;var _0x130b46;this[_0x3b5055(0x206)](),this[_0x3b5055(0x43a)]<((_0x130b46=this[_0x3b5055(0x1f5)]['getConfig'](sn))!=null?_0x130b46:Gn)?(this[_0x3b5055(0x385)][_0x3b5055(0x37c)]({'key':_0x3b5055(0x618),'type':ge[_0x3b5055(0x312)][_0x3b5055(0x42b)],'content':this[_0x3b5055(0x203)]['t'](_0x3b5055(0x491))}),this['_tryReconnect']()):this[_0x3b5055(0x385)][_0x3b5055(0x37c)]({'key':_0x3b5055(0x618),'type':ge[_0x3b5055(0x312)][_0x3b5055(0x516)],'content':this['_localeService']['t'](_0x3b5055(0x24f))});}[_0x38c3ff(0x1e5)](){const _0x334bc5=_0x38c3ff,_0x570cda=()=>{const _0x33118e=_0x4762;this[_0x33118e(0x4ff)]||this['reconnect']();},_0x906a4=()=>{const _0x200de7=_0x4762;this[_0x200de7(0x4ff)]||document[_0x200de7(0x478)]===_0x200de7(0x633)||this[_0x200de7(0x64e)]();};window[_0x334bc5(0x657)](_0x334bc5(0x56f),_0x570cda),document[_0x334bc5(0x657)](_0x334bc5(0x5dd),_0x906a4);}['_tryReconnect'](){const _0x3e2b20=_0x38c3ff;var _0x545e74;const _0xd6f021=this[_0x3e2b20(0x43a)],_0x4f3fb3=this['_configService']['getConfig'](te),_0x66a743=_0xd6f021===0x0?0x0:((_0x545e74=_0x4f3fb3==null?void 0x0:_0x4f3fb3['retryConnectingInterval'])!=null?_0x545e74:Vn)*0x2**_0xd6f021;this[_0x3e2b20(0x26a)]=window[_0x3e2b20(0x3bb)](()=>{const _0x32449f=_0x3e2b20;clearTimeout(this[_0x32449f(0x26a)]),this[_0x32449f(0x26a)]=null,this['_tryEnsureSocket']();},_0x66a743),this[_0x3e2b20(0x43a)]+=0x1;}[_0x38c3ff(0x197)](_0x2f6786,_0x433925){const _0x1a74d6=_0x38c3ff,{cmd:_0x59a81b}=_0x433925;_0x59a81b===G[_0x1a74d6(0x2a5)]&&!this[_0x1a74d6(0x48e)]&&(_0x2f6786[_0x1a74d6(0x3a6)]=_0x433925[_0x1a74d6(0x2e1)][_0x1a74d6(0x3a6)],this[_0x1a74d6(0x581)]['next'](_0x2f6786),this['_status$'][_0x1a74d6(0x4c4)](se[_0x1a74d6(0x1b4)]),this[_0x1a74d6(0x48e)]=!0x0,this['_candidateSocket']=null),_0x59a81b===G[_0x1a74d6(0x481)]&&this[_0x1a74d6(0x1d4)](),this[_0x1a74d6(0x376)]();}[_0x38c3ff(0x376)](){const _0x102574=_0x38c3ff;var _0x4b2ea8;this[_0x102574(0x358)](),this[_0x102574(0x20d)]=window[_0x102574(0x3bb)](()=>this[_0x102574(0x39e)](),(_0x4b2ea8=this[_0x102574(0x1f5)]['getConfig'](tn))!=null?_0x4b2ea8:Fn);}['_sendHeartbeat'](){const _0x91cbb9=_0x38c3ff;this['_socket'][_0x91cbb9(0x5bc)]({'cmd':G['HEARTBEAT']}),this[_0x91cbb9(0x285)]();}[_0x38c3ff(0x285)](){const _0x3014b1=_0x38c3ff;var _0x47e003;this[_0x3014b1(0x209)]=window[_0x3014b1(0x3bb)](()=>this[_0x3014b1(0x528)](),(_0x47e003=this[_0x3014b1(0x1f5)][_0x3014b1(0x556)](Ct))!=null?_0x47e003:nn);}['_clearHeartbeatTimer'](){const _0x4d5638=_0x38c3ff;this[_0x4d5638(0x20d)]!=null&&(clearTimeout(this[_0x4d5638(0x20d)]),this[_0x4d5638(0x20d)]=null);}[_0x38c3ff(0x1d4)](){const _0x46f125=_0x38c3ff;this[_0x46f125(0x209)]!=null&&(clearTimeout(this[_0x46f125(0x209)]),this[_0x46f125(0x209)]=null);}},exports[_0x38c3ff(0x1f6)]=_i([Ee(0x0,a[_0x38c3ff(0x2af)](a[_0x38c3ff(0x50e)])),Ee(0x1,a['Inject'](a['LocaleService'])),Ee(0x2,ee[_0x38c3ff(0x5d6)]),Ee(0x3,a[_0x38c3ff(0x626)]),Ee(0x4,a[_0x38c3ff(0x326)]),Ee(0x5,bt)],exports[_0x38c3ff(0x1f6)]);const Y=[];for(let s=0x0;s<0x100;++s)Y[_0x38c3ff(0x473)]((s+0x100)[_0x38c3ff(0x459)](0x10)[_0x38c3ff(0x56a)](0x1));function ui(_0x1726be,_0x3db6fa=0x0){const _0x3be25e=_0x38c3ff;return(Y[_0x1726be[_0x3db6fa+0x0]]+Y[_0x1726be[_0x3db6fa+0x1]]+Y[_0x1726be[_0x3db6fa+0x2]]+Y[_0x1726be[_0x3db6fa+0x3]]+'-'+Y[_0x1726be[_0x3db6fa+0x4]]+Y[_0x1726be[_0x3db6fa+0x5]]+'-'+Y[_0x1726be[_0x3db6fa+0x6]]+Y[_0x1726be[_0x3db6fa+0x7]]+'-'+Y[_0x1726be[_0x3db6fa+0x8]]+Y[_0x1726be[_0x3db6fa+0x9]]+'-'+Y[_0x1726be[_0x3db6fa+0xa]]+Y[_0x1726be[_0x3db6fa+0xb]]+Y[_0x1726be[_0x3db6fa+0xc]]+Y[_0x1726be[_0x3db6fa+0xd]]+Y[_0x1726be[_0x3db6fa+0xe]]+Y[_0x1726be[_0x3db6fa+0xf]])[_0x3be25e(0x547)]();}let Je;const di=new Uint8Array(0x10);function fi(){const _0x721256=_0x38c3ff;if(!Je){if(typeof crypto>'u'||!crypto[_0x721256(0x5d0)])throw new Error(_0x721256(0x3fe));Je=crypto[_0x721256(0x5d0)][_0x721256(0x198)](crypto);}return Je(di);}const vi=typeof crypto<'u'&&crypto[_0x38c3ff(0x63e)]&&crypto['randomUUID'][_0x38c3ff(0x198)](crypto),Mt={'randomUUID':vi};function mi(_0x3217ee,_0x16435c,_0x46f563){const _0x3d520c=_0x38c3ff;if(Mt[_0x3d520c(0x63e)]&&!_0x16435c&&!_0x3217ee)return Mt[_0x3d520c(0x63e)]();_0x3217ee=_0x3217ee||{};const _0x166ce4=_0x3217ee['random']||(_0x3217ee[_0x3d520c(0x56e)]||fi)();return _0x166ce4[0x6]=_0x166ce4[0x6]&0xf|0x40,_0x166ce4[0x8]=_0x166ce4[0x8]&0x3f|0x80,ui(_0x166ce4);}var Si=Object[_0x38c3ff(0x1c1)],pi=Object['getOwnPropertyDescriptor'],gi=(_0x4b2cea,_0x1ee1c6,_0xc72259,_0x51efa4)=>{const _0x2e00a0=_0x38c3ff;for(var _0x4db7b5=_0x51efa4>0x1?void 0x0:_0x51efa4?pi(_0x1ee1c6,_0xc72259):_0x1ee1c6,_0x3f082b=_0x4b2cea[_0x2e00a0(0x58c)]-0x1,_0x1dd39c;_0x3f082b>=0x0;_0x3f082b--)(_0x1dd39c=_0x4b2cea[_0x3f082b])&&(_0x4db7b5=(_0x51efa4?_0x1dd39c(_0x1ee1c6,_0xc72259,_0x4db7b5):_0x1dd39c(_0x4db7b5))||_0x4db7b5);return _0x51efa4&&_0x4db7b5&&Si(_0x1ee1c6,_0xc72259,_0x4db7b5),_0x4db7b5;},Ze=(_0x23d700,_0x4b3cea)=>(_0x58b5a1,_0x2a0478)=>_0x4b3cea(_0x58b5a1,_0x2a0478,_0x23d700);let Be=class{constructor(_0x2df754,_0x28a72d,_0x2548bd){const _0x174d3a=_0x38c3ff;this[_0x174d3a(0x3b6)]=_0x2df754,this[_0x174d3a(0x267)]=_0x28a72d,this['_renderManagerService']=_0x2548bd;}[_0x38c3ff(0x356)](_0x32e652){const _0x14cc56=_0x38c3ff;this[_0x14cc56(0x2b1)](_0x32e652),this['_transformPreviousActiveRange'](_0x32e652);}[_0x38c3ff(0x5a7)](_0x4f875a){const _0x387829=_0x38c3ff,{unitID:_0x5c538f}=_0x4f875a,_0x110008=this[_0x387829(0x286)]['getRenderById'](_0x5c538f)['with'](J[_0x387829(0x1d1)]),{redoCache:_0x3489d4}=_0x110008['getUndoRedoMutationParamsCache']();if(_0x3489d4[_0x387829(0x58c)]===0x0)return _0x4f875a;let _0x3008b4=a[_0x387829(0x24a)][_0x387829(0x25b)](_0x4f875a[_0x387829(0x1cd)][0x0]);for(let _0x526001=0x0;_0x526001<_0x3489d4[_0x387829(0x58c)];_0x526001++){const _0x3a4f2b={'id':_0x387829(0x354),'params':{..._0x3489d4[_0x526001]}},_0x35c7d2=this[_0x387829(0x267)]['transformMutation'](_0x3008b4,_0x3a4f2b,!0x1);if(S['isTransformMutationFailure'](_0x35c7d2))throw _0x35c7d2[_0x387829(0x55e)];_0x3008b4=_0x35c7d2[_0x387829(0x30e)];}return{...a[_0x387829(0x24a)][_0x387829(0x25b)](_0x4f875a),'mutations':[_0x3008b4]};}['_transformUndoRedoStack'](_0x42fd48){const _0x2a6c87=_0x38c3ff,{unitID:_0x42dec6}=_0x42fd48,_0x126757=this['_renderManagerService']['getRenderById'](_0x42dec6)['with'](J['DocIMEInputManagerService']),{undoCache:_0x1a5296,redoCache:_0x698a9e}=_0x126757['getUndoRedoMutationParamsCache']();if(_0x1a5296['length']===0x0||_0x698a9e[_0x2a6c87(0x58c)]===0x0)return;const _0x5deb21=[],_0x5cdd09=[];let _0x42d6fa=a['Tools'][_0x2a6c87(0x25b)](_0x42fd48[_0x2a6c87(0x1cd)][0x0]),_0x55fc60=a[_0x2a6c87(0x24a)][_0x2a6c87(0x25b)](_0x42fd48['mutations'][0x0]);for(let _0x353fd6=_0x1a5296[_0x2a6c87(0x58c)]-0x1;_0x353fd6>=0x0;_0x353fd6--){const _0x46796e={'id':'doc.mutation.rich-text-editing','params':{..._0x1a5296[_0x353fd6]}},_0x56582d={'id':_0x2a6c87(0x354),'params':{..._0x698a9e[_0x353fd6]}},_0x30712e=this[_0x2a6c87(0x267)]['transformMutation'](_0x42d6fa,_0x46796e,!0x1),_0x55cc0f=this[_0x2a6c87(0x267)]['transformMutation'](_0x55fc60,_0x56582d,!0x1);if(S[_0x2a6c87(0x446)](_0x30712e))throw _0x30712e[_0x2a6c87(0x55e)];if(S[_0x2a6c87(0x446)](_0x55cc0f))throw _0x55cc0f['error'];_0x5deb21[_0x2a6c87(0x5a5)](_0x30712e[_0x2a6c87(0x41f)]['params']),_0x5cdd09[_0x2a6c87(0x5a5)](_0x55cc0f[_0x2a6c87(0x41f)][_0x2a6c87(0x595)]),_0x42d6fa=_0x30712e['m1Prime'],_0x55fc60=_0x55cc0f['m1Prime'];}_0x126757['setUndoRedoMutationParamsCache']({'undoCache':_0x5deb21,'redoCache':_0x5cdd09});}[_0x38c3ff(0x624)](_0x4e7851){const _0x432c29=_0x38c3ff,{unitID:_0x43ed26}=_0x4e7851,_0xa5ae3b=this[_0x432c29(0x286)][_0x432c29(0x5f5)](_0x43ed26)[_0x432c29(0x438)](J[_0x432c29(0x1d1)]),_0x4d942e=_0xa5ae3b[_0x432c29(0x5df)]();if(_0x4d942e==null)return;const _0x10a420=[{'id':_0x432c29(0x354),'params':{'unitId':_0x4e7851[_0x432c29(0x364)],'actions':null,'textRanges':[_0x4d942e]}}],_0x558bfb=this['_transformService'][_0x432c29(0x4be)](_0x4e7851,_0x10a420);if(!S[_0x432c29(0x38b)](_0x558bfb))throw _0x558bfb[_0x432c29(0x55e)];const _0x47f5e8=_0x558bfb[_0x432c29(0x41f)][0x0]['params'][_0x432c29(0x4fd)];Array[_0x432c29(0x32a)](_0x47f5e8)&&_0x47f5e8[_0x432c29(0x58c)]&&_0xa5ae3b[_0x432c29(0x345)](_0x47f5e8[0x0]);}};Be=gi([Ze(0x0,a[_0x38c3ff(0x2af)](a[_0x38c3ff(0x50e)])),Ze(0x1,S[_0x38c3ff(0x3cc)]),Ze(0x2,K[_0x38c3ff(0x3ea)])],Be);var Ii=Object[_0x38c3ff(0x1c1)],Ci=Object[_0x38c3ff(0x336)],Ei=(_0x4b9fe7,_0x8ef6f9,_0xd17c21,_0x4bf350)=>{const _0x432aa3=_0x38c3ff;for(var _0xee26eb=_0x4bf350>0x1?void 0x0:_0x4bf350?Ci(_0x8ef6f9,_0xd17c21):_0x8ef6f9,_0x162228=_0x4b9fe7[_0x432aa3(0x58c)]-0x1,_0x2abe32;_0x162228>=0x0;_0x162228--)(_0x2abe32=_0x4b9fe7[_0x162228])&&(_0xee26eb=(_0x4bf350?_0x2abe32(_0x8ef6f9,_0xd17c21,_0xee26eb):_0x2abe32(_0xee26eb))||_0xee26eb);return _0x4bf350&&_0xee26eb&&Ii(_0x8ef6f9,_0xd17c21,_0xee26eb),_0xee26eb;},Pe=(_0x547879,_0x5cc27a)=>(_0x2fd6e3,_0x1afe9b)=>_0x5cc27a(_0x2fd6e3,_0x1afe9b,_0x547879);exports['LocalCacheService']=class extends a[_0x38c3ff(0x1a8)]{constructor(_0x167217,_0x2d9e8d,_0x4daf0e,_0x5e864b,_0x60e9fb){const _0x5d71ef=_0x38c3ff;super(),I(this,'_cachedData',new Map()),I(this,_0x5d71ef(0x2b6),new Map()),I(this,_0x5d71ef(0x21b),!0x1),(this[_0x5d71ef(0x1f5)]=_0x167217,this[_0x5d71ef(0x3fa)]=_0x2d9e8d,this[_0x5d71ef(0x250)]=_0x4daf0e,this[_0x5d71ef(0x203)]=_0x5e864b,this['_revisionService']=_0x60e9fb,this['_setupBeforeClosingHandler']());}[_0x38c3ff(0x4bf)](){const _0x4f097c=_0x38c3ff;this[_0x4f097c(0x21b)]=!0x0;}[_0x38c3ff(0x401)](){const _0x107182=_0x38c3ff;this[_0x107182(0x21b)]=!0x1;}[_0x38c3ff(0x2da)](){const _0x2430c9=_0x38c3ff;this[_0x2430c9(0x1df)]()[_0x2430c9(0x1fb)](()=>super['dispose']());}async[_0x38c3ff(0x1f2)](_0x135053){const _0x15bf15=_0x38c3ff;return this[_0x15bf15(0x21b)]?null:this[_0x15bf15(0x3fa)][_0x15bf15(0x3f7)](At(_0x135053));}async['saveOfflineData'](_0x20a890,_0x489236){const _0x13cd2f=_0x38c3ff;return!!this[_0x13cd2f(0x3fa)][_0x13cd2f(0x43c)](_0x20a890,_0x489236);}['updateOfflineData'](_0x12b4c6,_0x20f6c0,_0x27f28a,_0x40128e){const _0x504412=_0x38c3ff,_0x93890e=this[_0x504412(0x26b)][_0x504412(0x451)](_0x12b4c6);this[_0x504412(0x5bf)][_0x504412(0x3e8)](_0x12b4c6,{'unitID':_0x12b4c6,'type':_0x20f6c0,'awaitingChangeset':_0x27f28a,'mutations':_0x40128e,'rev':_0x93890e}),this['_saveTaskMap'][_0x504412(0x599)](_0x12b4c6)||this[_0x504412(0x3b3)](_0x12b4c6);}[_0x38c3ff(0x3b3)](_0x5637ca){const _0x1c4b0f=_0x38c3ff,_0x490ac7=this['_getSaveTimeout']();_0x490ac7===0x0?this[_0x1c4b0f(0x553)](_0x5637ca):this[_0x1c4b0f(0x2b6)][_0x1c4b0f(0x3e8)](_0x5637ca,setTimeout(()=>this[_0x1c4b0f(0x553)](_0x5637ca),_0x490ac7));}[_0x38c3ff(0x440)](){const _0x428044=_0x38c3ff;var _0x19463f;return(_0x19463f=this[_0x428044(0x1f5)][_0x428044(0x556)](rn))!=null?_0x19463f:Yn;}[_0x38c3ff(0x553)](_0x545a3d){const _0x34b1ce=_0x38c3ff,_0x2c8fa6=this[_0x34b1ce(0x2b6)]['get'](_0x545a3d);return _0x2c8fa6!==void 0x0&&window[_0x34b1ce(0x314)](_0x2c8fa6),this[_0x34b1ce(0x3fa)]['setItem'](At(_0x545a3d),this[_0x34b1ce(0x5bf)][_0x34b1ce(0x585)](_0x545a3d))['then'](()=>this[_0x34b1ce(0x2b6)][_0x34b1ce(0x1d0)](_0x545a3d));}async[_0x38c3ff(0x1df)](){const _0x45b9ce=_0x38c3ff,_0x1da48e=[];this['_saveTaskMap'][_0x45b9ce(0x2d8)]((_0x30d4da,_0x154b9d)=>{const _0x20abee=_0x45b9ce;window['clearTimeout'](_0x30d4da),_0x1da48e['push'](this[_0x20abee(0x553)](_0x154b9d)[_0x20abee(0x1fb)](()=>{this['_saveTaskMap']['delete'](_0x154b9d);}));}),await Promise[_0x45b9ce(0x42d)](_0x1da48e);}['_setupBeforeClosingHandler'](){const _0x339409=_0x38c3ff;this[_0x339409(0x4bd)](this[_0x339409(0x250)][_0x339409(0x62c)](()=>{const _0x2b407b=_0x339409;if(this['_saveTaskMap'][_0x2b407b(0x311)])return this['_localeService']['t'](_0x2b407b(0x52e));}));}},exports[_0x38c3ff(0x227)]=Ei([Pe(0x0,a[_0x38c3ff(0x326)]),Pe(0x1,a[_0x38c3ff(0x3e7)]),Pe(0x2,ee['IBeforeCloseService']),Pe(0x3,a[_0x38c3ff(0x2af)](a[_0x38c3ff(0x222)])),Pe(0x4,a[_0x38c3ff(0x2af)](S[_0x38c3ff(0x3cb)]))],exports['LocalCacheService']);function At(_0x54d3f0){const _0x69ad2f=_0x38c3ff;return _0x69ad2f(0x23a)+_0x54d3f0;}var bi=Object[_0x38c3ff(0x1c1)],Ti=Object['getOwnPropertyDescriptor'],Ri=(_0x3ea7c1,_0x45d512,_0x153993,_0x164289)=>{const _0x8d34fa=_0x38c3ff;for(var _0x416e59=_0x164289>0x1?void 0x0:_0x164289?Ti(_0x45d512,_0x153993):_0x45d512,_0x3272da=_0x3ea7c1[_0x8d34fa(0x58c)]-0x1,_0x3d7cf1;_0x3272da>=0x0;_0x3272da--)(_0x3d7cf1=_0x3ea7c1[_0x3272da])&&(_0x416e59=(_0x164289?_0x3d7cf1(_0x45d512,_0x153993,_0x416e59):_0x3d7cf1(_0x416e59))||_0x416e59);return _0x164289&&_0x416e59&&bi(_0x45d512,_0x153993,_0x416e59),_0x416e59;},Qe=(_0x1922af,_0x3e1d82)=>(_0x5c66b5,_0x3228a2)=>_0x3e1d82(_0x5c66b5,_0x3228a2,_0x1922af);function yi(_0xf2d201){const _0x4732c1=_0x38c3ff,{unitID:_0x28185b,mutations:_0x540330}=_0xf2d201;return{'unitId':_0x28185b,'subUnitId':_0x540330[0x0][_0x4732c1(0x595)][_0x4732c1(0x458)]};}let ke=class{constructor(_0x2a8547,_0x5d2b3f,_0x3d1baa){const _0x244f24=_0x38c3ff;this['_injector']=_0x2a8547,this[_0x244f24(0x267)]=_0x5d2b3f,this[_0x244f24(0x653)]=_0x3d1baa;}[_0x38c3ff(0x265)](_0x34a6b8){const _0x362e30=_0x38c3ff;var _0x15b998,_0x309446,_0x540e96,_0x4f1453;const _0x355106=this[_0x362e30(0x3b6)]['get'](k[_0x362e30(0x2c5)]),{unitId:_0x3f8c2f,subUnitId:_0x39f30a}=yi(_0x34a6b8),_0x96114d=_0x355106[_0x362e30(0x333)](_0x3f8c2f)['getCurrentSelections'](),_0x210e1e=(_0x309446=(_0x15b998=this[_0x362e30(0x653)][_0x362e30(0x32e)](_0x3f8c2f))==null?void 0x0:_0x15b998[_0x362e30(0x60f)]())==null?void 0x0:_0x309446[_0x362e30(0x5f0)]();if(_0x96114d[_0x362e30(0x58c)]===0x0||!_0x3f8c2f||!_0x39f30a)return;const _0x1e8a1e=[{'id':k[_0x362e30(0x56b)]['id'],'params':{'unitId':_0x3f8c2f,'subUnitId':_0x210e1e,'selections':a[_0x362e30(0x24a)][_0x362e30(0x25b)](_0x96114d)}}],_0x2cebb9=this[_0x362e30(0x267)][_0x362e30(0x4be)](_0x34a6b8,_0x1e8a1e);if(!S['isTransformMutationsWithChangesetSuccess'](_0x2cebb9))throw _0x2cebb9[_0x362e30(0x55e)];const _0x33974d=(_0x4f1453=(_0x540e96=_0x2cebb9[_0x362e30(0x41f)][0x0])==null?void 0x0:_0x540e96[_0x362e30(0x595)])==null?void 0x0:_0x4f1453['selections'];if(Array['isArray'](_0x33974d)&&_0x33974d['length']){if(_0x33974d[_0x362e30(0x58c)]===_0x1e8a1e[0x0][_0x362e30(0x595)][_0x362e30(0x609)][_0x362e30(0x58c)]&&_0x33974d[_0x362e30(0x318)]((_0x29a986,_0x22ec69)=>a[_0x362e30(0x45c)][_0x362e30(0x44d)](_0x29a986[_0x362e30(0x256)],_0x1e8a1e[0x0][_0x362e30(0x595)][_0x362e30(0x609)][_0x22ec69]['range'])))return;this[_0x362e30(0x3b6)][_0x362e30(0x585)](a['ICommandService'])[_0x362e30(0x4fe)](k['SetSelectionsOperation']['id'],{'unitId':_0x3f8c2f,'subUnitId':_0x210e1e,'selections':_0x33974d});}}};function _0x4762(_0xb34cdb,_0x245eb3){const _0x207948=_0x2079();return _0x4762=function(_0x47625c,_0x17d1e){_0x47625c=_0x47625c-0x196;let _0x40e158=_0x207948[_0x47625c];return _0x40e158;},_0x4762(_0xb34cdb,_0x245eb3);}ke=Ri([Qe(0x0,a[_0x38c3ff(0x2af)](a[_0x38c3ff(0x50e)])),Qe(0x1,S[_0x38c3ff(0x3cc)]),Qe(0x2,a[_0x38c3ff(0x2a8)])],ke);const qe=a[_0x38c3ff(0x275)](_0x38c3ff(0x21a));var un=(_0x4363cf=>(_0x4363cf[_0x4363cf[_0x38c3ff(0x413)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x4363cf[_0x4363cf[_0x38c3ff(0x424)]=0x1]='OTHER_CLIENTS_EDITING',_0x4363cf))(un||{});const Nt=0x7530,Lt=_0x38c3ff(0x27c);class Oi extends a[_0x38c3ff(0x1a8)]{constructor(){const _0x5eb8c8=_0x38c3ff;super(),I(this,_0x5eb8c8(0x31c),a[_0x5eb8c8(0x24a)][_0x5eb8c8(0x4b6)]()),I(this,_0x5eb8c8(0x639),new Set()),I(this,_0x5eb8c8(0x264),new Map()),I(this,_0x5eb8c8(0x26f),null),I(this,_0x5eb8c8(0x5c7),new Map()),I(this,_0x5eb8c8(0x4c5),new Map()),this[_0x5eb8c8(0x596)]();}[_0x38c3ff(0x2da)](){const _0x32f655=_0x38c3ff;super[_0x32f655(0x2da)](),this[_0x32f655(0x5c7)][_0x32f655(0x2d8)]((_0x3fb528,_0x69ec6)=>this[_0x32f655(0x2fe)](_0x69ec6)),this[_0x32f655(0x26f)]&&window[_0x32f655(0x490)](this[_0x32f655(0x26f)]);}[_0x38c3ff(0x5c0)](_0x224bb5){const _0xb848ba=_0x38c3ff;return this[_0xb848ba(0x1a3)](_0x224bb5)[_0xb848ba(0x57b)](A['distinctUntilChanged']());}[_0x38c3ff(0x357)](_0x558464){const _0x2e7f2a=_0x38c3ff;this['_selfUnitIDs'][_0x2e7f2a(0x311)]===0x0&&this['_scheduleHeartbeat'](),this[_0x2e7f2a(0x639)][_0x2e7f2a(0x425)](_0x558464),this[_0x2e7f2a(0x526)]({'type':0x0,'memberID':this[_0x2e7f2a(0x31c)],'unitIDs':[_0x558464],'isForwarded':!0x1});}[_0x38c3ff(0x577)](_0x556f49){const _0x5888fb=_0x38c3ff;this[_0x5888fb(0x639)][_0x5888fb(0x1d0)](_0x556f49),this[_0x5888fb(0x639)][_0x5888fb(0x311)]===0x0&&this[_0x5888fb(0x26f)]&&window[_0x5888fb(0x490)](this[_0x5888fb(0x26f)]);}['_init'](){const _0x550140=_0x38c3ff;this[_0x550140(0x4bd)](a[_0x550140(0x2c7)](A['fromEvent'](window,_0x550140(0x4c1))[_0x550140(0x47b)](_0x1db5fe=>{const _0x4f725d=_0x550140;if(_0x1db5fe[_0x4f725d(0x5d1)]!==Lt||!_0x1db5fe[_0x4f725d(0x493)])return;const _0x49e0ad=JSON['parse'](_0x1db5fe['newValue']);this[_0x4f725d(0x5e3)](_0x49e0ad);}))),window['addEventListener'](_0x550140(0x3a5),()=>this['_send']({'type':0x1,'memberID':this[_0x550140(0x31c)],'unitIDs':Array[_0x550140(0x5ae)](this[_0x550140(0x639)])}));}[_0x38c3ff(0x5e3)](_0x4cebb4){const _0x306035=_0x38c3ff;switch(_0x4cebb4[_0x306035(0x42a)]){case 0x0:this[_0x306035(0x5dc)](_0x4cebb4);break;case 0x1:this['_handleLeaveEvent'](_0x4cebb4);break;case 0x2:this[_0x306035(0x557)](_0x4cebb4);break;}}[_0x38c3ff(0x5dc)](_0x4f0fed){const _0x27409b=_0x38c3ff,{unitIDs:_0x1be534,memberID:_0x160120,isForwarded:_0x498049}=_0x4f0fed;_0x1be534[_0x27409b(0x2d8)](_0x48544f=>{const _0xd7b84f=_0x27409b;if(!_0x498049&&this[_0xd7b84f(0x264)]['has'](_0x48544f)&&this[_0xd7b84f(0x1a3)](_0x48544f)[_0xd7b84f(0x4c4)](0x1),!this[_0xd7b84f(0x264)]['has'](_0x48544f)||!this[_0xd7b84f(0x264)][_0xd7b84f(0x585)](_0x48544f)[_0xd7b84f(0x599)](_0x160120)){const _0x580f52=this[_0xd7b84f(0x264)][_0xd7b84f(0x585)](_0x48544f)||new Set();_0x580f52['add'](_0x160120),this[_0xd7b84f(0x264)][_0xd7b84f(0x3e8)](_0x48544f,_0x580f52),this[_0xd7b84f(0x62b)](_0x160120);}}),_0x498049||this['_send']({'type':0x0,'memberID':this[_0x27409b(0x31c)],'unitIDs':[...this[_0x27409b(0x639)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x429e70){const _0x29f6eb=_0x38c3ff;this[_0x29f6eb(0x2fe)](_0x429e70);const _0x21d749=window[_0x29f6eb(0x3bb)](()=>{const _0x4427ea=_0x29f6eb;this[_0x4427ea(0x264)][_0x4427ea(0x2d8)](_0x27bbd7=>{const _0x5e6693=_0x4427ea;_0x27bbd7[_0x5e6693(0x1d0)](_0x429e70);});},Nt*0x2);this['_clearOtherTimers'][_0x29f6eb(0x3e8)](_0x429e70,_0x21d749);}[_0x38c3ff(0x2fe)](_0x493d08){const _0x372fab=_0x38c3ff;if(this['_clearOtherTimers']['has'](_0x493d08)){const _0x362ac9=this[_0x372fab(0x5c7)]['get'](_0x493d08);_0x362ac9&&window['clearTimeout'](_0x362ac9),this[_0x372fab(0x5c7)][_0x372fab(0x3e8)](_0x493d08,null);}}['_handleLeaveEvent'](_0x1006d9){const _0x524f7f=_0x38c3ff,{memberID:_0x549ee9,unitIDs:_0x25bbf5}=_0x1006d9;_0x25bbf5['forEach'](_0x4c4176=>{const _0x574a05=_0x4762;var _0xc3525e;const _0x31fedc=this[_0x574a05(0x264)][_0x574a05(0x585)](_0x4c4176);_0x31fedc&&(_0x31fedc[_0x574a05(0x1d0)](_0x549ee9),(_0xc3525e=this[_0x574a05(0x1a3)](_0x4c4176))==null||_0xc3525e[_0x574a05(0x4c4)](_0x31fedc[_0x574a05(0x311)]===0x0?0x0:0x1));}),this[_0x524f7f(0x2fe)](_0x549ee9);}['_handleHeartbeatEvent'](_0xf8aed5){const _0x317d33=_0x38c3ff;this['_scheduleClearOtherTimer'](_0xf8aed5[_0x317d33(0x3a6)]);}['_send'](_0x4f52f5){const _0x5b930a=_0x38c3ff;localStorage[_0x5b930a(0x43c)](Lt,JSON[_0x5b930a(0x3e4)](_0x4f52f5));}[_0x38c3ff(0x228)](){const _0x38967b=_0x38c3ff;this[_0x38967b(0x26f)]=window[_0x38967b(0x60d)](()=>{const _0x21b81a=_0x38967b;this[_0x21b81a(0x526)]({'type':0x2,'memberID':this[_0x21b81a(0x31c)]});},Nt);}[_0x38c3ff(0x1a3)](_0x45a427){const _0x247bb7=_0x38c3ff;return this[_0x247bb7(0x4c5)][_0x247bb7(0x599)](_0x45a427)||this['_unitStatus']['set'](_0x45a427,new A['BehaviorSubject'](0x0)),this['_unitStatus'][_0x247bb7(0x585)](_0x45a427);}}var Di=Object[_0x38c3ff(0x1c1)],wi=Object['getOwnPropertyDescriptor'],Pi=(_0x459f58,_0x505648,_0x2423de,_0x554a00)=>{const _0x18468a=_0x38c3ff;for(var _0x33ce1d=_0x554a00>0x1?void 0x0:_0x554a00?wi(_0x505648,_0x2423de):_0x505648,_0xdb495f=_0x459f58[_0x18468a(0x58c)]-0x1,_0x470083;_0xdb495f>=0x0;_0xdb495f--)(_0x470083=_0x459f58[_0xdb495f])&&(_0x33ce1d=(_0x554a00?_0x470083(_0x505648,_0x2423de,_0x33ce1d):_0x470083(_0x33ce1d))||_0x33ce1d);return _0x554a00&&_0x33ce1d&&Di(_0x505648,_0x2423de,_0x33ce1d),_0x33ce1d;},et=(_0x5592b9,_0xb7cd63)=>(_0x380da3,_0x2f86d8)=>_0xb7cd63(_0x380da3,_0x2f86d8,_0x5592b9);let We=class{constructor(_0x317213,_0x30e7ff,_0x28bed5){const _0x5dec6a=_0x38c3ff;this[_0x5dec6a(0x3b6)]=_0x317213,this[_0x5dec6a(0x267)]=_0x30e7ff,this[_0x5dec6a(0x5ca)]=_0x28bed5;}['transformStateCache'](_0x29ac88){const _0x3bc300=_0x38c3ff;this[_0x3bc300(0x4cc)](_0x29ac88);}['transformRemoteChangeset'](_0x57675f){const _0x1293db=_0x38c3ff,{unitID:_0x5c5814}=_0x57675f,{collaboration:_0x308419}=this['_docStateChangeManagerService'][_0x1293db(0x5da)](_0x5c5814);if(_0x308419['length']===0x0)return _0x57675f;let _0x24d3da=a[_0x1293db(0x24a)][_0x1293db(0x25b)](_0x57675f[_0x1293db(0x1cd)][0x0]);for(let _0x18d3a2=0x0;_0x18d3a2<_0x308419[_0x1293db(0x58c)];_0x18d3a2++){const _0x2cefea={'id':_0x1293db(0x354),'params':{'unitId':_0x308419[_0x18d3a2][_0x1293db(0x492)],..._0x308419[_0x18d3a2]['redoState']}},_0x242a8f=this[_0x1293db(0x267)][_0x1293db(0x634)](_0x24d3da,_0x2cefea,!0x1);if(S[_0x1293db(0x446)](_0x242a8f))throw _0x242a8f['error'];_0x24d3da=_0x242a8f[_0x1293db(0x30e)];}return{...a[_0x1293db(0x24a)][_0x1293db(0x25b)](_0x57675f),'mutations':[_0x24d3da]};}[_0x38c3ff(0x4cc)](_0x17f958){const _0x2278d4=_0x38c3ff,{unitID:_0x16fd97}=_0x17f958,{history:_0x1f7250,collaboration:_0x45c783}=this['_docStateChangeManagerService'][_0x2278d4(0x5da)](_0x16fd97);if(_0x1f7250[_0x2278d4(0x58c)]===0x0&&_0x45c783[_0x2278d4(0x58c)]===0x0)return;const _0x4b8c21=[],_0x177638=[];let _0x527404=a[_0x2278d4(0x24a)][_0x2278d4(0x25b)](_0x17f958['mutations'][0x0]),_0x58a178=a[_0x2278d4(0x24a)]['deepClone'](_0x17f958[_0x2278d4(0x1cd)][0x0]);for(let _0x1a8854=_0x1f7250[_0x2278d4(0x58c)]-0x1;_0x1a8854>=0x0;_0x1a8854--){const _0x2a35a1={'id':_0x2278d4(0x354),'params':{'unitId':_0x1f7250[_0x1a8854][_0x2278d4(0x492)],..._0x1f7250[_0x1a8854][_0x2278d4(0x507)]}},_0x231609={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1f7250[_0x1a8854][_0x2278d4(0x492)],..._0x1f7250[_0x1a8854][_0x2278d4(0x292)]}},_0x44b905=this[_0x2278d4(0x267)][_0x2278d4(0x634)](_0x527404,_0x2a35a1,!0x1),_0x3fbc42=this['_transformService']['transformMutation'](_0x58a178,_0x231609,!0x1);if(S[_0x2278d4(0x446)](_0x44b905))throw _0x44b905[_0x2278d4(0x55e)];if(S[_0x2278d4(0x446)](_0x3fbc42))throw _0x3fbc42['error'];_0x4b8c21[_0x2278d4(0x5a5)]({..._0x1f7250[_0x1a8854],'undoState':_0x44b905[_0x2278d4(0x41f)][_0x2278d4(0x595)],'redoState':_0x3fbc42[_0x2278d4(0x41f)]['params']}),_0x527404=_0x44b905[_0x2278d4(0x30e)],_0x58a178=_0x3fbc42[_0x2278d4(0x30e)];}_0x527404=a[_0x2278d4(0x24a)]['deepClone'](_0x17f958[_0x2278d4(0x1cd)][0x0]),_0x58a178=a[_0x2278d4(0x24a)][_0x2278d4(0x25b)](_0x17f958[_0x2278d4(0x1cd)][0x0]);for(let _0x2e5ac5=_0x45c783[_0x2278d4(0x58c)]-0x1;_0x2e5ac5>=0x0;_0x2e5ac5--){const _0x10075b={'id':_0x2278d4(0x354),'params':{'unitId':_0x45c783[_0x2e5ac5]['unitId'],..._0x45c783[_0x2e5ac5]['undoState']}},_0xc8dc32={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x45c783[_0x2e5ac5][_0x2278d4(0x492)],..._0x45c783[_0x2e5ac5][_0x2278d4(0x292)]}},_0x4d48eb=this[_0x2278d4(0x267)]['transformMutation'](_0x527404,_0x10075b,!0x1),_0x1f4e07=this['_transformService'][_0x2278d4(0x634)](_0x58a178,_0xc8dc32,!0x1);if(S['isTransformMutationFailure'](_0x4d48eb))throw _0x4d48eb[_0x2278d4(0x55e)];if(S['isTransformMutationFailure'](_0x1f4e07))throw _0x1f4e07['error'];_0x177638[_0x2278d4(0x5a5)]({..._0x45c783[_0x2e5ac5],'undoState':_0x4d48eb[_0x2278d4(0x41f)][_0x2278d4(0x595)],'redoState':_0x1f4e07[_0x2278d4(0x41f)][_0x2278d4(0x595)]}),_0x527404=_0x4d48eb[_0x2278d4(0x30e)],_0x58a178=_0x1f4e07[_0x2278d4(0x30e)];}this[_0x2278d4(0x5ca)][_0x2278d4(0x46e)](_0x16fd97,{'history':_0x4b8c21,'collaboration':_0x177638});}};We=Pi([et(0x0,a['Inject'](a[_0x38c3ff(0x50e)])),et(0x1,S['ITransformService']),et(0x2,a[_0x38c3ff(0x2af)](J['DocStateChangeManagerService']))],We);function dn(_0x337c89){const _0x14ff8b=_0x38c3ff;let _0x498574='';for(const _0x468da3 of _0x337c89){const {startOffset:_0x3cb87c,endOffset:_0x382d9a,isActive:_0xc22e14,rangeType:_0x4737eb,segmentId:_0x4f58c7,segmentPage:_0x5c9f2a}=_0x468da3;_0x498574[_0x14ff8b(0x58c)]&&(_0x498574+=','),_0x498574+=_0x3cb87c+':'+_0x382d9a+':'+(_0xc22e14?'1':'0')+':'+_0x4737eb+':'+_0x4f58c7+':'+_0x5c9f2a;}return _0x498574;}function Ui(_0x3030d8){const _0x10cbad=_0x38c3ff,_0x5b200e=_0x3030d8[_0x10cbad(0x368)](','),_0x219af3=[];for(const _0x2accb4 of _0x5b200e){const [_0xf16d02,_0x54fc59,_0x417bda,_0x4c4bee,_0x109103,_0x1a9829]=_0x2accb4['split'](':');_0x219af3[_0x10cbad(0x473)]({'startOffset':Number(_0xf16d02),'endOffset':Number(_0x54fc59),'collapsed':_0xf16d02===_0x54fc59,'isActive':_0x417bda==='1','rangeType':_0x4c4bee===a[_0x10cbad(0x2ec)][_0x10cbad(0x33c)]?a['DOC_RANGE_TYPE'][_0x10cbad(0x33c)]:a[_0x10cbad(0x2ec)][_0x10cbad(0x248)],'segmentId':typeof _0x109103==_0x10cbad(0x53c)?String(_0x109103):'','segmentPage':Number(_0x1a9829!=null?_0x1a9829:-0x1)});}return _0x219af3['some'](_0x48748f=>_0x48748f[_0x10cbad(0x2f5)])||(_0x219af3[0x0][_0x10cbad(0x2f5)]=!0x0),_0x219af3;}class Rt extends a['RxDisposable']{constructor(){const _0xfe6704=_0x38c3ff;super(...arguments),I(this,_0xfe6704(0x4de),new A[(_0xfe6704(0x4fc))](null)),I(this,_0xfe6704(0x305),this['_collabCursorState$'][_0xfe6704(0x4a7)]());}['syncEditingCollabCursor'](_0xfd037c){const _0x4badbe=_0x38c3ff,{unitID:_0x353874,memberID:_0xd4bb15,textRanges:_0x37dcc9}=_0xfd037c,_0x47270a=dn(_0x37dcc9);if(_0x47270a==='')return;const _0x22f810={'unitID':_0x353874,'memberID':_0xd4bb15,'selection':_0x47270a};this[_0x4badbe(0x4de)][_0x4badbe(0x4c4)](_0x22f810);}}var Mi=Object[_0x38c3ff(0x1c1)],Ai=Object[_0x38c3ff(0x336)],Ni=(_0x133775,_0x5d3dae,_0x477dc6,_0x4a80c8)=>{const _0x28ad04=_0x38c3ff;for(var _0x44d65d=_0x4a80c8>0x1?void 0x0:_0x4a80c8?Ai(_0x5d3dae,_0x477dc6):_0x5d3dae,_0x188774=_0x133775[_0x28ad04(0x58c)]-0x1,_0x5db4de;_0x188774>=0x0;_0x188774--)(_0x5db4de=_0x133775[_0x188774])&&(_0x44d65d=(_0x4a80c8?_0x5db4de(_0x5d3dae,_0x477dc6,_0x44d65d):_0x5db4de(_0x44d65d))||_0x44d65d);return _0x4a80c8&&_0x44d65d&&Mi(_0x5d3dae,_0x477dc6,_0x44d65d),_0x44d65d;},xt=(_0x4ec40b,_0x42f37b)=>(_0x486840,_0x10d377)=>_0x42f37b(_0x486840,_0x10d377,_0x4ec40b);let Fe=class{constructor(_0x103471,_0x57e3e4){const _0x2915b2=_0x38c3ff;this[_0x2915b2(0x3b6)]=_0x103471,this[_0x2915b2(0x267)]=_0x57e3e4;}[_0x38c3ff(0x265)](_0x600e0a){const _0x3c6d0f=_0x38c3ff;var _0x683667;const _0x195667=this[_0x3c6d0f(0x3b6)][_0x3c6d0f(0x585)](ye['DocSelectionManagerService']),_0x166faf=(_0x683667=_0x195667['getDocRanges']())!=null?_0x683667:[];if(_0x166faf[_0x3c6d0f(0x58c)]===0x0)return;const _0x417cd7=_0x600e0a[_0x3c6d0f(0x364)],_0x2af171=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x417cd7,'actions':null,'textRanges':_0x166faf}}],_0x58f8a6=this[_0x3c6d0f(0x267)]['transformMutationsWithChangeset'](_0x600e0a,_0x2af171);if(!S[_0x3c6d0f(0x38b)](_0x58f8a6))throw _0x58f8a6[_0x3c6d0f(0x55e)];const _0x7ea7a6=_0x58f8a6[_0x3c6d0f(0x41f)][0x0][_0x3c6d0f(0x595)][_0x3c6d0f(0x4fd)];Array[_0x3c6d0f(0x32a)](_0x7ea7a6)&&_0x7ea7a6[_0x3c6d0f(0x58c)]&&_0x195667[_0x3c6d0f(0x60b)](_0x7ea7a6,{'unitId':_0x417cd7,'subUnitId':_0x417cd7},!0x1);}};Fe=Ni([xt(0x0,a[_0x38c3ff(0x2af)](a[_0x38c3ff(0x50e)])),xt(0x1,S['ITransformService'])],Fe);const Li=new Set([k[_0x38c3ff(0x54f)]['id']]);function jt(_0x1ee2c2,_0x325be8,_0x2e4065,_0x36ea0c,_0x178353){const _0xcc9465=_0x38c3ff;var _0x54e5b3,_0x4ae70e,_0x523107,_0x5e7263;const _0x15d6c3=[];for(const _0x3d1e22 of _0x1ee2c2)if(Li[_0xcc9465(0x599)](_0x3d1e22['id'])){if(_0x15d6c3[_0xcc9465(0x58c)]>0x0)break;_0x15d6c3[_0xcc9465(0x473)](_0x3d1e22);break;}else _0x15d6c3['push'](_0x3d1e22);const _0x13b8cb=(_0x4ae70e=(_0x54e5b3=_0x178353['getCurrentUser']())==null?void 0x0:_0x54e5b3[_0xcc9465(0x2bf)])!=null?_0x4ae70e:_0xcc9465(0x50f),_0x26f7c9=(_0x5e7263=(_0x523107=_0x178353[_0xcc9465(0x35a)]())==null?void 0x0:_0x523107[_0xcc9465(0x3a6)])!=null?_0x5e7263:_0xcc9465(0x50f);return{'changeset':{'unitID':_0x325be8,'type':S[_0xcc9465(0x5e9)](_0x2e4065[_0xcc9465(0x309)](_0x325be8)),'baseRev':_0x36ea0c[_0xcc9465(0x451)](_0x325be8),'revision':0x0,'userID':_0x13b8cb,'memberID':_0x26f7c9,'mutations':_0x15d6c3},'pendingMutations':_0x1ee2c2[_0xcc9465(0x56a)](_0x15d6c3[_0xcc9465(0x58c)])};}function xi(_0xb85e31,_0x1d5503,_0x4ab7eb,_0x240c0d,_0x369c65){const _0x3b5294=_0x38c3ff;var _0x59a659,_0xae9ef8,_0x6b080f,_0x3b5d3c;const _0x1273ab=[_0xb85e31['reduce']((_0x5d30c3,_0x303e36)=>{const _0xd4c369=_0x4762;var _0x4574f0;const {id:_0x112420}=_0x5d30c3,{id:_0x294847,type:_0x1b99c0}=_0x303e36,_0x2c1054=(_0x4574f0=_0x5d30c3['params'])!=null?_0x4574f0:{'actions':null},_0x5bb1ff=_0x303e36[_0xd4c369(0x595)];if(_0x112420&&_0x112420!==_0x294847)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x112420+_0xd4c369(0x41c)+_0x294847+'.');return{..._0x5d30c3,'id':_0x294847,'type':_0x1b99c0,'params':{'unitId':_0x5bb1ff[_0xd4c369(0x492)],'textRanges':_0x5bb1ff[_0xd4c369(0x4fd)],'actions':a[_0xd4c369(0x391)][_0xd4c369(0x549)](_0x2c1054[_0xd4c369(0x1c8)],_0x5bb1ff[_0xd4c369(0x1c8)])}};},{})],_0x228633=(_0xae9ef8=(_0x59a659=_0x369c65[_0x3b5294(0x35a)]())==null?void 0x0:_0x59a659[_0x3b5294(0x2bf)])!=null?_0xae9ef8:_0x3b5294(0x50f),_0x108bf6=(_0x3b5d3c=(_0x6b080f=_0x369c65[_0x3b5294(0x35a)]())==null?void 0x0:_0x6b080f['memberID'])!=null?_0x3b5d3c:'unknown';return{'changeset':{'unitID':_0x1d5503,'type':S['mapDocumentTypeToUniverType'](_0x4ab7eb[_0x3b5294(0x309)](_0x1d5503)),'baseRev':_0x240c0d['getCurrentRevOfUnit'](_0x1d5503),'revision':0x0,'userID':_0x228633,'memberID':_0x108bf6,'mutations':_0x1273ab},'pendingMutations':[]};}function fn(_0x12bc73,_0x456271){const _0x9382c0=_0x38c3ff,_0x3b3a43=new A[(_0x9382c0(0x1bd))](0x1);return setTimeout(()=>_0x3b3a43[_0x9382c0(0x4c4)](_0x456271),_0x12bc73),_0x3b3a43[_0x9382c0(0x4a7)]()[_0x9382c0(0x57b)](A[_0x9382c0(0x3f1)](0x1));}const ji={'id':k[_0x38c3ff(0x367)]['id'],'type':a[_0x38c3ff(0x301)][_0x38c3ff(0x4d4)],'params':{}};var $i=Object['defineProperty'],Hi=Object['getOwnPropertyDescriptor'],Ie=(_0x24b21c,_0xecf473,_0x10f540,_0x253bd0)=>{const _0x38800a=_0x38c3ff;for(var _0xfdde7f=_0x253bd0>0x1?void 0x0:_0x253bd0?Hi(_0xecf473,_0x10f540):_0xecf473,_0x4b0cc7=_0x24b21c[_0x38800a(0x58c)]-0x1,_0xb0d0ce;_0x4b0cc7>=0x0;_0x4b0cc7--)(_0xb0d0ce=_0x24b21c[_0x4b0cc7])&&(_0xfdde7f=(_0x253bd0?_0xb0d0ce(_0xecf473,_0x10f540,_0xfdde7f):_0xb0d0ce(_0xfdde7f))||_0xfdde7f);return _0x253bd0&&_0xfdde7f&&$i(_0xecf473,_0x10f540,_0xfdde7f),_0xfdde7f;},N=(_0x326d97,_0x263462)=>(_0x59023b,_0x5fea7a)=>_0x263462(_0x59023b,_0x5fea7a,_0x326d97),q=(_0x1b30cd=>(_0x1b30cd[_0x38c3ff(0x1a1)]=_0x38c3ff(0x2c3),_0x1b30cd['SYNCED']=_0x38c3ff(0x4ec),_0x1b30cd[_0x38c3ff(0x426)]=_0x38c3ff(0x64d),_0x1b30cd[_0x38c3ff(0x575)]=_0x38c3ff(0x2dc),_0x1b30cd[_0x38c3ff(0x535)]=_0x38c3ff(0x29f),_0x1b30cd['FETCH_MISS']=_0x38c3ff(0x587),_0x1b30cd[_0x38c3ff(0x348)]=_0x38c3ff(0x614),_0x1b30cd[_0x38c3ff(0x33f)]=_0x38c3ff(0x647),_0x1b30cd))(q||{});const vn=0xea60;class Ce{constructor(_0x43fa0d,_0x4d9ccb,_0x3b0528,_0xd9d4df,_0x23cc83,_0x593a53,_0x306039,_0x4ac914,_0x965ecd){const _0x5c10df=_0x38c3ff;I(this,_0x5c10df(0x4a6),null),I(this,_0x5c10df(0x34c),[]),(this['unitID']=_0x43fa0d,this[_0x5c10df(0x42a)]=_0x4d9ccb,this[_0x5c10df(0x288)]=_0x23cc83,this[_0x5c10df(0x4f6)]=_0x593a53,this[_0x5c10df(0x3f8)]=_0x306039,this[_0x5c10df(0x26b)]=_0x4ac914,this[_0x5c10df(0x2ac)]=_0x965ecd,this[_0x5c10df(0x4a6)]=_0x3b0528,this[_0x5c10df(0x34c)]=_0xd9d4df);}[_0x38c3ff(0x20f)](_0x49cc44){const _0x45910b=_0x38c3ff,_0x46e7a8=this[_0x45910b(0x26b)][_0x45910b(0x451)](this[_0x45910b(0x364)]);return _0x49cc44[_0x45910b(0x623)]>_0x46e7a8+0x1?(this[_0x45910b(0x288)]['onMissingChangesets']({'from':_0x46e7a8,'to':_0x49cc44[_0x45910b(0x623)]-0x1}),!0x0):!0x1;}[_0x38c3ff(0x295)](_0x3f2013){this['_undoRedoService']['transformUndoRedo'](this['unitID'],_0x3f2013);}[_0x38c3ff(0x1b7)](_0x3bf1ea){const _0x410978=_0x38c3ff;var _0x2a53b5,_0x2f7462;(_0x2f7462=(_0x2a53b5=this[_0x410978(0x288)])[_0x410978(0x60a)])==null||_0x2f7462[_0x410978(0x420)](_0x2a53b5,_0x3bf1ea);}['_transformIMECache'](_0x1c26e3){const _0x26f35c=_0x38c3ff;var _0x51c98f,_0x3b348d;return(_0x3b348d=(_0x51c98f=this[_0x26f35c(0x288)])[_0x26f35c(0x505)])==null?void 0x0:_0x3b348d[_0x26f35c(0x420)](_0x51c98f,_0x1c26e3);}[_0x38c3ff(0x5c1)](_0x1dafad){const _0x18fa66=_0x38c3ff;var _0x346fdc,_0x29b9e4;return(_0x29b9e4=(_0x346fdc=this[_0x18fa66(0x288)])[_0x18fa66(0x4b3)])==null?void 0x0:_0x29b9e4[_0x18fa66(0x420)](_0x346fdc,_0x1dafad);}[_0x38c3ff(0x534)](_0x5c7b85){const _0x38a6dd=_0x38c3ff;var _0x547e6e,_0x371f09,_0x332220;return(_0x332220=(_0x371f09=(_0x547e6e=this[_0x38a6dd(0x288)])[_0x38a6dd(0x2d2)])==null?void 0x0:_0x371f09[_0x38a6dd(0x420)](_0x547e6e,_0x5c7b85))!=null?_0x332220:_0x5c7b85;}['_transformRemoteChangesetByStateCache'](_0x27fd62){const _0x56d137=_0x38c3ff;var _0x551c10,_0x3c5f78,_0x41503a;return(_0x41503a=(_0x3c5f78=(_0x551c10=this[_0x56d137(0x288)])[_0x56d137(0x506)])==null?void 0x0:_0x3c5f78[_0x56d137(0x420)](_0x551c10,_0x27fd62))!=null?_0x41503a:_0x27fd62;}['_syncEditingCollabCursor'](_0x309d66){const _0x11d7ef=_0x38c3ff;var _0x3e8d63,_0x191bbd;if(this['type']===ie[_0x11d7ef(0x649)]){const {unitID:_0xa332d5,mutations:_0x4b04e6,memberID:_0x89e10e}=_0x309d66,_0x38f310=_0x4b04e6[0x0]['params']['textRanges'];Array[_0x11d7ef(0x32a)](_0x38f310)&&_0x38f310['length']>0x0&&((_0x191bbd=(_0x3e8d63=this[_0x11d7ef(0x288)])[_0x11d7ef(0x200)])==null||_0x191bbd['call'](_0x3e8d63,{'unitID':_0xa332d5,'memberID':_0x89e10e,'textRanges':_0x38f310}));}}['_updateLocalCache'](){const _0x453906=_0x38c3ff;this[_0x453906(0x2ac)][_0x453906(0x3f6)](this['unitID'],this[_0x453906(0x42a)],this['_awaitingChangeset'],this[_0x453906(0x34c)]);}[_0x38c3ff(0x539)](){const _0x38db58=_0x38c3ff;return this[_0x38db58(0x26b)][_0x38db58(0x451)](this['unitID']);}['_incrementRevisionNumber'](){const _0x5a6fd7=_0x38c3ff;this[_0x5a6fd7(0x26b)][_0x5a6fd7(0x20b)](this[_0x5a6fd7(0x364)]);}[_0x38c3ff(0x32f)](_0x308505){const _0x6984de=_0x38c3ff;var _0x4f15dd;let _0x1898a7=this[_0x6984de(0x534)](_0x308505);_0x1898a7=this[_0x6984de(0x257)](_0x1898a7);const _0x51fb2e=a[_0x6984de(0x5a3)](_0x1898a7[_0x6984de(0x1cd)],this['_commandService'],{'fromCollab':!0x0});if(!_0x51fb2e['result'])throw _0x51fb2e[_0x6984de(0x55e)]instanceof Error?_0x51fb2e[_0x6984de(0x55e)]:new Error((_0x4f15dd=_0x51fb2e[_0x6984de(0x55e)])!=null?_0x4f15dd:_0x6984de(0x5d9));this[_0x6984de(0x3ed)](_0x1898a7),this[_0x6984de(0x5c1)](_0x1898a7),this[_0x6984de(0x295)](_0x308505),this[_0x6984de(0x1b7)](_0x1898a7),this[_0x6984de(0x321)](_0x1898a7),this[_0x6984de(0x298)]();}}let Oe=class extends Ce{constructor(_0xd867d9,_0x297fa2,_0x5781bf,_0x16aff7,_0x95c4a0,_0x1209a5,_0x4c1da9,_0xbbfa29,_0x66a316,_0x553136){const _0x18247f=_0x38c3ff;super(_0xd867d9,_0x297fa2,null,[],_0x5781bf,_0xbbfa29,_0x4c1da9,_0x16aff7,_0x95c4a0),I(this,_0x18247f(0x2b7),_0x18247f(0x4ec)),(this[_0x18247f(0x3b6)]=_0x1209a5,this[_0x18247f(0x4ce)]=_0x66a316,this[_0x18247f(0x267)]=_0x553136);}[_0x38c3ff(0x47d)](_0x24a55e){const _0x33fdd9=_0x38c3ff,_0x534b9c=this[_0x33fdd9(0x3b6)][_0x33fdd9(0x447)](ce,this[_0x33fdd9(0x364)],this[_0x33fdd9(0x42a)],[_0x24a55e],this[_0x33fdd9(0x288)]);return _0x534b9c['_schedule'](),_0x534b9c[_0x33fdd9(0x3f3)](),_0x534b9c;}[_0x38c3ff(0x1a0)](_0x218340){const _0x4c1975=_0x38c3ff;if(this[_0x4c1975(0x20f)](_0x218340))return this[_0x4c1975(0x3b6)][_0x4c1975(0x447)](re,this[_0x4c1975(0x364)],this[_0x4c1975(0x42a)],null,[],null,[_0x218340],this['_handler']);try{const _0x375287=this[_0x4c1975(0x267)][_0x4c1975(0x4be)](_0x218340,[ji]);if(S['isTransformMutationsWithChangesetSuccess'](_0x375287)){const {c1Prime:_0x5dbe26}=_0x375287;return this[_0x4c1975(0x32f)](_0x5dbe26),this;}throw _0x375287[_0x4c1975(0x55e)];}catch(_0x16d82d){return this['_logService'][_0x4c1975(0x55e)](_0x16d82d),this[_0x4c1975(0x205)](!0x1);}}['_onConflict'](_0x34f162){const _0x4f8214=_0x38c3ff;return this[_0x4f8214(0x3b6)]['createInstance'](ve,this[_0x4f8214(0x364)],this['type'],null,[],this[_0x4f8214(0x288)],_0x34f162);}[_0x38c3ff(0x625)](){const _0x492426=_0x38c3ff;throw new Error(_0x492426(0x61f));}[_0x38c3ff(0x218)](){const _0xeb9272=_0x38c3ff;throw new Error(_0xeb9272(0x622));}['onRemoteRetry'](){return this;}[_0x38c3ff(0x300)](){const _0x517b8d=_0x38c3ff;return this[_0x517b8d(0x3b6)][_0x517b8d(0x447)](me,this[_0x517b8d(0x364)],this['type'],null,[],this[_0x517b8d(0x288)]);}[_0x38c3ff(0x4b2)](){return this;}[_0x38c3ff(0x412)](){const _0x41299b=_0x38c3ff;throw new Error(_0x41299b(0x520));}[_0x38c3ff(0x23c)](){const _0x361a16=_0x38c3ff,_0x331590=this[_0x361a16(0x26b)][_0x361a16(0x451)](this[_0x361a16(0x364)]);return this['_handler'][_0x361a16(0x30a)]({'from':_0x331590,'to':0x0}),this[_0x361a16(0x3b6)]['createInstance'](re,this[_0x361a16(0x364)],this[_0x361a16(0x42a)],null,[],null,[],this[_0x361a16(0x288)]);}};Oe=Ie([N(0x3,a[_0x38c3ff(0x2af)](S[_0x38c3ff(0x3cb)])),N(0x4,a['Inject'](exports[_0x38c3ff(0x227)])),N(0x5,a[_0x38c3ff(0x2af)](a[_0x38c3ff(0x50e)])),N(0x6,a[_0x38c3ff(0x1bc)]),N(0x7,a['ICommandService']),N(0x8,a[_0x38c3ff(0x626)]),N(0x9,S['ITransformService'])],Oe);let ce=class extends Ce{constructor(_0x323ed3,_0x1e5d97,_0x36ecce,_0x305375,_0x4d4929,_0x272e8e,_0x9cbd2d,_0x44617e,_0x76a9e1,_0x3d5481,_0x2fcb8e,_0x2e41d2,_0x10c05f,_0x804f06){const _0x1a039e=_0x38c3ff;super(_0x323ed3,_0x1e5d97,null,_0x36ecce,_0x305375,_0x3d5481,_0x804f06,_0x272e8e,_0x9cbd2d),I(this,'status','pending'),I(this,_0x1a039e(0x33b),null),I(this,_0x1a039e(0x463),null),(this['_injector']=_0x4d4929,this[_0x1a039e(0x1aa)]=_0x44617e,this[_0x1a039e(0x4ce)]=_0x76a9e1,this[_0x1a039e(0x1f5)]=_0x2fcb8e,this[_0x1a039e(0x267)]=_0x2e41d2,this['_univerInstanceService']=_0x10c05f);}[_0x38c3ff(0x47d)](_0x40141e){const _0x3d3082=_0x38c3ff;return this[_0x3d3082(0x34c)][_0x3d3082(0x473)](_0x40141e),this[_0x3d3082(0x3f3)](),this;}[_0x38c3ff(0x1a0)](_0x10d215){const _0x504dd8=_0x38c3ff;if(this[_0x504dd8(0x20f)](_0x10d215))return this[_0x504dd8(0x513)](),this['_injector'][_0x504dd8(0x447)](re,this[_0x504dd8(0x364)],this[_0x504dd8(0x42a)],null,this[_0x504dd8(0x34c)],null,[_0x10d215],this[_0x504dd8(0x288)]);try{const _0x5db72d=this[_0x504dd8(0x267)][_0x504dd8(0x4be)](_0x10d215,this['_pendingMutations']);if(S['isTransformMutationsWithChangesetSuccess'](_0x5db72d)){const {c1Prime:_0x2dbba0,m2Prime:_0x46356a}=_0x5db72d;this[_0x504dd8(0x32f)](_0x2dbba0);const _0x166074=this['_injector'][_0x504dd8(0x447)](ce,this[_0x504dd8(0x364)],this[_0x504dd8(0x42a)],_0x46356a,this[_0x504dd8(0x288)]);return this[_0x504dd8(0x513)](),_0x166074[_0x504dd8(0x540)](this['_scheduleTimestamp']?Math[_0x504dd8(0x4e4)](0x0,new Date()[_0x504dd8(0x1cb)]()-this['_scheduleTimestamp']):this[_0x504dd8(0x544)]()),_0x166074;}throw _0x5db72d[_0x504dd8(0x55e)];}catch(_0x301821){return this['_logService'][_0x504dd8(0x55e)](_0x301821),this['_onConflict'](!0x1);}}[_0x38c3ff(0x625)](){const _0x48a815=_0x38c3ff;throw new Error(_0x48a815(0x2cd));}[_0x38c3ff(0x218)](){const _0x34fdfa=_0x38c3ff;throw new Error(_0x34fdfa(0x3fc));}['onRemoteRetry'](){return this;}['toggleOffline'](){const _0x1dbc4e=_0x38c3ff;return this[_0x1dbc4e(0x513)](),this[_0x1dbc4e(0x3b6)][_0x1dbc4e(0x447)](me,this['unitID'],this[_0x1dbc4e(0x42a)],null,this['_pendingMutations'],this[_0x1dbc4e(0x288)]);}['toggleOnline'](){return this;}[_0x38c3ff(0x540)](_0x3f04f6){const _0x406e90=_0x38c3ff,_0x1a2cb9=_0x3f04f6!=null?_0x3f04f6:this[_0x406e90(0x544)]();this['_scheduleTimestamp']=new Date()[_0x406e90(0x1cb)](),this['_sendingTimer']=window[_0x406e90(0x3bb)](()=>{const _0x21bc69=_0x406e90;this[_0x21bc69(0x513)]();let _0x5f4608=null;switch(this['type']){case ie[_0x21bc69(0x23d)]:{_0x5f4608=jt(this[_0x21bc69(0x34c)],this['unitID'],this['_univerInstanceService'],this[_0x21bc69(0x26b)],this[_0x21bc69(0x1aa)]);break;}case ie[_0x21bc69(0x649)]:{this[_0x21bc69(0x34c)][_0x21bc69(0x318)](_0x32c6f3=>_0x32c6f3['id']===ye['RichTextEditingMutation']['id'])?_0x5f4608=xi(this['_pendingMutations'],this[_0x21bc69(0x364)],this[_0x21bc69(0x393)],this['_revisionService'],this[_0x21bc69(0x1aa)]):_0x5f4608=jt(this[_0x21bc69(0x34c)],this[_0x21bc69(0x364)],this[_0x21bc69(0x393)],this[_0x21bc69(0x26b)],this[_0x21bc69(0x1aa)]);break;}default:throw new Error(_0x21bc69(0x509)+this[_0x21bc69(0x42a)]+_0x21bc69(0x3d0));}const {changeset:_0x2110f9,pendingMutations:_0x2aff6b}=_0x5f4608;this['_handler'][_0x21bc69(0x64a)](_0x2110f9);const _0x5a0ef4=_0x2aff6b[_0x21bc69(0x58c)]?this['_injector'][_0x21bc69(0x447)](le,this[_0x21bc69(0x364)],this[_0x21bc69(0x42a)],_0x2110f9,_0x2aff6b,this[_0x21bc69(0x288)],void 0x0):this[_0x21bc69(0x3b6)]['createInstance'](fe,this[_0x21bc69(0x364)],this[_0x21bc69(0x42a)],_0x2110f9,this[_0x21bc69(0x288)]);_0x5a0ef4[_0x21bc69(0x3f3)](),this[_0x21bc69(0x288)][_0x21bc69(0x1ff)](this,_0x5a0ef4);},_0x1a2cb9);}['_getSendChangesetTimeout'](){const _0x20de3a=_0x38c3ff;var _0x24722b;const _0x37c952=this['_configService'][_0x20de3a(0x556)](te);return(_0x24722b=_0x37c952==null?void 0x0:_0x37c952['sendChangesetTimeout'])!=null?_0x24722b:kn;}[_0x38c3ff(0x412)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearScheduledTask'](){const _0x392174=_0x38c3ff;this[_0x392174(0x463)]!=null&&(clearTimeout(this[_0x392174(0x463)]),this[_0x392174(0x463)]=null);}[_0x38c3ff(0x205)](_0x5a5591){const _0x351e0f=_0x38c3ff;return this[_0x351e0f(0x513)](),this[_0x351e0f(0x3b6)][_0x351e0f(0x447)](ve,this[_0x351e0f(0x364)],this[_0x351e0f(0x42a)],null,this[_0x351e0f(0x34c)],this['_handler'],_0x5a5591);}};ce=Ie([N(0x4,a['Inject'](a[_0x38c3ff(0x50e)])),N(0x5,a[_0x38c3ff(0x2af)](S['RevisionService'])),N(0x6,a[_0x38c3ff(0x2af)](exports['LocalCacheService'])),N(0x7,a[_0x38c3ff(0x2af)](exports[_0x38c3ff(0x41e)])),N(0x8,a[_0x38c3ff(0x626)]),N(0x9,a['ICommandService']),N(0xa,a[_0x38c3ff(0x326)]),N(0xb,S[_0x38c3ff(0x3cc)]),N(0xc,a[_0x38c3ff(0x2a8)]),N(0xd,a[_0x38c3ff(0x1bc)])],ce);let fe=class extends Ce{constructor(_0x5f03cc,_0x5d2ae8,_0x822ffe,_0x4660bf,_0x50b457,_0x26a16d,_0x50c1ea,_0x4c0db0,_0x145b9d,_0x13d82e,_0x1c643d){const _0x1d40b6=_0x38c3ff;super(_0x5f03cc,_0x5d2ae8,_0x822ffe,[],_0x4660bf,_0x4c0db0,_0x1c643d,_0x26a16d,_0x50c1ea),I(this,_0x1d40b6(0x2b7),_0x1d40b6(0x2dc)),I(this,_0x1d40b6(0x3b0),0x0),I(this,_0x1d40b6(0x2f9)),I(this,_0x1d40b6(0x317)),(this[_0x1d40b6(0x3b6)]=_0x50b457,this[_0x1d40b6(0x4ce)]=_0x145b9d,this[_0x1d40b6(0x267)]=_0x13d82e);}[_0x38c3ff(0x47d)](_0x136175){const _0x1c060d=_0x38c3ff;this[_0x1c060d(0x513)]();const _0x43032a=this[_0x1c060d(0x3b6)][_0x1c060d(0x447)](le,this['unitID'],this[_0x1c060d(0x42a)],this['_awaitingChangeset'],[_0x136175],this[_0x1c060d(0x288)],this[_0x1c060d(0x2f9)]);return _0x43032a['_updateLocalCache'](),_0x43032a;}['onRemoteChangeset'](_0x3222f1){const _0x680aa2=_0x38c3ff;if(this['_checkMissing'](_0x3222f1))return this[_0x680aa2(0x513)](),this[_0x680aa2(0x3b6)]['createInstance'](re,this[_0x680aa2(0x364)],this[_0x680aa2(0x42a)],this[_0x680aa2(0x4a6)],[],null,[_0x3222f1],this[_0x680aa2(0x288)]);try{const _0x575156=this[_0x680aa2(0x267)][_0x680aa2(0x2f7)]([_0x3222f1],[this[_0x680aa2(0x4a6)]],!0x1);if(S[_0x680aa2(0x3ee)](_0x575156)){const {c1Prime:_0x57158f,c2Prime:_0x232729}=_0x575156;this[_0x680aa2(0x32f)](_0x57158f[0x0]),_0x232729[0x0]['baseRev']=this['_getCurrentRevision'](),this[_0x680aa2(0x513)]();const _0x8062e6=this[_0x680aa2(0x3b6)][_0x680aa2(0x447)](fe,this['unitID'],this[_0x680aa2(0x42a)],_0x232729[0x0],this[_0x680aa2(0x288)]);return _0x8062e6[_0x680aa2(0x3f3)](),_0x8062e6;}return this[_0x680aa2(0x205)](!0x1);}catch(_0x3d312b){return this[_0x680aa2(0x4ce)][_0x680aa2(0x55e)](_0x3d312b),this[_0x680aa2(0x205)](!0x1);}}[_0x38c3ff(0x625)](_0x2c32ad){const _0x46d1c8=_0x38c3ff;this[_0x46d1c8(0x513)]();const _0x460939=this[_0x46d1c8(0x26b)][_0x46d1c8(0x451)](this['unitID']);if(_0x2c32ad[_0x46d1c8(0x623)]<_0x460939-0x1)return this;if(this[_0x46d1c8(0x20f)](_0x2c32ad))return this[_0x46d1c8(0x3b6)]['createInstance'](re,this[_0x46d1c8(0x364)],this['type'],null,[],this[_0x46d1c8(0x4a6)],[],this['_handler']);this[_0x46d1c8(0x298)]();const _0xe14499=this['_injector'][_0x46d1c8(0x447)](Oe,this[_0x46d1c8(0x364)],this['type'],this[_0x46d1c8(0x288)]);return _0xe14499[_0x46d1c8(0x3f3)](),_0xe14499;}[_0x38c3ff(0x218)](_0x362876){const _0xf14502=_0x38c3ff;return this[_0xf14502(0x205)](!!(_0x362876!=null&&_0x362876[_0xf14502(0x4bc)]));}[_0x38c3ff(0x2f8)](_0x2385de){const _0x5b410e=_0x38c3ff;return this[_0x5b410e(0x3b0)]>vn?this['toggleOffline']():(this[_0x5b410e(0x2f9)]=fn(this[_0x5b410e(0x3b0)],{'timeout':this[_0x5b410e(0x3b0)],'reqId':_0x2385de[_0x5b410e(0x1e8)]}),this[_0x5b410e(0x317)]=this[_0x5b410e(0x2f9)][_0x5b410e(0x47b)](({reqId:_0x1ecf75,timeout:_0x2abcc5})=>{const _0x472ab8=_0x5b410e;this[_0x472ab8(0x606)](_0x1ecf75,_0x2abcc5);}),this);}[_0x38c3ff(0x300)](){const _0x417224=_0x38c3ff;return this[_0x417224(0x513)](),this['_injector'][_0x417224(0x447)](me,this[_0x417224(0x364)],this[_0x417224(0x42a)],this[_0x417224(0x4a6)],[],this[_0x417224(0x288)]);}['toggleOnline'](){return this;}[_0x38c3ff(0x412)](){const _0x3668d6=_0x38c3ff;this[_0x3668d6(0x288)][_0x3668d6(0x64a)](this[_0x3668d6(0x4a6)]);}[_0x38c3ff(0x205)](_0x5bc851){const _0x47e98d=_0x38c3ff;return this[_0x47e98d(0x513)](),this['_injector'][_0x47e98d(0x447)](ve,this['unitID'],this['type'],this[_0x47e98d(0x4a6)],[],this[_0x47e98d(0x288)],_0x5bc851);}[_0x38c3ff(0x606)](_0x552782,_0x50d0ef){const _0x2ac3a2=_0x38c3ff;var _0x6e933e;_0x552782===((_0x6e933e=this[_0x2ac3a2(0x4a6)])==null?void 0x0:_0x6e933e[_0x2ac3a2(0x1e8)])&&(this[_0x2ac3a2(0x412)](),this[_0x2ac3a2(0x3b0)]=_0x50d0ef===0x0?0x3e8:_0x50d0ef*0x2);}['_clearScheduledTask'](){const _0x5c6632=_0x38c3ff;var _0xdade4;(_0xdade4=this[_0x5c6632(0x317)])==null||_0xdade4[_0x5c6632(0x25d)](),this['_resendTimeout']=0x0;}};fe=Ie([N(0x4,a[_0x38c3ff(0x2af)](a['Injector'])),N(0x5,a[_0x38c3ff(0x2af)](S['RevisionService'])),N(0x6,a[_0x38c3ff(0x2af)](exports['LocalCacheService'])),N(0x7,a['ICommandService']),N(0x8,a['ILogService']),N(0x9,S[_0x38c3ff(0x3cc)]),N(0xa,a[_0x38c3ff(0x1bc)])],fe);let le=class extends Ce{constructor(_0x3f0686,_0x10b6a4,_0xce7aae,_0x47c743,_0xa55bcb,_0x326207,_0x21464c,_0x301a1c,_0x20eb36,_0x4343f5,_0x16f11a,_0x285da7,_0x198b00){const _0xddc3ab=_0x38c3ff;super(_0x3f0686,_0x10b6a4,_0xce7aae,_0x47c743,_0xa55bcb,_0x4343f5,_0x198b00,_0x301a1c,_0x20eb36),I(this,'status','awaiting_with_pending'),I(this,'_resendTimeout',0x0),I(this,_0xddc3ab(0x2f9)),I(this,_0xddc3ab(0x317)),(this[_0xddc3ab(0x3b6)]=_0x21464c,this[_0xddc3ab(0x4ce)]=_0x16f11a,this[_0xddc3ab(0x267)]=_0x285da7,_0x326207&&(this['_resendTimer']=_0x326207,this[_0xddc3ab(0x317)]=this['_resendTimer'][_0xddc3ab(0x47b)](({reqId:_0x5694de,timeout:_0x26f458})=>{this['_resendWithTimeout'](_0x5694de,_0x26f458);})));}['appendMutation'](_0x204250){const _0x197451=_0x38c3ff;return this[_0x197451(0x34c)][_0x197451(0x473)](_0x204250),this;}[_0x38c3ff(0x1a0)](_0x3b96dd){const _0x547c30=_0x38c3ff;if(this[_0x547c30(0x20f)](_0x3b96dd))return this[_0x547c30(0x513)](),this[_0x547c30(0x3b6)][_0x547c30(0x447)](re,this['unitID'],this[_0x547c30(0x42a)],this[_0x547c30(0x4a6)],this[_0x547c30(0x34c)],null,[_0x3b96dd],this['_handler']);try{const _0x16199d=this[_0x547c30(0x267)][_0x547c30(0x2f7)]([_0x3b96dd],[this['_awaitingChangeset']],!0x1);if(S[_0x547c30(0x3ee)](_0x16199d)){const {c1Prime:_0x5f4e48,c2Prime:_0x27f32c}=_0x16199d,_0xdcce19=this['_transformService'][_0x547c30(0x4be)](_0x5f4e48[0x0],this['_pendingMutations']);if(S[_0x547c30(0x38b)](_0xdcce19)){const {c1Prime:_0x14369b,m2Prime:_0xc29797}=_0xdcce19;return this['_executeRemoteChangeset'](_0x14369b),_0x27f32c[0x0]['baseRev']=this['_getCurrentRevision'](),this[_0x547c30(0x513)](),this[_0x547c30(0x3b6)][_0x547c30(0x447)](le,this[_0x547c30(0x364)],this[_0x547c30(0x42a)],_0x27f32c[0x0],_0xc29797,this[_0x547c30(0x288)],void 0x0);}throw _0xdcce19[_0x547c30(0x55e)];}throw _0x16199d['error'];}catch(_0x35424b){return this[_0x547c30(0x4ce)][_0x547c30(0x55e)](_0x35424b),this[_0x547c30(0x205)](!0x1);}}[_0x38c3ff(0x625)](_0xd1632f){const _0x1fd15a=_0x38c3ff;if(this['_clearScheduledTask'](),this[_0x1fd15a(0x20f)](_0xd1632f))return this[_0x1fd15a(0x3b6)][_0x1fd15a(0x447)](re,this[_0x1fd15a(0x364)],this[_0x1fd15a(0x42a)],null,this['_pendingMutations'],this[_0x1fd15a(0x4a6)],[],this[_0x1fd15a(0x288)]);this[_0x1fd15a(0x298)]();const _0x59c3a5=this[_0x1fd15a(0x3b6)][_0x1fd15a(0x447)](ce,this[_0x1fd15a(0x364)],this[_0x1fd15a(0x42a)],this['_pendingMutations'],this['_handler']);return _0x59c3a5[_0x1fd15a(0x540)](),_0x59c3a5[_0x1fd15a(0x3f3)](),_0x59c3a5;}[_0x38c3ff(0x218)](_0x577514){const _0x5009a4=_0x38c3ff;return this[_0x5009a4(0x205)](!!(_0x577514!=null&&_0x577514[_0x5009a4(0x4bc)]));}[_0x38c3ff(0x2f8)](_0x20316f){const _0x259a26=_0x38c3ff;return this['_resendTimeout']>vn?this[_0x259a26(0x300)]():(this[_0x259a26(0x2f9)]=fn(this['_resendTimeout'],{'timeout':this[_0x259a26(0x3b0)],'reqId':_0x20316f[_0x259a26(0x1e8)]}),this[_0x259a26(0x317)]=this[_0x259a26(0x2f9)][_0x259a26(0x47b)](({reqId:_0x3691c2,timeout:_0x351279})=>{this['_resendWithTimeout'](_0x3691c2,_0x351279);}),this);}['toggleOffline'](){const _0x44a10e=_0x38c3ff;return this[_0x44a10e(0x513)](),this[_0x44a10e(0x3b6)]['createInstance'](me,this[_0x44a10e(0x364)],this[_0x44a10e(0x42a)],this[_0x44a10e(0x4a6)],this[_0x44a10e(0x34c)],this['_handler']);}[_0x38c3ff(0x4b2)](){return this;}['resend'](){const _0x494e71=_0x38c3ff;this[_0x494e71(0x288)][_0x494e71(0x64a)](this[_0x494e71(0x4a6)]);}[_0x38c3ff(0x205)](_0x2cdddf){const _0x2c32d4=_0x38c3ff;return this[_0x2c32d4(0x513)](),this[_0x2c32d4(0x3b6)][_0x2c32d4(0x447)](ve,this[_0x2c32d4(0x364)],this[_0x2c32d4(0x42a)],null,this[_0x2c32d4(0x34c)],this[_0x2c32d4(0x288)],_0x2cdddf);}[_0x38c3ff(0x606)](_0x4fa73a,_0x1c01e6){const _0x4913cd=_0x38c3ff;var _0x59e104;_0x4fa73a===((_0x59e104=this[_0x4913cd(0x4a6)])==null?void 0x0:_0x59e104[_0x4913cd(0x1e8)])&&(this[_0x4913cd(0x412)](),this[_0x4913cd(0x3b0)]=_0x1c01e6===0x0?0x3e8:_0x1c01e6*0x2);}[_0x38c3ff(0x513)](){const _0x477c60=_0x38c3ff;var _0x2342da;(_0x2342da=this[_0x477c60(0x317)])==null||_0x2342da[_0x477c60(0x25d)](),this[_0x477c60(0x3b0)]=0x0;}};le=Ie([N(0x6,a[_0x38c3ff(0x2af)](a[_0x38c3ff(0x50e)])),N(0x7,a['Inject'](S['RevisionService'])),N(0x8,a['Inject'](exports[_0x38c3ff(0x227)])),N(0x9,a[_0x38c3ff(0x439)]),N(0xa,a[_0x38c3ff(0x626)]),N(0xb,S[_0x38c3ff(0x3cc)]),N(0xc,a[_0x38c3ff(0x1bc)])],le);let ve=class extends Ce{constructor(_0x1292c2,_0x2938e9,_0x2be1eb,_0x247cfc,_0x30a552,_0x1d5f16=!0x1,_0x15add3,_0x2284c1,_0x20f536,_0x239b0d,_0x405d8e,_0x470ade,_0x2572c7){const _0x11738d=_0x38c3ff;super(_0x1292c2,_0x2938e9,_0x2be1eb,_0x247cfc,_0x30a552,_0x2284c1,_0x20f536,_0x405d8e,_0x239b0d),I(this,_0x11738d(0x2b7),'conflict'),(this['_isPermissionRej']=_0x1d5f16,this['_permissionService']=_0x15add3,this[_0x11738d(0x203)]=_0x470ade,this[_0x11738d(0x29a)]=_0x2572c7,this[_0x11738d(0x5f9)](),this[_0x11738d(0x310)](),this['_disableEditing']());}[_0x38c3ff(0x47d)](){return this;}[_0x38c3ff(0x1a0)](){return this;}[_0x38c3ff(0x625)](){return this;}[_0x38c3ff(0x218)](){return this;}[_0x38c3ff(0x2f8)](){return this;}[_0x38c3ff(0x300)](){return this;}[_0x38c3ff(0x4b2)](){return this;}['resend'](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x38c3ff(0x310)](){const _0x186d03=_0x38c3ff;this[_0x186d03(0x2ac)][_0x186d03(0x3f6)](this['unitID'],this['type'],null,[]);}[_0x38c3ff(0x5f9)](){const _0x44d448=_0x38c3ff;this[_0x44d448(0x4c8)]?this[_0x44d448(0x29a)][_0x44d448(0x37c)]({'title':this[_0x44d448(0x203)]['t'](_0x44d448(0x35f)),'content':this[_0x44d448(0x203)]['t'](_0x44d448(0x247)),'type':_0x44d448(0x55e),'duration':0x0}):this[_0x44d448(0x29a)][_0x44d448(0x37c)]({'title':this['_localeService']['t']('conflict.title'),'content':this[_0x44d448(0x203)]['t'](_0x44d448(0x3ae)),'type':'error','duration':0x0});}[_0x38c3ff(0x62d)](){const _0x53c148=_0x38c3ff;this[_0x53c148(0x54b)]['updatePermissionPoint'](new k[(_0x53c148(0x38f))](this['unitID'])['id'],!0x1);}};ve=Ie([N(0x6,a['Inject'](a[_0x38c3ff(0x421)])),N(0x7,a['ICommandService']),N(0x8,a[_0x38c3ff(0x1bc)]),N(0x9,a[_0x38c3ff(0x2af)](exports['LocalCacheService'])),N(0xa,a[_0x38c3ff(0x2af)](S[_0x38c3ff(0x3cb)])),N(0xb,a[_0x38c3ff(0x2af)](a[_0x38c3ff(0x222)])),N(0xc,ee[_0x38c3ff(0x36e)])],ve);let me=class extends Ce{constructor(_0x244256,_0x3f2212,_0x2f7517,_0x45ad42,_0x336474,_0x136502,_0x58434e,_0x2b465e,_0x19015f,_0x4dfd73){const _0x19fee0=_0x38c3ff;super(_0x244256,_0x3f2212,_0x2f7517,_0x45ad42,_0x336474,_0x19015f,_0x4dfd73,_0x58434e,_0x2b465e),I(this,_0x19fee0(0x2b7),_0x19fee0(0x647)),this[_0x19fee0(0x3b6)]=_0x136502;}[_0x38c3ff(0x47d)](_0x57a41c){const _0x984993=_0x38c3ff;return this[_0x984993(0x34c)][_0x984993(0x473)](_0x57a41c),this[_0x984993(0x3f3)](),this;}[_0x38c3ff(0x1a0)](_0x55355f){const _0x13d441=_0x38c3ff;throw new Error(_0x13d441(0x2de));}['onRemoteAck'](){const _0x410c24=_0x38c3ff;throw new Error(_0x410c24(0x29c));}[_0x38c3ff(0x218)](){const _0x10259b=_0x38c3ff;throw new Error(_0x10259b(0x428));}[_0x38c3ff(0x2f8)](){return this;}[_0x38c3ff(0x300)](){return this;}[_0x38c3ff(0x4b2)](){const _0x1c886b=_0x38c3ff,{_injector:_0x165c38,_pendingMutations:_0x304ba7,_awaitingChangeset:_0x3177c0,unitID:_0x2d64ee,_handler:_0x59e266,type:_0x58e1fe}=this,_0x37396c=mn(_0x165c38,_0x2d64ee,_0x58e1fe,_0x3177c0,_0x304ba7,_0x59e266);return _0x37396c instanceof ce?_0x37396c['_schedule']():(_0x37396c instanceof le||_0x37396c instanceof fe)&&_0x37396c[_0x1c886b(0x412)](),_0x37396c;}[_0x38c3ff(0x412)](){const _0x1bdd28=_0x38c3ff;throw new Error(_0x1bdd28(0x1b1));}};me=Ie([N(0x5,a['Inject'](a[_0x38c3ff(0x50e)])),N(0x6,a[_0x38c3ff(0x2af)](S['RevisionService'])),N(0x7,a['Inject'](exports[_0x38c3ff(0x227)])),N(0x8,a[_0x38c3ff(0x439)]),N(0x9,a[_0x38c3ff(0x1bc)])],me);let re=class extends Ce{constructor(_0x246b6c,_0xcf84ea,_0x47f76b,_0x2418dd,_0x4f1497,_0x4bccb3,_0x44fc3b,_0x2a521e,_0x325cdc,_0x546fb3,_0xca5a17,_0x26af46,_0x118254,_0x35f8f6){const _0xf2341e=_0x38c3ff;super(_0x246b6c,_0xcf84ea,_0x47f76b,_0x2418dd,_0x44fc3b,_0x26af46,_0x118254,_0x325cdc,_0x546fb3),I(this,'status',_0xf2341e(0x587)),(this[_0xf2341e(0x3d5)]=_0x4f1497,this[_0xf2341e(0x5f8)]=_0x4bccb3,this[_0xf2341e(0x3b6)]=_0x2a521e,this[_0xf2341e(0x4ce)]=_0xca5a17,this['_transformService']=_0x35f8f6);}[_0x38c3ff(0x632)](_0x25ee4c){const _0x34c615=_0x38c3ff;try{const _0x388f3f=[..._0x25ee4c,...this[_0x34c615(0x5f8)]],_0x2048e0=[this[_0x34c615(0x4a6)]||this[_0x34c615(0x3d5)]][_0x34c615(0x576)](_0x1d451c=>!!_0x1d451c);let _0x378981,_0xe8a46b;if(_0x2048e0[_0x34c615(0x58c)]){const _0x2cce72=this['_transformService'][_0x34c615(0x2f7)](_0x388f3f,_0x2048e0,!0x1);if(!S['isTransformChangesetsSuccess'](_0x2cce72))throw _0x2cce72[_0x34c615(0x55e)];_0x378981=_0x2cce72[_0x34c615(0x521)],_0xe8a46b=_0x2cce72['c2Prime'];}else _0x378981=_0x388f3f,_0xe8a46b=[];let _0x5172fb=this[_0x34c615(0x34c)];_0x378981[_0x34c615(0x2d8)](_0x283b08=>{const _0x3ed213=_0x34c615;let _0x1868df;if(_0x5172fb[_0x3ed213(0x58c)]){const _0x3156ef=this[_0x3ed213(0x267)]['transformMutationsWithChangeset'](_0x283b08,_0x5172fb);if(!S[_0x3ed213(0x38b)](_0x3156ef))throw _0x3156ef['error'];_0x1868df=_0x3156ef[_0x3ed213(0x521)],_0x5172fb=_0x3156ef['m2Prime'];}else _0x1868df=_0x283b08;this[_0x3ed213(0x32f)](_0x1868df);}),this[_0x34c615(0x3d5)]&&this['_incrementRevisionNumber'](),this['_awaitingChangeset']&&_0xe8a46b['length']&&(_0xe8a46b[0x0][_0x34c615(0x45e)]=this[_0x34c615(0x539)]());let _0x2f7a7a;if(this[_0x34c615(0x4a6)]&&_0x5172fb['length']!==0x0)_0x2f7a7a=this['_injector']['createInstance'](le,this[_0x34c615(0x364)],this[_0x34c615(0x42a)],_0xe8a46b[0x0],_0x5172fb,this['_handler'],void 0x0);else{if(this['_awaitingChangeset']&&_0x5172fb[_0x34c615(0x58c)]===0x0)_0xe8a46b[0x0]['baseRev']=this[_0x34c615(0x539)](),_0x2f7a7a=this[_0x34c615(0x3b6)][_0x34c615(0x447)](fe,this[_0x34c615(0x364)],this[_0x34c615(0x42a)],_0xe8a46b[0x0],this[_0x34c615(0x288)]);else{if(_0x5172fb[_0x34c615(0x58c)]!==0x0){const _0x23c52d=this[_0x34c615(0x3b6)][_0x34c615(0x447)](ce,this[_0x34c615(0x364)],this[_0x34c615(0x42a)],_0x5172fb,this[_0x34c615(0x288)]);_0x23c52d[_0x34c615(0x540)](),_0x2f7a7a=_0x23c52d;}else _0x2f7a7a=this['_injector']['createInstance'](Oe,this[_0x34c615(0x364)],this[_0x34c615(0x42a)],this[_0x34c615(0x288)]);}}return _0x2f7a7a[_0x34c615(0x3f3)](),_0x2f7a7a;}catch(_0x17476d){return this[_0x34c615(0x4ce)][_0x34c615(0x55e)](_0x34c615(0x25f),'failed\x20to\x20apply\x20missed\x20changesets!',_0x17476d),this[_0x34c615(0x3b6)]['createInstance'](ve,this[_0x34c615(0x364)],this[_0x34c615(0x42a)],this[_0x34c615(0x4a6)],this[_0x34c615(0x34c)],this[_0x34c615(0x288)],!0x1);}}['resend'](){const _0xb99cba=_0x38c3ff;throw new Error(_0xb99cba(0x260));}[_0x38c3ff(0x47d)](_0x1157ce){const _0x5807c1=_0x38c3ff;return this[_0x5807c1(0x34c)][_0x5807c1(0x473)](_0x1157ce),this;}[_0x38c3ff(0x1a0)](_0x963969){const _0x178924=_0x38c3ff;return this[_0x178924(0x5f8)][_0x178924(0x473)](_0x963969),this;}[_0x38c3ff(0x625)](_0x7ec3ef){const _0x592209=_0x38c3ff;if(this[_0x592209(0x4a6)])return this[_0x592209(0x3d5)]=this[_0x592209(0x4a6)],this[_0x592209(0x4a6)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}['onRemoteRej'](_0x1895e1){const _0x1d92ca=_0x38c3ff;return this[_0x1d92ca(0x205)](!!(_0x1895e1!=null&&_0x1895e1['isPermissionRej']));}[_0x38c3ff(0x2f8)](){return this;}[_0x38c3ff(0x300)](){const _0x36fa51=_0x38c3ff;return this[_0x36fa51(0x3b6)][_0x36fa51(0x447)](me,this[_0x36fa51(0x364)],this[_0x36fa51(0x42a)],this['_awaitingChangeset'],this[_0x36fa51(0x34c)],this[_0x36fa51(0x288)]);}['toggleOnline'](){return this;}[_0x38c3ff(0x205)](_0x3892c6){const _0x2467cd=_0x38c3ff;return this[_0x2467cd(0x3b6)][_0x2467cd(0x447)](ve,this[_0x2467cd(0x364)],this[_0x2467cd(0x42a)],this[_0x2467cd(0x4a6)],this[_0x2467cd(0x34c)],this['_handler'],_0x3892c6);}};re=Ie([N(0x7,a['Inject'](a[_0x38c3ff(0x50e)])),N(0x8,a['Inject'](S[_0x38c3ff(0x3cb)])),N(0x9,a[_0x38c3ff(0x2af)](exports[_0x38c3ff(0x227)])),N(0xa,a[_0x38c3ff(0x626)]),N(0xb,a[_0x38c3ff(0x439)]),N(0xc,a[_0x38c3ff(0x1bc)]),N(0xd,S['ITransformService'])],re);function mn(_0x1c28bc,_0x25200b,_0x478d95,_0x3133dc,_0x158cc0,_0x30a714){const _0xf29f4e=_0x38c3ff;return _0x3133dc&&_0x158cc0[_0xf29f4e(0x58c)]?_0x1c28bc['createInstance'](le,_0x25200b,_0x478d95,_0x3133dc,_0x158cc0,_0x30a714,void 0x0):_0x3133dc?_0x1c28bc[_0xf29f4e(0x447)](fe,_0x25200b,_0x478d95,_0x3133dc,_0x30a714):_0x158cc0[_0xf29f4e(0x58c)]?_0x1c28bc[_0xf29f4e(0x447)](ce,_0x25200b,_0x478d95,_0x158cc0,_0x30a714):_0x1c28bc[_0xf29f4e(0x447)](Oe,_0x25200b,_0x478d95,_0x30a714);}var Bi=Object['defineProperty'],ki=Object[_0x38c3ff(0x336)],yt=(_0x26cde1,_0x72d436,_0x3a5571,_0x577ed3)=>{const _0x183d99=_0x38c3ff;for(var _0x2e387b=_0x577ed3>0x1?void 0x0:_0x577ed3?ki(_0x72d436,_0x3a5571):_0x72d436,_0x458624=_0x26cde1[_0x183d99(0x58c)]-0x1,_0x314342;_0x458624>=0x0;_0x458624--)(_0x314342=_0x26cde1[_0x458624])&&(_0x2e387b=(_0x577ed3?_0x314342(_0x72d436,_0x3a5571,_0x2e387b):_0x314342(_0x2e387b))||_0x2e387b);return _0x577ed3&&_0x2e387b&&Bi(_0x72d436,_0x3a5571,_0x2e387b),_0x2e387b;},H=(_0x25c987,_0x2e557f)=>(_0x2c9a4b,_0x1356ba)=>_0x2e557f(_0x2c9a4b,_0x1356ba,_0x25c987);exports['CollaborationEntity']=class extends a[_0x38c3ff(0x22c)]{constructor(_0x5263b3,_0x5f0afa,_0x5a96c4,_0x564ef2,_0x2ecf2d,_0x128778,_0x448110,_0x2b257b,_0x287821,_0x23db75,_0x598b69,_0x54bdb0,_0x32ed3f){const _0x32ad71=_0x38c3ff;super(),I(this,_0x32ad71(0x572),new A[(_0x32ad71(0x4fc))](null)),I(this,'state$',this[_0x32ad71(0x572)][_0x32ad71(0x4a7)]()),I(this,_0x32ad71(0x1d3)),I(this,_0x32ad71(0x658),!0x1),I(this,'_changesetSessionId',''),I(this,'_changesetReqId',0x0),I(this,'status$',this['state$'][_0x32ad71(0x57b)](A[_0x32ad71(0x4d7)](_0x52f7c7=>_0x52f7c7?_0x52f7c7['status']:q[_0x32ad71(0x33f)]),A['shareReplay'](0x1))),I(this,_0x32ad71(0x2cb),!0x1),I(this,_0x32ad71(0x219),[]),(this[_0x32ad71(0x364)]=_0x5263b3,this[_0x32ad71(0x429)]=_0x5f0afa,this[_0x32ad71(0x5b0)]=_0x5a96c4,this[_0x32ad71(0x3b6)]=_0x564ef2,this[_0x32ad71(0x2ac)]=_0x2ecf2d,this['_compressMutationService']=_0x128778,this[_0x32ad71(0x203)]=_0x448110,this[_0x32ad71(0x26b)]=_0x2b257b,this['_logService']=_0x287821,this['_commandService']=_0x23db75,this[_0x32ad71(0x385)]=_0x598b69,this[_0x32ad71(0x54b)]=_0x54bdb0,this[_0x32ad71(0x302)]=_0x32ed3f);}get[_0x38c3ff(0x220)](){const _0x113130=_0x38c3ff;return this[_0x113130(0x1d3)];}async[_0x38c3ff(0x475)](){const _0x33ff62=_0x38c3ff;if(this[_0x33ff62(0x220)])throw new Error(_0x33ff62(0x38a));await this[_0x33ff62(0x596)]();}[_0x38c3ff(0x55d)](){const _0x59c09e=_0x38c3ff;return this[_0x59c09e(0x658)]=!0x0,a[_0x59c09e(0x2c7)](()=>{const _0x481d0a=_0x59c09e;this[_0x481d0a(0x658)]=!0x1,this[_0x481d0a(0x548)]();});}[_0x38c3ff(0x554)](_0x37cad0){const _0x238233=_0x38c3ff;this['_state']=_0x37cad0,this[_0x238233(0x572)]['next'](_0x37cad0);}async[_0x38c3ff(0x596)](){const _0x362df2=_0x38c3ff;var _0x4823ad;this[_0x362df2(0x554)](await this[_0x362df2(0x5a9)]()),this[_0x362df2(0x302)]&&((_0x4823ad=this['_singleActiveUnitService'])==null||_0x4823ad[_0x362df2(0x357)](this[_0x362df2(0x364)]),this[_0x362df2(0x4bd)](this[_0x362df2(0x302)][_0x362df2(0x5c0)](this[_0x362df2(0x364)])['subscribe'](_0x454b26=>{const _0xcd41d0=_0x362df2;this[_0xcd41d0(0x4ce)][_0xcd41d0(0x405)](_0xcd41d0(0x339),_0xcd41d0(0x620),_0x454b26),_0x454b26===un[_0xcd41d0(0x424)]?(this[_0xcd41d0(0x385)]['show']({'content':this['_localeService']['t'](_0xcd41d0(0x37b)),'type':ge[_0xcd41d0(0x312)][_0xcd41d0(0x42b)]}),this[_0xcd41d0(0x54b)][_0xcd41d0(0x568)](new k[(_0xcd41d0(0x38f))](this[_0xcd41d0(0x364)])['id'],!0x1),this[_0xcd41d0(0x54b)][_0xcd41d0(0x1ac)](!0x1)):(this['_permissionService']['updatePermissionPoint'](new k[(_0xcd41d0(0x38f))](this[_0xcd41d0(0x364)])['id'],!0x0),this[_0xcd41d0(0x54b)][_0xcd41d0(0x1ac)](!0x0));})));let _0x515369=!0x1;return this['disposeWithMe'](this[_0x362df2(0x429)][_0x362df2(0x31f)][_0x362df2(0x47b)](_0x3481f6=>{const _0x452afe=_0x362df2;_0x3481f6===se[_0x452afe(0x1b4)]?this[_0x452afe(0x299)](_0x515369):_0x3481f6===se[_0x452afe(0x33f)]&&(_0x515369=!0x0,this[_0x452afe(0x465)]());})),this['disposeWithMe'](this[_0x362df2(0x429)]['event$'][_0x362df2(0x47b)](_0x3af6f0=>{const _0x4f18e0=_0x362df2;try{switch(_0x3af6f0[_0x4f18e0(0x2bd)]){case S[_0x4f18e0(0x201)][_0x4f18e0(0x5ec)]:{this[_0x4f18e0(0x477)](S[_0x4f18e0(0x5f2)](_0x3af6f0[_0x4f18e0(0x2e1)]));break;}case S['CollaborationEvent']['CHANGESET_ACK']:{this[_0x4f18e0(0x488)](_0x3af6f0[_0x4f18e0(0x2e1)]);break;}case S[_0x4f18e0(0x201)]['CHANGESET_REJ']:{this[_0x4f18e0(0x542)]();break;}case S['CollaborationEvent'][_0x4f18e0(0x57e)]:{this['_onRemoteRetry'](_0x3af6f0['data']);break;}case S[_0x4f18e0(0x201)][_0x4f18e0(0x406)]:{this[_0x4f18e0(0x2b4)](_0x3af6f0[_0x4f18e0(0x2e1)]['changesets']['map'](_0x3f9bfb=>S[_0x4f18e0(0x5f2)](_0x3f9bfb)));break;}case S[_0x4f18e0(0x201)][_0x4f18e0(0x35d)]:this['_onRemoteRejected']({'isPermissionRej':!0x0});}}catch(_0x4e668b){throw console['error']('Error\x20on\x20receiving\x20event',_0x4e668b),_0x4e668b;}})),this[_0x362df2(0x1d3)];}[_0x38c3ff(0x1c4)](){const _0x43c6c5=_0x38c3ff;this[_0x43c6c5(0x2cb)]=!0x1;}[_0x38c3ff(0x45a)](){const _0x35e639=_0x38c3ff;if(this[_0x35e639(0x2cb)])throw new Error(_0x35e639(0x409));this[_0x35e639(0x2cb)]=!0x0;}['_onLocalMutation'](_0x3e63da){const _0xf5c7e9=_0x38c3ff;this[_0xf5c7e9(0x45a)](),this['_updateState'](this['_state'][_0xf5c7e9(0x47d)](_0x3e63da)),this['_unlockTransition']();}['_onRemoteChangeset'](_0x543a1c){const _0xbf307b=_0x38c3ff;if(!(_0x543a1c[_0xbf307b(0x623)]<=this[_0xbf307b(0x26b)]['getCurrentRevOfUnit'](this[_0xbf307b(0x364)]))){if(this['_collaborationPaused']){this[_0xbf307b(0x219)][_0xbf307b(0x473)](_0x543a1c);return;}this['_applyRemoteChangeset'](_0x543a1c);}}[_0x38c3ff(0x548)](){const _0x51863a=_0x38c3ff;this[_0x51863a(0x219)][_0x51863a(0x2d8)](_0x2e90bb=>this[_0x51863a(0x2d9)](_0x2e90bb)),this[_0x51863a(0x219)]=[];}[_0x38c3ff(0x2d9)](_0x540a39){const _0x3af4d1=_0x38c3ff,_0x33f482=this[_0x3af4d1(0x41b)][_0x3af4d1(0x22f)]['fetchThroughInterceptors'](this[_0x3af4d1(0x41b)][_0x3af4d1(0x22f)][_0x3af4d1(0x1fe)]()[_0x3af4d1(0x34f)])(_0x540a39['mutations'],null)||_0x540a39[_0x3af4d1(0x1cd)],_0x39bedc={..._0x540a39,'mutations':_0x33f482};this[_0x3af4d1(0x45a)](),this[_0x3af4d1(0x554)](this[_0x3af4d1(0x1d3)]['onRemoteChangeset'](_0x39bedc)),this[_0x3af4d1(0x1c4)]();}[_0x38c3ff(0x488)](_0x1b4413){const _0x4343e5=_0x38c3ff;this['_lockTransition'](),this[_0x4343e5(0x554)](this[_0x4343e5(0x1d3)]['onRemoteAck'](_0x1b4413)),this[_0x4343e5(0x1c4)]();}['_onRemoteRejected'](_0x1db494){const _0x5e5fa0=_0x38c3ff;this[_0x5e5fa0(0x45a)](),this['_updateState'](this[_0x5e5fa0(0x1d3)][_0x5e5fa0(0x218)](_0x1db494)),this['_unlockTransition']();}['_onRemoteRetry'](_0x119094){const _0x456bc4=_0x38c3ff;this[_0x456bc4(0x45a)](),this[_0x456bc4(0x554)](this[_0x456bc4(0x1d3)][_0x456bc4(0x2f8)](_0x119094)),this[_0x456bc4(0x1c4)]();}[_0x38c3ff(0x2b4)](_0x349b8e){const _0x1f30bf=_0x38c3ff;if(!(this[_0x1f30bf(0x1d3)]instanceof re))throw new TypeError(_0x1f30bf(0x2b9));const _0x2de868=_0x349b8e[_0x1f30bf(0x4d7)](_0x4b37f7=>{const _0x346e43=_0x1f30bf,_0x2762ab=this[_0x346e43(0x41b)][_0x346e43(0x22f)][_0x346e43(0x3a8)](this[_0x346e43(0x41b)][_0x346e43(0x22f)][_0x346e43(0x1fe)]()[_0x346e43(0x34f)])(_0x4b37f7['mutations'],null)||_0x4b37f7[_0x346e43(0x1cd)];return{..._0x4b37f7,'mutations':_0x2762ab};});this[_0x1f30bf(0x45a)](),this['_updateState'](this[_0x1f30bf(0x1d3)][_0x1f30bf(0x632)](_0x2de868)),this['_unlockTransition']();}['_toggleOffline'](){const _0x30eb13=_0x38c3ff;this[_0x30eb13(0x45a)](),this[_0x30eb13(0x554)](this[_0x30eb13(0x1d3)][_0x30eb13(0x300)]()),this['_unlockTransition']();}[_0x38c3ff(0x299)](_0x4f939e=!0x1){const _0x70f098=_0x38c3ff;this[_0x70f098(0x45a)](),this[_0x70f098(0x554)](this[_0x70f098(0x1d3)][_0x70f098(0x4b2)]()),this['_unlockTransition']();const _0x363d34=this[_0x70f098(0x1d3)];_0x4f939e&&_0x363d34 instanceof Oe&&(this[_0x70f098(0x45a)](),this['_updateState'](_0x363d34[_0x70f098(0x23c)]()),this[_0x70f098(0x1c4)]());}async[_0x38c3ff(0x5a9)](){return new Promise(_0x2e8a40=>{const _0x196b87=_0x4762;this['session']['sessionStatus$'][_0x196b87(0x57b)](A[_0x196b87(0x3f1)](0x1))['subscribe'](async _0x17e323=>{const _0x5a7aee=_0x196b87;_0x2e8a40(await this[_0x5a7aee(0x225)](_0x17e323===se[_0x5a7aee(0x1b4)]));});});}[_0x38c3ff(0x332)](){const _0x4276a5=this['unitID'];return{'onStateChange':(_0x47e841,_0x4bf399)=>{const _0x29624f=_0x4762;if(_0x47e841!==this[_0x29624f(0x1d3)])throw new Error(_0x29624f(0x322)+_0x47e841[_0x29624f(0x2b7)]+_0x29624f(0x2d1)+_0x4bf399[_0x29624f(0x2b7)]+_0x29624f(0x518)+this['_state'][_0x29624f(0x2b7)]);this[_0x29624f(0x554)](_0x4bf399);},'onSendChangeset':_0x17ee42=>{const _0x2012f3=_0x4762;_0x17ee42[_0x2012f3(0x1d9)]||(_0x17ee42[_0x2012f3(0x1d9)]=this[_0x2012f3(0x249)],_0x17ee42['reqId']=++this[_0x2012f3(0x3ef)]);const _0x31c9fd={'eventID':S[_0x2012f3(0x201)][_0x2012f3(0x512)],'data':{'unitID':_0x17ee42[_0x2012f3(0x364)],'unitType':this[_0x2012f3(0x5b0)],'changeset':_0x17ee42,'memberID':this[_0x2012f3(0x429)][_0x2012f3(0x255)]()}};this['session'][_0x2012f3(0x5bc)](_0x31c9fd,this[_0x2012f3(0x364)]);},'onMissingChangesets':({from:_0x343e69,to:_0xe5d6fe})=>{const _0xcfd1cf=_0x4762;this[_0xcfd1cf(0x4ce)][_0xcfd1cf(0x405)]('[CollaborationEntity]','fetching\x20missing\x20changesets\x20from\x20'+_0x343e69+_0xcfd1cf(0x50c)+_0xe5d6fe);const _0x2c7c67={'eventID':S[_0xcfd1cf(0x201)]['FETCH_MISSING'],'data':{'unitID':_0x4276a5,'unitType':this[_0xcfd1cf(0x5b0)],'from':_0x343e69,'to':_0xe5d6fe}};this[_0xcfd1cf(0x429)][_0xcfd1cf(0x5bc)](_0x2c7c67,this[_0xcfd1cf(0x364)]);}};}async[_0x38c3ff(0x225)](_0xc14a62){const _0x40342d=_0x38c3ff;var _0x34de76,_0x1606e9;const _0x4501d4=await this[_0x40342d(0x2ac)][_0x40342d(0x1f2)](this[_0x40342d(0x364)]),_0x1ef694=(_0x34de76=_0x4501d4==null?void 0x0:_0x4501d4[_0x40342d(0x1cd)])!=null?_0x34de76:[],_0x3bc5d7=(_0x1606e9=_0x4501d4==null?void 0x0:_0x4501d4[_0x40342d(0x64b)])!=null?_0x1606e9:null,_0x25f060=!!(_0x3bc5d7!=null&&_0x3bc5d7[_0x40342d(0x1d9)])&&!!(_0x3bc5d7!=null&&_0x3bc5d7[_0x40342d(0x1e8)]);this['_changesetSessionId']=_0x25f060?_0x3bc5d7[_0x40342d(0x1d9)]:mi(),this[_0x40342d(0x3ef)]=_0x25f060?_0x3bc5d7['reqId']:0x0;const _0x5aeab6=this[_0x40342d(0x364)];try{this[_0x40342d(0x1d6)](_0x3bc5d7,_0x1ef694);}catch(_0x414f9f){this[_0x40342d(0x4ce)][_0x40342d(0x55e)](_0x414f9f);}const _0x235eda=this['_createHandler']();if(_0xc14a62){const _0x453b67=mn(this['_injector'],_0x5aeab6,this[_0x40342d(0x5b0)],_0x3bc5d7,_0x1ef694,_0x235eda);return _0x453b67 instanceof ce?_0x453b67[_0x40342d(0x540)]():(_0x453b67 instanceof le||_0x453b67 instanceof fe)&&_0x453b67[_0x40342d(0x412)](),_0x453b67;}return this['_injector'][_0x40342d(0x447)](me,_0x5aeab6,this[_0x40342d(0x5b0)],_0x3bc5d7,_0x1ef694,_0x235eda);}[_0x38c3ff(0x1d6)](_0x463ad2,_0x42427b){const _0x3335bb=_0x38c3ff;var _0x2689fb,_0x30be6b;const _0x52bb69=this[_0x3335bb(0x41b)]['interceptor'][_0x3335bb(0x3a8)](this[_0x3335bb(0x41b)]['interceptor'][_0x3335bb(0x1fe)]()[_0x3335bb(0x34f)]);(_0x2689fb=_0x52bb69((_0x463ad2==null?void 0x0:_0x463ad2[_0x3335bb(0x1cd)])||[],null))==null||_0x2689fb['forEach'](_0x1a32e0=>this[_0x3335bb(0x4f6)][_0x3335bb(0x4fe)](_0x1a32e0['id'],_0x1a32e0['params'])),(_0x30be6b=_0x52bb69(_0x42427b||[],null))==null||_0x30be6b[_0x3335bb(0x2d8)](_0x489e78=>this[_0x3335bb(0x4f6)][_0x3335bb(0x4fe)](_0x489e78['id'],_0x489e78['params']));}},exports[_0x38c3ff(0x486)]=yt([H(0x3,a[_0x38c3ff(0x2af)](a[_0x38c3ff(0x50e)])),H(0x4,a[_0x38c3ff(0x2af)](exports[_0x38c3ff(0x227)])),H(0x5,a['Inject'](S[_0x38c3ff(0x434)])),H(0x6,a[_0x38c3ff(0x2af)](a['LocaleService'])),H(0x7,a[_0x38c3ff(0x2af)](S[_0x38c3ff(0x3cb)])),H(0x8,a[_0x38c3ff(0x626)]),H(0x9,a['ICommandService']),H(0xa,ee['IMessageService']),H(0xb,a[_0x38c3ff(0x421)]),H(0xc,a[_0x38c3ff(0x5e2)](qe))],exports[_0x38c3ff(0x486)]),exports[_0x38c3ff(0x497)]=class extends exports[_0x38c3ff(0x486)]{constructor(_0x344560,_0x49d892,_0x456395,_0x2fc87c,_0x49d6ba,_0x485aca,_0xdb9879,_0x12e46a,_0x25c333,_0x550d17,_0x54219a,_0x2a43b4,_0x2c335a,_0x3bedcd,_0x3f3a22,_0x4068f2,_0x10348d,_0x10c5ff){const _0x4d72cd=_0x38c3ff;super(_0x344560,_0x456395,_0x49d892,_0x2fc87c,_0x49d6ba,_0x485aca,_0xdb9879,_0x12e46a,_0x3bedcd,_0x3f3a22,_0x4068f2,_0x10348d,_0x10c5ff),this[_0x4d72cd(0x364)]=_0x344560,this['type']=_0x49d892,this['_docStateChangeManagerService']=_0x25c333,this[_0x4d72cd(0x271)]=_0x550d17,this[_0x4d72cd(0x54a)]=_0x54219a,this[_0x4d72cd(0x3d1)]=_0x2a43b4,this[_0x4d72cd(0x37a)]=_0x2c335a;}[_0x38c3ff(0x332)](){const _0x1dae58=_0x38c3ff,_0x200ff6=super['_createHandler']();return _0x200ff6[_0x1dae58(0x505)]=_0x15a3b5=>this[_0x1dae58(0x271)]['transformIMECache'](_0x15a3b5),_0x200ff6['onTransformState']=_0x4d9b05=>this[_0x1dae58(0x54a)]['transformStateCache'](_0x4d9b05),_0x200ff6[_0x1dae58(0x60a)]=_0xf0ecae=>this[_0x1dae58(0x3d1)][_0x1dae58(0x265)](_0xf0ecae),_0x200ff6['onSyncEditingCollabCursor']=_0x13602e=>this[_0x1dae58(0x37a)][_0x1dae58(0x1bf)](_0x13602e),_0x200ff6[_0x1dae58(0x2d2)]=_0x497707=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0x497707),_0x200ff6[_0x1dae58(0x506)]=_0x284224=>this[_0x1dae58(0x54a)][_0x1dae58(0x5a7)](_0x284224),_0x200ff6;}async[_0x38c3ff(0x596)](){const _0x2396b4=_0x38c3ff,_0x436c0d=await super[_0x2396b4(0x596)]();return this[_0x2396b4(0x5ca)][_0x2396b4(0x1be)][_0x2396b4(0x57b)](A[_0x2396b4(0x3fb)](this[_0x2396b4(0x5ff)]))[_0x2396b4(0x47b)](_0x387bb7=>{const _0x34decc=_0x2396b4;if(_0x387bb7==null)return;const {unitId:_0x26fdb9,redoState:_0x4da5de,commandId:_0x1b9c5b}=_0x387bb7;if(_0x26fdb9!==this[_0x34decc(0x364)])return;const _0x26a1f7={'id':_0x1b9c5b,'type':a['CommandType'][_0x34decc(0x4d4)],'params':{'unitId':_0x26fdb9,'actions':_0x4da5de[_0x34decc(0x1c8)],'textRanges':null}};this[_0x34decc(0x52c)](_0x26a1f7);}),_0x436c0d;}},exports[_0x38c3ff(0x497)]=yt([H(0x3,a[_0x38c3ff(0x2af)](a[_0x38c3ff(0x50e)])),H(0x4,a[_0x38c3ff(0x2af)](exports[_0x38c3ff(0x227)])),H(0x5,a[_0x38c3ff(0x2af)](S[_0x38c3ff(0x434)])),H(0x6,a[_0x38c3ff(0x2af)](a[_0x38c3ff(0x222)])),H(0x7,a[_0x38c3ff(0x2af)](S[_0x38c3ff(0x3cb)])),H(0x8,a[_0x38c3ff(0x2af)](J[_0x38c3ff(0x5b9)])),H(0x9,a['Inject'](Be)),H(0xa,a['Inject'](We)),H(0xb,a['Inject'](Fe)),H(0xc,a['Inject'](Rt)),H(0xd,a[_0x38c3ff(0x626)]),H(0xe,a[_0x38c3ff(0x439)]),H(0xf,ee[_0x38c3ff(0x5d6)]),H(0x10,a['IPermissionService']),H(0x11,a[_0x38c3ff(0x5e2)](qe))],exports['DocCollaborationEntity']),exports[_0x38c3ff(0x541)]=class extends exports[_0x38c3ff(0x486)]{constructor(_0x47b71b,_0xb6ea0d,_0x556d53,_0x5c16c4,_0x15de84,_0xb3a5ce,_0x544fef,_0x448f64,_0x263996,_0x1dd72c,_0x25d229,_0x3cdbd4,_0x246a62,_0x3bd9c8){const _0x5b1ec4=_0x38c3ff;super(_0x47b71b,_0x556d53,_0xb6ea0d,_0x5c16c4,_0x15de84,_0xb3a5ce,_0x544fef,_0x448f64,_0x1dd72c,_0x25d229,_0x3cdbd4,_0x246a62,_0x3bd9c8),this[_0x5b1ec4(0x364)]=_0x47b71b,this[_0x5b1ec4(0x42a)]=_0xb6ea0d,this[_0x5b1ec4(0x1ea)]=_0x263996;}['_createHandler'](){const _0x529e7b=_0x38c3ff,_0xa44a95=super[_0x529e7b(0x332)]();return _0xa44a95[_0x529e7b(0x60a)]=_0x1c7810=>this[_0x529e7b(0x1ea)]['transformSelections'](_0x1c7810),_0xa44a95;}async[_0x38c3ff(0x596)](){const _0x21365=_0x38c3ff,_0x463bab=await super[_0x21365(0x596)]();return this[_0x21365(0x4bd)](this[_0x21365(0x4f6)][_0x21365(0x4bb)]((_0xf40e42,_0x2bc423)=>{const _0x4061d7=_0x21365;if(_0xf40e42[_0x4061d7(0x42a)]!==a[_0x4061d7(0x301)][_0x4061d7(0x4d4)]||_0x2bc423!=null&&_0x2bc423[_0x4061d7(0x291)]||_0x2bc423!=null&&_0x2bc423[_0x4061d7(0x2ad)])return;const _0x476222=_0xf40e42['params'];if((_0x476222==null?void 0x0:_0x476222[_0x4061d7(0x492)])!==this[_0x4061d7(0x364)])return;const _0x53d2cc=_0xf40e42,_0x40d279=this[_0x4061d7(0x41b)]['interceptor'][_0x4061d7(0x3a8)](this['_compressMutationService'][_0x4061d7(0x22f)]['getInterceptPoints']()[_0x4061d7(0x330)])([_0x53d2cc],null)||[_0x53d2cc];this[_0x4061d7(0x52c)](_0x40d279[0x0]);})),_0x463bab;}},exports[_0x38c3ff(0x541)]=yt([H(0x3,a[_0x38c3ff(0x2af)](a[_0x38c3ff(0x50e)])),H(0x4,a['Inject'](exports[_0x38c3ff(0x227)])),H(0x5,a[_0x38c3ff(0x2af)](S[_0x38c3ff(0x434)])),H(0x6,a[_0x38c3ff(0x2af)](a[_0x38c3ff(0x222)])),H(0x7,a['Inject'](S[_0x38c3ff(0x3cb)])),H(0x8,a[_0x38c3ff(0x2af)](ke)),H(0x9,a[_0x38c3ff(0x626)]),H(0xa,a['ICommandService']),H(0xb,ee['IMessageService']),H(0xc,a[_0x38c3ff(0x421)]),H(0xd,a[_0x38c3ff(0x5e2)](qe))],exports[_0x38c3ff(0x541)]);var Wi=Object[_0x38c3ff(0x1c1)],Fi=Object[_0x38c3ff(0x336)],Vi=(_0xe03d9e,_0x35df9e,_0x1a63ae,_0x3ab021)=>{const _0x590d4c=_0x38c3ff;for(var _0x508f8d=_0x3ab021>0x1?void 0x0:_0x3ab021?Fi(_0x35df9e,_0x1a63ae):_0x35df9e,_0x58c55e=_0xe03d9e[_0x590d4c(0x58c)]-0x1,_0x433b98;_0x58c55e>=0x0;_0x58c55e--)(_0x433b98=_0xe03d9e[_0x58c55e])&&(_0x508f8d=(_0x3ab021?_0x433b98(_0x35df9e,_0x1a63ae,_0x508f8d):_0x433b98(_0x508f8d))||_0x508f8d);return _0x3ab021&&_0x508f8d&&Wi(_0x35df9e,_0x1a63ae,_0x508f8d),_0x508f8d;},tt=(_0x56bc8f,_0x47282d)=>(_0x441b8f,_0xc63463)=>_0x47282d(_0x441b8f,_0xc63463,_0x56bc8f);exports[_0x38c3ff(0x571)]=class extends a['RxDisposable']{constructor(_0x91e8b,_0x164a8b,_0x48d817){const _0x404e8f=_0x38c3ff;super(),I(this,_0x404e8f(0x325),new Map()),I(this,'_entityInit$',new A[(_0x404e8f(0x3cf))]()),(this[_0x404e8f(0x3b6)]=_0x91e8b,this[_0x404e8f(0x37f)]=_0x164a8b,this['_univerInstanceService']=_0x48d817,this[_0x404e8f(0x596)]());}[_0x38c3ff(0x2da)](){const _0x5efb40=_0x38c3ff;super[_0x5efb40(0x2da)](),this['_entities']['forEach'](_0x4e87f6=>_0x4e87f6[_0x5efb40(0x2da)]()),this[_0x5efb40(0x325)][_0x5efb40(0x372)]();}[_0x38c3ff(0x41a)](_0x492848){const _0x3176a6=_0x38c3ff;var _0x2e5a12;return(_0x2e5a12=this[_0x3176a6(0x325)][_0x3176a6(0x585)](_0x492848))!=null?_0x2e5a12:null;}[_0x38c3ff(0x467)](_0x414260){const _0x3a6e2a=_0x38c3ff,_0x350211=this[_0x3a6e2a(0x41a)](_0x414260);return _0x350211?A['of'](_0x350211):this['_entityInit$'][_0x3a6e2a(0x57b)](V[_0x3a6e2a(0x576)](_0x14c08a=>_0x14c08a['unitID']===_0x414260));}[_0x38c3ff(0x596)](){const _0x42162d=_0x38c3ff;this[_0x42162d(0x393)][_0x42162d(0x23f)](a[_0x42162d(0x27f)][_0x42162d(0x23d)])[_0x42162d(0x57b)](A[_0x42162d(0x3fb)](this[_0x42162d(0x5ff)]),V[_0x42162d(0x636)](0x10))[_0x42162d(0x47b)](async _0x42094c=>{const _0x1c1f3a=_0x42162d,_0x2e10c4=_0x42094c[_0x1c1f3a(0x2ee)](),_0x145647=await this[_0x1c1f3a(0x399)](_0x2e10c4,ie[_0x1c1f3a(0x23d)]);this[_0x1c1f3a(0x325)][_0x1c1f3a(0x3e8)](_0x2e10c4,_0x145647);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](a[_0x42162d(0x27f)][_0x42162d(0x649)])['pipe'](A['takeUntil'](this[_0x42162d(0x5ff)]),V[_0x42162d(0x636)](0x10))['pipe'](V[_0x42162d(0x576)](_0x1715cb=>!_0x1715cb['getUnitId']()['startsWith']('__')))[_0x42162d(0x47b)](async _0x27d33c=>{const _0x5838de=_0x42162d,_0x42af39=_0x27d33c['getUnitId'](),_0x4960f7=await this[_0x5838de(0x399)](_0x42af39,ie[_0x5838de(0x649)]);this[_0x5838de(0x325)][_0x5838de(0x3e8)](_0x42af39,_0x4960f7);}),A['merge'](this[_0x42162d(0x393)][_0x42162d(0x3bc)](a['UniverInstanceType']['UNIVER_SHEET']),this['_univerInstanceService']['getTypeOfUnitDisposed$'](a[_0x42162d(0x27f)][_0x42162d(0x649)]))['pipe'](A[_0x42162d(0x3fb)](this['dispose$']))[_0x42162d(0x47b)](_0x3a34aa=>{const _0x2f280b=_0x42162d,_0x31dffe=_0x3a34aa['getUnitId'](),_0x109ef3=this[_0x2f280b(0x325)]['get'](_0x31dffe);_0x109ef3&&(_0x109ef3[_0x2f280b(0x2da)](),this[_0x2f280b(0x325)][_0x2f280b(0x1d0)](_0x31dffe));});}async['_startCollaboration'](_0x238a5f,_0xf9b966){const _0x46aa71=_0x38c3ff,_0x1707ce=await this[_0x46aa71(0x37f)][_0x46aa71(0x2aa)](_0x238a5f),_0xfc01fc=this[_0x46aa71(0x3b6)]['createInstance'](this['_getCtorByUniverType'](_0xf9b966),_0x238a5f,_0xf9b966,_0x1707ce);return await _0xfc01fc[_0x46aa71(0x475)](),this[_0x46aa71(0x2a3)][_0x46aa71(0x4c4)](_0xfc01fc),_0xfc01fc;}['_getCtorByUniverType'](_0x147edf){const _0x11e805=_0x38c3ff;switch(_0x147edf){case ie['UNIVER_DOC']:return exports[_0x11e805(0x497)];case ie[_0x11e805(0x23d)]:return exports[_0x11e805(0x541)];default:throw new Error(_0x11e805(0x50a)+_0x147edf);}}},exports[_0x38c3ff(0x571)]=Vi([tt(0x0,a[_0x38c3ff(0x2af)](a[_0x38c3ff(0x50e)])),tt(0x1,a[_0x38c3ff(0x2af)](exports[_0x38c3ff(0x1f6)])),tt(0x2,a[_0x38c3ff(0x2a8)])],exports['CollaborationController']);const $t=[_0x38c3ff(0x4b9),_0x38c3ff(0x36f),_0x38c3ff(0x27a),_0x38c3ff(0x1e4),_0x38c3ff(0x1d5),_0x38c3ff(0x22b)];class Ot extends a[_0x38c3ff(0x1a8)]{constructor(){const _0x40004f=_0x38c3ff;super(...arguments),I(this,_0x40004f(0x4fb),new Map()),I(this,'_colorIndex',0x0);}[_0x38c3ff(0x386)](_0x1a1f6e){const _0x191ba8=_0x38c3ff;if(this['_assignedColors'][_0x191ba8(0x599)](_0x1a1f6e))return this[_0x191ba8(0x4fb)][_0x191ba8(0x585)](_0x1a1f6e);const _0xd414b9=$t[this[_0x191ba8(0x57f)]];return this[_0x191ba8(0x57f)]=(this['_colorIndex']+0x1)%$t[_0x191ba8(0x58c)],this['_assignedColors'][_0x191ba8(0x3e8)](_0x1a1f6e,_0xd414b9),_0xd414b9;}}var Gi=Object[_0x38c3ff(0x1c1)],Yi=Object[_0x38c3ff(0x336)],Ki=(_0x266fe6,_0x679b51,_0x41ab2e,_0x173bdc)=>{for(var _0x2caa2c=_0x173bdc>0x1?void 0x0:_0x173bdc?Yi(_0x679b51,_0x41ab2e):_0x679b51,_0x2f8de5=_0x266fe6['length']-0x1,_0x38db91;_0x2f8de5>=0x0;_0x2f8de5--)(_0x38db91=_0x266fe6[_0x2f8de5])&&(_0x2caa2c=(_0x173bdc?_0x38db91(_0x679b51,_0x41ab2e,_0x2caa2c):_0x38db91(_0x2caa2c))||_0x2caa2c);return _0x173bdc&&_0x2caa2c&&Gi(_0x679b51,_0x41ab2e,_0x2caa2c),_0x2caa2c;},Se=(_0x24a181,_0x2da386)=>(_0x158804,_0x2155f1)=>_0x2da386(_0x158804,_0x2155f1,_0x24a181);const qi=0x12c,zi=0x64;let mt=class extends a[_0x38c3ff(0x22c)]{constructor(_0x19a57e,_0xc7dd8e,_0x595af9,_0x50bcf3,_0x1f2a0d,_0x563c1d,_0x35059d,_0x4efd58,_0x4d1dbc){const _0x8309c9=_0x38c3ff;super(),I(this,_0x8309c9(0x416),!0x1),I(this,'_init',!0x1),I(this,_0x8309c9(0x4e8),new A[(_0x8309c9(0x4fc))](new Map())),I(this,_0x8309c9(0x3cd),this[_0x8309c9(0x4e8)]['asObservable']()),I(this,'_roomMembers$',new A[(_0x8309c9(0x4fc))]([])),I(this,_0x8309c9(0x3ad),this[_0x8309c9(0x601)][_0x8309c9(0x57b)](A[_0x8309c9(0x4ca)](qi))),I(this,'_updateLocalCursor',a[_0x8309c9(0x514)](_0x360264=>{const _0x15b423=_0x8309c9,_0x55c2e8={'eventID':S['CollaborationEvent'][_0x15b423(0x46d)],'data':{'unitID':this[_0x15b423(0x364)],'memberID':this[_0x15b423(0x58d)][_0x15b423(0x255)](),'selection':dn(_0x360264)}};this[_0x15b423(0x58d)][_0x15b423(0x5bc)](_0x55c2e8,this[_0x15b423(0x364)]);},zi)),(this['unitID']=_0x19a57e,this[_0x8309c9(0x58d)]=_0xc7dd8e,this[_0x8309c9(0x3b6)]=_0x595af9,this['_colorAssignService']=_0x50bcf3,this[_0x8309c9(0x1aa)]=_0x1f2a0d,this[_0x8309c9(0x1b3)]=_0x563c1d,this[_0x8309c9(0x267)]=_0x35059d,this[_0x8309c9(0x393)]=_0x4efd58,this[_0x8309c9(0x4f6)]=_0x4d1dbc);}get[_0x38c3ff(0x3a2)](){const _0x404097=_0x38c3ff;return this[_0x404097(0x4e8)][_0x404097(0x26d)]();}get[_0x38c3ff(0x3aa)](){const _0x216f03=_0x38c3ff;return this['_roomMembers$'][_0x216f03(0x26d)]();}['dispose'](){const _0x2b3e0f=_0x38c3ff;super[_0x2b3e0f(0x2da)](),this[_0x2b3e0f(0x4e8)][_0x2b3e0f(0x4c4)](new Map()),this['_cursorInfo$'][_0x2b3e0f(0x40d)](),this[_0x2b3e0f(0x601)]['next']([]),this['_roomMembers$'][_0x2b3e0f(0x40d)]();}[_0x38c3ff(0x475)](){const _0xf919c4=_0x38c3ff;this['_init']||(this[_0xf919c4(0x596)]=!0x0,this[_0xf919c4(0x58d)][_0xf919c4(0x31f)][_0xf919c4(0x57b)](A['takeUntil'](this['dispose$']))[_0xf919c4(0x47b)](_0x8a0f18=>{const _0x15ff98=_0xf919c4;_0x8a0f18===se[_0x15ff98(0x1b4)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0xf919c4(0x58d)][_0xf919c4(0x604)][_0xf919c4(0x57b)](A[_0xf919c4(0x3fb)](this[_0xf919c4(0x5ff)]))[_0xf919c4(0x47b)](_0xde3572=>{const _0x5c20fc=_0xf919c4,_0x383b2b=_0xde3572[_0x5c20fc(0x2bd)];_0x383b2b===S['CollaborationEvent'][_0x5c20fc(0x46d)]&&this[_0x5c20fc(0x3f5)](_0xde3572),_0x383b2b===S['CollaborationEvent'][_0x5c20fc(0x5e0)]&&this['_onCursorDelete'](_0xde3572);}),this[_0xf919c4(0x4bd)](this[_0xf919c4(0x4f6)][_0xf919c4(0x4bb)](_0x564f3=>{const _0x182c99=_0xf919c4,_0x4a1a49=_0x564f3['params'];_0x4a1a49!=null&&this[_0x182c99(0x416)]&&_0x564f3['id']===ye[_0x182c99(0x500)]['id']&&_0x4a1a49[_0x182c99(0x492)]===this[_0x182c99(0x364)]&&_0x4a1a49[_0x182c99(0x450)]===!0x1&&_0x4a1a49[_0x182c99(0x64c)][_0x182c99(0x58c)]>0x0&&this[_0x182c99(0x3e9)](_0x4a1a49[_0x182c99(0x64c)]);})),this[_0xf919c4(0x1b3)][_0xf919c4(0x305)][_0xf919c4(0x57b)](A[_0xf919c4(0x3fb)](this['dispose$']))['subscribe'](_0x1ca954=>{const _0x530b59=_0xf919c4;if((_0x1ca954==null?void 0x0:_0x1ca954[_0x530b59(0x364)])!==this[_0x530b59(0x364)])return;const _0x52cf96={'eventID':S[_0x530b59(0x201)][_0x530b59(0x46d)],'data':_0x1ca954};this[_0x530b59(0x3f5)](_0x52cf96);}),this[_0xf919c4(0x4bd)](this[_0xf919c4(0x4f6)]['onCommandExecuted'](_0x3ce8a2=>{const _0x123e56=_0xf919c4;if(_0x3ce8a2[_0x123e56(0x595)]==null)return;const _0x51b984=_0x3ce8a2[_0x123e56(0x595)];if(_0x3ce8a2['id']!==ye['RichTextEditingMutation']['id']||_0x51b984[_0x123e56(0x492)]!==this['unitID'])return;const _0x53df5f={'id':'doc.mutation.rich-text-editing','params':_0x51b984},_0x1d5037=this[_0x123e56(0x3a2)];for(const [_0x309aee,_0x488e84]of _0x1d5037){const _0x363b73={'id':_0x123e56(0x354),'params':{'unitId':this[_0x123e56(0x364)],'actions':null,'textRanges':_0x488e84[_0x123e56(0x64c)]}},_0x3623aa=this['_transformService'][_0x123e56(0x634)](_0x53df5f,_0x363b73,!0x1);if(S[_0x123e56(0x446)](_0x3623aa))throw _0x3623aa['error'];_0x1d5037[_0x123e56(0x3e8)](_0x309aee,{..._0x488e84,'ranges':_0x3623aa['m2Prime'][_0x123e56(0x595)]['textRanges']});}queueMicrotask(()=>{const _0x36468f=_0x123e56;this['_cursorInfo$'][_0x36468f(0x4c4)](_0x1d5037);});})));}[_0x38c3ff(0x3f5)](_0x116c56){const _0x212f4c=_0x38c3ff;var _0x146bd1,_0x33f131;const {memberID:_0x1b0144,selection:_0x3ae9ac}=_0x116c56[_0x212f4c(0x2e1)],_0x417b70=Ui(_0x3ae9ac),_0x3f048e=(_0x33f131=(_0x146bd1=this['_memberService'][_0x212f4c(0x2ca)](this[_0x212f4c(0x364)],_0x1b0144))==null?void 0x0:_0x146bd1['name'])!=null?_0x33f131:_0x212f4c(0x4ae),_0x395c48={'color':this['_colorAssignService']['assignAColorForMemberID'](_0x1b0144),'name':_0x3f048e,'ranges':_0x417b70},_0x47055a=this[_0x212f4c(0x3a2)];_0x47055a[_0x212f4c(0x3e8)](_0x1b0144,_0x395c48),this[_0x212f4c(0x4e8)][_0x212f4c(0x4c4)](_0x47055a);}[_0x38c3ff(0x5a6)](_0x34cdef){const _0xdf48ca=_0x38c3ff,{memberID:_0x3248e9}=_0x34cdef['data'],_0x3dca26=this['cursorInfo'];_0x3dca26[_0xdf48ca(0x1d0)](_0x3248e9),this[_0xdf48ca(0x4e8)]['next'](_0x3dca26);}[_0x38c3ff(0x299)](){const _0x4003f2=_0x38c3ff;var _0x11407e;if(this[_0x4003f2(0x416)]=!0x0,((_0x11407e=this[_0x4003f2(0x393)][_0x4003f2(0x3f9)]())==null?void 0x0:_0x11407e[_0x4003f2(0x2ee)]())!==this['unitID'])return;const _0x56054a=this[_0x4003f2(0x3b6)][_0x4003f2(0x585)](ye[_0x4003f2(0x5fe)])[_0x4003f2(0x5b3)]();Array[_0x4003f2(0x32a)](_0x56054a)&&_0x56054a[_0x4003f2(0x58c)]>0x0&&this['_updateLocalCursor'](_0x56054a);}[_0x38c3ff(0x465)](){const _0x41351c=_0x38c3ff;this[_0x41351c(0x416)]=!0x1;}};mt=Ki([Se(0x2,a[_0x38c3ff(0x2af)](a[_0x38c3ff(0x50e)])),Se(0x3,a[_0x38c3ff(0x2af)](Ot)),Se(0x4,a[_0x38c3ff(0x2af)](exports[_0x38c3ff(0x41e)])),Se(0x5,a[_0x38c3ff(0x2af)](Rt)),Se(0x6,S[_0x38c3ff(0x3cc)]),Se(0x7,a['IUniverInstanceService']),Se(0x8,a[_0x38c3ff(0x439)])],mt);var Xi=Object[_0x38c3ff(0x1c1)],Ji=Object[_0x38c3ff(0x336)],Zi=(_0x1a375a,_0xe029c4,_0x50348c,_0x3e7bde)=>{for(var _0x3d87bd=_0x3e7bde>0x1?void 0x0:_0x3e7bde?Ji(_0xe029c4,_0x50348c):_0xe029c4,_0x5547c5=_0x1a375a['length']-0x1,_0x365634;_0x5547c5>=0x0;_0x5547c5--)(_0x365634=_0x1a375a[_0x5547c5])&&(_0x3d87bd=(_0x3e7bde?_0x365634(_0xe029c4,_0x50348c,_0x3d87bd):_0x365634(_0x3d87bd))||_0x3d87bd);return _0x3e7bde&&_0x3d87bd&&Xi(_0xe029c4,_0x50348c,_0x3d87bd),_0x3d87bd;},be=(_0x3b5f3a,_0x71b314)=>(_0x4f6fe2,_0x3f6d9b)=>_0x71b314(_0x4f6fe2,_0x3f6d9b,_0x3b5f3a);const Qi=0x12c,es=0x64,ts=()=>{let _0x49b604=[],_0x1908fa=!0x1;return _0x3af097=>{_0x49b604['push'](_0x3af097),_0x1908fa||(_0x1908fa=!0x0,setTimeout(()=>{const _0x202c1a=_0x4762;_0x49b604[_0x202c1a(0x2d8)](_0x5d3d9d=>_0x5d3d9d()),_0x49b604=[],_0x1908fa=!0x1;}));};};let St=class extends a[_0x38c3ff(0x22c)]{constructor(_0x5e50fe,_0x457904,_0x2b08e9,_0x35f890,_0x1e35a7,_0x51f7b1,_0x11966e,_0x1cf153){const _0x586807=_0x38c3ff;super(),I(this,_0x586807(0x416),!0x1),I(this,_0x586807(0x596),!0x1),I(this,_0x586807(0x4e8),new A['BehaviorSubject'](new Map())),I(this,_0x586807(0x3cd),this['_cursorInfo$'][_0x586807(0x4a7)]()),I(this,_0x586807(0x601),new A[(_0x586807(0x4fc))]([])),I(this,_0x586807(0x3ad),this[_0x586807(0x601)][_0x586807(0x57b)](A[_0x586807(0x4ca)](Qi))),I(this,_0x586807(0x3e9),a[_0x586807(0x514)]((_0x877435,_0x583c75)=>{const _0xd7b8ca=_0x586807,_0x1269b9={'eventID':S['CollaborationEvent'][_0xd7b8ca(0x46d)],'data':{'unitID':this[_0xd7b8ca(0x364)],'memberID':this[_0xd7b8ca(0x58d)]['getMemberID'](),'selection':Pt[_0xd7b8ca(0x470)](_0x877435,_0x583c75[_0xd7b8ca(0x256)])}};this['_session'][_0xd7b8ca(0x5bc)](_0x1269b9,this[_0xd7b8ca(0x364)]);},es)),(this['unitID']=_0x5e50fe,this[_0x586807(0x58d)]=_0x457904,this[_0x586807(0x3b6)]=_0x2b08e9,this[_0x586807(0x5cd)]=_0x35f890,this[_0x586807(0x1aa)]=_0x1e35a7,this[_0x586807(0x393)]=_0x51f7b1,this['_commandService']=_0x11966e,this[_0x586807(0x3dd)]=_0x1cf153);}get['cursorInfo'](){const _0x10cbf8=_0x38c3ff;return this[_0x10cbf8(0x4e8)][_0x10cbf8(0x26d)]();}get[_0x38c3ff(0x3aa)](){const _0x2a4150=_0x38c3ff;return this[_0x2a4150(0x601)][_0x2a4150(0x26d)]();}['dispose'](){const _0x553b14=_0x38c3ff;super[_0x553b14(0x2da)](),this[_0x553b14(0x4e8)][_0x553b14(0x4c4)](new Map()),this['_cursorInfo$'][_0x553b14(0x40d)](),this['_roomMembers$'][_0x553b14(0x4c4)]([]),this[_0x553b14(0x601)]['complete']();}[_0x38c3ff(0x475)](){const _0x50e7b5=_0x38c3ff;this[_0x50e7b5(0x596)]||(this[_0x50e7b5(0x596)]=!0x0,this[_0x50e7b5(0x58d)][_0x50e7b5(0x31f)][_0x50e7b5(0x57b)](A[_0x50e7b5(0x3fb)](this[_0x50e7b5(0x5ff)]))[_0x50e7b5(0x47b)](_0x27cc31=>{const _0x2f6a5b=_0x50e7b5;_0x27cc31===se[_0x2f6a5b(0x1b4)]?this['_toggleOnline']():this[_0x2f6a5b(0x465)]();}),this[_0x50e7b5(0x58d)][_0x50e7b5(0x604)]['pipe'](A['takeUntil'](this['dispose$']))[_0x50e7b5(0x47b)](_0x98338e=>{const _0x81393e=_0x50e7b5,_0x14abd0=_0x98338e['eventID'];_0x14abd0===S[_0x81393e(0x201)][_0x81393e(0x46d)]&&this['_onCursorUpdate'](_0x98338e),_0x14abd0===S[_0x81393e(0x201)][_0x81393e(0x5e0)]&&this[_0x81393e(0x5a6)](_0x98338e);}),this[_0x50e7b5(0x635)](),this[_0x50e7b5(0x4bd)](this[_0x50e7b5(0x4f6)][_0x50e7b5(0x4bb)](_0x380ee6=>{const _0x114835=_0x50e7b5;if(this[_0x114835(0x416)]&&_0x380ee6['id']===k[_0x114835(0x56b)]['id']&&_0x380ee6[_0x114835(0x595)][_0x114835(0x492)]===this[_0x114835(0x364)]){const _0x132e2b=_0x380ee6[_0x114835(0x595)];this[_0x114835(0x3e9)](_0x132e2b['subUnitId'],_0x132e2b[_0x114835(0x609)][0x0]);}})));}[_0x38c3ff(0x3f5)](_0x2d6a7b){const _0x5bbda4=_0x38c3ff;var _0xd680e6,_0x5251bc;const {memberID:_0x2cbd26,selection:_0x3dd76c}=_0x2d6a7b[_0x5bbda4(0x2e1)],{sheetName:_0x49a0e4,range:_0x5db4c2}=Pt[_0x5bbda4(0x479)](_0x3dd76c),_0x283e55={'name':(_0x5251bc=(_0xd680e6=this['_memberService'][_0x5bbda4(0x2ca)](this['unitID'],_0x2cbd26))==null?void 0x0:_0xd680e6[_0x5bbda4(0x503)])!=null?_0x5251bc:_0x5bbda4(0x4ae),'range':this[_0x5bbda4(0x289)](_0x49a0e4,_0x5db4c2),'sheetID':_0x49a0e4,'color':this[_0x5bbda4(0x5cd)][_0x5bbda4(0x386)](_0x2cbd26),'selection':_0x3dd76c},_0x4b4209=this[_0x5bbda4(0x3a2)];_0x4b4209[_0x5bbda4(0x3e8)](_0x2cbd26,_0x283e55),this['_cursorInfo$']['next'](_0x4b4209);}[_0x38c3ff(0x5a6)](_0x10e226){const _0x35127=_0x38c3ff,{memberID:_0x52c5f3}=_0x10e226['data'],_0x68f347=this[_0x35127(0x3a2)];_0x68f347[_0x35127(0x1d0)](_0x52c5f3),this[_0x35127(0x4e8)][_0x35127(0x4c4)](_0x68f347);}[_0x38c3ff(0x289)](_0x5dea74,_0x19399c){const _0x2eda52=_0x38c3ff;var _0x1337e8,_0x36c3be;const _0x3e032e=(_0x36c3be=(_0x1337e8=this[_0x2eda52(0x393)][_0x2eda52(0x48f)](this[_0x2eda52(0x364)]))==null?void 0x0:_0x1337e8[_0x2eda52(0x2b5)](_0x5dea74))==null?void 0x0:_0x36c3be[_0x2eda52(0x19e)]();return(_0x3e032e==null?void 0x0:_0x3e032e[_0x2eda52(0x643)](_0x15785b=>a['Rectangle']['contains'](_0x15785b,_0x19399c)))||_0x19399c;}[_0x38c3ff(0x635)](){const _0x4c357d=_0x38c3ff,_0x2d41ea=new a[(_0x4c357d(0x5ad))](),_0x2d60aa=ts(),_0x5474d8=()=>{const _0x259639=_0x4c357d;_0x2d41ea[_0x259639(0x2da)]();const _0x1f803c=(_0x4d65b5,_0x15c206,_0x2c2f5e,_0x1353e0)=>{const _0xfbc1c1=_0x259639;let _0x2a33e9=[];switch(_0x4d65b5['id']){case k[_0xfbc1c1(0x597)][_0xfbc1c1(0x1e7)]:{_0x2a33e9=k[_0xfbc1c1(0x654)](_0x4d65b5,_0x1353e0);break;}case k[_0xfbc1c1(0x597)]['DeleteRangeMoveUpCommandId']:{_0x2a33e9=k[_0xfbc1c1(0x2dd)](_0x4d65b5,_0x1353e0);break;}case k['EffectRefRangId'][_0xfbc1c1(0x27d)]:{_0x2a33e9=k[_0xfbc1c1(0x234)](_0x4d65b5,_0x1353e0);break;}case k[_0xfbc1c1(0x597)][_0xfbc1c1(0x5a2)]:{_0x2a33e9=k[_0xfbc1c1(0x26c)](_0x4d65b5,_0x1353e0);break;}case k[_0xfbc1c1(0x597)][_0xfbc1c1(0x5c4)]:{_0x2a33e9=k[_0xfbc1c1(0x1ae)](_0x4d65b5,_0x1353e0);break;}case k[_0xfbc1c1(0x597)][_0xfbc1c1(0x3d4)]:{_0x2a33e9=k[_0xfbc1c1(0x371)](_0x4d65b5,_0x1353e0);break;}case k[_0xfbc1c1(0x597)][_0xfbc1c1(0x2e9)]:{_0x2a33e9=k[_0xfbc1c1(0x278)](_0x4d65b5,_0x1353e0);break;}case k['EffectRefRangId'][_0xfbc1c1(0x41d)]:{_0x2a33e9=k[_0xfbc1c1(0x494)](_0x4d65b5,_0x1353e0);break;}case k['EffectRefRangId'][_0xfbc1c1(0x582)]:{_0x2a33e9=k['handleIRemoveRow'](_0x4d65b5,_0x1353e0);break;}}const _0x43346d=k[_0xfbc1c1(0x29d)](_0x2a33e9,_0x1353e0),_0x36303e=this[_0xfbc1c1(0x3a2)]['get'](_0x15c206);if(_0x36303e&&_0x43346d){const _0x1d74c6={..._0x36303e,'range':_0x43346d};this[_0xfbc1c1(0x3a2)][_0xfbc1c1(0x3e8)](_0x15c206,_0x1d74c6),_0x2d60aa(()=>{const _0x3e712d=_0xfbc1c1,_0x55dcd9=this['_refRangeService'][_0x3e712d(0x5b5)](_0x43346d,_0x296c21=>(_0x55dcd9[_0x3e712d(0x2da)](),_0x1f803c(_0x296c21,_0x15c206,_0x2c2f5e,_0x43346d)));_0x2d41ea[_0x3e712d(0x425)](_0x55dcd9);});}return{'redos':[],'undos':[]};};this[_0x259639(0x3a2)]['forEach']((_0x8b9008,_0x44e1f0)=>{const _0x4d2dcc=_0x259639,{range:_0x31cfa6,sheetID:_0x109b9b}=_0x8b9008,_0x197064=this[_0x4d2dcc(0x3dd)][_0x4d2dcc(0x5b5)](_0x31cfa6,_0x56eab4=>(_0x197064['dispose'](),_0x1f803c(_0x56eab4,_0x44e1f0,_0x109b9b,_0x31cfa6)));_0x2d41ea[_0x4d2dcc(0x425)](_0x197064);});};this[_0x4c357d(0x4bd)](a[_0x4c357d(0x2c7)](this[_0x4c357d(0x4e8)]['subscribe'](()=>{_0x5474d8();})));}[_0x38c3ff(0x299)](){const _0x43cc97=_0x38c3ff;var _0x521201,_0x191281;if(this[_0x43cc97(0x416)]=!0x0,((_0x521201=this['_univerInstanceService'][_0x43cc97(0x3f9)]())==null?void 0x0:_0x521201[_0x43cc97(0x2ee)]())!==this['unitID'])return;const _0x510a05=(_0x191281=this[_0x43cc97(0x3b6)][_0x43cc97(0x585)](k[_0x43cc97(0x2c5)])[_0x43cc97(0x3fd)]())==null?void 0x0:_0x191281[0x0],_0xb1e6b0=this[_0x43cc97(0x393)][_0x43cc97(0x323)](a[_0x43cc97(0x27f)][_0x43cc97(0x23d)])[_0x43cc97(0x60f)]();_0x510a05&&_0xb1e6b0&&this[_0x43cc97(0x3e9)](_0xb1e6b0[_0x43cc97(0x5f0)](),_0x510a05);}[_0x38c3ff(0x465)](){const _0x1cd464=_0x38c3ff;this[_0x1cd464(0x416)]=!0x1;}};St=Zi([be(0x2,a[_0x38c3ff(0x2af)](a[_0x38c3ff(0x50e)])),be(0x3,a['Inject'](Ot)),be(0x4,a[_0x38c3ff(0x2af)](exports[_0x38c3ff(0x41e)])),be(0x5,a[_0x38c3ff(0x2a8)]),be(0x6,a['ICommandService']),be(0x7,a[_0x38c3ff(0x2af)](k[_0x38c3ff(0x464)]))],St);var ns=Object[_0x38c3ff(0x1c1)],is=Object[_0x38c3ff(0x336)],ss=(_0x526e39,_0x4b869d,_0x5ba182,_0x58a2bf)=>{const _0x2622e7=_0x38c3ff;for(var _0x92f614=_0x58a2bf>0x1?void 0x0:_0x58a2bf?is(_0x4b869d,_0x5ba182):_0x4b869d,_0x43cef9=_0x526e39[_0x2622e7(0x58c)]-0x1,_0x4f756d;_0x43cef9>=0x0;_0x43cef9--)(_0x4f756d=_0x526e39[_0x43cef9])&&(_0x92f614=(_0x58a2bf?_0x4f756d(_0x4b869d,_0x5ba182,_0x92f614):_0x4f756d(_0x92f614))||_0x92f614);return _0x58a2bf&&_0x92f614&&ns(_0x4b869d,_0x5ba182,_0x92f614),_0x92f614;},nt=(_0x282b1a,_0x233191)=>(_0x262793,_0x1aa17d)=>_0x233191(_0x262793,_0x1aa17d,_0x282b1a);let De=class extends a[_0x38c3ff(0x22c)]{constructor(_0x2ba395,_0x4740a9,_0x48cb51){const _0x3bc75a=_0x38c3ff;super(),I(this,'_entities',new Map()),I(this,_0x3bc75a(0x2a3),new A['Subject']()),(this['_univerInstanceService']=_0x2ba395,this[_0x3bc75a(0x3b6)]=_0x4740a9,this[_0x3bc75a(0x37f)]=_0x48cb51,this['_init']());}['dispose'](){const _0x363ddc=_0x38c3ff;super[_0x363ddc(0x2da)](),this['_entityInit$'][_0x363ddc(0x40d)](),this['_entities'][_0x363ddc(0x2d8)](_0x40ee60=>_0x40ee60[_0x363ddc(0x2da)]());}[_0x38c3ff(0x592)](_0x3f448d){const _0x1aa6a0=_0x38c3ff;return this[_0x1aa6a0(0x325)][_0x1aa6a0(0x599)](_0x3f448d)?this[_0x1aa6a0(0x325)][_0x1aa6a0(0x585)](_0x3f448d)['cursorInfo$']:this['_entityInit$'][_0x1aa6a0(0x57b)](A[_0x1aa6a0(0x576)](_0x3618a4=>_0x3618a4['unitID']===_0x3f448d),A[_0x1aa6a0(0x5fa)](_0x1c1dc0=>_0x1c1dc0['cursorInfo$']));}[_0x38c3ff(0x596)](){const _0x3fffe3=_0x38c3ff;this[_0x3fffe3(0x393)][_0x3fffe3(0x23f)](a[_0x3fffe3(0x27f)][_0x3fffe3(0x23d)])['pipe'](A[_0x3fffe3(0x3fb)](this[_0x3fffe3(0x5ff)]))['subscribe'](async _0xe5dee=>{const _0x31180c=_0x3fffe3,_0x2f988f=_0xe5dee[_0x31180c(0x2ee)](),_0x401128=await this[_0x31180c(0x3c2)](_0x2f988f);this['_entityInit$'][_0x31180c(0x4c4)](_0x401128),this['_entities'][_0x31180c(0x3e8)](_0x2f988f,_0x401128);}),this[_0x3fffe3(0x393)][_0x3fffe3(0x23f)](a[_0x3fffe3(0x27f)][_0x3fffe3(0x649)])[_0x3fffe3(0x57b)](A[_0x3fffe3(0x3fb)](this['dispose$']))['pipe'](A[_0x3fffe3(0x576)](_0x314550=>!_0x314550[_0x3fffe3(0x2ee)]()['startsWith']('__')))[_0x3fffe3(0x47b)](async _0x16358c=>{const _0x9691e1=_0x3fffe3,_0x25f4b3=_0x16358c[_0x9691e1(0x2ee)](),_0x1ba2c5=await this[_0x9691e1(0x58b)](_0x25f4b3);this[_0x9691e1(0x2a3)][_0x9691e1(0x4c4)](_0x1ba2c5),this[_0x9691e1(0x325)][_0x9691e1(0x3e8)](_0x25f4b3,_0x1ba2c5);}),A['merge'](this[_0x3fffe3(0x393)][_0x3fffe3(0x3bc)](a[_0x3fffe3(0x27f)][_0x3fffe3(0x649)]),this[_0x3fffe3(0x393)][_0x3fffe3(0x3bc)](a[_0x3fffe3(0x27f)][_0x3fffe3(0x23d)]))[_0x3fffe3(0x57b)](A[_0x3fffe3(0x3fb)](this[_0x3fffe3(0x5ff)]))[_0x3fffe3(0x47b)](_0x3fba9f=>{const _0x430c37=_0x3fffe3,_0x3f578c=_0x3fba9f[_0x430c37(0x2ee)](),_0x55dd37=this[_0x430c37(0x325)][_0x430c37(0x585)](_0x3f578c);_0x55dd37&&(_0x55dd37[_0x430c37(0x2da)](),this[_0x430c37(0x325)][_0x430c37(0x1d0)](_0x3f578c));});}async[_0x38c3ff(0x3c2)](_0x276b01){const _0x1fd2fd=_0x38c3ff,_0x4ce25d=await this[_0x1fd2fd(0x37f)][_0x1fd2fd(0x2aa)](_0x276b01),_0x4e6759=this[_0x1fd2fd(0x3b6)]['createInstance'](St,_0x276b01,_0x4ce25d);return _0x4e6759['init'](),_0x4e6759;}async[_0x38c3ff(0x58b)](_0x295865){const _0x460b55=_0x38c3ff,_0x38e804=await this[_0x460b55(0x37f)][_0x460b55(0x2aa)](_0x295865),_0x3e2106=this[_0x460b55(0x3b6)]['createInstance'](mt,_0x295865,_0x38e804);return _0x3e2106['init'](),_0x3e2106;}};De=ss([nt(0x0,a[_0x38c3ff(0x2a8)]),nt(0x1,a[_0x38c3ff(0x2af)](a['Injector'])),nt(0x2,a[_0x38c3ff(0x2af)](exports[_0x38c3ff(0x1f6)]))],De);const Le=0x14,Ht=0xc8,it=0x4,rs=0x5;function os(_0x3a2bfc,_0x3302b){const _0x51e6b7=_0x38c3ff;let {radius:_0x1e27d7,width:_0xb2a7b,height:_0x471a35}=_0x3302b;_0x1e27d7=_0x1e27d7!=null?_0x1e27d7:0x0,_0xb2a7b=_0xb2a7b!=null?_0xb2a7b:0x1e,_0x471a35=_0x471a35!=null?_0x471a35:0x1e;let _0x2b77ee=0x0,_0x3a1a11=0x0,_0x2e26b6=0x0;_0x2b77ee=_0x3a1a11=_0x2e26b6=Math[_0x51e6b7(0x269)](_0x1e27d7,_0xb2a7b/0x2,_0x471a35/0x2),_0x3a2bfc['beginPath'](),_0x3a2bfc[_0x51e6b7(0x1fa)](_0x2b77ee,0x0),_0x3a2bfc[_0x51e6b7(0x62e)](_0xb2a7b-_0x3a1a11,0x0),_0x3a2bfc[_0x51e6b7(0x319)](_0xb2a7b-_0x3a1a11,_0x3a1a11,_0x3a1a11,Math['PI']*0x3/0x2,0x0,!0x1),_0x3a2bfc[_0x51e6b7(0x62e)](_0xb2a7b,_0x471a35-_0x2e26b6),_0x3a2bfc['arc'](_0xb2a7b-_0x2e26b6,_0x471a35-_0x2e26b6,_0x2e26b6,0x0,Math['PI']/0x2,!0x1),_0x3a2bfc[_0x51e6b7(0x62e)](0x0,_0x471a35),_0x3a2bfc[_0x51e6b7(0x62e)](0x0,_0x2b77ee),_0x3a2bfc[_0x51e6b7(0x319)](_0x2b77ee,_0x2b77ee,_0x2b77ee,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3a2bfc[_0x51e6b7(0x224)](),_0x3302b[_0x51e6b7(0x422)]&&(_0x3a2bfc[_0x51e6b7(0x24c)](),_0x3a2bfc[_0x51e6b7(0x335)]=_0x3302b[_0x51e6b7(0x422)],_0x3302b['fillRule']===_0x51e6b7(0x324)?_0x3a2bfc[_0x51e6b7(0x422)](_0x51e6b7(0x324)):_0x3a2bfc[_0x51e6b7(0x422)](),_0x3a2bfc[_0x51e6b7(0x63b)]());}class ze extends K[_0x38c3ff(0x3db)]{constructor(_0x363da1,_0x437028){const _0x10c647=_0x38c3ff;super(_0x363da1,_0x437028),I(this,_0x10c647(0x4c3)),I(this,_0x10c647(0x598)),(this[_0x10c647(0x4c3)]=_0x437028==null?void 0x0:_0x437028[_0x10c647(0x4c3)],this[_0x10c647(0x598)]=_0x437028==null?void 0x0:_0x437028['text']);}static[_0x38c3ff(0x54d)](_0x176042,_0x4a61fc){const _0x12fe2c=_0x38c3ff,{text:_0x434829,color:_0x50f30a}=_0x4a61fc;_0x176042[_0x12fe2c(0x24c)](),_0x176042['font']=_0x12fe2c(0x4f3);const _0xea1946=_0x176042[_0x12fe2c(0x49c)](_0x434829)[_0x12fe2c(0x2f3)],_0x5885d6=Math[_0x12fe2c(0x269)](_0xea1946+0x2*it,Ht);os(_0x176042,{'height':Le,'radius':0x4,'width':_0x5885d6,'fill':_0x50f30a,'evented':!0x1}),_0x176042[_0x12fe2c(0x335)]=_0x12fe2c(0x40c);const _0x29b99c=it,_0x298512=Le-rs,_0x2bce2e=Ht-0x2*it;if(_0xea1946>_0x2bce2e){let _0x4d8614='',_0xd26ee9=0x0;for(const _0xa27959 of _0x434829){const _0xe0d2dc=_0x176042[_0x12fe2c(0x49c)](_0xa27959)[_0x12fe2c(0x2f3)];if(_0xd26ee9+_0xe0d2dc<=_0x2bce2e-_0x176042[_0x12fe2c(0x49c)](_0x12fe2c(0x315))[_0x12fe2c(0x2f3)])_0x4d8614+=_0xa27959,_0xd26ee9+=_0xe0d2dc;else{_0x4d8614+=_0x12fe2c(0x315);break;}}_0x176042[_0x12fe2c(0x5bd)](_0x4d8614,_0x29b99c,_0x298512);}else _0x176042[_0x12fe2c(0x5bd)](_0x434829,_0x29b99c,_0x298512);_0x176042[_0x12fe2c(0x63b)]();}['_draw'](_0x44938d){const _0x3072ed=_0x38c3ff;ze[_0x3072ed(0x54d)](_0x44938d,this);}}const st=_0x38c3ff(0x5fd),as='collab-text-range-',cs=_0x38c3ff(0x19b),Ue=0x6,ls=1.5,rt=0x4,hs=1.5,_s=_0x38c3ff(0x1e6);class Bt{constructor(_0x26fd3b,_0x2ae258,_0x43a5a6,_0x263b84){const _0x17ba0d=_0x38c3ff;I(this,_0x17ba0d(0x2c1),[]),I(this,_0x17ba0d(0x550),null),I(this,_0x17ba0d(0x3be),null),I(this,_0x17ba0d(0x4a2),null),I(this,'_hideTimer',null),I(this,'_eventUnsubscribe',null),(this['_cursor']=_0x26fd3b,this['_scene']=_0x2ae258,this[_0x17ba0d(0x2d0)]=_0x43a5a6,this[_0x17ba0d(0x40f)]=_0x263b84,this[_0x17ba0d(0x437)]());}set[_0x38c3ff(0x23b)](_0x5352d5){const _0x22cbee=_0x38c3ff;_0x5352d5?(this[_0x22cbee(0x4a2)]&&this[_0x22cbee(0x4a2)]['hide'](),this['_textBubble']&&this[_0x22cbee(0x3be)][_0x22cbee(0x37c)]()):(this['_anchorDot']&&this[_0x22cbee(0x4a2)]['show'](),this[_0x22cbee(0x3be)]&&this[_0x22cbee(0x3be)]['hide']());}[_0x38c3ff(0x2da)](){const _0x52d2d0=_0x38c3ff;for(const _0x44bda9 of this[_0x52d2d0(0x2c1)])_0x44bda9[_0x52d2d0(0x2da)]();this[_0x52d2d0(0x3be)]&&this[_0x52d2d0(0x3be)][_0x52d2d0(0x2da)](),this[_0x52d2d0(0x4a2)]&&this['_anchorDot'][_0x52d2d0(0x2da)](),this[_0x52d2d0(0x550)]&&this[_0x52d2d0(0x550)][_0x52d2d0(0x2da)](),this[_0x52d2d0(0x1f3)]&&this['_eventUnsubscribe']();}['_render'](){const _0x2331b3=_0x38c3ff;var _0x961251;const {_docSkeleton:_0x7f93e0,_document:_0x49daef}=this,{color:_0x5dcd46,name:_0xc93b8,ranges:_0x4e54b5}=this['_cursor'],_0x2cbeab=_0x49daef[_0x2331b3(0x5bb)](),{docsLeft:_0x4a7fd9,docsTop:_0x421507}=_0x2cbeab,_0xfa6010=new J[(_0x2331b3(0x5ed))](_0x2cbeab,_0x7f93e0);for(const {startOffset:_0x2e404f,endOffset:_0x3e2739,rangeType:_0x3a42ff,segmentId:_0x3f6f6a,segmentPage:_0x5a9951,collapsed:_0x58967c,isActive:_0x3e31ea}of _0x4e54b5){const _0x2ecb4a=_0x7f93e0['findNodePositionByCharIndex'](_0x2e404f,!0x0,_0x3f6f6a,_0x5a9951);let _0x271e5c=_0x7f93e0['findNodePositionByCharIndex'](_0x3e2739,!0x0,_0x3f6f6a,_0x5a9951);if(_0x271e5c==null&&(_0x271e5c=_0x7f93e0[_0x2331b3(0x4d1)](_0x3e2739-0x1,!0x1,_0x3f6f6a,_0x5a9951)),_0x3e31ea){const {contentBoxPointGroup:_0x5daa94}=_0xfa6010[_0x2331b3(0x3c3)](_0x271e5c,_0x271e5c);if(_0x5daa94[_0x2331b3(0x58c)]===0x0)continue;this[_0x2331b3(0x5fb)](_0x5dcd46,_0x5daa94,_0x4a7fd9,_0x421507,_0xc93b8),this[_0x2331b3(0x1f3)]=this[_0x2331b3(0x3f4)]();}if(_0x2ecb4a&&_0x271e5c){if(_0x3a42ff===a[_0x2331b3(0x2ec)][_0x2331b3(0x248)]){const _0x45d09c=new J[(_0x2331b3(0x5e1))](_0x2cbeab,_0x7f93e0),{pointGroup:_0x4e6362}=(_0x961251=_0x45d09c[_0x2331b3(0x3c3)](_0x2ecb4a,_0x271e5c))!=null?_0x961251:{};if(_0x4e6362==null||_0x4e6362['length']===0x0)continue;this['_drawRectRange'](_0x5dcd46,_0x4e6362,_0x4a7fd9,_0x421507);}else{if(!_0x58967c){const {borderBoxPointGroup:_0x113c3e}=_0xfa6010[_0x2331b3(0x3c3)](_0x2ecb4a,_0x271e5c);if(_0x113c3e['length']===0x0)continue;this[_0x2331b3(0x1c9)](_0x5dcd46,_0x113c3e,_0x4a7fd9,_0x421507);}}}}}['_drawAnchor'](_0x46afc4,_0x29f236,_0x2dcad7,_0x1c4419,_0x3b35b9){const _0xd658df=_0x38c3ff,_0xde7418=this['_getAnchorBounding'](_0x29f236),{left:_0x245d0e,top:_0x345f02,height:_0x185166}=_0xde7418,_0x1f7bcf=this[_0xd658df(0x379)](),_0x19749d=hs/_0x1f7bcf,_0x134e0f=new K[(_0xd658df(0x590))](st+a[_0xd658df(0x24a)][_0xd658df(0x4b6)](Ue),{'left':_0x245d0e+_0x2dcad7-_0x19749d,'top':_0x345f02+_0x1c4419,'height':_0x185166,'width':ls,'fill':_0x46afc4||K[_0xd658df(0x49b)](a[_0xd658df(0x3b8)]['black'],0x0),'strokeWidth':_0x19749d,'stroke':_s,'evented':!0x0});this['_anchor']=_0x134e0f,this[_0xd658df(0x352)][_0xd658df(0x392)](_0x134e0f,J[_0xd658df(0x296)]);const _0xdd205d=new K[(_0xd658df(0x590))](st+a[_0xd658df(0x24a)][_0xd658df(0x4b6)](Ue),{'left':_0x245d0e+_0x2dcad7-_0x19749d,'top':_0x345f02+_0x1c4419-rt/0x2,'height':rt,'width':rt,'fill':_0x46afc4||K[_0xd658df(0x49b)](a[_0xd658df(0x3b8)][_0xd658df(0x36b)],0x0),'strokeWidth':0x0,'stroke':_0x46afc4||K[_0xd658df(0x49b)](a[_0xd658df(0x3b8)][_0xd658df(0x36b)],0x0),'evented':!0x1});this[_0xd658df(0x4a2)]=_0xdd205d,this[_0xd658df(0x352)][_0xd658df(0x392)](_0xdd205d,J['TEXT_RANGE_LAYER_INDEX']);const _0x249708=new ze(st+a[_0xd658df(0x24a)][_0xd658df(0x4b6)](Ue),{'left':_0x245d0e+_0x2dcad7-_0x19749d,'top':_0x345f02+_0x1c4419-Le,'text':_0x3b35b9,'color':_0x46afc4});this[_0xd658df(0x3be)]=_0x249708,this[_0xd658df(0x352)][_0xd658df(0x392)](_0x249708,J[_0xd658df(0x296)]),this[_0xd658df(0x23b)]=!0x1;}[_0x38c3ff(0x3f4)](){const _0x2796fe=_0x38c3ff,_0x5124d4=this[_0x2796fe(0x550)][_0x2796fe(0x59e)][_0x2796fe(0x54e)](()=>{const _0x59897c=_0x2796fe;this[_0x59897c(0x23b)]=!0x0;}),_0x335442=this[_0x2796fe(0x550)]['onPointerLeave$'][_0x2796fe(0x54e)](()=>{const _0x14cb24=_0x2796fe;this[_0x14cb24(0x396)]&&clearTimeout(this['_hideTimer']),this[_0x14cb24(0x396)]=setTimeout(()=>{const _0x35ce82=_0x14cb24;this[_0x35ce82(0x23b)]=!0x1;},0x7d0);});return()=>{const _0x213e34=_0x2796fe;_0x5124d4['unsubscribe'](),_0x335442[_0x213e34(0x25d)]();};}[_0x38c3ff(0x1c9)](_0xb5347,_0x35064d,_0x579108,_0x21b751){const _0x40c89d=_0x38c3ff,_0x5ad3d3=new a[(_0x40c89d(0x2d7))](_0xb5347)[_0x40c89d(0x611)](0.2)[_0x40c89d(0x338)](),_0x3523ab=new K[(_0x40c89d(0x44b))](as+a[_0x40c89d(0x24a)][_0x40c89d(0x4b6)](Ue),{'pointsGroup':_0x35064d,'fill':_0x5ad3d3||K[_0x40c89d(0x49b)](a[_0x40c89d(0x3b8)][_0x40c89d(0x36b)],0.2),'left':_0x579108,'top':_0x21b751,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x40c89d(0x473)](_0x3523ab),this[_0x40c89d(0x352)]['addObject'](_0x3523ab,J[_0x40c89d(0x296)]);}[_0x38c3ff(0x5cf)](_0x30dbe4,_0x5bbad7,_0x56ae40,_0x36a916){const _0x165ede=_0x38c3ff,_0x579da2=new a['ColorKit'](_0x30dbe4)[_0x165ede(0x611)](0.2)[_0x165ede(0x338)](),_0x120ee1=new K[(_0x165ede(0x44b))](cs+a[_0x165ede(0x24a)]['generateRandomId'](Ue),{'pointsGroup':_0x5bbad7,'fill':_0x579da2||K[_0x165ede(0x49b)](a['COLORS']['black'],0.2),'left':_0x56ae40,'top':_0x36a916,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x165ede(0x2c1)][_0x165ede(0x473)](_0x120ee1),this[_0x165ede(0x352)][_0x165ede(0x392)](_0x120ee1,J[_0x165ede(0x296)]);}['_getAnchorBounding'](_0x56f0bc){const _0x52d777=_0x56f0bc[0x0],_0x2e3954=_0x52d777[0x0],_0x6d4661=_0x52d777[0x2],{x:_0x31d2e5,y:_0x1df18b}=_0x2e3954,{x:_0x5150df,y:_0x37a675}=_0x6d4661;return{'left':_0x31d2e5,'top':_0x1df18b,'width':_0x5150df-_0x31d2e5,'height':_0x37a675-_0x1df18b};}['_getScale'](){const _0x2b8f77=_0x38c3ff,{scaleX:_0x71a352,scaleY:_0x467e53}=this[_0x2b8f77(0x352)]['getAncestorScale']();return Math[_0x2b8f77(0x4e4)](_0x71a352,_0x467e53);}}var us=Object[_0x38c3ff(0x1c1)],ds=Object['getOwnPropertyDescriptor'],fs=(_0x24c002,_0x443e1e,_0x124bdb,_0xcb05d6)=>{const _0x365c21=_0x38c3ff;for(var _0x2fec4f=_0xcb05d6>0x1?void 0x0:_0xcb05d6?ds(_0x443e1e,_0x124bdb):_0x443e1e,_0x24092b=_0x24c002[_0x365c21(0x58c)]-0x1,_0x401cc1;_0x24092b>=0x0;_0x24092b--)(_0x401cc1=_0x24c002[_0x24092b])&&(_0x2fec4f=(_0xcb05d6?_0x401cc1(_0x443e1e,_0x124bdb,_0x2fec4f):_0x401cc1(_0x2fec4f))||_0x2fec4f);return _0xcb05d6&&_0x2fec4f&&us(_0x443e1e,_0x124bdb,_0x2fec4f),_0x2fec4f;},je=(_0x3ad333,_0x1a8966)=>(_0x20262d,_0x500779)=>_0x1a8966(_0x20262d,_0x500779,_0x3ad333);let pt=class extends a[_0x38c3ff(0x22c)]{constructor(_0x227b9d,_0xaf2db3,_0x625872,_0x11dab3,_0x50f423){const _0x306daa=_0x38c3ff;super(),I(this,_0x306daa(0x261),[]),I(this,'_cursors',[]),(this[_0x306daa(0x268)]=_0x227b9d,this['_docSkeletonManagerService']=_0xaf2db3,this[_0x306daa(0x3c6)]=_0x625872,this[_0x306daa(0x4f6)]=_0x11dab3,this['_themeService']=_0x50f423,this[_0x306daa(0x596)]());}[_0x38c3ff(0x596)](){const _0x3e0f6f=_0x38c3ff,_0x594e98=this[_0x3e0f6f(0x268)][_0x3e0f6f(0x492)],_0x41a01e=this[_0x3e0f6f(0x5d2)];this[_0x3e0f6f(0x4bd)](A[_0x3e0f6f(0x4aa)]([this[_0x3e0f6f(0x3c6)]['getCollabCursors$'](_0x594e98),this['_themeService'][_0x3e0f6f(0x472)]])[_0x3e0f6f(0x57b)](V[_0x3e0f6f(0x4d7)](([_0x20f399,_0x301207])=>({'skeleton':_0x41a01e[_0x3e0f6f(0x453)](),'cursors':[..._0x20f399['values']()][_0x3e0f6f(0x51a)](_0x8dd115=>({..._0x8dd115,'color':_0x301207[_0x8dd115[_0x3e0f6f(0x4c3)]]}))})))[_0x3e0f6f(0x47b)](_0x47fbee=>{const _0x20b119=_0x3e0f6f;if(this[_0x20b119(0x230)](),_0x47fbee){const {skeleton:_0x2ebe7b,cursors:_0x3d02a5}=_0x47fbee;this[_0x20b119(0x3a3)](_0x2ebe7b,_0x3d02a5);}})),this['_initResize'](),this[_0x3e0f6f(0x199)]();}[_0x38c3ff(0x3a3)](_0x441a3f,_0x1e9a1c){const _0x185c9b=_0x38c3ff,{scene:_0x4bb787,mainComponent:_0x1d6f16}=this[_0x185c9b(0x268)],_0x1f3622=_0x1e9a1c[_0x185c9b(0x4d7)](_0x3d7cc0=>new Bt(_0x3d7cc0,_0x4bb787,_0x441a3f,_0x1d6f16));this[_0x185c9b(0x261)]=_0x1f3622,this[_0x185c9b(0x3da)]=_0x1e9a1c;}[_0x38c3ff(0x262)](){const _0x5018f1=_0x38c3ff;this['_removeCollabCursors']();const {scene:_0x32fd97,mainComponent:_0x5c4aed}=this['_context'],_0x3ddda0=this['_docSkeletonManagerService'][_0x5018f1(0x453)](),_0x1d8aa6=this['_cursors'][_0x5018f1(0x4d7)](_0x2b69c7=>new Bt(_0x2b69c7,_0x32fd97,_0x3ddda0,_0x5c4aed));this[_0x5018f1(0x261)]=_0x1d8aa6;}[_0x38c3ff(0x230)](){const _0x773d85=_0x38c3ff;this[_0x773d85(0x261)][_0x773d85(0x2d8)](_0x921433=>_0x921433[_0x773d85(0x2da)]()),this[_0x773d85(0x261)]=[];}['_initCommandExecutedListener'](){const _0x4e9c0c=_0x38c3ff,_0x3558a1=[J[_0x4e9c0c(0x3ba)]['id']];this[_0x4e9c0c(0x4bd)](this[_0x4e9c0c(0x4f6)][_0x4e9c0c(0x4bb)](_0x407e4d=>{const _0x2d0a0a=_0x4e9c0c;_0x3558a1[_0x2d0a0a(0x3ec)](_0x407e4d['id'])&&_0x407e4d[_0x2d0a0a(0x595)][_0x2d0a0a(0x492)]===this['_context'][_0x2d0a0a(0x492)]&&this[_0x2d0a0a(0x262)]();}));}[_0x38c3ff(0x5a4)](){const _0x3af628=_0x38c3ff;this[_0x3af628(0x4bd)](a['fromEventSubject'](this[_0x3af628(0x268)][_0x3af628(0x30d)][_0x3af628(0x2e8)])[_0x3af628(0x57b)](V[_0x3af628(0x576)](_0x12f5f3=>_0x12f5f3[_0x3af628(0x42a)]===K[_0x3af628(0x26e)][_0x3af628(0x337)]),V[_0x3af628(0x3ce)](0x10))['subscribe'](()=>{const _0x1fb9d5=_0x3af628;this[_0x1fb9d5(0x262)]();}));}};pt=fs([je(0x1,a[_0x38c3ff(0x2af)](ye[_0x38c3ff(0x1b2)])),je(0x2,a[_0x38c3ff(0x2af)](De)),je(0x3,a['ICommandService']),je(0x4,a[_0x38c3ff(0x2af)](a['ThemeService']))],pt);const vs=0x1,ms=1.5;class Sn extends K[_0x38c3ff(0x3db)]{constructor(_0xd3932,_0x1a9c5b){const _0x4fcfc3=_0x38c3ff;super(_0xd3932,_0x1a9c5b),I(this,_0x4fcfc3(0x5a1)),I(this,_0x4fcfc3(0x251),!0x1),I(this,_0x4fcfc3(0x2fc)),I(this,_0x4fcfc3(0x1f8),''),I(this,_0x4fcfc3(0x380),'top'),I(this,_0x4fcfc3(0x613)),(_0x1a9c5b&&this[_0x4fcfc3(0x5b2)](_0x1a9c5b),this[_0x4fcfc3(0x59e)][_0x4fcfc3(0x54e)](()=>this[_0x4fcfc3(0x5b2)]({'hovered':!0x0})),this['onPointerLeave$'][_0x4fcfc3(0x54e)](()=>this[_0x4fcfc3(0x5b2)]({'hovered':!0x1})));}[_0x38c3ff(0x5b2)](_0x287f9e){const _0x469e8d=_0x38c3ff;var _0x300b28,_0x546b66,_0x3590c8,_0x33205d,_0x303ee8,_0x5df3c9;this['_color']=(_0x300b28=_0x287f9e[_0x469e8d(0x4c3)])!=null?_0x300b28:this[_0x469e8d(0x5a1)],this[_0x469e8d(0x251)]=(_0x546b66=_0x287f9e['hovered'])!=null?_0x546b66:this['_hovered'],this[_0x469e8d(0x2fc)]=(_0x3590c8=_0x287f9e[_0x469e8d(0x256)])!=null?_0x3590c8:this[_0x469e8d(0x2fc)],this[_0x469e8d(0x1f8)]=(_0x33205d=_0x287f9e['name'])!=null?_0x33205d:this[_0x469e8d(0x1f8)],this[_0x469e8d(0x380)]=(_0x303ee8=_0x287f9e[_0x469e8d(0x605)])!=null?_0x303ee8:this[_0x469e8d(0x380)],this[_0x469e8d(0x613)]=(_0x5df3c9=_0x287f9e[_0x469e8d(0x62f)])!=null?_0x5df3c9:this['_backgroundColor'],this['transformByState']({'width':_0x287f9e[_0x469e8d(0x2f3)],'height':_0x287f9e[_0x469e8d(0x320)]});}['onMouseMove'](_0x151777){const _0x5538d8=_0x38c3ff,{row:_0x4fa50b,column:_0x41b78e}=_0x151777;if(_0x4fa50b>=this[_0x5538d8(0x2fc)]['startRow']&&_0x4fa50b<=this[_0x5538d8(0x2fc)][_0x5538d8(0x342)]&&_0x41b78e>=this[_0x5538d8(0x2fc)][_0x5538d8(0x3e3)]&&_0x41b78e<=this[_0x5538d8(0x2fc)][_0x5538d8(0x365)]){this[_0x5538d8(0x5b2)]({'hovered':!0x0});return;}this[_0x5538d8(0x5b2)]({'hovered':!0x1});}[_0x38c3ff(0x3e6)](_0xfc54e8){return!0x1;}[_0x38c3ff(0x1a7)](_0x4049bc){const _0x298002=_0x38c3ff;K[_0x298002(0x590)][_0x298002(0x54d)](_0x4049bc,{'width':this[_0x298002(0x2f3)],'height':this[_0x298002(0x320)],'strokeWidth':ms,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x298002(0x613)]}),this[_0x298002(0x251)]&&(_0x4049bc['save'](),_0x4049bc[_0x298002(0x402)](0x1,0x0,0x0,0x1,this[_0x298002(0x2f3)],this[_0x298002(0x380)]===_0x298002(0x449)?0x0:-Le),ze[_0x298002(0x54d)](_0x4049bc,{'text':this[_0x298002(0x1f8)],'color':this['_color']}),_0x4049bc[_0x298002(0x63b)]());}}var Ss=Object[_0x38c3ff(0x1c1)],ps=Object[_0x38c3ff(0x336)],gs=(_0x3e1560,_0x3e5e7,_0x5e65a2,_0x5aabd0)=>{const _0x157489=_0x38c3ff;for(var _0x4c1e0d=_0x5aabd0>0x1?void 0x0:_0x5aabd0?ps(_0x3e5e7,_0x5e65a2):_0x3e5e7,_0x194dec=_0x3e1560[_0x157489(0x58c)]-0x1,_0x69ee59;_0x194dec>=0x0;_0x194dec--)(_0x69ee59=_0x3e1560[_0x194dec])&&(_0x4c1e0d=(_0x5aabd0?_0x69ee59(_0x3e5e7,_0x5e65a2,_0x4c1e0d):_0x69ee59(_0x4c1e0d))||_0x4c1e0d);return _0x5aabd0&&_0x4c1e0d&&Ss(_0x3e5e7,_0x5e65a2,_0x4c1e0d),_0x4c1e0d;},ot=(_0x12e22f,_0x38a98f)=>(_0x1aa8e2,_0x278201)=>_0x38a98f(_0x1aa8e2,_0x278201,_0x12e22f);const Is=0x1389;let gt=class extends a[_0x38c3ff(0x22c)]{constructor(_0x37f2b7,_0x9e192f,_0x3c0479,_0x3f9145){const _0x4734eb=_0x38c3ff;super(),I(this,_0x4734eb(0x3da),new Set()),I(this,_0x4734eb(0x4a8),null),(this[_0x4734eb(0x268)]=_0x37f2b7,this[_0x4734eb(0x4b8)]=_0x9e192f,this[_0x4734eb(0x3c6)]=_0x3c0479,this['_themeService']=_0x3f9145,this['_init']());}[_0x38c3ff(0x596)](){const _0x766430=_0x38c3ff;this[_0x766430(0x4b8)][_0x766430(0x4f1)][_0x766430(0x57b)](V[_0x766430(0x3fb)](this['dispose$']),V['switchMap'](_0x13bf44=>{const _0x570ef5=_0x766430;if(_0x13bf44){const _0x14b836=_0x13bf44[_0x570ef5(0x1c6)];return A['combineLatest'](this[_0x570ef5(0x3c6)][_0x570ef5(0x592)](this[_0x570ef5(0x268)][_0x570ef5(0x492)]),this[_0x570ef5(0x42c)][_0x570ef5(0x472)])[_0x570ef5(0x57b)](V[_0x570ef5(0x4d7)](([_0x3b99d5,_0x4de3a3])=>{const _0x5d3256=new Map();return _0x3b99d5['forEach']((_0x58161c,_0x11a0eb)=>{const _0x27290c=_0x4762;if(_0x58161c[_0x27290c(0x5f7)]===_0x14b836){const _0x146264={..._0x58161c};_0x146264['color']=_0x4de3a3[_0x58161c[_0x27290c(0x4c3)]],_0x5d3256[_0x27290c(0x3e8)](_0x11a0eb,_0x146264);}}),{'skeleton':_0x13bf44,'cursors':_0x5d3256};}));}return A['of']({'skeleton':null,'cursors':new Map()});}))[_0x766430(0x47b)](({skeleton:_0x4a60ba,cursors:_0x401141})=>{const _0x4df756=_0x766430;this[_0x4df756(0x230)](),_0x4a60ba&&this[_0x4df756(0x3a3)](_0x4a60ba,_0x401141);}),this[_0x766430(0x4b8)]['currentSkeleton$'][_0x766430(0x47b)](_0x4e9522=>{const _0x47467b=_0x766430;if(_0x4e9522==null)return;const {skeleton:_0x21b5e4}=_0x4e9522,{scene:_0x2e3570}=this['_context'];_0x2e3570[_0x47467b(0x487)][_0x47467b(0x54e)](a[_0x47467b(0x514)](_0x291cba=>{const _0x21f3eb=_0x47467b;var _0x58a7d5,_0x8c5e14;const {offsetX:_0x5c185a,offsetY:_0x3d0833}=_0x291cba,{x:_0x23d7d0,y:_0x3208d1}=_0x2e3570[_0x21f3eb(0x525)](K[_0x21f3eb(0x19d)][_0x21f3eb(0x355)]([_0x5c185a,_0x3d0833])),{scaleX:_0x323a4e,scaleY:_0xdcd240}=_0x2e3570[_0x21f3eb(0x2df)](),_0x35ef97=_0x2e3570['getViewport'](Re[_0x21f3eb(0x33e)]['VIEW_MAIN']),_0x3ad599=_0x2e3570[_0x21f3eb(0x2a6)](K[_0x21f3eb(0x19d)][_0x21f3eb(0x355)]([_0x23d7d0,_0x3208d1]),_0x35ef97),_0x8d9434=_0x21b5e4[_0x21f3eb(0x2d5)](_0x5c185a,_0x3d0833,_0x323a4e,_0xdcd240,_0x3ad599);((_0x58a7d5=this[_0x21f3eb(0x4a8)])==null?void 0x0:_0x58a7d5[_0x21f3eb(0x2ef)])===_0x8d9434[_0x21f3eb(0x2ef)]&&((_0x8c5e14=this[_0x21f3eb(0x4a8)])==null?void 0x0:_0x8c5e14['row'])===_0x8d9434[_0x21f3eb(0x4a9)]||this[_0x21f3eb(0x3da)][_0x21f3eb(0x2d8)](_0x214066=>{_0x214066['onMouseMove'](_0x8d9434);});},0x64));});}[_0x38c3ff(0x3a3)](_0x286771,_0x15097c){const _0x405e0f=_0x38c3ff;var _0x126c1c;const _0xc1e4b6=(_0x126c1c=this['_sheetSkeletonManagerService'][_0x405e0f(0x2d4)]())==null?void 0x0:_0x126c1c[_0x405e0f(0x1ab)];if(!_0xc1e4b6)return;const _0x1d2f0e=this[_0x405e0f(0x4db)]();if(!_0x1d2f0e)return;this['_cursors'][_0x405e0f(0x2d8)](_0x3ef6d4=>{const _0x2a37cb=_0x405e0f;_0x3ef6d4[_0x2a37cb(0x22d)]();});const {scene:_0x2213e9}=_0x1d2f0e,_0x1dcfd8=Cs(Array[_0x405e0f(0x5ae)](_0x15097c['values']()))[_0x405e0f(0x4d7)](_0x4b3688=>{const _0x593bc4=_0x405e0f,{color:_0x389010,range:_0x29e87c,name:_0x5b6a20,selection:_0x1bb8f8,sheetID:_0x3b1f7e}=_0x4b3688,{startColumn:_0x37d1dd,startRow:_0xa33a94,endColumn:_0x149e77,endRow:_0x68a72d}=_0x29e87c,_0x5ce91b=Re[_0x593bc4(0x383)](_0xa33a94,_0x37d1dd,_0x2213e9,_0xc1e4b6),_0x16f92f=Re['getCoordByCell'](_0x68a72d,_0x149e77,_0x2213e9,_0xc1e4b6),{columnHeaderHeightAndMarginTop:_0x47d2ce}=_0xc1e4b6,{startX:_0x33cdfd,startY:_0x98a6b9}=_0x5ce91b,{endX:_0x319eb5,endY:_0x51d097}=_0x16f92f,_0x4408f6=_0x319eb5-_0x33cdfd,_0x2660a4=_0x51d097-_0x98a6b9,_0x3fa25e={'labelPosition':_0x98a6b9-_0x47d2ce>=Le?_0x593bc4(0x242):_0x593bc4(0x449),'sheetID':_0x3b1f7e,'range':_0x29e87c,'color':_0x389010,'name':_0x5b6a20,'selection':_0x1bb8f8,'left':_0x33cdfd,'top':_0x98a6b9,'width':_0x4408f6,'height':_0x2660a4,'evented':!0x1,'zIndex':Is};return new Sn(_0x5b6a20,_0x3fa25e);});_0x2213e9[_0x405e0f(0x2a1)](_0x1dcfd8,vs),this['_cursors']=new Set(_0x1dcfd8);}[_0x38c3ff(0x230)](){const _0x2cd62f=_0x38c3ff;var _0x1a2037;(_0x1a2037=this[_0x2cd62f(0x3da)])==null||_0x1a2037['forEach'](_0x4e1b4d=>_0x4e1b4d[_0x2cd62f(0x2da)]());}[_0x38c3ff(0x4db)](){const _0x59e498=_0x38c3ff;return Re[_0x59e498(0x563)](this[_0x59e498(0x268)]['unit'],this[_0x59e498(0x268)]);}};gt=gs([ot(0x1,a[_0x38c3ff(0x2af)](Re[_0x38c3ff(0x55c)])),ot(0x2,a[_0x38c3ff(0x2af)](De)),ot(0x3,a[_0x38c3ff(0x2af)](a[_0x38c3ff(0x3a4)]))],gt);function Cs(_0x20df60){const _0x1087c2=_0x38c3ff,_0x402d2d=new Map();return _0x20df60[_0x1087c2(0x2d8)](_0x1ee53a=>{const _0x199240=_0x1087c2;if(_0x402d2d[_0x199240(0x599)](_0x1ee53a[_0x199240(0x2f2)])){const _0x21126b=_0x402d2d[_0x199240(0x585)](_0x1ee53a[_0x199240(0x2f2)]);_0x21126b['name']+=',\x20'+_0x1ee53a[_0x199240(0x503)];}else _0x402d2d[_0x199240(0x3e8)](_0x1ee53a[_0x199240(0x2f2)],_0x1ee53a);}),Array[_0x1087c2(0x5ae)](_0x402d2d[_0x1087c2(0x1f7)]());}var X=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function xe(_0x3b47df){const _0x3f5b3f=_0x38c3ff;return _0x3b47df&&_0x3b47df[_0x3f5b3f(0x27b)]&&Object[_0x3f5b3f(0x39b)]['hasOwnProperty'][_0x3f5b3f(0x420)](_0x3b47df,_0x3f5b3f(0x1e9))?_0x3b47df[_0x3f5b3f(0x1e9)]:_0x3b47df;}var pn={'exports':{}},Xe={},Es=ae,bs=Symbol['for'](_0x38c3ff(0x4e3)),Ts=Symbol[_0x38c3ff(0x1cc)](_0x38c3ff(0x515)),Rs=Object[_0x38c3ff(0x39b)][_0x38c3ff(0x390)],ys=Es[_0x38c3ff(0x204)][_0x38c3ff(0x2be)],Os={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function gn(_0x331ce1,_0x37772c,_0x5583ea){const _0x1d4112=_0x38c3ff;var _0x4114e1,_0x507178={},_0xfa0e6a=null,_0x19f63d=null;_0x5583ea!==void 0x0&&(_0xfa0e6a=''+_0x5583ea),_0x37772c[_0x1d4112(0x5d1)]!==void 0x0&&(_0xfa0e6a=''+_0x37772c[_0x1d4112(0x5d1)]),_0x37772c[_0x1d4112(0x427)]!==void 0x0&&(_0x19f63d=_0x37772c['ref']);for(_0x4114e1 in _0x37772c)Rs['call'](_0x37772c,_0x4114e1)&&!Os[_0x1d4112(0x390)](_0x4114e1)&&(_0x507178[_0x4114e1]=_0x37772c[_0x4114e1]);if(_0x331ce1&&_0x331ce1[_0x1d4112(0x607)]){for(_0x4114e1 in(_0x37772c=_0x331ce1[_0x1d4112(0x607)],_0x37772c))_0x507178[_0x4114e1]===void 0x0&&(_0x507178[_0x4114e1]=_0x37772c[_0x4114e1]);}return{'$$typeof':bs,'type':_0x331ce1,'key':_0xfa0e6a,'ref':_0x19f63d,'props':_0x507178,'_owner':ys['current']};}Xe[_0x38c3ff(0x1e3)]=Ts,Xe[_0x38c3ff(0x5c5)]=gn,Xe['jsxs']=gn,pn[_0x38c3ff(0x1a9)]=Xe;var pe=pn[_0x38c3ff(0x1a9)],Q=function(){const _0x952181=_0x38c3ff;return Q=Object[_0x952181(0x4e0)]||function(_0x3086b3){const _0x102f13=_0x952181;for(var _0x16930b,_0x46377e=0x1,_0x277de1=arguments['length'];_0x46377e<_0x277de1;_0x46377e++){_0x16930b=arguments[_0x46377e];for(var _0x415413 in _0x16930b)Object['prototype'][_0x102f13(0x390)]['call'](_0x16930b,_0x415413)&&(_0x3086b3[_0x415413]=_0x16930b[_0x415413]);}return _0x3086b3;},Q[_0x952181(0x21e)](this,arguments);},Ds=function(_0x4e8f73,_0x5cbb5a){const _0x5eddab=_0x38c3ff;var _0x2b28e3={};for(var _0x2574d4 in _0x4e8f73)Object[_0x5eddab(0x39b)][_0x5eddab(0x390)][_0x5eddab(0x420)](_0x4e8f73,_0x2574d4)&&_0x5cbb5a[_0x5eddab(0x4da)](_0x2574d4)<0x0&&(_0x2b28e3[_0x2574d4]=_0x4e8f73[_0x2574d4]);if(_0x4e8f73!=null&&typeof Object['getOwnPropertySymbols']==_0x5eddab(0x226)){for(var _0x2df2dd=0x0,_0x2574d4=Object[_0x5eddab(0x34b)](_0x4e8f73);_0x2df2dd<_0x2574d4[_0x5eddab(0x58c)];_0x2df2dd++)_0x5cbb5a[_0x5eddab(0x4da)](_0x2574d4[_0x2df2dd])<0x0&&Object[_0x5eddab(0x39b)][_0x5eddab(0x3c5)][_0x5eddab(0x420)](_0x4e8f73,_0x2574d4[_0x2df2dd])&&(_0x2b28e3[_0x2574d4[_0x2df2dd]]=_0x4e8f73[_0x2574d4[_0x2df2dd]]);}return _0x2b28e3;},Dt=ae['forwardRef'](function(_0x2cbc04,_0x13d6ee){const _0x3076d9=_0x38c3ff;var _0x109959=_0x2cbc04[_0x3076d9(0x58a)],_0x5b0f37=_0x2cbc04['id'],_0xc4280f=_0x2cbc04[_0x3076d9(0x5e6)],_0x59a962=_0x2cbc04[_0x3076d9(0x523)],_0x502dce=Ds(_0x2cbc04,[_0x3076d9(0x58a),'id','className',_0x3076d9(0x523)]),_0x300de7=_0x3076d9(0x642)[_0x3076d9(0x3f0)](_0x5b0f37,'\x20')['concat'](_0xc4280f||'')[_0x3076d9(0x231)](),_0x484ce0=ae[_0x3076d9(0x443)]('_'[_0x3076d9(0x3f0)](Us()));return In(_0x109959,''[_0x3076d9(0x3f0)](_0x5b0f37),{'defIds':_0x109959[_0x3076d9(0x212)],'idSuffix':_0x484ce0[_0x3076d9(0x519)]},Q({'ref':_0x13d6ee,'className':_0x300de7},_0x502dce),_0x59a962);});function In(_0x4bc043,_0x2f5edd,_0xacedcf,_0x57c76f,_0x555a94){const _0x3803a5=_0x38c3ff;return ae[_0x3803a5(0x419)](_0x4bc043['tag'],Q(Q({'key':_0x2f5edd},ws(_0x4bc043,_0xacedcf,_0x555a94)),_0x57c76f),(Ps(_0x4bc043,_0xacedcf)['children']||[])[_0x3803a5(0x4d7)](function(_0x39072c,_0x33472d){const _0x51b4ea=_0x3803a5;return In(_0x39072c,''[_0x51b4ea(0x3f0)](_0x2f5edd,'-')[_0x51b4ea(0x3f0)](_0x4bc043[_0x51b4ea(0x3de)],'-')[_0x51b4ea(0x3f0)](_0x33472d),_0xacedcf,void 0x0,_0x555a94);}));}function ws(_0x2e2ddf,_0x4ea732,_0x5be140){const _0x68a7d1=_0x38c3ff;var _0x39b016=Q({},_0x2e2ddf[_0x68a7d1(0x532)]);_0x5be140!=null&&_0x5be140['colorChannel1']&&_0x39b016[_0x68a7d1(0x422)]===_0x68a7d1(0x569)&&(_0x39b016['fill']=_0x5be140[_0x68a7d1(0x569)]);var _0x46d89b=_0x4ea732[_0x68a7d1(0x212)];return!_0x46d89b||_0x46d89b[_0x68a7d1(0x58c)]===0x0||(_0x2e2ddf[_0x68a7d1(0x3de)]==='use'&&_0x39b016[_0x68a7d1(0x395)]&&(_0x39b016['xlink:href']=_0x39b016[_0x68a7d1(0x395)]+_0x4ea732[_0x68a7d1(0x3c7)]),Object[_0x68a7d1(0x56c)](_0x39b016)['forEach'](function(_0x3fdad1){const _0x4f5877=_0x68a7d1;var _0x268bfc=_0x3fdad1[0x0],_0x1063ee=_0x3fdad1[0x1];typeof _0x1063ee==_0x4f5877(0x53c)&&(_0x39b016[_0x268bfc]=_0x1063ee[_0x4f5877(0x346)](/url\(#(.*)\)/,_0x4f5877(0x238)[_0x4f5877(0x3f0)](_0x4ea732[_0x4f5877(0x3c7)],')')));})),_0x39b016;}function Ps(_0x9e2f5f,_0x1eede9){const _0x3396cc=_0x38c3ff;var _0xed6edf,_0xb680e5=_0x1eede9[_0x3396cc(0x212)];return!_0xb680e5||_0xb680e5[_0x3396cc(0x58c)]===0x0?_0x9e2f5f:_0x9e2f5f['tag']===_0x3396cc(0x1dc)&&(!((_0xed6edf=_0x9e2f5f[_0x3396cc(0x495)])===null||_0xed6edf===void 0x0)&&_0xed6edf['length'])?Q(Q({},_0x9e2f5f),{'children':_0x9e2f5f['children'][_0x3396cc(0x4d7)](function(_0x2ee499){const _0x4e9715=_0x3396cc;return typeof _0x2ee499['attrs']['id']==_0x4e9715(0x53c)&&_0xb680e5&&_0xb680e5['indexOf'](_0x2ee499[_0x4e9715(0x532)]['id'])>-0x1?Q(Q({},_0x2ee499),{'attrs':Q(Q({},_0x2ee499[_0x4e9715(0x532)]),{'id':_0x2ee499['attrs']['id']+_0x1eede9['idSuffix']})}):_0x2ee499;})}):_0x9e2f5f;}function Us(){const _0x4cac0d=_0x38c3ff;return Math['random']()[_0x4cac0d(0x459)](0x24)[_0x4cac0d(0x214)](0x2,0x8);}Dt[_0x38c3ff(0x48d)]=_0x38c3ff(0x45b);var Ms={'tag':_0x38c3ff(0x418),'attrs':{'fill':_0x38c3ff(0x558),'viewBox':_0x38c3ff(0x570),'width':_0x38c3ff(0x5c2),'height':_0x38c3ff(0x5c2)},'children':[{'tag':'g','attrs':{'clipPath':_0x38c3ff(0x3e0)},'children':[{'tag':_0x38c3ff(0x4c6),'attrs':{'stroke':_0x38c3ff(0x297),'d':_0x38c3ff(0x1d7),'strokeLinecap':_0x38c3ff(0x25e),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x38c3ff(0x4a0)},'children':[{'tag':_0x38c3ff(0x4c6),'attrs':{'fill':_0x38c3ff(0x375),'d':_0x38c3ff(0x2fa)}}]}]}],'defIds':[_0x38c3ff(0x4a0)]},Cn=ae['forwardRef'](function(_0x1be1b5,_0x36a1c1){const _0x3b9d6b=_0x38c3ff;return ae[_0x3b9d6b(0x419)](Dt,Object[_0x3b9d6b(0x4e0)]({},_0x1be1b5,{'id':_0x3b9d6b(0x5d8),'ref':_0x36a1c1,'icon':Ms}));});Cn[_0x38c3ff(0x48d)]=_0x38c3ff(0x1e1);var As={'tag':_0x38c3ff(0x418),'attrs':{'fill':_0x38c3ff(0x558),'viewBox':_0x38c3ff(0x61d),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x38c3ff(0x445)},'children':[{'tag':_0x38c3ff(0x4c6),'attrs':{'stroke':'currentColor','d':'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','strokeLinecap':_0x38c3ff(0x25e),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x38c3ff(0x583),'attrs':{'id':_0x38c3ff(0x589)},'children':[{'tag':_0x38c3ff(0x4c6),'attrs':{'fill':_0x38c3ff(0x375),'d':_0x38c3ff(0x2fa),'transform':'translate(.97)'}}]}]}],'defIds':[_0x38c3ff(0x589)]},En=ae[_0x38c3ff(0x616)](function(_0x21f60d,_0x4f3d1c){const _0x1a1ddf=_0x38c3ff;return ae[_0x1a1ddf(0x419)](Dt,Object[_0x1a1ddf(0x4e0)]({},_0x21f60d,{'id':_0x1a1ddf(0x593),'ref':_0x4f3d1c,'icon':As}));});En['displayName']=_0x38c3ff(0x351);function bn(_0x211edc){const _0x55a5b1=_0x38c3ff;var _0x29f5a0,_0x2eb39e,_0x1401ad='';if(typeof _0x211edc=='string'||typeof _0x211edc==_0x55a5b1(0x615))_0x1401ad+=_0x211edc;else{if(typeof _0x211edc=='object'){if(Array[_0x55a5b1(0x32a)](_0x211edc)){var _0x4562d0=_0x211edc[_0x55a5b1(0x58c)];for(_0x29f5a0=0x0;_0x29f5a0<_0x4562d0;_0x29f5a0++)_0x211edc[_0x29f5a0]&&(_0x2eb39e=bn(_0x211edc[_0x29f5a0]))&&(_0x1401ad&&(_0x1401ad+='\x20'),_0x1401ad+=_0x2eb39e);}else{for(_0x2eb39e in _0x211edc)_0x211edc[_0x2eb39e]&&(_0x1401ad&&(_0x1401ad+='\x20'),_0x1401ad+=_0x2eb39e);}}}return _0x1401ad;}function Ns(){const _0x375165=_0x38c3ff;for(var _0x295fdf,_0x1c1c0b,_0x37f399=0x0,_0x1628b2='',_0x47fce7=arguments[_0x375165(0x58c)];_0x37f399<_0x47fce7;_0x37f399++)(_0x295fdf=arguments[_0x37f399])&&(_0x1c1c0b=bn(_0x295fdf))&&(_0x1628b2&&(_0x1628b2+='\x20'),_0x1628b2+=_0x1c1c0b);return _0x1628b2;}const Ls=_0x38c3ff(0x35e),xs=_0x38c3ff(0x4e9),js='univer-online-status',$s='univer-online',Hs='univer-offline',Me={'onlineStatusIcon':Ls,'onlineStatusTitle':xs,'onlineStatus':js,'online':$s,'offline':Hs};function Bs(_0x718ace){const _0x324a9a=_0x38c3ff;switch(_0x718ace){case q[_0x324a9a(0x33f)]:return'collabStatus.offline';case q[_0x324a9a(0x348)]:return _0x324a9a(0x2fd);case q[_0x324a9a(0x61e)]:return'collabStatus.fetchMiss';case q[_0x324a9a(0x1a1)]:return _0x324a9a(0x2ae);case q['AWAITING']:case q[_0x324a9a(0x535)]:return _0x324a9a(0x457);case q[_0x324a9a(0x63f)]:case q[_0x324a9a(0x426)]:return _0x324a9a(0x5db);}}function Tn(_0x5d25ea){const _0xc3233c=_0x38c3ff,{status$:_0xb05c87}=_0x5d25ea,_0x5a1f71=ee[_0xc3233c(0x21f)](_0xb05c87,q[_0xc3233c(0x1a1)]),_0x1159df=a[_0xc3233c(0x644)](a[_0xc3233c(0x222)]),_0x2ce4d2=a[_0xc3233c(0x644)](exports[_0xc3233c(0x1f6)]),_0x1d71d2=_0x5a1f71!==q[_0xc3233c(0x33f)],_0x1fa950=_0x1159df['t'](Bs(_0x5a1f71)),_0x1024c6=Ns(Me[_0xc3233c(0x602)],{[Me['online']]:_0x1d71d2,[Me[_0xc3233c(0x647)]]:!_0x1d71d2}),_0x3ef05b=_0x1d71d2?pe[_0xc3233c(0x5c5)](En,{}):pe[_0xc3233c(0x5c5)](Cn,{}),_0x4102f5=ae[_0xc3233c(0x1af)](()=>{_0x1d71d2||_0x2ce4d2['reconnect']();},[_0x1d71d2,_0x2ce4d2]);function _0x5caf4c(){const _0x3e6ead=_0xc3233c;return pe[_0x3e6ead(0x3bd)](_0x3e6ead(0x3d9),{'className':_0x1024c6,'onClick':_0x4102f5,'children':[pe[_0x3e6ead(0x5c5)]('div',{'className':Me[_0x3e6ead(0x430)],'children':_0x3ef05b}),pe[_0x3e6ead(0x5c5)](_0x3e6ead(0x3d9),{'className':Me[_0x3e6ead(0x5c8)],'children':_0x1fa950})]});}return _0x1d71d2?_0x5caf4c():pe[_0xc3233c(0x5c5)](ge['Tooltip'],{'title':_0x1159df['t'](_0xc3233c(0x591)),'children':_0x5caf4c()});}var ks=Object[_0x38c3ff(0x1c1)],Ws=Object[_0x38c3ff(0x336)],Fs=(_0x3a7183,_0x292ebe,_0x518da8,_0x2ce189)=>{const _0x1c77d4=_0x38c3ff;for(var _0x39f764=_0x2ce189>0x1?void 0x0:_0x2ce189?Ws(_0x292ebe,_0x518da8):_0x292ebe,_0x2f83fd=_0x3a7183[_0x1c77d4(0x58c)]-0x1,_0x3f4a15;_0x2f83fd>=0x0;_0x2f83fd--)(_0x3f4a15=_0x3a7183[_0x2f83fd])&&(_0x39f764=(_0x2ce189?_0x3f4a15(_0x292ebe,_0x518da8,_0x39f764):_0x3f4a15(_0x39f764))||_0x39f764);return _0x2ce189&&_0x39f764&&ks(_0x292ebe,_0x518da8,_0x39f764),_0x39f764;},$e=(_0x41c262,_0x34d5bb)=>(_0x179103,_0x24e84e)=>_0x34d5bb(_0x179103,_0x24e84e,_0x41c262);exports[_0x38c3ff(0x4e6)]=class extends a['Disposable']{constructor(_0x541149,_0x3b5793,_0x26acbb,_0x4ef1cd){const _0x236bd2=_0x38c3ff;super(),I(this,_0x236bd2(0x586),new A[(_0x236bd2(0x4fc))](q['NOT_COLLAB'])),(this[_0x236bd2(0x393)]=_0x541149,this[_0x236bd2(0x3f2)]=_0x3b5793,this[_0x236bd2(0x3b6)]=_0x26acbb,this['_collaborationController']=_0x4ef1cd,this[_0x236bd2(0x2bb)](),this[_0x236bd2(0x374)]());}[_0x38c3ff(0x374)](){const _0x1cb771=_0x38c3ff;this['disposeWithMe'](this[_0x1cb771(0x393)][_0x1cb771(0x5e7)]['pipe'](A[_0x1cb771(0x5fa)](()=>{const _0x301558=_0x1cb771,_0x36065b=this[_0x301558(0x393)]['getFocusedUnit']();return _0x36065b?this['_collaborationController'][_0x301558(0x467)](_0x36065b['getUnitId']()):A['of'](null);}),A[_0x1cb771(0x5fa)](_0x147862=>_0x147862?_0x147862[_0x1cb771(0x5e4)]:A['of'](q['NOT_COLLAB'])))['subscribe'](_0x299b9b=>{const _0x381641=_0x1cb771;this[_0x381641(0x586)][_0x381641(0x4c4)](_0x299b9b);}));}[_0x38c3ff(0x2bb)](){const _0x4e1927=_0x38c3ff;this[_0x4e1927(0x4bd)](this[_0x4e1927(0x3f2)][_0x4e1927(0x40b)](ee[_0x4e1927(0x4d8)]['HEADER_MENU'],()=>a[_0x4e1927(0x47a)](Vs({'status$':this[_0x4e1927(0x586)][_0x4e1927(0x4a7)]()}),this[_0x4e1927(0x3b6)])));}},exports[_0x38c3ff(0x4e6)]=Fs([$e(0x0,a['IUniverInstanceService']),$e(0x1,ee['IUIPartsService']),$e(0x2,a[_0x38c3ff(0x2af)](a[_0x38c3ff(0x50e)])),$e(0x3,a[_0x38c3ff(0x2af)](exports[_0x38c3ff(0x571)]))],exports[_0x38c3ff(0x4e6)]);function Vs(_0xe9339){const {status$:_0x1b82f9}=_0xe9339;return function(){const _0x3e69a4=_0x4762;return pe[_0x3e69a4(0x5c5)](Tn,{'status$':_0x1b82f9});};}const wt=a[_0x38c3ff(0x275)](_0x38c3ff(0x444));var Gs=Object[_0x38c3ff(0x1c1)],Ys=Object[_0x38c3ff(0x336)],Ks=(_0x2473fa,_0x31a65d,_0x8279e1,_0x1b7432)=>{const _0xd5aef7=_0x38c3ff;for(var _0x55c5bb=_0x1b7432>0x1?void 0x0:_0x1b7432?Ys(_0x31a65d,_0x8279e1):_0x31a65d,_0x20b4f8=_0x2473fa[_0xd5aef7(0x58c)]-0x1,_0x1065e4;_0x20b4f8>=0x0;_0x20b4f8--)(_0x1065e4=_0x2473fa[_0x20b4f8])&&(_0x55c5bb=(_0x1b7432?_0x1065e4(_0x31a65d,_0x8279e1,_0x55c5bb):_0x1065e4(_0x55c5bb))||_0x55c5bb);return _0x1b7432&&_0x55c5bb&&Gs(_0x31a65d,_0x8279e1,_0x55c5bb),_0x55c5bb;},Te=(_0x50210e,_0x3ade49)=>(_0x533b19,_0x1f4623)=>_0x3ade49(_0x533b19,_0x1f4623,_0x50210e);exports[_0x38c3ff(0x388)]=class extends a[_0x38c3ff(0x22c)]{constructor(_0x4ab995,_0x193323,_0x1dcc3e,_0x27266f,_0xf3ac,_0x979e6d){const _0x35d466=_0x38c3ff;super(),this['_urlService']=_0x4ab995,this[_0x35d466(0x4ce)]=_0x193323,this[_0x35d466(0x4f6)]=_0x1dcc3e,this[_0x35d466(0x2ac)]=_0x27266f,this[_0x35d466(0x1ba)]=_0xf3ac,_0x979e6d?_0x979e6d==null||_0x979e6d[_0x35d466(0x1a6)]()[_0x35d466(0x1fb)](()=>this[_0x35d466(0x596)]()):(this['_logService'][_0x35d466(0x405)]('[DataLoaderController]',_0x35d466(0x2e3)),this[_0x35d466(0x596)]());}async[_0x38c3ff(0x596)](){const _0x41b2b8=_0x38c3ff,_0x595434=this[_0x41b2b8(0x414)][_0x41b2b8(0x400)](_0x41b2b8(0x4ea)),_0x2e0e5a=this[_0x41b2b8(0x414)][_0x41b2b8(0x400)](_0x41b2b8(0x42a));if(!_0x595434||!_0x2e0e5a){this[_0x41b2b8(0x4ce)][_0x41b2b8(0x405)](_0x41b2b8(0x343),_0x41b2b8(0x331));return;}switch(Number(_0x2e0e5a)){case ie[_0x41b2b8(0x23d)]:{const _0x3c55b7=await this[_0x41b2b8(0x456)](_0x595434);this[_0x41b2b8(0x4dc)](_0x3c55b7);break;}case ie['UNIVER_DOC']:{await this[_0x41b2b8(0x1ad)](_0x595434);break;}default:{this[_0x41b2b8(0x4ce)][_0x41b2b8(0x55e)]('[DataLoaderController]',_0x41b2b8(0x474));break;}}}async[_0x38c3ff(0x4dc)](_0x54df3d){const _0xa052ea=_0x38c3ff;await this[_0xa052ea(0x4f8)](_0x54df3d),_0x54df3d[_0xa052ea(0x608)][_0xa052ea(0x57b)](A[_0xa052ea(0x3fb)](this[_0xa052ea(0x5ff)]))[_0xa052ea(0x47b)](_0x112d49=>{const _0x279f63=_0xa052ea;_0x112d49&&this[_0x279f63(0x47c)](_0x112d49);}),this[_0xa052ea(0x414)]['urlChange$'][_0xa052ea(0x57b)](A['takeUntil'](this['dispose$']))[_0xa052ea(0x47b)](()=>this[_0xa052ea(0x4f8)](_0x54df3d));}[_0x38c3ff(0x47c)](_0x50e031,_0x5c0f39=!0x1){const _0x19a7d8=_0x38c3ff,_0xf408b9=this[_0x19a7d8(0x414)]['getParam']('subunit');_0x50e031[_0x19a7d8(0x5f0)]()!==_0xf408b9&&this[_0x19a7d8(0x414)][_0x19a7d8(0x37d)]('subunit',_0x50e031[_0x19a7d8(0x5f0)](),_0x5c0f39);}async[_0x38c3ff(0x4f8)](_0x3355e0){const _0x10cfb2=_0x38c3ff;var _0x498afe;const _0x5b1ceb=this[_0x10cfb2(0x414)][_0x10cfb2(0x400)]('subunit');if(!_0x5b1ceb||!_0x3355e0[_0x10cfb2(0x2b5)](_0x5b1ceb)){const _0x36d9de=_0x3355e0[_0x10cfb2(0x650)]()[0x0],_0x488415=_0x3355e0[_0x10cfb2(0x2b5)](_0x36d9de);if(!_0x488415)return;this['_updateURLWithCurrentState'](_0x488415,!0x0),await this[_0x10cfb2(0x4f6)][_0x10cfb2(0x4fe)](k[_0x10cfb2(0x384)]['id'],{'unitId':_0x3355e0['getUnitId'](),'subUnitId':_0x36d9de});return;}((_0x498afe=_0x3355e0['getActiveSheet']())==null?void 0x0:_0x498afe[_0x10cfb2(0x5f0)]())!==_0x5b1ceb&&await this[_0x10cfb2(0x4f6)]['executeCommand'](k[_0x10cfb2(0x384)]['id'],{'unitId':_0x3355e0['getUnitId'](),'subUnitId':_0x5b1ceb});}async[_0x38c3ff(0x456)](_0x21d87b){const _0x5f134f=_0x38c3ff;let _0x33646d=0x0;const _0x4d5c9f=await this[_0x5f134f(0x2ac)]['loadOfflineData'](_0x21d87b);return _0x4d5c9f&&(_0x4d5c9f[_0x5f134f(0x64b)]||_0x4d5c9f[_0x5f134f(0x1cd)][_0x5f134f(0x58c)]!==0x0)&&(_0x33646d=_0x4d5c9f[_0x5f134f(0x436)]),_0x33646d===0x0&&this['_logService'][_0x5f134f(0x405)](_0x5f134f(0x343),_0x5f134f(0x21d)),this['_snapshotService']['loadSheet'](_0x21d87b,_0x33646d);}async[_0x38c3ff(0x1ad)](_0x38859d){const _0x4ea284=_0x38c3ff;let _0x115540=0x0;const _0x20e260=await this[_0x4ea284(0x2ac)][_0x4ea284(0x1f2)](_0x38859d);return _0x20e260&&(_0x20e260[_0x4ea284(0x64b)]||_0x20e260[_0x4ea284(0x1cd)][_0x4ea284(0x58c)]!==0x0)&&(_0x115540=_0x20e260[_0x4ea284(0x436)]),_0x115540===0x0&&this[_0x4ea284(0x4ce)]['debug']('[DataLoaderController]',_0x4ea284(0x21d)),this[_0x4ea284(0x1ba)]['loadDoc'](_0x38859d,_0x115540);}},exports[_0x38c3ff(0x388)]=Ks([Te(0x0,wt),Te(0x1,a['ILogService']),Te(0x2,a[_0x38c3ff(0x439)]),Te(0x3,a['Inject'](exports[_0x38c3ff(0x227)])),Te(0x4,a[_0x38c3ff(0x2af)](S['SnapshotService'])),Te(0x5,a[_0x38c3ff(0x5e2)]($n['IRemoteInstanceService']))],exports[_0x38c3ff(0x388)]);var qs=Object[_0x38c3ff(0x1c1)],zs=Object[_0x38c3ff(0x336)],Xs=(_0x1da89c,_0x5a93eb,_0x401bc7,_0x1738c5)=>{const _0xe89e67=_0x38c3ff;for(var _0x5852fe=_0x1738c5>0x1?void 0x0:_0x1738c5?zs(_0x5a93eb,_0x401bc7):_0x5a93eb,_0x3eac63=_0x1da89c[_0xe89e67(0x58c)]-0x1,_0x5093ee;_0x3eac63>=0x0;_0x3eac63--)(_0x5093ee=_0x1da89c[_0x3eac63])&&(_0x5852fe=(_0x1738c5?_0x5093ee(_0x5a93eb,_0x401bc7,_0x5852fe):_0x5093ee(_0x5852fe))||_0x5852fe);return _0x1738c5&&_0x5852fe&&qs(_0x5a93eb,_0x401bc7,_0x5852fe),_0x5852fe;},kt=(_0x22c0c8,_0x23b69d)=>(_0x22b91c,_0x158339)=>_0x23b69d(_0x22b91c,_0x158339,_0x22c0c8);function _0x2079(){const _0x4bc825=['c1Prime','shouldCloseConn','extend','blockSize','getRelativeToViewportCoord','_send','1476423OZpQHe','_onConnectionFailed','ITelemetryService','permissionRejEvent','Hasher','_onLocalMutation','csShouldRetryEvent','collaboration-client.offline-data-not-saved','copyFileMeta','objectID','pad','attrs','objectType','_transformRemoteChangesetByIMECache','AWAITING_WITH_PENDING','_createHmacHelper','@univerjs/telemetry','Utf8','_getCurrentRevision','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','cfg','string','updateCollaborator','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','registerHTTPInterceptor','_schedule','SheetCollaborationEntity','_onRemoteRejected','joinRsp','_getSendChangesetTimeout','MergeInterceptorFactory','UNRECOGNIZED','toLowerCase','_exhaustRemoteChangesetQueue','compose','_docTransformStateCacheService','_permissionService','abs','drawWith','subscribeEvent','InsertSheetMutation','_anchor','readInt32LE','mixIn','_saveCache','_updateState','&assign=','getConfig','_handleHeartbeatEvent','none','byteLength','encryptBlock','socket\x20open.','SheetSkeletonManagerService','pauseCollaboration','error','snapshotServerUrl','append','onRendered','_waitCount','getSheetObject','serializeCombRequest','@univerjs/docs-ui','_onCombEvent','NOT_FOUND','updatePermissionPoint','colorChannel1','slice','SetSelectionsOperation','entries','/universer-api/snapshot','rng','online','0\x200\x2016\x2016','CollaborationController','_state$','title','connection\x20error','AWAITING','filter','disposeUnit','6ViWsqq','UNIVER_COLLABORATION_CLIENT_PLUGIN','symbol','pipe','[CollaborationSession]','SNAPSHOT_HAS_BEEN_REMOVED','CHANGESET_SHOULD_RETRY','_colorIndex','HttpExport','_socket$','RemoveRowCommandId','clipPath','_unitID','get','_status$','fetch_missing','reject','on-line-single_clip0_910_349','icon','_startDocCollabCursor','length','_session','UNIVER_UNKNOWN','_key','Rect','collab-client.tooltip.reconnect','getCollabCursors$','on-line-single','Undefined','params','_init','EffectRefRangId','text','has','createCollaborator','padding','/allowed','ERROR_EXCEED_SIZE','onPointerEnter$','LIVESHARE_TERMINATE','startTime','_color','InsertRangeMoveDownCommandId','sequenceExecute','_initResize','unshift','_onCursorDelete','transformRemoteChangeset','_httpService','_createInitialState','fromEvent','_reverseMap','textEncoder','DisposableCollection','from','socketService','_type','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','setShapeProps','getDocRanges','UNAUTHENTICATED','registerRefRange','MD5','transformStack\x20failed!','msCrypto','DocStateChangeManagerService','LICENSE_IMPORT_SIZE_EXCEEDED','getOffsetConfig','send','fillText','$super','_cachedData','getUnitStatus$','_transformStateCache','1em','deleteCollaborator','InsertRangeMoveRightCommandId','jsx','COMMENT_UPDATE','_clearOtherTimers','onlineStatusTitle','SEND_CHANGESET_TIMEOUT','_docStateChangeManagerService','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','kdf','_colorAssignService','CollaborationStatus','_drawRectRange','getRandomValues','key','_docSkeletonManagerService','/role','isTransformMutationsWithChangesetFailure','onStarting','IMessageService','_replaceFileID','off-line-single','[CollaborationState]:\x20apply\x20error!','getStateCache','collabStatus.synced','_handleJoinEvent','visibilitychange','LOCAL_CACHE_INTERVAL','getActiveRange','USERS_LEAVE','NodePositionConvertToRectRange','Optional','_handleEvent','status$','Plugin','className','focused$','newCsEvent','mapDocumentTypeToUniverType','ImageIoService','routeKey','NEW_CHANGESETS','NodePositionConvertToCursor','WebURLService','_oKey','getSheetId','EvpKDF','parseProtocolChangeset','INVALID_ARGUMENT','algo','getRenderById','leaveEvent','sheetID','_queuedRemoteChangesets','_showConflictNotification','switchMap','_drawAnchor','_append','collab-text-anchor-','DocSelectionManagerService','dispose$','_keyPriorReset','_roomMembers$','onlineStatus','HMAC','event$','labelPosition','_resendWithTimeout','defaultProps','activeSheet$','selections','onTransformSelections','replaceDocRanges','INTERNAL_ERROR','setInterval','_getRedoStack','getActiveSheet','_process','setAlpha','encrypt','_backgroundColor','conflict','number','forwardRef','updatePermissionObjEvent','collaboration-session-retry','update','close','UniverCollaborationPlugin','_getSignURL','0\x200\x2017\x2016','FETCH_MISS','[SyncedState]:\x20received\x20acknowledgement.','editing\x20status\x20changed\x20to','COMPLETION_FINISHED','[SyncedState]:\x20received\x20rejection.','revision','_transformPreviousActiveRange','onRemoteAck','ILogService','HTTPService','getImage','b64DecodeUnicode','_config','_scheduleClearOtherTimer','registerBeforeClose','_disableEditing','lineTo','backgroundColor','_initUnitPermissionChange','JOINING','onMissedChangesetFetched','hidden','transformMutation','_onRefRangeChange','delay','readAsDataURL','APPLY_REVISION_CONFILICT','_selfUnitIDs','LICENSE_DISTRO_REJECTED','restore','lib','_initCloseConn','randomUUID','SYNCED','_sessionStatus$','SHOULD_CLOSE_CONN','univerjs-icon\x20univerjs-icon-','find','useDependency','HmacSHA1','message$','offline','SHA1','UNIVER_DOC','onSendChangeset','awaitingChangeset','ranges','pending','reconnect','_stopTelemetryCollaborationNewChangeset','getUnhiddenWorksheets','[CollaborationSessionService]','substr','_instanceService','handleDeleteRangeMoveLeft','touchDependencies','BufferedBlockAlgorithm','addEventListener','_collaborationPaused','error$','_parse','crypto','randomBytes','getUnitOnRev','_onMessage','bind','_initCommandExecutedListener','APPLY_NON_SEQUENTIAL_REVISION','collab-rect-range-','_onUserJoin','Vector2','getMergeData','24vUeLge','onRemoteChangeset','NOT_COLLAB','finalize','_ensureSubject','_removeRoom','_onConnectionOpen','whenReady','_draw','Disposable','exports','_memberService','skeleton','setShowComponents','_loadDoc','handleInsertRangeMoveRight','useCallback','@univerjs/ui','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','DocSkeletonManagerService','_syncEditingCollabCursorService','ONLINE','popstate','/resources','_transformSelections','registerOnClose','clone','_snapshotService','7523408xEkiYW','IUndoRedoService','ReplaySubject','docStateChange$','syncEditingCollabCursor','signUrlServerUrl','defineProperty','/universer-api/oidc/authpage','_initEventListeners','_unlockTransition','_ws','sheetId','url','actions','_drawTextRange','ISnapshotServerService','getTime','for','mutations','Base64','resourceIDs','delete','DocIMEInputManagerService','merge','_state','_clearTimeoutTimer','blue400','_replayCachedMutations','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','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','sid','put','COLLAB_WEB_SOCKET_URL','defs','DEFAULT_FILE_NAME','CollaborationStatusDisplay','exhaustSavingTask','_doCryptBlock','OffLineSingle','processBlock','Fragment','red300','_listenToOnlineEvent','rgba(255,\x20255,\x20255,\x200.01)','DeleteRangeMoveLeftCommandId','reqId','default','_sheetTransformSelectionsService','execute','@univerjs/drawing','close$','YUUMI_SUBSCRIPTION_NOT_FOUND','6847qbvNxK','compute','target','loadOfflineData','_eventUnsubscribe','getImageSourceCache','_configService','CollaborationSessionService','values','_name','_clearCollaborationTimeoutTimer','moveTo','then','_ENC_XFORM_MODE','_createSocket','getInterceptPoints','onStateChange','onSyncEditingCollabCursor','CollaborationEvent','_mode','_localeService','__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED','_onConflict','_onOffline','reduce','HEARTBEAT_TIMEOUT_KEY','_timeoutTimer','pushState','incrementRevOfUnit','SNAPSHOT_INVALID_SNAPSHOT','_sendHeartbeatTimer','keySize','_checkMissing','YUUMI_URL_COL_OUT_OF_RANGE','collaboratorID','defIds','/universer-api/file/{fileID}/sign-url','substring','image/jpeg','LOGIN_URL_KEY','_tryEnsureSocket','onRemoteRej','_remoteChangesetQueue','univer-pro.collaboration-client.single-active-unit-service','_disabled','_hasher','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','apply','useObservable','state','CBC','LocaleService','parse','closePath','_createInitialStateImpl','function','LocalCacheService','_scheduleHeartbeat','_redoStacks','rxjs/operators','gold400','RxDisposable','makeDirty','_HTTPService','interceptor','_removeCollabCursors','trim','AuthzIoHttpService','/block/','handleInsertCol','Module','buffer','_getDownloadEndpointURL','url(#$1','@univerjs/core','unit-cache-','_hover','fetchMiss','UNIVER_SHEET','_getSnapshotAPIPrefix','getTypeOfUnitAdded$','withCredentials','_createHelper','top','ICollaborationSocketService','_event$','_registerRenderDependencies','shareReplay','permission.content','RECT','_changesetSessionId','Tools','open$','save','sin','LICENSE_MAX_UNITS_EXCEEDED','session.connection-failed','_beforeCloseService','_hovered','UniverCollaborationClientPlugin','LIVESHARE_OPERATION','members','getMemberID','range','_transformRemoteChangesetByStateCache','refreshPermission','YUUMI_UNABLE_LOAD_URL','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','deepClone','SheetPermissionInitController','unsubscribe','round','[FetchMissState]','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_cursorShapes','_refreshCollabCursors','createEncryptor','_unitOnClients','transformSelections','change$','_transformService','_context','min','_retryConnectingTimer','_revisionService','handleInsertRangeMoveDown','getValue','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_heartbeatTimer','SessionStatus','_docTransformIMECacheService','submit\x20changeset\x20error!','encode','csAckEvent','createIdentifier','_substituteUndoStack','responseType','handleMoveRange','_doReset','verdancy600','__esModule','ACTIVE_UNIT_EVENT_CHANNEL','InsertColCommandId','words','UniverInstanceType','3052345QwNvkV','_members','body','BlockCipherMode','saveChangeset','_waitForHeartbeatResponse','_renderManagerService','IContextService','_handler','_getMergeRange','saveSnapshot','isInternalEditorID','_getUploadFileURL','StreamCipher','POST','initWorkbookPermissionChange','collaMsg','fromCollab','redoState','_sessions','location','_transformUndoredo','TEXT_RANGE_LAYER_INDEX','currentColor','_incrementRevisionNumber','_toggleOnline','_notificationService','getAllMembers','[OfflineState]:\x20received\x20acknowledgement.','runRefRangeMutations','ImageUploadStatusType','awaiting_with_pending','patch','addObjects','salt','_entityInit$','/fetchmissing?from=','HELLO','getVpScrollXYInfoByPosToVp','onload','IUniverInstanceService','createDecryptor','requireSession','/collaborator','_localCacheService','onlyLocal','collabStatus.notCollab','Inject','INGEST','_transformUndoRedoStack','_shouldReportTelemetry','onCommentUpdate','_onFetchMissResult','getSheetBySheetId','_saveTaskMap','status','_snapshotServerService','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_invKeySchedule','_initStatusComponent','commentUpdate$','eventID','ReactCurrentOwner','userID','getResourcesRequest','_shapes','decrypt','not_collab','PasswordBasedCipher','SheetsSelectionsService','?size=','toDisposable','_listenToOfflineEvent','ERROR_IMAGE_TYPE','getMember','_transitionLocked','_getUndoStack','[PendingState]:\x20received\x20acknowledgement.','urlChange$','SNAPSHOT_SERVER_URL_KEY','_docSkeleton','\x0aAfter:\x20','onTransformRemoteChangesetByIMECache','splice','getCurrent','getCellPositionByOffset','_change$','ColorKit','forEach','_applyRemoteChangeset','dispose','UUID','awaiting','handleDeleteRangeMoveUp','[OfflineState]:\x20received\x20changeset.','getAncestorScale','parseChangesetToProtocol','data','telemetry\x20info\x20is\x20not\x20initialized','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','registerRenderModule','SerializableCipher','116HbERFc','_iv','onTransformChange$','MoveRangeCommandId','removeMember','now','DOC_RANGE_TYPE','UnitSnapshot','getUnitId','column','/object','capture','selection','width','AUTHZ_URL_KEY','isActive','IURLService','transformChangesets','onRemoteRetry','_resendTimer','M0\x200H16V16H0z','LocalUndoRedoService','_range','collabStatus.conflict','_removeClearOtherTimer','_decreaseWaiting','toggleOffline','CommandType','_singleActiveUnitService','hasher','@univerjs/docs','collabCursorState$','/rev/','USERS_ENTER','getRoom','getUnitType','onMissingChangesets','roles','sessionStatus','engine','m1Prime','setConfig','_clearLocalCache','size','MessageType','x-univer-host','clearTimeout','...','image/bmp','_sender','every','arc','infoRsp','BlockCipher','_id','socket$','EXCHANGE_SIGN_URL_SERVER_URL_KEY','sessionStatus$','height','_syncEditingCollabCursor','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','getCurrentUnitForType','evenodd','_entities','IConfigService','closeSession','[UniverCollaborationClientPlugin]','RECV','isArray','enableSingleActiveInstanceLock','collabWebSocketUrl','auth.needGotoLoginAlert','getUnit','_executeRemoteChangeset','COMPRESS_MUTATION_SEND','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_createHandler','getWorkbookSelections','sheets','fillStyle','getOwnPropertyDescriptor','resize','toRgbString','[CollaborationEntity]','addImageSourceCache','_scheduleTimestamp','TEXT','_submitChangeset','VIEWPORT_KEY','OFFLINE','IDLE','join','endRow','[DataLoaderController]','JOIN','setActiveRange','replace','_registerDependencies','CONFLICT','mode','roomInfos','getOwnPropertySymbols','_pendingMutations','_socketMessageSubscription','IAuthzIoService','COMPRESS_MUTATION_APPLY','socket\x20close','OnLineSingle','_scene','image/gif','doc.mutation.rich-text-editing','FromArray','transformIMECache','editingUnit','_clearHeartbeatTimer','stopTime','getCurrentUser','floor','2188813YakUfd','PERMISSION_REJ','univer-online-status-icon','permission.title','_telemetryInfo','json','charAt','CipherParams','unitID','endColumn','loginUrlKey','EmptyMutation','split','MSG_FOR_ERROR','objects','black','APPLY_REJECT','TOO_MANY_REQUESTS','INotificationService','jiqing500','href','handleInsertRow','clear','NoPadding','_initStatusListener','#fff','_rescheduleHeartbeat','ws://127.0.0.1:8000/universer-api/comb/connect','CHANGESET_REVISION_CONFILICT','_getScale','_docSyncEditingCollabCursorService','collaboration.single-unit.warning','show','setParam','HmacMD5','_collabSessionService','_labelPosition','OpenSSL','UPDATE_PERMISSION_OBJ','getCoordByCell','SetWorksheetActivateCommand','_messageService','assignAColorForMemberID','SheetCollabCursorShape','DataLoaderController','[CollaborationSessionService]:\x20socket\x20error','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','isTransformMutationsWithChangesetSuccess','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','src','resolve','WorkbookEditablePermission','hasOwnProperty','JSONX','addObject','_univerInstanceService','_xformMode','xlink:href','_hideTimer','ceil','WordArray','_startCollaboration','COLLAB_SUBMIT_CHANGESET_URL_KEY','prototype','ENSURE_SNAPSHOT_EXECUTION','formatter','_sendHeartbeat','YUUMI_RATE_OVER_LIMIT','UNIVER_PROJECT','_onUserLeave','cursorInfo','_updateCollabCursors','ThemeService','unload','memberID','Hex','fetchThroughInterceptors','AES','roomMembers','@univerjs/network','collaboration_new_changeset','roomMembers$','conflict.content','pluginName','_resendTimeout','snapshot','code','_scheduleSaving','APPLY_DUPLICATED','Pkcs7','_injector','concatMap','COLORS','random','SetDocZoomRatioOperation','setTimeout','getTypeOfUnitDisposed$','jsxs','_textBubble','unitId\x20is\x20not\x20found','Encryptor','UNDEFINED','_startSheetCollabCursor','getRangePointData','@univerjs/engine-render','propertyIsEnumerable','_collabCursorController','idSuffix','mergeOverrideWithDependencies','@univerjs/design','4149901euQzNB','RevisionService','ITransformService','cursorInfo$','throttleTime','Subject','\x20in\x20_schedule.','_docTransformSelectionsService','_substituteRedoStack','@univerjs/engine-formula','InsertRowCommandId','_acknowledgedAwaitingChangeset','localeService','LIVESHARE_FETCH_OPERATIONS','format','div','_cursors','Shape','decryptBlock','_refRangeService','tag','createSocket','url(#off-line-single_clip0_910_343)','LICENSE_EXPORT_SIZE_EXCEEDED','_updateStatus','startColumn','stringify','_collaborationTimeoutTimer','triggerDblclick','ILocalStorageService','set','_updateLocalCursor','IRenderManagerService','[CollaborationUndoRedoService]','includes','_transformIMECache','isTransformChangesetsSuccess','_changesetReqId','concat','take','_uiPartsService','_updateLocalCache','_handleHover','_onCursorUpdate','updateOfflineData','getItem','_undoRedoService','getFocusedUnit','_localStorageService','takeUntil','[PendingState]:\x20received\x20rejection.','getCurrentSelections','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','setCurrentUser','getParam','enableLocalCache','transform','charCodeAt','_initMergeInterceptor','debug','PSEUDO_FETCH_MISSING_RESULT','LEAVE','fromCharCode','[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.','_userManagerService','registerComponent','#FFF','complete','/new_changes','_document','/universer-api/comb','ivSize','resend','NO_OTHER_CLIENTS_EDITING','_urlService','_joinRoom','_online','&source=','svg','createElement','getCollabEntity','_compressMutationService','\x20-\x20','RemoveColCommandId','MemberService','m2Prime','call','IPermissionService','fill','catch','OTHER_CLIENTS_EDITING','add','PENDING','ref','[OfflineState]:\x20received\x20rejection.','session','type','Warning','_themeService','all','_initDependencies','history','onlineStatusIcon','_doFinalize','UniverNetworkPlugin','batchAllowed','CompressMutationService','originalMeta','rev','_render','with','ICommandService','_retryCount','BASE64','setItem','_commentService','create','encodeURIComponent','_getSaveTimeout','RETRY_CONNECTING_MAX_COUNT_KEY','enc','useRef','uni.network.url-service','url(#on-line-single_clip0_910_349)','isTransformMutationFailure','createInstance','HEARTBEAT_INTERVAL_KEY','bottom','Cipher','RegularPolygon','onReady','equals','_cipher','putCollaborators','isEditing','getCurrentRevOfUnit','_imageSourceCache','getSkeleton','saveImage','replaceState','_loadSheet','collabStatus.syncing','subUnitId','toString','_lockTransition','UniverIcon','Rectangle','HEARTBEAT_INTERVAL','baseRev','APPLY_PERMISSION_DENIED','_getAPIPrefix','_keySchedule','SNAPSHOT_URL_KEY','_sendingTimer','RefRangeService','_toggleOffline','HttpImport','getCollabEntity$','@univerjs-pro/collaboration','@univerjs/sheets-ui','_data','30qrnSGv','_clearUndo','UPDATE_CURSOR','setStateCache','_nRounds','serializeRangeWithSheet','DependentOn','currentTheme$','push','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','init','CollaborationSocketService','_onRemoteChangeset','visibilityState','deserializeRangeWithSheet','connectInjector','subscribe','_updateURLWithCurrentState','appendMutation','_roomMembers','LIVESHARE_REQUEST_HOST','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','HEARTBEAT','hostname','SEND_CHANGESET_TIMEOUT_KEY','__creator','headers','CollaborationEntity','onPointerMove$','_onRemoteACK','COLLAB_WEB_SOCKET_URL_KEY','ALREADY_EXISTS','requestParams','ImageSourceType','displayName','_socketReady','getUniverSheetInstance','clearInterval','session.will-retry','unitId','newValue','handleIRemoveCol','children','FileId','DocCollaborationEntity','FAIL','IImageIoService','6JVqDUC','getColor','measureText','HEARTBEAT_TIMEOUT','_clearRedo','reverse','off-line-single_clip0_910_343','Decryptor','_anchorDot','1246172rFvIWW','__Key__','collabSubmitChangesetUrl','_awaitingChangeset','asObservable','_lastPointer','row','combineLatest','listCollaborators','method','authzUrl','Unknown\x20user','saveSheetBlock','_getAPIPrefixPath','_minBufferSize','toggleOnline','onTransformState','commentUpdateEvent','CHANGESET_REJ','generateRandomId','SnapshotServerOverHTTPService','_sheetSkeletonManagerService','purple300','Base','onCommandExecuted','isPermissionRej','disposeWithMe','transformMutationsWithChangeset','disableLocalCache','sigBytes','storage','searchParams','color','next','_unitStatus','path','_initRequestHeader','_isPermissionRej','allowed','debounceTime','fetchMissingChangesets','_transformHistoryAndStateStack','UnitEmbedded','_logService','/-/object/-/batch_allowed','_onJoinRoomEvent','findNodePositionByCharIndex','post','_commentUpdate$','MUTATION','file','CollaborationSession','map','BuiltInUIPart','RETRY_CONNECTING_MAX_COUNT','indexOf','_getSheetObject','_setupSubUnitSync','_startTelemetryCollaborationNewChangeset','_collabCursorState$','collaborators','assign','/unit/','reset','react.element','max','/universer-api/snapshot/','DesktopCollaborationStatusDisplayController','image/jpg','_cursorInfo$','univer-online-status-title','unit','UNIVER_SLIDE','synced','_prevBlock','_collaborationSessionService','origin','_map','currentSkeleton$','CONNECTOR_DATA_TOO_LARGE','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_hash','result','_commandService','_getLoginPath','_updateSubUnitFromURLParams','updateMember','cmd','_assignedColors','BehaviorSubject','textRanges','executeCommand','_socket','SetTextSelectionsOperation','_nDataBytes','objectActions','name','_throwTelemetryCollaborationNewChangeset','onTransformIME','onTransformRemoteChangesetByStateCache','undoState','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','[PendingState]:\x20unhandled\x20univer\x20type:\x20','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','enableOfflineEditing','\x20to\x20','_undoStacks','Injector','unknown','_transformStack','_iKey','SUBMIT_CHANGESET','_clearScheduledTask','debounce','react.fragment','Error','/object/','\x0aCurrent:\x20','current','flatMap','UNKNOWN_CMD','WebSocketService','ERROR_IMAGE','updateCursorEvent','unpad','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.'];_0x2079=function(){return _0x4bc825;};return _0x2079();}const Js=_0x38c3ff(0x1dd),Zs='Univer';let Ve=class extends a[_0x38c3ff(0x1a8)]{constructor(_0x286e08,_0x558e8e){const _0x1b7e4c=_0x38c3ff;super(),this['_univerInstanceService']=_0x286e08,this[_0x1b7e4c(0x1f5)]=_0x558e8e,this[_0x1b7e4c(0x596)]();}['_init'](){const _0x55d1c3=_0x38c3ff;this[_0x55d1c3(0x4bd)](this[_0x55d1c3(0x393)]['focused$']['subscribe'](()=>{const _0x4567d1=_0x55d1c3;var _0x440de2;const _0xc0f83d=this['_univerInstanceService'][_0x4567d1(0x3f9)]();let _0x8f11b3=(_0x440de2=this[_0x4567d1(0x1f5)][_0x4567d1(0x556)](Js))!=null?_0x440de2:Zs;_0xc0f83d instanceof a['Workbook']&&(_0x8f11b3=_0xc0f83d[_0x4567d1(0x503)]),document[_0x4567d1(0x573)]=_0x8f11b3;}));}};Ve=Xs([kt(0x0,a[_0x38c3ff(0x2a8)]),kt(0x1,a[_0x38c3ff(0x326)])],Ve);var Qs=Object[_0x38c3ff(0x1c1)],er=Object[_0x38c3ff(0x336)],tr=(_0xefd605,_0x1af07d,_0x2fedc2,_0x115a8c)=>{for(var _0x848330=_0x115a8c>0x1?void 0x0:_0x115a8c?er(_0x1af07d,_0x2fedc2):_0x1af07d,_0x5d5626=_0xefd605['length']-0x1,_0x143589;_0x5d5626>=0x0;_0x5d5626--)(_0x143589=_0xefd605[_0x5d5626])&&(_0x848330=(_0x115a8c?_0x143589(_0x1af07d,_0x2fedc2,_0x848330):_0x143589(_0x848330))||_0x848330);return _0x115a8c&&_0x848330&&Qs(_0x1af07d,_0x2fedc2,_0x848330),_0x848330;},at=(_0x499a45,_0x3d5c8c)=>(_0x305af2,_0x678e8e)=>_0x3d5c8c(_0x305af2,_0x678e8e,_0x499a45);let Ge=class{constructor(_0x22ace4,_0x5db77c,_0x35d17a){const _0x3342a4=_0x38c3ff;this[_0x3342a4(0x1f5)]=_0x22ace4,this['_httpService']=_0x5db77c,this[_0x3342a4(0x3d6)]=_0x35d17a,this['init']();}['init'](){const _0x2f5dc9=_0x38c3ff;this[_0x2f5dc9(0x5a8)][_0x2f5dc9(0x53f)]({'priority':0x1,'interceptor':(_0x2eac5c,_0x21a205)=>_0x21a205(_0x2eac5c)[_0x2f5dc9(0x57b)](A[_0x2f5dc9(0x3b7)](async _0x1e72ef=>{const _0x1793c1=_0x2f5dc9,_0x5e3ecd=_0x1e72ef;if(_0x5e3ecd[_0x1793c1(0x2b7)]===0x191&&window['confirm'](this[_0x1793c1(0x3d6)]['t'](_0x1793c1(0x32d)))){const _0x1b56a7=window[_0x1793c1(0x43f)](window[_0x1793c1(0x294)][_0x1793c1(0x370)]);window[_0x1793c1(0x294)][_0x1793c1(0x370)]=this[_0x1793c1(0x4f7)]()+'?url='+_0x1b56a7;}return _0x5e3ecd;}))});}[_0x38c3ff(0x4f7)](){const _0x14e62b=_0x38c3ff;var _0x41d800,_0x1faac8;const _0x5b8d11=this[_0x14e62b(0x1f5)]['getConfig'](an),_0x32f02f=this[_0x14e62b(0x1f5)][_0x14e62b(0x556)](te);return(_0x1faac8=(_0x41d800=_0x32f02f==null?void 0x0:_0x32f02f[_0x14e62b(0x366)])!=null?_0x41d800:_0x5b8d11)!=null?_0x1faac8:qn;}};Ge=tr([at(0x0,a[_0x38c3ff(0x326)]),at(0x1,a[_0x38c3ff(0x2af)](Z[_0x38c3ff(0x627)])),at(0x2,a['Inject'](a[_0x38c3ff(0x222)]))],Ge);var nr=Object[_0x38c3ff(0x1c1)],ir=Object['getOwnPropertyDescriptor'],sr=(_0x14a964,_0x389acc,_0x4703f8,_0x3fdb11)=>{const _0x3b7865=_0x38c3ff;for(var _0xad13da=_0x3fdb11>0x1?void 0x0:_0x3fdb11?ir(_0x389acc,_0x4703f8):_0x389acc,_0x539231=_0x14a964[_0x3b7865(0x58c)]-0x1,_0x528705;_0x539231>=0x0;_0x539231--)(_0x528705=_0x14a964[_0x539231])&&(_0xad13da=(_0x3fdb11?_0x528705(_0x389acc,_0x4703f8,_0xad13da):_0x528705(_0xad13da))||_0xad13da);return _0x3fdb11&&_0xad13da&&nr(_0x389acc,_0x4703f8,_0xad13da),_0xad13da;},Wt=(_0x50edb4,_0x263d8e)=>(_0x38ab11,_0x4534f6)=>_0x263d8e(_0x38ab11,_0x4534f6,_0x50edb4);const Rn=_0x38c3ff(0x2f4),rr='/universer-api/authz';exports[_0x38c3ff(0x232)]=class extends a[_0x38c3ff(0x1a8)]{constructor(_0x3ca6c8,_0x22f4a7){const _0x26a063=_0x38c3ff;super(),this['_HTTPService']=_0x3ca6c8,this['_configService']=_0x22f4a7,this[_0x26a063(0x404)]();}[_0x38c3ff(0x404)](){const _0x5d0275=_0x38c3ff,_0x512844=this;this[_0x5d0275(0x4bd)](this[_0x5d0275(0x22e)][_0x5d0275(0x53f)]({'priority':0x3e7,'interceptor':Z[_0x5d0275(0x545)]({'isMatch'(_0x39e8ed){const _0x6fa386=_0x5d0275;var _0x5f5289;if(_0x39e8ed[_0x6fa386(0x4ac)]==='POST'&&((_0x5f5289=_0x39e8ed['requestParams'])!=null&&_0x5f5289[_0x6fa386(0x282)])){const {objectID:_0x4e12a3,objectType:_0x35f0ec}=_0x39e8ed[_0x6fa386(0x48b)]['body']||{};if(!_0x4e12a3||_0x35f0ec===void 0x0)return!0x1;const _0x2e13b9=_0x512844[_0x6fa386(0x4b0)]()+'/'+_0x35f0ec+_0x6fa386(0x517)+_0x4e12a3+_0x6fa386(0x59c);if(_0x39e8ed[_0x6fa386(0x1c7)]===_0x2e13b9)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x8c8a06){const _0x300281=_0x5d0275;var _0x40eaa1;return(_0x40eaa1=_0x8c8a06[_0x300281(0x48b)])==null?void 0x0:_0x40eaa1['body'];},'mergeParamsToRequest'(_0x1c0718,_0x4dae72){const _0x8eafc3=_0x5d0275,_0x2d4004=_0x512844[_0x8eafc3(0x4b0)]()+_0x8eafc3(0x4cf),_0x485a2e=_0x1c0718[_0x8eafc3(0x207)]((_0x26813e,_0x2555ff)=>{const {unitID:_0x159041,objectID:_0x23e4a3,objectType:_0x5eeca0,actions:_0x15b4a7}=_0x2555ff;return _0x26813e[_0x159041]||(_0x26813e[_0x159041]={}),_0x26813e[_0x159041][_0x23e4a3]||(_0x26813e[_0x159041][_0x23e4a3]={'objectID':_0x23e4a3,'objectType':_0x5eeca0,'actions':[]}),_0x26813e[_0x159041][_0x23e4a3]['actions']['push'](..._0x15b4a7),_0x26813e;},{}),_0x8737b7=[];for(const _0x27961d in _0x485a2e)for(const _0x1eef08 in _0x485a2e[_0x27961d]){const {actions:_0x5ec21e,objectType:_0x31cf9d}=_0x485a2e[_0x27961d][_0x1eef08],_0x52d9ac=[...new Set(_0x5ec21e)];_0x8737b7[_0x8eafc3(0x473)]({'unitID':_0x27961d,'objectID':_0x1eef08,'objectType':_0x31cf9d,'actions':_0x52d9ac});}return new Z['HTTPRequest'](_0x8eafc3(0x28e),_0x2d4004,{'headers':_0x4dae72['headers'],'withCredentials':_0x4dae72[_0x8eafc3(0x240)],'responseType':_0x4dae72[_0x8eafc3(0x277)],'body':{'requests':_0x8737b7}});}},{'distributeResult'(_0x287a39,_0x42e76e){const _0x376206=_0x5d0275,{objectActions:_0x27b72e}=_0x287a39;return _0x42e76e[_0x376206(0x4d7)](_0x17cf26=>{const _0x3d1384=_0x376206,{unitID:_0x457b51,objectID:_0xf423df,actions:_0xe09721}=_0x17cf26,_0x42d8a6=_0x27b72e[_0x3d1384(0x643)](_0x2e1434=>_0x2e1434[_0x3d1384(0x364)]===_0x457b51&&_0x2e1434[_0x3d1384(0x530)]===_0xf423df),_0x4c4591=_0xe09721[_0x3d1384(0x4d7)](_0x2b3096=>_0x42d8a6==null?void 0x0:_0x42d8a6['actions'][_0x3d1384(0x643)](_0x241411=>_0x241411['action']===_0x2b3096))[_0x3d1384(0x576)](_0x865d70=>!!_0x865d70);return{'config':_0x17cf26,'result':{'actions':_0x4c4591,'error':_0x287a39[_0x3d1384(0x55e)]}};});}})}));}['_getAPIPrefixPath'](){const _0x165c9d=_0x38c3ff;var _0x1578fe,_0x519ec9;const _0x3f007e=this[_0x165c9d(0x1f5)][_0x165c9d(0x556)](Rn),_0x42963a=this[_0x165c9d(0x1f5)]['getConfig'](te);return(_0x519ec9=(_0x1578fe=_0x42963a==null?void 0x0:_0x42963a[_0x165c9d(0x4ad)])!=null?_0x1578fe:_0x3f007e)!=null?_0x519ec9:rr;}async[_0x38c3ff(0x43e)](_0x3bb1c1){const _0x20ceaa=_0x38c3ff,_0x552d64=this[_0x20ceaa(0x4b0)]()+'/'+_0x3bb1c1[_0x20ceaa(0x533)]+_0x20ceaa(0x2f0);return(await this[_0x20ceaa(0x22e)]['post'](_0x552d64,{'body':_0x3bb1c1}))[_0x20ceaa(0x282)][_0x20ceaa(0x530)]||'';}async['list'](_0x51ecb4){const _0x230395=_0x38c3ff,_0x22259a=this[_0x230395(0x4b0)]()+'/-/object/list';return(await this[_0x230395(0x22e)][_0x230395(0x4d2)](_0x22259a,{'body':_0x51ecb4}))[_0x230395(0x282)][_0x230395(0x36a)];}async[_0x38c3ff(0x619)](_0x374d18){const _0x562a7b=_0x38c3ff,_0x1f828f=this['_getAPIPrefixPath']()+'/'+_0x374d18['objectType']+'/object/'+_0x374d18[_0x562a7b(0x530)];await this['_HTTPService'][_0x562a7b(0x1da)](_0x1f828f,{'body':_0x374d18});}async[_0x38c3ff(0x4c9)](_0x13d12a){const _0x2a5b78=_0x38c3ff,_0x66fc32=this[_0x2a5b78(0x4b0)]()+'/'+_0x13d12a['objectType']+_0x2a5b78(0x517)+_0x13d12a[_0x2a5b78(0x530)]+'/allowed';return(await this[_0x2a5b78(0x22e)]['post'](_0x66fc32,{'body':_0x13d12a}))[_0x2a5b78(0x282)]['actions'];}async[_0x38c3ff(0x433)](_0xa59604){const _0xf9af17=_0x38c3ff,_0x51f5d9=this[_0xf9af17(0x4b0)]()+_0xf9af17(0x4cf);return(await this['_HTTPService']['post'](_0x51f5d9,{'body':{'requests':_0xa59604}}))[_0xf9af17(0x282)][_0xf9af17(0x502)];}async['listRoles'](_0x460f3){const _0x107862=_0x38c3ff,_0x4c1bf5=this['_getAPIPrefixPath']()+'/'+_0x460f3[_0x107862(0x533)]+_0x107862(0x5d3),_0x5a585f=await this[_0x107862(0x22e)][_0x107862(0x4d2)](_0x4c1bf5,{'body':_0x460f3});return{'roles':_0x5a585f[_0x107862(0x282)][_0x107862(0x30b)],'actions':_0x5a585f[_0x107862(0x282)][_0x107862(0x1c8)]};}async[_0x38c3ff(0x5c3)](_0x3679cf){const _0x13c28f=_0x38c3ff,_0xa84e1e=this[_0x13c28f(0x4b0)]()+'/collaborator';await this[_0x13c28f(0x22e)][_0x13c28f(0x1d0)](_0xa84e1e,{'params':{'collaboratorID':_0x3679cf[_0x13c28f(0x211)],'objectID':_0x3679cf[_0x13c28f(0x530)],'unitID':_0x3679cf[_0x13c28f(0x364)]}});}async[_0x38c3ff(0x53d)](_0x9f19c5){const _0x56b934=_0x38c3ff,_0x2dacf5=this[_0x56b934(0x4b0)]()+_0x56b934(0x2ab);await this[_0x56b934(0x22e)][_0x56b934(0x2a0)](_0x2dacf5,{'body':_0x9f19c5});}async[_0x38c3ff(0x59a)](_0x608d93){const _0x2836fb=_0x38c3ff,_0x1eeac4=this[_0x2836fb(0x4b0)]()+'/collaborator';await this[_0x2836fb(0x22e)][_0x2836fb(0x4d2)](_0x1eeac4,{'body':_0x608d93});}async[_0x38c3ff(0x4ab)](_0x1d6cab){const _0x51d5f9=_0x38c3ff,_0x40c6db=this[_0x51d5f9(0x4b0)]()+_0x51d5f9(0x2ab);return(await this[_0x51d5f9(0x22e)][_0x51d5f9(0x585)](_0x40c6db,{'params':{'objectID':_0x1d6cab[_0x51d5f9(0x530)],'unitID':_0x1d6cab[_0x51d5f9(0x364)]}}))[_0x51d5f9(0x282)][_0x51d5f9(0x4df)];}async[_0x38c3ff(0x44f)](_0x162fe3){const _0x52bfbd=_0x38c3ff,_0x8d48d0=this[_0x52bfbd(0x4b0)]()+'/collaborator';await this[_0x52bfbd(0x22e)][_0x52bfbd(0x1da)](_0x8d48d0,{'body':_0x162fe3});}},exports[_0x38c3ff(0x232)]=sr([Wt(0x0,a['Inject'](Z['HTTPService'])),Wt(0x1,a[_0x38c3ff(0x2af)](a['IConfigService']))],exports['AuthzIoHttpService']);var yn={'exports':{}};function or(_0x482d24){const _0xdacc91=_0x38c3ff;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x482d24+_0xdacc91(0x53a));}var ct={'exports':{}},Ft;function oe(){const _0x3bd2e8=_0x38c3ff;return Ft||(Ft=0x1,function(_0x55ac7a,_0x10d542){(function(_0x5de1ad,_0x2b73cd){_0x55ac7a['exports']=_0x2b73cd();}(X,function(){var _0x3fc56e=_0x3fc56e||function(_0x1c1a73,_0x3f299d){const _0x34b777=_0x4762;var _0x2de5fb;if(typeof window<'u'&&window[_0x34b777(0x65b)]&&(_0x2de5fb=window[_0x34b777(0x65b)]),typeof self<'u'&&self[_0x34b777(0x65b)]&&(_0x2de5fb=self['crypto']),typeof globalThis<'u'&&globalThis[_0x34b777(0x65b)]&&(_0x2de5fb=globalThis['crypto']),!_0x2de5fb&&typeof window<'u'&&window[_0x34b777(0x5b8)]&&(_0x2de5fb=window[_0x34b777(0x5b8)]),!_0x2de5fb&&typeof X<'u'&&X[_0x34b777(0x65b)]&&(_0x2de5fb=X['crypto']),!_0x2de5fb&&typeof or==_0x34b777(0x226))try{_0x2de5fb=require(_0x34b777(0x65b));}catch{}var _0x3dfce2=function(){const _0x467e4b=_0x34b777;if(_0x2de5fb){if(typeof _0x2de5fb[_0x467e4b(0x5d0)]==_0x467e4b(0x226))try{return _0x2de5fb[_0x467e4b(0x5d0)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x2de5fb[_0x467e4b(0x65c)]==_0x467e4b(0x226))try{return _0x2de5fb[_0x467e4b(0x65c)](0x4)[_0x467e4b(0x551)]();}catch{}}throw new Error(_0x467e4b(0x5b1));},_0x2dca0a=Object['create']||(function(){function _0x45b0d9(){}return function(_0x2fd631){const _0xf3a132=_0x4762;var _0x535373;return _0x45b0d9['prototype']=_0x2fd631,_0x535373=new _0x45b0d9(),_0x45b0d9[_0xf3a132(0x39b)]=null,_0x535373;};}()),_0x23f42f={},_0x118632=_0x23f42f['lib']={},_0x3b0a2d=_0x118632['Base']=(function(){return{'extend':function(_0x18ccfc){const _0xcb7855=_0x4762;var _0x515bb5=_0x2dca0a(this);return _0x18ccfc&&_0x515bb5['mixIn'](_0x18ccfc),(!_0x515bb5['hasOwnProperty'](_0xcb7855(0x475))||this[_0xcb7855(0x475)]===_0x515bb5[_0xcb7855(0x475)])&&(_0x515bb5[_0xcb7855(0x475)]=function(){const _0x4a86ba=_0xcb7855;_0x515bb5[_0x4a86ba(0x5be)][_0x4a86ba(0x475)][_0x4a86ba(0x21e)](this,arguments);}),_0x515bb5[_0xcb7855(0x475)][_0xcb7855(0x39b)]=_0x515bb5,_0x515bb5[_0xcb7855(0x5be)]=this,_0x515bb5;},'create':function(){const _0xa073db=_0x4762;var _0x7d4220=this[_0xa073db(0x523)]();return _0x7d4220[_0xa073db(0x475)][_0xa073db(0x21e)](_0x7d4220,arguments),_0x7d4220;},'init':function(){},'mixIn':function(_0x4b6fdd){const _0x111bde=_0x4762;for(var _0x2e244e in _0x4b6fdd)_0x4b6fdd['hasOwnProperty'](_0x2e244e)&&(this[_0x2e244e]=_0x4b6fdd[_0x2e244e]);_0x4b6fdd[_0x111bde(0x390)]('toString')&&(this[_0x111bde(0x459)]=_0x4b6fdd[_0x111bde(0x459)]);},'clone':function(){const _0x5f3269=_0x4762;return this['init'][_0x5f3269(0x39b)][_0x5f3269(0x523)](this);}};}()),_0x14d975=_0x118632[_0x34b777(0x398)]=_0x3b0a2d[_0x34b777(0x523)]({'init':function(_0xbfa74e,_0x298857){const _0x42a456=_0x34b777;_0xbfa74e=this[_0x42a456(0x27e)]=_0xbfa74e||[],_0x298857!=_0x3f299d?this['sigBytes']=_0x298857:this[_0x42a456(0x4c0)]=_0xbfa74e[_0x42a456(0x58c)]*0x4;},'toString':function(_0x3816e3){const _0x2a7455=_0x34b777;return(_0x3816e3||_0xbb4173)[_0x2a7455(0x3e4)](this);},'concat':function(_0x446510){const _0x3693b7=_0x34b777;var _0x13c866=this[_0x3693b7(0x27e)],_0x48ece5=_0x446510['words'],_0x31235d=this[_0x3693b7(0x4c0)],_0x93525c=_0x446510[_0x3693b7(0x4c0)];if(this['clamp'](),_0x31235d%0x4)for(var _0x4d19b3=0x0;_0x4d19b3<_0x93525c;_0x4d19b3++){var _0x53f5b4=_0x48ece5[_0x4d19b3>>>0x2]>>>0x18-_0x4d19b3%0x4*0x8&0xff;_0x13c866[_0x31235d+_0x4d19b3>>>0x2]|=_0x53f5b4<<0x18-(_0x31235d+_0x4d19b3)%0x4*0x8;}else{for(var _0x3df266=0x0;_0x3df266<_0x93525c;_0x3df266+=0x4)_0x13c866[_0x31235d+_0x3df266>>>0x2]=_0x48ece5[_0x3df266>>>0x2];}return this[_0x3693b7(0x4c0)]+=_0x93525c,this;},'clamp':function(){const _0x17c4fb=_0x34b777;var _0xa0ed8b=this[_0x17c4fb(0x27e)],_0xe2e5df=this[_0x17c4fb(0x4c0)];_0xa0ed8b[_0xe2e5df>>>0x2]&=0xffffffff<<0x20-_0xe2e5df%0x4*0x8,_0xa0ed8b['length']=_0x1c1a73['ceil'](_0xe2e5df/0x4);},'clone':function(){const _0x848aef=_0x34b777;var _0x13af67=_0x3b0a2d[_0x848aef(0x1b9)][_0x848aef(0x420)](this);return _0x13af67[_0x848aef(0x27e)]=this[_0x848aef(0x27e)]['slice'](0x0),_0x13af67;},'random':function(_0x4b1b66){const _0x57f9ee=_0x34b777;for(var _0xeffddc=[],_0x43ee64=0x0;_0x43ee64<_0x4b1b66;_0x43ee64+=0x4)_0xeffddc['push'](_0x3dfce2());return new _0x14d975[(_0x57f9ee(0x475))](_0xeffddc,_0x4b1b66);}}),_0x135688=_0x23f42f['enc']={},_0xbb4173=_0x135688[_0x34b777(0x3a7)]={'stringify':function(_0x1a1a56){const _0x36a621=_0x34b777;for(var _0x96470f=_0x1a1a56[_0x36a621(0x27e)],_0x325dac=_0x1a1a56[_0x36a621(0x4c0)],_0x3242ee=[],_0x12e5b4=0x0;_0x12e5b4<_0x325dac;_0x12e5b4++){var _0x23e539=_0x96470f[_0x12e5b4>>>0x2]>>>0x18-_0x12e5b4%0x4*0x8&0xff;_0x3242ee[_0x36a621(0x473)]((_0x23e539>>>0x4)[_0x36a621(0x459)](0x10)),_0x3242ee[_0x36a621(0x473)]((_0x23e539&0xf)[_0x36a621(0x459)](0x10));}return _0x3242ee[_0x36a621(0x341)]('');},'parse':function(_0x2d12ba){const _0x44c7d2=_0x34b777;for(var _0x125a87=_0x2d12ba['length'],_0x5d2215=[],_0x5113bf=0x0;_0x5113bf<_0x125a87;_0x5113bf+=0x2)_0x5d2215[_0x5113bf>>>0x3]|=parseInt(_0x2d12ba[_0x44c7d2(0x652)](_0x5113bf,0x2),0x10)<<0x18-_0x5113bf%0x8*0x4;return new _0x14d975[(_0x44c7d2(0x475))](_0x5d2215,_0x125a87/0x2);}},_0x34846f=_0x135688['Latin1']={'stringify':function(_0x373e7d){const _0x1e08dc=_0x34b777;for(var _0x39ca67=_0x373e7d[_0x1e08dc(0x27e)],_0x50fdd3=_0x373e7d[_0x1e08dc(0x4c0)],_0x440311=[],_0x1fdfc0=0x0;_0x1fdfc0<_0x50fdd3;_0x1fdfc0++){var _0x5b2bf9=_0x39ca67[_0x1fdfc0>>>0x2]>>>0x18-_0x1fdfc0%0x4*0x8&0xff;_0x440311['push'](String[_0x1e08dc(0x408)](_0x5b2bf9));}return _0x440311[_0x1e08dc(0x341)]('');},'parse':function(_0x1f20c5){const _0x21ee4c=_0x34b777;for(var _0x2ade58=_0x1f20c5[_0x21ee4c(0x58c)],_0x1ed5a9=[],_0x456b03=0x0;_0x456b03<_0x2ade58;_0x456b03++)_0x1ed5a9[_0x456b03>>>0x2]|=(_0x1f20c5[_0x21ee4c(0x403)](_0x456b03)&0xff)<<0x18-_0x456b03%0x4*0x8;return new _0x14d975[(_0x21ee4c(0x475))](_0x1ed5a9,_0x2ade58);}},_0x5d98d0=_0x135688[_0x34b777(0x538)]={'stringify':function(_0x59a926){const _0x558919=_0x34b777;try{return decodeURIComponent(escape(_0x34846f[_0x558919(0x3e4)](_0x59a926)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x2d750d){const _0x1c877a=_0x34b777;return _0x34846f[_0x1c877a(0x223)](unescape(encodeURIComponent(_0x2d750d)));}},_0x22be2f=_0x118632[_0x34b777(0x656)]=_0x3b0a2d['extend']({'reset':function(){const _0x572e71=_0x34b777;this[_0x572e71(0x46a)]=new _0x14d975[(_0x572e71(0x475))](),this[_0x572e71(0x501)]=0x0;},'_append':function(_0x237a29){const _0x21b4cb=_0x34b777;typeof _0x237a29==_0x21b4cb(0x53c)&&(_0x237a29=_0x5d98d0[_0x21b4cb(0x223)](_0x237a29)),this['_data'][_0x21b4cb(0x3f0)](_0x237a29),this[_0x21b4cb(0x501)]+=_0x237a29['sigBytes'];},'_process':function(_0x4037b3){const _0x359655=_0x34b777;var _0x1999c7,_0x7a1eb5=this[_0x359655(0x46a)],_0x59ab84=_0x7a1eb5['words'],_0x5c12a4=_0x7a1eb5[_0x359655(0x4c0)],_0x140127=this[_0x359655(0x524)],_0x2c9cd7=_0x140127*0x4,_0x8bfc07=_0x5c12a4/_0x2c9cd7;_0x4037b3?_0x8bfc07=_0x1c1a73[_0x359655(0x397)](_0x8bfc07):_0x8bfc07=_0x1c1a73['max']((_0x8bfc07|0x0)-this[_0x359655(0x4b1)],0x0);var _0x51df5d=_0x8bfc07*_0x140127,_0x1e37c9=_0x1c1a73[_0x359655(0x269)](_0x51df5d*0x4,_0x5c12a4);if(_0x51df5d){for(var _0x1bbaf1=0x0;_0x1bbaf1<_0x51df5d;_0x1bbaf1+=_0x140127)this['_doProcessBlock'](_0x59ab84,_0x1bbaf1);_0x1999c7=_0x59ab84[_0x359655(0x2d3)](0x0,_0x51df5d),_0x7a1eb5[_0x359655(0x4c0)]-=_0x1e37c9;}return new _0x14d975['init'](_0x1999c7,_0x1e37c9);},'clone':function(){const _0x7503c8=_0x34b777;var _0x3d57a2=_0x3b0a2d[_0x7503c8(0x1b9)][_0x7503c8(0x420)](this);return _0x3d57a2['_data']=this['_data'][_0x7503c8(0x1b9)](),_0x3d57a2;},'_minBufferSize':0x0});_0x118632['Hasher']=_0x22be2f[_0x34b777(0x523)]({'cfg':_0x3b0a2d[_0x34b777(0x523)](),'init':function(_0x22bd71){const _0xbedea5=_0x34b777;this[_0xbedea5(0x53b)]=this[_0xbedea5(0x53b)][_0xbedea5(0x523)](_0x22bd71),this[_0xbedea5(0x4e2)]();},'reset':function(){const _0x380c1f=_0x34b777;_0x22be2f[_0x380c1f(0x4e2)][_0x380c1f(0x420)](this),this[_0x380c1f(0x279)]();},'update':function(_0x1805ff){const _0x3a12b5=_0x34b777;return this[_0x3a12b5(0x5fc)](_0x1805ff),this[_0x3a12b5(0x610)](),this;},'finalize':function(_0xec66b4){const _0x4242f0=_0x34b777;_0xec66b4&&this[_0x4242f0(0x5fc)](_0xec66b4);var _0x507043=this[_0x4242f0(0x431)]();return _0x507043;},'blockSize':0x10,'_createHelper':function(_0x5d6cbf){return function(_0x5c171f,_0x2ed90d){const _0x535f7c=_0x4762;return new _0x5d6cbf[(_0x535f7c(0x475))](_0x2ed90d)[_0x535f7c(0x1a2)](_0x5c171f);};},'_createHmacHelper':function(_0x525420){return function(_0x573f09,_0x16e04b){const _0x38fa69=_0x4762;return new _0x469b27['HMAC'][(_0x38fa69(0x475))](_0x525420,_0x16e04b)[_0x38fa69(0x1a2)](_0x573f09);};}});var _0x469b27=_0x23f42f[_0x34b777(0x5f4)]={};return _0x23f42f;}(Math);return _0x3fc56e;}));}(ct)),ct[_0x3bd2e8(0x1a9)];}var lt={'exports':{}},Vt;function On(){const _0x5b802a=_0x38c3ff;return Vt||(Vt=0x1,function(_0x3b4c7f,_0x250c08){(function(_0x3d85d1,_0x340dd0){const _0x228897=_0x4762;_0x3b4c7f[_0x228897(0x1a9)]=_0x340dd0(oe());}(X,function(_0x1e0a19){const _0x3f06d2=_0x4762;return(function(){const _0x2529f3=_0x4762;var _0xfebbf1=_0x1e0a19,_0x4ed2b2=_0xfebbf1[_0x2529f3(0x63c)],_0x2b6174=_0x4ed2b2[_0x2529f3(0x398)],_0x566467=_0xfebbf1[_0x2529f3(0x442)];_0x566467[_0x2529f3(0x1ce)]={'stringify':function(_0x134a14){const _0x462c72=_0x2529f3;var _0x16b8ea=_0x134a14['words'],_0x2edb68=_0x134a14['sigBytes'],_0x2074aa=this[_0x462c72(0x4f0)];_0x134a14['clamp']();for(var _0x41f571=[],_0x2b09bd=0x0;_0x2b09bd<_0x2edb68;_0x2b09bd+=0x3)for(var _0x5acaaf=_0x16b8ea[_0x2b09bd>>>0x2]>>>0x18-_0x2b09bd%0x4*0x8&0xff,_0x4583bd=_0x16b8ea[_0x2b09bd+0x1>>>0x2]>>>0x18-(_0x2b09bd+0x1)%0x4*0x8&0xff,_0xbd4081=_0x16b8ea[_0x2b09bd+0x2>>>0x2]>>>0x18-(_0x2b09bd+0x2)%0x4*0x8&0xff,_0x2aa865=_0x5acaaf<<0x10|_0x4583bd<<0x8|_0xbd4081,_0x30c0f7=0x0;_0x30c0f7<0x4&&_0x2b09bd+_0x30c0f7*0.75<_0x2edb68;_0x30c0f7++)_0x41f571['push'](_0x2074aa[_0x462c72(0x362)](_0x2aa865>>>0x6*(0x3-_0x30c0f7)&0x3f));var _0x2fb34e=_0x2074aa[_0x462c72(0x362)](0x40);if(_0x2fb34e){for(;_0x41f571[_0x462c72(0x58c)]%0x4;)_0x41f571[_0x462c72(0x473)](_0x2fb34e);}return _0x41f571[_0x462c72(0x341)]('');},'parse':function(_0xe40561){const _0x405ab2=_0x2529f3;var _0x1c2f16=_0xe40561[_0x405ab2(0x58c)],_0x3e4eac=this[_0x405ab2(0x4f0)],_0x2a9f00=this[_0x405ab2(0x5ab)];if(!_0x2a9f00){_0x2a9f00=this[_0x405ab2(0x5ab)]=[];for(var _0x44909d=0x0;_0x44909d<_0x3e4eac['length'];_0x44909d++)_0x2a9f00[_0x3e4eac['charCodeAt'](_0x44909d)]=_0x44909d;}var _0x50e43b=_0x3e4eac['charAt'](0x40);if(_0x50e43b){var _0x4cc8c1=_0xe40561['indexOf'](_0x50e43b);_0x4cc8c1!==-0x1&&(_0x1c2f16=_0x4cc8c1);}return _0x107057(_0xe40561,_0x1c2f16,_0x2a9f00);},'_map':_0x2529f3(0x5cb)};function _0x107057(_0x274208,_0x2ea53d,_0x20762b){const _0x424358=_0x2529f3;for(var _0x1bf2ff=[],_0x10fb40=0x0,_0xa2c7fa=0x0;_0xa2c7fa<_0x2ea53d;_0xa2c7fa++)if(_0xa2c7fa%0x4){var _0x37a3ae=_0x20762b[_0x274208[_0x424358(0x403)](_0xa2c7fa-0x1)]<<_0xa2c7fa%0x4*0x2,_0x4be7cc=_0x20762b[_0x274208[_0x424358(0x403)](_0xa2c7fa)]>>>0x6-_0xa2c7fa%0x4*0x2,_0x2dafb4=_0x37a3ae|_0x4be7cc;_0x1bf2ff[_0x10fb40>>>0x2]|=_0x2dafb4<<0x18-_0x10fb40%0x4*0x8,_0x10fb40++;}return _0x2b6174['create'](_0x1bf2ff,_0x10fb40);}}()),_0x1e0a19[_0x3f06d2(0x442)][_0x3f06d2(0x1ce)];}));}(lt)),lt[_0x5b802a(0x1a9)];}var ht={'exports':{}},Gt;function ar(){const _0x3f2b80=_0x38c3ff;return Gt||(Gt=0x1,function(_0x5f1cae,_0x1f23fa){(function(_0x10b32a,_0x373d83){const _0x56deac=_0x4762;_0x5f1cae[_0x56deac(0x1a9)]=_0x373d83(oe());}(X,function(_0x5c6706){const _0x569d82=_0x4762;return function(_0x3948d4){const _0x1a6523=_0x4762;var _0x324ef7=_0x5c6706,_0x20d966=_0x324ef7[_0x1a6523(0x63c)],_0x2027e1=_0x20d966[_0x1a6523(0x398)],_0x2a027f=_0x20d966[_0x1a6523(0x52b)],_0x58481e=_0x324ef7[_0x1a6523(0x5f4)],_0x50806c=[];(function(){const _0x480c43=_0x1a6523;for(var _0x56bcbf=0x0;_0x56bcbf<0x40;_0x56bcbf++)_0x50806c[_0x56bcbf]=_0x3948d4[_0x480c43(0x54c)](_0x3948d4[_0x480c43(0x24d)](_0x56bcbf+0x1))*0x100000000|0x0;}());var _0x24b4b1=_0x58481e[_0x1a6523(0x5b6)]=_0x2a027f[_0x1a6523(0x523)]({'_doReset':function(){const _0x4eaa7d=_0x1a6523;this[_0x4eaa7d(0x4f4)]=new _0x2027e1[(_0x4eaa7d(0x475))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x37245e,_0x7b888f){const _0x486387=_0x1a6523;for(var _0x2f1df0=0x0;_0x2f1df0<0x10;_0x2f1df0++){var _0x33ab65=_0x7b888f+_0x2f1df0,_0x3c857d=_0x37245e[_0x33ab65];_0x37245e[_0x33ab65]=(_0x3c857d<<0x8|_0x3c857d>>>0x18)&0xff00ff|(_0x3c857d<<0x18|_0x3c857d>>>0x8)&0xff00ff00;}var _0x316e6c=this[_0x486387(0x4f4)][_0x486387(0x27e)],_0x4770d3=_0x37245e[_0x7b888f+0x0],_0x222f67=_0x37245e[_0x7b888f+0x1],_0x1b05a9=_0x37245e[_0x7b888f+0x2],_0x92824c=_0x37245e[_0x7b888f+0x3],_0x2e11cc=_0x37245e[_0x7b888f+0x4],_0x35fbc4=_0x37245e[_0x7b888f+0x5],_0x21f2e5=_0x37245e[_0x7b888f+0x6],_0x3aa915=_0x37245e[_0x7b888f+0x7],_0x52d573=_0x37245e[_0x7b888f+0x8],_0x243238=_0x37245e[_0x7b888f+0x9],_0x67795a=_0x37245e[_0x7b888f+0xa],_0xf930fa=_0x37245e[_0x7b888f+0xb],_0xc1465b=_0x37245e[_0x7b888f+0xc],_0x1e5d7b=_0x37245e[_0x7b888f+0xd],_0x5490cd=_0x37245e[_0x7b888f+0xe],_0x454a80=_0x37245e[_0x7b888f+0xf],_0x2dd43b=_0x316e6c[0x0],_0x516517=_0x316e6c[0x1],_0x300def=_0x316e6c[0x2],_0x4a1dde=_0x316e6c[0x3];_0x2dd43b=_0x4142cc(_0x2dd43b,_0x516517,_0x300def,_0x4a1dde,_0x4770d3,0x7,_0x50806c[0x0]),_0x4a1dde=_0x4142cc(_0x4a1dde,_0x2dd43b,_0x516517,_0x300def,_0x222f67,0xc,_0x50806c[0x1]),_0x300def=_0x4142cc(_0x300def,_0x4a1dde,_0x2dd43b,_0x516517,_0x1b05a9,0x11,_0x50806c[0x2]),_0x516517=_0x4142cc(_0x516517,_0x300def,_0x4a1dde,_0x2dd43b,_0x92824c,0x16,_0x50806c[0x3]),_0x2dd43b=_0x4142cc(_0x2dd43b,_0x516517,_0x300def,_0x4a1dde,_0x2e11cc,0x7,_0x50806c[0x4]),_0x4a1dde=_0x4142cc(_0x4a1dde,_0x2dd43b,_0x516517,_0x300def,_0x35fbc4,0xc,_0x50806c[0x5]),_0x300def=_0x4142cc(_0x300def,_0x4a1dde,_0x2dd43b,_0x516517,_0x21f2e5,0x11,_0x50806c[0x6]),_0x516517=_0x4142cc(_0x516517,_0x300def,_0x4a1dde,_0x2dd43b,_0x3aa915,0x16,_0x50806c[0x7]),_0x2dd43b=_0x4142cc(_0x2dd43b,_0x516517,_0x300def,_0x4a1dde,_0x52d573,0x7,_0x50806c[0x8]),_0x4a1dde=_0x4142cc(_0x4a1dde,_0x2dd43b,_0x516517,_0x300def,_0x243238,0xc,_0x50806c[0x9]),_0x300def=_0x4142cc(_0x300def,_0x4a1dde,_0x2dd43b,_0x516517,_0x67795a,0x11,_0x50806c[0xa]),_0x516517=_0x4142cc(_0x516517,_0x300def,_0x4a1dde,_0x2dd43b,_0xf930fa,0x16,_0x50806c[0xb]),_0x2dd43b=_0x4142cc(_0x2dd43b,_0x516517,_0x300def,_0x4a1dde,_0xc1465b,0x7,_0x50806c[0xc]),_0x4a1dde=_0x4142cc(_0x4a1dde,_0x2dd43b,_0x516517,_0x300def,_0x1e5d7b,0xc,_0x50806c[0xd]),_0x300def=_0x4142cc(_0x300def,_0x4a1dde,_0x2dd43b,_0x516517,_0x5490cd,0x11,_0x50806c[0xe]),_0x516517=_0x4142cc(_0x516517,_0x300def,_0x4a1dde,_0x2dd43b,_0x454a80,0x16,_0x50806c[0xf]),_0x2dd43b=_0x3f1cf6(_0x2dd43b,_0x516517,_0x300def,_0x4a1dde,_0x222f67,0x5,_0x50806c[0x10]),_0x4a1dde=_0x3f1cf6(_0x4a1dde,_0x2dd43b,_0x516517,_0x300def,_0x21f2e5,0x9,_0x50806c[0x11]),_0x300def=_0x3f1cf6(_0x300def,_0x4a1dde,_0x2dd43b,_0x516517,_0xf930fa,0xe,_0x50806c[0x12]),_0x516517=_0x3f1cf6(_0x516517,_0x300def,_0x4a1dde,_0x2dd43b,_0x4770d3,0x14,_0x50806c[0x13]),_0x2dd43b=_0x3f1cf6(_0x2dd43b,_0x516517,_0x300def,_0x4a1dde,_0x35fbc4,0x5,_0x50806c[0x14]),_0x4a1dde=_0x3f1cf6(_0x4a1dde,_0x2dd43b,_0x516517,_0x300def,_0x67795a,0x9,_0x50806c[0x15]),_0x300def=_0x3f1cf6(_0x300def,_0x4a1dde,_0x2dd43b,_0x516517,_0x454a80,0xe,_0x50806c[0x16]),_0x516517=_0x3f1cf6(_0x516517,_0x300def,_0x4a1dde,_0x2dd43b,_0x2e11cc,0x14,_0x50806c[0x17]),_0x2dd43b=_0x3f1cf6(_0x2dd43b,_0x516517,_0x300def,_0x4a1dde,_0x243238,0x5,_0x50806c[0x18]),_0x4a1dde=_0x3f1cf6(_0x4a1dde,_0x2dd43b,_0x516517,_0x300def,_0x5490cd,0x9,_0x50806c[0x19]),_0x300def=_0x3f1cf6(_0x300def,_0x4a1dde,_0x2dd43b,_0x516517,_0x92824c,0xe,_0x50806c[0x1a]),_0x516517=_0x3f1cf6(_0x516517,_0x300def,_0x4a1dde,_0x2dd43b,_0x52d573,0x14,_0x50806c[0x1b]),_0x2dd43b=_0x3f1cf6(_0x2dd43b,_0x516517,_0x300def,_0x4a1dde,_0x1e5d7b,0x5,_0x50806c[0x1c]),_0x4a1dde=_0x3f1cf6(_0x4a1dde,_0x2dd43b,_0x516517,_0x300def,_0x1b05a9,0x9,_0x50806c[0x1d]),_0x300def=_0x3f1cf6(_0x300def,_0x4a1dde,_0x2dd43b,_0x516517,_0x3aa915,0xe,_0x50806c[0x1e]),_0x516517=_0x3f1cf6(_0x516517,_0x300def,_0x4a1dde,_0x2dd43b,_0xc1465b,0x14,_0x50806c[0x1f]),_0x2dd43b=_0x5ec5f3(_0x2dd43b,_0x516517,_0x300def,_0x4a1dde,_0x35fbc4,0x4,_0x50806c[0x20]),_0x4a1dde=_0x5ec5f3(_0x4a1dde,_0x2dd43b,_0x516517,_0x300def,_0x52d573,0xb,_0x50806c[0x21]),_0x300def=_0x5ec5f3(_0x300def,_0x4a1dde,_0x2dd43b,_0x516517,_0xf930fa,0x10,_0x50806c[0x22]),_0x516517=_0x5ec5f3(_0x516517,_0x300def,_0x4a1dde,_0x2dd43b,_0x5490cd,0x17,_0x50806c[0x23]),_0x2dd43b=_0x5ec5f3(_0x2dd43b,_0x516517,_0x300def,_0x4a1dde,_0x222f67,0x4,_0x50806c[0x24]),_0x4a1dde=_0x5ec5f3(_0x4a1dde,_0x2dd43b,_0x516517,_0x300def,_0x2e11cc,0xb,_0x50806c[0x25]),_0x300def=_0x5ec5f3(_0x300def,_0x4a1dde,_0x2dd43b,_0x516517,_0x3aa915,0x10,_0x50806c[0x26]),_0x516517=_0x5ec5f3(_0x516517,_0x300def,_0x4a1dde,_0x2dd43b,_0x67795a,0x17,_0x50806c[0x27]),_0x2dd43b=_0x5ec5f3(_0x2dd43b,_0x516517,_0x300def,_0x4a1dde,_0x1e5d7b,0x4,_0x50806c[0x28]),_0x4a1dde=_0x5ec5f3(_0x4a1dde,_0x2dd43b,_0x516517,_0x300def,_0x4770d3,0xb,_0x50806c[0x29]),_0x300def=_0x5ec5f3(_0x300def,_0x4a1dde,_0x2dd43b,_0x516517,_0x92824c,0x10,_0x50806c[0x2a]),_0x516517=_0x5ec5f3(_0x516517,_0x300def,_0x4a1dde,_0x2dd43b,_0x21f2e5,0x17,_0x50806c[0x2b]),_0x2dd43b=_0x5ec5f3(_0x2dd43b,_0x516517,_0x300def,_0x4a1dde,_0x243238,0x4,_0x50806c[0x2c]),_0x4a1dde=_0x5ec5f3(_0x4a1dde,_0x2dd43b,_0x516517,_0x300def,_0xc1465b,0xb,_0x50806c[0x2d]),_0x300def=_0x5ec5f3(_0x300def,_0x4a1dde,_0x2dd43b,_0x516517,_0x454a80,0x10,_0x50806c[0x2e]),_0x516517=_0x5ec5f3(_0x516517,_0x300def,_0x4a1dde,_0x2dd43b,_0x1b05a9,0x17,_0x50806c[0x2f]),_0x2dd43b=_0x1e28dc(_0x2dd43b,_0x516517,_0x300def,_0x4a1dde,_0x4770d3,0x6,_0x50806c[0x30]),_0x4a1dde=_0x1e28dc(_0x4a1dde,_0x2dd43b,_0x516517,_0x300def,_0x3aa915,0xa,_0x50806c[0x31]),_0x300def=_0x1e28dc(_0x300def,_0x4a1dde,_0x2dd43b,_0x516517,_0x5490cd,0xf,_0x50806c[0x32]),_0x516517=_0x1e28dc(_0x516517,_0x300def,_0x4a1dde,_0x2dd43b,_0x35fbc4,0x15,_0x50806c[0x33]),_0x2dd43b=_0x1e28dc(_0x2dd43b,_0x516517,_0x300def,_0x4a1dde,_0xc1465b,0x6,_0x50806c[0x34]),_0x4a1dde=_0x1e28dc(_0x4a1dde,_0x2dd43b,_0x516517,_0x300def,_0x92824c,0xa,_0x50806c[0x35]),_0x300def=_0x1e28dc(_0x300def,_0x4a1dde,_0x2dd43b,_0x516517,_0x67795a,0xf,_0x50806c[0x36]),_0x516517=_0x1e28dc(_0x516517,_0x300def,_0x4a1dde,_0x2dd43b,_0x222f67,0x15,_0x50806c[0x37]),_0x2dd43b=_0x1e28dc(_0x2dd43b,_0x516517,_0x300def,_0x4a1dde,_0x52d573,0x6,_0x50806c[0x38]),_0x4a1dde=_0x1e28dc(_0x4a1dde,_0x2dd43b,_0x516517,_0x300def,_0x454a80,0xa,_0x50806c[0x39]),_0x300def=_0x1e28dc(_0x300def,_0x4a1dde,_0x2dd43b,_0x516517,_0x21f2e5,0xf,_0x50806c[0x3a]),_0x516517=_0x1e28dc(_0x516517,_0x300def,_0x4a1dde,_0x2dd43b,_0x1e5d7b,0x15,_0x50806c[0x3b]),_0x2dd43b=_0x1e28dc(_0x2dd43b,_0x516517,_0x300def,_0x4a1dde,_0x2e11cc,0x6,_0x50806c[0x3c]),_0x4a1dde=_0x1e28dc(_0x4a1dde,_0x2dd43b,_0x516517,_0x300def,_0xf930fa,0xa,_0x50806c[0x3d]),_0x300def=_0x1e28dc(_0x300def,_0x4a1dde,_0x2dd43b,_0x516517,_0x1b05a9,0xf,_0x50806c[0x3e]),_0x516517=_0x1e28dc(_0x516517,_0x300def,_0x4a1dde,_0x2dd43b,_0x243238,0x15,_0x50806c[0x3f]),_0x316e6c[0x0]=_0x316e6c[0x0]+_0x2dd43b|0x0,_0x316e6c[0x1]=_0x316e6c[0x1]+_0x516517|0x0,_0x316e6c[0x2]=_0x316e6c[0x2]+_0x300def|0x0,_0x316e6c[0x3]=_0x316e6c[0x3]+_0x4a1dde|0x0;},'_doFinalize':function(){const _0x5573b8=_0x1a6523;var _0x3fbd35=this[_0x5573b8(0x46a)],_0x7ad4fb=_0x3fbd35[_0x5573b8(0x27e)],_0x1c45e8=this[_0x5573b8(0x501)]*0x8,_0x3ca257=_0x3fbd35[_0x5573b8(0x4c0)]*0x8;_0x7ad4fb[_0x3ca257>>>0x5]|=0x80<<0x18-_0x3ca257%0x20;var _0x559b2a=_0x3948d4[_0x5573b8(0x35b)](_0x1c45e8/0x100000000),_0x3f1b48=_0x1c45e8;_0x7ad4fb[(_0x3ca257+0x40>>>0x9<<0x4)+0xf]=(_0x559b2a<<0x8|_0x559b2a>>>0x18)&0xff00ff|(_0x559b2a<<0x18|_0x559b2a>>>0x8)&0xff00ff00,_0x7ad4fb[(_0x3ca257+0x40>>>0x9<<0x4)+0xe]=(_0x3f1b48<<0x8|_0x3f1b48>>>0x18)&0xff00ff|(_0x3f1b48<<0x18|_0x3f1b48>>>0x8)&0xff00ff00,_0x3fbd35[_0x5573b8(0x4c0)]=(_0x7ad4fb[_0x5573b8(0x58c)]+0x1)*0x4,this[_0x5573b8(0x610)]();for(var _0x10ee23=this[_0x5573b8(0x4f4)],_0x4300a1=_0x10ee23['words'],_0x31eaa6=0x0;_0x31eaa6<0x4;_0x31eaa6++){var _0x388a46=_0x4300a1[_0x31eaa6];_0x4300a1[_0x31eaa6]=(_0x388a46<<0x8|_0x388a46>>>0x18)&0xff00ff|(_0x388a46<<0x18|_0x388a46>>>0x8)&0xff00ff00;}return _0x10ee23;},'clone':function(){const _0x535b33=_0x1a6523;var _0x3c9127=_0x2a027f[_0x535b33(0x1b9)][_0x535b33(0x420)](this);return _0x3c9127[_0x535b33(0x4f4)]=this[_0x535b33(0x4f4)][_0x535b33(0x1b9)](),_0x3c9127;}});function _0x4142cc(_0x47ca30,_0xa1f3dd,_0x25edbf,_0x41346b,_0x55d0f4,_0x5ecbad,_0x3cc67f){var _0x1fc0c2=_0x47ca30+(_0xa1f3dd&_0x25edbf|~_0xa1f3dd&_0x41346b)+_0x55d0f4+_0x3cc67f;return(_0x1fc0c2<<_0x5ecbad|_0x1fc0c2>>>0x20-_0x5ecbad)+_0xa1f3dd;}function _0x3f1cf6(_0x535b5d,_0x2eb0d0,_0x909252,_0x5b67ed,_0x2991c2,_0x1d0ba6,_0xb1346c){var _0x553b43=_0x535b5d+(_0x2eb0d0&_0x5b67ed|_0x909252&~_0x5b67ed)+_0x2991c2+_0xb1346c;return(_0x553b43<<_0x1d0ba6|_0x553b43>>>0x20-_0x1d0ba6)+_0x2eb0d0;}function _0x5ec5f3(_0x169fce,_0x5d207a,_0x391317,_0x987c00,_0x33699d,_0x5e94c0,_0x446143){var _0x4b6199=_0x169fce+(_0x5d207a^_0x391317^_0x987c00)+_0x33699d+_0x446143;return(_0x4b6199<<_0x5e94c0|_0x4b6199>>>0x20-_0x5e94c0)+_0x5d207a;}function _0x1e28dc(_0x58d963,_0xcac535,_0x31d58e,_0x5c17c5,_0x12790e,_0x4211a3,_0x3e6bb5){var _0xa0e073=_0x58d963+(_0x31d58e^(_0xcac535|~_0x5c17c5))+_0x12790e+_0x3e6bb5;return(_0xa0e073<<_0x4211a3|_0xa0e073>>>0x20-_0x4211a3)+_0xcac535;}_0x324ef7[_0x1a6523(0x5b6)]=_0x2a027f['_createHelper'](_0x24b4b1),_0x324ef7[_0x1a6523(0x37e)]=_0x2a027f[_0x1a6523(0x536)](_0x24b4b1);}(Math),_0x5c6706[_0x569d82(0x5b6)];}));}(ht)),ht[_0x3f2b80(0x1a9)];}var _t={'exports':{}},ut={'exports':{}},Yt;function cr(){const _0x374152=_0x38c3ff;return Yt||(Yt=0x1,function(_0x545b39,_0xf396b7){(function(_0x403dc0,_0x1a8d9f){const _0x5bff03=_0x4762;_0x545b39[_0x5bff03(0x1a9)]=_0x1a8d9f(oe());}(X,function(_0x20e64e){const _0x2b3b10=_0x4762;return(function(){const _0x4c2fb0=_0x4762;var _0x2b30bd=_0x20e64e,_0x5885ca=_0x2b30bd['lib'],_0x29d29a=_0x5885ca['WordArray'],_0x3b4e46=_0x5885ca[_0x4c2fb0(0x52b)],_0x225c06=_0x2b30bd[_0x4c2fb0(0x5f4)],_0x440ebe=[],_0x43d997=_0x225c06[_0x4c2fb0(0x648)]=_0x3b4e46[_0x4c2fb0(0x523)]({'_doReset':function(){const _0x446864=_0x4c2fb0;this['_hash']=new _0x29d29a[(_0x446864(0x475))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x375693,_0x1e0d3e){const _0x5ab217=_0x4c2fb0;for(var _0x839065=this[_0x5ab217(0x4f4)][_0x5ab217(0x27e)],_0x58cabb=_0x839065[0x0],_0x55b4f8=_0x839065[0x1],_0x529ddd=_0x839065[0x2],_0x4e42dd=_0x839065[0x3],_0x9356d2=_0x839065[0x4],_0x5c3322=0x0;_0x5c3322<0x50;_0x5c3322++){if(_0x5c3322<0x10)_0x440ebe[_0x5c3322]=_0x375693[_0x1e0d3e+_0x5c3322]|0x0;else{var _0x4fd50b=_0x440ebe[_0x5c3322-0x3]^_0x440ebe[_0x5c3322-0x8]^_0x440ebe[_0x5c3322-0xe]^_0x440ebe[_0x5c3322-0x10];_0x440ebe[_0x5c3322]=_0x4fd50b<<0x1|_0x4fd50b>>>0x1f;}var _0x46b5d0=(_0x58cabb<<0x5|_0x58cabb>>>0x1b)+_0x9356d2+_0x440ebe[_0x5c3322];_0x5c3322<0x14?_0x46b5d0+=(_0x55b4f8&_0x529ddd|~_0x55b4f8&_0x4e42dd)+0x5a827999:_0x5c3322<0x28?_0x46b5d0+=(_0x55b4f8^_0x529ddd^_0x4e42dd)+0x6ed9eba1:_0x5c3322<0x3c?_0x46b5d0+=(_0x55b4f8&_0x529ddd|_0x55b4f8&_0x4e42dd|_0x529ddd&_0x4e42dd)-0x70e44324:_0x46b5d0+=(_0x55b4f8^_0x529ddd^_0x4e42dd)-0x359d3e2a,_0x9356d2=_0x4e42dd,_0x4e42dd=_0x529ddd,_0x529ddd=_0x55b4f8<<0x1e|_0x55b4f8>>>0x2,_0x55b4f8=_0x58cabb,_0x58cabb=_0x46b5d0;}_0x839065[0x0]=_0x839065[0x0]+_0x58cabb|0x0,_0x839065[0x1]=_0x839065[0x1]+_0x55b4f8|0x0,_0x839065[0x2]=_0x839065[0x2]+_0x529ddd|0x0,_0x839065[0x3]=_0x839065[0x3]+_0x4e42dd|0x0,_0x839065[0x4]=_0x839065[0x4]+_0x9356d2|0x0;},'_doFinalize':function(){const _0x5dc91f=_0x4c2fb0;var _0x188c0e=this[_0x5dc91f(0x46a)],_0x1321ba=_0x188c0e['words'],_0xaa60e=this[_0x5dc91f(0x501)]*0x8,_0x558aa3=_0x188c0e[_0x5dc91f(0x4c0)]*0x8;return _0x1321ba[_0x558aa3>>>0x5]|=0x80<<0x18-_0x558aa3%0x20,_0x1321ba[(_0x558aa3+0x40>>>0x9<<0x4)+0xe]=Math[_0x5dc91f(0x35b)](_0xaa60e/0x100000000),_0x1321ba[(_0x558aa3+0x40>>>0x9<<0x4)+0xf]=_0xaa60e,_0x188c0e['sigBytes']=_0x1321ba[_0x5dc91f(0x58c)]*0x4,this[_0x5dc91f(0x610)](),this[_0x5dc91f(0x4f4)];},'clone':function(){const _0x384473=_0x4c2fb0;var _0x2d7876=_0x3b4e46[_0x384473(0x1b9)][_0x384473(0x420)](this);return _0x2d7876[_0x384473(0x4f4)]=this[_0x384473(0x4f4)][_0x384473(0x1b9)](),_0x2d7876;}});_0x2b30bd[_0x4c2fb0(0x648)]=_0x3b4e46[_0x4c2fb0(0x241)](_0x43d997),_0x2b30bd[_0x4c2fb0(0x645)]=_0x3b4e46['_createHmacHelper'](_0x43d997);}()),_0x20e64e[_0x2b3b10(0x648)];}));}(ut)),ut[_0x374152(0x1a9)];}var dt={'exports':{}},Kt;function lr(){return Kt||(Kt=0x1,function(_0xe05371,_0x5a2dd9){(function(_0x2752a1,_0x50ac9c){const _0x952d8b=_0x4762;_0xe05371[_0x952d8b(0x1a9)]=_0x50ac9c(oe());}(X,function(_0x3e1d54){(function(){const _0x2ba244=_0x4762;var _0x3b1b60=_0x3e1d54,_0x2f1407=_0x3b1b60[_0x2ba244(0x63c)],_0x74f421=_0x2f1407[_0x2ba244(0x4ba)],_0xef7080=_0x3b1b60[_0x2ba244(0x442)],_0x19c508=_0xef7080[_0x2ba244(0x538)],_0x378aa8=_0x3b1b60[_0x2ba244(0x5f4)];_0x378aa8[_0x2ba244(0x603)]=_0x74f421['extend']({'init':function(_0x2b3be4,_0x2f3f85){const _0x3889c2=_0x2ba244;_0x2b3be4=this[_0x3889c2(0x21c)]=new _0x2b3be4['init'](),typeof _0x2f3f85==_0x3889c2(0x53c)&&(_0x2f3f85=_0x19c508['parse'](_0x2f3f85));var _0x5693e1=_0x2b3be4[_0x3889c2(0x524)],_0x145456=_0x5693e1*0x4;_0x2f3f85[_0x3889c2(0x4c0)]>_0x145456&&(_0x2f3f85=_0x2b3be4[_0x3889c2(0x1a2)](_0x2f3f85)),_0x2f3f85['clamp']();for(var _0x149879=this['_oKey']=_0x2f3f85[_0x3889c2(0x1b9)](),_0x365ab0=this[_0x3889c2(0x511)]=_0x2f3f85['clone'](),_0x12b95a=_0x149879['words'],_0x1022f5=_0x365ab0['words'],_0x244d9b=0x0;_0x244d9b<_0x5693e1;_0x244d9b++)_0x12b95a[_0x244d9b]^=0x5c5c5c5c,_0x1022f5[_0x244d9b]^=0x36363636;_0x149879[_0x3889c2(0x4c0)]=_0x365ab0[_0x3889c2(0x4c0)]=_0x145456,this[_0x3889c2(0x4e2)]();},'reset':function(){const _0x38e92a=_0x2ba244;var _0x1efc73=this[_0x38e92a(0x21c)];_0x1efc73[_0x38e92a(0x4e2)](),_0x1efc73['update'](this[_0x38e92a(0x511)]);},'update':function(_0x321717){const _0x14a9fb=_0x2ba244;return this[_0x14a9fb(0x21c)]['update'](_0x321717),this;},'finalize':function(_0x28ca85){const _0x57ecfe=_0x2ba244;var _0xfee1b9=this[_0x57ecfe(0x21c)],_0x443089=_0xfee1b9[_0x57ecfe(0x1a2)](_0x28ca85);_0xfee1b9[_0x57ecfe(0x4e2)]();var _0x41d371=_0xfee1b9['finalize'](this[_0x57ecfe(0x5ef)][_0x57ecfe(0x1b9)]()[_0x57ecfe(0x3f0)](_0x443089));return _0x41d371;}});}());}));}(dt)),dt['exports'];}var qt;function Dn(){const _0x1a5c15=_0x38c3ff;return qt||(qt=0x1,function(_0x51c247,_0x5760af){(function(_0x47b396,_0x199e08,_0x613382){_0x51c247['exports']=_0x199e08(oe(),cr(),lr());}(X,function(_0x101484){const _0x3029fd=_0x4762;return(function(){const _0x147022=_0x4762;var _0x3ba604=_0x101484,_0x246c18=_0x3ba604[_0x147022(0x63c)],_0x32ee49=_0x246c18[_0x147022(0x4ba)],_0x2c6ff0=_0x246c18['WordArray'],_0x5ca1cf=_0x3ba604['algo'],_0x53258e=_0x5ca1cf[_0x147022(0x5b6)],_0x24caee=_0x5ca1cf[_0x147022(0x5f1)]=_0x32ee49[_0x147022(0x523)]({'cfg':_0x32ee49[_0x147022(0x523)]({'keySize':0x80/0x20,'hasher':_0x53258e,'iterations':0x1}),'init':function(_0x155974){const _0x362d7f=_0x147022;this[_0x362d7f(0x53b)]=this[_0x362d7f(0x53b)][_0x362d7f(0x523)](_0x155974);},'compute':function(_0x4a11dc,_0x108674){const _0x211c1f=_0x147022;for(var _0x12b952,_0x149b47=this[_0x211c1f(0x53b)],_0x16fbd2=_0x149b47[_0x211c1f(0x303)][_0x211c1f(0x43e)](),_0x3dc0de=_0x2c6ff0['create'](),_0x26fb1c=_0x3dc0de[_0x211c1f(0x27e)],_0x4f99df=_0x149b47[_0x211c1f(0x20e)],_0x26255e=_0x149b47['iterations'];_0x26fb1c[_0x211c1f(0x58c)]<_0x4f99df;){_0x12b952&&_0x16fbd2[_0x211c1f(0x619)](_0x12b952),_0x12b952=_0x16fbd2['update'](_0x4a11dc)['finalize'](_0x108674),_0x16fbd2[_0x211c1f(0x4e2)]();for(var _0x525d79=0x1;_0x525d79<_0x26255e;_0x525d79++)_0x12b952=_0x16fbd2[_0x211c1f(0x1a2)](_0x12b952),_0x16fbd2[_0x211c1f(0x4e2)]();_0x3dc0de[_0x211c1f(0x3f0)](_0x12b952);}return _0x3dc0de[_0x211c1f(0x4c0)]=_0x4f99df*0x4,_0x3dc0de;}});_0x3ba604[_0x147022(0x5f1)]=function(_0x3f8828,_0x41bc83,_0x1adcaf){const _0x3e6823=_0x147022;return _0x24caee['create'](_0x1adcaf)[_0x3e6823(0x1f0)](_0x3f8828,_0x41bc83);};}()),_0x101484[_0x3029fd(0x5f1)];}));}(_t)),_t[_0x1a5c15(0x1a9)];}var ft={'exports':{}},zt;function wn(){const _0x2e4220=_0x38c3ff;return zt||(zt=0x1,function(_0x65226d,_0xd91f95){(function(_0x4d0155,_0x2d087b,_0x291728){const _0x2b69ab=_0x4762;_0x65226d[_0x2b69ab(0x1a9)]=_0x2d087b(oe(),Dn());}(X,function(_0x33a122){const _0x44cc12=_0x4762;_0x33a122[_0x44cc12(0x63c)][_0x44cc12(0x44a)]||function(_0x82dc8a){const _0x108036=_0x44cc12;var _0x57762=_0x33a122,_0x110103=_0x57762['lib'],_0x4017a2=_0x110103[_0x108036(0x4ba)],_0x99752=_0x110103[_0x108036(0x398)],_0x5834f6=_0x110103['BufferedBlockAlgorithm'],_0x9680c0=_0x57762[_0x108036(0x442)];_0x9680c0[_0x108036(0x538)];var _0x2dd935=_0x9680c0[_0x108036(0x1ce)],_0x37e481=_0x57762[_0x108036(0x5f4)],_0x394fcd=_0x37e481[_0x108036(0x5f1)],_0x3c443a=_0x110103[_0x108036(0x44a)]=_0x5834f6[_0x108036(0x523)]({'cfg':_0x4017a2['extend'](),'createEncryptor':function(_0x582546,_0x274eba){const _0x2329fc=_0x108036;return this['create'](this[_0x2329fc(0x1fc)],_0x582546,_0x274eba);},'createDecryptor':function(_0x2ab9c4,_0xd0ff98){return this['create'](this['_DEC_XFORM_MODE'],_0x2ab9c4,_0xd0ff98);},'init':function(_0x5d15f5,_0x32bde8,_0x4faac7){const _0x567039=_0x108036;this[_0x567039(0x53b)]=this[_0x567039(0x53b)][_0x567039(0x523)](_0x4faac7),this[_0x567039(0x394)]=_0x5d15f5,this['_key']=_0x32bde8,this['reset']();},'reset':function(){const _0x52d2=_0x108036;_0x5834f6['reset'][_0x52d2(0x420)](this),this['_doReset']();},'process':function(_0x24c377){return this['_append'](_0x24c377),this['_process']();},'finalize':function(_0x4e2cae){const _0x24fd0a=_0x108036;_0x4e2cae&&this[_0x24fd0a(0x5fc)](_0x4e2cae);var _0x137275=this[_0x24fd0a(0x431)]();return _0x137275;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x149f7a(_0xccaece){return typeof _0xccaece=='string'?_0x226f3c:_0x395a67;}return function(_0x206245){return{'encrypt':function(_0x26da27,_0x260b0c,_0x4834a3){return _0x149f7a(_0x260b0c)['encrypt'](_0x206245,_0x26da27,_0x260b0c,_0x4834a3);},'decrypt':function(_0x503a38,_0x5796b9,_0x12ffaa){const _0xa4c2b1=_0x4762;return _0x149f7a(_0x5796b9)[_0xa4c2b1(0x2c2)](_0x206245,_0x503a38,_0x5796b9,_0x12ffaa);}};};}())});_0x110103[_0x108036(0x28d)]=_0x3c443a[_0x108036(0x523)]({'_doFinalize':function(){const _0x23edc7=_0x108036;var _0x393c05=this[_0x23edc7(0x610)](!0x0);return _0x393c05;},'blockSize':0x1});var _0x4700b1=_0x57762[_0x108036(0x349)]={},_0x3b276a=_0x110103[_0x108036(0x283)]=_0x4017a2[_0x108036(0x523)]({'createEncryptor':function(_0xb1b07c,_0x52cf41){const _0x7de0a3=_0x108036;return this[_0x7de0a3(0x3c0)][_0x7de0a3(0x43e)](_0xb1b07c,_0x52cf41);},'createDecryptor':function(_0xbb4cdb,_0x30cc4d){const _0x2b1323=_0x108036;return this['Decryptor'][_0x2b1323(0x43e)](_0xbb4cdb,_0x30cc4d);},'init':function(_0x43aa84,_0x5bfc75){const _0x372cdd=_0x108036;this[_0x372cdd(0x44e)]=_0x43aa84,this[_0x372cdd(0x2e7)]=_0x5bfc75;}}),_0x1a58b3=_0x4700b1[_0x108036(0x221)]=(function(){const _0x30ef27=_0x108036;var _0x21f341=_0x3b276a[_0x30ef27(0x523)]();_0x21f341[_0x30ef27(0x3c0)]=_0x21f341['extend']({'processBlock':function(_0x414fd0,_0x2885b5){const _0x63c170=_0x30ef27;var _0x114348=this[_0x63c170(0x44e)],_0x210529=_0x114348[_0x63c170(0x524)];_0x1ba955[_0x63c170(0x420)](this,_0x414fd0,_0x2885b5,_0x210529),_0x114348[_0x63c170(0x55a)](_0x414fd0,_0x2885b5),this[_0x63c170(0x4ed)]=_0x414fd0[_0x63c170(0x56a)](_0x2885b5,_0x2885b5+_0x210529);}}),_0x21f341[_0x30ef27(0x4a1)]=_0x21f341['extend']({'processBlock':function(_0x1dbc8b,_0x1c0b26){const _0x3d2028=_0x30ef27;var _0x44f38d=this['_cipher'],_0x249e3f=_0x44f38d[_0x3d2028(0x524)],_0x533dd2=_0x1dbc8b['slice'](_0x1c0b26,_0x1c0b26+_0x249e3f);_0x44f38d[_0x3d2028(0x3dc)](_0x1dbc8b,_0x1c0b26),_0x1ba955['call'](this,_0x1dbc8b,_0x1c0b26,_0x249e3f),this[_0x3d2028(0x4ed)]=_0x533dd2;}});function _0x1ba955(_0x389061,_0x19fc92,_0xe6006f){const _0x53e28a=_0x30ef27;var _0x39f02e,_0x2e4199=this[_0x53e28a(0x2e7)];_0x2e4199?(_0x39f02e=_0x2e4199,this[_0x53e28a(0x2e7)]=_0x82dc8a):_0x39f02e=this[_0x53e28a(0x4ed)];for(var _0x4d1e39=0x0;_0x4d1e39<_0xe6006f;_0x4d1e39++)_0x389061[_0x19fc92+_0x4d1e39]^=_0x39f02e[_0x4d1e39];}return _0x21f341;}()),_0x3fc7ee=_0x57762[_0x108036(0x531)]={},_0xc15dea=_0x3fc7ee[_0x108036(0x3b5)]={'pad':function(_0x5ceff8,_0x153ca6){const _0x2ca6b2=_0x108036;for(var _0x40d248=_0x153ca6*0x4,_0x499e7d=_0x40d248-_0x5ceff8[_0x2ca6b2(0x4c0)]%_0x40d248,_0x357d2c=_0x499e7d<<0x18|_0x499e7d<<0x10|_0x499e7d<<0x8|_0x499e7d,_0x11a479=[],_0x4f82cc=0x0;_0x4f82cc<_0x499e7d;_0x4f82cc+=0x4)_0x11a479[_0x2ca6b2(0x473)](_0x357d2c);var _0x10de58=_0x99752[_0x2ca6b2(0x43e)](_0x11a479,_0x499e7d);_0x5ceff8[_0x2ca6b2(0x3f0)](_0x10de58);},'unpad':function(_0x2898e4){const _0x2fd3f4=_0x108036;var _0x180056=_0x2898e4[_0x2fd3f4(0x27e)][_0x2898e4[_0x2fd3f4(0x4c0)]-0x1>>>0x2]&0xff;_0x2898e4['sigBytes']-=_0x180056;}};_0x110103[_0x108036(0x31b)]=_0x3c443a[_0x108036(0x523)]({'cfg':_0x3c443a[_0x108036(0x53b)][_0x108036(0x523)]({'mode':_0x1a58b3,'padding':_0xc15dea}),'reset':function(){const _0x5b25dd=_0x108036;var _0x36d6c9;_0x3c443a[_0x5b25dd(0x4e2)][_0x5b25dd(0x420)](this);var _0x2c2c7f=this[_0x5b25dd(0x53b)],_0x11ad2e=_0x2c2c7f['iv'],_0x84e346=_0x2c2c7f[_0x5b25dd(0x349)];this[_0x5b25dd(0x394)]==this[_0x5b25dd(0x1fc)]?_0x36d6c9=_0x84e346[_0x5b25dd(0x263)]:(_0x36d6c9=_0x84e346[_0x5b25dd(0x2a9)],this[_0x5b25dd(0x4b1)]=0x1),this[_0x5b25dd(0x202)]&&this[_0x5b25dd(0x202)][_0x5b25dd(0x484)]==_0x36d6c9?this[_0x5b25dd(0x202)][_0x5b25dd(0x475)](this,_0x11ad2e&&_0x11ad2e[_0x5b25dd(0x27e)]):(this[_0x5b25dd(0x202)]=_0x36d6c9[_0x5b25dd(0x420)](_0x84e346,this,_0x11ad2e&&_0x11ad2e[_0x5b25dd(0x27e)]),this[_0x5b25dd(0x202)]['__creator']=_0x36d6c9);},'_doProcessBlock':function(_0x299bb3,_0x46152f){const _0x2443e2=_0x108036;this[_0x2443e2(0x202)][_0x2443e2(0x1e2)](_0x299bb3,_0x46152f);},'_doFinalize':function(){const _0x475aae=_0x108036;var _0x20f34a,_0x480ee3=this['cfg'][_0x475aae(0x59b)];return this[_0x475aae(0x394)]==this[_0x475aae(0x1fc)]?(_0x480ee3['pad'](this[_0x475aae(0x46a)],this[_0x475aae(0x524)]),_0x20f34a=this[_0x475aae(0x610)](!0x0)):(_0x20f34a=this[_0x475aae(0x610)](!0x0),_0x480ee3[_0x475aae(0x51f)](_0x20f34a)),_0x20f34a;},'blockSize':0x80/0x20});var _0x38ea67=_0x110103[_0x108036(0x363)]=_0x4017a2[_0x108036(0x523)]({'init':function(_0x2bfa03){const _0x59990d=_0x108036;this[_0x59990d(0x552)](_0x2bfa03);},'toString':function(_0x15331f){const _0x16c4bb=_0x108036;return(_0x15331f||this[_0x16c4bb(0x39d)])[_0x16c4bb(0x3e4)](this);}}),_0x523384=_0x57762[_0x108036(0x3d8)]={},_0x346e71=_0x523384[_0x108036(0x381)]={'stringify':function(_0x581430){const _0x3d5965=_0x108036;var _0x47ace1,_0x5332a0=_0x581430['ciphertext'],_0x1d35aa=_0x581430[_0x3d5965(0x2a2)];return _0x1d35aa?_0x47ace1=_0x99752['create']([0x53616c74,0x65645f5f])[_0x3d5965(0x3f0)](_0x1d35aa)[_0x3d5965(0x3f0)](_0x5332a0):_0x47ace1=_0x5332a0,_0x47ace1['toString'](_0x2dd935);},'parse':function(_0x414c8e){const _0x19e010=_0x108036;var _0x47e931,_0x3030ff=_0x2dd935[_0x19e010(0x223)](_0x414c8e),_0x16417e=_0x3030ff['words'];return _0x16417e[0x0]==0x53616c74&&_0x16417e[0x1]==0x65645f5f&&(_0x47e931=_0x99752['create'](_0x16417e[_0x19e010(0x56a)](0x2,0x4)),_0x16417e[_0x19e010(0x2d3)](0x0,0x4),_0x3030ff[_0x19e010(0x4c0)]-=0x10),_0x38ea67[_0x19e010(0x43e)]({'ciphertext':_0x3030ff,'salt':_0x47e931});}},_0x395a67=_0x110103[_0x108036(0x2e5)]=_0x4017a2[_0x108036(0x523)]({'cfg':_0x4017a2[_0x108036(0x523)]({'format':_0x346e71}),'encrypt':function(_0x4dd3b9,_0x2ce5e8,_0x551f90,_0x5f2859){const _0x122dcd=_0x108036;_0x5f2859=this['cfg'][_0x122dcd(0x523)](_0x5f2859);var _0x470fc0=_0x4dd3b9[_0x122dcd(0x263)](_0x551f90,_0x5f2859),_0x54ebbc=_0x470fc0[_0x122dcd(0x1a2)](_0x2ce5e8),_0x379f0d=_0x470fc0[_0x122dcd(0x53b)];return _0x38ea67[_0x122dcd(0x43e)]({'ciphertext':_0x54ebbc,'key':_0x551f90,'iv':_0x379f0d['iv'],'algorithm':_0x4dd3b9,'mode':_0x379f0d[_0x122dcd(0x349)],'padding':_0x379f0d[_0x122dcd(0x59b)],'blockSize':_0x4dd3b9[_0x122dcd(0x524)],'formatter':_0x5f2859[_0x122dcd(0x3d8)]});},'decrypt':function(_0x2e6519,_0x4654a3,_0x4ea833,_0x1198b7){const _0x31f1e2=_0x108036;_0x1198b7=this[_0x31f1e2(0x53b)][_0x31f1e2(0x523)](_0x1198b7),_0x4654a3=this['_parse'](_0x4654a3,_0x1198b7[_0x31f1e2(0x3d8)]);var _0x369751=_0x2e6519[_0x31f1e2(0x2a9)](_0x4ea833,_0x1198b7)[_0x31f1e2(0x1a2)](_0x4654a3['ciphertext']);return _0x369751;},'_parse':function(_0x5ca5f8,_0x2dbee1){const _0xed443e=_0x108036;return typeof _0x5ca5f8==_0xed443e(0x53c)?_0x2dbee1[_0xed443e(0x223)](_0x5ca5f8,this):_0x5ca5f8;}}),_0x26c687=_0x57762[_0x108036(0x5cc)]={},_0x2a080d=_0x26c687[_0x108036(0x381)]={'execute':function(_0x341f8c,_0xa24128,_0x447dbf,_0x2f1678,_0x3149de){const _0x3121d3=_0x108036;if(_0x2f1678||(_0x2f1678=_0x99752[_0x3121d3(0x3b9)](0x40/0x8)),_0x3149de)var _0x29848e=_0x394fcd[_0x3121d3(0x43e)]({'keySize':_0xa24128+_0x447dbf,'hasher':_0x3149de})[_0x3121d3(0x1f0)](_0x341f8c,_0x2f1678);else var _0x29848e=_0x394fcd[_0x3121d3(0x43e)]({'keySize':_0xa24128+_0x447dbf})[_0x3121d3(0x1f0)](_0x341f8c,_0x2f1678);var _0xb145ac=_0x99752[_0x3121d3(0x43e)](_0x29848e[_0x3121d3(0x27e)][_0x3121d3(0x56a)](_0xa24128),_0x447dbf*0x4);return _0x29848e[_0x3121d3(0x4c0)]=_0xa24128*0x4,_0x38ea67[_0x3121d3(0x43e)]({'key':_0x29848e,'iv':_0xb145ac,'salt':_0x2f1678});}},_0x226f3c=_0x110103[_0x108036(0x2c4)]=_0x395a67['extend']({'cfg':_0x395a67[_0x108036(0x53b)][_0x108036(0x523)]({'kdf':_0x2a080d}),'encrypt':function(_0x4a7250,_0x3b2648,_0x2d0de9,_0x24d7ff){const _0x4c8c04=_0x108036;_0x24d7ff=this[_0x4c8c04(0x53b)][_0x4c8c04(0x523)](_0x24d7ff);var _0x198597=_0x24d7ff[_0x4c8c04(0x5cc)][_0x4c8c04(0x1eb)](_0x2d0de9,_0x4a7250[_0x4c8c04(0x20e)],_0x4a7250[_0x4c8c04(0x411)],_0x24d7ff['salt'],_0x24d7ff[_0x4c8c04(0x303)]);_0x24d7ff['iv']=_0x198597['iv'];var _0x23caee=_0x395a67['encrypt'][_0x4c8c04(0x420)](this,_0x4a7250,_0x3b2648,_0x198597[_0x4c8c04(0x5d1)],_0x24d7ff);return _0x23caee[_0x4c8c04(0x552)](_0x198597),_0x23caee;},'decrypt':function(_0x428edd,_0x2fd615,_0x66f1df,_0x311b71){const _0x37c43b=_0x108036;_0x311b71=this[_0x37c43b(0x53b)][_0x37c43b(0x523)](_0x311b71),_0x2fd615=this[_0x37c43b(0x65a)](_0x2fd615,_0x311b71[_0x37c43b(0x3d8)]);var _0x30f8a2=_0x311b71[_0x37c43b(0x5cc)][_0x37c43b(0x1eb)](_0x66f1df,_0x428edd[_0x37c43b(0x20e)],_0x428edd[_0x37c43b(0x411)],_0x2fd615[_0x37c43b(0x2a2)],_0x311b71[_0x37c43b(0x303)]);_0x311b71['iv']=_0x30f8a2['iv'];var _0x14c13d=_0x395a67[_0x37c43b(0x2c2)][_0x37c43b(0x420)](this,_0x428edd,_0x2fd615,_0x30f8a2[_0x37c43b(0x5d1)],_0x311b71);return _0x14c13d;}});}();}));}(ft)),ft[_0x2e4220(0x1a9)];}(function(_0x294ab,_0x243c41){(function(_0xbefec2,_0x369488,_0x2f8cac){const _0x3b9e30=_0x4762;_0x294ab[_0x3b9e30(0x1a9)]=_0x369488(oe(),On(),ar(),Dn(),wn());}(X,function(_0x3ef1c1){const _0x27b281=_0x4762;return(function(){const _0x473130=_0x4762;var _0x1591f9=_0x3ef1c1,_0x2af9d1=_0x1591f9['lib'],_0x5d1faa=_0x2af9d1[_0x473130(0x31b)],_0x31b1c3=_0x1591f9[_0x473130(0x5f4)],_0x54ed84=[],_0x189c79=[],_0x5ac695=[],_0x137b69=[],_0x271847=[],_0x1265a1=[],_0x398c72=[],_0x428b29=[],_0x1ebf70=[],_0x56b813=[];(function(){for(var _0x1edd68=[],_0x2cb34c=0x0;_0x2cb34c<0x100;_0x2cb34c++)_0x2cb34c<0x80?_0x1edd68[_0x2cb34c]=_0x2cb34c<<0x1:_0x1edd68[_0x2cb34c]=_0x2cb34c<<0x1^0x11b;for(var _0x446644=0x0,_0x315c9e=0x0,_0x2cb34c=0x0;_0x2cb34c<0x100;_0x2cb34c++){var _0x179618=_0x315c9e^_0x315c9e<<0x1^_0x315c9e<<0x2^_0x315c9e<<0x3^_0x315c9e<<0x4;_0x179618=_0x179618>>>0x8^_0x179618&0xff^0x63,_0x54ed84[_0x446644]=_0x179618,_0x189c79[_0x179618]=_0x446644;var _0x31bad2=_0x1edd68[_0x446644],_0x46a99e=_0x1edd68[_0x31bad2],_0x10145a=_0x1edd68[_0x46a99e],_0x3c3f34=_0x1edd68[_0x179618]*0x101^_0x179618*0x1010100;_0x5ac695[_0x446644]=_0x3c3f34<<0x18|_0x3c3f34>>>0x8,_0x137b69[_0x446644]=_0x3c3f34<<0x10|_0x3c3f34>>>0x10,_0x271847[_0x446644]=_0x3c3f34<<0x8|_0x3c3f34>>>0x18,_0x1265a1[_0x446644]=_0x3c3f34;var _0x3c3f34=_0x10145a*0x1010101^_0x46a99e*0x10001^_0x31bad2*0x101^_0x446644*0x1010100;_0x398c72[_0x179618]=_0x3c3f34<<0x18|_0x3c3f34>>>0x8,_0x428b29[_0x179618]=_0x3c3f34<<0x10|_0x3c3f34>>>0x10,_0x1ebf70[_0x179618]=_0x3c3f34<<0x8|_0x3c3f34>>>0x18,_0x56b813[_0x179618]=_0x3c3f34,_0x446644?(_0x446644=_0x31bad2^_0x1edd68[_0x1edd68[_0x1edd68[_0x10145a^_0x31bad2]]],_0x315c9e^=_0x1edd68[_0x1edd68[_0x315c9e]]):_0x446644=_0x315c9e=0x1;}}());var _0x527fd6=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x396cad=_0x31b1c3[_0x473130(0x3a9)]=_0x5d1faa[_0x473130(0x523)]({'_doReset':function(){const _0x38805c=_0x473130;var _0x596b4a;if(!(this[_0x38805c(0x46f)]&&this[_0x38805c(0x600)]===this['_key'])){for(var _0x41ec6f=this[_0x38805c(0x600)]=this[_0x38805c(0x58f)],_0x26734c=_0x41ec6f[_0x38805c(0x27e)],_0x24ae03=_0x41ec6f[_0x38805c(0x4c0)]/0x4,_0x34e315=this[_0x38805c(0x46f)]=_0x24ae03+0x6,_0x257e8e=(_0x34e315+0x1)*0x4,_0x308927=this[_0x38805c(0x461)]=[],_0x1f446b=0x0;_0x1f446b<_0x257e8e;_0x1f446b++)_0x1f446b<_0x24ae03?_0x308927[_0x1f446b]=_0x26734c[_0x1f446b]:(_0x596b4a=_0x308927[_0x1f446b-0x1],_0x1f446b%_0x24ae03?_0x24ae03>0x6&&_0x1f446b%_0x24ae03==0x4&&(_0x596b4a=_0x54ed84[_0x596b4a>>>0x18]<<0x18|_0x54ed84[_0x596b4a>>>0x10&0xff]<<0x10|_0x54ed84[_0x596b4a>>>0x8&0xff]<<0x8|_0x54ed84[_0x596b4a&0xff]):(_0x596b4a=_0x596b4a<<0x8|_0x596b4a>>>0x18,_0x596b4a=_0x54ed84[_0x596b4a>>>0x18]<<0x18|_0x54ed84[_0x596b4a>>>0x10&0xff]<<0x10|_0x54ed84[_0x596b4a>>>0x8&0xff]<<0x8|_0x54ed84[_0x596b4a&0xff],_0x596b4a^=_0x527fd6[_0x1f446b/_0x24ae03|0x0]<<0x18),_0x308927[_0x1f446b]=_0x308927[_0x1f446b-_0x24ae03]^_0x596b4a);for(var _0x2e188e=this[_0x38805c(0x2ba)]=[],_0x369703=0x0;_0x369703<_0x257e8e;_0x369703++){var _0x1f446b=_0x257e8e-_0x369703;if(_0x369703%0x4)var _0x596b4a=_0x308927[_0x1f446b];else var _0x596b4a=_0x308927[_0x1f446b-0x4];_0x369703<0x4||_0x1f446b<=0x4?_0x2e188e[_0x369703]=_0x596b4a:_0x2e188e[_0x369703]=_0x398c72[_0x54ed84[_0x596b4a>>>0x18]]^_0x428b29[_0x54ed84[_0x596b4a>>>0x10&0xff]]^_0x1ebf70[_0x54ed84[_0x596b4a>>>0x8&0xff]]^_0x56b813[_0x54ed84[_0x596b4a&0xff]];}}},'encryptBlock':function(_0x182b00,_0x2cf1d7){const _0x20be43=_0x473130;this[_0x20be43(0x1e0)](_0x182b00,_0x2cf1d7,this[_0x20be43(0x461)],_0x5ac695,_0x137b69,_0x271847,_0x1265a1,_0x54ed84);},'decryptBlock':function(_0x40ddfc,_0x217a15){const _0x1dd81d=_0x473130;var _0x275b0a=_0x40ddfc[_0x217a15+0x1];_0x40ddfc[_0x217a15+0x1]=_0x40ddfc[_0x217a15+0x3],_0x40ddfc[_0x217a15+0x3]=_0x275b0a,this[_0x1dd81d(0x1e0)](_0x40ddfc,_0x217a15,this[_0x1dd81d(0x2ba)],_0x398c72,_0x428b29,_0x1ebf70,_0x56b813,_0x189c79);var _0x275b0a=_0x40ddfc[_0x217a15+0x1];_0x40ddfc[_0x217a15+0x1]=_0x40ddfc[_0x217a15+0x3],_0x40ddfc[_0x217a15+0x3]=_0x275b0a;},'_doCryptBlock':function(_0xfaa81a,_0x5062cc,_0x3a5495,_0x2b8d8c,_0x1282c0,_0x170255,_0x153831,_0xef3401){const _0x4b5fc0=_0x473130;for(var _0x2a0e73=this[_0x4b5fc0(0x46f)],_0x2b7611=_0xfaa81a[_0x5062cc]^_0x3a5495[0x0],_0x124529=_0xfaa81a[_0x5062cc+0x1]^_0x3a5495[0x1],_0x151d93=_0xfaa81a[_0x5062cc+0x2]^_0x3a5495[0x2],_0x387545=_0xfaa81a[_0x5062cc+0x3]^_0x3a5495[0x3],_0x20e6d3=0x4,_0x58dfc4=0x1;_0x58dfc4<_0x2a0e73;_0x58dfc4++){var _0x28d2c0=_0x2b8d8c[_0x2b7611>>>0x18]^_0x1282c0[_0x124529>>>0x10&0xff]^_0x170255[_0x151d93>>>0x8&0xff]^_0x153831[_0x387545&0xff]^_0x3a5495[_0x20e6d3++],_0x8a43f5=_0x2b8d8c[_0x124529>>>0x18]^_0x1282c0[_0x151d93>>>0x10&0xff]^_0x170255[_0x387545>>>0x8&0xff]^_0x153831[_0x2b7611&0xff]^_0x3a5495[_0x20e6d3++],_0x50d723=_0x2b8d8c[_0x151d93>>>0x18]^_0x1282c0[_0x387545>>>0x10&0xff]^_0x170255[_0x2b7611>>>0x8&0xff]^_0x153831[_0x124529&0xff]^_0x3a5495[_0x20e6d3++],_0x32c552=_0x2b8d8c[_0x387545>>>0x18]^_0x1282c0[_0x2b7611>>>0x10&0xff]^_0x170255[_0x124529>>>0x8&0xff]^_0x153831[_0x151d93&0xff]^_0x3a5495[_0x20e6d3++];_0x2b7611=_0x28d2c0,_0x124529=_0x8a43f5,_0x151d93=_0x50d723,_0x387545=_0x32c552;}var _0x28d2c0=(_0xef3401[_0x2b7611>>>0x18]<<0x18|_0xef3401[_0x124529>>>0x10&0xff]<<0x10|_0xef3401[_0x151d93>>>0x8&0xff]<<0x8|_0xef3401[_0x387545&0xff])^_0x3a5495[_0x20e6d3++],_0x8a43f5=(_0xef3401[_0x124529>>>0x18]<<0x18|_0xef3401[_0x151d93>>>0x10&0xff]<<0x10|_0xef3401[_0x387545>>>0x8&0xff]<<0x8|_0xef3401[_0x2b7611&0xff])^_0x3a5495[_0x20e6d3++],_0x50d723=(_0xef3401[_0x151d93>>>0x18]<<0x18|_0xef3401[_0x387545>>>0x10&0xff]<<0x10|_0xef3401[_0x2b7611>>>0x8&0xff]<<0x8|_0xef3401[_0x124529&0xff])^_0x3a5495[_0x20e6d3++],_0x32c552=(_0xef3401[_0x387545>>>0x18]<<0x18|_0xef3401[_0x2b7611>>>0x10&0xff]<<0x10|_0xef3401[_0x124529>>>0x8&0xff]<<0x8|_0xef3401[_0x151d93&0xff])^_0x3a5495[_0x20e6d3++];_0xfaa81a[_0x5062cc]=_0x28d2c0,_0xfaa81a[_0x5062cc+0x1]=_0x8a43f5,_0xfaa81a[_0x5062cc+0x2]=_0x50d723,_0xfaa81a[_0x5062cc+0x3]=_0x32c552;},'keySize':0x100/0x20});_0x1591f9[_0x473130(0x3a9)]=_0x5d1faa[_0x473130(0x241)](_0x396cad);}()),_0x3ef1c1[_0x27b281(0x3a9)];}));}(yn));var hr=yn[_0x38c3ff(0x1a9)];const _r=xe(hr);var ur=On();const Xt=xe(ur);var Pn={'exports':{}};(function(_0x42d5d3,_0xabdb68){(function(_0x24ac51,_0x157835){const _0x575baa=_0x4762;_0x42d5d3[_0x575baa(0x1a9)]=_0x157835(oe());}(X,function(_0x2f825a){const _0x4aead1=_0x4762;return _0x2f825a[_0x4aead1(0x442)][_0x4aead1(0x538)];}));}(Pn));var dr=Pn[_0x38c3ff(0x1a9)];const fr=xe(dr);var Un={'exports':{}};(function(_0x383b2f,_0x3766bf){(function(_0x40f6b1,_0x1a945e){const _0x5187a2=_0x4762;_0x383b2f[_0x5187a2(0x1a9)]=_0x1a945e(oe());}(X,function(_0x4a10d3){const _0x1fd6e5=_0x4762;return(function(){const _0x355f77=_0x4762;if(typeof ArrayBuffer=='function'){var _0x4ccb37=_0x4a10d3,_0x3b27cf=_0x4ccb37['lib'],_0xed782c=_0x3b27cf[_0x355f77(0x398)],_0x145bc8=_0xed782c[_0x355f77(0x475)],_0x124ae8=_0xed782c['init']=function(_0x5470a2){const _0x611904=_0x355f77;if(_0x5470a2 instanceof ArrayBuffer&&(_0x5470a2=new Uint8Array(_0x5470a2)),(_0x5470a2 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x5470a2 instanceof Uint8ClampedArray||_0x5470a2 instanceof Int16Array||_0x5470a2 instanceof Uint16Array||_0x5470a2 instanceof Int32Array||_0x5470a2 instanceof Uint32Array||_0x5470a2 instanceof Float32Array||_0x5470a2 instanceof Float64Array)&&(_0x5470a2=new Uint8Array(_0x5470a2[_0x611904(0x236)],_0x5470a2['byteOffset'],_0x5470a2[_0x611904(0x559)])),_0x5470a2 instanceof Uint8Array){for(var _0x440e28=_0x5470a2['byteLength'],_0x3045d2=[],_0x31b6cb=0x0;_0x31b6cb<_0x440e28;_0x31b6cb++)_0x3045d2[_0x31b6cb>>>0x2]|=_0x5470a2[_0x31b6cb]<<0x18-_0x31b6cb%0x4*0x8;_0x145bc8[_0x611904(0x420)](this,_0x3045d2,_0x440e28);}else _0x145bc8[_0x611904(0x21e)](this,arguments);};_0x124ae8[_0x355f77(0x39b)]=_0xed782c;}}()),_0x4a10d3['lib'][_0x1fd6e5(0x398)];}));}(Un));var vr=Un[_0x38c3ff(0x1a9)];const mr=xe(vr);var Mn={'exports':{}};(function(_0x5d8e84,_0x5f365c){(function(_0xda1bd0,_0x2a346b,_0x11d836){const _0x2e97c2=_0x4762;_0x5d8e84[_0x2e97c2(0x1a9)]=_0x2a346b(oe(),wn());}(X,function(_0x314fcd){const _0x55e84d=_0x4762;return _0x314fcd['pad']['NoPadding']={'pad':function(){},'unpad':function(){}},_0x314fcd['pad'][_0x55e84d(0x373)];}));}(Mn));var Sr=Mn['exports'];const pr=xe(Sr);function gr(_0x40e8a4,_0x1025f7){const _0x1b37c4=_0x38c3ff,_0x3eb276=_0x1025f7-_0x40e8a4[_0x1b37c4(0x58c)]%_0x1025f7,_0x639e1c=String[_0x1b37c4(0x408)](_0x3eb276)['repeat'](_0x3eb276);return _0x40e8a4+_0x639e1c;}function Ir(_0xb57180,_0x51346b){const _0x44b47c=_0x38c3ff,_0x26435c=mr['random'](0x10),_0x2877d4=gr(_0xb57180,0x10),_0x2e2720=_r[_0x44b47c(0x612)](fr[_0x44b47c(0x223)](_0x2877d4),Xt[_0x44b47c(0x223)](_0x51346b),{'iv':_0x26435c,'padding':pr});return _0x26435c[_0x44b47c(0x3f0)](_0x2e2720['ciphertext'])['toString'](Xt);}function Cr(){const _0x556b66=_0x38c3ff,_0x188fd3=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x556b66(0x4a4)];if(_0x188fd3){const _0xe35ff={'time':Math[_0x556b66(0x35b)](Date[_0x556b66(0x2eb)]()/0x3e8),'domain':location[_0x556b66(0x482)]};return Ir(JSON[_0x556b66(0x3e4)](_0xe35ff),_0x188fd3);}}var Er=Object[_0x38c3ff(0x1c1)],br=Object['getOwnPropertyDescriptor'],Tr=(_0x1db818,_0x43604a,_0x4e148a,_0x321c62)=>{const _0x28b2d5=_0x38c3ff;for(var _0x13b02b=_0x321c62>0x1?void 0x0:_0x321c62?br(_0x43604a,_0x4e148a):_0x43604a,_0x2ceba6=_0x1db818[_0x28b2d5(0x58c)]-0x1,_0x24103c;_0x2ceba6>=0x0;_0x2ceba6--)(_0x24103c=_0x1db818[_0x2ceba6])&&(_0x13b02b=(_0x321c62?_0x24103c(_0x43604a,_0x4e148a,_0x13b02b):_0x24103c(_0x13b02b))||_0x13b02b);return _0x321c62&&_0x13b02b&&Er(_0x43604a,_0x4e148a,_0x13b02b),_0x13b02b;},Rr=(_0x4d8229,_0x114a3f)=>(_0x3f208f,_0x104583)=>_0x114a3f(_0x3f208f,_0x104583,_0x4d8229);let Ye=class{constructor(_0x4f871b){const _0xf27c9f=_0x38c3ff;this[_0xf27c9f(0x5a8)]=_0x4f871b,this[_0xf27c9f(0x4c7)]();}[_0x38c3ff(0x4c7)](){const _0x245567=_0x38c3ff;this[_0x245567(0x5a8)][_0x245567(0x53f)]({'interceptor':(_0x10c847,_0x95de29)=>{const _0x2f010c=_0x245567,_0x3017b2=_0x10c847[_0x2f010c(0x485)],_0x2a1934=Cr();return _0x2a1934&&_0x3017b2[_0x2f010c(0x3e8)](_0x2f010c(0x313),_0x2a1934),_0x95de29(_0x10c847);}});}};Ye=Tr([Rr(0x0,a[_0x38c3ff(0x2af)](Z[_0x38c3ff(0x627)]))],Ye);var yr=Object[_0x38c3ff(0x1c1)],Or=Object[_0x38c3ff(0x336)],Dr=(_0x305d4a,_0x4186af,_0x57ea17,_0x418a06)=>{const _0x43ffad=_0x38c3ff;for(var _0x3ec560=_0x418a06>0x1?void 0x0:_0x418a06?Or(_0x4186af,_0x57ea17):_0x4186af,_0x51ff75=_0x305d4a[_0x43ffad(0x58c)]-0x1,_0x3c4ad5;_0x51ff75>=0x0;_0x51ff75--)(_0x3c4ad5=_0x305d4a[_0x51ff75])&&(_0x3ec560=(_0x418a06?_0x3c4ad5(_0x4186af,_0x57ea17,_0x3ec560):_0x3c4ad5(_0x3ec560))||_0x3ec560);return _0x418a06&&_0x3ec560&&yr(_0x4186af,_0x57ea17,_0x3ec560),_0x3ec560;},vt=(_0x20180a,_0x59d25e)=>(_0x1d51f5,_0x424c92)=>_0x59d25e(_0x1d51f5,_0x424c92,_0x20180a);const wr=['image/png',_0x38c3ff(0x215),_0x38c3ff(0x4e7),_0x38c3ff(0x353),_0x38c3ff(0x316)],Pr=0x5*0x400*0x400,Ur=_0x38c3ff(0x38c),Mr='/universer-api/stream/file/upload',Ar=_0x38c3ff(0x31e),Nr=_0x38c3ff(0x213);exports[_0x38c3ff(0x5ea)]=class{constructor(_0x24790c,_0x48df29,_0x1ee562){const _0x32bd14=_0x38c3ff;I(this,_0x32bd14(0x562),0x0),I(this,'_change$',new A[(_0x32bd14(0x3cf))]()),I(this,_0x32bd14(0x266),this['_change$']),I(this,'_imageSourceCache',new Map()),(this[_0x32bd14(0x5a8)]=_0x24790c,this[_0x32bd14(0x1f5)]=_0x48df29,this[_0x32bd14(0x393)]=_0x1ee562);}['setWaitCount'](_0x411916){const _0x598538=_0x38c3ff;this[_0x598538(0x562)]=_0x411916,this[_0x598538(0x2d6)][_0x598538(0x4c4)](_0x411916);}[_0x38c3ff(0x1f4)](_0xa47ef3,_0x109c34){const _0x169426=_0x38c3ff;if(_0x109c34===ne[_0x169426(0x48c)][_0x169426(0x43b)]){const _0x4bdaa7=new Image();return _0x4bdaa7[_0x169426(0x38d)]=_0xa47ef3,_0x4bdaa7;}return this[_0x169426(0x452)][_0x169426(0x585)](_0xa47ef3);}[_0x38c3ff(0x33a)](_0x437809,_0x3e4394,_0x55683e){const _0x195055=_0x38c3ff;_0x3e4394===ne[_0x195055(0x48c)][_0x195055(0x43b)]||_0x55683e==null||this[_0x195055(0x452)]['set'](_0x437809,_0x55683e);}async[_0x38c3ff(0x628)](_0x58e311){const _0x3aa0a4=_0x38c3ff;try{const _0x3f2dc4=this[_0x3aa0a4(0x5d7)](this[_0x3aa0a4(0x61c)](),''+_0x58e311),_0x4a16de=(await this[_0x3aa0a4(0x5a8)][_0x3aa0a4(0x585)](_0x3f2dc4))['body'];if(_0x4a16de[_0x3aa0a4(0x55e)]&&_0x4a16de['error'][_0x3aa0a4(0x3b2)]===cn['OK']){const _0x55b08a=new URL(_0x4a16de[_0x3aa0a4(0x1c7)],this[_0x3aa0a4(0x237)]())[_0x3aa0a4(0x459)]();return Promise[_0x3aa0a4(0x38e)](_0x55b08a);}return Promise[_0x3aa0a4(0x588)](_0x4a16de[_0x3aa0a4(0x55e)]);}catch(_0x19ab73){return Promise['reject'](_0x19ab73);}}async[_0x38c3ff(0x454)](_0x27c95d){const _0x4b9299=_0x38c3ff;let _0x10881d='';if(!wr['includes'](_0x27c95d[_0x4b9299(0x42a)]))return this[_0x4b9299(0x2ff)](),Promise[_0x4b9299(0x588)](new Error(ne[_0x4b9299(0x29e)][_0x4b9299(0x2c9)]));if(_0x27c95d['size']>Pr)return this[_0x4b9299(0x2ff)](),Promise[_0x4b9299(0x588)](new Error(ne[_0x4b9299(0x29e)][_0x4b9299(0x59d)]));try{const _0x295cb6=new FormData();_0x295cb6[_0x4b9299(0x560)](_0x4b9299(0x4d5),_0x27c95d);const _0xfd7694=this[_0x4b9299(0x393)][_0x4b9299(0x3f9)](),_0x244bde=_0xfd7694==null?void 0x0:_0xfd7694['getUnitId']();if(!_0x244bde)throw new Error(_0x4b9299(0x3bf));const _0x624701=this[_0x4b9299(0x28c)]()+_0x4b9299(0x2c6)+_0x27c95d[_0x4b9299(0x311)][_0x4b9299(0x459)]()+_0x4b9299(0x417)+ln[_0x4b9299(0x4cd)]+_0x4b9299(0x555)+encodeURIComponent(_0x244bde),_0x433b3c=await(await fetch(_0x624701,{'method':_0x4b9299(0x28e),'body':_0x295cb6}))[_0x4b9299(0x361)]();if(typeof _0x433b3c[_0x4b9299(0x496)]!=_0x4b9299(0x53c))return this[_0x4b9299(0x2ff)](),Promise[_0x4b9299(0x588)](new Error(ne['ImageUploadStatusType'][_0x4b9299(0x51d)]));_0x10881d=_0x433b3c['FileId'];}catch{return this[_0x4b9299(0x2ff)](),Promise['reject'](new Error(ne['ImageUploadStatusType'][_0x4b9299(0x51d)]));}return new Promise((_0x3e4d6a,_0x3a9635)=>{const _0x39917a=_0x4b9299,_0x4e47d6=new FileReader();_0x4e47d6[_0x39917a(0x637)](_0x27c95d),_0x4e47d6[_0x39917a(0x2a7)]=_0x3b422c=>{const _0xf52ce3=_0x39917a;var _0xdb4290;const _0x5d0c3c=(_0xdb4290=_0x3b422c[_0xf52ce3(0x1f1)])==null?void 0x0:_0xdb4290[_0xf52ce3(0x4f5)];if(_0x5d0c3c==null){this['_decreaseWaiting'](),_0x3a9635(new Error(ne[_0xf52ce3(0x29e)][_0xf52ce3(0x51d)]));return;}const _0x2fc584=a['Tools'][_0xf52ce3(0x4b6)](0x6);_0x3e4d6a({'imageId':_0x2fc584,'imageSourceType':ne['ImageSourceType'][_0xf52ce3(0x2db)],'source':_0x10881d,'base64Cache':_0x5d0c3c,'status':ne['ImageUploadStatusType']['SUCCUSS']}),this[_0xf52ce3(0x2ff)]();};});}['_getUploadFileURL'](){const _0x4b6dd4=_0x38c3ff;var _0x466fd4,_0x3af5c2;const _0x171572=this[_0x4b6dd4(0x1f5)]['getConfig'](Ur),_0x317057=this[_0x4b6dd4(0x1f5)][_0x4b6dd4(0x556)](te);return(_0x3af5c2=(_0x466fd4=_0x317057==null?void 0x0:_0x317057['uploadFileServerUrl'])!=null?_0x466fd4:_0x171572)!=null?_0x3af5c2:Mr;}[_0x38c3ff(0x61c)](){const _0x21f8a4=_0x38c3ff;var _0x32b52c,_0x38a435;const _0x3a4866=this['_configService']['getConfig'](Ar),_0x5a81f6=this[_0x21f8a4(0x1f5)][_0x21f8a4(0x556)](te);return(_0x38a435=(_0x32b52c=_0x5a81f6==null?void 0x0:_0x5a81f6[_0x21f8a4(0x1c0)])!=null?_0x32b52c:_0x3a4866)!=null?_0x38a435:Nr;}[_0x38c3ff(0x237)](){const _0x20331a=_0x38c3ff;var _0x3112f3;const _0x64bbb0=this[_0x20331a(0x1f5)][_0x20331a(0x556)](te);return(_0x3112f3=_0x64bbb0==null?void 0x0:_0x64bbb0['downloadEndpointUrl'])!=null?_0x3112f3:location[_0x20331a(0x4ef)];}[_0x38c3ff(0x5d7)](_0x4c43b8,_0x278a97){const _0x1915c7=_0x38c3ff;return _0x4c43b8[_0x1915c7(0x346)]('{fileID}',_0x278a97);}[_0x38c3ff(0x2ff)](){const _0x3a8b47=_0x38c3ff;this[_0x3a8b47(0x562)]-=0x1,this['_change$']['next'](this[_0x3a8b47(0x562)]);}},exports[_0x38c3ff(0x5ea)]=Dr([vt(0x0,a[_0x38c3ff(0x2af)](Z['HTTPService'])),vt(0x1,a[_0x38c3ff(0x326)]),vt(0x2,a[_0x38c3ff(0x2af)](a[_0x38c3ff(0x2a8)]))],exports['ImageIoService']);var Lr=Object[_0x38c3ff(0x1c1)],xr=Object[_0x38c3ff(0x336)],jr=(_0xfaedc8,_0x135c39,_0x9ffdd4,_0x5bdfaf)=>{const _0xc4eec4=_0x38c3ff;for(var _0x13d71f=_0x5bdfaf>0x1?void 0x0:_0x5bdfaf?xr(_0x135c39,_0x9ffdd4):_0x135c39,_0x2eaca6=_0xfaedc8[_0xc4eec4(0x58c)]-0x1,_0x24bc65;_0x2eaca6>=0x0;_0x2eaca6--)(_0x24bc65=_0xfaedc8[_0x2eaca6])&&(_0x13d71f=(_0x5bdfaf?_0x24bc65(_0x135c39,_0x9ffdd4,_0x13d71f):_0x24bc65(_0x13d71f))||_0x13d71f);return _0x5bdfaf&&_0x13d71f&&Lr(_0x135c39,_0x9ffdd4,_0x13d71f),_0x13d71f;},Ae=(_0x2f870a,_0x149589)=>(_0xcfc73d,_0x5b4a7f)=>_0x149589(_0xcfc73d,_0x5b4a7f,_0x2f870a);let Ke=class extends a[_0x38c3ff(0x22c)]{constructor(_0x2df2e1,_0x4827b5,_0x2bf44f,_0xa3e35a,_0x2a6435){const _0x13329e=_0x38c3ff;super(),this['_injector']=_0x2df2e1,this[_0x13329e(0x393)]=_0x4827b5,this['_permissionService']=_0x2bf44f,this[_0x13329e(0x4ee)]=_0xa3e35a,this[_0x13329e(0x203)]=_0x2a6435,this['_initUnitPermissionChange'](),this[_0x13329e(0x63d)]();}[_0x38c3ff(0x63d)](){const _0x400403=_0x38c3ff,_0x1de9d0=async _0x419ab6=>{const _0x23eaef=_0x4762;(await this[_0x23eaef(0x4ee)][_0x23eaef(0x2aa)](_0x419ab6))['event$'][_0x23eaef(0x57b)](V['filter'](_0x5482e4=>_0x5482e4[_0x23eaef(0x2bd)]===S['CollaborationEvent'][_0x23eaef(0x641)]),V[_0x23eaef(0x3fb)](this[_0x23eaef(0x5ff)]))[_0x23eaef(0x47b)](_0x269f11=>{const _0x3cd672=_0x23eaef,_0x5393f1=_0x269f11,{reason:_0x18d570}=_0x5393f1[_0x3cd672(0x2e1)];this[_0x3cd672(0x3b6)][_0x3cd672(0x585)](ee['IMessageService'])[_0x3cd672(0x37c)]({'type':ge[_0x3cd672(0x312)][_0x3cd672(0x516)],'content':this[_0x3cd672(0x203)]['t']('collaboration.closeRoom')+'('+_0x18d570+')'}),this[_0x3cd672(0x54b)]['updatePermissionPoint'](new k['WorkbookEditablePermission'](_0x419ab6)['id'],!0x1),this[_0x3cd672(0x4ee)]['closeSession'](_0x419ab6);});};A[_0x400403(0x1d2)](this[_0x400403(0x393)][_0x400403(0x23f)](a[_0x400403(0x27f)][_0x400403(0x23d)]),this[_0x400403(0x393)][_0x400403(0x23f)](a[_0x400403(0x27f)][_0x400403(0x649)]))['pipe'](V['map'](_0x5bdb12=>_0x5bdb12[_0x400403(0x2ee)]()),V['filter'](_0x2dfdec=>!a['isInternalEditorID'](_0x2dfdec)),V[_0x400403(0x3fb)](this[_0x400403(0x5ff)]))[_0x400403(0x47b)](_0x36e51f=>{_0x1de9d0(_0x36e51f);});}[_0x38c3ff(0x630)](){const _0x2f54c9=_0x38c3ff,_0x29847f=async _0x26b1ff=>{const _0x24d785=_0x4762;(await this[_0x24d785(0x4ee)]['requireSession'](_0x26b1ff))['event$'][_0x24d785(0x57b)](V[_0x24d785(0x576)](_0x4a56c4=>_0x4a56c4[_0x24d785(0x2bd)]===S[_0x24d785(0x201)][_0x24d785(0x382)]),V[_0x24d785(0x3fb)](this[_0x24d785(0x5ff)]))[_0x24d785(0x47b)](_0x253e3a=>{const _0x495faf=_0x24d785,_0x3fcc0b=_0x253e3a,{objectId:_0x4284a0}=_0x3fcc0b['data'],_0x2c623a=this[_0x495faf(0x3b6)]['get'](Re[_0x495faf(0x25c)]);_0x4284a0===_0x26b1ff?_0x2c623a[_0x495faf(0x28f)](_0x26b1ff):_0x2c623a[_0x495faf(0x258)](_0x26b1ff,_0x4284a0);});};A[_0x2f54c9(0x1d2)](this[_0x2f54c9(0x393)]['getTypeOfUnitAdded$'](a[_0x2f54c9(0x27f)]['UNIVER_SHEET']),this[_0x2f54c9(0x393)][_0x2f54c9(0x23f)](a[_0x2f54c9(0x27f)][_0x2f54c9(0x649)]))['pipe'](V[_0x2f54c9(0x4d7)](_0x5ce597=>_0x5ce597[_0x2f54c9(0x2ee)]()),V[_0x2f54c9(0x576)](_0x12423f=>!a[_0x2f54c9(0x28b)](_0x12423f)),V['takeUntil'](this[_0x2f54c9(0x5ff)]))[_0x2f54c9(0x47b)](_0x2eed09=>{_0x29847f(_0x2eed09);});}};Ke=jr([Ae(0x0,a['Inject'](a[_0x38c3ff(0x50e)])),Ae(0x1,a['IUniverInstanceService']),Ae(0x2,a[_0x38c3ff(0x421)]),Ae(0x3,a['Inject'](exports[_0x38c3ff(0x1f6)])),Ae(0x4,a[_0x38c3ff(0x2af)](a[_0x38c3ff(0x222)]))],Ke);var $r=Object[_0x38c3ff(0x1c1)],Hr=Object[_0x38c3ff(0x336)],Br=(_0x4baf5d,_0x55579e,_0x5a765d,_0x2e5ca5)=>{const _0x466bec=_0x38c3ff;for(var _0x4ce640=_0x2e5ca5>0x1?void 0x0:_0x2e5ca5?Hr(_0x55579e,_0x5a765d):_0x55579e,_0x26e73f=_0x4baf5d[_0x466bec(0x58c)]-0x1,_0x49100b;_0x26e73f>=0x0;_0x26e73f--)(_0x49100b=_0x4baf5d[_0x26e73f])&&(_0x4ce640=(_0x2e5ca5?_0x49100b(_0x55579e,_0x5a765d,_0x4ce640):_0x49100b(_0x4ce640))||_0x4ce640);return _0x2e5ca5&&_0x4ce640&&$r(_0x55579e,_0x5a765d,_0x4ce640),_0x4ce640;},Jt=(_0x22288a,_0x542cf5)=>(_0x583e39,_0x217ace)=>_0x542cf5(_0x583e39,_0x217ace,_0x22288a);exports[_0x38c3ff(0x4b7)]=class{constructor(_0x21ca99,_0x5ad4cf){const _0x5def6f=_0x38c3ff;this[_0x5def6f(0x1f5)]=_0x21ca99,this[_0x5def6f(0x5a8)]=_0x5ad4cf;}async[_0x38c3ff(0x196)](_0x53ad6a,_0x319a75){const _0x1d40f3=_0x38c3ff;var _0x3085d9;const {unitID:_0x2d8ac7,type:_0x3535a3,revision:_0x3ac3a4=0x0}=_0x319a75,_0x192f28=this[_0x1d40f3(0x23e)]()+'/'+_0x3535a3+_0x1d40f3(0x4e1)+_0x2d8ac7+_0x1d40f3(0x306)+_0x3ac3a4,_0x48fa74=(await this[_0x1d40f3(0x5a8)][_0x1d40f3(0x585)](_0x192f28))['body'],_0x1f7042=(_0x3085d9=_0x48fa74[_0x1d40f3(0x3b1)])==null?void 0x0:_0x3085d9['workbook'];if(_0x1f7042){const _0x56b34a=_0x1f7042==null?void 0x0:_0x1f7042[_0x1d40f3(0x435)],_0x17565b=S['textEncoder'][_0x1d40f3(0x273)](S[_0x1d40f3(0x629)](_0x56b34a));_0x1f7042[_0x1d40f3(0x435)]=_0x17565b,Object[_0x1d40f3(0x56c)](_0x1f7042[_0x1d40f3(0x334)])['forEach'](([,_0x3fcf4])=>{const _0x346161=_0x1d40f3,_0x464e71=_0x3fcf4[_0x346161(0x435)],_0x1970f8=S[_0x346161(0x5ac)][_0x346161(0x273)](S[_0x346161(0x629)](_0x464e71));_0x3fcf4['originalMeta']=_0x1970f8;});}return _0x48fa74;}async['getSheetBlock'](_0x54f8b9,_0x13dd37){const _0x2aefb4=_0x38c3ff,{unitID:_0x1f0c66,type:_0x4be35a,blockID:_0x584ea9}=_0x13dd37,_0x408682=this[_0x2aefb4(0x460)]()+'/'+_0x4be35a+_0x2aefb4(0x4e1)+_0x1f0c66+_0x2aefb4(0x233)+_0x584ea9;return(await this['_httpService'][_0x2aefb4(0x585)](_0x408682))[_0x2aefb4(0x282)];}async['getDeserializedSheetBlock'](_0x142c72,_0xf82d06){const _0x126736=_0x38c3ff,{unitID:_0x232282,type:_0x4d2ce1,blockID:_0x3606b3}=_0xf82d06,_0x528a84=this[_0x126736(0x460)]()+_0x126736(0x233)+_0x4d2ce1+_0x126736(0x4e1)+_0x232282+'/block/'+_0x3606b3;return(await this[_0x126736(0x5a8)][_0x126736(0x585)](_0x528a84))[_0x126736(0x282)];}async[_0x38c3ff(0x4cb)](_0x5a6905,_0x183c0a){const _0x39cfee=_0x38c3ff,{unitID:_0x4672d8,type:_0x6cd438,from:_0x37958a,to:_0x189f85}=_0x183c0a,_0x90d82d=this[_0x39cfee(0x460)]()+'/'+_0x6cd438+_0x39cfee(0x4e1)+_0x4672d8+_0x39cfee(0x2a4)+_0x37958a+'&to='+_0x189f85;return(await this['_httpService'][_0x39cfee(0x585)](_0x90d82d))['body'];}[_0x38c3ff(0x23e)](){const _0x37c419=_0x38c3ff;var _0x39c176;return(_0x39c176=this['_configService'][_0x37c419(0x556)](Qt))!=null?_0x39c176:this[_0x37c419(0x460)]();}[_0x38c3ff(0x460)](){const _0x3ec2ac=_0x38c3ff;var _0x1eb228,_0x32ccc7;const _0x4217bf=this[_0x3ec2ac(0x1f5)][_0x3ec2ac(0x556)](Zt),_0x40aebe=this[_0x3ec2ac(0x1f5)][_0x3ec2ac(0x556)](te);return(_0x32ccc7=(_0x1eb228=_0x40aebe==null?void 0x0:_0x40aebe[_0x3ec2ac(0x55f)])!=null?_0x1eb228:_0x4217bf)!=null?_0x32ccc7:Hn;}async[_0x38c3ff(0x2c0)](_0x6318a2,_0x1f6d48){const _0x262b98=_0x38c3ff,_0x684af9=_0x262b98(0x4e5)+_0x1f6d48['type']+'/unit/'+_0x1f6d48[_0x262b98(0x364)]+_0x262b98(0x1b6);return(await this['_httpService'][_0x262b98(0x585)](_0x684af9,{'params':{'resourceId':JSON[_0x262b98(0x3e4)](_0x1f6d48[_0x262b98(0x1cf)])}}))[_0x262b98(0x282)];}[_0x38c3ff(0x28a)](){const _0x4e7410=_0x38c3ff;throw new Error(_0x4e7410(0x1d8));}[_0x38c3ff(0x4af)](){const _0x2a1ae4=_0x38c3ff;throw new Error(_0x2a1ae4(0x1d8));}[_0x38c3ff(0x284)](){const _0x4698e3=_0x38c3ff;throw new Error(_0x4698e3(0x1d8));}[_0x38c3ff(0x52f)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['getLatestCsReqIdBySid'](){const _0x85550c=_0x38c3ff;throw new Error(_0x85550c(0x1d8));}},exports[_0x38c3ff(0x4b7)]=Br([Jt(0x0,a[_0x38c3ff(0x326)]),Jt(0x1,a[_0x38c3ff(0x2af)](Z[_0x38c3ff(0x627)]))],exports[_0x38c3ff(0x4b7)]);var kr=Object[_0x38c3ff(0x1c1)],Wr=Object[_0x38c3ff(0x336)],Fr=(_0x57a3d4,_0x548199,_0xaaa725,_0x2f9aba)=>{const _0x21a34c=_0x38c3ff;for(var _0x369c15=_0x2f9aba>0x1?void 0x0:_0x2f9aba?Wr(_0x548199,_0xaaa725):_0x548199,_0x37ec34=_0x57a3d4[_0x21a34c(0x58c)]-0x1,_0x57b476;_0x37ec34>=0x0;_0x37ec34--)(_0x57b476=_0x57a3d4[_0x37ec34])&&(_0x369c15=(_0x2f9aba?_0x57b476(_0x548199,_0xaaa725,_0x369c15):_0x57b476(_0x369c15))||_0x369c15);return _0x2f9aba&&_0x369c15&&kr(_0x548199,_0xaaa725,_0x369c15),_0x369c15;},Ne=(_0x123c0c,_0x540672)=>(_0x91a183,_0x342c9c)=>_0x540672(_0x91a183,_0x342c9c,_0x123c0c);let It=class extends a[_0x38c3ff(0x2fb)]{constructor(_0x1d935f,_0x4ce155,_0x304162,_0xa5a920,_0x578417){const _0xbe671b=_0x38c3ff;super(_0x1d935f,_0x4ce155,_0x304162),this['_transformService']=_0xa5a920,this[_0xbe671b(0x4ce)]=_0x578417;}['transformUndoRedo'](_0x2e775d,_0x1fd557){const _0x35c849=_0x38c3ff,_0xa030f3=this[_0x35c849(0x2cc)](_0x2e775d);if(_0xa030f3)try{const _0x520366=this[_0x35c849(0x510)](_0xa030f3,_0x1fd557);this['_substituteUndoStack'](_0x2e775d,_0x520366);}catch(_0x4ae493){this[_0x35c849(0x4ce)][_0x35c849(0x55e)](_0x35c849(0x3eb),_0x4ae493),this[_0x35c849(0x46c)](_0x2e775d);}const _0x1d7ce7=this[_0x35c849(0x60e)](_0x2e775d);if(_0x1d7ce7)try{const _0x407557=this['_transformStack'](_0x1d7ce7,_0x1fd557);this[_0x35c849(0x3d2)](_0x2e775d,_0x407557);}catch(_0x54f9e6){this[_0x35c849(0x4ce)][_0x35c849(0x55e)](_0x54f9e6),this[_0x35c849(0x49e)](_0x2e775d);}}[_0x38c3ff(0x46c)](_0x184322){const _0x4600e9=_0x38c3ff,_0x56a079=this[_0x4600e9(0x2cc)](_0x184322);_0x56a079&&(_0x56a079[_0x4600e9(0x58c)]=0x0,this['_updateStatus']());}['_clearRedo'](_0x2d2b33){const _0x2d31a1=_0x38c3ff,_0x51e55f=this[_0x2d31a1(0x60e)](_0x2d2b33);_0x51e55f&&(_0x51e55f['length']=0x0,this[_0x2d31a1(0x3e2)]());}[_0x38c3ff(0x276)](_0x502b8e,_0x37d11b){const _0x24f49a=_0x38c3ff;this[_0x24f49a(0x50d)][_0x24f49a(0x3e8)](_0x502b8e,_0x37d11b),this[_0x24f49a(0x3e2)]();}[_0x38c3ff(0x3d2)](_0x9ef50e,_0x5dbf5f){const _0x5e6b1e=_0x38c3ff;this[_0x5e6b1e(0x229)][_0x5e6b1e(0x3e8)](_0x9ef50e,_0x5dbf5f),this[_0x5e6b1e(0x3e2)]();}[_0x38c3ff(0x510)](_0x4ce378,_0x18c88f){const _0x12a414=_0x38c3ff,_0x30d814=[];let _0x5e9f91=_0x18c88f,_0x4f02d3=_0x18c88f;for(let _0x3f23a6=_0x4ce378[_0x12a414(0x58c)]-0x1;_0x3f23a6>=0x0;_0x3f23a6--){const {unitID:_0x23a27d,undoMutations:_0x59fd12,redoMutations:_0x27e715}=_0x4ce378[_0x3f23a6],_0x4d60f1=this[_0x12a414(0x267)]['transformMutationsWithChangeset'](_0x5e9f91,_0x59fd12),_0x280d88=this['_transformService']['transformMutationsWithChangeset'](_0x4f02d3,_0x27e715);if(S[_0x12a414(0x5d4)](_0x4d60f1)||S[_0x12a414(0x5d4)](_0x280d88)){this[_0x12a414(0x4ce)][_0x12a414(0x55e)](_0x12a414(0x3eb),_0x12a414(0x5b7),_0x4d60f1,_0x280d88);break;}_0x5e9f91=_0x4d60f1[_0x12a414(0x521)],_0x4f02d3=_0x280d88[_0x12a414(0x521)],_0x30d814[_0x12a414(0x473)]({'unitID':_0x23a27d,'undoMutations':_0x4d60f1[_0x12a414(0x41f)],'redoMutations':_0x280d88[_0x12a414(0x41f)]});}return _0x30d814[_0x12a414(0x49f)]();}};It=Fr([Ne(0x0,a[_0x38c3ff(0x2a8)]),Ne(0x1,a[_0x38c3ff(0x439)]),Ne(0x2,a[_0x38c3ff(0x287)]),Ne(0x3,S[_0x38c3ff(0x3cc)]),Ne(0x4,a[_0x38c3ff(0x626)])],It);class An extends a[_0x38c3ff(0x22c)]{constructor(){const _0x516ab1=_0x38c3ff;super(),I(this,_0x516ab1(0x2ce)),this[_0x516ab1(0x2ce)]=A[_0x516ab1(0x5aa)](window,_0x516ab1(0x1b5))['pipe'](A['takeUntil'](this[_0x516ab1(0x5ff)]),A[_0x516ab1(0x246)](0x1),A['mapTo'](void 0x0));}[_0x38c3ff(0x37d)](_0x139b63,_0x222428,_0x5f16f0=!0x1){const _0x43f1fc=_0x38c3ff,_0x12bd0b=new URL(window[_0x43f1fc(0x294)]['href']);_0x12bd0b[_0x43f1fc(0x4c2)][_0x43f1fc(0x3e8)](_0x139b63,_0x222428),_0x5f16f0?window[_0x43f1fc(0x42f)]['replaceState']('','',_0x12bd0b[_0x43f1fc(0x459)]()):window[_0x43f1fc(0x42f)][_0x43f1fc(0x20a)]('','',_0x12bd0b[_0x43f1fc(0x459)]());}['removeParam'](_0x58799f,_0x386891=!0x1){const _0x43961a=_0x38c3ff,_0x17c540=new URL(window[_0x43961a(0x294)][_0x43961a(0x370)]);_0x17c540[_0x43961a(0x4c2)][_0x43961a(0x1d0)](_0x58799f),_0x386891?window[_0x43961a(0x42f)][_0x43961a(0x455)]('','',_0x17c540['toString']()):window[_0x43961a(0x42f)][_0x43961a(0x20a)]('','',_0x17c540[_0x43961a(0x459)]());}[_0x38c3ff(0x400)](_0x4de519){const _0x1ba882=_0x38c3ff;var _0x5adff7;return(_0x5adff7=new URL(window[_0x1ba882(0x294)]['href'])['searchParams'][_0x1ba882(0x585)](_0x4de519))!=null?_0x5adff7:void 0x0;}}var Nn=Object['defineProperty'],Vr=Object['getOwnPropertyDescriptor'],Gr=(_0x324427,_0x420fe6,_0x23fe97)=>_0x420fe6 in _0x324427?Nn(_0x324427,_0x420fe6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x23fe97}):_0x324427[_0x420fe6]=_0x23fe97,Yr=(_0x2dc1b3,_0x16e5c0,_0x41694c,_0x474622)=>{for(var _0x5b7de5=_0x474622>0x1?void 0x0:_0x474622?Vr(_0x16e5c0,_0x41694c):_0x16e5c0,_0x5a16f7=_0x2dc1b3['length']-0x1,_0x33dac9;_0x5a16f7>=0x0;_0x5a16f7--)(_0x33dac9=_0x2dc1b3[_0x5a16f7])&&(_0x5b7de5=(_0x474622?_0x33dac9(_0x16e5c0,_0x41694c,_0x5b7de5):_0x33dac9(_0x5b7de5))||_0x5b7de5);return _0x474622&&_0x5b7de5&&Nn(_0x16e5c0,_0x41694c,_0x5b7de5),_0x5b7de5;},He=(_0x41ea45,_0x4be64c)=>(_0xa675f2,_0x12ea5e)=>_0x4be64c(_0xa675f2,_0x12ea5e,_0x41ea45),Kr=(_0x6a8144,_0x555f5d,_0x11633f)=>Gr(_0x6a8144,_0x555f5d+'',_0x11633f);const qr=_0x38c3ff(0x579);exports[_0x38c3ff(0x252)]=class extends a[_0x38c3ff(0x5e5)]{constructor(_0xf1f6f7=zn,_0x359dec,_0x30b56c,_0x1631fe,_0x50d4e1){const _0x3d5316=_0x38c3ff;super(),this[_0x3d5316(0x62a)]=_0xf1f6f7,this[_0x3d5316(0x4ce)]=_0x359dec,this[_0x3d5316(0x286)]=_0x30b56c,this['_injector']=_0x1631fe,this[_0x3d5316(0x1f5)]=_0x50d4e1;const {..._0x207ce5}=this[_0x3d5316(0x62a)];this[_0x3d5316(0x1f5)][_0x3d5316(0x30f)](te,_0x207ce5);}[_0x38c3ff(0x5d5)](){const _0x2b0904=_0x38c3ff;this[_0x2b0904(0x347)](),this[_0x2b0904(0x42e)]();}[_0x38c3ff(0x44c)](){const _0x37b6fa=_0x38c3ff;a[_0x37b6fa(0x655)](this['_injector'],[[Ve]]);}[_0x38c3ff(0x561)](){const _0x475a71=_0x38c3ff;this[_0x475a71(0x245)]();}[_0x38c3ff(0x347)](){const _0x47216e=_0x38c3ff;var _0x4e07df,_0x44abc9,_0x2dcdeb,_0x598df8;this['_injector'][_0x47216e(0x599)](a[_0x47216e(0x1bc)])&&this[_0x47216e(0x4ce)]['error'](_0x47216e(0x328),_0x47216e(0x25a));const _0x35baf1=[[a[_0x47216e(0x1bc)],{'useClass':It}],[exports[_0x47216e(0x1f6)]],[Ot],[wt,{'useClass':An}],[exports[_0x47216e(0x41e)]],[exports[_0x47216e(0x227)]],[Z[_0x47216e(0x51c)]],[ke],[Fe],[Be],[We],[Rt],[Ge],[Ye],[Tt],[Ke],[bt,{'useClass':(_0x44abc9=(_0x4e07df=this['_config'])==null?void 0x0:_0x4e07df[_0x47216e(0x5af)])!=null?_0x44abc9:exports['CollaborationSocketService']}],[S[_0x47216e(0x1ca)],{'useClass':exports[_0x47216e(0x4b7)]}],[a[_0x47216e(0x34e)],{'useClass':exports[_0x47216e(0x232)]}],[ne[_0x47216e(0x499)],{'useClass':exports[_0x47216e(0x5ea)]}],[exports[_0x47216e(0x571)]],[exports[_0x47216e(0x388)]],[exports[_0x47216e(0x4e6)]],[Ve],[De]];(_0x2dcdeb=this['_config'])!=null&&_0x2dcdeb[_0x47216e(0x32b)]&&_0x35baf1[_0x47216e(0x473)]([qe,{'useClass':Oi}]),a['registerDependencies'](this['_injector'],a[_0x47216e(0x3c8)](_0x35baf1,(_0x598df8=this['_config'])==null?void 0x0:_0x598df8['override']));}[_0x38c3ff(0x245)](){const _0x131385=_0x38c3ff;this[_0x131385(0x4bd)](this[_0x131385(0x286)][_0x131385(0x2e4)](a[_0x131385(0x27f)][_0x131385(0x649)],[pt])),this[_0x131385(0x4bd)](this[_0x131385(0x286)][_0x131385(0x2e4)](a[_0x131385(0x27f)]['UNIVER_SHEET'],[gt]));}[_0x38c3ff(0x42e)](){const _0x388419=_0x38c3ff;var _0x27cace,_0x2c07ab;this[_0x388419(0x3b6)][_0x388419(0x585)](Z['HTTPService'])[_0x388419(0x53f)]({'priority':0x14,'interceptor':Z['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x27cace=this[_0x388419(0x62a)])!=null&&_0x27cace[_0x388419(0x50b)]||this[_0x388419(0x3b6)][_0x388419(0x585)](exports[_0x388419(0x227)])['disableLocalCache'](),(_0x2c07ab=this['_config'])!=null&&_0x2c07ab['enableAuthServer']&&a[_0x388419(0x655)](this[_0x388419(0x3b6)],[[Ge]]),a[_0x388419(0x655)](this['_injector'],[[Ye],[De],[exports['DataLoaderController']],[exports[_0x388419(0x571)]],[exports[_0x388419(0x4e6)]],[Ke]]);}},Kr(exports[_0x38c3ff(0x252)],_0x38c3ff(0x3af),qr),exports[_0x38c3ff(0x252)]=Yr([a[_0x38c3ff(0x471)](S[_0x38c3ff(0x61b)],Z[_0x38c3ff(0x432)]),He(0x1,a[_0x38c3ff(0x626)]),He(0x2,K[_0x38c3ff(0x3ea)]),He(0x3,a['Inject'](a[_0x38c3ff(0x50e)])),He(0x4,a[_0x38c3ff(0x326)])],exports[_0x38c3ff(0x252)]),exports[_0x38c3ff(0x2f4)]=Rn,exports[_0x38c3ff(0x39a)]=on,exports[_0x38c3ff(0x489)]=en,exports[_0x38c3ff(0x5ce)]=q,exports[_0x38c3ff(0x1de)]=Tn,exports['CommentService']=Tt,exports[_0x38c3ff(0x448)]=tn,exports[_0x38c3ff(0x208)]=Ct,exports[_0x38c3ff(0x243)]=bt,exports[_0x38c3ff(0x2f6)]=wt,exports['LOCAL_CACHE_INTERVAL_KEY']=rn,exports[_0x38c3ff(0x216)]=an,exports[_0x38c3ff(0x441)]=sn,exports[_0x38c3ff(0x483)]=Bn,exports[_0x38c3ff(0x2cf)]=Zt,exports['SNAPSHOT_URL_KEY']=Qt,exports[_0x38c3ff(0x270)]=se,exports[_0x38c3ff(0x387)]=Sn,exports[_0x38c3ff(0x5ee)]=An,exports['deserializeToCombResponse']=hn,exports[_0x38c3ff(0x564)]=_n;
|
1
|
+
'use strict';const _0x54516d=_0xe852;(function(_0x5b820e,_0x228bd6){const _0x38c659=_0xe852,_0x17806e=_0x5b820e();while(!![]){try{const _0x2df6f3=parseInt(_0x38c659(0x2d8))/0x1+-parseInt(_0x38c659(0x3cd))/0x2+-parseInt(_0x38c659(0x541))/0x3*(parseInt(_0x38c659(0x4a1))/0x4)+parseInt(_0x38c659(0x326))/0x5+parseInt(_0x38c659(0x3ae))/0x6+-parseInt(_0x38c659(0x4a4))/0x7*(-parseInt(_0x38c659(0x1d4))/0x8)+-parseInt(_0x38c659(0x5ce))/0x9*(parseInt(_0x38c659(0x28d))/0xa);if(_0x2df6f3===_0x228bd6)break;else _0x17806e['push'](_0x17806e['shift']());}catch(_0xeaee63){_0x17806e['push'](_0x17806e['shift']());}}}(_0x47dd,0x7ecbd));var Ln=Object['defineProperty'],xn=(_0x352df8,_0x4444f0,_0x22aaf1)=>_0x4444f0 in _0x352df8?Ln(_0x352df8,_0x4444f0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x22aaf1}):_0x352df8[_0x4444f0]=_0x22aaf1,I=(_0x3726a5,_0x428124,_0x31464a)=>xn(_0x3726a5,typeof _0x428124!='symbol'?_0x428124+'':_0x428124,_0x31464a);Object[_0x54516d(0x461)](exports,Symbol[_0x54516d(0x26c)],{'value':_0x54516d(0x37a)});const a=require(_0x54516d(0x4f7)),A=require(_0x54516d(0x32b)),V=require('rxjs/operators'),ge=require(_0x54516d(0x361)),ee=require(_0x54516d(0x5ad)),Z=require('@univerjs/network'),S=require(_0x54516d(0x5e2)),jn=require(_0x54516d(0x1d1)),J=require(_0x54516d(0x36f)),k=require(_0x54516d(0x3ba)),K=require('@univerjs/engine-render'),ye=require('@univerjs/docs'),ne=require(_0x54516d(0x3c7)),Pt=require(_0x54516d(0x355)),Re=require(_0x54516d(0x2bd)),ae=require(_0x54516d(0x594)),$n=require(_0x54516d(0x302)),Zt='SNAPSHOT_SERVER_URL_KEY',Hn='/universer-api/snapshot',Qt='SNAPSHOT_URL_KEY',Bn=_0x54516d(0x3fe),kn=0x7d0,en=_0x54516d(0x5af),Wn='ws://127.0.0.1:8000/universer-api/comb/connect',tn='HEARTBEAT_INTERVAL',Fn=0x7530,Ct=_0x54516d(0x612),nn=0x4e20,Vn=0x4e20,sn=_0x54516d(0x16d),Gn=0x3,rn='LOCAL_CACHE_INTERVAL',Yn=0x3e8,on=_0x54516d(0x51b),Kn=_0x54516d(0x5e9),an=_0x54516d(0x482),qn=_0x54516d(0x576);var cn=(_0xd9adbb=>(_0xd9adbb[_0xd9adbb[_0x54516d(0x1f9)]=0x0]=_0x54516d(0x1f9),_0xd9adbb[_0xd9adbb['OK']=0x1]='OK',_0xd9adbb[_0xd9adbb[_0x54516d(0x39c)]=0x2]=_0x54516d(0x39c),_0xd9adbb[_0xd9adbb[_0x54516d(0x20f)]=0x3]='PERMISSION_DENIED',_0xd9adbb[_0xd9adbb[_0x54516d(0x33b)]=0x4]='NOT_FOUND',_0xd9adbb[_0xd9adbb[_0x54516d(0x5c8)]=0x5]=_0x54516d(0x5c8),_0xd9adbb[_0xd9adbb[_0x54516d(0x2fb)]=0x6]=_0x54516d(0x2fb),_0xd9adbb[_0xd9adbb[_0x54516d(0x3bd)]=0x7]=_0x54516d(0x3bd),_0xd9adbb[_0xd9adbb[_0x54516d(0x24c)]=0x8]=_0x54516d(0x24c),_0xd9adbb[_0xd9adbb['COMPLETION_FINISHED']=0x9]=_0x54516d(0x520),_0xd9adbb[_0xd9adbb['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x54516d(0x235),_0xd9adbb[_0xd9adbb['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x54516d(0x2ec),_0xd9adbb[_0xd9adbb['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x54516d(0x5fd),_0xd9adbb[_0xd9adbb[_0x54516d(0x237)]=0x1773]=_0x54516d(0x237),_0xd9adbb[_0xd9adbb[_0x54516d(0x36b)]=0x1b59]=_0x54516d(0x36b),_0xd9adbb[_0xd9adbb[_0x54516d(0x27f)]=0x1b5a]=_0x54516d(0x27f),_0xd9adbb[_0xd9adbb[_0x54516d(0x295)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0xd9adbb[_0xd9adbb[_0x54516d(0x4d2)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0xd9adbb[_0xd9adbb['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0xd9adbb[_0xd9adbb[_0x54516d(0x5e0)]=0x1f41]=_0x54516d(0x5e0),_0xd9adbb[_0xd9adbb[_0x54516d(0x470)]=0x2329]=_0x54516d(0x470),_0xd9adbb[_0xd9adbb['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0xd9adbb[_0xd9adbb[_0x54516d(0x572)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0xd9adbb[_0xd9adbb['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0xd9adbb[_0xd9adbb[_0x54516d(0x5d7)]=0x232d]=_0x54516d(0x5d7),_0xd9adbb[_0xd9adbb[_0x54516d(0x200)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0xd9adbb[_0xd9adbb[_0x54516d(0x412)]=0x2712]=_0x54516d(0x412),_0xd9adbb[_0xd9adbb['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x54516d(0x270),_0xd9adbb[_0xd9adbb[_0x54516d(0x2cc)]=0x2714]=_0x54516d(0x2cc),_0xd9adbb[_0xd9adbb[_0x54516d(0x3f3)]=-0x1]=_0x54516d(0x3f3),_0xd9adbb))(cn||{}),ie=(_0xa1c4e=>(_0xa1c4e[_0xa1c4e[_0x54516d(0x3d4)]=0x0]=_0x54516d(0x3d4),_0xa1c4e[_0xa1c4e['UNIVER_DOC']=0x1]=_0x54516d(0x60e),_0xa1c4e[_0xa1c4e[_0x54516d(0x299)]=0x2]=_0x54516d(0x299),_0xa1c4e[_0xa1c4e[_0x54516d(0x2e8)]=0x3]='UNIVER_SLIDE',_0xa1c4e[_0xa1c4e[_0x54516d(0x3ad)]=0x4]='UNIVER_PROJECT',_0xa1c4e[_0xa1c4e[_0x54516d(0x3f3)]=-0x1]='UNRECOGNIZED',_0xa1c4e))(ie||{}),G=(_0x49d7d9=>(_0x49d7d9[_0x49d7d9['UNKNOWN_CMD']=0x0]=_0x54516d(0x49b),_0x49d7d9[_0x49d7d9['HELLO']=0x1]=_0x54516d(0x1d7),_0x49d7d9[_0x49d7d9['JOIN']=0x2]=_0x54516d(0x2e0),_0x49d7d9[_0x49d7d9['LEAVE']=0x3]=_0x54516d(0x259),_0x49d7d9[_0x49d7d9['INGEST']=0x4]=_0x54516d(0x2f7),_0x49d7d9[_0x49d7d9[_0x54516d(0x25f)]=0x5]=_0x54516d(0x25f),_0x49d7d9[_0x49d7d9[_0x54516d(0x54c)]=0x6]=_0x54516d(0x54c),_0x49d7d9[_0x49d7d9[_0x54516d(0x3f3)]=-0x1]='UNRECOGNIZED',_0x49d7d9))(G||{}),Et=(_0xb6291=>(_0xb6291[_0xb6291['UNKNOWN_CODE']=0x0]=_0x54516d(0x3e5),_0xb6291[_0xb6291['OK']=0x1]='OK',_0xb6291[_0xb6291['FAIL']=0x2]='FAIL',_0xb6291[_0xb6291[_0x54516d(0x3f3)]=-0x1]=_0x54516d(0x3f3),_0xb6291))(Et||{}),ln=(_0x5f2a16=>(_0x5f2a16[_0x5f2a16['Undefined']=0x0]=_0x54516d(0x204),_0x5f2a16[_0x5f2a16[_0x54516d(0x502)]=0x1]=_0x54516d(0x502),_0x5f2a16[_0x5f2a16[_0x54516d(0x460)]=0x2]='HttpExport',_0x5f2a16[_0x5f2a16[_0x54516d(0x3a0)]=0x3]=_0x54516d(0x3a0),_0x5f2a16[_0x5f2a16[_0x54516d(0x177)]=0x4]='UnitSnapshot',_0x5f2a16[_0x5f2a16[_0x54516d(0x3f3)]=-0x1]=_0x54516d(0x3f3),_0x5f2a16))(ln||{});const te='collaboration-client.config',zn={};function hn(_0x572c59){const _0x3ae7cf=_0x54516d;var _0x5be96b,_0x26e992,_0x33759b,_0x36d11a,_0x4cc4b1;const _0x4b03a4=_0x572c59[_0x3ae7cf(0x547)],_0x4b005e=JSON[_0x3ae7cf(0x2a0)](_0x4b03a4);switch(_0x4b005e[_0x3ae7cf(0x263)]){case G[_0x3ae7cf(0x25f)]:case G[_0x3ae7cf(0x1d7)]:{const _0x3fb103=_0x4b005e[_0x3ae7cf(0x4a7)];return{..._0x4b005e,'data':_0x3fb103,'cmd':_0x4b005e[_0x3ae7cf(0x263)]};}case G[_0x3ae7cf(0x2e0)]:{const _0x284ff5=_0x4b005e[_0x3ae7cf(0x581)];return{..._0x4b005e,'data':_0x284ff5,'cmd':_0x4b005e[_0x3ae7cf(0x263)]};}case G[_0x3ae7cf(0x54c)]:{const _0x4a9342=_0x4b005e[_0x3ae7cf(0x596)];switch(_0x4a9342['eventID']){case S[_0x3ae7cf(0x5de)]['PERMISSION_REJ']:return{..._0x4b005e,'data':{..._0x4a9342,'data':(_0x5be96b=_0x4a9342[_0x3ae7cf(0x30d)])==null?void 0x0:_0x5be96b['cs']},'cmd':_0x4b005e['cmd']};case S[_0x3ae7cf(0x5de)][_0x3ae7cf(0x5b3)]:return{..._0x4b005e,'data':{..._0x4a9342,'data':(_0x26e992=_0x4a9342[_0x3ae7cf(0x3d1)])==null?void 0x0:_0x26e992['cs']},'cmd':_0x4b005e['cmd']};case S[_0x3ae7cf(0x5de)][_0x3ae7cf(0x33c)]:return{..._0x4b005e,'data':{..._0x4a9342,'data':(_0x33759b=_0x4a9342[_0x3ae7cf(0x29c)])==null?void 0x0:_0x33759b['cs']},'cmd':_0x4b005e[_0x3ae7cf(0x263)]};case S[_0x3ae7cf(0x5de)][_0x3ae7cf(0x477)]:return{..._0x4b005e,'data':{..._0x4a9342,'data':(_0x36d11a=_0x4a9342['csRejEvent'])==null?void 0x0:_0x36d11a['cs']},'cmd':_0x4b005e['cmd']};case S['CollaborationEvent'][_0x3ae7cf(0x1b8)]:return{..._0x4b005e,'data':{..._0x4a9342,'data':(_0x4cc4b1=_0x4a9342[_0x3ae7cf(0x402)])==null?void 0x0:_0x4cc4b1['cs']},'cmd':_0x4b005e['cmd']};case S[_0x3ae7cf(0x5de)][_0x3ae7cf(0x485)]:return{..._0x4b005e,'data':{..._0x4a9342,'data':_0x4a9342[_0x3ae7cf(0x41b)]},'cmd':_0x4b005e['cmd']};case S[_0x3ae7cf(0x5de)][_0x3ae7cf(0x4c6)]:return{..._0x4b005e,'data':{..._0x4a9342,'data':_0x4a9342[_0x3ae7cf(0x46c)]},'cmd':_0x4b005e[_0x3ae7cf(0x263)]};case S[_0x3ae7cf(0x5de)][_0x3ae7cf(0x58b)]:return{..._0x4b005e,'data':{..._0x4a9342,'data':_0x4a9342[_0x3ae7cf(0x35b)]},'cmd':_0x4b005e[_0x3ae7cf(0x263)]};case S[_0x3ae7cf(0x5de)]['LIVESHARE_NEW_HOST']:return{..._0x4b005e,'data':{..._0x4a9342,'data':_0x4a9342[_0x3ae7cf(0x2ff)]},'cmd':_0x4b005e['cmd']};case S[_0x3ae7cf(0x5de)]['LIVESHARE_FETCH_OPERATIONS']:case S['CollaborationEvent'][_0x3ae7cf(0x512)]:return{..._0x4b005e,'data':{..._0x4a9342,'data':_0x4a9342[_0x3ae7cf(0x51c)]},'cmd':_0x4b005e['cmd']};case S[_0x3ae7cf(0x5de)][_0x3ae7cf(0x5a4)]:return{..._0x4b005e,'data':{..._0x4a9342,'data':_0x4a9342[_0x3ae7cf(0x2ff)]},'cmd':_0x4b005e['cmd']};case S[_0x3ae7cf(0x5de)][_0x3ae7cf(0x191)]:return{..._0x4b005e,'data':_0x4a9342,'cmd':_0x4b005e[_0x3ae7cf(0x263)]};case S['CollaborationEvent'][_0x3ae7cf(0x32d)]:return{..._0x4b005e,'data':{..._0x4a9342,'data':_0x4a9342[_0x3ae7cf(0x41d)]},'cmd':_0x4b005e[_0x3ae7cf(0x263)]};case S[_0x3ae7cf(0x5de)][_0x3ae7cf(0x2d4)]:return{..._0x4b005e,'data':{..._0x4a9342,'data':_0x4a9342[_0x3ae7cf(0x55f)]},'cmd':_0x4b005e[_0x3ae7cf(0x263)]};case S[_0x3ae7cf(0x5de)][_0x3ae7cf(0x325)]:return{..._0x4b005e,'data':{..._0x4a9342,'data':_0x4a9342[_0x3ae7cf(0x2a9)]},'cmd':_0x4b005e[_0x3ae7cf(0x263)]};default:return _0x4b005e;}}default:return _0x4b005e;}}function _n(_0x552190){const _0x354077=_0x54516d;switch(_0x552190[_0x354077(0x263)]){case G['HEARTBEAT']:case G['HELLO']:return JSON['stringify']({'cmd':_0x552190['cmd'],'routeKey':_0x552190[_0x354077(0x43b)]});case G[_0x354077(0x2f7)]:{let _0x4df7ff;switch(_0x552190[_0x354077(0x547)][_0x354077(0x4aa)]){case S[_0x354077(0x5de)][_0x354077(0x485)]:{_0x4df7ff={'eventID':S['CollaborationEvent']['UPDATE_CURSOR'],'updateCursorEvent':_0x552190['data'][_0x354077(0x547)]};break;}case S[_0x354077(0x5de)][_0x354077(0x58b)]:{_0x4df7ff={'eventID':S[_0x354077(0x5de)][_0x354077(0x58b)],'leaveEvent':_0x552190['data'][_0x354077(0x547)]};break;}case S[_0x354077(0x5de)][_0x354077(0x4c6)]:{_0x4df7ff={'eventID':S['CollaborationEvent'][_0x354077(0x4c6)],'joinEvent':_0x552190[_0x354077(0x547)][_0x354077(0x547)]};break;}case S[_0x354077(0x5de)][_0x354077(0x4f9)]:{_0x4df7ff={'eventID':S[_0x354077(0x5de)]['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x552190[_0x354077(0x547)][_0x354077(0x547)]};break;}case S[_0x354077(0x5de)][_0x354077(0x512)]:{_0x4df7ff={'eventID':S[_0x354077(0x5de)][_0x354077(0x512)],'liveShareOperation':_0x552190[_0x354077(0x547)][_0x354077(0x547)]};break;}case S[_0x354077(0x5de)][_0x354077(0x5a4)]:{_0x4df7ff={'eventID':S['CollaborationEvent'][_0x354077(0x5a4)],'liveShareTerminate':_0x552190[_0x354077(0x547)][_0x354077(0x547)]};break;}case S['CollaborationEvent'][_0x354077(0x5a5)]:{_0x4df7ff={'eventID':S[_0x354077(0x5de)]['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x552190[_0x354077(0x547)][_0x354077(0x547)]};break;}case S[_0x354077(0x5de)]['LIVESHARE_FETCH_OPERATIONS']:{_0x4df7ff={'eventID':S[_0x354077(0x5de)]['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x4df7ff={'eventID':_0x552190[_0x354077(0x547)][_0x354077(0x4aa)]};}return JSON[_0x354077(0x4c1)]({'cmd':_0x552190[_0x354077(0x263)],'routeKey':_0x552190[_0x354077(0x43b)],'collaMsg':_0x4df7ff});}case G[_0x354077(0x2e0)]:return JSON[_0x354077(0x4c1)]({'cmd':_0x552190[_0x354077(0x263)],'routeKey':_0x552190[_0x354077(0x43b)],'joinReq':_0x552190[_0x354077(0x547)]});case G['LEAVE']:return JSON[_0x354077(0x4c1)]({'cmd':_0x552190['cmd'],'routeKey':_0x552190[_0x354077(0x43b)],'leaveReq':_0x552190['data']});default:throw new Error(_0x354077(0x3cc));}}var Xn=Object[_0x54516d(0x461)],Jn=Object['getOwnPropertyDescriptor'],Zn=(_0x33dd8a,_0x578bc7,_0x432ad3,_0x4879bd)=>{const _0x403ab0=_0x54516d;for(var _0xc5f924=_0x4879bd>0x1?void 0x0:_0x4879bd?Jn(_0x578bc7,_0x432ad3):_0x578bc7,_0x52e484=_0x33dd8a[_0x403ab0(0x5e8)]-0x1,_0x5df242;_0x52e484>=0x0;_0x52e484--)(_0x5df242=_0x33dd8a[_0x52e484])&&(_0xc5f924=(_0x4879bd?_0x5df242(_0x578bc7,_0x432ad3,_0xc5f924):_0x5df242(_0xc5f924))||_0xc5f924);return _0x4879bd&&_0xc5f924&&Xn(_0x578bc7,_0x432ad3,_0xc5f924),_0xc5f924;},we=(_0x4504d2,_0x26b638)=>(_0x18e07b,_0x4a3976)=>_0x26b638(_0x18e07b,_0x4a3976,_0x4504d2);const bt=a[_0x54516d(0x528)](_0x54516d(0x4b6));function Qn(_0x11f89c,_0x89f412,_0x214406){const _0x361c47=_0x54516d;return _0x11f89c+'/'+_0x89f412+'/unit/'+_0x214406+_0x361c47(0x1af);}exports[_0x54516d(0x418)]=class extends a[_0x54516d(0x25e)]{constructor(_0x1309e2,_0x4a15ce,_0x5791dd,_0x1a4924,_0x3439eb){const _0x5cc681=_0x54516d;super(),this['_http']=_0x1309e2,this['_ws']=_0x4a15ce,this[_0x5cc681(0x2a3)]=_0x5791dd,this[_0x5cc681(0x241)]=_0x1a4924,this[_0x5cc681(0x53b)]=_0x3439eb;}[_0x54516d(0x290)](_0x428c2c){const _0x4d43eb=_0x54516d,_0x39cd4d=this[_0x4d43eb(0x264)][_0x4d43eb(0x290)](_0x428c2c);if(!_0x39cd4d)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x4006c1=new a[(_0x4d43eb(0x1b5))](),_0x512d0b=new A[(_0x4d43eb(0x465))]();_0x4006c1[_0x4d43eb(0x2ba)](_0x39cd4d[_0x4d43eb(0x397)][_0x4d43eb(0x4d6)](_0x414f53=>_0x512d0b[_0x4d43eb(0x4bd)](_0x414f53))),_0x4006c1['add'](a[_0x4d43eb(0x562)](()=>_0x512d0b[_0x4d43eb(0x28e)]()));const _0x191694=new A[(_0x4d43eb(0x465))]();_0x4006c1[_0x4d43eb(0x2ba)](_0x39cd4d[_0x4d43eb(0x534)][_0x4d43eb(0x4d6)](_0x424291=>_0x191694[_0x4d43eb(0x4bd)](_0x424291))),_0x4006c1[_0x4d43eb(0x2ba)](a[_0x4d43eb(0x562)](()=>_0x191694[_0x4d43eb(0x28e)]()));const _0x42a783=new A[(_0x4d43eb(0x465))]();_0x4006c1[_0x4d43eb(0x2ba)](_0x39cd4d[_0x4d43eb(0x40e)][_0x4d43eb(0x4d6)](_0x8131dc=>{const _0x520e4d=hn(_0x8131dc);_0x42a783['next'](_0x520e4d);})),_0x4006c1['add'](a[_0x4d43eb(0x562)](()=>_0x42a783[_0x4d43eb(0x28e)]()));let _0x42682a;const _0x27f62a=()=>{const _0x3bb556=_0x4d43eb;_0x191694[_0x3bb556(0x4bd)](new Event(_0x3bb556(0x443))),_0x512d0b[_0x3bb556(0x4bd)](new CloseEvent('connection\x20error')),_0x42682a[_0x3bb556(0x575)]();};return _0x42682a={'memberID':'','close$':_0x512d0b['asObservable'](),'error$':_0x191694[_0x4d43eb(0x1a1)](),'open$':_0x39cd4d[_0x4d43eb(0x1a6)],'message$':_0x42a783['asObservable'](),'send':_0x2b242d=>{const _0x3edd2d=_0x4d43eb;if(_0x2b242d[_0x3edd2d(0x263)]===G['INGEST']){if(_0x2b242d[_0x3edd2d(0x547)][_0x3edd2d(0x4aa)]===S[_0x3edd2d(0x5de)][_0x3edd2d(0x3e6)]){this['_submitChangeset'](_0x42682a,_0x2b242d[_0x3edd2d(0x547)])[_0x3edd2d(0x618)](_0x293686=>{const _0xc12f8=_0x3edd2d;this[_0xc12f8(0x241)][_0xc12f8(0x29f)](_0x293686),_0x27f62a();});return;}if(_0x2b242d['data'][_0x3edd2d(0x4aa)]===S['CollaborationEvent']['FETCH_MISSING']){const _0x308bd5=_0x2b242d[_0x3edd2d(0x547)];this['_fetchMissChangesets'](_0x308bd5)[_0x3edd2d(0x182)](_0x12a6b2=>{const _0x1ffe55=_0x3edd2d;_0x42a783[_0x1ffe55(0x4bd)]({'cmd':G['RECV'],'code':Et['OK'],'routeKey':_0x308bd5['data'][_0x1ffe55(0x351)],'routeType':'','data':{'eventID':S['CollaborationEvent'][_0x1ffe55(0x5b0)],'data':{'changesets':_0x12a6b2}}});})[_0x3edd2d(0x618)](_0x5a699c=>{const _0x5030a1=_0x3edd2d;this['_logService'][_0x5030a1(0x29f)](_0x5a699c),_0x27f62a();});return;}}_0x39cd4d[_0x3edd2d(0x43c)](_n(_0x2b242d));},'close':()=>{const _0x3e0b71=_0x4d43eb;_0x39cd4d[_0x3e0b71(0x575)](),_0x4006c1[_0x3e0b71(0x417)]();}},_0x42682a;}async['_submitChangeset'](_0x174515,_0x216b8d){const _0xc802be=_0x54516d;var _0x23ee9c,_0x37593c;const {unitType:_0x305bfe,unitID:_0x478f85,changeset:_0x12971b}=_0x216b8d[_0xc802be(0x547)],_0x3ffc72={'unitID':_0x478f85,'memberID':_0x174515[_0xc802be(0x24b)],'type':_0x305bfe,'changeset':S['parseChangesetToProtocol'](_0x12971b)},_0x4e2bbf=this[_0xc802be(0x2a3)][_0xc802be(0x21d)](on),_0x40a069=this['_configService'][_0xc802be(0x21d)](te),_0x1b556a=Qn((_0x37593c=(_0x23ee9c=_0x40a069==null?void 0x0:_0x40a069[_0xc802be(0x21e)])!=null?_0x23ee9c:_0x4e2bbf)!=null?_0x37593c:Kn,_0x305bfe,_0x478f85);try{await this[_0xc802be(0x24d)][_0xc802be(0x486)](_0x1b556a,{'body':_0x3ffc72});}catch(_0xe831b2){throw this[_0xc802be(0x241)][_0xc802be(0x29f)](_0xc802be(0x316),_0xc802be(0x3e3)),_0xe831b2;}}async[_0x54516d(0x5a8)](_0x415b29){const _0x433e68=_0x54516d,{unitID:_0x449740,from:_0x26d63b,to:_0x38fcf0,unitType:_0x4ceaa3}=_0x415b29[_0x433e68(0x547)];return(await this[_0x433e68(0x53b)][_0x433e68(0x565)]({'metadata':void 0x0},{'unitID':_0x449740,'type':_0x4ceaa3,'from':_0x26d63b,'to':_0x38fcf0}))[_0x433e68(0x4e5)];}},exports['CollaborationSocketService']=Zn([we(0x0,a['Inject'](Z[_0x54516d(0x180)])),we(0x1,a[_0x54516d(0x573)](Z[_0x54516d(0x431)])),we(0x2,a['IConfigService']),we(0x3,a['ILogService']),we(0x4,S[_0x54516d(0x4e0)])],exports[_0x54516d(0x418)]);const ei=_0x54516d(0x16f);function ti(_0x4ba24f){const _0x44ad56=_0x54516d;return JSON['stringify'](_0x4ba24f)[_0x44ad56(0x5e8)];}class Tt{constructor(){const _0x5d2bc7=_0x54516d;I(this,_0x5d2bc7(0x26a),new A['Subject']()),I(this,'commentUpdate$',this[_0x5d2bc7(0x26a)][_0x5d2bc7(0x1a1)]());}[_0x54516d(0x451)](_0x24ed42){const _0x429d0d=_0x54516d;this[_0x429d0d(0x26a)][_0x429d0d(0x4bd)](_0x24ed42);}}var ni=Object['defineProperty'],ii=Object[_0x54516d(0x363)],si=(_0x151033,_0x30128,_0x53f675,_0x29fdb1)=>{const _0x5065d8=_0x54516d;for(var _0xe9768d=_0x29fdb1>0x1?void 0x0:_0x29fdb1?ii(_0x30128,_0x53f675):_0x30128,_0x52995c=_0x151033[_0x5065d8(0x5e8)]-0x1,_0x4d04b1;_0x52995c>=0x0;_0x52995c--)(_0x4d04b1=_0x151033[_0x52995c])&&(_0xe9768d=(_0x29fdb1?_0x4d04b1(_0x30128,_0x53f675,_0xe9768d):_0x4d04b1(_0xe9768d))||_0xe9768d);return _0x29fdb1&&_0xe9768d&&ni(_0x30128,_0x53f675,_0xe9768d),_0xe9768d;},Ut=(_0x2259ca,_0x36c484)=>(_0x9cd4c3,_0x440283)=>_0x36c484(_0x9cd4c3,_0x440283,_0x2259ca);exports[_0x54516d(0x3a8)]=class extends a['Disposable']{constructor(_0x51c75b,_0x38f847){const _0x42267a=_0x54516d;super(),I(this,'_roomMembers',new Map()),(this['_univerInstanceService']=_0x51c75b,this[_0x42267a(0x2f3)]=_0x38f847,this[_0x42267a(0x55b)](a['toDisposable'](A[_0x42267a(0x349)](this[_0x42267a(0x228)][_0x42267a(0x2f8)](a[_0x42267a(0x2f2)][_0x42267a(0x299)])[_0x42267a(0x5f2)](V['map'](_0x1495dd=>_0x1495dd[_0x42267a(0x2c5)]())),this[_0x42267a(0x228)]['getTypeOfUnitDisposed$'](a[_0x42267a(0x2f2)][_0x42267a(0x60e)])[_0x42267a(0x5f2)](V['map'](_0x4bc7a6=>_0x4bc7a6[_0x42267a(0x2c5)]())),this[_0x42267a(0x228)][_0x42267a(0x2f8)](a[_0x42267a(0x2f2)][_0x42267a(0x2e8)])[_0x42267a(0x5f2)](V['map'](_0x171111=>_0x171111[_0x42267a(0x2c5)]())))[_0x42267a(0x4d6)](_0x5ddc03=>this[_0x42267a(0x210)](_0x5ddc03)))));}[_0x54516d(0x372)](_0x2de5a0){const _0x412aee=_0x54516d;this[_0x412aee(0x2f3)]['setCurrentUser'](_0x2de5a0);}[_0x54516d(0x496)](){return this['_userManagerService']['getCurrentUser']();}[_0x54516d(0x364)](_0x260508,_0x3abd24){const _0x282617=_0x54516d;let _0x4daf88=this[_0x282617(0x4ca)]['get'](_0x260508);_0x4daf88||(_0x4daf88=new ri(),this['_roomMembers'][_0x282617(0x36d)](_0x260508,_0x4daf88)),_0x4daf88[_0x282617(0x364)](_0x3abd24);}[_0x54516d(0x328)](_0x41e5ad,_0x1913b4){const _0x1b2084=_0x54516d,_0x362d7a=this['_roomMembers'][_0x1b2084(0x3b1)](_0x41e5ad);_0x362d7a&&_0x362d7a[_0x1b2084(0x328)](_0x1913b4);}['getRoom'](_0xff65e8){const _0x1fb6d7=_0x54516d;return this[_0x1fb6d7(0x4ca)][_0x1fb6d7(0x3b1)](_0xff65e8);}[_0x54516d(0x2d0)](_0x3a7d26,_0x102951){const _0x13d223=_0x54516d,_0x14151d=this[_0x13d223(0x4ca)][_0x13d223(0x3b1)](_0x3a7d26);if(_0x14151d)return _0x14151d[_0x13d223(0x2d0)](_0x102951);}[_0x54516d(0x210)](_0x466bee){const _0x5faa99=_0x54516d,_0x25878b=this['_roomMembers'][_0x5faa99(0x3b1)](_0x466bee);_0x25878b&&(_0x25878b[_0x5faa99(0x417)](),this[_0x5faa99(0x4ca)]['delete'](_0x466bee));}['dispose'](){const _0x125153=_0x54516d;this[_0x125153(0x4ca)][_0x125153(0x1ba)](_0xcec38d=>_0xcec38d['dispose']()),this[_0x125153(0x4ca)][_0x125153(0x202)]();}},exports['MemberService']=si([Ut(0x0,a[_0x54516d(0x4e2)]),Ut(0x1,a['Inject'](a['UserManagerService']))],exports[_0x54516d(0x3a8)]);class ri extends a[_0x54516d(0x25e)]{constructor(){super(...arguments),I(this,'_members',new Map());}[_0x54516d(0x417)](){const _0x46219f=_0x54516d;this[_0x46219f(0x5c5)][_0x46219f(0x202)]();}[_0x54516d(0x364)](_0xb13769){const _0x24a3a5=_0x54516d;this['_members'][_0x24a3a5(0x36d)](_0xb13769[_0x24a3a5(0x24b)],_0xb13769);}['removeMember'](_0x264e19){const _0x1bc175=_0x54516d;this[_0x1bc175(0x5c5)]['delete'](_0x264e19);}['getMember'](_0x3192bc){const _0x2485b9=_0x54516d;return this['_members'][_0x2485b9(0x3b1)](_0x3192bc);}[_0x54516d(0x3fd)](){const _0x3e5b7a=_0x54516d;return Array[_0x3e5b7a(0x36a)](this[_0x3e5b7a(0x5c5)][_0x3e5b7a(0x221)]());}}var oi=Object[_0x54516d(0x461)],ai=Object['getOwnPropertyDescriptor'],ci=(_0x5547da,_0x19fbc4,_0x3a2846,_0x48dbf8)=>{const _0x54b3a9=_0x54516d;for(var _0x1da22e=_0x48dbf8>0x1?void 0x0:_0x48dbf8?ai(_0x19fbc4,_0x3a2846):_0x19fbc4,_0x5563c2=_0x5547da[_0x54b3a9(0x5e8)]-0x1,_0x1a2e93;_0x5563c2>=0x0;_0x5563c2--)(_0x1a2e93=_0x5547da[_0x5563c2])&&(_0x1da22e=(_0x48dbf8?_0x1a2e93(_0x19fbc4,_0x3a2846,_0x1da22e):_0x1a2e93(_0x1da22e))||_0x1da22e);return _0x48dbf8&&_0x1da22e&&oi(_0x19fbc4,_0x3a2846,_0x1da22e),_0x1da22e;},de=(_0x54bd42,_0x247f3c)=>(_0x33a577,_0x5e06ea)=>_0x247f3c(_0x33a577,_0x5e06ea,_0x54bd42),se=(_0x534fc5=>(_0x534fc5[_0x534fc5['IDLE']=0x0]=_0x54516d(0x375),_0x534fc5[_0x534fc5[_0x54516d(0x58e)]=0x1]='JOINING',_0x534fc5[_0x534fc5[_0x54516d(0x44b)]=0x2]=_0x54516d(0x44b),_0x534fc5[_0x534fc5[_0x54516d(0x608)]=0x3]=_0x54516d(0x608),_0x534fc5))(se||{});exports[_0x54516d(0x39e)]=class extends a[_0x54516d(0x1d6)]{constructor(_0x22fee2,_0x208858,_0x310202,_0x793cd4,_0x459ba3,_0x528d00,_0x5da2ed,_0x4f3717,_0x4e68e7,_0x7521a0){const _0x3615de=_0x54516d;super(),I(this,_0x3615de(0x557),new A[(_0x3615de(0x598))](0x0)),I(this,_0x3615de(0x415),this[_0x3615de(0x557)][_0x3615de(0x1a1)]()),I(this,_0x3615de(0x2eb),new A[(_0x3615de(0x465))]()),I(this,'event$',this['_event$']['asObservable']()),I(this,_0x3615de(0x2a8)),I(this,_0x3615de(0x52b)),I(this,_0x3615de(0x406)),I(this,'_shouldReportTelemetry',!0x1),I(this,_0x3615de(0x2e5),null),(this[_0x3615de(0x4f8)]=_0x22fee2,this[_0x3615de(0x241)]=_0x310202,this['_beforeCloseService']=_0x793cd4,this[_0x3615de(0x564)]=_0x459ba3,this[_0x3615de(0x2a3)]=_0x528d00,this[_0x3615de(0x422)]=_0x5da2ed,this[_0x3615de(0x543)]=_0x4f3717,this[_0x3615de(0x5f7)]=_0x4e68e7,this[_0x3615de(0x515)]=_0x7521a0,this['_shouldReportTelemetry']=!!this['_telemetryService'],_0x208858[_0x3615de(0x5f2)](A[_0x3615de(0x42d)](this['dispose$']))[_0x3615de(0x4d6)](_0x399b1b=>{const _0x3e54f4=_0x3615de;var _0x16ef86;typeof _0x399b1b>'u'||(this[_0x3e54f4(0x2a8)]=_0x399b1b,_0x399b1b?(this['_joinRoom'](_0x399b1b),this[_0x3e54f4(0x52b)]=_0x399b1b['message$']['subscribe'](_0x4d094e=>{const _0x374dea=_0x3e54f4;_0x4d094e[_0x374dea(0x43b)]===this[_0x374dea(0x4f8)]&&this['_onCombEvent'](_0x4d094e);})):(this[_0x3e54f4(0x185)](),this[_0x3e54f4(0x557)]['next'](0x2),(_0x16ef86=this[_0x3e54f4(0x52b)])==null||_0x16ef86['unsubscribe'](),this['_socketMessageSubscription']=null));}),this['disposeWithMe'](this[_0x3615de(0x227)]['registerOnClose'](()=>{const _0x103871=_0x3615de;var _0x6618de;(_0x6618de=this[_0x103871(0x2a8)])==null||_0x6618de['send']({'cmd':G['LEAVE'],'data':{'roomID':this['_unitID']}});})));}get[_0x54516d(0x3af)](){const _0x1dffd2=_0x54516d;return this[_0x1dffd2(0x557)][_0x1dffd2(0x371)]();}['getMemberID'](){const _0x37204b=_0x54516d;var _0x1538cd,_0x3690bc;return(_0x3690bc=(_0x1538cd=this[_0x37204b(0x2a8)])==null?void 0x0:_0x1538cd[_0x37204b(0x24b)])!=null?_0x3690bc:null;}['dispose'](){const _0x2468b2=_0x54516d;super['dispose'](),this['dispose$'][_0x2468b2(0x4bd)](),this[_0x2468b2(0x610)]['complete']();}[_0x54516d(0x575)](){const _0x2493ee=_0x54516d;var _0x5983ad,_0x752eea;this[_0x2493ee(0x185)](),(_0x5983ad=this['_socket'])==null||_0x5983ad[_0x2493ee(0x43c)]({'cmd':G[_0x2493ee(0x259)],'data':{'roomID':this[_0x2493ee(0x4f8)]}}),(_0x752eea=this['_socket'])==null||_0x752eea[_0x2493ee(0x575)](),this[_0x2493ee(0x2eb)][_0x2493ee(0x28e)](),this[_0x2493ee(0x557)][_0x2493ee(0x28e)](),this[_0x2493ee(0x417)]();}[_0x54516d(0x42f)](_0x33d4b8){const _0x478acc=_0x54516d;_0x33d4b8[_0x478acc(0x263)]===G[_0x478acc(0x2e0)]?this[_0x478acc(0x5bb)](_0x33d4b8):_0x33d4b8['cmd']===G[_0x478acc(0x54c)]&&this[_0x478acc(0x514)](_0x33d4b8);}[_0x54516d(0x4fb)](_0x52dbae){const _0x159e3b=_0x54516d;this['_sessionStatus$'][_0x159e3b(0x4bd)](0x1),_0x52dbae['send']({'cmd':G[_0x159e3b(0x2e0)],'routeKey':this[_0x159e3b(0x4f8)],'routeType':'','data':{'rooms':[{'roomID':this[_0x159e3b(0x4f8)]}]}});}[_0x54516d(0x5bb)](_0xcdcc68){const _0x10a977=_0x54516d;var _0x57778c;if(_0xcdcc68[_0x10a977(0x27c)]===Et[_0x10a977(0x285)]){this[_0x10a977(0x564)][_0x10a977(0x5e3)]({'type':ge[_0x10a977(0x3a7)][_0x10a977(0x354)],'content':this[_0x10a977(0x422)]['t'](_0x10a977(0x3e8))}),this[_0x10a977(0x557)]['next'](0x2);return;}this[_0x10a977(0x557)]['next'](0x3);const _0x13139c=(_0x57778c=_0xcdcc68[_0x10a977(0x547)][_0x10a977(0x214)][this[_0x10a977(0x4f8)]])==null?void 0x0:_0x57778c[_0x10a977(0x4a8)];_0x13139c&&_0x13139c['forEach'](_0x5a09f5=>this[_0x10a977(0x543)][_0x10a977(0x364)](this['_unitID'],_0x5a09f5));}[_0x54516d(0x514)](_0x64602e){const _0x2a1d44=_0x54516d;try{const _0x4ea22e=_0x64602e[_0x2a1d44(0x547)];switch(_0x4ea22e[_0x2a1d44(0x4aa)]){case S[_0x2a1d44(0x5de)]['USERS_ENTER']:this[_0x2a1d44(0x244)](_0x4ea22e),this[_0x2a1d44(0x2eb)]['next'](_0x4ea22e);break;case S[_0x2a1d44(0x5de)][_0x2a1d44(0x58b)]:this['_onUserLeave'](_0x4ea22e),this[_0x2a1d44(0x2eb)][_0x2a1d44(0x4bd)](_0x4ea22e);break;case S['CollaborationEvent'][_0x2a1d44(0x5b3)]:case S[_0x2a1d44(0x5de)][_0x2a1d44(0x1b8)]:this[_0x2a1d44(0x588)](),this[_0x2a1d44(0x308)](),this[_0x2a1d44(0x2eb)]['next'](_0x4ea22e);break;case S['CollaborationEvent'][_0x2a1d44(0x191)]:this[_0x2a1d44(0x241)]['error'](_0x2a1d44(0x1e8)+JSON[_0x2a1d44(0x4c1)](_0x4ea22e)),this[_0x2a1d44(0x2eb)]['next'](_0x4ea22e);break;case S[_0x2a1d44(0x5de)][_0x2a1d44(0x32d)]:this['_commentService']['onCommentUpdate'](_0x4ea22e[_0x2a1d44(0x547)]),this[_0x2a1d44(0x2eb)][_0x2a1d44(0x4bd)](_0x4ea22e);break;default:this[_0x2a1d44(0x2eb)][_0x2a1d44(0x4bd)](_0x4ea22e);}}catch(_0x634177){this[_0x2a1d44(0x241)][_0x2a1d44(0x29f)](_0x634177,_0x64602e);}}['_onUserJoin'](_0x58f951){const _0x4da3b5=_0x54516d;this[_0x4da3b5(0x543)][_0x4da3b5(0x364)](this[_0x4da3b5(0x4f8)],_0x58f951[_0x4da3b5(0x547)]);}[_0x54516d(0x336)](_0x3f8ee7){const _0x2f1301=_0x54516d;this['_memberService'][_0x2f1301(0x328)](this['_unitID'],_0x3f8ee7[_0x2f1301(0x547)][_0x2f1301(0x24b)]);}async[_0x54516d(0x43c)](_0x41ccbf,_0x423983){const _0x2bcc3f=_0x54516d;if(this['sessionStatus']!==0x3||!this['_socket'])throw new Error(_0x2bcc3f(0x230));try{_0x41ccbf[_0x2bcc3f(0x4aa)]===S[_0x2bcc3f(0x5de)][_0x2bcc3f(0x3e6)]&&(this[_0x2bcc3f(0x4b8)](),this[_0x2bcc3f(0x282)](_0x41ccbf)),this[_0x2bcc3f(0x2a8)][_0x2bcc3f(0x43c)]({'cmd':G[_0x2bcc3f(0x2f7)],'routeKey':_0x423983,'routeType':'','data':_0x41ccbf});}catch(_0x7e817){this[_0x2bcc3f(0x241)][_0x2bcc3f(0x29f)](_0x7e817);}}[_0x54516d(0x4b8)](){const _0x555eca=_0x54516d;var _0x51ca3e;this['_collaborationTimeoutTimer']=window['setTimeout'](()=>{const _0x1f08d6=_0xe852;this[_0x1f08d6(0x406)]=null,this[_0x1f08d6(0x564)]['show']({'type':ge[_0x1f08d6(0x3a7)][_0x1f08d6(0x30f)],'content':this['_localeService']['t'](_0x1f08d6(0x590))});},(_0x51ca3e=this[_0x555eca(0x2a3)]['getConfig'](Ct))!=null?_0x51ca3e:nn);}[_0x54516d(0x308)](){const _0x31d186=_0x54516d;this[_0x31d186(0x406)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x31d186(0x406)]=null);}[_0x54516d(0x282)](_0x2fff25){const _0x3f3b84=_0x54516d;if(!this[_0x3f3b84(0x4c9)])return;const {data:_0x2147e2}=_0x2fff25,{unitID:_0x18d7dc,changeset:_0x1a9bd5}=_0x2147e2,{mutations:_0x5acdbc,type:_0x245d0a}=_0x1a9bd5;this[_0x3f3b84(0x2e5)]={'unitId':_0x18d7dc,'type':_0x245d0a,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':ti(_0x5acdbc)};}[_0x54516d(0x588)](){const _0x3ce541=_0x54516d;if(this[_0x3ce541(0x4c9)]){if(!this[_0x3ce541(0x2e5)]){this[_0x3ce541(0x241)][_0x3ce541(0x29f)]('[CollaborationSession]',_0x3ce541(0x56e));return;}this[_0x3ce541(0x2e5)][_0x3ce541(0x1e0)]=performance[_0x3ce541(0x331)](),this['_telemetryInfo'][_0x3ce541(0x44f)]=this['_telemetryInfo'][_0x3ce541(0x1e0)]-this[_0x3ce541(0x2e5)][_0x3ce541(0x5eb)],this[_0x3ce541(0x515)][_0x3ce541(0x229)](ei,this[_0x3ce541(0x2e5)]),this[_0x3ce541(0x2e5)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){this['_telemetryInfo']=null;}},exports[_0x54516d(0x39e)]=ci([de(0x2,a['ILogService']),de(0x3,ee[_0x54516d(0x211)]),de(0x4,ee[_0x54516d(0x3ce)]),de(0x5,a['IConfigService']),de(0x6,a[_0x54516d(0x573)](a[_0x54516d(0x2a1)])),de(0x7,a[_0x54516d(0x573)](exports[_0x54516d(0x3a8)])),de(0x8,a['Inject'](Tt)),de(0x9,a['Optional'](jn[_0x54516d(0x3ff)]))],exports[_0x54516d(0x39e)]);var li=Object['defineProperty'],hi=Object[_0x54516d(0x363)],_i=(_0x1a2ee1,_0x43f88e,_0x2a006c,_0x22cb7)=>{const _0x9d91e3=_0x54516d;for(var _0x4bfaf3=_0x22cb7>0x1?void 0x0:_0x22cb7?hi(_0x43f88e,_0x2a006c):_0x43f88e,_0x4fe99f=_0x1a2ee1[_0x9d91e3(0x5e8)]-0x1,_0x3f1d8a;_0x4fe99f>=0x0;_0x4fe99f--)(_0x3f1d8a=_0x1a2ee1[_0x4fe99f])&&(_0x4bfaf3=(_0x22cb7?_0x3f1d8a(_0x43f88e,_0x2a006c,_0x4bfaf3):_0x3f1d8a(_0x4bfaf3))||_0x4bfaf3);return _0x22cb7&&_0x4bfaf3&&li(_0x43f88e,_0x2a006c,_0x4bfaf3),_0x4bfaf3;},Ee=(_0x2f94a5,_0x4b8d44)=>(_0x5a09d7,_0x4ab2a9)=>_0x4b8d44(_0x5a09d7,_0x4ab2a9,_0x2f94a5);exports[_0x54516d(0x580)]=class extends a[_0x54516d(0x25e)]{constructor(_0x2dff1e,_0x32e603,_0x302b35,_0x113dc6,_0x5bfd8e,_0x443b02){const _0x4aef9a=_0x54516d;super(),I(this,_0x4aef9a(0x32a),new A[(_0x4aef9a(0x598))](void 0x0)),I(this,_0x4aef9a(0x400),this[_0x4aef9a(0x32a)][_0x4aef9a(0x1a1)]()),I(this,_0x4aef9a(0x301),null),I(this,_0x4aef9a(0x32c),new Map()),I(this,'_status$',new A[(_0x4aef9a(0x598))](se[_0x4aef9a(0x375)])),I(this,_0x4aef9a(0x4d4),this[_0x4aef9a(0x59e)]['asObservable']()),I(this,_0x4aef9a(0x215),!0x1),I(this,'_retryConnectingTimer'),I(this,_0x4aef9a(0x3ee),0x0),I(this,_0x4aef9a(0x3c1)),I(this,_0x4aef9a(0x556)),(this[_0x4aef9a(0x47c)]=_0x2dff1e,this['_localeService']=_0x32e603,this[_0x4aef9a(0x564)]=_0x302b35,this[_0x4aef9a(0x241)]=_0x113dc6,this['_configService']=_0x5bfd8e,this[_0x4aef9a(0x4f2)]=_0x443b02,this['_initEventListeners']());}get['_socket'](){const _0x1156aa=_0x54516d;return this['_socket$'][_0x1156aa(0x371)]();}['_initEventListeners'](){const _0x2102b3=_0x54516d;this['_listenToOfflineEvent'](),this[_0x2102b3(0x3df)]();}[_0x54516d(0x417)](){const _0x38c67b=_0x54516d;super[_0x38c67b(0x417)](),this[_0x38c67b(0x32c)][_0x38c67b(0x1ba)](_0x2690e2=>_0x2690e2['dispose']()),this['_sessions'][_0x38c67b(0x202)](),this[_0x38c67b(0x59e)][_0x38c67b(0x28e)]();}async[_0x54516d(0x2fd)](_0x226634){const _0x40e666=_0x54516d;if(this[_0x40e666(0x32c)][_0x40e666(0x468)](_0x226634))return this[_0x40e666(0x32c)][_0x40e666(0x3b1)](_0x226634);this['_tryEnsureSocket']();const _0x39fe5d=this[_0x40e666(0x47c)][_0x40e666(0x5d2)](exports[_0x40e666(0x39e)],_0x226634,this[_0x40e666(0x32a)][_0x40e666(0x1a1)]());return this[_0x40e666(0x32c)][_0x40e666(0x36d)](_0x226634,_0x39fe5d),_0x39fe5d;}[_0x54516d(0x51d)](_0x165d65){const _0xffe2fd=_0x54516d;var _0x3d23ba;const _0x1135cb=this[_0xffe2fd(0x32c)][_0xffe2fd(0x3b1)](_0x165d65);_0x1135cb&&(this[_0xffe2fd(0x32c)][_0xffe2fd(0x1c4)](_0x165d65),_0x1135cb[_0xffe2fd(0x575)]()),this[_0xffe2fd(0x32c)]['size']||(_0x3d23ba=this[_0xffe2fd(0x2a8)])==null||_0x3d23ba['close']();}[_0x54516d(0x27b)](){const _0x59fe5f=_0x54516d;this[_0x59fe5f(0x3ee)]=0x0,this[_0x59fe5f(0x3e7)]!=null&&(clearTimeout(this[_0x59fe5f(0x3e7)]),this[_0x59fe5f(0x3e7)]=null),this[_0x59fe5f(0x2e1)]();}[_0x54516d(0x1b2)](){const _0x23ac51=_0x54516d;var _0x298336,_0x1539dd;const _0x2355d7=this[_0x23ac51(0x2a3)][_0x23ac51(0x21d)](en),_0x5a04fc=this[_0x23ac51(0x2a3)]['getConfig'](te),_0xc21411=(_0x1539dd=(_0x298336=_0x5a04fc==null?void 0x0:_0x5a04fc[_0x23ac51(0x171)])!=null?_0x298336:_0x2355d7)!=null?_0x1539dd:Wn,_0x465c02=this['_socketService'][_0x23ac51(0x290)](_0xc21411);return this[_0x23ac51(0x301)]=_0x465c02,_0x465c02;}[_0x54516d(0x490)](){const _0x1e4828=_0x54516d;var _0x594cdd,_0x37cd54;try{const _0xb14162=(_0x37cd54=(_0x594cdd=this['_socket'])!=null?_0x594cdd:this[_0x1e4828(0x301)])!=null?_0x37cd54:this[_0x1e4828(0x1b2)]();if(_0xb14162){const _0x2da331=_0xb14162[_0x1e4828(0x43c)];_0xb14162['send']=_0x5a9188=>(this[_0x1e4828(0x374)](),_0x2da331['apply'](_0xb14162,[_0x5a9188])),_0xb14162[_0x1e4828(0x40e)][_0x1e4828(0x4d6)](_0x587de2=>this[_0x1e4828(0x192)](_0xb14162,_0x587de2)),_0xb14162[_0x1e4828(0x534)]['pipe'](V[_0x1e4828(0x46a)](0x1))[_0x1e4828(0x4d6)](_0x31ddc0=>this[_0x1e4828(0x241)][_0x1e4828(0x29f)]('[CollaborationSessionService]:\x20socket\x20error',_0x31ddc0)),_0xb14162[_0x1e4828(0x1a6)][_0x1e4828(0x5f2)](V[_0x1e4828(0x46a)](0x1))[_0x1e4828(0x4d6)](()=>{const _0x48519b=_0x1e4828;this[_0x48519b(0x47d)](_0xb14162);}),_0xb14162[_0x1e4828(0x397)][_0x1e4828(0x5f2)](V['take'](0x1))[_0x1e4828(0x4d6)](_0x12a9db=>{const _0xc86d62=_0x1e4828;this[_0xc86d62(0x241)][_0xc86d62(0x583)]('[CollaborationSessionService]','socket\x20close',_0x12a9db),this[_0xc86d62(0x54f)]();});}}catch(_0x38df0d){this[_0x1e4828(0x241)][_0x1e4828(0x29f)](_0x38df0d),this['_onConnectionFailed']();}}[_0x54516d(0x47d)](_0x2c4625){const _0x13203d=_0x54516d;this['_logService']['debug'](_0x13203d(0x1a5),_0x13203d(0x271)),_0x2c4625[_0x13203d(0x43c)]({'cmd':G['HELLO']}),this['_rescheduleHeartbeat']();}[_0x54516d(0x19b)](){const _0x19a657=_0x54516d;window[_0x19a657(0x40b)](_0x19a657(0x444),()=>this[_0x19a657(0x3bb)]());}[_0x54516d(0x3bb)](){const _0x41bc0a=_0x54516d;this[_0x41bc0a(0x215)]=!0x1,this[_0x41bc0a(0x301)]=null,this[_0x41bc0a(0x59e)][_0x41bc0a(0x4bd)](se['OFFLINE']),this[_0x41bc0a(0x32a)]['next'](null),this[_0x41bc0a(0x4d5)](),this['_clearHeartbeatTimer']();}[_0x54516d(0x54f)](){const _0x3ece5c=_0x54516d;var _0x102be4;this[_0x3ece5c(0x3bb)](),this['_retryCount']<((_0x102be4=this[_0x3ece5c(0x2a3)][_0x3ece5c(0x21d)](sn))!=null?_0x102be4:Gn)?(this[_0x3ece5c(0x564)][_0x3ece5c(0x5e3)]({'key':_0x3ece5c(0x18e),'type':ge[_0x3ece5c(0x3a7)][_0x3ece5c(0x354)],'content':this['_localeService']['t'](_0x3ece5c(0x549))}),this[_0x3ece5c(0x2e1)]()):this[_0x3ece5c(0x564)]['show']({'key':_0x3ece5c(0x18e),'type':ge[_0x3ece5c(0x3a7)][_0x3ece5c(0x30f)],'content':this[_0x3ece5c(0x422)]['t'](_0x3ece5c(0x1bc))});}[_0x54516d(0x3df)](){const _0x33bfb2=_0x54516d,_0x434b2c=()=>{const _0x1e63fa=_0xe852;this[_0x1e63fa(0x2a8)]||this[_0x1e63fa(0x27b)]();},_0x1cf8e3=()=>{const _0x50754b=_0xe852;this[_0x50754b(0x2a8)]||document[_0x50754b(0x616)]===_0x50754b(0x5b7)||this[_0x50754b(0x27b)]();};window[_0x33bfb2(0x40b)]('online',_0x434b2c),document[_0x33bfb2(0x40b)](_0x33bfb2(0x203),_0x1cf8e3);}[_0x54516d(0x2e1)](){const _0x1e962b=_0x54516d;var _0x360e87;const _0x244f6d=this[_0x1e962b(0x3ee)],_0x4417e2=this[_0x1e962b(0x2a3)]['getConfig'](te),_0x294153=_0x244f6d===0x0?0x0:((_0x360e87=_0x4417e2==null?void 0x0:_0x4417e2['retryConnectingInterval'])!=null?_0x360e87:Vn)*0x2**_0x244f6d;this[_0x1e962b(0x3e7)]=window['setTimeout'](()=>{const _0x4a1aeb=_0x1e962b;clearTimeout(this[_0x4a1aeb(0x3e7)]),this[_0x4a1aeb(0x3e7)]=null,this[_0x4a1aeb(0x490)]();},_0x294153),this[_0x1e962b(0x3ee)]+=0x1;}[_0x54516d(0x192)](_0x2d2ce6,_0x18d917){const _0x232da3=_0x54516d,{cmd:_0x1e9be9}=_0x18d917;_0x1e9be9===G[_0x232da3(0x1d7)]&&!this[_0x232da3(0x215)]&&(_0x2d2ce6[_0x232da3(0x24b)]=_0x18d917['data'][_0x232da3(0x24b)],this['_socket$'][_0x232da3(0x4bd)](_0x2d2ce6),this['_status$'][_0x232da3(0x4bd)](se[_0x232da3(0x608)]),this['_socketReady']=!0x0,this[_0x232da3(0x301)]=null),_0x1e9be9===G[_0x232da3(0x25f)]&&this[_0x232da3(0x4d5)](),this[_0x232da3(0x374)]();}[_0x54516d(0x374)](){const _0x2b7faa=_0x54516d;var _0x4ff835;this[_0x2b7faa(0x5ae)](),this[_0x2b7faa(0x3c1)]=window[_0x2b7faa(0x1ae)](()=>this[_0x2b7faa(0x321)](),(_0x4ff835=this[_0x2b7faa(0x2a3)][_0x2b7faa(0x21d)](tn))!=null?_0x4ff835:Fn);}[_0x54516d(0x321)](){const _0x38e7cf=_0x54516d;this[_0x38e7cf(0x2a8)][_0x38e7cf(0x43c)]({'cmd':G[_0x38e7cf(0x25f)]}),this[_0x38e7cf(0x58d)]();}[_0x54516d(0x58d)](){const _0x3b7ff5=_0x54516d;var _0x349c77;this[_0x3b7ff5(0x556)]=window['setTimeout'](()=>this[_0x3b7ff5(0x54f)](),(_0x349c77=this['_configService']['getConfig'](Ct))!=null?_0x349c77:nn);}[_0x54516d(0x5ae)](){const _0x2b310d=_0x54516d;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x2b310d(0x3c1)]),this[_0x2b310d(0x3c1)]=null);}[_0x54516d(0x4d5)](){const _0x3f7e80=_0x54516d;this[_0x3f7e80(0x556)]!=null&&(clearTimeout(this[_0x3f7e80(0x556)]),this[_0x3f7e80(0x556)]=null);}},exports['CollaborationSessionService']=_i([Ee(0x0,a[_0x54516d(0x573)](a['Injector'])),Ee(0x1,a[_0x54516d(0x573)](a['LocaleService'])),Ee(0x2,ee[_0x54516d(0x3ce)]),Ee(0x3,a[_0x54516d(0x4ee)]),Ee(0x4,a[_0x54516d(0x208)]),Ee(0x5,bt)],exports[_0x54516d(0x580)]);const Y=[];for(let s=0x0;s<0x100;++s)Y[_0x54516d(0x26e)]((s+0x100)[_0x54516d(0x481)](0x10)['slice'](0x1));function ui(_0x58cb84,_0x430459=0x0){return(Y[_0x58cb84[_0x430459+0x0]]+Y[_0x58cb84[_0x430459+0x1]]+Y[_0x58cb84[_0x430459+0x2]]+Y[_0x58cb84[_0x430459+0x3]]+'-'+Y[_0x58cb84[_0x430459+0x4]]+Y[_0x58cb84[_0x430459+0x5]]+'-'+Y[_0x58cb84[_0x430459+0x6]]+Y[_0x58cb84[_0x430459+0x7]]+'-'+Y[_0x58cb84[_0x430459+0x8]]+Y[_0x58cb84[_0x430459+0x9]]+'-'+Y[_0x58cb84[_0x430459+0xa]]+Y[_0x58cb84[_0x430459+0xb]]+Y[_0x58cb84[_0x430459+0xc]]+Y[_0x58cb84[_0x430459+0xd]]+Y[_0x58cb84[_0x430459+0xe]]+Y[_0x58cb84[_0x430459+0xf]])['toLowerCase']();}let Je;const di=new Uint8Array(0x10);function fi(){const _0x4ff8cf=_0x54516d;if(!Je){if(typeof crypto>'u'||!crypto[_0x4ff8cf(0x505)])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');Je=crypto[_0x4ff8cf(0x505)][_0x4ff8cf(0x2ef)](crypto);}return Je(di);}const vi=typeof crypto<'u'&&crypto[_0x54516d(0x525)]&&crypto[_0x54516d(0x525)][_0x54516d(0x2ef)](crypto),Mt={'randomUUID':vi};function mi(_0x390650,_0x4c0055,_0x4b45c4){const _0x9a3eec=_0x54516d;if(Mt[_0x9a3eec(0x525)]&&!_0x4c0055&&!_0x390650)return Mt[_0x9a3eec(0x525)]();_0x390650=_0x390650||{};const _0x513fa7=_0x390650[_0x9a3eec(0x35c)]||(_0x390650[_0x9a3eec(0x342)]||fi)();return _0x513fa7[0x6]=_0x513fa7[0x6]&0xf|0x40,_0x513fa7[0x8]=_0x513fa7[0x8]&0x3f|0x80,ui(_0x513fa7);}var Si=Object['defineProperty'],pi=Object[_0x54516d(0x363)],gi=(_0x3a77b0,_0x374432,_0x38f58e,_0x3047af)=>{const _0x2873f0=_0x54516d;for(var _0x4a5321=_0x3047af>0x1?void 0x0:_0x3047af?pi(_0x374432,_0x38f58e):_0x374432,_0x284912=_0x3a77b0[_0x2873f0(0x5e8)]-0x1,_0x3dee33;_0x284912>=0x0;_0x284912--)(_0x3dee33=_0x3a77b0[_0x284912])&&(_0x4a5321=(_0x3047af?_0x3dee33(_0x374432,_0x38f58e,_0x4a5321):_0x3dee33(_0x4a5321))||_0x4a5321);return _0x3047af&&_0x4a5321&&Si(_0x374432,_0x38f58e,_0x4a5321),_0x4a5321;},Ze=(_0x284a8c,_0x49b595)=>(_0x17f5e9,_0x3dfe50)=>_0x49b595(_0x17f5e9,_0x3dfe50,_0x284a8c);let Be=class{constructor(_0x4fb5fc,_0x1c2ce2,_0x537a9d){const _0x312056=_0x54516d;this['_injector']=_0x4fb5fc,this[_0x312056(0x579)]=_0x1c2ce2,this[_0x312056(0x250)]=_0x537a9d;}[_0x54516d(0x4a6)](_0x23f090){const _0x30cedd=_0x54516d;this[_0x30cedd(0x1a2)](_0x23f090),this[_0x30cedd(0x18c)](_0x23f090);}[_0x54516d(0x5e6)](_0x37a8e9){const _0x472e27=_0x54516d,{unitID:_0x38c4e0}=_0x37a8e9,_0x7a14eb=this[_0x472e27(0x250)][_0x472e27(0x2ee)](_0x38c4e0)['with'](J[_0x472e27(0x35f)]),{redoCache:_0x359463}=_0x7a14eb[_0x472e27(0x383)]();if(_0x359463[_0x472e27(0x5e8)]===0x0)return _0x37a8e9;let _0x215b96=a[_0x472e27(0x3eb)][_0x472e27(0x330)](_0x37a8e9[_0x472e27(0x1f3)][0x0]);for(let _0xbc42cd=0x0;_0xbc42cd<_0x359463[_0x472e27(0x5e8)];_0xbc42cd++){const _0x52ea3f={'id':_0x472e27(0x47f),'params':{..._0x359463[_0xbc42cd]}},_0x3a9bb7=this[_0x472e27(0x579)][_0x472e27(0x4bb)](_0x215b96,_0x52ea3f,!0x1);if(S[_0x472e27(0x311)](_0x3a9bb7))throw _0x3a9bb7[_0x472e27(0x29f)];_0x215b96=_0x3a9bb7[_0x472e27(0x401)];}return{...a[_0x472e27(0x3eb)][_0x472e27(0x330)](_0x37a8e9),'mutations':[_0x215b96]};}[_0x54516d(0x1a2)](_0x3319a9){const _0x2ae218=_0x54516d,{unitID:_0x510f4b}=_0x3319a9,_0xdb3d0b=this[_0x2ae218(0x250)][_0x2ae218(0x2ee)](_0x510f4b)[_0x2ae218(0x4ff)](J['DocIMEInputManagerService']),{undoCache:_0xa7eea4,redoCache:_0x2e01e4}=_0xdb3d0b[_0x2ae218(0x383)]();if(_0xa7eea4[_0x2ae218(0x5e8)]===0x0||_0x2e01e4[_0x2ae218(0x5e8)]===0x0)return;const _0x3235d1=[],_0x5e2648=[];let _0x2908ed=a['Tools']['deepClone'](_0x3319a9[_0x2ae218(0x1f3)][0x0]),_0x2643ea=a[_0x2ae218(0x3eb)][_0x2ae218(0x330)](_0x3319a9[_0x2ae218(0x1f3)][0x0]);for(let _0x271626=_0xa7eea4['length']-0x1;_0x271626>=0x0;_0x271626--){const _0x11d774={'id':_0x2ae218(0x47f),'params':{..._0xa7eea4[_0x271626]}},_0x198e77={'id':_0x2ae218(0x47f),'params':{..._0x2e01e4[_0x271626]}},_0x3c6ce3=this['_transformService']['transformMutation'](_0x2908ed,_0x11d774,!0x1),_0x3a1e3b=this[_0x2ae218(0x579)]['transformMutation'](_0x2643ea,_0x198e77,!0x1);if(S['isTransformMutationFailure'](_0x3c6ce3))throw _0x3c6ce3[_0x2ae218(0x29f)];if(S[_0x2ae218(0x311)](_0x3a1e3b))throw _0x3a1e3b['error'];_0x3235d1[_0x2ae218(0x4b3)](_0x3c6ce3[_0x2ae218(0x46b)][_0x2ae218(0x601)]),_0x5e2648[_0x2ae218(0x4b3)](_0x3a1e3b[_0x2ae218(0x46b)][_0x2ae218(0x601)]),_0x2908ed=_0x3c6ce3['m1Prime'],_0x2643ea=_0x3a1e3b[_0x2ae218(0x401)];}_0xdb3d0b[_0x2ae218(0x38e)]({'undoCache':_0x3235d1,'redoCache':_0x5e2648});}[_0x54516d(0x18c)](_0x2b028c){const _0x59cc9e=_0x54516d,{unitID:_0x2b25de}=_0x2b028c,_0x3e3ee9=this[_0x59cc9e(0x250)]['getRenderById'](_0x2b25de)['with'](J['DocIMEInputManagerService']),_0x23517d=_0x3e3ee9[_0x59cc9e(0x4e8)]();if(_0x23517d==null)return;const _0x2ee213=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2b028c[_0x59cc9e(0x351)],'actions':null,'textRanges':[_0x23517d]}}],_0x98fdb1=this[_0x59cc9e(0x579)]['transformMutationsWithChangeset'](_0x2b028c,_0x2ee213);if(!S[_0x59cc9e(0x5da)](_0x98fdb1))throw _0x98fdb1['error'];const _0x50927b=_0x98fdb1['m2Prime'][0x0][_0x59cc9e(0x601)][_0x59cc9e(0x329)];Array[_0x59cc9e(0x5a7)](_0x50927b)&&_0x50927b['length']&&_0x3e3ee9[_0x59cc9e(0x4ab)](_0x50927b[0x0]);}};Be=gi([Ze(0x0,a[_0x54516d(0x573)](a['Injector'])),Ze(0x1,S['ITransformService']),Ze(0x2,K[_0x54516d(0x387)])],Be);var Ii=Object[_0x54516d(0x461)],Ci=Object[_0x54516d(0x363)],Ei=(_0x2fe8a3,_0xc8f734,_0x5307db,_0x6130b4)=>{const _0x4e93f3=_0x54516d;for(var _0x4d4adf=_0x6130b4>0x1?void 0x0:_0x6130b4?Ci(_0xc8f734,_0x5307db):_0xc8f734,_0x147d98=_0x2fe8a3[_0x4e93f3(0x5e8)]-0x1,_0x330eea;_0x147d98>=0x0;_0x147d98--)(_0x330eea=_0x2fe8a3[_0x147d98])&&(_0x4d4adf=(_0x6130b4?_0x330eea(_0xc8f734,_0x5307db,_0x4d4adf):_0x330eea(_0x4d4adf))||_0x4d4adf);return _0x6130b4&&_0x4d4adf&&Ii(_0xc8f734,_0x5307db,_0x4d4adf),_0x4d4adf;},Pe=(_0x37001f,_0x25259e)=>(_0x59af7f,_0x14cd2a)=>_0x25259e(_0x59af7f,_0x14cd2a,_0x37001f);exports[_0x54516d(0x5ef)]=class extends a['Disposable']{constructor(_0x38bb89,_0x131082,_0x2828f7,_0x1c9a26,_0x18b2ea){const _0x499f24=_0x54516d;super(),I(this,_0x499f24(0x186),new Map()),I(this,_0x499f24(0x59a),new Map()),I(this,_0x499f24(0x2d2),!0x1),(this[_0x499f24(0x2a3)]=_0x38bb89,this[_0x499f24(0x274)]=_0x131082,this[_0x499f24(0x227)]=_0x2828f7,this['_localeService']=_0x1c9a26,this[_0x499f24(0x1cc)]=_0x18b2ea,this[_0x499f24(0x4e7)]());}[_0x54516d(0x552)](){const _0x195ba6=_0x54516d;this[_0x195ba6(0x2d2)]=!0x0;}[_0x54516d(0x559)](){const _0x20724f=_0x54516d;this[_0x20724f(0x2d2)]=!0x1;}['dispose'](){const _0x5d8488=_0x54516d;this[_0x5d8488(0x4c4)]()[_0x5d8488(0x182)](()=>super[_0x5d8488(0x417)]());}async[_0x54516d(0x456)](_0x59e542){const _0x2d4c54=_0x54516d;return this[_0x2d4c54(0x2d2)]?null:this[_0x2d4c54(0x274)][_0x2d4c54(0x260)](At(_0x59e542));}async[_0x54516d(0x181)](_0x50df2f,_0x5a7e9a){const _0x36c3d6=_0x54516d;return!!this[_0x36c3d6(0x274)][_0x36c3d6(0x399)](_0x50df2f,_0x5a7e9a);}[_0x54516d(0x1fb)](_0x48858a,_0xd97606,_0x2b08a0,_0x2ac41a){const _0x26226f=_0x54516d,_0x50a278=this[_0x26226f(0x1cc)][_0x26226f(0x419)](_0x48858a);this[_0x26226f(0x186)]['set'](_0x48858a,{'unitID':_0x48858a,'type':_0xd97606,'awaitingChangeset':_0x2b08a0,'mutations':_0x2ac41a,'rev':_0x50a278}),this['_saveTaskMap'][_0x26226f(0x468)](_0x48858a)||this[_0x26226f(0x3ef)](_0x48858a);}['_scheduleSaving'](_0x92c05f){const _0x1c53a2=_0x54516d,_0x31d32a=this[_0x1c53a2(0x22a)]();_0x31d32a===0x0?this['_saveCache'](_0x92c05f):this[_0x1c53a2(0x59a)]['set'](_0x92c05f,setTimeout(()=>this[_0x1c53a2(0x238)](_0x92c05f),_0x31d32a));}[_0x54516d(0x22a)](){const _0x24ca12=_0x54516d;var _0xee263;return(_0xee263=this['_configService'][_0x24ca12(0x21d)](rn))!=null?_0xee263:Yn;}[_0x54516d(0x238)](_0x3f505a){const _0xa33b34=_0x54516d,_0x911770=this[_0xa33b34(0x59a)][_0xa33b34(0x3b1)](_0x3f505a);return _0x911770!==void 0x0&&window[_0xa33b34(0x289)](_0x911770),this[_0xa33b34(0x274)]['setItem'](At(_0x3f505a),this[_0xa33b34(0x186)][_0xa33b34(0x3b1)](_0x3f505a))['then'](()=>this[_0xa33b34(0x59a)][_0xa33b34(0x1c4)](_0x3f505a));}async[_0x54516d(0x4c4)](){const _0x46a631=_0x54516d,_0x4b2e00=[];this[_0x46a631(0x59a)][_0x46a631(0x1ba)]((_0x294e32,_0x2a0369)=>{const _0x1b33a3=_0x46a631;window[_0x1b33a3(0x289)](_0x294e32),_0x4b2e00[_0x1b33a3(0x26e)](this[_0x1b33a3(0x238)](_0x2a0369)[_0x1b33a3(0x182)](()=>{const _0x40be1a=_0x1b33a3;this[_0x40be1a(0x59a)][_0x40be1a(0x1c4)](_0x2a0369);}));}),await Promise[_0x46a631(0x614)](_0x4b2e00);}[_0x54516d(0x4e7)](){const _0xeec893=_0x54516d;this['disposeWithMe'](this[_0xeec893(0x227)][_0xeec893(0x478)](()=>{const _0x18d436=_0xeec893;if(this[_0x18d436(0x59a)][_0x18d436(0x5c0)])return this[_0x18d436(0x422)]['t'](_0x18d436(0x1d2));}));}},exports[_0x54516d(0x5ef)]=Ei([Pe(0x0,a[_0x54516d(0x208)]),Pe(0x1,a[_0x54516d(0x53d)]),Pe(0x2,ee['IBeforeCloseService']),Pe(0x3,a[_0x54516d(0x573)](a[_0x54516d(0x2a1)])),Pe(0x4,a[_0x54516d(0x573)](S[_0x54516d(0x35a)]))],exports[_0x54516d(0x5ef)]);function _0x47dd(){const _0x254fb3=['div','session.collaboration-timeout','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','unit','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','react','c2Prime','collaMsg','_append','BehaviorSubject','HMAC','_saveTaskMap','url(#off-line-single_clip0_910_343)','collabStatus.syncing','univer-offline','_status$','transformChangesets','_getUploadFileURL','_clearLocalCache','_uiPartsService','enableSingleActiveInstanceLock','LIVESHARE_TERMINATE','LIVESHARE_REQUEST_HOST','image/gif','isArray','_fetchMissChangesets','translate(.97)','setShowComponents','collaboration.single-unit.warning','_resendTimer','@univerjs/ui','_clearHeartbeatTimer','COLLAB_WEB_SOCKET_URL','PSEUDO_FETCH_MISSING_RESULT','removeParam','_updateCollabCursors','CHANGESET_ACK','Base','RefRangeService','reqId','hidden','_startCollaboration','IUndoRedoService','IContextService','_onJoinRoomEvent','fetching\x20missing\x20changesets\x20from\x20','ITransformService','CollaborationStatusDisplay','_cipher','size','awaiting_with_pending','getUniverSheetInstance','onMouseMove','_oKey','_members','InsertColCommandId','[CollaborationState]:\x20apply\x20error!','UNAUTHENTICATED','getUnitType','fromCharCode','object','disposeUnit','requestParams','4442490Whxcvq','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','collab-rect-range-','blockSize','createInstance','_scheduleClearOtherTimer','fetchMiss','transformUndoRedo','_unitOnClients','LICENSE_DISTRO_REJECTED','_onRefRangeChange','_sendingTimer','isTransformMutationsWithChangesetSuccess','getCoordByCell','getCurrentSelections','put','CollaborationEvent','getCollabEntity$','CONNECTOR_DATA_TOO_LARGE','_docSkeletonManagerService','@univerjs-pro/collaboration','show','IAuthzIoService','isActive','transformRemoteChangeset','fetchThroughInterceptors','length','/universer-api/comb','fromEventSubject','startTime','_nDataBytes','none','LOCAL_CACHE_INTERVAL_KEY','LocalCacheService','getSheetBlock','getRangePointData','pipe','key','_pendingMutations','defs','{fileID}','_commentService','IURLService','MUTATION','name','hostname','FETCH_MISS','SNAPSHOT_HAS_BEEN_REMOVED','updateCollaborator','conflict','uni.network.url-service','params','COMPRESS_MUTATION_APPLY','syncEditingCollabCursor','handleInsertRangeMoveDown','jsx','_process','_hover','ONLINE','_registerDependencies','throttleTime','_getDownloadEndpointURL','beginPath','originalMeta','UNIVER_DOC','ERROR_IMAGE_TYPE','dispose$','_anchor','HEARTBEAT_TIMEOUT','apply','all','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','visibilityState','top','catch','FromArray','univer-online','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_snapshotService','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_incrementRevisionNumber','_changesetReqId','_imageSourceCache','clearInterval','RETRY_CONNECTING_MAX_COUNT','extend','collaboration_new_changeset','_config','collabWebSocketUrl','onMissingChangesets','CommentService','round','$super','_drawRectRange','UnitSnapshot','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_awaitingChangeset','ACTIVE_UNIT_EVENT_CHANNEL','useRef','_initRequestHeader','x-univer-host','setParam','InsertRowCommandId','HTTPService','saveOfflineData','then','serializeCombRequest','SNAPSHOT_URL_KEY','_throwTelemetryCollaborationNewChangeset','_cachedData','transformByState','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','collab-text-range-','ICommandService','pending','_transformPreviousActiveRange','RegularPolygon','collaboration-session-retry','off-line-single_clip0_910_343','OffLineSingle','MSG_FOR_ERROR','_onMessage','_updateURLWithCurrentState','pauseCollaboration','mixIn','_cursor','flatMap','M0\x200H16V16H0z','engine','sigBytes','_listenToOfflineEvent','CollaborationController','BlockCipherMode','/role','hovered','_getSendChangesetTimeout','asObservable','_transformUndoRedoStack','not_collab','downloadEndpointUrl','[CollaborationSessionService]','open$','_unlockTransition','jsxs','gold400','COLLAB_SUBMIT_CHANGESET_URL_KEY','onTransformState','_hasher','_removeCollabCursors','setTimeout','/new_changes','override','_replayCachedMutations','_createSocket','_hovered','univer-online-status-title','DisposableCollection','ImageSourceType','_getMergeRange','CHANGESET_SHOULD_RETRY','conflict.title','forEach','unsubscribe','session.connection-failed','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','Univer','arc','row','react.element','className','_getSheetObject','delete','_createInitialState','Cipher','state$','appendMutation','FileId','_commandService','byteOffset','_revisionService','transformMutationsWithChangeset','width','Malformed\x20UTF-8\x20data','mapTo','@univerjs/telemetry','collaboration-client.offline-data-not-saved','Rectangle','10024lMuXpW','_id','RxDisposable','HELLO','onPointerLeave$','resize','_getAnchorBounding','Unknown\x20user','_handleLeaveEvent','concatMap','_colorIndex','subscribeEvent','stopTime','addImageSourceCache','reject','UNIVER_COLLABORATION_CLIENT_PLUGIN','PENDING','_onFetchMissResult','/universer-api/stream/file/upload','_reverseMap','save\x20fail\x20reason\x20is\x20','mapDocumentTypeToUniverType','_collaborationController','_isPermissionRej','textEncoder','_doFinalize','Optional','TEXT','DeleteRangeMoveUpCommandId','SerializableCipher','getUnhiddenWorksheets','mutations','collaboratorID','encodeURIComponent','replace','charAt','\x0aAfter:\x20','UNDEFINED','_initUnitPermissionChange','updateOfflineData','_compressMutationService','SYNCED','distinctUntilChanged','getRelativeToViewportCoord','YUUMI_UNABLE_LOAD_URL','refreshPermission','clear','visibilitychange','Undefined','DependentOn','b64DecodeUnicode','[CollaborationUndoRedoService]','IConfigService','startsWith','urlChange$','_schedule','for','_exhaustRemoteChangesetQueue','onlineStatus','PERMISSION_DENIED','_removeRoom','IBeforeCloseService','batchAllowed','concat','roomInfos','_socketReady','_transformIMECache','use','_ensureSubject','_handleHeartbeatEvent','SEND_CHANGESET_TIMEOUT_KEY','_transformStack','defaultProps','getConfig','collabSubmitChangesetUrl','_anchorDot','registerHTTPInterceptor','values','toggleOnline','_transformSelections','_remoteChangesetQueue','history','Rect','_beforeCloseService','_univerInstanceService','capture','_getSaveTimeout','FETCH_MISSING','redoState','backgroundColor','TEXT_RANGE_LAYER_INDEX','_minBufferSize','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','RECT','WorkbookEditablePermission','onlineStatusTitle','[OfflineState]:\x20received\x20rejection.','CHANGESET_REVISION_CONFILICT','_onCursorUpdate','ENSURE_SNAPSHOT_EXECUTION','_saveCache','join','number','_keyPriorReset','_state','Decryptor','setAlpha','decrypt','withCredentials','_logService','type','resend','_onUserJoin','ERROR_IMAGE','_ENC_XFORM_MODE','algo','_httpService','EXCHANGE_SIGN_URL_SERVER_URL_KEY','mergeOverrideWithDependencies','memberID','TOO_MANY_REQUESTS','_http','encrypt','_transformStateCache','_renderManagerService','restore','PasswordBasedCipher','NoPadding','_roomMembers$','JSONX','getUnitStatus$','TRANSFORM_CHANGE_OBSERVABLE_TYPE','ciphertext','LEAVE','fetch_missing','getUnit','IImageIoService','_toggleOffline','Disposable','HEARTBEAT','getItem','_disableEditing','_online','cmd','_ws','snapshotServerUrl','awaiting','target','trim','onTransformIME','_commentUpdate$','/-/object/list','toStringTag','_mode','push','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','YUUMI_RATE_OVER_LIMIT','socket\x20open.','_colorAssignService','/-/object/-/batch_allowed','_localStorageService','substr','_applyRemoteChangeset','Encryptor','forwardRef','sheetId','onSyncEditingCollabCursor','reconnect','code','_urlService','getDocRanges','APPLY_NON_SEQUENTIAL_REVISION','CollaborationStatus','lineTo','_startTelemetryCollaborationNewChangeset','substring','hasOwnProperty','FAIL','addObject','_createHandler','_cursors','clearTimeout','localeService','_removeClearOtherTimer','getSheetBySheetId','10fbUvXR','complete','1em','createSocket','__creator','filter','ImageIoService','_collabCursorState$','APPLY_REVISION_CONFILICT','putCollaborators','getSheetId','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','UNIVER_SHEET','defIds','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','newCsEvent','AES','_context','error','parse','LocaleService','cursorInfo$','_configService','image/png','call','ThemeService','contains','_socket','shouldCloseConn','onCommandExecuted','&source=','_executeRemoteChangeset','collabCursorState$','selections','transformStateCache','MD5','includes','_loadDoc','touchDependencies','searchParams','_hash','setInterval','combineLatest','unitId\x20is\x20not\x20found','_startDocCollabCursor','add','replaceState','transformSelections','@univerjs/sheets-ui','WebURLService','getCollabCursors$','getMergeData','onRemoteRej','map','_initDependencies','_onLocalMutation','getUnitId','subunit','keySize','_map','addObjects','_drawTextRange','CBC','YUUMI_SUBSCRIPTION_NOT_FOUND','copyFileMeta','_permissionService','ImageUploadStatusType','getMember','_getSnapshotAPIPrefix','_disabled','_heartbeatTimer','UPDATE_PERMISSION_OBJ','status','handleIRemoveRow','_transitionLocked','332395eZyvRz','_singleActiveUnitService','location','editing\x20status\x20changed\x20to','onStateChange','_initStatusComponent','_updateSubUnitFromURLParams','_docStateChangeManagerService','JOIN','_tryReconnect','image/jpeg','isTransformMutationsWithChangesetFailure','getTime','_telemetryInfo','hide','_xformMode','UNIVER_SLIDE','DeleteRangeMoveLeftCommandId','Vector2','_event$','SNAPSHOT_INVALID_SNAPSHOT','crypto','getRenderById','bind','debounceTime','EffectRefRangId','UniverInstanceType','_userManagerService','repeat','VIEW_MAIN','[OfflineState]:\x20received\x20acknowledgement.','INGEST','getTypeOfUnitDisposed$','transformStack\x20failed!','getWorkbookSelections','ALREADY_EXISTS','editingUnit','requireSession','_iKey','liveShareNewHost','append','_candidateSocket','@univerjs/rpc','0\x200\x2017\x2016','OpenSSL','_initCommandExecutedListener','_doProcessBlock','_clearUndo','_clearCollaborationTimeoutTimer','_lastPointer','change$','purple300','function','permissionRejEvent','revision','Error','getFocusedUnit','isTransformMutationFailure','_syncEditingCollabCursorService','_shapes','_send','fromCollab','[CollaborationSession]','_document','\x0aCurrent:\x20','RemoveColCommandId','[OfflineState]:\x20received\x20changeset.','Utf8','_startSheetCollabCursor','indexOf','DocCollaborationEntity','cursorInfo','pushState','_sendHeartbeat','json','snapshot','msCrypto','SHOULD_CLOSE_CONN','3160195zUhCKz','pad','removeMember','textRanges','_socket$','rxjs','_sessions','COMMENT_UPDATE','_updateLocalCursor','default','deepClone','now','initWorkbookPermissionChange','SetDocZoomRatioOperation','replaceDocRanges','_sheetSkeletonManagerService','_onUserLeave','onPointerMove$','_onRemoteRejected','encryptBlock','Injector','NOT_FOUND','NEW_CHANGESETS','InsertRangeMoveDownCommandId','saveSheetBlock','AuthzIoHttpService','[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.','ceil','rng','collaboration.closeRoom','collabStatus.notCollab','collab-client.tooltip.reconnect','toRgbString','kdf','readAsDataURL','merge','/block/','enc','min','charCodeAt','_iv','file','loginUrlKey','unitID','Hex','execute','Warning','@univerjs/engine-formula','responseType','HEARTBEAT_INTERVAL_KEY','_labelPosition','exports','RevisionService','leaveEvent','random','actions','/allowed','DocIMEInputManagerService','synced','@univerjs/design','fromEvent','getOwnPropertyDescriptor','updateMember','_keySchedule','bottom','url(#on-line-single_clip0_910_349)','fillText','IPermissionService','from','APPLY_REJECT','getMemberID','set','DesktopCollaborationStatusDisplayController','@univerjs/docs-ui','getInterceptPoints','getValue','setCurrentUser','_changesetSessionId','_rescheduleHeartbeat','IDLE','IRemoteInstanceService','objectID','format','baseRev','Module','0\x200\x2016\x2016','drawWith','_name','moveTo','RETRY_CONNECTING_MAX_COUNT_KEY','_session','_clearRedo','collab-text-anchor-','getUndoRedoMutationParamsCache','_doReset','[SyncedState]:\x20received\x20acknowledgement.','objectType','IRenderManagerService','confirm','useDependency','storage','endRow','ReactCurrentOwner','save','setUndoRedoMutationParamsCache','jiqing500','_cursorShapes','equals','every','getActiveSheet','lib','patch','AWAITING_WITH_PENDING','close$','SheetsSelectionsService','setItem','Tooltip','getAncestorScale','INTERNAL_ERROR','clone','CollaborationSession','_initResize','UnitEmbedded','CollaborationEntity','_unitStatus','generateRandomId','labelPosition','EmptyMutation','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','MessageType','MemberService','/rev/','string','_getUndoStack','sid','UNIVER_PROJECT','4328910xhmTyU','sessionStatus','getImageSourceCache','get','_getRedoStack','result','idSuffix','method','_onConflict','on-line-single_clip0_910_349','enableOfflineEditing','_collabSessionService','@univerjs/sheets','_onOffline','url','INVALID_ARGUMENT','popstate','_localCacheService','makeDirty','_sendHeartbeatTimer','LocalUndoRedoService','handleInsertCol','getViewport','RichTextEditingMutation','createEncryptor','@univerjs/drawing','_entities','resolve','/collaborator','_cursorInfo$','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','1079944NCYEkT','IMessageService','onTransformRemoteChangesetByStateCache','/object/','csAckEvent','_clearOtherTimers','_collabCursorController','UNIVER_UNKNOWN','_handler','_themeService','_invKeySchedule','NodePositionConvertToRectRange','SHA1','getCollabEntity','undoState','currentTheme$','objectActions','NO_OTHER_CLIENTS_EDITING','_listenToOnlineEvent','focused$','onRemoteAck','_DEC_XFORM_MODE','submit\x20changeset\x20error!','SetWorksheetActivateCommand','UNKNOWN_CODE','SUBMIT_CHANGESET','_retryConnectingTimer','session.room-full','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','whenReady','Tools','color','_doCryptBlock','_retryCount','_scheduleSaving','onPointerEnter$','getTypeOfUnitAdded$','assign','UNRECOGNIZED','handleDeleteRangeMoveUp','session','registerDependencies','font','_syncEditingCollabCursor','onlineStatusIcon','selection','awaitingChangeset','_sheetTransformSelectionsService','getAllMembers','SEND_CHANGESET_TIMEOUT','ITelemetryService','socket$','m1Prime','csShouldRetryEvent','COMPRESS_MUTATION_SEND','useCallback','assignAColorForMemberID','_collaborationTimeoutTimer','words','finalize','_docSyncEditingCollabCursorService','listCollaborators','addEventListener','byteLength','shareReplay','message$','NOT_COLLAB','RemoveRowCommandId','propertyIsEnumerable','YUUMI_URL_COL_OUT_OF_RANGE','onTransformSelections','onRemoteChangeset','sessionStatus$','ranges','dispose','CollaborationSocketService','getCurrentRevOfUnit','displayName','updateCursorEvent','#fff','commentUpdateEvent','roomMembers$','_HTTPService','DocStateChangeManagerService','isTransformChangesetsSuccess','_localeService','/universer-api/authz','Plugin','_onRemoteChangeset','clamp','unitId','onRemoteRetry','onTransformRemoteChangesetByIMECache','startRow','_decreaseWaiting','_hideTimer','takeUntil','handleMoveRange','_onCombEvent','handleDeleteRangeMoveLeft','WebSocketService','ERROR_EXCEED_SIZE','[DataLoaderController]','roles','_showConflictNotification','hasher','_handleJoinEvent','_scene','action','EvpKDF','routeKey','send','SnapshotServerOverHTTPService','BuiltInUIPart','_sender','_docTransformStateCacheService','subUnitId','listRoles','connection\x20error','offline','image/jpg','_undoRedoService','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','loadSheet','mode','/resources','OFFLINE','reset','randomBytes','closePath','duration','_color','onCommentUpdate','_checkMissing','compose','createElement','event$','loadOfflineData','PERMISSION_REJ','ivSize','_registerRenderDependencies','sequenceExecute','transform','_toggleOnline','_initStatusListener','off-line-single','tag','HttpExport','defineProperty','_scheduleTimestamp','Base64','padding','Subject','create','CONFLICT','has','icon','take','m2Prime','joinEvent','CipherParams','[PendingState]:\x20received\x20rejection.','getVpScrollXYInfoByPosToVp','LICENSE_MAX_UNITS_EXCEEDED','_instanceService','unknown','ReplaySubject','#FFF','userID','_createHmacHelper','CHANGESET_REJ','registerBeforeClose','getParam','_render','_queuedRemoteChangesets','_injector','_onConnectionOpen','UniverNetworkPlugin','doc.mutation.rich-text-editing','_assignedColors','toString','LOGIN_URL_KEY','compute','attrs','UPDATE_CURSOR','post','_key','_init','HEADER_MENU','_getLoginPath','_getCtorByUniverType','onStarting','toggleOffline','SUCCUSS','reduce','_tryEnsureSocket','sheets','currentColor','update','prototype','permission.content','getCurrentUser','_collaborationSessionService','executeCommand','COLORS','collabStatus.conflict','UNKNOWN_CMD','xlink:href','isPermissionRej','newValue','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','registerRenderModule','80WwchIA','splice','Hasher','1120QwAIEQ','_transformRemoteChangesetByIMECache','transformIMECache','infoRsp','members','OTHER_CLIENTS_EDITING','eventID','setActiveRange','HTTPRequest','IUIPartsService','_onRemoteACK','?size=','max','isInternalEditorID','sendChangesetTimeout','unshift','findNodePositionByCharIndex','HEARTBEAT_TIMEOUT_KEY','univer-pro.collaboration-client-socket-service','_docTransformSelectionsService','_scheduleCollaborationTimeoutTimer','SetSelectionsOperation','body','transformMutation','HmacSHA1','next','encode','SheetCollaborationEntity','fill','stringify','_getScale','getImage','exhaustSavingTask','getOwnPropertySymbols','USERS_ENTER','_backgroundColor','_getAPIPrefixPath','_shouldReportTelemetry','_roomMembers','switchMap','_updateState','state','StreamCipher','_getSignURL','POST','find','APPLY_PERMISSION_DENIED','DocSelectionManagerService','status$','_clearTimeoutTimer','subscribe','ThresholdInterceptorFactory','interceptor','_docSkeleton','_resendWithTimeout','\x20in\x20_schedule.','AUTHZ_URL_KEY','_collaborationPaused','headers','Error\x20on\x20receiving\x20event','ISnapshotServerService','_entityInit$','IUniverInstanceService','_parse','evenodd','changesets','_getAPIPrefix','_setupBeforeClosingHandler','getActiveRange','_notificationService','range','init','loadDoc','buffer','ILogService','c1Prime','_state$','slice','_socketService','UniverCollaborationClientPlugin','\x20-\x20','registerComponent','_transformHistoryAndStateStack','@univerjs/core','_unitID','LIVESHARE_NEW_HOST','_createInitialStateImpl','_joinRoom','univerjs-icon\x20univerjs-icon-','[PendingState]:\x20received\x20acknowledgement.','collaborators','with','split','createCollaborator','HttpImport','_change$','createDecryptor','getRandomValues','onRendered','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','url(#$1','parseProtocolChangeset','_transformRemoteChangesetByStateCache','collabStatus.synced','abs','_draw','SetTextSelectionsOperation','_resendTimeout','_lockTransition','ref','LIVESHARE_OPERATION','current','_onRecvEvent','_telemetryService','WordArray','_scheduleHeartbeat','fillStyle','_onCursorDelete','_handleHover','COLLAB_SUBMIT_CHANGESET_URL','liveShareOperation','closeSession','_selfUnitIDs','black','COMPLETION_FINISHED','_replaceFileID','_handleEvent','workbook','authzUrl','randomUUID','updatePermissionPoint','_prevBlock','createIdentifier','permission.title','_loadSheet','_socketMessageSubscription','CommandType','saveChangeset','connectInjector','getColor','?url=','sheetID','onTransformChange$','_updateLocalCache','error$','_type','getSkeleton','rev','/object','deserializeRangeWithSheet','_range','_snapshotServerService','serializeRangeWithSheet','ILocalStorageService','text','triggerDblclick','/fetchmissing?from=','50019wrzZZX','children','_memberService','...','path','signUrlServerUrl','data','handleIRemoveCol','session.will-retry','rgba(255,\x20255,\x20255,\x200.01)','deleteCollaborator','RECV','DataLoaderController','blue400','_onConnectionFailed','_substituteRedoStack','_clearScheduledTask','disableLocalCache','UniverIcon','DOC_RANGE_TYPE','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_timeoutTimer','_sessionStatus$','onload','enableLocalCache','univer-online-status-icon','disposeWithMe','_docTransformIMECacheService','onSendChangeset','_textBubble','updatePermissionObjEvent','_acknowledgedAwaitingChangeset','debounce','toDisposable','iterations','_messageService','fetchMissingChangesets','_updateStatus','verdancy600','_createHelper','/unit/','onMissedChangesetFetched','floor','allowed','href','telemetry\x20info\x20is\x20not\x20initialized','saveImage','UniverCollaborationPlugin','CompressMutationService','LICENSE_IMPORT_SIZE_EXCEEDED','Inject','setWaitCount','close','/universer-api/oidc/authpage','setShapeProps','_data','_transformService','react.fragment','_nRounds','image/bmp','_eventUnsubscribe','entries','cfg','CollaborationSessionService','joinRsp','_waitCount','debug','colorChannel1','_substituteUndoStack','_getCurrentRevision','[CollaborationEntity]','_stopTelemetryCollaborationNewChangeset','DEFAULT_FILE_NAME','SnapshotService','USERS_LEAVE','ColorKit','_waitForHeartbeatResponse','JOINING'];_0x47dd=function(){return _0x254fb3;};return _0x47dd();}function At(_0x5af0ba){return'unit-cache-'+_0x5af0ba;}var bi=Object[_0x54516d(0x461)],Ti=Object[_0x54516d(0x363)],Ri=(_0x402b22,_0x41aca8,_0x43eb07,_0x5f2205)=>{const _0x16ff40=_0x54516d;for(var _0x511144=_0x5f2205>0x1?void 0x0:_0x5f2205?Ti(_0x41aca8,_0x43eb07):_0x41aca8,_0x6ff59e=_0x402b22[_0x16ff40(0x5e8)]-0x1,_0x821b48;_0x6ff59e>=0x0;_0x6ff59e--)(_0x821b48=_0x402b22[_0x6ff59e])&&(_0x511144=(_0x5f2205?_0x821b48(_0x41aca8,_0x43eb07,_0x511144):_0x821b48(_0x511144))||_0x511144);return _0x5f2205&&_0x511144&&bi(_0x41aca8,_0x43eb07,_0x511144),_0x511144;},Qe=(_0x2c1096,_0xf896fd)=>(_0x5a920c,_0x5c0a6d)=>_0xf896fd(_0x5a920c,_0x5c0a6d,_0x2c1096);function yi(_0x6ef84d){const _0x393e3c=_0x54516d,{unitID:_0x2acccc,mutations:_0x1d57b6}=_0x6ef84d;return{'unitId':_0x2acccc,'subUnitId':_0x1d57b6[0x0][_0x393e3c(0x601)][_0x393e3c(0x441)]};}let ke=class{constructor(_0x3d3cfc,_0x3a414e,_0xbe94cc){const _0x15508f=_0x54516d;this[_0x15508f(0x47c)]=_0x3d3cfc,this[_0x15508f(0x579)]=_0x3a414e,this[_0x15508f(0x471)]=_0xbe94cc;}[_0x54516d(0x2bc)](_0x1415ef){const _0x143ac6=_0x54516d;var _0x54ac57,_0x1b69b9,_0x4c77de,_0x51ef61;const _0x45121e=this['_injector'][_0x143ac6(0x3b1)](k[_0x143ac6(0x398)]),{unitId:_0x42dccc,subUnitId:_0xda7310}=yi(_0x1415ef),_0xdd77ac=_0x45121e[_0x143ac6(0x2fa)](_0x42dccc)[_0x143ac6(0x5dc)](),_0x298fbc=(_0x1b69b9=(_0x54ac57=this['_instanceService'][_0x143ac6(0x25b)](_0x42dccc))==null?void 0x0:_0x54ac57[_0x143ac6(0x393)]())==null?void 0x0:_0x1b69b9[_0x143ac6(0x297)]();if(_0xdd77ac[_0x143ac6(0x5e8)]===0x0||!_0x42dccc||!_0xda7310)return;const _0x55e8a2=[{'id':k[_0x143ac6(0x4b9)]['id'],'params':{'unitId':_0x42dccc,'subUnitId':_0x298fbc,'selections':a[_0x143ac6(0x3eb)][_0x143ac6(0x330)](_0xdd77ac)}}],_0x3215f3=this[_0x143ac6(0x579)][_0x143ac6(0x1cd)](_0x1415ef,_0x55e8a2);if(!S['isTransformMutationsWithChangesetSuccess'](_0x3215f3))throw _0x3215f3[_0x143ac6(0x29f)];const _0x261f2a=(_0x51ef61=(_0x4c77de=_0x3215f3['m2Prime'][0x0])==null?void 0x0:_0x4c77de['params'])==null?void 0x0:_0x51ef61[_0x143ac6(0x2ae)];if(Array[_0x143ac6(0x5a7)](_0x261f2a)&&_0x261f2a[_0x143ac6(0x5e8)]){if(_0x261f2a['length']===_0x55e8a2[0x0][_0x143ac6(0x601)][_0x143ac6(0x2ae)][_0x143ac6(0x5e8)]&&_0x261f2a[_0x143ac6(0x392)]((_0x1eb2e9,_0xd08515)=>a[_0x143ac6(0x1d3)][_0x143ac6(0x391)](_0x1eb2e9[_0x143ac6(0x4ea)],_0x55e8a2[0x0][_0x143ac6(0x601)]['selections'][_0xd08515][_0x143ac6(0x4ea)])))return;this[_0x143ac6(0x47c)]['get'](a[_0x143ac6(0x18a)])[_0x143ac6(0x498)](k[_0x143ac6(0x4b9)]['id'],{'unitId':_0x42dccc,'subUnitId':_0x298fbc,'selections':_0x261f2a});}}};ke=Ri([Qe(0x0,a[_0x54516d(0x573)](a[_0x54516d(0x33a)])),Qe(0x1,S[_0x54516d(0x5bd)]),Qe(0x2,a[_0x54516d(0x4e2)])],ke);const qe=a['createIdentifier']('univer-pro.collaboration-client.single-active-unit-service');var un=(_0x4fdd54=>(_0x4fdd54[_0x4fdd54[_0x54516d(0x3de)]=0x0]=_0x54516d(0x3de),_0x4fdd54[_0x4fdd54[_0x54516d(0x4a9)]=0x1]=_0x54516d(0x4a9),_0x4fdd54))(un||{});const Nt=0x7530,Lt=_0x54516d(0x17a);class Oi extends a[_0x54516d(0x25e)]{constructor(){const _0x280263=_0x54516d;super(),I(this,_0x280263(0x1d5),a[_0x280263(0x3eb)]['generateRandomId']()),I(this,_0x280263(0x51e),new Set()),I(this,_0x280263(0x5d6),new Map()),I(this,_0x280263(0x2d3),null),I(this,_0x280263(0x3d2),new Map()),I(this,_0x280263(0x3a2),new Map()),this['_init']();}['dispose'](){const _0x22a1e5=_0x54516d;super['dispose'](),this[_0x22a1e5(0x3d2)][_0x22a1e5(0x1ba)]((_0x51fd15,_0x59cca9)=>this[_0x22a1e5(0x28b)](_0x59cca9)),this[_0x22a1e5(0x2d3)]&&window[_0x22a1e5(0x621)](this['_heartbeatTimer']);}['getUnitStatus$'](_0x3788f2){const _0x5ca083=_0x54516d;return this['_ensureSubject'](_0x3788f2)['pipe'](A[_0x5ca083(0x1fe)]());}['editingUnit'](_0x33a080){const _0x564b70=_0x54516d;this['_selfUnitIDs'][_0x564b70(0x5c0)]===0x0&&this[_0x564b70(0x517)](),this[_0x564b70(0x51e)][_0x564b70(0x2ba)](_0x33a080),this['_send']({'type':0x0,'memberID':this[_0x564b70(0x1d5)],'unitIDs':[_0x33a080],'isForwarded':!0x1});}[_0x54516d(0x5cc)](_0x4eb2be){const _0x32973a=_0x54516d;this[_0x32973a(0x51e)]['delete'](_0x4eb2be),this[_0x32973a(0x51e)]['size']===0x0&&this[_0x32973a(0x2d3)]&&window['clearInterval'](this[_0x32973a(0x2d3)]);}[_0x54516d(0x488)](){const _0x309394=_0x54516d;this['disposeWithMe'](a[_0x309394(0x562)](A[_0x309394(0x362)](window,_0x309394(0x38a))[_0x309394(0x4d6)](_0x62c7fc=>{const _0x5956fc=_0x309394;if(_0x62c7fc[_0x5956fc(0x5f3)]!==Lt||!_0x62c7fc[_0x5956fc(0x49e)])return;const _0x54592a=JSON[_0x5956fc(0x2a0)](_0x62c7fc[_0x5956fc(0x49e)]);this[_0x5956fc(0x522)](_0x54592a);}))),window['addEventListener']('unload',()=>this['_send']({'type':0x1,'memberID':this[_0x309394(0x1d5)],'unitIDs':Array[_0x309394(0x36a)](this[_0x309394(0x51e)])}));}[_0x54516d(0x522)](_0x58f8cf){const _0x5fa78e=_0x54516d;switch(_0x58f8cf[_0x5fa78e(0x242)]){case 0x0:this[_0x5fa78e(0x437)](_0x58f8cf);break;case 0x1:this['_handleLeaveEvent'](_0x58f8cf);break;case 0x2:this[_0x5fa78e(0x219)](_0x58f8cf);break;}}[_0x54516d(0x437)](_0x36f5ea){const _0x50b858=_0x54516d,{unitIDs:_0x55efc0,memberID:_0x3f31b1,isForwarded:_0x542d75}=_0x36f5ea;_0x55efc0[_0x50b858(0x1ba)](_0x2c5bb3=>{const _0x85fafd=_0x50b858;if(!_0x542d75&&this[_0x85fafd(0x5d6)][_0x85fafd(0x468)](_0x2c5bb3)&&this[_0x85fafd(0x218)](_0x2c5bb3)['next'](0x1),!this[_0x85fafd(0x5d6)][_0x85fafd(0x468)](_0x2c5bb3)||!this['_unitOnClients'][_0x85fafd(0x3b1)](_0x2c5bb3)[_0x85fafd(0x468)](_0x3f31b1)){const _0x536343=this['_unitOnClients'][_0x85fafd(0x3b1)](_0x2c5bb3)||new Set();_0x536343[_0x85fafd(0x2ba)](_0x3f31b1),this[_0x85fafd(0x5d6)]['set'](_0x2c5bb3,_0x536343),this[_0x85fafd(0x5d3)](_0x3f31b1);}}),_0x542d75||this[_0x50b858(0x314)]({'type':0x0,'memberID':this[_0x50b858(0x1d5)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x54516d(0x5d3)](_0x24d5f8){const _0x4bac8c=_0x54516d;this[_0x4bac8c(0x28b)](_0x24d5f8);const _0x2b111f=window[_0x4bac8c(0x1ae)](()=>{const _0x2fbfb2=_0x4bac8c;this[_0x2fbfb2(0x5d6)][_0x2fbfb2(0x1ba)](_0x14b7a9=>{const _0xca1aaa=_0x2fbfb2;_0x14b7a9[_0xca1aaa(0x1c4)](_0x24d5f8);});},Nt*0x2);this['_clearOtherTimers'][_0x4bac8c(0x36d)](_0x24d5f8,_0x2b111f);}[_0x54516d(0x28b)](_0x4f9aea){const _0x20996f=_0x54516d;if(this[_0x20996f(0x3d2)][_0x20996f(0x468)](_0x4f9aea)){const _0x123afa=this[_0x20996f(0x3d2)]['get'](_0x4f9aea);_0x123afa&&window[_0x20996f(0x289)](_0x123afa),this[_0x20996f(0x3d2)][_0x20996f(0x36d)](_0x4f9aea,null);}}[_0x54516d(0x1dc)](_0x51a343){const _0x515ea4=_0x54516d,{memberID:_0x45edeb,unitIDs:_0x2178a6}=_0x51a343;_0x2178a6[_0x515ea4(0x1ba)](_0x2d7979=>{const _0xd4ad48=_0x515ea4;var _0x485662;const _0x2e9d3c=this[_0xd4ad48(0x5d6)][_0xd4ad48(0x3b1)](_0x2d7979);_0x2e9d3c&&(_0x2e9d3c[_0xd4ad48(0x1c4)](_0x45edeb),(_0x485662=this['_ensureSubject'](_0x2d7979))==null||_0x485662[_0xd4ad48(0x4bd)](_0x2e9d3c[_0xd4ad48(0x5c0)]===0x0?0x0:0x1));}),this[_0x515ea4(0x28b)](_0x45edeb);}[_0x54516d(0x219)](_0xddf58b){const _0x4d0587=_0x54516d;this[_0x4d0587(0x5d3)](_0xddf58b['memberID']);}[_0x54516d(0x314)](_0x14eb3c){const _0x16fb66=_0x54516d;localStorage[_0x16fb66(0x399)](Lt,JSON[_0x16fb66(0x4c1)](_0x14eb3c));}[_0x54516d(0x517)](){const _0x210bca=_0x54516d;this[_0x210bca(0x2d3)]=window[_0x210bca(0x2b6)](()=>{const _0x1ca3dd=_0x210bca;this[_0x1ca3dd(0x314)]({'type':0x2,'memberID':this[_0x1ca3dd(0x1d5)]});},Nt);}[_0x54516d(0x218)](_0x54d4ee){const _0x59642b=_0x54516d;return this[_0x59642b(0x3a2)][_0x59642b(0x468)](_0x54d4ee)||this[_0x59642b(0x3a2)]['set'](_0x54d4ee,new A[(_0x59642b(0x598))](0x0)),this[_0x59642b(0x3a2)]['get'](_0x54d4ee);}}var Di=Object[_0x54516d(0x461)],wi=Object[_0x54516d(0x363)],Pi=(_0x643ccd,_0x30be36,_0x324b07,_0x54565b)=>{const _0x136898=_0x54516d;for(var _0x1b4133=_0x54565b>0x1?void 0x0:_0x54565b?wi(_0x30be36,_0x324b07):_0x30be36,_0x48ca37=_0x643ccd[_0x136898(0x5e8)]-0x1,_0x416c4a;_0x48ca37>=0x0;_0x48ca37--)(_0x416c4a=_0x643ccd[_0x48ca37])&&(_0x1b4133=(_0x54565b?_0x416c4a(_0x30be36,_0x324b07,_0x1b4133):_0x416c4a(_0x1b4133))||_0x1b4133);return _0x54565b&&_0x1b4133&&Di(_0x30be36,_0x324b07,_0x1b4133),_0x1b4133;},et=(_0xe8e353,_0x1c6d6b)=>(_0x5804fb,_0x1b22e1)=>_0x1c6d6b(_0x5804fb,_0x1b22e1,_0xe8e353);let We=class{constructor(_0x201d28,_0xb958b2,_0x2ea565){const _0x3b3097=_0x54516d;this['_injector']=_0x201d28,this[_0x3b3097(0x579)]=_0xb958b2,this[_0x3b3097(0x2df)]=_0x2ea565;}['transformStateCache'](_0x48b824){const _0x155028=_0x54516d;this[_0x155028(0x4f6)](_0x48b824);}[_0x54516d(0x5e6)](_0x43c59b){const _0x21e47e=_0x54516d,{unitID:_0x29803e}=_0x43c59b,{collaboration:_0x31a22f}=this[_0x21e47e(0x2df)]['getStateCache'](_0x29803e);if(_0x31a22f[_0x21e47e(0x5e8)]===0x0)return _0x43c59b;let _0x39b7d7=a['Tools'][_0x21e47e(0x330)](_0x43c59b[_0x21e47e(0x1f3)][0x0]);for(let _0x35f4e8=0x0;_0x35f4e8<_0x31a22f[_0x21e47e(0x5e8)];_0x35f4e8++){const _0x1cd873={'id':_0x21e47e(0x47f),'params':{'unitId':_0x31a22f[_0x35f4e8][_0x21e47e(0x427)],..._0x31a22f[_0x35f4e8][_0x21e47e(0x22c)]}},_0x1d241c=this[_0x21e47e(0x579)][_0x21e47e(0x4bb)](_0x39b7d7,_0x1cd873,!0x1);if(S[_0x21e47e(0x311)](_0x1d241c))throw _0x1d241c[_0x21e47e(0x29f)];_0x39b7d7=_0x1d241c[_0x21e47e(0x401)];}return{...a[_0x21e47e(0x3eb)][_0x21e47e(0x330)](_0x43c59b),'mutations':[_0x39b7d7]};}['_transformHistoryAndStateStack'](_0x6fa5cc){const _0x10c549=_0x54516d,{unitID:_0x3e9116}=_0x6fa5cc,{history:_0x5be158,collaboration:_0x57efd3}=this[_0x10c549(0x2df)]['getStateCache'](_0x3e9116);if(_0x5be158['length']===0x0&&_0x57efd3[_0x10c549(0x5e8)]===0x0)return;const _0x1083f3=[],_0x30bcad=[];let _0x27df90=a[_0x10c549(0x3eb)]['deepClone'](_0x6fa5cc['mutations'][0x0]),_0x38646f=a[_0x10c549(0x3eb)]['deepClone'](_0x6fa5cc[_0x10c549(0x1f3)][0x0]);for(let _0x333fd4=_0x5be158['length']-0x1;_0x333fd4>=0x0;_0x333fd4--){const _0xbba0fa={'id':_0x10c549(0x47f),'params':{'unitId':_0x5be158[_0x333fd4][_0x10c549(0x427)],..._0x5be158[_0x333fd4][_0x10c549(0x3db)]}},_0x5c403e={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5be158[_0x333fd4][_0x10c549(0x427)],..._0x5be158[_0x333fd4]['redoState']}},_0x4de10a=this[_0x10c549(0x579)]['transformMutation'](_0x27df90,_0xbba0fa,!0x1),_0x410706=this['_transformService'][_0x10c549(0x4bb)](_0x38646f,_0x5c403e,!0x1);if(S['isTransformMutationFailure'](_0x4de10a))throw _0x4de10a['error'];if(S[_0x10c549(0x311)](_0x410706))throw _0x410706['error'];_0x1083f3[_0x10c549(0x4b3)]({..._0x5be158[_0x333fd4],'undoState':_0x4de10a[_0x10c549(0x46b)][_0x10c549(0x601)],'redoState':_0x410706[_0x10c549(0x46b)][_0x10c549(0x601)]}),_0x27df90=_0x4de10a[_0x10c549(0x401)],_0x38646f=_0x410706[_0x10c549(0x401)];}_0x27df90=a[_0x10c549(0x3eb)][_0x10c549(0x330)](_0x6fa5cc[_0x10c549(0x1f3)][0x0]),_0x38646f=a[_0x10c549(0x3eb)]['deepClone'](_0x6fa5cc[_0x10c549(0x1f3)][0x0]);for(let _0x4402d2=_0x57efd3[_0x10c549(0x5e8)]-0x1;_0x4402d2>=0x0;_0x4402d2--){const _0x25d13e={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x57efd3[_0x4402d2][_0x10c549(0x427)],..._0x57efd3[_0x4402d2]['undoState']}},_0x59212f={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x57efd3[_0x4402d2][_0x10c549(0x427)],..._0x57efd3[_0x4402d2][_0x10c549(0x22c)]}},_0x4ce841=this[_0x10c549(0x579)]['transformMutation'](_0x27df90,_0x25d13e,!0x1),_0xc6d1d9=this[_0x10c549(0x579)][_0x10c549(0x4bb)](_0x38646f,_0x59212f,!0x1);if(S[_0x10c549(0x311)](_0x4ce841))throw _0x4ce841['error'];if(S[_0x10c549(0x311)](_0xc6d1d9))throw _0xc6d1d9[_0x10c549(0x29f)];_0x30bcad[_0x10c549(0x4b3)]({..._0x57efd3[_0x4402d2],'undoState':_0x4ce841[_0x10c549(0x46b)][_0x10c549(0x601)],'redoState':_0xc6d1d9[_0x10c549(0x46b)][_0x10c549(0x601)]}),_0x27df90=_0x4ce841[_0x10c549(0x401)],_0x38646f=_0xc6d1d9[_0x10c549(0x401)];}this[_0x10c549(0x2df)]['setStateCache'](_0x3e9116,{'history':_0x1083f3,'collaboration':_0x30bcad});}};We=Pi([et(0x0,a[_0x54516d(0x573)](a[_0x54516d(0x33a)])),et(0x1,S[_0x54516d(0x5bd)]),et(0x2,a[_0x54516d(0x573)](J['DocStateChangeManagerService']))],We);function dn(_0x4ef499){const _0x5923e3=_0x54516d;let _0x6b6b2c='';for(const _0x55fcd8 of _0x4ef499){const {startOffset:_0x2bbcf6,endOffset:_0x180f66,isActive:_0x21b82a,rangeType:_0x55c497,segmentId:_0x34457f,segmentPage:_0x1b39ec}=_0x55fcd8;_0x6b6b2c[_0x5923e3(0x5e8)]&&(_0x6b6b2c+=','),_0x6b6b2c+=_0x2bbcf6+':'+_0x180f66+':'+(_0x21b82a?'1':'0')+':'+_0x55c497+':'+_0x34457f+':'+_0x1b39ec;}return _0x6b6b2c;}function Ui(_0x45c80f){const _0x3707f3=_0x54516d,_0x5278db=_0x45c80f[_0x3707f3(0x500)](','),_0x572b42=[];for(const _0x4f78f8 of _0x5278db){const [_0x4a5d55,_0x42d6f6,_0x56c196,_0x5d82cb,_0x5e28ca,_0x3dc229]=_0x4f78f8[_0x3707f3(0x500)](':');_0x572b42[_0x3707f3(0x26e)]({'startOffset':Number(_0x4a5d55),'endOffset':Number(_0x42d6f6),'collapsed':_0x4a5d55===_0x42d6f6,'isActive':_0x56c196==='1','rangeType':_0x5d82cb===a[_0x3707f3(0x554)][_0x3707f3(0x1ef)]?a[_0x3707f3(0x554)]['TEXT']:a[_0x3707f3(0x554)]['RECT'],'segmentId':typeof _0x5e28ca=='string'?String(_0x5e28ca):'','segmentPage':Number(_0x3dc229!=null?_0x3dc229:-0x1)});}return _0x572b42['some'](_0x3cfdd0=>_0x3cfdd0[_0x3707f3(0x5e5)])||(_0x572b42[0x0][_0x3707f3(0x5e5)]=!0x0),_0x572b42;}class Rt extends a[_0x54516d(0x1d6)]{constructor(){const _0x2d06c9=_0x54516d;super(...arguments),I(this,_0x2d06c9(0x294),new A[(_0x2d06c9(0x598))](null)),I(this,_0x2d06c9(0x2ad),this[_0x2d06c9(0x294)]['asObservable']());}[_0x54516d(0x603)](_0x80cbe){const _0x32f2a4=_0x54516d,{unitID:_0x3e519c,memberID:_0x43dd58,textRanges:_0x32539c}=_0x80cbe,_0x49a336=dn(_0x32539c);if(_0x49a336==='')return;const _0x2cf5ec={'unitID':_0x3e519c,'memberID':_0x43dd58,'selection':_0x49a336};this[_0x32f2a4(0x294)]['next'](_0x2cf5ec);}}var Mi=Object['defineProperty'],Ai=Object[_0x54516d(0x363)],Ni=(_0xd22645,_0x185620,_0x3addc5,_0x5d54b4)=>{const _0x15062c=_0x54516d;for(var _0x25a87b=_0x5d54b4>0x1?void 0x0:_0x5d54b4?Ai(_0x185620,_0x3addc5):_0x185620,_0x243732=_0xd22645[_0x15062c(0x5e8)]-0x1,_0x48f6ce;_0x243732>=0x0;_0x243732--)(_0x48f6ce=_0xd22645[_0x243732])&&(_0x25a87b=(_0x5d54b4?_0x48f6ce(_0x185620,_0x3addc5,_0x25a87b):_0x48f6ce(_0x25a87b))||_0x25a87b);return _0x5d54b4&&_0x25a87b&&Mi(_0x185620,_0x3addc5,_0x25a87b),_0x25a87b;},xt=(_0x3bacb7,_0x287186)=>(_0x30b129,_0x375e31)=>_0x287186(_0x30b129,_0x375e31,_0x3bacb7);let Fe=class{constructor(_0x21c48a,_0x1438a0){const _0x300e05=_0x54516d;this[_0x300e05(0x47c)]=_0x21c48a,this[_0x300e05(0x579)]=_0x1438a0;}['transformSelections'](_0x3e9796){const _0x13d773=_0x54516d;var _0x592369;const _0x2ebfbd=this[_0x13d773(0x47c)][_0x13d773(0x3b1)](ye['DocSelectionManagerService']),_0x4c58e0=(_0x592369=_0x2ebfbd[_0x13d773(0x27e)]())!=null?_0x592369:[];if(_0x4c58e0['length']===0x0)return;const _0x2b3651=_0x3e9796['unitID'],_0x3bbc6f=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2b3651,'actions':null,'textRanges':_0x4c58e0}}],_0x3a7654=this[_0x13d773(0x579)][_0x13d773(0x1cd)](_0x3e9796,_0x3bbc6f);if(!S[_0x13d773(0x5da)](_0x3a7654))throw _0x3a7654[_0x13d773(0x29f)];const _0x18659f=_0x3a7654['m2Prime'][0x0][_0x13d773(0x601)][_0x13d773(0x329)];Array[_0x13d773(0x5a7)](_0x18659f)&&_0x18659f[_0x13d773(0x5e8)]&&_0x2ebfbd[_0x13d773(0x334)](_0x18659f,{'unitId':_0x2b3651,'subUnitId':_0x2b3651},!0x1);}};Fe=Ni([xt(0x0,a['Inject'](a[_0x54516d(0x33a)])),xt(0x1,S[_0x54516d(0x5bd)])],Fe);const Li=new Set([k['InsertSheetMutation']['id']]);function jt(_0x4574fb,_0x5aa872,_0x2b812d,_0x184611,_0x52508d){const _0x172f3a=_0x54516d;var _0x16f9d7,_0x851f0f,_0x14ddd0,_0x1ad0a0;const _0x41d603=[];for(const _0x4607d2 of _0x4574fb)if(Li['has'](_0x4607d2['id'])){if(_0x41d603[_0x172f3a(0x5e8)]>0x0)break;_0x41d603[_0x172f3a(0x26e)](_0x4607d2);break;}else _0x41d603[_0x172f3a(0x26e)](_0x4607d2);const _0x1b94d8=(_0x851f0f=(_0x16f9d7=_0x52508d[_0x172f3a(0x496)]())==null?void 0x0:_0x16f9d7[_0x172f3a(0x475)])!=null?_0x851f0f:_0x172f3a(0x472),_0x2ae54e=(_0x1ad0a0=(_0x14ddd0=_0x52508d[_0x172f3a(0x496)]())==null?void 0x0:_0x14ddd0[_0x172f3a(0x24b)])!=null?_0x1ad0a0:'unknown';return{'changeset':{'unitID':_0x5aa872,'type':S[_0x172f3a(0x1e9)](_0x2b812d[_0x172f3a(0x5c9)](_0x5aa872)),'baseRev':_0x184611[_0x172f3a(0x419)](_0x5aa872),'revision':0x0,'userID':_0x1b94d8,'memberID':_0x2ae54e,'mutations':_0x41d603},'pendingMutations':_0x4574fb['slice'](_0x41d603[_0x172f3a(0x5e8)])};}function xi(_0x5241ec,_0x40b83e,_0x5afd7a,_0x118058,_0x2e0d11){const _0x33a83e=_0x54516d;var _0x56758f,_0x22abd4,_0x175e91,_0x17ae3a;const _0x3e0403=[_0x5241ec[_0x33a83e(0x48f)]((_0x39e5c7,_0x3a412b)=>{const _0x1c9060=_0x33a83e;var _0xc0ff53;const {id:_0x43ac9d}=_0x39e5c7,{id:_0x1eff9a,type:_0x3cdc46}=_0x3a412b,_0x4893f7=(_0xc0ff53=_0x39e5c7['params'])!=null?_0xc0ff53:{'actions':null},_0x3359f8=_0x3a412b[_0x1c9060(0x601)];if(_0x43ac9d&&_0x43ac9d!==_0x1eff9a)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x43ac9d+_0x1c9060(0x4f4)+_0x1eff9a+'.');return{..._0x39e5c7,'id':_0x1eff9a,'type':_0x3cdc46,'params':{'unitId':_0x3359f8['unitId'],'textRanges':_0x3359f8[_0x1c9060(0x329)],'actions':a[_0x1c9060(0x255)][_0x1c9060(0x453)](_0x4893f7['actions'],_0x3359f8[_0x1c9060(0x35d)])}};},{})],_0x519d86=(_0x22abd4=(_0x56758f=_0x2e0d11[_0x33a83e(0x496)]())==null?void 0x0:_0x56758f['userID'])!=null?_0x22abd4:_0x33a83e(0x472),_0x30691a=(_0x17ae3a=(_0x175e91=_0x2e0d11['getCurrentUser']())==null?void 0x0:_0x175e91['memberID'])!=null?_0x17ae3a:'unknown';return{'changeset':{'unitID':_0x40b83e,'type':S[_0x33a83e(0x1e9)](_0x5afd7a['getUnitType'](_0x40b83e)),'baseRev':_0x118058[_0x33a83e(0x419)](_0x40b83e),'revision':0x0,'userID':_0x519d86,'memberID':_0x30691a,'mutations':_0x3e0403},'pendingMutations':[]};}function fn(_0xea416d,_0x35321c){const _0x5434c6=_0x54516d,_0x3427b3=new A[(_0x5434c6(0x473))](0x1);return setTimeout(()=>_0x3427b3[_0x5434c6(0x4bd)](_0x35321c),_0xea416d),_0x3427b3['asObservable']()[_0x5434c6(0x5f2)](A[_0x5434c6(0x46a)](0x1));}const ji={'id':k[_0x54516d(0x3a5)]['id'],'type':a[_0x54516d(0x52c)][_0x54516d(0x5f9)],'params':{}};var $i=Object[_0x54516d(0x461)],Hi=Object['getOwnPropertyDescriptor'],Ie=(_0x192435,_0x5857fc,_0x57079b,_0x3d618e)=>{const _0x360815=_0x54516d;for(var _0x51055a=_0x3d618e>0x1?void 0x0:_0x3d618e?Hi(_0x5857fc,_0x57079b):_0x5857fc,_0x46cf6c=_0x192435[_0x360815(0x5e8)]-0x1,_0x453e6f;_0x46cf6c>=0x0;_0x46cf6c--)(_0x453e6f=_0x192435[_0x46cf6c])&&(_0x51055a=(_0x3d618e?_0x453e6f(_0x5857fc,_0x57079b,_0x51055a):_0x453e6f(_0x51055a))||_0x51055a);return _0x3d618e&&_0x51055a&&$i(_0x5857fc,_0x57079b,_0x51055a),_0x51055a;},N=(_0x1cf7c9,_0x4a5118)=>(_0x30e51a,_0x14e2bf)=>_0x4a5118(_0x30e51a,_0x14e2bf,_0x1cf7c9),q=(_0x8f97d7=>(_0x8f97d7['NOT_COLLAB']=_0x54516d(0x1a3),_0x8f97d7[_0x54516d(0x1fd)]=_0x54516d(0x360),_0x8f97d7[_0x54516d(0x1e4)]='pending',_0x8f97d7['AWAITING']=_0x54516d(0x266),_0x8f97d7[_0x54516d(0x396)]='awaiting_with_pending',_0x8f97d7['FETCH_MISS']=_0x54516d(0x25a),_0x8f97d7[_0x54516d(0x467)]=_0x54516d(0x5ff),_0x8f97d7[_0x54516d(0x44b)]=_0x54516d(0x444),_0x8f97d7))(q||{});const vn=0xea60;class Ce{constructor(_0xc61314,_0x4ee32b,_0x4178d2,_0x2ab749,_0xf51d4f,_0x36feb7,_0x64b9d0,_0x55f76f,_0x421e23){const _0x4217b5=_0x54516d;I(this,'_awaitingChangeset',null),I(this,'_pendingMutations',[]),(this[_0x4217b5(0x351)]=_0xc61314,this[_0x4217b5(0x242)]=_0x4ee32b,this[_0x4217b5(0x3d5)]=_0xf51d4f,this[_0x4217b5(0x1ca)]=_0x36feb7,this[_0x4217b5(0x446)]=_0x64b9d0,this['_revisionService']=_0x55f76f,this[_0x4217b5(0x3bf)]=_0x421e23,this[_0x4217b5(0x179)]=_0x4178d2,this[_0x4217b5(0x5f4)]=_0x2ab749);}['_checkMissing'](_0xcec956){const _0x35d94c=_0x54516d,_0x1d9846=this['_revisionService']['getCurrentRevOfUnit'](this[_0x35d94c(0x351)]);return _0xcec956[_0x35d94c(0x30e)]>_0x1d9846+0x1?(this[_0x35d94c(0x3d5)][_0x35d94c(0x172)]({'from':_0x1d9846,'to':_0xcec956[_0x35d94c(0x30e)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x5cef80){const _0x859dad=_0x54516d;this[_0x859dad(0x446)]['transformUndoRedo'](this[_0x859dad(0x351)],_0x5cef80);}['_transformSelections'](_0x5b66ac){const _0x20d373=_0x54516d;var _0x64afa1,_0x55e67c;(_0x55e67c=(_0x64afa1=this[_0x20d373(0x3d5)])[_0x20d373(0x413)])==null||_0x55e67c['call'](_0x64afa1,_0x5b66ac);}['_transformIMECache'](_0x22c2ff){const _0x4344f5=_0x54516d;var _0x4ffe8b,_0x21d04e;return(_0x21d04e=(_0x4ffe8b=this[_0x4344f5(0x3d5)])[_0x4344f5(0x269)])==null?void 0x0:_0x21d04e['call'](_0x4ffe8b,_0x22c2ff);}[_0x54516d(0x24f)](_0x3d16b3){var _0xa72c64,_0x1c0ead;return(_0x1c0ead=(_0xa72c64=this['_handler'])['onTransformState'])==null?void 0x0:_0x1c0ead['call'](_0xa72c64,_0x3d16b3);}[_0x54516d(0x4a5)](_0x1b8554){const _0x123a13=_0x54516d;var _0x3f4068,_0x1ce7da,_0x42fbe6;return(_0x42fbe6=(_0x1ce7da=(_0x3f4068=this[_0x123a13(0x3d5)])[_0x123a13(0x429)])==null?void 0x0:_0x1ce7da[_0x123a13(0x2a5)](_0x3f4068,_0x1b8554))!=null?_0x42fbe6:_0x1b8554;}[_0x54516d(0x50a)](_0x4dc2eb){const _0x51dd5e=_0x54516d;var _0x56b886,_0x369c1d,_0x37341b;return(_0x37341b=(_0x369c1d=(_0x56b886=this[_0x51dd5e(0x3d5)])[_0x51dd5e(0x3cf)])==null?void 0x0:_0x369c1d['call'](_0x56b886,_0x4dc2eb))!=null?_0x37341b:_0x4dc2eb;}[_0x54516d(0x3f8)](_0x49d3cf){const _0x2ca9c2=_0x54516d;var _0x3ff622,_0x33197c;if(this[_0x2ca9c2(0x242)]===ie[_0x2ca9c2(0x60e)]){const {unitID:_0x2dcdbe,mutations:_0x4029a8,memberID:_0x2c8012}=_0x49d3cf,_0x4a4f8e=_0x4029a8[0x0][_0x2ca9c2(0x601)][_0x2ca9c2(0x329)];Array[_0x2ca9c2(0x5a7)](_0x4a4f8e)&&_0x4a4f8e[_0x2ca9c2(0x5e8)]>0x0&&((_0x33197c=(_0x3ff622=this[_0x2ca9c2(0x3d5)])['onSyncEditingCollabCursor'])==null||_0x33197c[_0x2ca9c2(0x2a5)](_0x3ff622,{'unitID':_0x2dcdbe,'memberID':_0x2c8012,'textRanges':_0x4a4f8e}));}}[_0x54516d(0x533)](){const _0x4a9984=_0x54516d;this[_0x4a9984(0x3bf)][_0x4a9984(0x1fb)](this[_0x4a9984(0x351)],this[_0x4a9984(0x242)],this[_0x4a9984(0x179)],this['_pendingMutations']);}[_0x54516d(0x586)](){const _0x4e3c07=_0x54516d;return this['_revisionService'][_0x4e3c07(0x419)](this[_0x4e3c07(0x351)]);}[_0x54516d(0x61e)](){const _0x5153ae=_0x54516d;this['_revisionService']['incrementRevOfUnit'](this[_0x5153ae(0x351)]);}[_0x54516d(0x2ac)](_0x474336){const _0x5736d2=_0x54516d;var _0x29ea86;let _0x5a6e8e=this[_0x5736d2(0x4a5)](_0x474336);_0x5a6e8e=this[_0x5736d2(0x50a)](_0x5a6e8e);const _0x431c1c=a[_0x5736d2(0x45a)](_0x5a6e8e[_0x5736d2(0x1f3)],this['_commandService'],{'fromCollab':!0x0});if(!_0x431c1c['result'])throw _0x431c1c[_0x5736d2(0x29f)]instanceof Error?_0x431c1c[_0x5736d2(0x29f)]:new Error((_0x29ea86=_0x431c1c['error'])!=null?_0x29ea86:_0x5736d2(0x5c7));this[_0x5736d2(0x216)](_0x5a6e8e),this[_0x5736d2(0x24f)](_0x5a6e8e),this['_transformUndoredo'](_0x474336),this[_0x5736d2(0x223)](_0x5a6e8e),this[_0x5736d2(0x3f8)](_0x5a6e8e),this[_0x5736d2(0x61e)]();}}let Oe=class extends Ce{constructor(_0xf18a3e,_0x380905,_0x191f28,_0x5bf33a,_0x3ec0c5,_0x30828f,_0x48d66c,_0x1de318,_0x384ff6,_0x161de7){const _0x4d9888=_0x54516d;super(_0xf18a3e,_0x380905,null,[],_0x191f28,_0x1de318,_0x48d66c,_0x5bf33a,_0x3ec0c5),I(this,'status',_0x4d9888(0x360)),(this[_0x4d9888(0x47c)]=_0x30828f,this['_logService']=_0x384ff6,this['_transformService']=_0x161de7);}[_0x54516d(0x1c8)](_0x399781){const _0x497d65=_0x54516d,_0x20709c=this['_injector'][_0x497d65(0x5d2)](ce,this['unitID'],this[_0x497d65(0x242)],[_0x399781],this[_0x497d65(0x3d5)]);return _0x20709c['_schedule'](),_0x20709c[_0x497d65(0x533)](),_0x20709c;}[_0x54516d(0x414)](_0xadcb9){const _0x8f2abb=_0x54516d;if(this[_0x8f2abb(0x452)](_0xadcb9))return this[_0x8f2abb(0x47c)][_0x8f2abb(0x5d2)](re,this[_0x8f2abb(0x351)],this[_0x8f2abb(0x242)],null,[],null,[_0xadcb9],this['_handler']);try{const _0x1b3926=this['_transformService'][_0x8f2abb(0x1cd)](_0xadcb9,[ji]);if(S[_0x8f2abb(0x5da)](_0x1b3926)){const {c1Prime:_0x27f492}=_0x1b3926;return this['_executeRemoteChangeset'](_0x27f492),this;}throw _0x1b3926[_0x8f2abb(0x29f)];}catch(_0x5cf690){return this[_0x8f2abb(0x241)]['error'](_0x5cf690),this[_0x8f2abb(0x3b6)](!0x1);}}[_0x54516d(0x3b6)](_0x6e5b4a){const _0x39bcef=_0x54516d;return this[_0x39bcef(0x47c)][_0x39bcef(0x5d2)](ve,this[_0x39bcef(0x351)],this['type'],null,[],this['_handler'],_0x6e5b4a);}[_0x54516d(0x3e1)](){const _0x570f7c=_0x54516d;throw new Error(_0x570f7c(0x385));}[_0x54516d(0x2c1)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}['toggleOffline'](){const _0x4ff3fc=_0x54516d;return this['_injector'][_0x4ff3fc(0x5d2)](me,this['unitID'],this[_0x4ff3fc(0x242)],null,[],this[_0x4ff3fc(0x3d5)]);}[_0x54516d(0x222)](){return this;}['resend'](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x54516d(0x5d4)](){const _0x2d5c31=_0x54516d,_0x145561=this[_0x2d5c31(0x1cc)][_0x2d5c31(0x419)](this['unitID']);return this[_0x2d5c31(0x3d5)][_0x2d5c31(0x172)]({'from':_0x145561,'to':0x0}),this[_0x2d5c31(0x47c)][_0x2d5c31(0x5d2)](re,this['unitID'],this[_0x2d5c31(0x242)],null,[],null,[],this[_0x2d5c31(0x3d5)]);}};Oe=Ie([N(0x3,a[_0x54516d(0x573)](S[_0x54516d(0x35a)])),N(0x4,a[_0x54516d(0x573)](exports['LocalCacheService'])),N(0x5,a[_0x54516d(0x573)](a[_0x54516d(0x33a)])),N(0x6,a['IUndoRedoService']),N(0x7,a[_0x54516d(0x18a)]),N(0x8,a['ILogService']),N(0x9,S['ITransformService'])],Oe);let ce=class extends Ce{constructor(_0x34443f,_0x67d702,_0x20fda4,_0x49b06b,_0x7c3582,_0x8795d5,_0x33a08a,_0x376b66,_0x576bd0,_0x3f5234,_0x2bafca,_0x2593f7,_0x1044df,_0x250938){const _0x4ad3b1=_0x54516d;super(_0x34443f,_0x67d702,null,_0x20fda4,_0x49b06b,_0x3f5234,_0x250938,_0x8795d5,_0x33a08a),I(this,'status',_0x4ad3b1(0x18b)),I(this,_0x4ad3b1(0x462),null),I(this,_0x4ad3b1(0x5d9),null),(this[_0x4ad3b1(0x47c)]=_0x7c3582,this['_memberService']=_0x376b66,this[_0x4ad3b1(0x241)]=_0x576bd0,this[_0x4ad3b1(0x2a3)]=_0x2bafca,this[_0x4ad3b1(0x579)]=_0x2593f7,this[_0x4ad3b1(0x228)]=_0x1044df);}[_0x54516d(0x1c8)](_0x4f6d1f){const _0x28623e=_0x54516d;return this[_0x28623e(0x5f4)][_0x28623e(0x26e)](_0x4f6d1f),this[_0x28623e(0x533)](),this;}[_0x54516d(0x414)](_0x4ef884){const _0x539ea9=_0x54516d;if(this[_0x539ea9(0x452)](_0x4ef884))return this[_0x539ea9(0x551)](),this[_0x539ea9(0x47c)][_0x539ea9(0x5d2)](re,this['unitID'],this[_0x539ea9(0x242)],null,this[_0x539ea9(0x5f4)],null,[_0x4ef884],this[_0x539ea9(0x3d5)]);try{const _0x379e1c=this[_0x539ea9(0x579)][_0x539ea9(0x1cd)](_0x4ef884,this[_0x539ea9(0x5f4)]);if(S[_0x539ea9(0x5da)](_0x379e1c)){const {c1Prime:_0x4bf12a,m2Prime:_0x389cd6}=_0x379e1c;this[_0x539ea9(0x2ac)](_0x4bf12a);const _0x1613d0=this[_0x539ea9(0x47c)][_0x539ea9(0x5d2)](ce,this[_0x539ea9(0x351)],this[_0x539ea9(0x242)],_0x389cd6,this['_handler']);return this[_0x539ea9(0x551)](),_0x1613d0[_0x539ea9(0x20b)](this['_scheduleTimestamp']?Math[_0x539ea9(0x4b0)](0x0,new Date()['getTime']()-this[_0x539ea9(0x462)]):this[_0x539ea9(0x1a0)]()),_0x1613d0;}throw _0x379e1c['error'];}catch(_0x548cf4){return this[_0x539ea9(0x241)][_0x539ea9(0x29f)](_0x548cf4),this['_onConflict'](!0x1);}}[_0x54516d(0x3e1)](){const _0x21b4b6=_0x54516d;throw new Error(_0x21b4b6(0x4fd));}[_0x54516d(0x2c1)](){const _0x3df905=_0x54516d;throw new Error(_0x3df905(0x46e));}[_0x54516d(0x428)](){return this;}[_0x54516d(0x48d)](){const _0x802d20=_0x54516d;return this[_0x802d20(0x551)](),this[_0x802d20(0x47c)][_0x802d20(0x5d2)](me,this[_0x802d20(0x351)],this[_0x802d20(0x242)],null,this[_0x802d20(0x5f4)],this[_0x802d20(0x3d5)]);}[_0x54516d(0x222)](){return this;}[_0x54516d(0x20b)](_0x20d3ff){const _0x21d9fc=_0x54516d,_0x59638e=_0x20d3ff!=null?_0x20d3ff:this[_0x21d9fc(0x1a0)]();this[_0x21d9fc(0x462)]=new Date()[_0x21d9fc(0x2e4)](),this[_0x21d9fc(0x5d9)]=window[_0x21d9fc(0x1ae)](()=>{const _0x53a88d=_0x21d9fc;this[_0x53a88d(0x551)]();let _0x10ad11=null;switch(this[_0x53a88d(0x242)]){case ie['UNIVER_SHEET']:{_0x10ad11=jt(this[_0x53a88d(0x5f4)],this[_0x53a88d(0x351)],this[_0x53a88d(0x228)],this[_0x53a88d(0x1cc)],this['_memberService']);break;}case ie[_0x53a88d(0x60e)]:{this[_0x53a88d(0x5f4)][_0x53a88d(0x392)](_0x2dac6b=>_0x2dac6b['id']===ye[_0x53a88d(0x3c5)]['id'])?_0x10ad11=xi(this[_0x53a88d(0x5f4)],this['unitID'],this[_0x53a88d(0x228)],this[_0x53a88d(0x1cc)],this['_memberService']):_0x10ad11=jt(this[_0x53a88d(0x5f4)],this[_0x53a88d(0x351)],this[_0x53a88d(0x228)],this[_0x53a88d(0x1cc)],this['_memberService']);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x53a88d(0x242)]+_0x53a88d(0x4db));}const {changeset:_0x537f64,pendingMutations:_0x35f70b}=_0x10ad11;this['_handler'][_0x53a88d(0x55d)](_0x537f64);const _0x985eab=_0x35f70b['length']?this[_0x53a88d(0x47c)]['createInstance'](le,this['unitID'],this[_0x53a88d(0x242)],_0x537f64,_0x35f70b,this[_0x53a88d(0x3d5)],void 0x0):this[_0x53a88d(0x47c)][_0x53a88d(0x5d2)](fe,this['unitID'],this[_0x53a88d(0x242)],_0x537f64,this[_0x53a88d(0x3d5)]);_0x985eab[_0x53a88d(0x533)](),this[_0x53a88d(0x3d5)][_0x53a88d(0x2dc)](this,_0x985eab);},_0x59638e);}[_0x54516d(0x1a0)](){const _0x21b123=_0x54516d;var _0x3ba4a3;const _0x47843d=this[_0x21b123(0x2a3)][_0x21b123(0x21d)](te);return(_0x3ba4a3=_0x47843d==null?void 0x0:_0x47843d[_0x21b123(0x4b2)])!=null?_0x3ba4a3:kn;}[_0x54516d(0x243)](){const _0x23604c=_0x54516d;throw new Error(_0x23604c(0x507));}[_0x54516d(0x551)](){const _0x5885dc=_0x54516d;this[_0x5885dc(0x5d9)]!=null&&(clearTimeout(this[_0x5885dc(0x5d9)]),this[_0x5885dc(0x5d9)]=null);}['_onConflict'](_0x3362a6){const _0x2d47b4=_0x54516d;return this[_0x2d47b4(0x551)](),this[_0x2d47b4(0x47c)]['createInstance'](ve,this['unitID'],this[_0x2d47b4(0x242)],null,this['_pendingMutations'],this[_0x2d47b4(0x3d5)],_0x3362a6);}};ce=Ie([N(0x4,a[_0x54516d(0x573)](a['Injector'])),N(0x5,a[_0x54516d(0x573)](S[_0x54516d(0x35a)])),N(0x6,a['Inject'](exports['LocalCacheService'])),N(0x7,a[_0x54516d(0x573)](exports[_0x54516d(0x3a8)])),N(0x8,a[_0x54516d(0x4ee)]),N(0x9,a[_0x54516d(0x18a)]),N(0xa,a[_0x54516d(0x208)]),N(0xb,S[_0x54516d(0x5bd)]),N(0xc,a[_0x54516d(0x4e2)]),N(0xd,a[_0x54516d(0x5b9)])],ce);let fe=class extends Ce{constructor(_0xdb2e0b,_0x31c9fc,_0x4058e1,_0x3871c0,_0x1cb914,_0x356f96,_0x19390a,_0x254d37,_0x1487ac,_0x5bd96c,_0x32a5b2){const _0x53babb=_0x54516d;super(_0xdb2e0b,_0x31c9fc,_0x4058e1,[],_0x3871c0,_0x254d37,_0x32a5b2,_0x356f96,_0x19390a),I(this,_0x53babb(0x2d5),'awaiting'),I(this,'_resendTimeout',0x0),I(this,_0x53babb(0x5ac)),I(this,_0x53babb(0x43f)),(this[_0x53babb(0x47c)]=_0x1cb914,this[_0x53babb(0x241)]=_0x1487ac,this['_transformService']=_0x5bd96c);}[_0x54516d(0x1c8)](_0x101eba){const _0x493b9e=_0x54516d;this['_clearScheduledTask']();const _0x1d6f35=this[_0x493b9e(0x47c)][_0x493b9e(0x5d2)](le,this[_0x493b9e(0x351)],this['type'],this[_0x493b9e(0x179)],[_0x101eba],this[_0x493b9e(0x3d5)],this[_0x493b9e(0x5ac)]);return _0x1d6f35[_0x493b9e(0x533)](),_0x1d6f35;}[_0x54516d(0x414)](_0x75921f){const _0x5289f7=_0x54516d;if(this[_0x5289f7(0x452)](_0x75921f))return this[_0x5289f7(0x551)](),this[_0x5289f7(0x47c)][_0x5289f7(0x5d2)](re,this['unitID'],this['type'],this['_awaitingChangeset'],[],null,[_0x75921f],this[_0x5289f7(0x3d5)]);try{const _0x28bb95=this[_0x5289f7(0x579)][_0x5289f7(0x59f)]([_0x75921f],[this[_0x5289f7(0x179)]],!0x1);if(S['isTransformChangesetsSuccess'](_0x28bb95)){const {c1Prime:_0x1cc988,c2Prime:_0x578636}=_0x28bb95;this[_0x5289f7(0x2ac)](_0x1cc988[0x0]),_0x578636[0x0][_0x5289f7(0x379)]=this['_getCurrentRevision'](),this[_0x5289f7(0x551)]();const _0x8f7bfe=this['_injector'][_0x5289f7(0x5d2)](fe,this['unitID'],this[_0x5289f7(0x242)],_0x578636[0x0],this[_0x5289f7(0x3d5)]);return _0x8f7bfe['_updateLocalCache'](),_0x8f7bfe;}return this[_0x5289f7(0x3b6)](!0x1);}catch(_0x4a197f){return this['_logService'][_0x5289f7(0x29f)](_0x4a197f),this['_onConflict'](!0x1);}}[_0x54516d(0x3e1)](_0x514240){const _0x149a1e=_0x54516d;this[_0x149a1e(0x551)]();const _0x4a8b9b=this[_0x149a1e(0x1cc)][_0x149a1e(0x419)](this[_0x149a1e(0x351)]);if(_0x514240['revision']<_0x4a8b9b-0x1)return this;if(this[_0x149a1e(0x452)](_0x514240))return this[_0x149a1e(0x47c)]['createInstance'](re,this['unitID'],this['type'],null,[],this[_0x149a1e(0x179)],[],this[_0x149a1e(0x3d5)]);this[_0x149a1e(0x61e)]();const _0x35d023=this[_0x149a1e(0x47c)][_0x149a1e(0x5d2)](Oe,this[_0x149a1e(0x351)],this['type'],this[_0x149a1e(0x3d5)]);return _0x35d023[_0x149a1e(0x533)](),_0x35d023;}[_0x54516d(0x2c1)](_0x74a020){const _0x2f44a4=_0x54516d;return this[_0x2f44a4(0x3b6)](!!(_0x74a020!=null&&_0x74a020[_0x2f44a4(0x49d)]));}[_0x54516d(0x428)](_0x208689){const _0x11c33d=_0x54516d;return this[_0x11c33d(0x50f)]>vn?this[_0x11c33d(0x48d)]():(this[_0x11c33d(0x5ac)]=fn(this[_0x11c33d(0x50f)],{'timeout':this['_resendTimeout'],'reqId':_0x208689[_0x11c33d(0x5b6)]}),this[_0x11c33d(0x43f)]=this[_0x11c33d(0x5ac)]['subscribe'](({reqId:_0x40ab0b,timeout:_0x5ddcaf})=>{this['_resendWithTimeout'](_0x40ab0b,_0x5ddcaf);}),this);}[_0x54516d(0x48d)](){const _0x1d4013=_0x54516d;return this['_clearScheduledTask'](),this['_injector'][_0x1d4013(0x5d2)](me,this[_0x1d4013(0x351)],this[_0x1d4013(0x242)],this['_awaitingChangeset'],[],this[_0x1d4013(0x3d5)]);}[_0x54516d(0x222)](){return this;}['resend'](){const _0x3a56c4=_0x54516d;this[_0x3a56c4(0x3d5)]['onSendChangeset'](this['_awaitingChangeset']);}['_onConflict'](_0x58a2b3){const _0x25e20f=_0x54516d;return this[_0x25e20f(0x551)](),this['_injector'][_0x25e20f(0x5d2)](ve,this[_0x25e20f(0x351)],this[_0x25e20f(0x242)],this[_0x25e20f(0x179)],[],this[_0x25e20f(0x3d5)],_0x58a2b3);}[_0x54516d(0x4da)](_0x48afd0,_0x59555c){const _0x2aa996=_0x54516d;var _0x2e43ec;_0x48afd0===((_0x2e43ec=this[_0x2aa996(0x179)])==null?void 0x0:_0x2e43ec[_0x2aa996(0x5b6)])&&(this['resend'](),this[_0x2aa996(0x50f)]=_0x59555c===0x0?0x3e8:_0x59555c*0x2);}['_clearScheduledTask'](){const _0x16c61c=_0x54516d;var _0x370213;(_0x370213=this[_0x16c61c(0x43f)])==null||_0x370213['unsubscribe'](),this[_0x16c61c(0x50f)]=0x0;}};fe=Ie([N(0x4,a[_0x54516d(0x573)](a[_0x54516d(0x33a)])),N(0x5,a[_0x54516d(0x573)](S[_0x54516d(0x35a)])),N(0x6,a[_0x54516d(0x573)](exports[_0x54516d(0x5ef)])),N(0x7,a[_0x54516d(0x18a)]),N(0x8,a[_0x54516d(0x4ee)]),N(0x9,S[_0x54516d(0x5bd)]),N(0xa,a['IUndoRedoService'])],fe);let le=class extends Ce{constructor(_0xa3fa0,_0x4a0ff3,_0x27345d,_0x59400a,_0x3bcaa3,_0x44e26d,_0x2bd86,_0x3b803f,_0x21667e,_0x5803e6,_0x1179ba,_0x5dc153,_0x32cea2){const _0x44e9b5=_0x54516d;super(_0xa3fa0,_0x4a0ff3,_0x27345d,_0x59400a,_0x3bcaa3,_0x5803e6,_0x32cea2,_0x3b803f,_0x21667e),I(this,_0x44e9b5(0x2d5),_0x44e9b5(0x5c1)),I(this,_0x44e9b5(0x50f),0x0),I(this,_0x44e9b5(0x5ac)),I(this,_0x44e9b5(0x43f)),(this[_0x44e9b5(0x47c)]=_0x2bd86,this[_0x44e9b5(0x241)]=_0x1179ba,this[_0x44e9b5(0x579)]=_0x5dc153,_0x44e26d&&(this[_0x44e9b5(0x5ac)]=_0x44e26d,this[_0x44e9b5(0x43f)]=this[_0x44e9b5(0x5ac)][_0x44e9b5(0x4d6)](({reqId:_0xf03a27,timeout:_0x31eb07})=>{const _0x1bf069=_0x44e9b5;this[_0x1bf069(0x4da)](_0xf03a27,_0x31eb07);})));}[_0x54516d(0x1c8)](_0x11e9a2){const _0x355f04=_0x54516d;return this[_0x355f04(0x5f4)]['push'](_0x11e9a2),this;}['onRemoteChangeset'](_0x49c042){const _0x316f6b=_0x54516d;if(this[_0x316f6b(0x452)](_0x49c042))return this[_0x316f6b(0x551)](),this[_0x316f6b(0x47c)][_0x316f6b(0x5d2)](re,this[_0x316f6b(0x351)],this[_0x316f6b(0x242)],this[_0x316f6b(0x179)],this[_0x316f6b(0x5f4)],null,[_0x49c042],this[_0x316f6b(0x3d5)]);try{const _0x5be3c9=this[_0x316f6b(0x579)][_0x316f6b(0x59f)]([_0x49c042],[this[_0x316f6b(0x179)]],!0x1);if(S[_0x316f6b(0x421)](_0x5be3c9)){const {c1Prime:_0x4e12c3,c2Prime:_0x403d0b}=_0x5be3c9,_0x3c9b78=this['_transformService'][_0x316f6b(0x1cd)](_0x4e12c3[0x0],this[_0x316f6b(0x5f4)]);if(S['isTransformMutationsWithChangesetSuccess'](_0x3c9b78)){const {c1Prime:_0xf48471,m2Prime:_0x3d5b38}=_0x3c9b78;return this['_executeRemoteChangeset'](_0xf48471),_0x403d0b[0x0]['baseRev']=this[_0x316f6b(0x586)](),this[_0x316f6b(0x551)](),this[_0x316f6b(0x47c)]['createInstance'](le,this[_0x316f6b(0x351)],this[_0x316f6b(0x242)],_0x403d0b[0x0],_0x3d5b38,this[_0x316f6b(0x3d5)],void 0x0);}throw _0x3c9b78[_0x316f6b(0x29f)];}throw _0x5be3c9[_0x316f6b(0x29f)];}catch(_0x39fe77){return this[_0x316f6b(0x241)][_0x316f6b(0x29f)](_0x39fe77),this[_0x316f6b(0x3b6)](!0x1);}}[_0x54516d(0x3e1)](_0x4bbb23){const _0x31133f=_0x54516d;if(this['_clearScheduledTask'](),this[_0x31133f(0x452)](_0x4bbb23))return this[_0x31133f(0x47c)]['createInstance'](re,this[_0x31133f(0x351)],this['type'],null,this['_pendingMutations'],this['_awaitingChangeset'],[],this[_0x31133f(0x3d5)]);this[_0x31133f(0x61e)]();const _0x78b6cf=this['_injector']['createInstance'](ce,this['unitID'],this[_0x31133f(0x242)],this[_0x31133f(0x5f4)],this[_0x31133f(0x3d5)]);return _0x78b6cf[_0x31133f(0x20b)](),_0x78b6cf[_0x31133f(0x533)](),_0x78b6cf;}[_0x54516d(0x2c1)](_0x2b65a1){const _0x56af4d=_0x54516d;return this[_0x56af4d(0x3b6)](!!(_0x2b65a1!=null&&_0x2b65a1[_0x56af4d(0x49d)]));}[_0x54516d(0x428)](_0x450056){const _0x5056b5=_0x54516d;return this[_0x5056b5(0x50f)]>vn?this['toggleOffline']():(this['_resendTimer']=fn(this['_resendTimeout'],{'timeout':this['_resendTimeout'],'reqId':_0x450056['reqId']}),this[_0x5056b5(0x43f)]=this[_0x5056b5(0x5ac)][_0x5056b5(0x4d6)](({reqId:_0x125462,timeout:_0x40fbe2})=>{this['_resendWithTimeout'](_0x125462,_0x40fbe2);}),this);}['toggleOffline'](){const _0x26d1e9=_0x54516d;return this[_0x26d1e9(0x551)](),this[_0x26d1e9(0x47c)]['createInstance'](me,this[_0x26d1e9(0x351)],this[_0x26d1e9(0x242)],this[_0x26d1e9(0x179)],this[_0x26d1e9(0x5f4)],this[_0x26d1e9(0x3d5)]);}[_0x54516d(0x222)](){return this;}[_0x54516d(0x243)](){const _0x2a120d=_0x54516d;this[_0x2a120d(0x3d5)][_0x2a120d(0x55d)](this[_0x2a120d(0x179)]);}['_onConflict'](_0x4bd15b){const _0x2541c3=_0x54516d;return this[_0x2541c3(0x551)](),this[_0x2541c3(0x47c)][_0x2541c3(0x5d2)](ve,this[_0x2541c3(0x351)],this[_0x2541c3(0x242)],null,this[_0x2541c3(0x5f4)],this[_0x2541c3(0x3d5)],_0x4bd15b);}[_0x54516d(0x4da)](_0x24d254,_0x1e2f94){const _0x40a20d=_0x54516d;var _0x3023ad;_0x24d254===((_0x3023ad=this[_0x40a20d(0x179)])==null?void 0x0:_0x3023ad['reqId'])&&(this['resend'](),this['_resendTimeout']=_0x1e2f94===0x0?0x3e8:_0x1e2f94*0x2);}[_0x54516d(0x551)](){const _0x2ad3b5=_0x54516d;var _0x2dba45;(_0x2dba45=this[_0x2ad3b5(0x43f)])==null||_0x2dba45['unsubscribe'](),this[_0x2ad3b5(0x50f)]=0x0;}};le=Ie([N(0x6,a['Inject'](a[_0x54516d(0x33a)])),N(0x7,a[_0x54516d(0x573)](S['RevisionService'])),N(0x8,a[_0x54516d(0x573)](exports['LocalCacheService'])),N(0x9,a[_0x54516d(0x18a)]),N(0xa,a[_0x54516d(0x4ee)]),N(0xb,S['ITransformService']),N(0xc,a['IUndoRedoService'])],le);let ve=class extends Ce{constructor(_0x28bf34,_0x3c90ba,_0x224238,_0x2240c2,_0x44d031,_0x509340=!0x1,_0x3b6525,_0x2de39c,_0x483a39,_0x34b224,_0xa07602,_0x5de2ce,_0x467747){const _0x59dc53=_0x54516d;super(_0x28bf34,_0x3c90ba,_0x224238,_0x2240c2,_0x44d031,_0x2de39c,_0x483a39,_0xa07602,_0x34b224),I(this,_0x59dc53(0x2d5),'conflict'),(this[_0x59dc53(0x1eb)]=_0x509340,this['_permissionService']=_0x3b6525,this[_0x59dc53(0x422)]=_0x5de2ce,this[_0x59dc53(0x4e9)]=_0x467747,this[_0x59dc53(0x435)](),this[_0x59dc53(0x5a1)](),this[_0x59dc53(0x261)]());}[_0x54516d(0x1c8)](){return this;}['onRemoteChangeset'](){return this;}['onRemoteAck'](){return this;}[_0x54516d(0x2c1)](){return this;}[_0x54516d(0x428)](){return this;}['toggleOffline'](){return this;}[_0x54516d(0x222)](){return this;}[_0x54516d(0x243)](){const _0xa592bf=_0x54516d;throw new Error(_0xa592bf(0x615));}[_0x54516d(0x5a1)](){const _0x106ff1=_0x54516d;this[_0x106ff1(0x3bf)][_0x106ff1(0x1fb)](this[_0x106ff1(0x351)],this[_0x106ff1(0x242)],null,[]);}['_showConflictNotification'](){const _0x151a4e=_0x54516d;this[_0x151a4e(0x1eb)]?this[_0x151a4e(0x4e9)]['show']({'title':this['_localeService']['t'](_0x151a4e(0x529)),'content':this['_localeService']['t'](_0x151a4e(0x495)),'type':_0x151a4e(0x29f),'duration':0x0}):this[_0x151a4e(0x4e9)]['show']({'title':this[_0x151a4e(0x422)]['t'](_0x151a4e(0x1b9)),'content':this['_localeService']['t']('conflict.content'),'type':_0x151a4e(0x29f),'duration':0x0});}[_0x54516d(0x261)](){const _0x28c8c0=_0x54516d;this[_0x28c8c0(0x2ce)][_0x28c8c0(0x526)](new k[(_0x28c8c0(0x232))](this['unitID'])['id'],!0x1);}};ve=Ie([N(0x6,a['Inject'](a[_0x54516d(0x369)])),N(0x7,a[_0x54516d(0x18a)]),N(0x8,a[_0x54516d(0x5b9)]),N(0x9,a[_0x54516d(0x573)](exports[_0x54516d(0x5ef)])),N(0xa,a[_0x54516d(0x573)](S[_0x54516d(0x35a)])),N(0xb,a[_0x54516d(0x573)](a['LocaleService'])),N(0xc,ee['INotificationService'])],ve);let me=class extends Ce{constructor(_0x4bd664,_0x43c386,_0x39695b,_0x4d7787,_0x4b0883,_0x5c669a,_0x244805,_0x86c2f7,_0x25c7b2,_0x45b7e5){const _0x3cb8a9=_0x54516d;super(_0x4bd664,_0x43c386,_0x39695b,_0x4d7787,_0x4b0883,_0x25c7b2,_0x45b7e5,_0x244805,_0x86c2f7),I(this,_0x3cb8a9(0x2d5),_0x3cb8a9(0x444)),this[_0x3cb8a9(0x47c)]=_0x5c669a;}['appendMutation'](_0x47b17d){const _0x4707b7=_0x54516d;return this[_0x4707b7(0x5f4)][_0x4707b7(0x26e)](_0x47b17d),this[_0x4707b7(0x533)](),this;}[_0x54516d(0x414)](_0x1c6442){const _0x343d57=_0x54516d;throw new Error(_0x343d57(0x31a));}['onRemoteAck'](){const _0x59f69f=_0x54516d;throw new Error(_0x59f69f(0x2f6));}[_0x54516d(0x2c1)](){const _0xc57597=_0x54516d;throw new Error(_0xc57597(0x234));}['onRemoteRetry'](){return this;}[_0x54516d(0x48d)](){return this;}[_0x54516d(0x222)](){const _0x461ad4=_0x54516d,{_injector:_0x4f55dd,_pendingMutations:_0x3ba440,_awaitingChangeset:_0x5b2bfa,unitID:_0x571cb8,_handler:_0x412cd2,type:_0x1c88fa}=this,_0x27158e=mn(_0x4f55dd,_0x571cb8,_0x1c88fa,_0x5b2bfa,_0x3ba440,_0x412cd2);return _0x27158e instanceof ce?_0x27158e[_0x461ad4(0x20b)]():(_0x27158e instanceof le||_0x27158e instanceof fe)&&_0x27158e[_0x461ad4(0x243)](),_0x27158e;}[_0x54516d(0x243)](){const _0x488828=_0x54516d;throw new Error(_0x488828(0x5cf));}};me=Ie([N(0x5,a['Inject'](a[_0x54516d(0x33a)])),N(0x6,a[_0x54516d(0x573)](S['RevisionService'])),N(0x7,a[_0x54516d(0x573)](exports[_0x54516d(0x5ef)])),N(0x8,a[_0x54516d(0x18a)]),N(0x9,a[_0x54516d(0x5b9)])],me);let re=class extends Ce{constructor(_0x5577fb,_0x15ea3b,_0x3402b1,_0x16b9fd,_0x347830,_0x3ad3c9,_0x5c805f,_0xb5f7a9,_0x320963,_0x1d1503,_0x41a515,_0x4021c9,_0x268585,_0x1edf8f){const _0x88c250=_0x54516d;super(_0x5577fb,_0x15ea3b,_0x3402b1,_0x16b9fd,_0x5c805f,_0x4021c9,_0x268585,_0x320963,_0x1d1503),I(this,_0x88c250(0x2d5),'fetch_missing'),(this['_acknowledgedAwaitingChangeset']=_0x347830,this[_0x88c250(0x47b)]=_0x3ad3c9,this[_0x88c250(0x47c)]=_0xb5f7a9,this[_0x88c250(0x241)]=_0x41a515,this[_0x88c250(0x579)]=_0x1edf8f);}[_0x54516d(0x56a)](_0x355753){const _0xb360b2=_0x54516d;try{const _0x4081fe=[..._0x355753,...this['_queuedRemoteChangesets']],_0x3f5c92=[this['_awaitingChangeset']||this['_acknowledgedAwaitingChangeset']]['filter'](_0xe0b0aa=>!!_0xe0b0aa);let _0x536523,_0x5d62ce;if(_0x3f5c92[_0xb360b2(0x5e8)]){const _0x9c9450=this[_0xb360b2(0x579)][_0xb360b2(0x59f)](_0x4081fe,_0x3f5c92,!0x1);if(!S[_0xb360b2(0x421)](_0x9c9450))throw _0x9c9450['error'];_0x536523=_0x9c9450[_0xb360b2(0x4ef)],_0x5d62ce=_0x9c9450[_0xb360b2(0x595)];}else _0x536523=_0x4081fe,_0x5d62ce=[];let _0x22ac02=this['_pendingMutations'];_0x536523[_0xb360b2(0x1ba)](_0x192f3c=>{const _0x40c19f=_0xb360b2;let _0x575576;if(_0x22ac02[_0x40c19f(0x5e8)]){const _0xc05a5d=this[_0x40c19f(0x579)][_0x40c19f(0x1cd)](_0x192f3c,_0x22ac02);if(!S['isTransformMutationsWithChangesetSuccess'](_0xc05a5d))throw _0xc05a5d['error'];_0x575576=_0xc05a5d[_0x40c19f(0x4ef)],_0x22ac02=_0xc05a5d[_0x40c19f(0x46b)];}else _0x575576=_0x192f3c;this['_executeRemoteChangeset'](_0x575576);}),this[_0xb360b2(0x560)]&&this[_0xb360b2(0x61e)](),this['_awaitingChangeset']&&_0x5d62ce['length']&&(_0x5d62ce[0x0][_0xb360b2(0x379)]=this['_getCurrentRevision']());let _0x5f0b9c;if(this[_0xb360b2(0x179)]&&_0x22ac02[_0xb360b2(0x5e8)]!==0x0)_0x5f0b9c=this[_0xb360b2(0x47c)][_0xb360b2(0x5d2)](le,this[_0xb360b2(0x351)],this[_0xb360b2(0x242)],_0x5d62ce[0x0],_0x22ac02,this[_0xb360b2(0x3d5)],void 0x0);else{if(this['_awaitingChangeset']&&_0x22ac02[_0xb360b2(0x5e8)]===0x0)_0x5d62ce[0x0]['baseRev']=this[_0xb360b2(0x586)](),_0x5f0b9c=this[_0xb360b2(0x47c)][_0xb360b2(0x5d2)](fe,this['unitID'],this[_0xb360b2(0x242)],_0x5d62ce[0x0],this[_0xb360b2(0x3d5)]);else{if(_0x22ac02[_0xb360b2(0x5e8)]!==0x0){const _0x1f131a=this[_0xb360b2(0x47c)][_0xb360b2(0x5d2)](ce,this[_0xb360b2(0x351)],this[_0xb360b2(0x242)],_0x22ac02,this[_0xb360b2(0x3d5)]);_0x1f131a['_schedule'](),_0x5f0b9c=_0x1f131a;}else _0x5f0b9c=this['_injector']['createInstance'](Oe,this[_0xb360b2(0x351)],this[_0xb360b2(0x242)],this[_0xb360b2(0x3d5)]);}}return _0x5f0b9c[_0xb360b2(0x533)](),_0x5f0b9c;}catch(_0x4d6db7){return this[_0xb360b2(0x241)][_0xb360b2(0x29f)]('[FetchMissState]','failed\x20to\x20apply\x20missed\x20changesets!',_0x4d6db7),this['_injector'][_0xb360b2(0x5d2)](ve,this['unitID'],this[_0xb360b2(0x242)],this[_0xb360b2(0x179)],this[_0xb360b2(0x5f4)],this[_0xb360b2(0x3d5)],!0x1);}}[_0x54516d(0x243)](){const _0x2fa937=_0x54516d;throw new Error(_0x2fa937(0x3e9));}[_0x54516d(0x1c8)](_0x453bc1){const _0x2ade22=_0x54516d;return this['_pendingMutations'][_0x2ade22(0x26e)](_0x453bc1),this;}[_0x54516d(0x414)](_0x4121dd){const _0x13778d=_0x54516d;return this[_0x13778d(0x47b)][_0x13778d(0x26e)](_0x4121dd),this;}[_0x54516d(0x3e1)](_0xbb236f){const _0x470044=_0x54516d;if(this[_0x470044(0x179)])return this['_acknowledgedAwaitingChangeset']=this[_0x470044(0x179)],this['_awaitingChangeset']=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}['onRemoteRej'](_0x49ac6a){const _0x543f17=_0x54516d;return this[_0x543f17(0x3b6)](!!(_0x49ac6a!=null&&_0x49ac6a[_0x543f17(0x49d)]));}[_0x54516d(0x428)](){return this;}[_0x54516d(0x48d)](){const _0xd807=_0x54516d;return this[_0xd807(0x47c)][_0xd807(0x5d2)](me,this['unitID'],this[_0xd807(0x242)],this['_awaitingChangeset'],this['_pendingMutations'],this['_handler']);}[_0x54516d(0x222)](){return this;}[_0x54516d(0x3b6)](_0x28f75f){const _0x52a186=_0x54516d;return this[_0x52a186(0x47c)][_0x52a186(0x5d2)](ve,this[_0x52a186(0x351)],this[_0x52a186(0x242)],this[_0x52a186(0x179)],this[_0x52a186(0x5f4)],this[_0x52a186(0x3d5)],_0x28f75f);}};re=Ie([N(0x7,a['Inject'](a[_0x54516d(0x33a)])),N(0x8,a['Inject'](S[_0x54516d(0x35a)])),N(0x9,a[_0x54516d(0x573)](exports[_0x54516d(0x5ef)])),N(0xa,a[_0x54516d(0x4ee)]),N(0xb,a[_0x54516d(0x18a)]),N(0xc,a[_0x54516d(0x5b9)]),N(0xd,S[_0x54516d(0x5bd)])],re);function mn(_0x53bef1,_0x5bb51e,_0x1e5bd0,_0x3157fa,_0x460508,_0x6da7eb){const _0x55163a=_0x54516d;return _0x3157fa&&_0x460508['length']?_0x53bef1[_0x55163a(0x5d2)](le,_0x5bb51e,_0x1e5bd0,_0x3157fa,_0x460508,_0x6da7eb,void 0x0):_0x3157fa?_0x53bef1[_0x55163a(0x5d2)](fe,_0x5bb51e,_0x1e5bd0,_0x3157fa,_0x6da7eb):_0x460508['length']?_0x53bef1[_0x55163a(0x5d2)](ce,_0x5bb51e,_0x1e5bd0,_0x460508,_0x6da7eb):_0x53bef1[_0x55163a(0x5d2)](Oe,_0x5bb51e,_0x1e5bd0,_0x6da7eb);}var Bi=Object['defineProperty'],ki=Object[_0x54516d(0x363)],yt=(_0x33fc58,_0x5a5c6d,_0xcbd757,_0x80f292)=>{const _0x20ddde=_0x54516d;for(var _0x5333ff=_0x80f292>0x1?void 0x0:_0x80f292?ki(_0x5a5c6d,_0xcbd757):_0x5a5c6d,_0x54cc63=_0x33fc58[_0x20ddde(0x5e8)]-0x1,_0xa27a8d;_0x54cc63>=0x0;_0x54cc63--)(_0xa27a8d=_0x33fc58[_0x54cc63])&&(_0x5333ff=(_0x80f292?_0xa27a8d(_0x5a5c6d,_0xcbd757,_0x5333ff):_0xa27a8d(_0x5333ff))||_0x5333ff);return _0x80f292&&_0x5333ff&&Bi(_0x5a5c6d,_0xcbd757,_0x5333ff),_0x5333ff;},H=(_0x49f6ab,_0x34203e)=>(_0x312b69,_0x10aa7a)=>_0x34203e(_0x312b69,_0x10aa7a,_0x49f6ab);exports['CollaborationEntity']=class extends a[_0x54516d(0x1d6)]{constructor(_0x1ce4fb,_0x520296,_0xbd58a3,_0x50b1dc,_0x4465f2,_0x469e6f,_0x1990bf,_0x151c4f,_0x276c02,_0x402cce,_0x37b368,_0x31ddcf,_0x5aa13a){const _0x28b091=_0x54516d;super(),I(this,_0x28b091(0x4f0),new A[(_0x28b091(0x598))](null)),I(this,_0x28b091(0x1c7),this[_0x28b091(0x4f0)]['asObservable']()),I(this,'_state'),I(this,'_collaborationPaused',!0x1),I(this,_0x28b091(0x373),''),I(this,_0x28b091(0x61f),0x0),I(this,_0x28b091(0x4d4),this[_0x28b091(0x1c7)]['pipe'](A[_0x28b091(0x2c2)](_0x5201fd=>_0x5201fd?_0x5201fd[_0x28b091(0x2d5)]:q['OFFLINE']),A[_0x28b091(0x40d)](0x1))),I(this,_0x28b091(0x2d7),!0x1),I(this,_0x28b091(0x224),[]),(this[_0x28b091(0x351)]=_0x1ce4fb,this[_0x28b091(0x3f5)]=_0x520296,this[_0x28b091(0x535)]=_0xbd58a3,this[_0x28b091(0x47c)]=_0x50b1dc,this['_localCacheService']=_0x4465f2,this[_0x28b091(0x1fc)]=_0x469e6f,this[_0x28b091(0x422)]=_0x1990bf,this['_revisionService']=_0x151c4f,this['_logService']=_0x276c02,this[_0x28b091(0x1ca)]=_0x402cce,this[_0x28b091(0x564)]=_0x37b368,this[_0x28b091(0x2ce)]=_0x31ddcf,this[_0x28b091(0x2d9)]=_0x5aa13a);}get[_0x54516d(0x4cd)](){return this['_state'];}async[_0x54516d(0x4eb)](){const _0x56ccb9=_0x54516d;if(this[_0x56ccb9(0x4cd)])throw new Error(_0x56ccb9(0x26f));await this[_0x56ccb9(0x488)]();}[_0x54516d(0x194)](){const _0x440b3d=_0x54516d;return this[_0x440b3d(0x4dd)]=!0x0,a[_0x440b3d(0x562)](()=>{const _0x4cb1d8=_0x440b3d;this[_0x4cb1d8(0x4dd)]=!0x1,this[_0x4cb1d8(0x20d)]();});}[_0x54516d(0x4cc)](_0x50a85a){const _0x2b40cb=_0x54516d;this[_0x2b40cb(0x23c)]=_0x50a85a,this[_0x2b40cb(0x4f0)]['next'](_0x50a85a);}async[_0x54516d(0x488)](){const _0x3f5638=_0x54516d;var _0x5d7a8a;this[_0x3f5638(0x4cc)](await this[_0x3f5638(0x1c5)]()),this['_singleActiveUnitService']&&((_0x5d7a8a=this[_0x3f5638(0x2d9)])==null||_0x5d7a8a[_0x3f5638(0x2fc)](this[_0x3f5638(0x351)]),this[_0x3f5638(0x55b)](this['_singleActiveUnitService'][_0x3f5638(0x256)](this[_0x3f5638(0x351)])[_0x3f5638(0x4d6)](_0x2bbe4f=>{const _0x2d9417=_0x3f5638;this[_0x2d9417(0x241)][_0x2d9417(0x583)](_0x2d9417(0x587),_0x2d9417(0x2db),_0x2bbe4f),_0x2bbe4f===un[_0x2d9417(0x4a9)]?(this[_0x2d9417(0x564)][_0x2d9417(0x5e3)]({'content':this[_0x2d9417(0x422)]['t'](_0x2d9417(0x5ab)),'type':ge['MessageType'][_0x2d9417(0x354)]}),this[_0x2d9417(0x2ce)][_0x2d9417(0x526)](new k['WorkbookEditablePermission'](this[_0x2d9417(0x351)])['id'],!0x1),this[_0x2d9417(0x2ce)][_0x2d9417(0x5aa)](!0x1)):(this[_0x2d9417(0x2ce)][_0x2d9417(0x526)](new k[(_0x2d9417(0x232))](this['unitID'])['id'],!0x0),this['_permissionService'][_0x2d9417(0x5aa)](!0x0));})));let _0xf662cd=!0x1;return this[_0x3f5638(0x55b)](this[_0x3f5638(0x3f5)][_0x3f5638(0x415)][_0x3f5638(0x4d6)](_0x271be9=>{const _0x4374b9=_0x3f5638;_0x271be9===se[_0x4374b9(0x608)]?this['_toggleOnline'](_0xf662cd):_0x271be9===se[_0x4374b9(0x44b)]&&(_0xf662cd=!0x0,this[_0x4374b9(0x25d)]());})),this[_0x3f5638(0x55b)](this['session'][_0x3f5638(0x455)][_0x3f5638(0x4d6)](_0x468770=>{const _0x101633=_0x3f5638;try{switch(_0x468770[_0x101633(0x4aa)]){case S[_0x101633(0x5de)]['NEW_CHANGESETS']:{this[_0x101633(0x425)](S[_0x101633(0x509)](_0x468770[_0x101633(0x547)]));break;}case S['CollaborationEvent'][_0x101633(0x5b3)]:{this[_0x101633(0x4ae)](_0x468770[_0x101633(0x547)]);break;}case S[_0x101633(0x5de)]['CHANGESET_REJ']:{this[_0x101633(0x338)]();break;}case S[_0x101633(0x5de)][_0x101633(0x1b8)]:{this['_onRemoteRetry'](_0x468770[_0x101633(0x547)]);break;}case S['CollaborationEvent'][_0x101633(0x5b0)]:{this['_onFetchMissResult'](_0x468770[_0x101633(0x547)][_0x101633(0x4e5)][_0x101633(0x2c2)](_0x42e7ee=>S['parseProtocolChangeset'](_0x42e7ee)));break;}case S[_0x101633(0x5de)][_0x101633(0x457)]:this[_0x101633(0x338)]({'isPermissionRej':!0x0});}}catch(_0x1b6299){throw console[_0x101633(0x29f)](_0x101633(0x4df),_0x1b6299),_0x1b6299;}})),this[_0x3f5638(0x23c)];}[_0x54516d(0x1a7)](){const _0x1b50e2=_0x54516d;this[_0x1b50e2(0x2d7)]=!0x1;}[_0x54516d(0x510)](){const _0x36f89e=_0x54516d;if(this[_0x36f89e(0x2d7)])throw new Error(_0x36f89e(0x340));this['_transitionLocked']=!0x0;}[_0x54516d(0x2c4)](_0x2f6775){const _0x28f08d=_0x54516d;this['_lockTransition'](),this['_updateState'](this[_0x28f08d(0x23c)]['appendMutation'](_0x2f6775)),this[_0x28f08d(0x1a7)]();}[_0x54516d(0x425)](_0x2e7b43){const _0x4fb3c5=_0x54516d;if(!(_0x2e7b43['revision']<=this[_0x4fb3c5(0x1cc)]['getCurrentRevOfUnit'](this[_0x4fb3c5(0x351)]))){if(this[_0x4fb3c5(0x4dd)]){this['_remoteChangesetQueue']['push'](_0x2e7b43);return;}this[_0x4fb3c5(0x276)](_0x2e7b43);}}['_exhaustRemoteChangesetQueue'](){const _0x5510e6=_0x54516d;this[_0x5510e6(0x224)][_0x5510e6(0x1ba)](_0x371fce=>this['_applyRemoteChangeset'](_0x371fce)),this['_remoteChangesetQueue']=[];}['_applyRemoteChangeset'](_0x1e00b2){const _0x29781d=_0x54516d,_0x529b27=this[_0x29781d(0x1fc)]['interceptor'][_0x29781d(0x5e7)](this[_0x29781d(0x1fc)][_0x29781d(0x4d8)][_0x29781d(0x370)]()[_0x29781d(0x602)])(_0x1e00b2[_0x29781d(0x1f3)],null)||_0x1e00b2['mutations'],_0x194065={..._0x1e00b2,'mutations':_0x529b27};this[_0x29781d(0x510)](),this[_0x29781d(0x4cc)](this[_0x29781d(0x23c)][_0x29781d(0x414)](_0x194065)),this[_0x29781d(0x1a7)]();}[_0x54516d(0x4ae)](_0x2150ab){const _0xc2116a=_0x54516d;this[_0xc2116a(0x510)](),this[_0xc2116a(0x4cc)](this[_0xc2116a(0x23c)][_0xc2116a(0x3e1)](_0x2150ab)),this[_0xc2116a(0x1a7)]();}['_onRemoteRejected'](_0x278f3a){const _0x241317=_0x54516d;this[_0x241317(0x510)](),this[_0x241317(0x4cc)](this['_state']['onRemoteRej'](_0x278f3a)),this[_0x241317(0x1a7)]();}['_onRemoteRetry'](_0x148cb8){const _0x8f8605=_0x54516d;this[_0x8f8605(0x510)](),this[_0x8f8605(0x4cc)](this[_0x8f8605(0x23c)][_0x8f8605(0x428)](_0x148cb8)),this[_0x8f8605(0x1a7)]();}[_0x54516d(0x1e5)](_0x5d2c2f){const _0x3daaed=_0x54516d;if(!(this[_0x3daaed(0x23c)]instanceof re))throw new TypeError(_0x3daaed(0x178));const _0x31e1bc=_0x5d2c2f[_0x3daaed(0x2c2)](_0x40182e=>{const _0x3d78e3=_0x3daaed,_0x4d69d9=this[_0x3d78e3(0x1fc)]['interceptor'][_0x3d78e3(0x5e7)](this['_compressMutationService'][_0x3d78e3(0x4d8)][_0x3d78e3(0x370)]()['COMPRESS_MUTATION_APPLY'])(_0x40182e[_0x3d78e3(0x1f3)],null)||_0x40182e[_0x3d78e3(0x1f3)];return{..._0x40182e,'mutations':_0x4d69d9};});this[_0x3daaed(0x510)](),this[_0x3daaed(0x4cc)](this[_0x3daaed(0x23c)][_0x3daaed(0x56a)](_0x31e1bc)),this[_0x3daaed(0x1a7)]();}['_toggleOffline'](){const _0x568ccf=_0x54516d;this[_0x568ccf(0x510)](),this[_0x568ccf(0x4cc)](this[_0x568ccf(0x23c)][_0x568ccf(0x48d)]()),this[_0x568ccf(0x1a7)]();}[_0x54516d(0x45c)](_0x5b83b6=!0x1){const _0x35f41f=_0x54516d;this['_lockTransition'](),this['_updateState'](this['_state']['toggleOnline']()),this[_0x35f41f(0x1a7)]();const _0xbc9f68=this[_0x35f41f(0x23c)];_0x5b83b6&&_0xbc9f68 instanceof Oe&&(this[_0x35f41f(0x510)](),this[_0x35f41f(0x4cc)](_0xbc9f68[_0x35f41f(0x5d4)]()),this[_0x35f41f(0x1a7)]());}async['_createInitialState'](){return new Promise(_0x299cb2=>{const _0x1bec59=_0xe852;this[_0x1bec59(0x3f5)][_0x1bec59(0x415)][_0x1bec59(0x5f2)](A['take'](0x1))[_0x1bec59(0x4d6)](async _0x1ad684=>{const _0x39a231=_0x1bec59;_0x299cb2(await this[_0x39a231(0x4fa)](_0x1ad684===se['ONLINE']));});});}[_0x54516d(0x287)](){const _0x1559de=this['unitID'];return{'onStateChange':(_0x423c29,_0x40738d)=>{const _0x15243a=_0xe852;if(_0x423c29!==this['_state'])throw new Error(_0x15243a(0x555)+_0x423c29[_0x15243a(0x2d5)]+_0x15243a(0x1f8)+_0x40738d[_0x15243a(0x2d5)]+_0x15243a(0x318)+this['_state'][_0x15243a(0x2d5)]);this['_updateState'](_0x40738d);},'onSendChangeset':_0x30517b=>{const _0x537bde=_0xe852;_0x30517b[_0x537bde(0x3ac)]||(_0x30517b[_0x537bde(0x3ac)]=this['_changesetSessionId'],_0x30517b[_0x537bde(0x5b6)]=++this[_0x537bde(0x61f)]);const _0xd8dedf={'eventID':S[_0x537bde(0x5de)]['SUBMIT_CHANGESET'],'data':{'unitID':_0x30517b[_0x537bde(0x351)],'unitType':this[_0x537bde(0x535)],'changeset':_0x30517b,'memberID':this[_0x537bde(0x3f5)]['getMemberID']()}};this[_0x537bde(0x3f5)][_0x537bde(0x43c)](_0xd8dedf,this[_0x537bde(0x351)]);},'onMissingChangesets':({from:_0x1b725a,to:_0x5d0ade})=>{const _0x4ca440=_0xe852;this['_logService']['debug'](_0x4ca440(0x587),_0x4ca440(0x5bc)+_0x1b725a+'\x20to\x20'+_0x5d0ade);const _0x185718={'eventID':S[_0x4ca440(0x5de)][_0x4ca440(0x22b)],'data':{'unitID':_0x1559de,'unitType':this[_0x4ca440(0x535)],'from':_0x1b725a,'to':_0x5d0ade}};this['session'][_0x4ca440(0x43c)](_0x185718,this[_0x4ca440(0x351)]);}};}async[_0x54516d(0x4fa)](_0x30000d){const _0x2f321d=_0x54516d;var _0x4b0707,_0x2b70d0;const _0x25929a=await this[_0x2f321d(0x3bf)][_0x2f321d(0x456)](this[_0x2f321d(0x351)]),_0x5f03e5=(_0x4b0707=_0x25929a==null?void 0x0:_0x25929a[_0x2f321d(0x1f3)])!=null?_0x4b0707:[],_0x464526=(_0x2b70d0=_0x25929a==null?void 0x0:_0x25929a[_0x2f321d(0x3fb)])!=null?_0x2b70d0:null,_0x1fc78a=!!(_0x464526!=null&&_0x464526[_0x2f321d(0x3ac)])&&!!(_0x464526!=null&&_0x464526[_0x2f321d(0x5b6)]);this[_0x2f321d(0x373)]=_0x1fc78a?_0x464526[_0x2f321d(0x3ac)]:mi(),this['_changesetReqId']=_0x1fc78a?_0x464526[_0x2f321d(0x5b6)]:0x0;const _0x253202=this[_0x2f321d(0x351)];try{this[_0x2f321d(0x1b1)](_0x464526,_0x5f03e5);}catch(_0x5dd379){this[_0x2f321d(0x241)]['error'](_0x5dd379);}const _0xd5d08d=this['_createHandler']();if(_0x30000d){const _0x582369=mn(this[_0x2f321d(0x47c)],_0x253202,this[_0x2f321d(0x535)],_0x464526,_0x5f03e5,_0xd5d08d);return _0x582369 instanceof ce?_0x582369[_0x2f321d(0x20b)]():(_0x582369 instanceof le||_0x582369 instanceof fe)&&_0x582369[_0x2f321d(0x243)](),_0x582369;}return this['_injector'][_0x2f321d(0x5d2)](me,_0x253202,this[_0x2f321d(0x535)],_0x464526,_0x5f03e5,_0xd5d08d);}[_0x54516d(0x1b1)](_0x3c99d3,_0x53aacc){const _0x353488=_0x54516d;var _0x15260e,_0x115329;const _0x67ea88=this['_compressMutationService']['interceptor'][_0x353488(0x5e7)](this[_0x353488(0x1fc)]['interceptor'][_0x353488(0x370)]()[_0x353488(0x602)]);(_0x15260e=_0x67ea88((_0x3c99d3==null?void 0x0:_0x3c99d3[_0x353488(0x1f3)])||[],null))==null||_0x15260e[_0x353488(0x1ba)](_0x480d24=>this[_0x353488(0x1ca)]['executeCommand'](_0x480d24['id'],_0x480d24[_0x353488(0x601)])),(_0x115329=_0x67ea88(_0x53aacc||[],null))==null||_0x115329[_0x353488(0x1ba)](_0x6fff1e=>this[_0x353488(0x1ca)][_0x353488(0x498)](_0x6fff1e['id'],_0x6fff1e[_0x353488(0x601)]));}},exports[_0x54516d(0x3a1)]=yt([H(0x3,a[_0x54516d(0x573)](a[_0x54516d(0x33a)])),H(0x4,a['Inject'](exports[_0x54516d(0x5ef)])),H(0x5,a['Inject'](S[_0x54516d(0x571)])),H(0x6,a['Inject'](a[_0x54516d(0x2a1)])),H(0x7,a[_0x54516d(0x573)](S[_0x54516d(0x35a)])),H(0x8,a['ILogService']),H(0x9,a[_0x54516d(0x18a)]),H(0xa,ee[_0x54516d(0x3ce)]),H(0xb,a['IPermissionService']),H(0xc,a['Optional'](qe))],exports[_0x54516d(0x3a1)]),exports[_0x54516d(0x31e)]=class extends exports[_0x54516d(0x3a1)]{constructor(_0x4ce199,_0x286092,_0x1ace3b,_0x5b46ec,_0x38362e,_0x59f06a,_0x2658ef,_0x46cab0,_0x3456f3,_0x4d3106,_0x1d2b39,_0x29647e,_0x96a82e,_0x290090,_0x454a81,_0xdcf7f6,_0x5c4565,_0x32630f){const _0x446acd=_0x54516d;super(_0x4ce199,_0x1ace3b,_0x286092,_0x5b46ec,_0x38362e,_0x59f06a,_0x2658ef,_0x46cab0,_0x290090,_0x454a81,_0xdcf7f6,_0x5c4565,_0x32630f),this['unitID']=_0x4ce199,this[_0x446acd(0x242)]=_0x286092,this[_0x446acd(0x2df)]=_0x3456f3,this[_0x446acd(0x55c)]=_0x4d3106,this[_0x446acd(0x440)]=_0x1d2b39,this['_docTransformSelectionsService']=_0x29647e,this[_0x446acd(0x409)]=_0x96a82e;}[_0x54516d(0x287)](){const _0x4268e2=_0x54516d,_0x1930b3=super[_0x4268e2(0x287)]();return _0x1930b3[_0x4268e2(0x269)]=_0x5b7d84=>this[_0x4268e2(0x55c)][_0x4268e2(0x4a6)](_0x5b7d84),_0x1930b3[_0x4268e2(0x1ab)]=_0x1dff46=>this[_0x4268e2(0x440)][_0x4268e2(0x2af)](_0x1dff46),_0x1930b3[_0x4268e2(0x413)]=_0x40b717=>this[_0x4268e2(0x4b7)][_0x4268e2(0x2bc)](_0x40b717),_0x1930b3[_0x4268e2(0x27a)]=_0x566be9=>this[_0x4268e2(0x409)][_0x4268e2(0x603)](_0x566be9),_0x1930b3[_0x4268e2(0x429)]=_0x5695a6=>this[_0x4268e2(0x55c)]['transformRemoteChangeset'](_0x5695a6),_0x1930b3[_0x4268e2(0x3cf)]=_0x2bcb80=>this[_0x4268e2(0x440)]['transformRemoteChangeset'](_0x2bcb80),_0x1930b3;}async[_0x54516d(0x488)](){const _0x5e902f=_0x54516d,_0x2a0a1f=await super[_0x5e902f(0x488)]();return this[_0x5e902f(0x2df)]['docStateChange$'][_0x5e902f(0x5f2)](A[_0x5e902f(0x42d)](this[_0x5e902f(0x610)]))[_0x5e902f(0x4d6)](_0x30aaf2=>{const _0x359121=_0x5e902f;if(_0x30aaf2==null)return;const {unitId:_0x3fb4d2,redoState:_0x1b6655,commandId:_0x49c77e}=_0x30aaf2;if(_0x3fb4d2!==this[_0x359121(0x351)])return;const _0x4ece27={'id':_0x49c77e,'type':a[_0x359121(0x52c)][_0x359121(0x5f9)],'params':{'unitId':_0x3fb4d2,'actions':_0x1b6655[_0x359121(0x35d)],'textRanges':null}};this[_0x359121(0x2c4)](_0x4ece27);}),_0x2a0a1f;}},exports[_0x54516d(0x31e)]=yt([H(0x3,a[_0x54516d(0x573)](a[_0x54516d(0x33a)])),H(0x4,a[_0x54516d(0x573)](exports[_0x54516d(0x5ef)])),H(0x5,a[_0x54516d(0x573)](S[_0x54516d(0x571)])),H(0x6,a['Inject'](a[_0x54516d(0x2a1)])),H(0x7,a[_0x54516d(0x573)](S[_0x54516d(0x35a)])),H(0x8,a['Inject'](J[_0x54516d(0x420)])),H(0x9,a[_0x54516d(0x573)](Be)),H(0xa,a[_0x54516d(0x573)](We)),H(0xb,a[_0x54516d(0x573)](Fe)),H(0xc,a[_0x54516d(0x573)](Rt)),H(0xd,a[_0x54516d(0x4ee)]),H(0xe,a[_0x54516d(0x18a)]),H(0xf,ee[_0x54516d(0x3ce)]),H(0x10,a[_0x54516d(0x369)]),H(0x11,a[_0x54516d(0x1ee)](qe))],exports[_0x54516d(0x31e)]),exports['SheetCollaborationEntity']=class extends exports[_0x54516d(0x3a1)]{constructor(_0x3323f9,_0x12960a,_0x2a9645,_0x10cb83,_0xc214b6,_0xc797bb,_0x5ac646,_0x155b67,_0x575e18,_0x24f23e,_0x1585ca,_0x5e58dc,_0xbabb4d,_0x30b7b1){const _0x5b5be3=_0x54516d;super(_0x3323f9,_0x2a9645,_0x12960a,_0x10cb83,_0xc214b6,_0xc797bb,_0x5ac646,_0x155b67,_0x24f23e,_0x1585ca,_0x5e58dc,_0xbabb4d,_0x30b7b1),this[_0x5b5be3(0x351)]=_0x3323f9,this[_0x5b5be3(0x242)]=_0x12960a,this[_0x5b5be3(0x3fc)]=_0x575e18;}[_0x54516d(0x287)](){const _0x46b36b=_0x54516d,_0x56549a=super['_createHandler']();return _0x56549a[_0x46b36b(0x413)]=_0x74bad4=>this['_sheetTransformSelectionsService'][_0x46b36b(0x2bc)](_0x74bad4),_0x56549a;}async[_0x54516d(0x488)](){const _0x327e3a=_0x54516d,_0x2f7e63=await super[_0x327e3a(0x488)]();return this[_0x327e3a(0x55b)](this[_0x327e3a(0x1ca)][_0x327e3a(0x2aa)]((_0x1f69f6,_0x5be50d)=>{const _0x1cb2eb=_0x327e3a;if(_0x1f69f6['type']!==a[_0x1cb2eb(0x52c)][_0x1cb2eb(0x5f9)]||_0x5be50d!=null&&_0x5be50d[_0x1cb2eb(0x315)]||_0x5be50d!=null&&_0x5be50d['onlyLocal'])return;const _0x32585b=_0x1f69f6[_0x1cb2eb(0x601)];if((_0x32585b==null?void 0x0:_0x32585b[_0x1cb2eb(0x427)])!==this[_0x1cb2eb(0x351)])return;const _0xcfcfbf=_0x1f69f6,_0xe53c0f=this['_compressMutationService'][_0x1cb2eb(0x4d8)][_0x1cb2eb(0x5e7)](this[_0x1cb2eb(0x1fc)][_0x1cb2eb(0x4d8)][_0x1cb2eb(0x370)]()[_0x1cb2eb(0x403)])([_0xcfcfbf],null)||[_0xcfcfbf];this[_0x1cb2eb(0x2c4)](_0xe53c0f[0x0]);})),_0x2f7e63;}},exports['SheetCollaborationEntity']=yt([H(0x3,a['Inject'](a[_0x54516d(0x33a)])),H(0x4,a[_0x54516d(0x573)](exports[_0x54516d(0x5ef)])),H(0x5,a[_0x54516d(0x573)](S[_0x54516d(0x571)])),H(0x6,a['Inject'](a['LocaleService'])),H(0x7,a[_0x54516d(0x573)](S[_0x54516d(0x35a)])),H(0x8,a[_0x54516d(0x573)](ke)),H(0x9,a[_0x54516d(0x4ee)]),H(0xa,a[_0x54516d(0x18a)]),H(0xb,ee[_0x54516d(0x3ce)]),H(0xc,a[_0x54516d(0x369)]),H(0xd,a[_0x54516d(0x1ee)](qe))],exports[_0x54516d(0x4bf)]);var Wi=Object['defineProperty'],Fi=Object['getOwnPropertyDescriptor'],Vi=(_0x359b98,_0x5a416c,_0x1cd9a9,_0x370031)=>{for(var _0x571a21=_0x370031>0x1?void 0x0:_0x370031?Fi(_0x5a416c,_0x1cd9a9):_0x5a416c,_0x286509=_0x359b98['length']-0x1,_0x34eacb;_0x286509>=0x0;_0x286509--)(_0x34eacb=_0x359b98[_0x286509])&&(_0x571a21=(_0x370031?_0x34eacb(_0x5a416c,_0x1cd9a9,_0x571a21):_0x34eacb(_0x571a21))||_0x571a21);return _0x370031&&_0x571a21&&Wi(_0x5a416c,_0x1cd9a9,_0x571a21),_0x571a21;},tt=(_0xb4a71d,_0x5cd3fe)=>(_0x579f1e,_0x34cf84)=>_0x5cd3fe(_0x579f1e,_0x34cf84,_0xb4a71d);exports['CollaborationController']=class extends a[_0x54516d(0x1d6)]{constructor(_0xc48bdf,_0x57028f,_0x14734a){const _0x373232=_0x54516d;super(),I(this,_0x373232(0x3c8),new Map()),I(this,_0x373232(0x4e1),new A['Subject']()),(this[_0x373232(0x47c)]=_0xc48bdf,this['_collabSessionService']=_0x57028f,this[_0x373232(0x228)]=_0x14734a,this[_0x373232(0x488)]());}[_0x54516d(0x417)](){const _0x42cd92=_0x54516d;super[_0x42cd92(0x417)](),this[_0x42cd92(0x3c8)][_0x42cd92(0x1ba)](_0x46f28b=>_0x46f28b[_0x42cd92(0x417)]()),this['_entities'][_0x42cd92(0x202)]();}[_0x54516d(0x3da)](_0x407462){const _0x2a220a=_0x54516d;var _0x5b7a04;return(_0x5b7a04=this[_0x2a220a(0x3c8)][_0x2a220a(0x3b1)](_0x407462))!=null?_0x5b7a04:null;}[_0x54516d(0x5df)](_0x554062){const _0x2234ec=_0x54516d,_0x5b893b=this[_0x2234ec(0x3da)](_0x554062);return _0x5b893b?A['of'](_0x5b893b):this['_entityInit$'][_0x2234ec(0x5f2)](V['filter'](_0x5cb23c=>_0x5cb23c[_0x2234ec(0x351)]===_0x554062));}[_0x54516d(0x488)](){const _0x328272=_0x54516d;this['_univerInstanceService'][_0x328272(0x3f1)](a[_0x328272(0x2f2)][_0x328272(0x299)])['pipe'](A[_0x328272(0x42d)](this[_0x328272(0x610)]),V['delay'](0x10))[_0x328272(0x4d6)](async _0xc9bcae=>{const _0xc80b1d=_0x328272,_0x149474=_0xc9bcae[_0xc80b1d(0x2c5)](),_0x277add=await this[_0xc80b1d(0x5b8)](_0x149474,ie['UNIVER_SHEET']);this['_entities']['set'](_0x149474,_0x277add);}),this[_0x328272(0x228)][_0x328272(0x3f1)](a[_0x328272(0x2f2)]['UNIVER_DOC'])['pipe'](A[_0x328272(0x42d)](this[_0x328272(0x610)]),V['delay'](0x10))['pipe'](V[_0x328272(0x292)](_0x136bba=>!_0x136bba[_0x328272(0x2c5)]()['startsWith']('__')))['subscribe'](async _0x569610=>{const _0x3e0eab=_0x328272,_0x5e5e81=_0x569610[_0x3e0eab(0x2c5)](),_0x571cb9=await this[_0x3e0eab(0x5b8)](_0x5e5e81,ie[_0x3e0eab(0x60e)]);this[_0x3e0eab(0x3c8)][_0x3e0eab(0x36d)](_0x5e5e81,_0x571cb9);}),A[_0x328272(0x349)](this[_0x328272(0x228)][_0x328272(0x2f8)](a[_0x328272(0x2f2)][_0x328272(0x299)]),this[_0x328272(0x228)][_0x328272(0x2f8)](a[_0x328272(0x2f2)][_0x328272(0x60e)]))[_0x328272(0x5f2)](A[_0x328272(0x42d)](this[_0x328272(0x610)]))['subscribe'](_0x410714=>{const _0x40bcab=_0x328272,_0xb27c44=_0x410714['getUnitId'](),_0x2d21b3=this[_0x40bcab(0x3c8)][_0x40bcab(0x3b1)](_0xb27c44);_0x2d21b3&&(_0x2d21b3['dispose'](),this[_0x40bcab(0x3c8)][_0x40bcab(0x1c4)](_0xb27c44));});}async[_0x54516d(0x5b8)](_0x448108,_0x75289e){const _0x3cc375=_0x54516d,_0x265925=await this[_0x3cc375(0x3b9)]['requireSession'](_0x448108),_0x26e075=this['_injector'][_0x3cc375(0x5d2)](this['_getCtorByUniverType'](_0x75289e),_0x448108,_0x75289e,_0x265925);return await _0x26e075[_0x3cc375(0x4eb)](),this['_entityInit$'][_0x3cc375(0x4bd)](_0x26e075),_0x26e075;}[_0x54516d(0x48b)](_0x184792){const _0x54df5f=_0x54516d;switch(_0x184792){case ie[_0x54df5f(0x60e)]:return exports[_0x54df5f(0x31e)];case ie[_0x54df5f(0x299)]:return exports['SheetCollaborationEntity'];default:throw new Error(_0x54df5f(0x61d)+_0x184792);}}},exports['CollaborationController']=Vi([tt(0x0,a[_0x54516d(0x573)](a[_0x54516d(0x33a)])),tt(0x1,a[_0x54516d(0x573)](exports[_0x54516d(0x580)])),tt(0x2,a[_0x54516d(0x4e2)])],exports['CollaborationController']);const $t=[_0x54516d(0x30b),_0x54516d(0x38f),_0x54516d(0x567),'red300',_0x54516d(0x54e),_0x54516d(0x1a9)];class Ot extends a[_0x54516d(0x25e)]{constructor(){const _0x4cfdd3=_0x54516d;super(...arguments),I(this,_0x4cfdd3(0x480),new Map()),I(this,'_colorIndex',0x0);}['assignAColorForMemberID'](_0x51c7dc){const _0x506a67=_0x54516d;if(this[_0x506a67(0x480)][_0x506a67(0x468)](_0x51c7dc))return this[_0x506a67(0x480)]['get'](_0x51c7dc);const _0x495425=$t[this[_0x506a67(0x1de)]];return this[_0x506a67(0x1de)]=(this[_0x506a67(0x1de)]+0x1)%$t[_0x506a67(0x5e8)],this[_0x506a67(0x480)][_0x506a67(0x36d)](_0x51c7dc,_0x495425),_0x495425;}}var Gi=Object[_0x54516d(0x461)],Yi=Object[_0x54516d(0x363)],Ki=(_0xdaef18,_0x5f2df1,_0x1067b9,_0x524750)=>{for(var _0x121754=_0x524750>0x1?void 0x0:_0x524750?Yi(_0x5f2df1,_0x1067b9):_0x5f2df1,_0xf56ab3=_0xdaef18['length']-0x1,_0x1a3aa3;_0xf56ab3>=0x0;_0xf56ab3--)(_0x1a3aa3=_0xdaef18[_0xf56ab3])&&(_0x121754=(_0x524750?_0x1a3aa3(_0x5f2df1,_0x1067b9,_0x121754):_0x1a3aa3(_0x121754))||_0x121754);return _0x524750&&_0x121754&&Gi(_0x5f2df1,_0x1067b9,_0x121754),_0x121754;},Se=(_0x57afb5,_0x2d1625)=>(_0x191dd1,_0x15f775)=>_0x2d1625(_0x191dd1,_0x15f775,_0x57afb5);const qi=0x12c,zi=0x64;let mt=class extends a[_0x54516d(0x1d6)]{constructor(_0x513253,_0x430096,_0x525d05,_0x3788dc,_0x493b50,_0x3a91bf,_0x4c7418,_0x456e0c,_0x4add1b){const _0x3f20c8=_0x54516d;super(),I(this,_0x3f20c8(0x262),!0x1),I(this,'_init',!0x1),I(this,_0x3f20c8(0x3cb),new A['BehaviorSubject'](new Map())),I(this,_0x3f20c8(0x2a2),this[_0x3f20c8(0x3cb)][_0x3f20c8(0x1a1)]()),I(this,_0x3f20c8(0x254),new A[(_0x3f20c8(0x598))]([])),I(this,_0x3f20c8(0x41e),this[_0x3f20c8(0x254)][_0x3f20c8(0x5f2)](A[_0x3f20c8(0x2f0)](qi))),I(this,'_updateLocalCursor',a[_0x3f20c8(0x561)](_0x595955=>{const _0x3cf67f=_0x3f20c8,_0xd7f4ac={'eventID':S[_0x3cf67f(0x5de)][_0x3cf67f(0x485)],'data':{'unitID':this['unitID'],'memberID':this[_0x3cf67f(0x380)][_0x3cf67f(0x36c)](),'selection':dn(_0x595955)}};this[_0x3cf67f(0x380)][_0x3cf67f(0x43c)](_0xd7f4ac,this[_0x3cf67f(0x351)]);},zi)),(this[_0x3f20c8(0x351)]=_0x513253,this[_0x3f20c8(0x380)]=_0x430096,this[_0x3f20c8(0x47c)]=_0x525d05,this[_0x3f20c8(0x272)]=_0x3788dc,this['_memberService']=_0x493b50,this[_0x3f20c8(0x312)]=_0x3a91bf,this[_0x3f20c8(0x579)]=_0x4c7418,this[_0x3f20c8(0x228)]=_0x456e0c,this[_0x3f20c8(0x1ca)]=_0x4add1b);}get[_0x54516d(0x31f)](){const _0x3f8422=_0x54516d;return this['_cursorInfo$'][_0x3f8422(0x371)]();}get['roomMembers'](){const _0x57f1e8=_0x54516d;return this[_0x57f1e8(0x254)][_0x57f1e8(0x371)]();}[_0x54516d(0x417)](){const _0xdbd521=_0x54516d;super[_0xdbd521(0x417)](),this['_cursorInfo$'][_0xdbd521(0x4bd)](new Map()),this['_cursorInfo$'][_0xdbd521(0x28e)](),this[_0xdbd521(0x254)][_0xdbd521(0x4bd)]([]),this['_roomMembers$'][_0xdbd521(0x28e)]();}[_0x54516d(0x4eb)](){const _0x3ea275=_0x54516d;this[_0x3ea275(0x488)]||(this[_0x3ea275(0x488)]=!0x0,this[_0x3ea275(0x380)][_0x3ea275(0x415)][_0x3ea275(0x5f2)](A['takeUntil'](this[_0x3ea275(0x610)]))['subscribe'](_0x30c298=>{const _0x24151c=_0x3ea275;_0x30c298===se[_0x24151c(0x608)]?this[_0x24151c(0x45c)]():this['_toggleOffline']();}),this[_0x3ea275(0x380)]['event$'][_0x3ea275(0x5f2)](A[_0x3ea275(0x42d)](this[_0x3ea275(0x610)]))[_0x3ea275(0x4d6)](_0x38d638=>{const _0x284e52=_0x3ea275,_0x8a6406=_0x38d638[_0x284e52(0x4aa)];_0x8a6406===S[_0x284e52(0x5de)][_0x284e52(0x485)]&&this[_0x284e52(0x236)](_0x38d638),_0x8a6406===S[_0x284e52(0x5de)]['USERS_LEAVE']&&this[_0x284e52(0x519)](_0x38d638);}),this[_0x3ea275(0x55b)](this[_0x3ea275(0x1ca)][_0x3ea275(0x2aa)](_0x1cc80c=>{const _0x3c0328=_0x3ea275,_0x3c28c2=_0x1cc80c[_0x3c0328(0x601)];_0x3c28c2!=null&&this[_0x3c0328(0x262)]&&_0x1cc80c['id']===ye[_0x3c0328(0x50e)]['id']&&_0x3c28c2[_0x3c0328(0x427)]===this[_0x3c0328(0x351)]&&_0x3c28c2['isEditing']===!0x1&&_0x3c28c2['ranges'][_0x3c0328(0x5e8)]>0x0&&this[_0x3c0328(0x32e)](_0x3c28c2[_0x3c0328(0x416)]);})),this['_syncEditingCollabCursorService'][_0x3ea275(0x2ad)][_0x3ea275(0x5f2)](A['takeUntil'](this[_0x3ea275(0x610)]))[_0x3ea275(0x4d6)](_0x18e3a3=>{const _0x3627e5=_0x3ea275;if((_0x18e3a3==null?void 0x0:_0x18e3a3[_0x3627e5(0x351)])!==this['unitID'])return;const _0x2e70e9={'eventID':S[_0x3627e5(0x5de)][_0x3627e5(0x485)],'data':_0x18e3a3};this[_0x3627e5(0x236)](_0x2e70e9);}),this['disposeWithMe'](this[_0x3ea275(0x1ca)][_0x3ea275(0x2aa)](_0x5be290=>{const _0x37c3bb=_0x3ea275;if(_0x5be290[_0x37c3bb(0x601)]==null)return;const _0x9d2924=_0x5be290[_0x37c3bb(0x601)];if(_0x5be290['id']!==ye['RichTextEditingMutation']['id']||_0x9d2924['unitId']!==this[_0x37c3bb(0x351)])return;const _0x1fff02={'id':_0x37c3bb(0x47f),'params':_0x9d2924},_0x1aa83d=this[_0x37c3bb(0x31f)];for(const [_0x150a84,_0x5158e0]of _0x1aa83d){const _0x43f332={'id':_0x37c3bb(0x47f),'params':{'unitId':this[_0x37c3bb(0x351)],'actions':null,'textRanges':_0x5158e0[_0x37c3bb(0x416)]}},_0x411714=this[_0x37c3bb(0x579)][_0x37c3bb(0x4bb)](_0x1fff02,_0x43f332,!0x1);if(S[_0x37c3bb(0x311)](_0x411714))throw _0x411714[_0x37c3bb(0x29f)];_0x1aa83d[_0x37c3bb(0x36d)](_0x150a84,{..._0x5158e0,'ranges':_0x411714['m2Prime']['params'][_0x37c3bb(0x329)]});}queueMicrotask(()=>{const _0x3c4605=_0x37c3bb;this[_0x3c4605(0x3cb)][_0x3c4605(0x4bd)](_0x1aa83d);});})));}[_0x54516d(0x236)](_0x2c9844){const _0x4a71c5=_0x54516d;var _0xbca48b,_0x42cf74;const {memberID:_0x18e390,selection:_0x4e1b15}=_0x2c9844[_0x4a71c5(0x547)],_0xbc366e=Ui(_0x4e1b15),_0x1ab4a3=(_0x42cf74=(_0xbca48b=this['_memberService'][_0x4a71c5(0x2d0)](this[_0x4a71c5(0x351)],_0x18e390))==null?void 0x0:_0xbca48b[_0x4a71c5(0x5fa)])!=null?_0x42cf74:_0x4a71c5(0x1db),_0x2d7d49={'color':this[_0x4a71c5(0x272)]['assignAColorForMemberID'](_0x18e390),'name':_0x1ab4a3,'ranges':_0xbc366e},_0x47908a=this[_0x4a71c5(0x31f)];_0x47908a[_0x4a71c5(0x36d)](_0x18e390,_0x2d7d49),this['_cursorInfo$'][_0x4a71c5(0x4bd)](_0x47908a);}[_0x54516d(0x519)](_0x540b6f){const _0x5a6600=_0x54516d,{memberID:_0x16fdcb}=_0x540b6f[_0x5a6600(0x547)],_0x14c70d=this[_0x5a6600(0x31f)];_0x14c70d[_0x5a6600(0x1c4)](_0x16fdcb),this[_0x5a6600(0x3cb)][_0x5a6600(0x4bd)](_0x14c70d);}[_0x54516d(0x45c)](){const _0x1c2c9a=_0x54516d;var _0x2e484b;if(this[_0x1c2c9a(0x262)]=!0x0,((_0x2e484b=this[_0x1c2c9a(0x228)]['getFocusedUnit']())==null?void 0x0:_0x2e484b['getUnitId']())!==this[_0x1c2c9a(0x351)])return;const _0x32aeb8=this[_0x1c2c9a(0x47c)]['get'](ye[_0x1c2c9a(0x4d3)])[_0x1c2c9a(0x27e)]();Array[_0x1c2c9a(0x5a7)](_0x32aeb8)&&_0x32aeb8[_0x1c2c9a(0x5e8)]>0x0&&this[_0x1c2c9a(0x32e)](_0x32aeb8);}[_0x54516d(0x25d)](){const _0x22e3a4=_0x54516d;this[_0x22e3a4(0x262)]=!0x1;}};mt=Ki([Se(0x2,a[_0x54516d(0x573)](a[_0x54516d(0x33a)])),Se(0x3,a['Inject'](Ot)),Se(0x4,a[_0x54516d(0x573)](exports[_0x54516d(0x3a8)])),Se(0x5,a[_0x54516d(0x573)](Rt)),Se(0x6,S['ITransformService']),Se(0x7,a[_0x54516d(0x4e2)]),Se(0x8,a[_0x54516d(0x18a)])],mt);var Xi=Object['defineProperty'],Ji=Object['getOwnPropertyDescriptor'],Zi=(_0x289fe2,_0x4755f9,_0x2fc7d6,_0x1b1eb4)=>{const _0x377ee6=_0x54516d;for(var _0x467653=_0x1b1eb4>0x1?void 0x0:_0x1b1eb4?Ji(_0x4755f9,_0x2fc7d6):_0x4755f9,_0x1c6afb=_0x289fe2[_0x377ee6(0x5e8)]-0x1,_0x1e5ba5;_0x1c6afb>=0x0;_0x1c6afb--)(_0x1e5ba5=_0x289fe2[_0x1c6afb])&&(_0x467653=(_0x1b1eb4?_0x1e5ba5(_0x4755f9,_0x2fc7d6,_0x467653):_0x1e5ba5(_0x467653))||_0x467653);return _0x1b1eb4&&_0x467653&&Xi(_0x4755f9,_0x2fc7d6,_0x467653),_0x467653;},be=(_0x9c2cf0,_0x5a81f3)=>(_0x444d49,_0x345583)=>_0x5a81f3(_0x444d49,_0x345583,_0x9c2cf0);const Qi=0x12c,es=0x64,ts=()=>{let _0x19a3fc=[],_0x442926=!0x1;return _0x2b4171=>{const _0x5f1bbf=_0xe852;_0x19a3fc[_0x5f1bbf(0x26e)](_0x2b4171),_0x442926||(_0x442926=!0x0,setTimeout(()=>{const _0x18c94d=_0x5f1bbf;_0x19a3fc[_0x18c94d(0x1ba)](_0x27d158=>_0x27d158()),_0x19a3fc=[],_0x442926=!0x1;}));};};let St=class extends a['RxDisposable']{constructor(_0x2c8fb0,_0x140176,_0x42a45b,_0xa15b04,_0x5a0189,_0x57d4cf,_0x41d3e6,_0x518f62){const _0x454969=_0x54516d;super(),I(this,'_online',!0x1),I(this,'_init',!0x1),I(this,_0x454969(0x3cb),new A[(_0x454969(0x598))](new Map())),I(this,_0x454969(0x2a2),this[_0x454969(0x3cb)][_0x454969(0x1a1)]()),I(this,_0x454969(0x254),new A['BehaviorSubject']([])),I(this,_0x454969(0x41e),this[_0x454969(0x254)][_0x454969(0x5f2)](A[_0x454969(0x2f0)](Qi))),I(this,_0x454969(0x32e),a[_0x454969(0x561)]((_0x3db3df,_0x22b75d)=>{const _0x22f9e7=_0x454969,_0x5355a1={'eventID':S[_0x22f9e7(0x5de)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x22f9e7(0x351)],'memberID':this[_0x22f9e7(0x380)][_0x22f9e7(0x36c)](),'selection':Pt[_0x22f9e7(0x53c)](_0x3db3df,_0x22b75d['range'])}};this[_0x22f9e7(0x380)][_0x22f9e7(0x43c)](_0x5355a1,this['unitID']);},es)),(this[_0x454969(0x351)]=_0x2c8fb0,this['_session']=_0x140176,this[_0x454969(0x47c)]=_0x42a45b,this[_0x454969(0x272)]=_0xa15b04,this[_0x454969(0x543)]=_0x5a0189,this[_0x454969(0x228)]=_0x57d4cf,this[_0x454969(0x1ca)]=_0x41d3e6,this['_refRangeService']=_0x518f62);}get[_0x54516d(0x31f)](){const _0x220394=_0x54516d;return this[_0x220394(0x3cb)][_0x220394(0x371)]();}get['roomMembers'](){const _0x3edd4b=_0x54516d;return this[_0x3edd4b(0x254)]['getValue']();}['dispose'](){const _0x55e8c4=_0x54516d;super[_0x55e8c4(0x417)](),this[_0x55e8c4(0x3cb)][_0x55e8c4(0x4bd)](new Map()),this[_0x55e8c4(0x3cb)][_0x55e8c4(0x28e)](),this['_roomMembers$'][_0x55e8c4(0x4bd)]([]),this[_0x55e8c4(0x254)][_0x55e8c4(0x28e)]();}['init'](){const _0x55cdd4=_0x54516d;this[_0x55cdd4(0x488)]||(this[_0x55cdd4(0x488)]=!0x0,this[_0x55cdd4(0x380)][_0x55cdd4(0x415)][_0x55cdd4(0x5f2)](A[_0x55cdd4(0x42d)](this['dispose$']))[_0x55cdd4(0x4d6)](_0x205a98=>{const _0x7f4ff4=_0x55cdd4;_0x205a98===se[_0x7f4ff4(0x608)]?this[_0x7f4ff4(0x45c)]():this['_toggleOffline']();}),this['_session']['event$'][_0x55cdd4(0x5f2)](A[_0x55cdd4(0x42d)](this[_0x55cdd4(0x610)]))[_0x55cdd4(0x4d6)](_0x3f9698=>{const _0x62685f=_0x55cdd4,_0x1213a2=_0x3f9698[_0x62685f(0x4aa)];_0x1213a2===S[_0x62685f(0x5de)]['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x3f9698),_0x1213a2===S[_0x62685f(0x5de)][_0x62685f(0x58b)]&&this[_0x62685f(0x519)](_0x3f9698);}),this[_0x55cdd4(0x5d8)](),this[_0x55cdd4(0x55b)](this[_0x55cdd4(0x1ca)]['onCommandExecuted'](_0x3b295b=>{const _0x3b170c=_0x55cdd4;if(this[_0x3b170c(0x262)]&&_0x3b295b['id']===k[_0x3b170c(0x4b9)]['id']&&_0x3b295b[_0x3b170c(0x601)][_0x3b170c(0x427)]===this['unitID']){const _0x3819c3=_0x3b295b[_0x3b170c(0x601)];this[_0x3b170c(0x32e)](_0x3819c3['subUnitId'],_0x3819c3['selections'][0x0]);}})));}[_0x54516d(0x236)](_0x316cc1){const _0x205842=_0x54516d;var _0x935805,_0x30eec7;const {memberID:_0x28baee,selection:_0x2d5abc}=_0x316cc1[_0x205842(0x547)],{sheetName:_0x4c1c75,range:_0x220aa4}=Pt[_0x205842(0x539)](_0x2d5abc),_0x4c25b1={'name':(_0x30eec7=(_0x935805=this[_0x205842(0x543)][_0x205842(0x2d0)](this[_0x205842(0x351)],_0x28baee))==null?void 0x0:_0x935805[_0x205842(0x5fa)])!=null?_0x30eec7:'Unknown\x20user','range':this[_0x205842(0x1b7)](_0x4c1c75,_0x220aa4),'sheetID':_0x4c1c75,'color':this['_colorAssignService'][_0x205842(0x405)](_0x28baee),'selection':_0x2d5abc},_0x2b25a4=this[_0x205842(0x31f)];_0x2b25a4[_0x205842(0x36d)](_0x28baee,_0x4c25b1),this[_0x205842(0x3cb)][_0x205842(0x4bd)](_0x2b25a4);}['_onCursorDelete'](_0x42db7a){const _0x432233=_0x54516d,{memberID:_0xdf1643}=_0x42db7a['data'],_0x357f08=this[_0x432233(0x31f)];_0x357f08[_0x432233(0x1c4)](_0xdf1643),this[_0x432233(0x3cb)][_0x432233(0x4bd)](_0x357f08);}[_0x54516d(0x1b7)](_0x32c8ab,_0x4e97cf){const _0x5afaa5=_0x54516d;var _0xa4c14b,_0x491637;const _0x148b66=(_0x491637=(_0xa4c14b=this[_0x5afaa5(0x228)][_0x5afaa5(0x5c2)](this[_0x5afaa5(0x351)]))==null?void 0x0:_0xa4c14b[_0x5afaa5(0x28c)](_0x32c8ab))==null?void 0x0:_0x491637[_0x5afaa5(0x2c0)]();return(_0x148b66==null?void 0x0:_0x148b66[_0x5afaa5(0x4d1)](_0x1f2771=>a['Rectangle'][_0x5afaa5(0x2a7)](_0x1f2771,_0x4e97cf)))||_0x4e97cf;}[_0x54516d(0x5d8)](){const _0x7c0e14=_0x54516d,_0x1a8f58=new a[(_0x7c0e14(0x1b5))](),_0x2b09eb=ts(),_0x2a30f8=()=>{const _0x2ca5df=_0x7c0e14;_0x1a8f58[_0x2ca5df(0x417)]();const _0x4e78ee=(_0x381350,_0x46d688,_0x3653cc,_0x48bc41)=>{const _0x2b7a77=_0x2ca5df;let _0x2ea7d7=[];switch(_0x381350['id']){case k[_0x2b7a77(0x2f1)][_0x2b7a77(0x2e9)]:{_0x2ea7d7=k[_0x2b7a77(0x430)](_0x381350,_0x48bc41);break;}case k[_0x2b7a77(0x2f1)][_0x2b7a77(0x1f0)]:{_0x2ea7d7=k[_0x2b7a77(0x3f4)](_0x381350,_0x48bc41);break;}case k[_0x2b7a77(0x2f1)][_0x2b7a77(0x5c6)]:{_0x2ea7d7=k[_0x2b7a77(0x3c3)](_0x381350,_0x48bc41);break;}case k[_0x2b7a77(0x2f1)][_0x2b7a77(0x33d)]:{_0x2ea7d7=k[_0x2b7a77(0x604)](_0x381350,_0x48bc41);break;}case k['EffectRefRangId']['InsertRangeMoveRightCommandId']:{_0x2ea7d7=k['handleInsertRangeMoveRight'](_0x381350,_0x48bc41);break;}case k['EffectRefRangId'][_0x2b7a77(0x17f)]:{_0x2ea7d7=k['handleInsertRow'](_0x381350,_0x48bc41);break;}case k[_0x2b7a77(0x2f1)]['MoveRangeCommandId']:{_0x2ea7d7=k[_0x2b7a77(0x42e)](_0x381350,_0x48bc41);break;}case k['EffectRefRangId'][_0x2b7a77(0x319)]:{_0x2ea7d7=k[_0x2b7a77(0x548)](_0x381350,_0x48bc41);break;}case k[_0x2b7a77(0x2f1)][_0x2b7a77(0x410)]:{_0x2ea7d7=k[_0x2b7a77(0x2d6)](_0x381350,_0x48bc41);break;}}const _0x15c3e5=k['runRefRangeMutations'](_0x2ea7d7,_0x48bc41),_0x54bbad=this[_0x2b7a77(0x31f)][_0x2b7a77(0x3b1)](_0x46d688);if(_0x54bbad&&_0x15c3e5){const _0x3d0ca0={..._0x54bbad,'range':_0x15c3e5};this['cursorInfo']['set'](_0x46d688,_0x3d0ca0),_0x2b09eb(()=>{const _0x4b8f74=_0x2b7a77,_0x2257d6=this['_refRangeService']['registerRefRange'](_0x15c3e5,_0x54497f=>(_0x2257d6[_0x4b8f74(0x417)](),_0x4e78ee(_0x54497f,_0x46d688,_0x3653cc,_0x15c3e5)));_0x1a8f58[_0x4b8f74(0x2ba)](_0x2257d6);});}return{'redos':[],'undos':[]};};this['cursorInfo']['forEach']((_0x39d119,_0x99892c)=>{const _0x48211c=_0x2ca5df,{range:_0xbfdb2e,sheetID:_0x233c4c}=_0x39d119,_0x100aa7=this['_refRangeService']['registerRefRange'](_0xbfdb2e,_0x31a941=>(_0x100aa7[_0x48211c(0x417)](),_0x4e78ee(_0x31a941,_0x99892c,_0x233c4c,_0xbfdb2e)));_0x1a8f58[_0x48211c(0x2ba)](_0x100aa7);});};this[_0x7c0e14(0x55b)](a[_0x7c0e14(0x562)](this['_cursorInfo$'][_0x7c0e14(0x4d6)](()=>{_0x2a30f8();})));}[_0x54516d(0x45c)](){const _0xf4eda6=_0x54516d;var _0x54f790,_0x874c90;if(this[_0xf4eda6(0x262)]=!0x0,((_0x54f790=this[_0xf4eda6(0x228)][_0xf4eda6(0x310)]())==null?void 0x0:_0x54f790[_0xf4eda6(0x2c5)]())!==this['unitID'])return;const _0x3093f6=(_0x874c90=this[_0xf4eda6(0x47c)]['get'](k[_0xf4eda6(0x398)])[_0xf4eda6(0x5dc)]())==null?void 0x0:_0x874c90[0x0],_0x43f431=this[_0xf4eda6(0x228)]['getCurrentUnitForType'](a[_0xf4eda6(0x2f2)][_0xf4eda6(0x299)])['getActiveSheet']();_0x3093f6&&_0x43f431&&this[_0xf4eda6(0x32e)](_0x43f431[_0xf4eda6(0x297)](),_0x3093f6);}[_0x54516d(0x25d)](){const _0x5b54ee=_0x54516d;this[_0x5b54ee(0x262)]=!0x1;}};St=Zi([be(0x2,a[_0x54516d(0x573)](a[_0x54516d(0x33a)])),be(0x3,a[_0x54516d(0x573)](Ot)),be(0x4,a[_0x54516d(0x573)](exports['MemberService'])),be(0x5,a[_0x54516d(0x4e2)]),be(0x6,a['ICommandService']),be(0x7,a[_0x54516d(0x573)](k[_0x54516d(0x5b5)]))],St);var ns=Object[_0x54516d(0x461)],is=Object['getOwnPropertyDescriptor'],ss=(_0xadde73,_0x533abf,_0x26e62f,_0x4b2532)=>{const _0x59acd8=_0x54516d;for(var _0x2cab9e=_0x4b2532>0x1?void 0x0:_0x4b2532?is(_0x533abf,_0x26e62f):_0x533abf,_0x350267=_0xadde73[_0x59acd8(0x5e8)]-0x1,_0x5cf045;_0x350267>=0x0;_0x350267--)(_0x5cf045=_0xadde73[_0x350267])&&(_0x2cab9e=(_0x4b2532?_0x5cf045(_0x533abf,_0x26e62f,_0x2cab9e):_0x5cf045(_0x2cab9e))||_0x2cab9e);return _0x4b2532&&_0x2cab9e&&ns(_0x533abf,_0x26e62f,_0x2cab9e),_0x2cab9e;},nt=(_0xaa448b,_0x1ba141)=>(_0x5e2417,_0x5e151d)=>_0x1ba141(_0x5e2417,_0x5e151d,_0xaa448b);let De=class extends a['RxDisposable']{constructor(_0x528da2,_0xcee286,_0x47b2b7){const _0x1ae52d=_0x54516d;super(),I(this,_0x1ae52d(0x3c8),new Map()),I(this,_0x1ae52d(0x4e1),new A[(_0x1ae52d(0x465))]()),(this[_0x1ae52d(0x228)]=_0x528da2,this[_0x1ae52d(0x47c)]=_0xcee286,this[_0x1ae52d(0x3b9)]=_0x47b2b7,this[_0x1ae52d(0x488)]());}[_0x54516d(0x417)](){const _0x475e09=_0x54516d;super[_0x475e09(0x417)](),this['_entityInit$'][_0x475e09(0x28e)](),this['_entities']['forEach'](_0x5e6e01=>_0x5e6e01[_0x475e09(0x417)]());}[_0x54516d(0x2bf)](_0x24a7ec){const _0x3d9e8a=_0x54516d;return this[_0x3d9e8a(0x3c8)][_0x3d9e8a(0x468)](_0x24a7ec)?this[_0x3d9e8a(0x3c8)][_0x3d9e8a(0x3b1)](_0x24a7ec)['cursorInfo$']:this[_0x3d9e8a(0x4e1)]['pipe'](A[_0x3d9e8a(0x292)](_0x262e6b=>_0x262e6b['unitID']===_0x24a7ec),A['switchMap'](_0x5f5da4=>_0x5f5da4[_0x3d9e8a(0x2a2)]));}[_0x54516d(0x488)](){const _0x594168=_0x54516d;this['_univerInstanceService']['getTypeOfUnitAdded$'](a[_0x594168(0x2f2)][_0x594168(0x299)])['pipe'](A[_0x594168(0x42d)](this[_0x594168(0x610)]))[_0x594168(0x4d6)](async _0x4bb64f=>{const _0x2d4f91=_0x594168,_0x2166a1=_0x4bb64f[_0x2d4f91(0x2c5)](),_0x2ac9fb=await this['_startSheetCollabCursor'](_0x2166a1);this['_entityInit$']['next'](_0x2ac9fb),this[_0x2d4f91(0x3c8)][_0x2d4f91(0x36d)](_0x2166a1,_0x2ac9fb);}),this[_0x594168(0x228)][_0x594168(0x3f1)](a['UniverInstanceType'][_0x594168(0x60e)])[_0x594168(0x5f2)](A[_0x594168(0x42d)](this[_0x594168(0x610)]))[_0x594168(0x5f2)](A[_0x594168(0x292)](_0xab48be=>!_0xab48be[_0x594168(0x2c5)]()[_0x594168(0x209)]('__')))[_0x594168(0x4d6)](async _0x34b5d8=>{const _0x13f44a=_0x594168,_0x4e10de=_0x34b5d8[_0x13f44a(0x2c5)](),_0x56ce62=await this[_0x13f44a(0x2b9)](_0x4e10de);this[_0x13f44a(0x4e1)][_0x13f44a(0x4bd)](_0x56ce62),this[_0x13f44a(0x3c8)][_0x13f44a(0x36d)](_0x4e10de,_0x56ce62);}),A[_0x594168(0x349)](this[_0x594168(0x228)][_0x594168(0x2f8)](a[_0x594168(0x2f2)]['UNIVER_DOC']),this['_univerInstanceService']['getTypeOfUnitDisposed$'](a[_0x594168(0x2f2)][_0x594168(0x299)]))[_0x594168(0x5f2)](A[_0x594168(0x42d)](this['dispose$']))[_0x594168(0x4d6)](_0x3da0f3=>{const _0x329bc5=_0x594168,_0x4517cf=_0x3da0f3[_0x329bc5(0x2c5)](),_0x293dcf=this[_0x329bc5(0x3c8)][_0x329bc5(0x3b1)](_0x4517cf);_0x293dcf&&(_0x293dcf[_0x329bc5(0x417)](),this[_0x329bc5(0x3c8)][_0x329bc5(0x1c4)](_0x4517cf));});}async[_0x54516d(0x31c)](_0x8cb7eb){const _0x56fd61=_0x54516d,_0x472158=await this[_0x56fd61(0x3b9)][_0x56fd61(0x2fd)](_0x8cb7eb),_0x53dff5=this[_0x56fd61(0x47c)][_0x56fd61(0x5d2)](St,_0x8cb7eb,_0x472158);return _0x53dff5[_0x56fd61(0x4eb)](),_0x53dff5;}async[_0x54516d(0x2b9)](_0x4bb5c5){const _0x2a2d79=_0x54516d,_0x347ceb=await this[_0x2a2d79(0x3b9)][_0x2a2d79(0x2fd)](_0x4bb5c5),_0x4c3589=this[_0x2a2d79(0x47c)]['createInstance'](mt,_0x4bb5c5,_0x347ceb);return _0x4c3589['init'](),_0x4c3589;}};De=ss([nt(0x0,a[_0x54516d(0x4e2)]),nt(0x1,a[_0x54516d(0x573)](a['Injector'])),nt(0x2,a['Inject'](exports[_0x54516d(0x580)]))],De);const Le=0x14,Ht=0xc8,it=0x4,rs=0x5;function os(_0x28703e,_0x468761){const _0x5f5513=_0x54516d;let {radius:_0x58a427,width:_0x594c63,height:_0x22bbe6}=_0x468761;_0x58a427=_0x58a427!=null?_0x58a427:0x0,_0x594c63=_0x594c63!=null?_0x594c63:0x1e,_0x22bbe6=_0x22bbe6!=null?_0x22bbe6:0x1e;let _0x482829=0x0,_0x2ee1b9=0x0,_0x404e96=0x0;_0x482829=_0x2ee1b9=_0x404e96=Math['min'](_0x58a427,_0x594c63/0x2,_0x22bbe6/0x2),_0x28703e[_0x5f5513(0x60c)](),_0x28703e[_0x5f5513(0x37e)](_0x482829,0x0),_0x28703e[_0x5f5513(0x281)](_0x594c63-_0x2ee1b9,0x0),_0x28703e[_0x5f5513(0x1bf)](_0x594c63-_0x2ee1b9,_0x2ee1b9,_0x2ee1b9,Math['PI']*0x3/0x2,0x0,!0x1),_0x28703e[_0x5f5513(0x281)](_0x594c63,_0x22bbe6-_0x404e96),_0x28703e[_0x5f5513(0x1bf)](_0x594c63-_0x404e96,_0x22bbe6-_0x404e96,_0x404e96,0x0,Math['PI']/0x2,!0x1),_0x28703e['lineTo'](0x0,_0x22bbe6),_0x28703e[_0x5f5513(0x281)](0x0,_0x482829),_0x28703e[_0x5f5513(0x1bf)](_0x482829,_0x482829,_0x482829,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x28703e[_0x5f5513(0x44e)](),_0x468761[_0x5f5513(0x4c0)]&&(_0x28703e[_0x5f5513(0x38d)](),_0x28703e[_0x5f5513(0x518)]=_0x468761[_0x5f5513(0x4c0)],_0x468761['fillRule']==='evenodd'?_0x28703e[_0x5f5513(0x4c0)](_0x5f5513(0x4e4)):_0x28703e[_0x5f5513(0x4c0)](),_0x28703e['restore']());}class ze extends K['Shape']{constructor(_0x139c33,_0x2ef0b7){const _0x41b975=_0x54516d;super(_0x139c33,_0x2ef0b7),I(this,_0x41b975(0x3ec)),I(this,_0x41b975(0x53e)),(this['color']=_0x2ef0b7==null?void 0x0:_0x2ef0b7[_0x41b975(0x3ec)],this[_0x41b975(0x53e)]=_0x2ef0b7==null?void 0x0:_0x2ef0b7[_0x41b975(0x53e)]);}static[_0x54516d(0x37c)](_0x8554f,_0x118830){const _0x28efaf=_0x54516d,{text:_0x375862,color:_0x2f52b2}=_0x118830;_0x8554f[_0x28efaf(0x38d)](),_0x8554f[_0x28efaf(0x3f7)]=_0x28efaf(0x593);const _0x4765c7=_0x8554f['measureText'](_0x375862)[_0x28efaf(0x1ce)],_0x169b44=Math[_0x28efaf(0x34c)](_0x4765c7+0x2*it,Ht);os(_0x8554f,{'height':Le,'radius':0x4,'width':_0x169b44,'fill':_0x2f52b2,'evented':!0x1}),_0x8554f[_0x28efaf(0x518)]=_0x28efaf(0x474);const _0x400fc5=it,_0x117d95=Le-rs,_0xa9af1d=Ht-0x2*it;if(_0x4765c7>_0xa9af1d){let _0xf307e2='',_0x469a69=0x0;for(const _0x177b36 of _0x375862){const _0x157b99=_0x8554f['measureText'](_0x177b36)[_0x28efaf(0x1ce)];if(_0x469a69+_0x157b99<=_0xa9af1d-_0x8554f['measureText'](_0x28efaf(0x544))[_0x28efaf(0x1ce)])_0xf307e2+=_0x177b36,_0x469a69+=_0x157b99;else{_0xf307e2+=_0x28efaf(0x544);break;}}_0x8554f['fillText'](_0xf307e2,_0x400fc5,_0x117d95);}else _0x8554f[_0x28efaf(0x368)](_0x375862,_0x400fc5,_0x117d95);_0x8554f['restore']();}[_0x54516d(0x50d)](_0x202295){const _0x1a2975=_0x54516d;ze[_0x1a2975(0x37c)](_0x202295,this);}}const st=_0x54516d(0x382),as=_0x54516d(0x189),cs=_0x54516d(0x5d0),Ue=0x6,ls=1.5,rt=0x4,hs=1.5,_s=_0x54516d(0x54a);class Bt{constructor(_0xd762e4,_0x1e56ef,_0xeca645,_0x531475){const _0x79784f=_0x54516d;I(this,_0x79784f(0x313),[]),I(this,_0x79784f(0x611),null),I(this,_0x79784f(0x55e),null),I(this,_0x79784f(0x21f),null),I(this,_0x79784f(0x42c),null),I(this,_0x79784f(0x57d),null),(this[_0x79784f(0x196)]=_0xd762e4,this[_0x79784f(0x438)]=_0x1e56ef,this[_0x79784f(0x4d9)]=_0xeca645,this[_0x79784f(0x317)]=_0x531475,this[_0x79784f(0x47a)]());}set[_0x54516d(0x607)](_0x414183){const _0xf01249=_0x54516d;_0x414183?(this[_0xf01249(0x21f)]&&this['_anchorDot'][_0xf01249(0x2e6)](),this[_0xf01249(0x55e)]&&this[_0xf01249(0x55e)][_0xf01249(0x5e3)]()):(this['_anchorDot']&&this[_0xf01249(0x21f)]['show'](),this[_0xf01249(0x55e)]&&this[_0xf01249(0x55e)]['hide']());}[_0x54516d(0x417)](){const _0x34781f=_0x54516d;for(const _0x5603a0 of this[_0x34781f(0x313)])_0x5603a0[_0x34781f(0x417)]();this[_0x34781f(0x55e)]&&this['_textBubble']['dispose'](),this['_anchorDot']&&this['_anchorDot'][_0x34781f(0x417)](),this['_anchor']&&this['_anchor'][_0x34781f(0x417)](),this[_0x34781f(0x57d)]&&this[_0x34781f(0x57d)]();}[_0x54516d(0x47a)](){const _0x5dd2e0=_0x54516d;var _0x1cbc7f;const {_docSkeleton:_0x278c5a,_document:_0x4baff7}=this,{color:_0x3a6d07,name:_0x31155d,ranges:_0x13d86c}=this['_cursor'],_0x4c6955=_0x4baff7['getOffsetConfig'](),{docsLeft:_0x1fa31d,docsTop:_0x13a387}=_0x4c6955,_0x41e54f=new J['NodePositionConvertToCursor'](_0x4c6955,_0x278c5a);for(const {startOffset:_0x464ab0,endOffset:_0x442144,rangeType:_0x55432f,segmentId:_0x3a8a26,segmentPage:_0x998f45,collapsed:_0x48c504,isActive:_0x3704c2}of _0x13d86c){const _0x581c56=_0x278c5a['findNodePositionByCharIndex'](_0x464ab0,!0x0,_0x3a8a26,_0x998f45);let _0x56b2eb=_0x278c5a[_0x5dd2e0(0x4b4)](_0x442144,!0x0,_0x3a8a26,_0x998f45);if(_0x56b2eb==null&&(_0x56b2eb=_0x278c5a[_0x5dd2e0(0x4b4)](_0x442144-0x1,!0x1,_0x3a8a26,_0x998f45)),_0x3704c2){const {contentBoxPointGroup:_0xc7e77d}=_0x41e54f['getRangePointData'](_0x56b2eb,_0x56b2eb);if(_0xc7e77d[_0x5dd2e0(0x5e8)]===0x0)continue;this['_drawAnchor'](_0x3a6d07,_0xc7e77d,_0x1fa31d,_0x13a387,_0x31155d),this[_0x5dd2e0(0x57d)]=this[_0x5dd2e0(0x51a)]();}if(_0x581c56&&_0x56b2eb){if(_0x55432f===a[_0x5dd2e0(0x554)][_0x5dd2e0(0x231)]){const _0x53816c=new J[(_0x5dd2e0(0x3d8))](_0x4c6955,_0x278c5a),{pointGroup:_0x269b13}=(_0x1cbc7f=_0x53816c[_0x5dd2e0(0x5f1)](_0x581c56,_0x56b2eb))!=null?_0x1cbc7f:{};if(_0x269b13==null||_0x269b13[_0x5dd2e0(0x5e8)]===0x0)continue;this['_drawRectRange'](_0x3a6d07,_0x269b13,_0x1fa31d,_0x13a387);}else{if(!_0x48c504){const {borderBoxPointGroup:_0x51c9df}=_0x41e54f[_0x5dd2e0(0x5f1)](_0x581c56,_0x56b2eb);if(_0x51c9df[_0x5dd2e0(0x5e8)]===0x0)continue;this[_0x5dd2e0(0x2ca)](_0x3a6d07,_0x51c9df,_0x1fa31d,_0x13a387);}}}}}['_drawAnchor'](_0x3442e8,_0x45e3fe,_0x2e7cdf,_0x35bc5b,_0x8f8791){const _0x11a0b8=_0x54516d,_0x4a5c5e=this[_0x11a0b8(0x1da)](_0x45e3fe),{left:_0x4e1b68,top:_0x3f6a67,height:_0xc62e7e}=_0x4a5c5e,_0x53fef8=this[_0x11a0b8(0x4c2)](),_0x3136a4=hs/_0x53fef8,_0x2627f8=new K[(_0x11a0b8(0x226))](st+a[_0x11a0b8(0x3eb)][_0x11a0b8(0x3a3)](Ue),{'left':_0x4e1b68+_0x2e7cdf-_0x3136a4,'top':_0x3f6a67+_0x35bc5b,'height':_0xc62e7e,'width':ls,'fill':_0x3442e8||K['getColor'](a[_0x11a0b8(0x499)][_0x11a0b8(0x51f)],0x0),'strokeWidth':_0x3136a4,'stroke':_s,'evented':!0x0});this['_anchor']=_0x2627f8,this['_scene'][_0x11a0b8(0x286)](_0x2627f8,J[_0x11a0b8(0x22e)]);const _0x14fac2=new K[(_0x11a0b8(0x226))](st+a[_0x11a0b8(0x3eb)][_0x11a0b8(0x3a3)](Ue),{'left':_0x4e1b68+_0x2e7cdf-_0x3136a4,'top':_0x3f6a67+_0x35bc5b-rt/0x2,'height':rt,'width':rt,'fill':_0x3442e8||K[_0x11a0b8(0x52f)](a['COLORS']['black'],0x0),'strokeWidth':0x0,'stroke':_0x3442e8||K[_0x11a0b8(0x52f)](a[_0x11a0b8(0x499)][_0x11a0b8(0x51f)],0x0),'evented':!0x1});this[_0x11a0b8(0x21f)]=_0x14fac2,this[_0x11a0b8(0x438)][_0x11a0b8(0x286)](_0x14fac2,J['TEXT_RANGE_LAYER_INDEX']);const _0x4082e=new ze(st+a[_0x11a0b8(0x3eb)][_0x11a0b8(0x3a3)](Ue),{'left':_0x4e1b68+_0x2e7cdf-_0x3136a4,'top':_0x3f6a67+_0x35bc5b-Le,'text':_0x8f8791,'color':_0x3442e8});this['_textBubble']=_0x4082e,this[_0x11a0b8(0x438)][_0x11a0b8(0x286)](_0x4082e,J[_0x11a0b8(0x22e)]),this[_0x11a0b8(0x607)]=!0x1;}[_0x54516d(0x51a)](){const _0x231825=_0x54516d,_0x1ecfdb=this[_0x231825(0x611)][_0x231825(0x3f0)][_0x231825(0x1df)](()=>{const _0x34932d=_0x231825;this[_0x34932d(0x607)]=!0x0;}),_0x3b967c=this['_anchor'][_0x231825(0x1d8)]['subscribeEvent'](()=>{const _0x28f74e=_0x231825;this['_hideTimer']&&clearTimeout(this[_0x28f74e(0x42c)]),this[_0x28f74e(0x42c)]=setTimeout(()=>{const _0x1495a4=_0x28f74e;this[_0x1495a4(0x607)]=!0x1;},0x7d0);});return()=>{const _0x41b202=_0x231825;_0x1ecfdb['unsubscribe'](),_0x3b967c[_0x41b202(0x1bb)]();};}[_0x54516d(0x2ca)](_0x432629,_0x5696d0,_0x485365,_0x50f163){const _0x45ec2e=_0x54516d,_0x9afd9b=new a[(_0x45ec2e(0x58c))](_0x432629)[_0x45ec2e(0x23e)](0.2)[_0x45ec2e(0x346)](),_0x4070f3=new K['RegularPolygon'](as+a[_0x45ec2e(0x3eb)]['generateRandomId'](Ue),{'pointsGroup':_0x5696d0,'fill':_0x9afd9b||K[_0x45ec2e(0x52f)](a[_0x45ec2e(0x499)][_0x45ec2e(0x51f)],0.2),'left':_0x485365,'top':_0x50f163,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x45ec2e(0x313)][_0x45ec2e(0x26e)](_0x4070f3),this[_0x45ec2e(0x438)]['addObject'](_0x4070f3,J['TEXT_RANGE_LAYER_INDEX']);}[_0x54516d(0x176)](_0x37058a,_0x4a79a0,_0x217bff,_0x2fa564){const _0x4ef792=_0x54516d,_0x2cc01d=new a[(_0x4ef792(0x58c))](_0x37058a)[_0x4ef792(0x23e)](0.2)[_0x4ef792(0x346)](),_0x4ce4ed=new K[(_0x4ef792(0x18d))](cs+a[_0x4ef792(0x3eb)]['generateRandomId'](Ue),{'pointsGroup':_0x4a79a0,'fill':_0x2cc01d||K[_0x4ef792(0x52f)](a['COLORS'][_0x4ef792(0x51f)],0.2),'left':_0x217bff,'top':_0x2fa564,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4ef792(0x313)][_0x4ef792(0x26e)](_0x4ce4ed),this[_0x4ef792(0x438)][_0x4ef792(0x286)](_0x4ce4ed,J[_0x4ef792(0x22e)]);}[_0x54516d(0x1da)](_0x421391){const _0x34df19=_0x421391[0x0],_0x17f5f3=_0x34df19[0x0],_0x1fb9f3=_0x34df19[0x2],{x:_0x321f5a,y:_0x5629d7}=_0x17f5f3,{x:_0xc6436b,y:_0x28fadb}=_0x1fb9f3;return{'left':_0x321f5a,'top':_0x5629d7,'width':_0xc6436b-_0x321f5a,'height':_0x28fadb-_0x5629d7};}['_getScale'](){const _0x2841b6=_0x54516d,{scaleX:_0x7de9cd,scaleY:_0x354aed}=this[_0x2841b6(0x438)][_0x2841b6(0x39b)]();return Math[_0x2841b6(0x4b0)](_0x7de9cd,_0x354aed);}}var us=Object[_0x54516d(0x461)],ds=Object[_0x54516d(0x363)],fs=(_0x5de389,_0x20ce8e,_0x2734ba,_0x1d8526)=>{const _0x2e3094=_0x54516d;for(var _0x5db2c8=_0x1d8526>0x1?void 0x0:_0x1d8526?ds(_0x20ce8e,_0x2734ba):_0x20ce8e,_0xfeb60a=_0x5de389[_0x2e3094(0x5e8)]-0x1,_0x3a221f;_0xfeb60a>=0x0;_0xfeb60a--)(_0x3a221f=_0x5de389[_0xfeb60a])&&(_0x5db2c8=(_0x1d8526?_0x3a221f(_0x20ce8e,_0x2734ba,_0x5db2c8):_0x3a221f(_0x5db2c8))||_0x5db2c8);return _0x1d8526&&_0x5db2c8&&us(_0x20ce8e,_0x2734ba,_0x5db2c8),_0x5db2c8;},je=(_0x204d5f,_0x317efd)=>(_0x16d0b3,_0x1da4d3)=>_0x317efd(_0x16d0b3,_0x1da4d3,_0x204d5f);let pt=class extends a[_0x54516d(0x1d6)]{constructor(_0xf9b8d6,_0x1cb2af,_0x28f6eb,_0x2b5fd6,_0x293190){const _0x4c72b9=_0x54516d;super(),I(this,_0x4c72b9(0x390),[]),I(this,_0x4c72b9(0x288),[]),(this[_0x4c72b9(0x29e)]=_0xf9b8d6,this['_docSkeletonManagerService']=_0x1cb2af,this[_0x4c72b9(0x3d3)]=_0x28f6eb,this[_0x4c72b9(0x1ca)]=_0x2b5fd6,this[_0x4c72b9(0x3d6)]=_0x293190,this['_init']());}[_0x54516d(0x488)](){const _0x467f72=_0x54516d,_0x553e88=this[_0x467f72(0x29e)][_0x467f72(0x427)],_0x200875=this[_0x467f72(0x5e1)];this['disposeWithMe'](A[_0x467f72(0x2b7)]([this[_0x467f72(0x3d3)][_0x467f72(0x2bf)](_0x553e88),this[_0x467f72(0x3d6)][_0x467f72(0x3dc)]])[_0x467f72(0x5f2)](V['map'](([_0x361cfd,_0x597f92])=>({'skeleton':_0x200875['getSkeleton'](),'cursors':[..._0x361cfd[_0x467f72(0x221)]()][_0x467f72(0x197)](_0x28e072=>({..._0x28e072,'color':_0x597f92[_0x28e072[_0x467f72(0x3ec)]]}))})))[_0x467f72(0x4d6)](_0x1d346c=>{const _0x46e5d4=_0x467f72;if(this[_0x46e5d4(0x1ad)](),_0x1d346c){const {skeleton:_0x408a04,cursors:_0x50d4c5}=_0x1d346c;this[_0x46e5d4(0x5b2)](_0x408a04,_0x50d4c5);}})),this['_initResize'](),this[_0x467f72(0x305)]();}['_updateCollabCursors'](_0x40678a,_0x3cd4b9){const _0xa732a3=_0x54516d,{scene:_0xecca91,mainComponent:_0x1f48df}=this[_0xa732a3(0x29e)],_0x4bfb98=_0x3cd4b9[_0xa732a3(0x2c2)](_0x59e446=>new Bt(_0x59e446,_0xecca91,_0x40678a,_0x1f48df));this[_0xa732a3(0x390)]=_0x4bfb98,this[_0xa732a3(0x288)]=_0x3cd4b9;}['_refreshCollabCursors'](){const _0x38b046=_0x54516d;this[_0x38b046(0x1ad)]();const {scene:_0x427fdc,mainComponent:_0x447f2b}=this[_0x38b046(0x29e)],_0x41a0c3=this[_0x38b046(0x5e1)][_0x38b046(0x536)](),_0x4c281b=this[_0x38b046(0x288)][_0x38b046(0x2c2)](_0x4c2de5=>new Bt(_0x4c2de5,_0x427fdc,_0x41a0c3,_0x447f2b));this[_0x38b046(0x390)]=_0x4c281b;}[_0x54516d(0x1ad)](){const _0x50b3a4=_0x54516d;this['_cursorShapes'][_0x50b3a4(0x1ba)](_0x41e463=>_0x41e463[_0x50b3a4(0x417)]()),this[_0x50b3a4(0x390)]=[];}[_0x54516d(0x305)](){const _0xb71f36=_0x54516d,_0x5633b3=[J[_0xb71f36(0x333)]['id']];this[_0xb71f36(0x55b)](this[_0xb71f36(0x1ca)]['onCommandExecuted'](_0x285c56=>{const _0x216fc2=_0xb71f36;_0x5633b3[_0x216fc2(0x2b1)](_0x285c56['id'])&&_0x285c56['params'][_0x216fc2(0x427)]===this[_0x216fc2(0x29e)][_0x216fc2(0x427)]&&this['_refreshCollabCursors']();}));}[_0x54516d(0x39f)](){const _0x16b6da=_0x54516d;this[_0x16b6da(0x55b)](a[_0x16b6da(0x5ea)](this[_0x16b6da(0x29e)][_0x16b6da(0x199)][_0x16b6da(0x532)])['pipe'](V[_0x16b6da(0x292)](_0x40d22f=>_0x40d22f[_0x16b6da(0x242)]===K[_0x16b6da(0x257)][_0x16b6da(0x1d9)]),V[_0x16b6da(0x60a)](0x10))['subscribe'](()=>{this['_refreshCollabCursors']();}));}};pt=fs([je(0x1,a['Inject'](ye['DocSkeletonManagerService'])),je(0x2,a['Inject'](De)),je(0x3,a[_0x54516d(0x18a)]),je(0x4,a[_0x54516d(0x573)](a[_0x54516d(0x2a6)]))],pt);const vs=0x1,ms=1.5;class Sn extends K['Shape']{constructor(_0x1a2333,_0x9cfebd){const _0x4ec097=_0x54516d;super(_0x1a2333,_0x9cfebd),I(this,_0x4ec097(0x450)),I(this,_0x4ec097(0x1b3),!0x1),I(this,_0x4ec097(0x53a)),I(this,_0x4ec097(0x37d),''),I(this,_0x4ec097(0x358),'top'),I(this,_0x4ec097(0x4c7)),(_0x9cfebd&&this[_0x4ec097(0x577)](_0x9cfebd),this[_0x4ec097(0x3f0)][_0x4ec097(0x1df)](()=>this[_0x4ec097(0x577)]({'hovered':!0x0})),this['onPointerLeave$'][_0x4ec097(0x1df)](()=>this[_0x4ec097(0x577)]({'hovered':!0x1})));}[_0x54516d(0x577)](_0x2a0242){const _0x17e478=_0x54516d;var _0x33a694,_0x4e071f,_0x416495,_0x2d07cc,_0x48b0d4,_0x2bc94e;this[_0x17e478(0x450)]=(_0x33a694=_0x2a0242[_0x17e478(0x3ec)])!=null?_0x33a694:this[_0x17e478(0x450)],this[_0x17e478(0x1b3)]=(_0x4e071f=_0x2a0242[_0x17e478(0x19f)])!=null?_0x4e071f:this[_0x17e478(0x1b3)],this[_0x17e478(0x53a)]=(_0x416495=_0x2a0242[_0x17e478(0x4ea)])!=null?_0x416495:this['_range'],this[_0x17e478(0x37d)]=(_0x2d07cc=_0x2a0242[_0x17e478(0x5fa)])!=null?_0x2d07cc:this[_0x17e478(0x37d)],this[_0x17e478(0x358)]=(_0x48b0d4=_0x2a0242[_0x17e478(0x3a4)])!=null?_0x48b0d4:this[_0x17e478(0x358)],this['_backgroundColor']=(_0x2bc94e=_0x2a0242[_0x17e478(0x22d)])!=null?_0x2bc94e:this[_0x17e478(0x4c7)],this[_0x17e478(0x187)]({'width':_0x2a0242[_0x17e478(0x1ce)],'height':_0x2a0242['height']});}[_0x54516d(0x5c3)](_0x37af2d){const _0x41f0ae=_0x54516d,{row:_0x454cdd,column:_0xcf3e9b}=_0x37af2d;if(_0x454cdd>=this[_0x41f0ae(0x53a)][_0x41f0ae(0x42a)]&&_0x454cdd<=this[_0x41f0ae(0x53a)][_0x41f0ae(0x38b)]&&_0xcf3e9b>=this[_0x41f0ae(0x53a)]['startColumn']&&_0xcf3e9b<=this['_range']['endColumn']){this['setShapeProps']({'hovered':!0x0});return;}this[_0x41f0ae(0x577)]({'hovered':!0x1});}[_0x54516d(0x53f)](_0x552f32){return!0x1;}[_0x54516d(0x50d)](_0x272d80){const _0xec8253=_0x54516d;K[_0xec8253(0x226)]['drawWith'](_0x272d80,{'width':this[_0xec8253(0x1ce)],'height':this['height'],'strokeWidth':ms,'stroke':this[_0xec8253(0x450)],'evented':!0x1,'fill':this[_0xec8253(0x4c7)]}),this[_0xec8253(0x1b3)]&&(_0x272d80[_0xec8253(0x38d)](),_0x272d80[_0xec8253(0x45b)](0x1,0x0,0x0,0x1,this[_0xec8253(0x1ce)],this[_0xec8253(0x358)]===_0xec8253(0x366)?0x0:-Le),ze['drawWith'](_0x272d80,{'text':this[_0xec8253(0x37d)],'color':this['_color']}),_0x272d80[_0xec8253(0x251)]());}}var Ss=Object[_0x54516d(0x461)],ps=Object[_0x54516d(0x363)],gs=(_0x2cba24,_0xf01034,_0x376c66,_0xd6f6ae)=>{const _0x46aff1=_0x54516d;for(var _0x2cf097=_0xd6f6ae>0x1?void 0x0:_0xd6f6ae?ps(_0xf01034,_0x376c66):_0xf01034,_0x3cdd72=_0x2cba24[_0x46aff1(0x5e8)]-0x1,_0x2354c7;_0x3cdd72>=0x0;_0x3cdd72--)(_0x2354c7=_0x2cba24[_0x3cdd72])&&(_0x2cf097=(_0xd6f6ae?_0x2354c7(_0xf01034,_0x376c66,_0x2cf097):_0x2354c7(_0x2cf097))||_0x2cf097);return _0xd6f6ae&&_0x2cf097&&Ss(_0xf01034,_0x376c66,_0x2cf097),_0x2cf097;},ot=(_0x498fae,_0x1c4eb3)=>(_0x67ae05,_0x1c7637)=>_0x1c4eb3(_0x67ae05,_0x1c7637,_0x498fae);const Is=0x1389;let gt=class extends a[_0x54516d(0x1d6)]{constructor(_0x26dc96,_0x4cd01c,_0x522790,_0x4e4179){const _0x2eb4d1=_0x54516d;super(),I(this,'_cursors',new Set()),I(this,'_lastPointer',null),(this[_0x2eb4d1(0x29e)]=_0x26dc96,this[_0x2eb4d1(0x335)]=_0x4cd01c,this['_collabCursorController']=_0x522790,this['_themeService']=_0x4e4179,this[_0x2eb4d1(0x488)]());}[_0x54516d(0x488)](){const _0xbbad85=_0x54516d;this['_sheetSkeletonManagerService']['currentSkeleton$'][_0xbbad85(0x5f2)](V[_0xbbad85(0x42d)](this['dispose$']),V[_0xbbad85(0x4cb)](_0x40b76b=>{const _0x358493=_0xbbad85;if(_0x40b76b){const _0x4a07a1=_0x40b76b[_0x358493(0x279)];return A[_0x358493(0x2b7)](this['_collabCursorController'][_0x358493(0x2bf)](this[_0x358493(0x29e)]['unitId']),this[_0x358493(0x3d6)][_0x358493(0x3dc)])[_0x358493(0x5f2)](V[_0x358493(0x2c2)](([_0x51a068,_0x14aeab])=>{const _0x365e03=new Map();return _0x51a068['forEach']((_0x884550,_0x31e67c)=>{const _0x49cf31=_0xe852;if(_0x884550[_0x49cf31(0x531)]===_0x4a07a1){const _0x4b50e8={..._0x884550};_0x4b50e8[_0x49cf31(0x3ec)]=_0x14aeab[_0x884550['color']],_0x365e03[_0x49cf31(0x36d)](_0x31e67c,_0x4b50e8);}}),{'skeleton':_0x40b76b,'cursors':_0x365e03};}));}return A['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x14fbca,cursors:_0x48f907})=>{const _0x145cd0=_0xbbad85;this[_0x145cd0(0x1ad)](),_0x14fbca&&this[_0x145cd0(0x5b2)](_0x14fbca,_0x48f907);}),this[_0xbbad85(0x335)]['currentSkeleton$'][_0xbbad85(0x4d6)](_0x215326=>{const _0xeb7cfc=_0xbbad85;if(_0x215326==null)return;const {skeleton:_0x350f79}=_0x215326,{scene:_0xb1afb0}=this[_0xeb7cfc(0x29e)];_0xb1afb0[_0xeb7cfc(0x337)]['subscribeEvent'](a[_0xeb7cfc(0x561)](_0x26eb5e=>{const _0x4defef=_0xeb7cfc;var _0x570d3e,_0x2c2551;const {offsetX:_0x48c948,offsetY:_0xb862f8}=_0x26eb5e,{x:_0x47d380,y:_0x4511cc}=_0xb1afb0[_0x4defef(0x1ff)](K[_0x4defef(0x2ea)]['FromArray']([_0x48c948,_0xb862f8])),{scaleX:_0x1a319a,scaleY:_0x5459cf}=_0xb1afb0[_0x4defef(0x39b)](),_0x33d3f3=_0xb1afb0[_0x4defef(0x3c4)](Re['VIEWPORT_KEY'][_0x4defef(0x2f5)]),_0x45903f=_0xb1afb0[_0x4defef(0x46f)](K[_0x4defef(0x2ea)][_0x4defef(0x619)]([_0x47d380,_0x4511cc]),_0x33d3f3),_0x3d9ec0=_0x350f79['getCellPositionByOffset'](_0x48c948,_0xb862f8,_0x1a319a,_0x5459cf,_0x45903f);((_0x570d3e=this[_0x4defef(0x309)])==null?void 0x0:_0x570d3e['column'])===_0x3d9ec0['column']&&((_0x2c2551=this['_lastPointer'])==null?void 0x0:_0x2c2551[_0x4defef(0x1c0)])===_0x3d9ec0[_0x4defef(0x1c0)]||this[_0x4defef(0x288)][_0x4defef(0x1ba)](_0x42946c=>{_0x42946c['onMouseMove'](_0x3d9ec0);});},0x64));});}[_0x54516d(0x5b2)](_0x4e3be1,_0xebc5bd){const _0x218f75=_0x54516d;var _0x27aa65;const _0x519eb0=(_0x27aa65=this['_sheetSkeletonManagerService']['getCurrent']())==null?void 0x0:_0x27aa65['skeleton'];if(!_0x519eb0)return;const _0x144d8a=this[_0x218f75(0x1c3)]();if(!_0x144d8a)return;this[_0x218f75(0x288)][_0x218f75(0x1ba)](_0x55fef4=>{const _0xe4f490=_0x218f75;_0x55fef4[_0xe4f490(0x3c0)]();});const {scene:_0x57585b}=_0x144d8a,_0xdab169=Cs(Array[_0x218f75(0x36a)](_0xebc5bd[_0x218f75(0x221)]()))['map'](_0x17db6a=>{const _0x3af30c=_0x218f75,{color:_0x48c043,range:_0x47df26,name:_0xfdd70e,selection:_0x2c20a5,sheetID:_0xa59d96}=_0x17db6a,{startColumn:_0x59d07e,startRow:_0x3fa526,endColumn:_0x5138a0,endRow:_0x24db5f}=_0x47df26,_0x1c9d2f=Re[_0x3af30c(0x5db)](_0x3fa526,_0x59d07e,_0x57585b,_0x519eb0),_0xedf7=Re[_0x3af30c(0x5db)](_0x24db5f,_0x5138a0,_0x57585b,_0x519eb0),{columnHeaderHeightAndMarginTop:_0x28a81e}=_0x519eb0,{startX:_0x5a99ae,startY:_0x4b5e52}=_0x1c9d2f,{endX:_0x685aa9,endY:_0x379ccd}=_0xedf7,_0x4451c8=_0x685aa9-_0x5a99ae,_0x3f3b95=_0x379ccd-_0x4b5e52,_0x15964e={'labelPosition':_0x4b5e52-_0x28a81e>=Le?_0x3af30c(0x617):'bottom','sheetID':_0xa59d96,'range':_0x47df26,'color':_0x48c043,'name':_0xfdd70e,'selection':_0x2c20a5,'left':_0x5a99ae,'top':_0x4b5e52,'width':_0x4451c8,'height':_0x3f3b95,'evented':!0x1,'zIndex':Is};return new Sn(_0xfdd70e,_0x15964e);});_0x57585b[_0x218f75(0x2c9)](_0xdab169,vs),this[_0x218f75(0x288)]=new Set(_0xdab169);}[_0x54516d(0x1ad)](){const _0x8fc49=_0x54516d;var _0x1560b9;(_0x1560b9=this[_0x8fc49(0x288)])==null||_0x1560b9[_0x8fc49(0x1ba)](_0x584e34=>_0x584e34[_0x8fc49(0x417)]());}[_0x54516d(0x1c3)](){const _0x31c479=_0x54516d;return Re['getSheetObject'](this['_context'][_0x31c479(0x592)],this[_0x31c479(0x29e)]);}};gt=gs([ot(0x1,a[_0x54516d(0x573)](Re['SheetSkeletonManagerService'])),ot(0x2,a['Inject'](De)),ot(0x3,a[_0x54516d(0x573)](a[_0x54516d(0x2a6)]))],gt);function Cs(_0x302767){const _0xac174=_0x54516d,_0x309db9=new Map();return _0x302767[_0xac174(0x1ba)](_0x13baa5=>{const _0x1e17f2=_0xac174;if(_0x309db9[_0x1e17f2(0x468)](_0x13baa5['selection'])){const _0x5e4079=_0x309db9[_0x1e17f2(0x3b1)](_0x13baa5['selection']);_0x5e4079['name']+=',\x20'+_0x13baa5[_0x1e17f2(0x5fa)];}else _0x309db9[_0x1e17f2(0x36d)](_0x13baa5[_0x1e17f2(0x3fa)],_0x13baa5);}),Array['from'](_0x309db9[_0xac174(0x221)]());}var X=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function xe(_0x4d9acf){const _0x354d35=_0x54516d;return _0x4d9acf&&_0x4d9acf['__esModule']&&Object[_0x354d35(0x494)]['hasOwnProperty'][_0x354d35(0x2a5)](_0x4d9acf,_0x354d35(0x32f))?_0x4d9acf['default']:_0x4d9acf;}var pn={'exports':{}},Xe={},Es=ae,bs=Symbol[_0x54516d(0x20c)](_0x54516d(0x1c1)),Ts=Symbol[_0x54516d(0x20c)](_0x54516d(0x57a)),Rs=Object[_0x54516d(0x494)][_0x54516d(0x284)],ys=Es['__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED'][_0x54516d(0x38c)],Os={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function gn(_0x367286,_0x45b9c6,_0x387725){const _0x796a3a=_0x54516d;var _0x23f08b,_0x5927a8={},_0x2891b6=null,_0x58ee9a=null;_0x387725!==void 0x0&&(_0x2891b6=''+_0x387725),_0x45b9c6[_0x796a3a(0x5f3)]!==void 0x0&&(_0x2891b6=''+_0x45b9c6[_0x796a3a(0x5f3)]),_0x45b9c6[_0x796a3a(0x511)]!==void 0x0&&(_0x58ee9a=_0x45b9c6[_0x796a3a(0x511)]);for(_0x23f08b in _0x45b9c6)Rs[_0x796a3a(0x2a5)](_0x45b9c6,_0x23f08b)&&!Os[_0x796a3a(0x284)](_0x23f08b)&&(_0x5927a8[_0x23f08b]=_0x45b9c6[_0x23f08b]);if(_0x367286&&_0x367286[_0x796a3a(0x21c)]){for(_0x23f08b in(_0x45b9c6=_0x367286['defaultProps'],_0x45b9c6))_0x5927a8[_0x23f08b]===void 0x0&&(_0x5927a8[_0x23f08b]=_0x45b9c6[_0x23f08b]);}return{'$$typeof':bs,'type':_0x367286,'key':_0x2891b6,'ref':_0x58ee9a,'props':_0x5927a8,'_owner':ys[_0x796a3a(0x513)]};}Xe['Fragment']=Ts,Xe[_0x54516d(0x605)]=gn,Xe[_0x54516d(0x1a8)]=gn,pn[_0x54516d(0x359)]=Xe;var pe=pn[_0x54516d(0x359)],Q=function(){const _0x1e073c=_0x54516d;return Q=Object[_0x1e073c(0x3f2)]||function(_0x17342e){const _0x1a03f2=_0x1e073c;for(var _0x59664c,_0x28042e=0x1,_0x2f2524=arguments[_0x1a03f2(0x5e8)];_0x28042e<_0x2f2524;_0x28042e++){_0x59664c=arguments[_0x28042e];for(var _0x5c2043 in _0x59664c)Object['prototype'][_0x1a03f2(0x284)]['call'](_0x59664c,_0x5c2043)&&(_0x17342e[_0x5c2043]=_0x59664c[_0x5c2043]);}return _0x17342e;},Q[_0x1e073c(0x613)](this,arguments);},Ds=function(_0x601f02,_0x511b18){const _0x1830c6=_0x54516d;var _0x51d77e={};for(var _0x58c98b in _0x601f02)Object[_0x1830c6(0x494)][_0x1830c6(0x284)][_0x1830c6(0x2a5)](_0x601f02,_0x58c98b)&&_0x511b18['indexOf'](_0x58c98b)<0x0&&(_0x51d77e[_0x58c98b]=_0x601f02[_0x58c98b]);if(_0x601f02!=null&&typeof Object[_0x1830c6(0x4c5)]==_0x1830c6(0x30c)){for(var _0x5560e7=0x0,_0x58c98b=Object['getOwnPropertySymbols'](_0x601f02);_0x5560e7<_0x58c98b['length'];_0x5560e7++)_0x511b18[_0x1830c6(0x31d)](_0x58c98b[_0x5560e7])<0x0&&Object[_0x1830c6(0x494)][_0x1830c6(0x411)][_0x1830c6(0x2a5)](_0x601f02,_0x58c98b[_0x5560e7])&&(_0x51d77e[_0x58c98b[_0x5560e7]]=_0x601f02[_0x58c98b[_0x5560e7]]);}return _0x51d77e;},Dt=ae[_0x54516d(0x278)](function(_0x3ba03a,_0x2b10d3){const _0x21d7c9=_0x54516d;var _0xe72f65=_0x3ba03a['icon'],_0x5b1ee3=_0x3ba03a['id'],_0x3c69e8=_0x3ba03a[_0x21d7c9(0x1c2)],_0x5759e4=_0x3ba03a[_0x21d7c9(0x16e)],_0x39f68c=Ds(_0x3ba03a,[_0x21d7c9(0x469),'id','className',_0x21d7c9(0x16e)]),_0x473929=_0x21d7c9(0x4fc)['concat'](_0x5b1ee3,'\x20')[_0x21d7c9(0x213)](_0x3c69e8||'')[_0x21d7c9(0x268)](),_0x1e86fd=ae[_0x21d7c9(0x17b)]('_'[_0x21d7c9(0x213)](Us()));return In(_0xe72f65,''[_0x21d7c9(0x213)](_0x5b1ee3),{'defIds':_0xe72f65['defIds'],'idSuffix':_0x1e86fd[_0x21d7c9(0x513)]},Q({'ref':_0x2b10d3,'className':_0x473929},_0x39f68c),_0x5759e4);});function In(_0x57cf76,_0x58e03b,_0x573c70,_0x444f9e,_0x28e98d){const _0x3e12d0=_0x54516d;return ae[_0x3e12d0(0x454)](_0x57cf76[_0x3e12d0(0x45f)],Q(Q({'key':_0x58e03b},ws(_0x57cf76,_0x573c70,_0x28e98d)),_0x444f9e),(Ps(_0x57cf76,_0x573c70)[_0x3e12d0(0x542)]||[])[_0x3e12d0(0x2c2)](function(_0x3fe37a,_0x246960){const _0x192fd7=_0x3e12d0;return In(_0x3fe37a,''[_0x192fd7(0x213)](_0x58e03b,'-')[_0x192fd7(0x213)](_0x57cf76[_0x192fd7(0x45f)],'-')[_0x192fd7(0x213)](_0x246960),_0x573c70,void 0x0,_0x28e98d);}));}function ws(_0x3134d4,_0x525536,_0x512b48){const _0x386f04=_0x54516d;var _0x2ac400=Q({},_0x3134d4[_0x386f04(0x484)]);_0x512b48!=null&&_0x512b48['colorChannel1']&&_0x2ac400[_0x386f04(0x4c0)]===_0x386f04(0x584)&&(_0x2ac400['fill']=_0x512b48[_0x386f04(0x584)]);var _0x1a48c2=_0x525536[_0x386f04(0x29a)];return!_0x1a48c2||_0x1a48c2['length']===0x0||(_0x3134d4[_0x386f04(0x45f)]===_0x386f04(0x217)&&_0x2ac400[_0x386f04(0x49c)]&&(_0x2ac400['xlink:href']=_0x2ac400[_0x386f04(0x49c)]+_0x525536[_0x386f04(0x3b4)]),Object[_0x386f04(0x57e)](_0x2ac400)[_0x386f04(0x1ba)](function(_0x4e76fe){const _0x9d8bee=_0x386f04;var _0x1349e4=_0x4e76fe[0x0],_0x4ee927=_0x4e76fe[0x1];typeof _0x4ee927==_0x9d8bee(0x3aa)&&(_0x2ac400[_0x1349e4]=_0x4ee927['replace'](/url\(#(.*)\)/,_0x9d8bee(0x508)['concat'](_0x525536[_0x9d8bee(0x3b4)],')')));})),_0x2ac400;}function Ps(_0x4b60f1,_0x447b7a){const _0xcbe9ec=_0x54516d;var _0x2ff522,_0x4bef31=_0x447b7a[_0xcbe9ec(0x29a)];return!_0x4bef31||_0x4bef31['length']===0x0?_0x4b60f1:_0x4b60f1[_0xcbe9ec(0x45f)]===_0xcbe9ec(0x5f5)&&(!((_0x2ff522=_0x4b60f1[_0xcbe9ec(0x542)])===null||_0x2ff522===void 0x0)&&_0x2ff522[_0xcbe9ec(0x5e8)])?Q(Q({},_0x4b60f1),{'children':_0x4b60f1[_0xcbe9ec(0x542)][_0xcbe9ec(0x2c2)](function(_0x42de2e){const _0x19493c=_0xcbe9ec;return typeof _0x42de2e[_0x19493c(0x484)]['id']==_0x19493c(0x3aa)&&_0x4bef31&&_0x4bef31['indexOf'](_0x42de2e[_0x19493c(0x484)]['id'])>-0x1?Q(Q({},_0x42de2e),{'attrs':Q(Q({},_0x42de2e[_0x19493c(0x484)]),{'id':_0x42de2e[_0x19493c(0x484)]['id']+_0x447b7a['idSuffix']})}):_0x42de2e;})}):_0x4b60f1;}function Us(){const _0x3feb25=_0x54516d;return Math[_0x3feb25(0x35c)]()[_0x3feb25(0x481)](0x24)[_0x3feb25(0x283)](0x2,0x8);}Dt[_0x54516d(0x41a)]=_0x54516d(0x553);var Ms={'tag':'svg','attrs':{'fill':_0x54516d(0x5ed),'viewBox':_0x54516d(0x37b),'width':'1em','height':_0x54516d(0x28f)},'children':[{'tag':'g','attrs':{'clipPath':_0x54516d(0x59b)},'children':[{'tag':_0x54516d(0x545),'attrs':{'stroke':'currentColor','d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':'round','strokeLinejoin':_0x54516d(0x174),'strokeWidth':1.2}}]},{'tag':_0x54516d(0x5f5),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x54516d(0x18f)},'children':[{'tag':'path','attrs':{'fill':_0x54516d(0x41c),'d':_0x54516d(0x198)}}]}]}],'defIds':['off-line-single_clip0_910_343']},Cn=ae['forwardRef'](function(_0x3c637a,_0x547617){const _0x5cc9de=_0x54516d;return ae[_0x5cc9de(0x454)](Dt,Object[_0x5cc9de(0x3f2)]({},_0x3c637a,{'id':_0x5cc9de(0x45e),'ref':_0x547617,'icon':Ms}));});Cn[_0x54516d(0x41a)]=_0x54516d(0x190);var As={'tag':'svg','attrs':{'fill':'none','viewBox':_0x54516d(0x303),'width':'1em','height':_0x54516d(0x28f)},'children':[{'tag':'g','attrs':{'clipPath':_0x54516d(0x367)},'children':[{'tag':_0x54516d(0x545),'attrs':{'stroke':_0x54516d(0x492),'d':_0x54516d(0x298),'strokeLinecap':_0x54516d(0x174),'strokeLinejoin':_0x54516d(0x174),'strokeWidth':1.2}}]},{'tag':_0x54516d(0x5f5),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x54516d(0x3b7)},'children':[{'tag':_0x54516d(0x545),'attrs':{'fill':_0x54516d(0x41c),'d':_0x54516d(0x198),'transform':_0x54516d(0x5a9)}}]}]}],'defIds':[_0x54516d(0x3b7)]},En=ae[_0x54516d(0x278)](function(_0x3a84eb,_0x458237){const _0x1de0b7=_0x54516d;return ae[_0x1de0b7(0x454)](Dt,Object[_0x1de0b7(0x3f2)]({},_0x3a84eb,{'id':'on-line-single','ref':_0x458237,'icon':As}));});En['displayName']='OnLineSingle';function bn(_0x12038e){const _0x2ab97d=_0x54516d;var _0x439a2f,_0x258dde,_0x19691a='';if(typeof _0x12038e=='string'||typeof _0x12038e==_0x2ab97d(0x23a))_0x19691a+=_0x12038e;else{if(typeof _0x12038e==_0x2ab97d(0x5cb)){if(Array[_0x2ab97d(0x5a7)](_0x12038e)){var _0x3f520b=_0x12038e[_0x2ab97d(0x5e8)];for(_0x439a2f=0x0;_0x439a2f<_0x3f520b;_0x439a2f++)_0x12038e[_0x439a2f]&&(_0x258dde=bn(_0x12038e[_0x439a2f]))&&(_0x19691a&&(_0x19691a+='\x20'),_0x19691a+=_0x258dde);}else{for(_0x258dde in _0x12038e)_0x12038e[_0x258dde]&&(_0x19691a&&(_0x19691a+='\x20'),_0x19691a+=_0x258dde);}}}return _0x19691a;}function Ns(){for(var _0x3bbdc7,_0xb08e44,_0x56f2ee=0x0,_0x2f97b0='',_0x2d9a87=arguments['length'];_0x56f2ee<_0x2d9a87;_0x56f2ee++)(_0x3bbdc7=arguments[_0x56f2ee])&&(_0xb08e44=bn(_0x3bbdc7))&&(_0x2f97b0&&(_0x2f97b0+='\x20'),_0x2f97b0+=_0xb08e44);return _0x2f97b0;}const Ls=_0x54516d(0x55a),xs=_0x54516d(0x1b4),js='univer-online-status',$s=_0x54516d(0x61a),Hs=_0x54516d(0x59d),Me={'onlineStatusIcon':Ls,'onlineStatusTitle':xs,'onlineStatus':js,'online':$s,'offline':Hs};function Bs(_0x4be1c4){const _0x45c793=_0x54516d;switch(_0x4be1c4){case q['OFFLINE']:return'collabStatus.offline';case q[_0x45c793(0x467)]:return _0x45c793(0x49a);case q[_0x45c793(0x5fc)]:return'collabStatus.fetchMiss';case q[_0x45c793(0x40f)]:return _0x45c793(0x344);case q['AWAITING']:case q[_0x45c793(0x396)]:return _0x45c793(0x59c);case q[_0x45c793(0x1fd)]:case q[_0x45c793(0x1e4)]:return _0x45c793(0x50b);}}function Tn(_0x301411){const _0x948c3e=_0x54516d,{status$:_0x3ce823}=_0x301411,_0x1ba9ba=ee['useObservable'](_0x3ce823,q[_0x948c3e(0x40f)]),_0x1ff21d=a[_0x948c3e(0x389)](a[_0x948c3e(0x2a1)]),_0x21c487=a['useDependency'](exports[_0x948c3e(0x580)]),_0x5b7e16=_0x1ba9ba!==q['OFFLINE'],_0x82373=_0x1ff21d['t'](Bs(_0x1ba9ba)),_0x2977b2=Ns(Me[_0x948c3e(0x20e)],{[Me['online']]:_0x5b7e16,[Me[_0x948c3e(0x444)]]:!_0x5b7e16}),_0x21f3ca=_0x5b7e16?pe['jsx'](En,{}):pe[_0x948c3e(0x605)](Cn,{}),_0x4ff62b=ae[_0x948c3e(0x404)](()=>{_0x5b7e16||_0x21c487['reconnect']();},[_0x5b7e16,_0x21c487]);function _0x9d8522(){const _0x11375f=_0x948c3e;return pe['jsxs'](_0x11375f(0x58f),{'className':_0x2977b2,'onClick':_0x4ff62b,'children':[pe[_0x11375f(0x605)](_0x11375f(0x58f),{'className':Me[_0x11375f(0x3f9)],'children':_0x21f3ca}),pe[_0x11375f(0x605)](_0x11375f(0x58f),{'className':Me[_0x11375f(0x233)],'children':_0x82373})]});}return _0x5b7e16?_0x9d8522():pe[_0x948c3e(0x605)](ge[_0x948c3e(0x39a)],{'title':_0x1ff21d['t'](_0x948c3e(0x345)),'children':_0x9d8522()});}var ks=Object[_0x54516d(0x461)],Ws=Object[_0x54516d(0x363)],Fs=(_0x7eebd3,_0x360920,_0xd335b1,_0x1b2d3a)=>{const _0x1f8c0a=_0x54516d;for(var _0x53a541=_0x1b2d3a>0x1?void 0x0:_0x1b2d3a?Ws(_0x360920,_0xd335b1):_0x360920,_0x2f2fa7=_0x7eebd3[_0x1f8c0a(0x5e8)]-0x1,_0x16a25e;_0x2f2fa7>=0x0;_0x2f2fa7--)(_0x16a25e=_0x7eebd3[_0x2f2fa7])&&(_0x53a541=(_0x1b2d3a?_0x16a25e(_0x360920,_0xd335b1,_0x53a541):_0x16a25e(_0x53a541))||_0x53a541);return _0x1b2d3a&&_0x53a541&&ks(_0x360920,_0xd335b1,_0x53a541),_0x53a541;},$e=(_0x1ee9d0,_0x11714d)=>(_0x50b8b2,_0x3bbf8e)=>_0x11714d(_0x50b8b2,_0x3bbf8e,_0x1ee9d0);exports[_0x54516d(0x36e)]=class extends a['Disposable']{constructor(_0x539195,_0x24afe9,_0x4d2ef3,_0x5fcb47){const _0x205423=_0x54516d;super(),I(this,_0x205423(0x59e),new A[(_0x205423(0x598))](q['NOT_COLLAB'])),(this[_0x205423(0x228)]=_0x539195,this[_0x205423(0x5a2)]=_0x24afe9,this[_0x205423(0x47c)]=_0x4d2ef3,this[_0x205423(0x1ea)]=_0x5fcb47,this[_0x205423(0x2dd)](),this[_0x205423(0x45d)]());}[_0x54516d(0x45d)](){const _0x20136f=_0x54516d;this[_0x20136f(0x55b)](this[_0x20136f(0x228)][_0x20136f(0x3e0)][_0x20136f(0x5f2)](A[_0x20136f(0x4cb)](()=>{const _0x2af8dd=_0x20136f,_0x513a4c=this[_0x2af8dd(0x228)][_0x2af8dd(0x310)]();return _0x513a4c?this[_0x2af8dd(0x1ea)][_0x2af8dd(0x5df)](_0x513a4c[_0x2af8dd(0x2c5)]()):A['of'](null);}),A[_0x20136f(0x4cb)](_0x41a305=>_0x41a305?_0x41a305[_0x20136f(0x4d4)]:A['of'](q['NOT_COLLAB'])))['subscribe'](_0x5a249d=>{const _0x467af1=_0x20136f;this[_0x467af1(0x59e)][_0x467af1(0x4bd)](_0x5a249d);}));}[_0x54516d(0x2dd)](){const _0x343991=_0x54516d;this['disposeWithMe'](this[_0x343991(0x5a2)][_0x343991(0x4f5)](ee[_0x343991(0x43e)][_0x343991(0x489)],()=>a[_0x343991(0x52e)](Vs({'status$':this['_status$']['asObservable']()}),this[_0x343991(0x47c)])));}},exports[_0x54516d(0x36e)]=Fs([$e(0x0,a[_0x54516d(0x4e2)]),$e(0x1,ee[_0x54516d(0x4ad)]),$e(0x2,a[_0x54516d(0x573)](a[_0x54516d(0x33a)])),$e(0x3,a[_0x54516d(0x573)](exports[_0x54516d(0x19c)]))],exports[_0x54516d(0x36e)]);function Vs(_0x15006d){const {status$:_0x15d776}=_0x15006d;return function(){const _0x53e895=_0xe852;return pe[_0x53e895(0x605)](Tn,{'status$':_0x15d776});};}const wt=a[_0x54516d(0x528)](_0x54516d(0x600));var Gs=Object['defineProperty'],Ys=Object['getOwnPropertyDescriptor'],Ks=(_0x42f7c2,_0x177eae,_0x51d7de,_0xeb6936)=>{const _0x400c87=_0x54516d;for(var _0x2085c2=_0xeb6936>0x1?void 0x0:_0xeb6936?Ys(_0x177eae,_0x51d7de):_0x177eae,_0x464582=_0x42f7c2[_0x400c87(0x5e8)]-0x1,_0x5da3df;_0x464582>=0x0;_0x464582--)(_0x5da3df=_0x42f7c2[_0x464582])&&(_0x2085c2=(_0xeb6936?_0x5da3df(_0x177eae,_0x51d7de,_0x2085c2):_0x5da3df(_0x2085c2))||_0x2085c2);return _0xeb6936&&_0x2085c2&&Gs(_0x177eae,_0x51d7de,_0x2085c2),_0x2085c2;},Te=(_0x314ccb,_0x4bc22d)=>(_0x2153eb,_0x266f88)=>_0x4bc22d(_0x2153eb,_0x266f88,_0x314ccb);exports[_0x54516d(0x54d)]=class extends a['RxDisposable']{constructor(_0x42a0db,_0x3a16d4,_0x2dfc0e,_0x9a42eb,_0x3c7016,_0xba6036){const _0x1ec22d=_0x54516d;super(),this['_urlService']=_0x42a0db,this['_logService']=_0x3a16d4,this['_commandService']=_0x2dfc0e,this['_localCacheService']=_0x9a42eb,this[_0x1ec22d(0x61c)]=_0x3c7016,_0xba6036?_0xba6036==null||_0xba6036[_0x1ec22d(0x3ea)]()[_0x1ec22d(0x182)](()=>this['_init']()):(this[_0x1ec22d(0x241)][_0x1ec22d(0x583)]('[DataLoaderController]',_0x1ec22d(0x29b)),this[_0x1ec22d(0x488)]());}async[_0x54516d(0x488)](){const _0x20b82e=_0x54516d,_0x3307ba=this[_0x20b82e(0x27d)][_0x20b82e(0x479)](_0x20b82e(0x592)),_0x10655d=this[_0x20b82e(0x27d)][_0x20b82e(0x479)](_0x20b82e(0x242));if(!_0x3307ba||!_0x10655d){this['_logService'][_0x20b82e(0x583)](_0x20b82e(0x433),_0x20b82e(0x591));return;}switch(Number(_0x10655d)){case ie[_0x20b82e(0x299)]:{const _0x3f9eeb=await this['_loadSheet'](_0x3307ba);this['_setupSubUnitSync'](_0x3f9eeb);break;}case ie[_0x20b82e(0x60e)]:{await this['_loadDoc'](_0x3307ba);break;}default:{this[_0x20b82e(0x241)][_0x20b82e(0x29f)](_0x20b82e(0x433),_0x20b82e(0x188));break;}}}async['_setupSubUnitSync'](_0x143831){const _0x1a470f=_0x54516d;await this[_0x1a470f(0x2de)](_0x143831),_0x143831['activeSheet$'][_0x1a470f(0x5f2)](A[_0x1a470f(0x42d)](this[_0x1a470f(0x610)]))[_0x1a470f(0x4d6)](_0x306a6f=>{const _0x1f7769=_0x1a470f;_0x306a6f&&this[_0x1f7769(0x193)](_0x306a6f);}),this[_0x1a470f(0x27d)]['urlChange$'][_0x1a470f(0x5f2)](A['takeUntil'](this[_0x1a470f(0x610)]))[_0x1a470f(0x4d6)](()=>this['_updateSubUnitFromURLParams'](_0x143831));}[_0x54516d(0x193)](_0x2373c3,_0x232146=!0x1){const _0x45a736=_0x54516d,_0x4eccdd=this['_urlService']['getParam'](_0x45a736(0x2c6));_0x2373c3[_0x45a736(0x297)]()!==_0x4eccdd&&this[_0x45a736(0x27d)][_0x45a736(0x17e)](_0x45a736(0x2c6),_0x2373c3[_0x45a736(0x297)](),_0x232146);}async[_0x54516d(0x2de)](_0x261d98){const _0x1ea7fc=_0x54516d;var _0x338a59;const _0x4c0939=this['_urlService']['getParam'](_0x1ea7fc(0x2c6));if(!_0x4c0939||!_0x261d98['getSheetBySheetId'](_0x4c0939)){const _0x1b3305=_0x261d98[_0x1ea7fc(0x1f2)]()[0x0],_0x2b8442=_0x261d98['getSheetBySheetId'](_0x1b3305);if(!_0x2b8442)return;this[_0x1ea7fc(0x193)](_0x2b8442,!0x0),await this[_0x1ea7fc(0x1ca)][_0x1ea7fc(0x498)](k[_0x1ea7fc(0x3e4)]['id'],{'unitId':_0x261d98['getUnitId'](),'subUnitId':_0x1b3305});return;}((_0x338a59=_0x261d98['getActiveSheet']())==null?void 0x0:_0x338a59[_0x1ea7fc(0x297)]())!==_0x4c0939&&await this[_0x1ea7fc(0x1ca)]['executeCommand'](k[_0x1ea7fc(0x3e4)]['id'],{'unitId':_0x261d98[_0x1ea7fc(0x2c5)](),'subUnitId':_0x4c0939});}async[_0x54516d(0x52a)](_0x555adb){const _0x1b9606=_0x54516d;let _0x396f42=0x0;const _0x4c4d6c=await this[_0x1b9606(0x3bf)]['loadOfflineData'](_0x555adb);return _0x4c4d6c&&(_0x4c4d6c[_0x1b9606(0x3fb)]||_0x4c4d6c[_0x1b9606(0x1f3)][_0x1b9606(0x5e8)]!==0x0)&&(_0x396f42=_0x4c4d6c[_0x1b9606(0x537)]),_0x396f42===0x0&&this[_0x1b9606(0x241)][_0x1b9606(0x583)]('[DataLoaderController]',_0x1b9606(0x1bd)),this[_0x1b9606(0x61c)][_0x1b9606(0x448)](_0x555adb,_0x396f42);}async[_0x54516d(0x2b2)](_0x5ebf18){const _0x36a8ee=_0x54516d;let _0x321f69=0x0;const _0x66454d=await this[_0x36a8ee(0x3bf)][_0x36a8ee(0x456)](_0x5ebf18);return _0x66454d&&(_0x66454d[_0x36a8ee(0x3fb)]||_0x66454d['mutations'][_0x36a8ee(0x5e8)]!==0x0)&&(_0x321f69=_0x66454d[_0x36a8ee(0x537)]),_0x321f69===0x0&&this['_logService'][_0x36a8ee(0x583)](_0x36a8ee(0x433),_0x36a8ee(0x1bd)),this[_0x36a8ee(0x61c)][_0x36a8ee(0x4ec)](_0x5ebf18,_0x321f69);}},exports[_0x54516d(0x54d)]=Ks([Te(0x0,wt),Te(0x1,a[_0x54516d(0x4ee)]),Te(0x2,a[_0x54516d(0x18a)]),Te(0x3,a[_0x54516d(0x573)](exports[_0x54516d(0x5ef)])),Te(0x4,a[_0x54516d(0x573)](S[_0x54516d(0x58a)])),Te(0x5,a[_0x54516d(0x1ee)]($n[_0x54516d(0x376)]))],exports[_0x54516d(0x54d)]);var qs=Object[_0x54516d(0x461)],zs=Object['getOwnPropertyDescriptor'],Xs=(_0x2bf266,_0x3d40ec,_0x1586ba,_0x5e5c8d)=>{for(var _0x510c58=_0x5e5c8d>0x1?void 0x0:_0x5e5c8d?zs(_0x3d40ec,_0x1586ba):_0x3d40ec,_0x1cd646=_0x2bf266['length']-0x1,_0x2260b9;_0x1cd646>=0x0;_0x1cd646--)(_0x2260b9=_0x2bf266[_0x1cd646])&&(_0x510c58=(_0x5e5c8d?_0x2260b9(_0x3d40ec,_0x1586ba,_0x510c58):_0x2260b9(_0x510c58))||_0x510c58);return _0x5e5c8d&&_0x510c58&&qs(_0x3d40ec,_0x1586ba,_0x510c58),_0x510c58;},kt=(_0x409db7,_0x2be391)=>(_0x5d6a14,_0x5dae6d)=>_0x2be391(_0x5d6a14,_0x5dae6d,_0x409db7);const Js=_0x54516d(0x589),Zs=_0x54516d(0x1be);let Ve=class extends a[_0x54516d(0x25e)]{constructor(_0x17f91d,_0x2600ae){const _0x2c72fe=_0x54516d;super(),this['_univerInstanceService']=_0x17f91d,this[_0x2c72fe(0x2a3)]=_0x2600ae,this[_0x2c72fe(0x488)]();}[_0x54516d(0x488)](){const _0x5743df=_0x54516d;this[_0x5743df(0x55b)](this[_0x5743df(0x228)][_0x5743df(0x3e0)][_0x5743df(0x4d6)](()=>{const _0x41e7fe=_0x5743df;var _0x560582;const _0x2505fc=this[_0x41e7fe(0x228)][_0x41e7fe(0x310)]();let _0x3dac0e=(_0x560582=this[_0x41e7fe(0x2a3)][_0x41e7fe(0x21d)](Js))!=null?_0x560582:Zs;_0x2505fc instanceof a['Workbook']&&(_0x3dac0e=_0x2505fc[_0x41e7fe(0x5fa)]),document['title']=_0x3dac0e;}));}};Ve=Xs([kt(0x0,a[_0x54516d(0x4e2)]),kt(0x1,a[_0x54516d(0x208)])],Ve);var Qs=Object[_0x54516d(0x461)],er=Object[_0x54516d(0x363)],tr=(_0x464a8a,_0x24aafb,_0x98ff10,_0x52233d)=>{const _0x51d578=_0x54516d;for(var _0x18515d=_0x52233d>0x1?void 0x0:_0x52233d?er(_0x24aafb,_0x98ff10):_0x24aafb,_0x5570a6=_0x464a8a[_0x51d578(0x5e8)]-0x1,_0xaa2793;_0x5570a6>=0x0;_0x5570a6--)(_0xaa2793=_0x464a8a[_0x5570a6])&&(_0x18515d=(_0x52233d?_0xaa2793(_0x24aafb,_0x98ff10,_0x18515d):_0xaa2793(_0x18515d))||_0x18515d);return _0x52233d&&_0x18515d&&Qs(_0x24aafb,_0x98ff10,_0x18515d),_0x18515d;},at=(_0x5c7500,_0x5b8929)=>(_0x2049f4,_0x8876f7)=>_0x5b8929(_0x2049f4,_0x8876f7,_0x5c7500);let Ge=class{constructor(_0x5c5f61,_0x3ad6ca,_0x1f59b4){const _0xe5bb51=_0x54516d;this[_0xe5bb51(0x2a3)]=_0x5c5f61,this['_httpService']=_0x3ad6ca,this[_0xe5bb51(0x28a)]=_0x1f59b4,this[_0xe5bb51(0x4eb)]();}[_0x54516d(0x4eb)](){const _0x5e478b=_0x54516d;this[_0x5e478b(0x248)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x50f8ee,_0x3d9e21)=>_0x3d9e21(_0x50f8ee)[_0x5e478b(0x5f2)](A[_0x5e478b(0x1dd)](async _0x102854=>{const _0xa0eff1=_0x5e478b,_0x543075=_0x102854;if(_0x543075[_0xa0eff1(0x2d5)]===0x191&&window[_0xa0eff1(0x388)](this[_0xa0eff1(0x28a)]['t']('auth.needGotoLoginAlert'))){const _0x57a672=window[_0xa0eff1(0x1f5)](window[_0xa0eff1(0x2da)][_0xa0eff1(0x56d)]);window['location'][_0xa0eff1(0x56d)]=this['_getLoginPath']()+_0xa0eff1(0x530)+_0x57a672;}return _0x543075;}))});}[_0x54516d(0x48a)](){const _0x5707ad=_0x54516d;var _0x48512f,_0x5965ae;const _0x4e3b30=this['_configService'][_0x5707ad(0x21d)](an),_0x3e59dd=this['_configService'][_0x5707ad(0x21d)](te);return(_0x5965ae=(_0x48512f=_0x3e59dd==null?void 0x0:_0x3e59dd[_0x5707ad(0x350)])!=null?_0x48512f:_0x4e3b30)!=null?_0x5965ae:qn;}};Ge=tr([at(0x0,a[_0x54516d(0x208)]),at(0x1,a['Inject'](Z['HTTPService'])),at(0x2,a[_0x54516d(0x573)](a[_0x54516d(0x2a1)]))],Ge);var nr=Object[_0x54516d(0x461)],ir=Object[_0x54516d(0x363)],sr=(_0x59583b,_0x54eb0a,_0x350008,_0x22e960)=>{const _0x974e1e=_0x54516d;for(var _0x12c614=_0x22e960>0x1?void 0x0:_0x22e960?ir(_0x54eb0a,_0x350008):_0x54eb0a,_0x4e4298=_0x59583b[_0x974e1e(0x5e8)]-0x1,_0x1de40d;_0x4e4298>=0x0;_0x4e4298--)(_0x1de40d=_0x59583b[_0x4e4298])&&(_0x12c614=(_0x22e960?_0x1de40d(_0x54eb0a,_0x350008,_0x12c614):_0x1de40d(_0x12c614))||_0x12c614);return _0x22e960&&_0x12c614&&nr(_0x54eb0a,_0x350008,_0x12c614),_0x12c614;},Wt=(_0x23a611,_0x3a59c4)=>(_0x5433ab,_0x47eb1d)=>_0x3a59c4(_0x5433ab,_0x47eb1d,_0x23a611);const Rn=_0x54516d(0x4dc),rr=_0x54516d(0x423);exports[_0x54516d(0x33f)]=class extends a[_0x54516d(0x25e)]{constructor(_0x4f6eac,_0x4fc12c){const _0x32c8b2=_0x54516d;super(),this[_0x32c8b2(0x41f)]=_0x4f6eac,this[_0x32c8b2(0x2a3)]=_0x4fc12c,this['_initMergeInterceptor']();}['_initMergeInterceptor'](){const _0xf974e1=_0x54516d,_0x319640=this;this[_0xf974e1(0x55b)](this['_HTTPService'][_0xf974e1(0x220)]({'priority':0x3e7,'interceptor':Z['MergeInterceptorFactory']({'isMatch'(_0xb7c66d){const _0x5c13a6=_0xf974e1;var _0x571202;if(_0xb7c66d[_0x5c13a6(0x3b5)]===_0x5c13a6(0x4d0)&&((_0x571202=_0xb7c66d[_0x5c13a6(0x5cd)])!=null&&_0x571202[_0x5c13a6(0x4ba)])){const {objectID:_0x4070e9,objectType:_0x543ca3}=_0xb7c66d['requestParams'][_0x5c13a6(0x4ba)]||{};if(!_0x4070e9||_0x543ca3===void 0x0)return!0x1;const _0x10ad9b=_0x319640[_0x5c13a6(0x4c8)]()+'/'+_0x543ca3+'/object/'+_0x4070e9+_0x5c13a6(0x35e);if(_0xb7c66d[_0x5c13a6(0x3bc)]===_0x10ad9b)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x265774){const _0x423303=_0xf974e1;var _0x3f9574;return(_0x3f9574=_0x265774[_0x423303(0x5cd)])==null?void 0x0:_0x3f9574['body'];},'mergeParamsToRequest'(_0x5a4a87,_0x405ea4){const _0x2f61ec=_0xf974e1,_0x5b5d41=_0x319640[_0x2f61ec(0x4c8)]()+_0x2f61ec(0x273),_0x257cbd=_0x5a4a87['reduce']((_0x206f4c,_0x39f0f4)=>{const _0x205c55=_0x2f61ec,{unitID:_0x24d718,objectID:_0x46fa84,objectType:_0x474bd0,actions:_0xdbc8f3}=_0x39f0f4;return _0x206f4c[_0x24d718]||(_0x206f4c[_0x24d718]={}),_0x206f4c[_0x24d718][_0x46fa84]||(_0x206f4c[_0x24d718][_0x46fa84]={'objectID':_0x46fa84,'objectType':_0x474bd0,'actions':[]}),_0x206f4c[_0x24d718][_0x46fa84]['actions'][_0x205c55(0x26e)](..._0xdbc8f3),_0x206f4c;},{}),_0x59c6f2=[];for(const _0x4bfab2 in _0x257cbd)for(const _0x3c40cb in _0x257cbd[_0x4bfab2]){const {actions:_0x1abda5,objectType:_0x13e058}=_0x257cbd[_0x4bfab2][_0x3c40cb],_0x54cce1=[...new Set(_0x1abda5)];_0x59c6f2[_0x2f61ec(0x26e)]({'unitID':_0x4bfab2,'objectID':_0x3c40cb,'objectType':_0x13e058,'actions':_0x54cce1});}return new Z[(_0x2f61ec(0x4ac))](_0x2f61ec(0x4d0),_0x5b5d41,{'headers':_0x405ea4[_0x2f61ec(0x4de)],'withCredentials':_0x405ea4[_0x2f61ec(0x240)],'responseType':_0x405ea4[_0x2f61ec(0x356)],'body':{'requests':_0x59c6f2}});}},{'distributeResult'(_0xbc9f2f,_0x332f8e){const {objectActions:_0x185fa3}=_0xbc9f2f;return _0x332f8e['map'](_0x272e21=>{const _0x43ac0b=_0xe852,{unitID:_0x340b4,objectID:_0x1c8536,actions:_0x343132}=_0x272e21,_0x19fe06=_0x185fa3['find'](_0x354eb4=>_0x354eb4['unitID']===_0x340b4&&_0x354eb4[_0x43ac0b(0x377)]===_0x1c8536),_0x3b540d=_0x343132[_0x43ac0b(0x2c2)](_0x13db6f=>_0x19fe06==null?void 0x0:_0x19fe06[_0x43ac0b(0x35d)][_0x43ac0b(0x4d1)](_0x20929c=>_0x20929c[_0x43ac0b(0x439)]===_0x13db6f))[_0x43ac0b(0x292)](_0x144f7d=>!!_0x144f7d);return{'config':_0x272e21,'result':{'actions':_0x3b540d,'error':_0xbc9f2f[_0x43ac0b(0x29f)]}};});}})}));}[_0x54516d(0x4c8)](){const _0x53b5f7=_0x54516d;var _0x196df2,_0x3fb3c6;const _0x26e8d7=this[_0x53b5f7(0x2a3)][_0x53b5f7(0x21d)](Rn),_0x1a42f5=this[_0x53b5f7(0x2a3)][_0x53b5f7(0x21d)](te);return(_0x3fb3c6=(_0x196df2=_0x1a42f5==null?void 0x0:_0x1a42f5[_0x53b5f7(0x524)])!=null?_0x196df2:_0x26e8d7)!=null?_0x3fb3c6:rr;}async[_0x54516d(0x466)](_0x26a845){const _0x54ee37=_0x54516d,_0x2bccd1=this[_0x54ee37(0x4c8)]()+'/'+_0x26a845[_0x54ee37(0x386)]+_0x54ee37(0x538);return(await this[_0x54ee37(0x41f)][_0x54ee37(0x486)](_0x2bccd1,{'body':_0x26a845}))[_0x54ee37(0x4ba)]['objectID']||'';}async['list'](_0x1a304d){const _0x370ccd=_0x54516d,_0xdea3c1=this['_getAPIPrefixPath']()+_0x370ccd(0x26b);return(await this[_0x370ccd(0x41f)][_0x370ccd(0x486)](_0xdea3c1,{'body':_0x1a304d}))['body']['objects'];}async['update'](_0x7a67f){const _0x219b74=_0x54516d,_0xecacc7=this['_getAPIPrefixPath']()+'/'+_0x7a67f[_0x219b74(0x386)]+'/object/'+_0x7a67f[_0x219b74(0x377)];await this[_0x219b74(0x41f)][_0x219b74(0x5dd)](_0xecacc7,{'body':_0x7a67f});}async[_0x54516d(0x56c)](_0x3b1f44){const _0x430009=_0x54516d,_0xdd9a26=this[_0x430009(0x4c8)]()+'/'+_0x3b1f44['objectType']+_0x430009(0x3d0)+_0x3b1f44[_0x430009(0x377)]+_0x430009(0x35e);return(await this[_0x430009(0x41f)][_0x430009(0x486)](_0xdd9a26,{'body':_0x3b1f44}))[_0x430009(0x4ba)][_0x430009(0x35d)];}async[_0x54516d(0x212)](_0x11324c){const _0x5dcee1=_0x54516d,_0xac6bba=this['_getAPIPrefixPath']()+_0x5dcee1(0x273);return(await this[_0x5dcee1(0x41f)][_0x5dcee1(0x486)](_0xac6bba,{'body':{'requests':_0x11324c}}))['body'][_0x5dcee1(0x3dd)];}async[_0x54516d(0x442)](_0x283993){const _0x5d7b38=_0x54516d,_0x2ddaba=this['_getAPIPrefixPath']()+'/'+_0x283993['objectType']+_0x5d7b38(0x19e),_0x29ce1e=await this[_0x5d7b38(0x41f)][_0x5d7b38(0x486)](_0x2ddaba,{'body':_0x283993});return{'roles':_0x29ce1e[_0x5d7b38(0x4ba)][_0x5d7b38(0x434)],'actions':_0x29ce1e[_0x5d7b38(0x4ba)][_0x5d7b38(0x35d)]};}async[_0x54516d(0x54b)](_0x754de6){const _0x290e12=_0x54516d,_0x566d92=this[_0x290e12(0x4c8)]()+_0x290e12(0x3ca);await this[_0x290e12(0x41f)][_0x290e12(0x1c4)](_0x566d92,{'params':{'collaboratorID':_0x754de6[_0x290e12(0x1f4)],'objectID':_0x754de6[_0x290e12(0x377)],'unitID':_0x754de6[_0x290e12(0x351)]}});}async[_0x54516d(0x5fe)](_0x885adc){const _0x519f16=_0x54516d,_0x2db5e4=this['_getAPIPrefixPath']()+_0x519f16(0x3ca);await this[_0x519f16(0x41f)][_0x519f16(0x395)](_0x2db5e4,{'body':_0x885adc});}async[_0x54516d(0x501)](_0x39b4f4){const _0x473dc6=_0x54516d,_0x549b82=this[_0x473dc6(0x4c8)]()+'/collaborator';await this['_HTTPService'][_0x473dc6(0x486)](_0x549b82,{'body':_0x39b4f4});}async[_0x54516d(0x40a)](_0x542f70){const _0x2393c7=_0x54516d,_0x4c053d=this['_getAPIPrefixPath']()+_0x2393c7(0x3ca);return(await this[_0x2393c7(0x41f)]['get'](_0x4c053d,{'params':{'objectID':_0x542f70[_0x2393c7(0x377)],'unitID':_0x542f70[_0x2393c7(0x351)]}}))['body'][_0x2393c7(0x4fe)];}async[_0x54516d(0x296)](_0xe82f50){const _0x1706f4=_0x54516d,_0x1cad65=this[_0x1706f4(0x4c8)]()+_0x1706f4(0x3ca);await this['_HTTPService']['put'](_0x1cad65,{'body':_0xe82f50});}},exports[_0x54516d(0x33f)]=sr([Wt(0x0,a[_0x54516d(0x573)](Z[_0x54516d(0x180)])),Wt(0x1,a[_0x54516d(0x573)](a[_0x54516d(0x208)]))],exports[_0x54516d(0x33f)]);var yn={'exports':{}};function or(_0x160389){throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x160389+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var ct={'exports':{}},Ft;function oe(){const _0x478814=_0x54516d;return Ft||(Ft=0x1,function(_0x3d16f4,_0x55b1e3){(function(_0x59ce01,_0x265acd){const _0xec2e18=_0xe852;_0x3d16f4[_0xec2e18(0x359)]=_0x265acd();}(X,function(){var _0xe7ac7b=_0xe7ac7b||function(_0x511874,_0x4f84e1){const _0x28a44a=_0xe852;var _0xdb988e;if(typeof window<'u'&&window['crypto']&&(_0xdb988e=window['crypto']),typeof self<'u'&&self[_0x28a44a(0x2ed)]&&(_0xdb988e=self['crypto']),typeof globalThis<'u'&&globalThis[_0x28a44a(0x2ed)]&&(_0xdb988e=globalThis['crypto']),!_0xdb988e&&typeof window<'u'&&window[_0x28a44a(0x324)]&&(_0xdb988e=window[_0x28a44a(0x324)]),!_0xdb988e&&typeof X<'u'&&X[_0x28a44a(0x2ed)]&&(_0xdb988e=X[_0x28a44a(0x2ed)]),!_0xdb988e&&typeof or=='function')try{_0xdb988e=require('crypto');}catch{}var _0x5c4a8c=function(){const _0x49e769=_0x28a44a;if(_0xdb988e){if(typeof _0xdb988e[_0x49e769(0x505)]==_0x49e769(0x30c))try{return _0xdb988e['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0xdb988e[_0x49e769(0x44d)]=='function')try{return _0xdb988e['randomBytes'](0x4)['readInt32LE']();}catch{}}throw new Error(_0x49e769(0x3a6));},_0x12e760=Object[_0x28a44a(0x466)]||(function(){function _0x503e8f(){}return function(_0x1a7496){var _0x3e0576;return _0x503e8f['prototype']=_0x1a7496,_0x3e0576=new _0x503e8f(),_0x503e8f['prototype']=null,_0x3e0576;};}()),_0x4641d5={},_0x425fa7=_0x4641d5[_0x28a44a(0x394)]={},_0x420377=_0x425fa7[_0x28a44a(0x5b4)]=(function(){return{'extend':function(_0x2dea3f){const _0x137c47=_0xe852;var _0x201568=_0x12e760(this);return _0x2dea3f&&_0x201568[_0x137c47(0x195)](_0x2dea3f),(!_0x201568['hasOwnProperty'](_0x137c47(0x4eb))||this[_0x137c47(0x4eb)]===_0x201568['init'])&&(_0x201568[_0x137c47(0x4eb)]=function(){const _0x154ae8=_0x137c47;_0x201568['$super'][_0x154ae8(0x4eb)]['apply'](this,arguments);}),_0x201568[_0x137c47(0x4eb)][_0x137c47(0x494)]=_0x201568,_0x201568[_0x137c47(0x175)]=this,_0x201568;},'create':function(){const _0x541162=_0xe852;var _0x39e094=this[_0x541162(0x16e)]();return _0x39e094[_0x541162(0x4eb)][_0x541162(0x613)](_0x39e094,arguments),_0x39e094;},'init':function(){},'mixIn':function(_0x335f09){const _0x387d63=_0xe852;for(var _0x245bd4 in _0x335f09)_0x335f09[_0x387d63(0x284)](_0x245bd4)&&(this[_0x245bd4]=_0x335f09[_0x245bd4]);_0x335f09[_0x387d63(0x284)](_0x387d63(0x481))&&(this[_0x387d63(0x481)]=_0x335f09['toString']);},'clone':function(){const _0x116636=_0xe852;return this[_0x116636(0x4eb)][_0x116636(0x494)]['extend'](this);}};}()),_0xeb3b7c=_0x425fa7[_0x28a44a(0x516)]=_0x420377[_0x28a44a(0x16e)]({'init':function(_0x38766d,_0x319cfd){const _0x497498=_0x28a44a;_0x38766d=this[_0x497498(0x407)]=_0x38766d||[],_0x319cfd!=_0x4f84e1?this[_0x497498(0x19a)]=_0x319cfd:this[_0x497498(0x19a)]=_0x38766d[_0x497498(0x5e8)]*0x4;},'toString':function(_0x36082a){const _0x271429=_0x28a44a;return(_0x36082a||_0x48dccf)[_0x271429(0x4c1)](this);},'concat':function(_0x4e0b91){const _0x3be161=_0x28a44a;var _0x859901=this[_0x3be161(0x407)],_0x34a012=_0x4e0b91[_0x3be161(0x407)],_0x29cc01=this['sigBytes'],_0x93ad8b=_0x4e0b91[_0x3be161(0x19a)];if(this[_0x3be161(0x426)](),_0x29cc01%0x4)for(var _0x5da072=0x0;_0x5da072<_0x93ad8b;_0x5da072++){var _0x2e036f=_0x34a012[_0x5da072>>>0x2]>>>0x18-_0x5da072%0x4*0x8&0xff;_0x859901[_0x29cc01+_0x5da072>>>0x2]|=_0x2e036f<<0x18-(_0x29cc01+_0x5da072)%0x4*0x8;}else{for(var _0xe90f92=0x0;_0xe90f92<_0x93ad8b;_0xe90f92+=0x4)_0x859901[_0x29cc01+_0xe90f92>>>0x2]=_0x34a012[_0xe90f92>>>0x2];}return this[_0x3be161(0x19a)]+=_0x93ad8b,this;},'clamp':function(){const _0x26eac8=_0x28a44a;var _0x232887=this['words'],_0x460ef8=this[_0x26eac8(0x19a)];_0x232887[_0x460ef8>>>0x2]&=0xffffffff<<0x20-_0x460ef8%0x4*0x8,_0x232887[_0x26eac8(0x5e8)]=_0x511874[_0x26eac8(0x341)](_0x460ef8/0x4);},'clone':function(){const _0xa96017=_0x28a44a;var _0x368ec4=_0x420377[_0xa96017(0x39d)][_0xa96017(0x2a5)](this);return _0x368ec4['words']=this[_0xa96017(0x407)][_0xa96017(0x4f1)](0x0),_0x368ec4;},'random':function(_0x1201c5){const _0x191f30=_0x28a44a;for(var _0x4be020=[],_0x1fa1a5=0x0;_0x1fa1a5<_0x1201c5;_0x1fa1a5+=0x4)_0x4be020[_0x191f30(0x26e)](_0x5c4a8c());return new _0xeb3b7c[(_0x191f30(0x4eb))](_0x4be020,_0x1201c5);}}),_0x289a06=_0x4641d5[_0x28a44a(0x34b)]={},_0x48dccf=_0x289a06[_0x28a44a(0x352)]={'stringify':function(_0x3b99a0){const _0x508d23=_0x28a44a;for(var _0x48786c=_0x3b99a0[_0x508d23(0x407)],_0x4d2e65=_0x3b99a0[_0x508d23(0x19a)],_0x316eba=[],_0x1f8345=0x0;_0x1f8345<_0x4d2e65;_0x1f8345++){var _0x544fe3=_0x48786c[_0x1f8345>>>0x2]>>>0x18-_0x1f8345%0x4*0x8&0xff;_0x316eba[_0x508d23(0x26e)]((_0x544fe3>>>0x4)[_0x508d23(0x481)](0x10)),_0x316eba[_0x508d23(0x26e)]((_0x544fe3&0xf)[_0x508d23(0x481)](0x10));}return _0x316eba['join']('');},'parse':function(_0x395431){const _0x401417=_0x28a44a;for(var _0x3b28ea=_0x395431[_0x401417(0x5e8)],_0x3eaf7b=[],_0x453f33=0x0;_0x453f33<_0x3b28ea;_0x453f33+=0x2)_0x3eaf7b[_0x453f33>>>0x3]|=parseInt(_0x395431[_0x401417(0x275)](_0x453f33,0x2),0x10)<<0x18-_0x453f33%0x8*0x4;return new _0xeb3b7c[(_0x401417(0x4eb))](_0x3eaf7b,_0x3b28ea/0x2);}},_0x5448a1=_0x289a06['Latin1']={'stringify':function(_0x45910d){const _0x513fc3=_0x28a44a;for(var _0x40627a=_0x45910d[_0x513fc3(0x407)],_0x1e64a9=_0x45910d[_0x513fc3(0x19a)],_0x270e4b=[],_0x1addb4=0x0;_0x1addb4<_0x1e64a9;_0x1addb4++){var _0x163092=_0x40627a[_0x1addb4>>>0x2]>>>0x18-_0x1addb4%0x4*0x8&0xff;_0x270e4b[_0x513fc3(0x26e)](String[_0x513fc3(0x5ca)](_0x163092));}return _0x270e4b[_0x513fc3(0x239)]('');},'parse':function(_0x5f31b5){const _0x31af8a=_0x28a44a;for(var _0x22cdfa=_0x5f31b5[_0x31af8a(0x5e8)],_0x2b8382=[],_0x4a7154=0x0;_0x4a7154<_0x22cdfa;_0x4a7154++)_0x2b8382[_0x4a7154>>>0x2]|=(_0x5f31b5[_0x31af8a(0x34d)](_0x4a7154)&0xff)<<0x18-_0x4a7154%0x4*0x8;return new _0xeb3b7c[(_0x31af8a(0x4eb))](_0x2b8382,_0x22cdfa);}},_0x1a33af=_0x289a06[_0x28a44a(0x31b)]={'stringify':function(_0xfbd2e7){const _0x14216e=_0x28a44a;try{return decodeURIComponent(escape(_0x5448a1[_0x14216e(0x4c1)](_0xfbd2e7)));}catch{throw new Error(_0x14216e(0x1cf));}},'parse':function(_0x533969){const _0xae45f0=_0x28a44a;return _0x5448a1[_0xae45f0(0x2a0)](unescape(encodeURIComponent(_0x533969)));}},_0x531fdd=_0x425fa7['BufferedBlockAlgorithm']=_0x420377[_0x28a44a(0x16e)]({'reset':function(){const _0x14e6d0=_0x28a44a;this[_0x14e6d0(0x578)]=new _0xeb3b7c[(_0x14e6d0(0x4eb))](),this[_0x14e6d0(0x5ec)]=0x0;},'_append':function(_0x3af5d1){const _0x40c525=_0x28a44a;typeof _0x3af5d1==_0x40c525(0x3aa)&&(_0x3af5d1=_0x1a33af[_0x40c525(0x2a0)](_0x3af5d1)),this[_0x40c525(0x578)][_0x40c525(0x213)](_0x3af5d1),this[_0x40c525(0x5ec)]+=_0x3af5d1[_0x40c525(0x19a)];},'_process':function(_0x40e846){const _0x1c3758=_0x28a44a;var _0x4dd486,_0x3c9f1e=this[_0x1c3758(0x578)],_0x3aaf6f=_0x3c9f1e[_0x1c3758(0x407)],_0x1acb6f=_0x3c9f1e['sigBytes'],_0x1f7d26=this[_0x1c3758(0x5d1)],_0x5570e3=_0x1f7d26*0x4,_0x5c57dc=_0x1acb6f/_0x5570e3;_0x40e846?_0x5c57dc=_0x511874['ceil'](_0x5c57dc):_0x5c57dc=_0x511874['max']((_0x5c57dc|0x0)-this[_0x1c3758(0x22f)],0x0);var _0x21e8f4=_0x5c57dc*_0x1f7d26,_0x30ba03=_0x511874['min'](_0x21e8f4*0x4,_0x1acb6f);if(_0x21e8f4){for(var _0x5cb110=0x0;_0x5cb110<_0x21e8f4;_0x5cb110+=_0x1f7d26)this[_0x1c3758(0x306)](_0x3aaf6f,_0x5cb110);_0x4dd486=_0x3aaf6f[_0x1c3758(0x4a2)](0x0,_0x21e8f4),_0x3c9f1e['sigBytes']-=_0x30ba03;}return new _0xeb3b7c[(_0x1c3758(0x4eb))](_0x4dd486,_0x30ba03);},'clone':function(){const _0x18c67a=_0x28a44a;var _0x373499=_0x420377['clone'][_0x18c67a(0x2a5)](this);return _0x373499[_0x18c67a(0x578)]=this[_0x18c67a(0x578)]['clone'](),_0x373499;},'_minBufferSize':0x0});_0x425fa7[_0x28a44a(0x4a3)]=_0x531fdd[_0x28a44a(0x16e)]({'cfg':_0x420377['extend'](),'init':function(_0x4798ad){const _0x55eac8=_0x28a44a;this[_0x55eac8(0x57f)]=this[_0x55eac8(0x57f)][_0x55eac8(0x16e)](_0x4798ad),this[_0x55eac8(0x44c)]();},'reset':function(){const _0x3a4c9d=_0x28a44a;_0x531fdd[_0x3a4c9d(0x44c)][_0x3a4c9d(0x2a5)](this),this[_0x3a4c9d(0x384)]();},'update':function(_0x41d7d2){const _0x2c3fa2=_0x28a44a;return this[_0x2c3fa2(0x597)](_0x41d7d2),this[_0x2c3fa2(0x606)](),this;},'finalize':function(_0x506ce){const _0x42ccca=_0x28a44a;_0x506ce&&this[_0x42ccca(0x597)](_0x506ce);var _0x25c47c=this[_0x42ccca(0x1ed)]();return _0x25c47c;},'blockSize':0x10,'_createHelper':function(_0x445021){return function(_0x1a563d,_0x11a28f){const _0x671546=_0xe852;return new _0x445021['init'](_0x11a28f)[_0x671546(0x408)](_0x1a563d);};},'_createHmacHelper':function(_0x203552){return function(_0x19062f,_0x42a461){const _0x38bb1e=_0xe852;return new _0x5af3a8[(_0x38bb1e(0x599))][(_0x38bb1e(0x4eb))](_0x203552,_0x42a461)[_0x38bb1e(0x408)](_0x19062f);};}});var _0x5af3a8=_0x4641d5[_0x28a44a(0x247)]={};return _0x4641d5;}(Math);return _0xe7ac7b;}));}(ct)),ct[_0x478814(0x359)];}var lt={'exports':{}},Vt;function On(){const _0x25fdc6=_0x54516d;return Vt||(Vt=0x1,function(_0x1b404a,_0x3a01d2){(function(_0x5b5eaa,_0x55128f){const _0x5f186a=_0xe852;_0x1b404a[_0x5f186a(0x359)]=_0x55128f(oe());}(X,function(_0x4afbed){const _0x1650aa=_0xe852;return(function(){const _0x457669=_0xe852;var _0x1ed779=_0x4afbed,_0x385f6f=_0x1ed779[_0x457669(0x394)],_0x3459a6=_0x385f6f[_0x457669(0x516)],_0x2c22ec=_0x1ed779[_0x457669(0x34b)];_0x2c22ec['Base64']={'stringify':function(_0x4f4415){const _0x3ce0ef=_0x457669;var _0x32d176=_0x4f4415[_0x3ce0ef(0x407)],_0x4381b5=_0x4f4415[_0x3ce0ef(0x19a)],_0x358eb4=this['_map'];_0x4f4415[_0x3ce0ef(0x426)]();for(var _0x4afc10=[],_0x43cc77=0x0;_0x43cc77<_0x4381b5;_0x43cc77+=0x3)for(var _0x92737c=_0x32d176[_0x43cc77>>>0x2]>>>0x18-_0x43cc77%0x4*0x8&0xff,_0x4f6c20=_0x32d176[_0x43cc77+0x1>>>0x2]>>>0x18-(_0x43cc77+0x1)%0x4*0x8&0xff,_0x464194=_0x32d176[_0x43cc77+0x2>>>0x2]>>>0x18-(_0x43cc77+0x2)%0x4*0x8&0xff,_0x4cc18e=_0x92737c<<0x10|_0x4f6c20<<0x8|_0x464194,_0x49f36b=0x0;_0x49f36b<0x4&&_0x43cc77+_0x49f36b*0.75<_0x4381b5;_0x49f36b++)_0x4afc10['push'](_0x358eb4[_0x3ce0ef(0x1f7)](_0x4cc18e>>>0x6*(0x3-_0x49f36b)&0x3f));var _0x595640=_0x358eb4['charAt'](0x40);if(_0x595640){for(;_0x4afc10[_0x3ce0ef(0x5e8)]%0x4;)_0x4afc10['push'](_0x595640);}return _0x4afc10[_0x3ce0ef(0x239)]('');},'parse':function(_0x1f9aa0){const _0x3bd4f0=_0x457669;var _0x262499=_0x1f9aa0[_0x3bd4f0(0x5e8)],_0x129868=this[_0x3bd4f0(0x2c8)],_0x18c4a9=this[_0x3bd4f0(0x1e7)];if(!_0x18c4a9){_0x18c4a9=this['_reverseMap']=[];for(var _0x38742b=0x0;_0x38742b<_0x129868[_0x3bd4f0(0x5e8)];_0x38742b++)_0x18c4a9[_0x129868[_0x3bd4f0(0x34d)](_0x38742b)]=_0x38742b;}var _0x2521a8=_0x129868['charAt'](0x40);if(_0x2521a8){var _0x1273a6=_0x1f9aa0[_0x3bd4f0(0x31d)](_0x2521a8);_0x1273a6!==-0x1&&(_0x262499=_0x1273a6);}return _0x5c29a4(_0x1f9aa0,_0x262499,_0x18c4a9);},'_map':_0x457669(0x49f)};function _0x5c29a4(_0x44cbc5,_0x1da358,_0x44fbef){const _0x12d070=_0x457669;for(var _0x2d99f5=[],_0x3f3f33=0x0,_0x305a15=0x0;_0x305a15<_0x1da358;_0x305a15++)if(_0x305a15%0x4){var _0x2db90d=_0x44fbef[_0x44cbc5['charCodeAt'](_0x305a15-0x1)]<<_0x305a15%0x4*0x2,_0x369b2b=_0x44fbef[_0x44cbc5[_0x12d070(0x34d)](_0x305a15)]>>>0x6-_0x305a15%0x4*0x2,_0x164006=_0x2db90d|_0x369b2b;_0x2d99f5[_0x3f3f33>>>0x2]|=_0x164006<<0x18-_0x3f3f33%0x4*0x8,_0x3f3f33++;}return _0x3459a6[_0x12d070(0x466)](_0x2d99f5,_0x3f3f33);}}()),_0x4afbed['enc'][_0x1650aa(0x463)];}));}(lt)),lt[_0x25fdc6(0x359)];}var ht={'exports':{}},Gt;function ar(){const _0x5da71d=_0x54516d;return Gt||(Gt=0x1,function(_0x1a3da7,_0x3e972c){(function(_0x2c2a0a,_0x3163a6){_0x1a3da7['exports']=_0x3163a6(oe());}(X,function(_0x392459){return function(_0x1d8227){const _0x1c7023=_0xe852;var _0x2498af=_0x392459,_0x27ee1a=_0x2498af[_0x1c7023(0x394)],_0x3a3261=_0x27ee1a[_0x1c7023(0x516)],_0x31c127=_0x27ee1a[_0x1c7023(0x4a3)],_0x3c4811=_0x2498af[_0x1c7023(0x247)],_0x5a36f4=[];(function(){const _0x16f8c8=_0x1c7023;for(var _0x149fe5=0x0;_0x149fe5<0x40;_0x149fe5++)_0x5a36f4[_0x149fe5]=_0x1d8227[_0x16f8c8(0x50c)](_0x1d8227['sin'](_0x149fe5+0x1))*0x100000000|0x0;}());var _0x52cc8b=_0x3c4811[_0x1c7023(0x2b0)]=_0x31c127[_0x1c7023(0x16e)]({'_doReset':function(){const _0x52eb05=_0x1c7023;this[_0x52eb05(0x2b5)]=new _0x3a3261[(_0x52eb05(0x4eb))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x4045b8,_0x48bb48){for(var _0x2e49d5=0x0;_0x2e49d5<0x10;_0x2e49d5++){var _0x3dd6bc=_0x48bb48+_0x2e49d5,_0x12d1d3=_0x4045b8[_0x3dd6bc];_0x4045b8[_0x3dd6bc]=(_0x12d1d3<<0x8|_0x12d1d3>>>0x18)&0xff00ff|(_0x12d1d3<<0x18|_0x12d1d3>>>0x8)&0xff00ff00;}var _0x778b38=this['_hash']['words'],_0x439bcb=_0x4045b8[_0x48bb48+0x0],_0x5927e6=_0x4045b8[_0x48bb48+0x1],_0x5d7332=_0x4045b8[_0x48bb48+0x2],_0x1f808c=_0x4045b8[_0x48bb48+0x3],_0x526cac=_0x4045b8[_0x48bb48+0x4],_0x49016c=_0x4045b8[_0x48bb48+0x5],_0x1b2be1=_0x4045b8[_0x48bb48+0x6],_0x558604=_0x4045b8[_0x48bb48+0x7],_0x3647de=_0x4045b8[_0x48bb48+0x8],_0x532f59=_0x4045b8[_0x48bb48+0x9],_0x481913=_0x4045b8[_0x48bb48+0xa],_0x466da1=_0x4045b8[_0x48bb48+0xb],_0x12755a=_0x4045b8[_0x48bb48+0xc],_0x3f8ee8=_0x4045b8[_0x48bb48+0xd],_0x1c6d93=_0x4045b8[_0x48bb48+0xe],_0x1214a5=_0x4045b8[_0x48bb48+0xf],_0x1f0876=_0x778b38[0x0],_0x16a37f=_0x778b38[0x1],_0x2b04ca=_0x778b38[0x2],_0x2bd87b=_0x778b38[0x3];_0x1f0876=_0x4ae833(_0x1f0876,_0x16a37f,_0x2b04ca,_0x2bd87b,_0x439bcb,0x7,_0x5a36f4[0x0]),_0x2bd87b=_0x4ae833(_0x2bd87b,_0x1f0876,_0x16a37f,_0x2b04ca,_0x5927e6,0xc,_0x5a36f4[0x1]),_0x2b04ca=_0x4ae833(_0x2b04ca,_0x2bd87b,_0x1f0876,_0x16a37f,_0x5d7332,0x11,_0x5a36f4[0x2]),_0x16a37f=_0x4ae833(_0x16a37f,_0x2b04ca,_0x2bd87b,_0x1f0876,_0x1f808c,0x16,_0x5a36f4[0x3]),_0x1f0876=_0x4ae833(_0x1f0876,_0x16a37f,_0x2b04ca,_0x2bd87b,_0x526cac,0x7,_0x5a36f4[0x4]),_0x2bd87b=_0x4ae833(_0x2bd87b,_0x1f0876,_0x16a37f,_0x2b04ca,_0x49016c,0xc,_0x5a36f4[0x5]),_0x2b04ca=_0x4ae833(_0x2b04ca,_0x2bd87b,_0x1f0876,_0x16a37f,_0x1b2be1,0x11,_0x5a36f4[0x6]),_0x16a37f=_0x4ae833(_0x16a37f,_0x2b04ca,_0x2bd87b,_0x1f0876,_0x558604,0x16,_0x5a36f4[0x7]),_0x1f0876=_0x4ae833(_0x1f0876,_0x16a37f,_0x2b04ca,_0x2bd87b,_0x3647de,0x7,_0x5a36f4[0x8]),_0x2bd87b=_0x4ae833(_0x2bd87b,_0x1f0876,_0x16a37f,_0x2b04ca,_0x532f59,0xc,_0x5a36f4[0x9]),_0x2b04ca=_0x4ae833(_0x2b04ca,_0x2bd87b,_0x1f0876,_0x16a37f,_0x481913,0x11,_0x5a36f4[0xa]),_0x16a37f=_0x4ae833(_0x16a37f,_0x2b04ca,_0x2bd87b,_0x1f0876,_0x466da1,0x16,_0x5a36f4[0xb]),_0x1f0876=_0x4ae833(_0x1f0876,_0x16a37f,_0x2b04ca,_0x2bd87b,_0x12755a,0x7,_0x5a36f4[0xc]),_0x2bd87b=_0x4ae833(_0x2bd87b,_0x1f0876,_0x16a37f,_0x2b04ca,_0x3f8ee8,0xc,_0x5a36f4[0xd]),_0x2b04ca=_0x4ae833(_0x2b04ca,_0x2bd87b,_0x1f0876,_0x16a37f,_0x1c6d93,0x11,_0x5a36f4[0xe]),_0x16a37f=_0x4ae833(_0x16a37f,_0x2b04ca,_0x2bd87b,_0x1f0876,_0x1214a5,0x16,_0x5a36f4[0xf]),_0x1f0876=_0x48915a(_0x1f0876,_0x16a37f,_0x2b04ca,_0x2bd87b,_0x5927e6,0x5,_0x5a36f4[0x10]),_0x2bd87b=_0x48915a(_0x2bd87b,_0x1f0876,_0x16a37f,_0x2b04ca,_0x1b2be1,0x9,_0x5a36f4[0x11]),_0x2b04ca=_0x48915a(_0x2b04ca,_0x2bd87b,_0x1f0876,_0x16a37f,_0x466da1,0xe,_0x5a36f4[0x12]),_0x16a37f=_0x48915a(_0x16a37f,_0x2b04ca,_0x2bd87b,_0x1f0876,_0x439bcb,0x14,_0x5a36f4[0x13]),_0x1f0876=_0x48915a(_0x1f0876,_0x16a37f,_0x2b04ca,_0x2bd87b,_0x49016c,0x5,_0x5a36f4[0x14]),_0x2bd87b=_0x48915a(_0x2bd87b,_0x1f0876,_0x16a37f,_0x2b04ca,_0x481913,0x9,_0x5a36f4[0x15]),_0x2b04ca=_0x48915a(_0x2b04ca,_0x2bd87b,_0x1f0876,_0x16a37f,_0x1214a5,0xe,_0x5a36f4[0x16]),_0x16a37f=_0x48915a(_0x16a37f,_0x2b04ca,_0x2bd87b,_0x1f0876,_0x526cac,0x14,_0x5a36f4[0x17]),_0x1f0876=_0x48915a(_0x1f0876,_0x16a37f,_0x2b04ca,_0x2bd87b,_0x532f59,0x5,_0x5a36f4[0x18]),_0x2bd87b=_0x48915a(_0x2bd87b,_0x1f0876,_0x16a37f,_0x2b04ca,_0x1c6d93,0x9,_0x5a36f4[0x19]),_0x2b04ca=_0x48915a(_0x2b04ca,_0x2bd87b,_0x1f0876,_0x16a37f,_0x1f808c,0xe,_0x5a36f4[0x1a]),_0x16a37f=_0x48915a(_0x16a37f,_0x2b04ca,_0x2bd87b,_0x1f0876,_0x3647de,0x14,_0x5a36f4[0x1b]),_0x1f0876=_0x48915a(_0x1f0876,_0x16a37f,_0x2b04ca,_0x2bd87b,_0x3f8ee8,0x5,_0x5a36f4[0x1c]),_0x2bd87b=_0x48915a(_0x2bd87b,_0x1f0876,_0x16a37f,_0x2b04ca,_0x5d7332,0x9,_0x5a36f4[0x1d]),_0x2b04ca=_0x48915a(_0x2b04ca,_0x2bd87b,_0x1f0876,_0x16a37f,_0x558604,0xe,_0x5a36f4[0x1e]),_0x16a37f=_0x48915a(_0x16a37f,_0x2b04ca,_0x2bd87b,_0x1f0876,_0x12755a,0x14,_0x5a36f4[0x1f]),_0x1f0876=_0x11ec17(_0x1f0876,_0x16a37f,_0x2b04ca,_0x2bd87b,_0x49016c,0x4,_0x5a36f4[0x20]),_0x2bd87b=_0x11ec17(_0x2bd87b,_0x1f0876,_0x16a37f,_0x2b04ca,_0x3647de,0xb,_0x5a36f4[0x21]),_0x2b04ca=_0x11ec17(_0x2b04ca,_0x2bd87b,_0x1f0876,_0x16a37f,_0x466da1,0x10,_0x5a36f4[0x22]),_0x16a37f=_0x11ec17(_0x16a37f,_0x2b04ca,_0x2bd87b,_0x1f0876,_0x1c6d93,0x17,_0x5a36f4[0x23]),_0x1f0876=_0x11ec17(_0x1f0876,_0x16a37f,_0x2b04ca,_0x2bd87b,_0x5927e6,0x4,_0x5a36f4[0x24]),_0x2bd87b=_0x11ec17(_0x2bd87b,_0x1f0876,_0x16a37f,_0x2b04ca,_0x526cac,0xb,_0x5a36f4[0x25]),_0x2b04ca=_0x11ec17(_0x2b04ca,_0x2bd87b,_0x1f0876,_0x16a37f,_0x558604,0x10,_0x5a36f4[0x26]),_0x16a37f=_0x11ec17(_0x16a37f,_0x2b04ca,_0x2bd87b,_0x1f0876,_0x481913,0x17,_0x5a36f4[0x27]),_0x1f0876=_0x11ec17(_0x1f0876,_0x16a37f,_0x2b04ca,_0x2bd87b,_0x3f8ee8,0x4,_0x5a36f4[0x28]),_0x2bd87b=_0x11ec17(_0x2bd87b,_0x1f0876,_0x16a37f,_0x2b04ca,_0x439bcb,0xb,_0x5a36f4[0x29]),_0x2b04ca=_0x11ec17(_0x2b04ca,_0x2bd87b,_0x1f0876,_0x16a37f,_0x1f808c,0x10,_0x5a36f4[0x2a]),_0x16a37f=_0x11ec17(_0x16a37f,_0x2b04ca,_0x2bd87b,_0x1f0876,_0x1b2be1,0x17,_0x5a36f4[0x2b]),_0x1f0876=_0x11ec17(_0x1f0876,_0x16a37f,_0x2b04ca,_0x2bd87b,_0x532f59,0x4,_0x5a36f4[0x2c]),_0x2bd87b=_0x11ec17(_0x2bd87b,_0x1f0876,_0x16a37f,_0x2b04ca,_0x12755a,0xb,_0x5a36f4[0x2d]),_0x2b04ca=_0x11ec17(_0x2b04ca,_0x2bd87b,_0x1f0876,_0x16a37f,_0x1214a5,0x10,_0x5a36f4[0x2e]),_0x16a37f=_0x11ec17(_0x16a37f,_0x2b04ca,_0x2bd87b,_0x1f0876,_0x5d7332,0x17,_0x5a36f4[0x2f]),_0x1f0876=_0x443821(_0x1f0876,_0x16a37f,_0x2b04ca,_0x2bd87b,_0x439bcb,0x6,_0x5a36f4[0x30]),_0x2bd87b=_0x443821(_0x2bd87b,_0x1f0876,_0x16a37f,_0x2b04ca,_0x558604,0xa,_0x5a36f4[0x31]),_0x2b04ca=_0x443821(_0x2b04ca,_0x2bd87b,_0x1f0876,_0x16a37f,_0x1c6d93,0xf,_0x5a36f4[0x32]),_0x16a37f=_0x443821(_0x16a37f,_0x2b04ca,_0x2bd87b,_0x1f0876,_0x49016c,0x15,_0x5a36f4[0x33]),_0x1f0876=_0x443821(_0x1f0876,_0x16a37f,_0x2b04ca,_0x2bd87b,_0x12755a,0x6,_0x5a36f4[0x34]),_0x2bd87b=_0x443821(_0x2bd87b,_0x1f0876,_0x16a37f,_0x2b04ca,_0x1f808c,0xa,_0x5a36f4[0x35]),_0x2b04ca=_0x443821(_0x2b04ca,_0x2bd87b,_0x1f0876,_0x16a37f,_0x481913,0xf,_0x5a36f4[0x36]),_0x16a37f=_0x443821(_0x16a37f,_0x2b04ca,_0x2bd87b,_0x1f0876,_0x5927e6,0x15,_0x5a36f4[0x37]),_0x1f0876=_0x443821(_0x1f0876,_0x16a37f,_0x2b04ca,_0x2bd87b,_0x3647de,0x6,_0x5a36f4[0x38]),_0x2bd87b=_0x443821(_0x2bd87b,_0x1f0876,_0x16a37f,_0x2b04ca,_0x1214a5,0xa,_0x5a36f4[0x39]),_0x2b04ca=_0x443821(_0x2b04ca,_0x2bd87b,_0x1f0876,_0x16a37f,_0x1b2be1,0xf,_0x5a36f4[0x3a]),_0x16a37f=_0x443821(_0x16a37f,_0x2b04ca,_0x2bd87b,_0x1f0876,_0x3f8ee8,0x15,_0x5a36f4[0x3b]),_0x1f0876=_0x443821(_0x1f0876,_0x16a37f,_0x2b04ca,_0x2bd87b,_0x526cac,0x6,_0x5a36f4[0x3c]),_0x2bd87b=_0x443821(_0x2bd87b,_0x1f0876,_0x16a37f,_0x2b04ca,_0x466da1,0xa,_0x5a36f4[0x3d]),_0x2b04ca=_0x443821(_0x2b04ca,_0x2bd87b,_0x1f0876,_0x16a37f,_0x5d7332,0xf,_0x5a36f4[0x3e]),_0x16a37f=_0x443821(_0x16a37f,_0x2b04ca,_0x2bd87b,_0x1f0876,_0x532f59,0x15,_0x5a36f4[0x3f]),_0x778b38[0x0]=_0x778b38[0x0]+_0x1f0876|0x0,_0x778b38[0x1]=_0x778b38[0x1]+_0x16a37f|0x0,_0x778b38[0x2]=_0x778b38[0x2]+_0x2b04ca|0x0,_0x778b38[0x3]=_0x778b38[0x3]+_0x2bd87b|0x0;},'_doFinalize':function(){const _0x2bf386=_0x1c7023;var _0x4cada1=this[_0x2bf386(0x578)],_0x5acd0c=_0x4cada1[_0x2bf386(0x407)],_0x32c827=this['_nDataBytes']*0x8,_0x4a71d4=_0x4cada1[_0x2bf386(0x19a)]*0x8;_0x5acd0c[_0x4a71d4>>>0x5]|=0x80<<0x18-_0x4a71d4%0x20;var _0x36007d=_0x1d8227[_0x2bf386(0x56b)](_0x32c827/0x100000000),_0x1c2f2e=_0x32c827;_0x5acd0c[(_0x4a71d4+0x40>>>0x9<<0x4)+0xf]=(_0x36007d<<0x8|_0x36007d>>>0x18)&0xff00ff|(_0x36007d<<0x18|_0x36007d>>>0x8)&0xff00ff00,_0x5acd0c[(_0x4a71d4+0x40>>>0x9<<0x4)+0xe]=(_0x1c2f2e<<0x8|_0x1c2f2e>>>0x18)&0xff00ff|(_0x1c2f2e<<0x18|_0x1c2f2e>>>0x8)&0xff00ff00,_0x4cada1[_0x2bf386(0x19a)]=(_0x5acd0c[_0x2bf386(0x5e8)]+0x1)*0x4,this[_0x2bf386(0x606)]();for(var _0x320144=this[_0x2bf386(0x2b5)],_0x5ad957=_0x320144[_0x2bf386(0x407)],_0x13be44=0x0;_0x13be44<0x4;_0x13be44++){var _0x502fe6=_0x5ad957[_0x13be44];_0x5ad957[_0x13be44]=(_0x502fe6<<0x8|_0x502fe6>>>0x18)&0xff00ff|(_0x502fe6<<0x18|_0x502fe6>>>0x8)&0xff00ff00;}return _0x320144;},'clone':function(){const _0x7b1808=_0x1c7023;var _0x3895fc=_0x31c127[_0x7b1808(0x39d)][_0x7b1808(0x2a5)](this);return _0x3895fc[_0x7b1808(0x2b5)]=this[_0x7b1808(0x2b5)]['clone'](),_0x3895fc;}});function _0x4ae833(_0x5cac38,_0x550348,_0x4349e1,_0x45c6d2,_0x3fa04b,_0x2c3506,_0x54598f){var _0x469023=_0x5cac38+(_0x550348&_0x4349e1|~_0x550348&_0x45c6d2)+_0x3fa04b+_0x54598f;return(_0x469023<<_0x2c3506|_0x469023>>>0x20-_0x2c3506)+_0x550348;}function _0x48915a(_0x5767c3,_0x54a007,_0x3f776a,_0x39c20a,_0x35ae04,_0x2ff7bf,_0x5c3f71){var _0xd5ee95=_0x5767c3+(_0x54a007&_0x39c20a|_0x3f776a&~_0x39c20a)+_0x35ae04+_0x5c3f71;return(_0xd5ee95<<_0x2ff7bf|_0xd5ee95>>>0x20-_0x2ff7bf)+_0x54a007;}function _0x11ec17(_0x19e3ae,_0x5496cb,_0x208658,_0x3511cf,_0x149ce6,_0x5b1179,_0x5149ce){var _0x55d604=_0x19e3ae+(_0x5496cb^_0x208658^_0x3511cf)+_0x149ce6+_0x5149ce;return(_0x55d604<<_0x5b1179|_0x55d604>>>0x20-_0x5b1179)+_0x5496cb;}function _0x443821(_0xa5a65,_0x2ca53b,_0x612c90,_0x418e98,_0x75384e,_0x30e2fb,_0x248e23){var _0x321b80=_0xa5a65+(_0x612c90^(_0x2ca53b|~_0x418e98))+_0x75384e+_0x248e23;return(_0x321b80<<_0x30e2fb|_0x321b80>>>0x20-_0x30e2fb)+_0x2ca53b;}_0x2498af[_0x1c7023(0x2b0)]=_0x31c127[_0x1c7023(0x568)](_0x52cc8b),_0x2498af['HmacMD5']=_0x31c127[_0x1c7023(0x476)](_0x52cc8b);}(Math),_0x392459['MD5'];}));}(ht)),ht[_0x5da71d(0x359)];}var _t={'exports':{}},ut={'exports':{}},Yt;function cr(){const _0x2e5625=_0x54516d;return Yt||(Yt=0x1,function(_0x183ded,_0x2fe3a9){(function(_0xa86169,_0x1f262e){const _0x4ba214=_0xe852;_0x183ded[_0x4ba214(0x359)]=_0x1f262e(oe());}(X,function(_0x386bbe){const _0x219753=_0xe852;return(function(){const _0x2e6b5b=_0xe852;var _0x547de3=_0x386bbe,_0x4396e3=_0x547de3[_0x2e6b5b(0x394)],_0x18701b=_0x4396e3[_0x2e6b5b(0x516)],_0x4db062=_0x4396e3['Hasher'],_0xc568af=_0x547de3[_0x2e6b5b(0x247)],_0x4d506c=[],_0x9a1bf6=_0xc568af[_0x2e6b5b(0x3d9)]=_0x4db062[_0x2e6b5b(0x16e)]({'_doReset':function(){const _0x47b181=_0x2e6b5b;this[_0x47b181(0x2b5)]=new _0x18701b['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0xf577c0,_0x282388){const _0x21c7e6=_0x2e6b5b;for(var _0x42dff2=this[_0x21c7e6(0x2b5)][_0x21c7e6(0x407)],_0x5a27a1=_0x42dff2[0x0],_0x435460=_0x42dff2[0x1],_0xf16852=_0x42dff2[0x2],_0x1d24dd=_0x42dff2[0x3],_0xb29da=_0x42dff2[0x4],_0x22a863=0x0;_0x22a863<0x50;_0x22a863++){if(_0x22a863<0x10)_0x4d506c[_0x22a863]=_0xf577c0[_0x282388+_0x22a863]|0x0;else{var _0x4c451c=_0x4d506c[_0x22a863-0x3]^_0x4d506c[_0x22a863-0x8]^_0x4d506c[_0x22a863-0xe]^_0x4d506c[_0x22a863-0x10];_0x4d506c[_0x22a863]=_0x4c451c<<0x1|_0x4c451c>>>0x1f;}var _0x44ecda=(_0x5a27a1<<0x5|_0x5a27a1>>>0x1b)+_0xb29da+_0x4d506c[_0x22a863];_0x22a863<0x14?_0x44ecda+=(_0x435460&_0xf16852|~_0x435460&_0x1d24dd)+0x5a827999:_0x22a863<0x28?_0x44ecda+=(_0x435460^_0xf16852^_0x1d24dd)+0x6ed9eba1:_0x22a863<0x3c?_0x44ecda+=(_0x435460&_0xf16852|_0x435460&_0x1d24dd|_0xf16852&_0x1d24dd)-0x70e44324:_0x44ecda+=(_0x435460^_0xf16852^_0x1d24dd)-0x359d3e2a,_0xb29da=_0x1d24dd,_0x1d24dd=_0xf16852,_0xf16852=_0x435460<<0x1e|_0x435460>>>0x2,_0x435460=_0x5a27a1,_0x5a27a1=_0x44ecda;}_0x42dff2[0x0]=_0x42dff2[0x0]+_0x5a27a1|0x0,_0x42dff2[0x1]=_0x42dff2[0x1]+_0x435460|0x0,_0x42dff2[0x2]=_0x42dff2[0x2]+_0xf16852|0x0,_0x42dff2[0x3]=_0x42dff2[0x3]+_0x1d24dd|0x0,_0x42dff2[0x4]=_0x42dff2[0x4]+_0xb29da|0x0;},'_doFinalize':function(){const _0x19e725=_0x2e6b5b;var _0x596455=this[_0x19e725(0x578)],_0x51d7bb=_0x596455['words'],_0x2c807b=this[_0x19e725(0x5ec)]*0x8,_0x4cd6fb=_0x596455['sigBytes']*0x8;return _0x51d7bb[_0x4cd6fb>>>0x5]|=0x80<<0x18-_0x4cd6fb%0x20,_0x51d7bb[(_0x4cd6fb+0x40>>>0x9<<0x4)+0xe]=Math[_0x19e725(0x56b)](_0x2c807b/0x100000000),_0x51d7bb[(_0x4cd6fb+0x40>>>0x9<<0x4)+0xf]=_0x2c807b,_0x596455[_0x19e725(0x19a)]=_0x51d7bb[_0x19e725(0x5e8)]*0x4,this[_0x19e725(0x606)](),this[_0x19e725(0x2b5)];},'clone':function(){const _0x30bc26=_0x2e6b5b;var _0x461ca4=_0x4db062[_0x30bc26(0x39d)]['call'](this);return _0x461ca4[_0x30bc26(0x2b5)]=this['_hash'][_0x30bc26(0x39d)](),_0x461ca4;}});_0x547de3[_0x2e6b5b(0x3d9)]=_0x4db062[_0x2e6b5b(0x568)](_0x9a1bf6),_0x547de3[_0x2e6b5b(0x4bc)]=_0x4db062[_0x2e6b5b(0x476)](_0x9a1bf6);}()),_0x386bbe[_0x219753(0x3d9)];}));}(ut)),ut[_0x2e5625(0x359)];}var dt={'exports':{}},Kt;function lr(){const _0x11335f=_0x54516d;return Kt||(Kt=0x1,function(_0x1d3c2c,_0xdd5575){(function(_0x5112c6,_0x5a663f){const _0x2efdb5=_0xe852;_0x1d3c2c[_0x2efdb5(0x359)]=_0x5a663f(oe());}(X,function(_0x272d59){(function(){const _0x557456=_0xe852;var _0x3a7a86=_0x272d59,_0xb94294=_0x3a7a86[_0x557456(0x394)],_0x1305e9=_0xb94294[_0x557456(0x5b4)],_0x411d27=_0x3a7a86[_0x557456(0x34b)],_0x3bafd7=_0x411d27[_0x557456(0x31b)],_0x27b154=_0x3a7a86[_0x557456(0x247)];_0x27b154[_0x557456(0x599)]=_0x1305e9[_0x557456(0x16e)]({'init':function(_0x30515b,_0x3c8329){const _0x3c278d=_0x557456;_0x30515b=this[_0x3c278d(0x1ac)]=new _0x30515b['init'](),typeof _0x3c8329=='string'&&(_0x3c8329=_0x3bafd7[_0x3c278d(0x2a0)](_0x3c8329));var _0x2f3be6=_0x30515b[_0x3c278d(0x5d1)],_0x3c82d0=_0x2f3be6*0x4;_0x3c8329['sigBytes']>_0x3c82d0&&(_0x3c8329=_0x30515b[_0x3c278d(0x408)](_0x3c8329)),_0x3c8329['clamp']();for(var _0xd4179d=this[_0x3c278d(0x5c4)]=_0x3c8329['clone'](),_0x10f65a=this[_0x3c278d(0x2fe)]=_0x3c8329[_0x3c278d(0x39d)](),_0x4b1620=_0xd4179d[_0x3c278d(0x407)],_0x325696=_0x10f65a[_0x3c278d(0x407)],_0x545ec5=0x0;_0x545ec5<_0x2f3be6;_0x545ec5++)_0x4b1620[_0x545ec5]^=0x5c5c5c5c,_0x325696[_0x545ec5]^=0x36363636;_0xd4179d[_0x3c278d(0x19a)]=_0x10f65a[_0x3c278d(0x19a)]=_0x3c82d0,this['reset']();},'reset':function(){const _0x43ff7c=_0x557456;var _0x94b57e=this[_0x43ff7c(0x1ac)];_0x94b57e[_0x43ff7c(0x44c)](),_0x94b57e[_0x43ff7c(0x493)](this['_iKey']);},'update':function(_0x278812){const _0x53df7b=_0x557456;return this[_0x53df7b(0x1ac)][_0x53df7b(0x493)](_0x278812),this;},'finalize':function(_0x44aa0d){const _0x3ec79d=_0x557456;var _0x13bbf3=this[_0x3ec79d(0x1ac)],_0x31392e=_0x13bbf3[_0x3ec79d(0x408)](_0x44aa0d);_0x13bbf3[_0x3ec79d(0x44c)]();var _0xab013=_0x13bbf3[_0x3ec79d(0x408)](this[_0x3ec79d(0x5c4)]['clone']()[_0x3ec79d(0x213)](_0x31392e));return _0xab013;}});}());}));}(dt)),dt[_0x11335f(0x359)];}var qt;function _0xe852(_0x5197e7,_0x1a051a){const _0x47dd08=_0x47dd();return _0xe852=function(_0xe85220,_0x5b135c){_0xe85220=_0xe85220-0x16d;let _0xc5fd11=_0x47dd08[_0xe85220];return _0xc5fd11;},_0xe852(_0x5197e7,_0x1a051a);}function Dn(){const _0x5b3a0a=_0x54516d;return qt||(qt=0x1,function(_0x471de7,_0xafe8bc){(function(_0xf3be6c,_0x2c03c8,_0x1d2263){const _0x3d89e1=_0xe852;_0x471de7[_0x3d89e1(0x359)]=_0x2c03c8(oe(),cr(),lr());}(X,function(_0x4c6570){const _0x59c4e0=_0xe852;return(function(){const _0x32a8f9=_0xe852;var _0x64d339=_0x4c6570,_0x2316ce=_0x64d339[_0x32a8f9(0x394)],_0x535ccc=_0x2316ce[_0x32a8f9(0x5b4)],_0x5eee94=_0x2316ce[_0x32a8f9(0x516)],_0x446cdc=_0x64d339['algo'],_0x28fb4f=_0x446cdc[_0x32a8f9(0x2b0)],_0x20ffcf=_0x446cdc[_0x32a8f9(0x43a)]=_0x535ccc['extend']({'cfg':_0x535ccc[_0x32a8f9(0x16e)]({'keySize':0x80/0x20,'hasher':_0x28fb4f,'iterations':0x1}),'init':function(_0x28edf7){const _0x37796f=_0x32a8f9;this[_0x37796f(0x57f)]=this['cfg'][_0x37796f(0x16e)](_0x28edf7);},'compute':function(_0x29039e,_0x1abc76){const _0xe26c3=_0x32a8f9;for(var _0x1343d8,_0x434813=this[_0xe26c3(0x57f)],_0x398ad3=_0x434813[_0xe26c3(0x436)][_0xe26c3(0x466)](),_0x3e9042=_0x5eee94[_0xe26c3(0x466)](),_0x58c7af=_0x3e9042[_0xe26c3(0x407)],_0x16ed1c=_0x434813['keySize'],_0x1c8cea=_0x434813[_0xe26c3(0x563)];_0x58c7af[_0xe26c3(0x5e8)]<_0x16ed1c;){_0x1343d8&&_0x398ad3['update'](_0x1343d8),_0x1343d8=_0x398ad3['update'](_0x29039e)[_0xe26c3(0x408)](_0x1abc76),_0x398ad3['reset']();for(var _0x3fc2b3=0x1;_0x3fc2b3<_0x1c8cea;_0x3fc2b3++)_0x1343d8=_0x398ad3[_0xe26c3(0x408)](_0x1343d8),_0x398ad3['reset']();_0x3e9042[_0xe26c3(0x213)](_0x1343d8);}return _0x3e9042[_0xe26c3(0x19a)]=_0x16ed1c*0x4,_0x3e9042;}});_0x64d339['EvpKDF']=function(_0x32ad37,_0x421c04,_0x179be3){const _0x57caff=_0x32a8f9;return _0x20ffcf[_0x57caff(0x466)](_0x179be3)[_0x57caff(0x483)](_0x32ad37,_0x421c04);};}()),_0x4c6570[_0x59c4e0(0x43a)];}));}(_t)),_t[_0x5b3a0a(0x359)];}var ft={'exports':{}},zt;function wn(){const _0x514574=_0x54516d;return zt||(zt=0x1,function(_0x7ea10b,_0x278245){(function(_0xbd12be,_0xa895cd,_0x81b24){_0x7ea10b['exports']=_0xa895cd(oe(),Dn());}(X,function(_0xe1af34){const _0x235ac6=_0xe852;_0xe1af34[_0x235ac6(0x394)][_0x235ac6(0x1c6)]||function(_0x370d5a){const _0x401151=_0x235ac6;var _0x21a02d=_0xe1af34,_0x1d7046=_0x21a02d[_0x401151(0x394)],_0x259a1e=_0x1d7046[_0x401151(0x5b4)],_0x72af35=_0x1d7046[_0x401151(0x516)],_0x461f94=_0x1d7046['BufferedBlockAlgorithm'],_0x4b5f63=_0x21a02d[_0x401151(0x34b)];_0x4b5f63[_0x401151(0x31b)];var _0x26a6e8=_0x4b5f63['Base64'],_0x5010c3=_0x21a02d[_0x401151(0x247)],_0x3d542e=_0x5010c3['EvpKDF'],_0x546367=_0x1d7046['Cipher']=_0x461f94[_0x401151(0x16e)]({'cfg':_0x259a1e[_0x401151(0x16e)](),'createEncryptor':function(_0x13b4bd,_0x2e5464){const _0x466235=_0x401151;return this['create'](this[_0x466235(0x246)],_0x13b4bd,_0x2e5464);},'createDecryptor':function(_0x36d31b,_0x2a8bda){const _0x5ef80a=_0x401151;return this[_0x5ef80a(0x466)](this[_0x5ef80a(0x3e2)],_0x36d31b,_0x2a8bda);},'init':function(_0x5c23f4,_0x8e79b2,_0x194ff8){const _0x3edaaa=_0x401151;this[_0x3edaaa(0x57f)]=this['cfg'][_0x3edaaa(0x16e)](_0x194ff8),this[_0x3edaaa(0x2e7)]=_0x5c23f4,this[_0x3edaaa(0x487)]=_0x8e79b2,this[_0x3edaaa(0x44c)]();},'reset':function(){const _0x4333d3=_0x401151;_0x461f94[_0x4333d3(0x44c)][_0x4333d3(0x2a5)](this),this['_doReset']();},'process':function(_0x2c0bb1){const _0x97b366=_0x401151;return this[_0x97b366(0x597)](_0x2c0bb1),this[_0x97b366(0x606)]();},'finalize':function(_0x316213){const _0x4fae13=_0x401151;_0x316213&&this[_0x4fae13(0x597)](_0x316213);var _0x257db8=this[_0x4fae13(0x1ed)]();return _0x257db8;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x3b083b(_0x4e2cf6){return typeof _0x4e2cf6=='string'?_0x43d522:_0x2148ec;}return function(_0x347347){return{'encrypt':function(_0x46872a,_0x3902c9,_0xa73e22){const _0x5cadc4=_0xe852;return _0x3b083b(_0x3902c9)[_0x5cadc4(0x24e)](_0x347347,_0x46872a,_0x3902c9,_0xa73e22);},'decrypt':function(_0x588a7f,_0x374e18,_0x240859){const _0x358992=_0xe852;return _0x3b083b(_0x374e18)[_0x358992(0x23f)](_0x347347,_0x588a7f,_0x374e18,_0x240859);}};};}())});_0x1d7046[_0x401151(0x4ce)]=_0x546367[_0x401151(0x16e)]({'_doFinalize':function(){var _0x5b35ff=this['_process'](!0x0);return _0x5b35ff;},'blockSize':0x1});var _0x314af1=_0x21a02d[_0x401151(0x449)]={},_0x252979=_0x1d7046[_0x401151(0x19d)]=_0x259a1e[_0x401151(0x16e)]({'createEncryptor':function(_0x4b818d,_0x27f0d6){const _0x5e19a8=_0x401151;return this[_0x5e19a8(0x277)][_0x5e19a8(0x466)](_0x4b818d,_0x27f0d6);},'createDecryptor':function(_0x3da957,_0x1be46a){const _0x246f29=_0x401151;return this[_0x246f29(0x23d)]['create'](_0x3da957,_0x1be46a);},'init':function(_0x37b11a,_0x428316){const _0x197bc4=_0x401151;this['_cipher']=_0x37b11a,this[_0x197bc4(0x34e)]=_0x428316;}}),_0x2f4fc7=_0x314af1[_0x401151(0x2cb)]=(function(){const _0x353d04=_0x401151;var _0x36404d=_0x252979[_0x353d04(0x16e)]();_0x36404d[_0x353d04(0x277)]=_0x36404d['extend']({'processBlock':function(_0x5689ff,_0x2584aa){const _0x5e06ad=_0x353d04;var _0x3dc3e4=this[_0x5e06ad(0x5bf)],_0x26168e=_0x3dc3e4[_0x5e06ad(0x5d1)];_0x555bb2[_0x5e06ad(0x2a5)](this,_0x5689ff,_0x2584aa,_0x26168e),_0x3dc3e4[_0x5e06ad(0x339)](_0x5689ff,_0x2584aa),this[_0x5e06ad(0x527)]=_0x5689ff[_0x5e06ad(0x4f1)](_0x2584aa,_0x2584aa+_0x26168e);}}),_0x36404d[_0x353d04(0x23d)]=_0x36404d[_0x353d04(0x16e)]({'processBlock':function(_0x467f61,_0x5b36a3){const _0x2afc74=_0x353d04;var _0x5e8b98=this[_0x2afc74(0x5bf)],_0x211aaa=_0x5e8b98['blockSize'],_0x2adbd7=_0x467f61[_0x2afc74(0x4f1)](_0x5b36a3,_0x5b36a3+_0x211aaa);_0x5e8b98['decryptBlock'](_0x467f61,_0x5b36a3),_0x555bb2['call'](this,_0x467f61,_0x5b36a3,_0x211aaa),this['_prevBlock']=_0x2adbd7;}});function _0x555bb2(_0x2b2a20,_0x3c55db,_0x394a4f){const _0x232121=_0x353d04;var _0xd5bc7,_0x3f585d=this[_0x232121(0x34e)];_0x3f585d?(_0xd5bc7=_0x3f585d,this[_0x232121(0x34e)]=_0x370d5a):_0xd5bc7=this[_0x232121(0x527)];for(var _0x5a10f3=0x0;_0x5a10f3<_0x394a4f;_0x5a10f3++)_0x2b2a20[_0x3c55db+_0x5a10f3]^=_0xd5bc7[_0x5a10f3];}return _0x36404d;}()),_0x50c683=_0x21a02d['pad']={},_0x1e3491=_0x50c683['Pkcs7']={'pad':function(_0x4d0a68,_0xd481df){const _0x54d1d4=_0x401151;for(var _0x12468c=_0xd481df*0x4,_0x594e92=_0x12468c-_0x4d0a68[_0x54d1d4(0x19a)]%_0x12468c,_0x5b9e41=_0x594e92<<0x18|_0x594e92<<0x10|_0x594e92<<0x8|_0x594e92,_0x33eefe=[],_0xb01293=0x0;_0xb01293<_0x594e92;_0xb01293+=0x4)_0x33eefe[_0x54d1d4(0x26e)](_0x5b9e41);var _0x157ee3=_0x72af35[_0x54d1d4(0x466)](_0x33eefe,_0x594e92);_0x4d0a68[_0x54d1d4(0x213)](_0x157ee3);},'unpad':function(_0x12a2a6){const _0x4a5a34=_0x401151;var _0x44e5f6=_0x12a2a6[_0x4a5a34(0x407)][_0x12a2a6[_0x4a5a34(0x19a)]-0x1>>>0x2]&0xff;_0x12a2a6[_0x4a5a34(0x19a)]-=_0x44e5f6;}};_0x1d7046['BlockCipher']=_0x546367[_0x401151(0x16e)]({'cfg':_0x546367['cfg'][_0x401151(0x16e)]({'mode':_0x2f4fc7,'padding':_0x1e3491}),'reset':function(){const _0x4231c6=_0x401151;var _0x5d8a18;_0x546367[_0x4231c6(0x44c)]['call'](this);var _0x305ff2=this[_0x4231c6(0x57f)],_0x274bee=_0x305ff2['iv'],_0x12370a=_0x305ff2['mode'];this[_0x4231c6(0x2e7)]==this[_0x4231c6(0x246)]?_0x5d8a18=_0x12370a[_0x4231c6(0x3c6)]:(_0x5d8a18=_0x12370a['createDecryptor'],this[_0x4231c6(0x22f)]=0x1),this[_0x4231c6(0x26d)]&&this[_0x4231c6(0x26d)][_0x4231c6(0x291)]==_0x5d8a18?this[_0x4231c6(0x26d)][_0x4231c6(0x4eb)](this,_0x274bee&&_0x274bee[_0x4231c6(0x407)]):(this[_0x4231c6(0x26d)]=_0x5d8a18[_0x4231c6(0x2a5)](_0x12370a,this,_0x274bee&&_0x274bee[_0x4231c6(0x407)]),this[_0x4231c6(0x26d)][_0x4231c6(0x291)]=_0x5d8a18);},'_doProcessBlock':function(_0x18166c,_0x1da143){this['_mode']['processBlock'](_0x18166c,_0x1da143);},'_doFinalize':function(){const _0x1d41f8=_0x401151;var _0x353672,_0x27968b=this[_0x1d41f8(0x57f)][_0x1d41f8(0x464)];return this['_xformMode']==this[_0x1d41f8(0x246)]?(_0x27968b[_0x1d41f8(0x327)](this[_0x1d41f8(0x578)],this[_0x1d41f8(0x5d1)]),_0x353672=this[_0x1d41f8(0x606)](!0x0)):(_0x353672=this[_0x1d41f8(0x606)](!0x0),_0x27968b['unpad'](_0x353672)),_0x353672;},'blockSize':0x80/0x20});var _0x530b02=_0x1d7046[_0x401151(0x46d)]=_0x259a1e[_0x401151(0x16e)]({'init':function(_0xa12628){const _0x3a16d2=_0x401151;this[_0x3a16d2(0x195)](_0xa12628);},'toString':function(_0x5470ab){const _0x1e31a4=_0x401151;return(_0x5470ab||this['formatter'])[_0x1e31a4(0x4c1)](this);}}),_0x44232b=_0x21a02d[_0x401151(0x378)]={},_0xc6a092=_0x44232b['OpenSSL']={'stringify':function(_0x3fcd0f){const _0x2828f3=_0x401151;var _0x37147b,_0x412d01=_0x3fcd0f['ciphertext'],_0x197de2=_0x3fcd0f['salt'];return _0x197de2?_0x37147b=_0x72af35[_0x2828f3(0x466)]([0x53616c74,0x65645f5f])[_0x2828f3(0x213)](_0x197de2)[_0x2828f3(0x213)](_0x412d01):_0x37147b=_0x412d01,_0x37147b[_0x2828f3(0x481)](_0x26a6e8);},'parse':function(_0x214159){const _0x51251a=_0x401151;var _0xe8d919,_0x3bad4c=_0x26a6e8[_0x51251a(0x2a0)](_0x214159),_0x5ceca8=_0x3bad4c['words'];return _0x5ceca8[0x0]==0x53616c74&&_0x5ceca8[0x1]==0x65645f5f&&(_0xe8d919=_0x72af35[_0x51251a(0x466)](_0x5ceca8['slice'](0x2,0x4)),_0x5ceca8[_0x51251a(0x4a2)](0x0,0x4),_0x3bad4c[_0x51251a(0x19a)]-=0x10),_0x530b02[_0x51251a(0x466)]({'ciphertext':_0x3bad4c,'salt':_0xe8d919});}},_0x2148ec=_0x1d7046[_0x401151(0x1f1)]=_0x259a1e['extend']({'cfg':_0x259a1e[_0x401151(0x16e)]({'format':_0xc6a092}),'encrypt':function(_0x33d991,_0x1f5b49,_0xf375a9,_0x1ca3b7){const _0x3b3d26=_0x401151;_0x1ca3b7=this['cfg'][_0x3b3d26(0x16e)](_0x1ca3b7);var _0x3cd2a2=_0x33d991[_0x3b3d26(0x3c6)](_0xf375a9,_0x1ca3b7),_0x45203c=_0x3cd2a2[_0x3b3d26(0x408)](_0x1f5b49),_0x492be2=_0x3cd2a2['cfg'];return _0x530b02[_0x3b3d26(0x466)]({'ciphertext':_0x45203c,'key':_0xf375a9,'iv':_0x492be2['iv'],'algorithm':_0x33d991,'mode':_0x492be2[_0x3b3d26(0x449)],'padding':_0x492be2[_0x3b3d26(0x464)],'blockSize':_0x33d991['blockSize'],'formatter':_0x1ca3b7[_0x3b3d26(0x378)]});},'decrypt':function(_0x52889b,_0x49609d,_0x2d4457,_0x3e04f7){const _0x4f6621=_0x401151;_0x3e04f7=this[_0x4f6621(0x57f)][_0x4f6621(0x16e)](_0x3e04f7),_0x49609d=this[_0x4f6621(0x4e3)](_0x49609d,_0x3e04f7[_0x4f6621(0x378)]);var _0x811b47=_0x52889b[_0x4f6621(0x504)](_0x2d4457,_0x3e04f7)[_0x4f6621(0x408)](_0x49609d[_0x4f6621(0x258)]);return _0x811b47;},'_parse':function(_0x192f82,_0x1cef7b){const _0x373de8=_0x401151;return typeof _0x192f82==_0x373de8(0x3aa)?_0x1cef7b[_0x373de8(0x2a0)](_0x192f82,this):_0x192f82;}}),_0x5a8780=_0x21a02d[_0x401151(0x347)]={},_0x1dc3fe=_0x5a8780[_0x401151(0x304)]={'execute':function(_0xe63901,_0x4c6165,_0x5dc1db,_0xa21e9a,_0x191e6d){const _0x4996b5=_0x401151;if(_0xa21e9a||(_0xa21e9a=_0x72af35[_0x4996b5(0x35c)](0x40/0x8)),_0x191e6d)var _0x2997dd=_0x3d542e[_0x4996b5(0x466)]({'keySize':_0x4c6165+_0x5dc1db,'hasher':_0x191e6d})[_0x4996b5(0x483)](_0xe63901,_0xa21e9a);else var _0x2997dd=_0x3d542e[_0x4996b5(0x466)]({'keySize':_0x4c6165+_0x5dc1db})[_0x4996b5(0x483)](_0xe63901,_0xa21e9a);var _0x4e4196=_0x72af35['create'](_0x2997dd[_0x4996b5(0x407)][_0x4996b5(0x4f1)](_0x4c6165),_0x5dc1db*0x4);return _0x2997dd[_0x4996b5(0x19a)]=_0x4c6165*0x4,_0x530b02[_0x4996b5(0x466)]({'key':_0x2997dd,'iv':_0x4e4196,'salt':_0xa21e9a});}},_0x43d522=_0x1d7046[_0x401151(0x252)]=_0x2148ec['extend']({'cfg':_0x2148ec[_0x401151(0x57f)][_0x401151(0x16e)]({'kdf':_0x1dc3fe}),'encrypt':function(_0x53ce4c,_0x2d8502,_0x321237,_0x5ee45f){const _0x3e95a6=_0x401151;_0x5ee45f=this['cfg'][_0x3e95a6(0x16e)](_0x5ee45f);var _0x55e985=_0x5ee45f['kdf'][_0x3e95a6(0x353)](_0x321237,_0x53ce4c[_0x3e95a6(0x2c7)],_0x53ce4c[_0x3e95a6(0x458)],_0x5ee45f['salt'],_0x5ee45f['hasher']);_0x5ee45f['iv']=_0x55e985['iv'];var _0x124727=_0x2148ec[_0x3e95a6(0x24e)][_0x3e95a6(0x2a5)](this,_0x53ce4c,_0x2d8502,_0x55e985['key'],_0x5ee45f);return _0x124727[_0x3e95a6(0x195)](_0x55e985),_0x124727;},'decrypt':function(_0x503065,_0x1156e1,_0x5461f7,_0x530ade){const _0x2ae8f=_0x401151;_0x530ade=this[_0x2ae8f(0x57f)][_0x2ae8f(0x16e)](_0x530ade),_0x1156e1=this[_0x2ae8f(0x4e3)](_0x1156e1,_0x530ade[_0x2ae8f(0x378)]);var _0x1dd39e=_0x530ade[_0x2ae8f(0x347)][_0x2ae8f(0x353)](_0x5461f7,_0x503065[_0x2ae8f(0x2c7)],_0x503065[_0x2ae8f(0x458)],_0x1156e1['salt'],_0x530ade['hasher']);_0x530ade['iv']=_0x1dd39e['iv'];var _0x16daa3=_0x2148ec[_0x2ae8f(0x23f)][_0x2ae8f(0x2a5)](this,_0x503065,_0x1156e1,_0x1dd39e[_0x2ae8f(0x5f3)],_0x530ade);return _0x16daa3;}});}();}));}(ft)),ft[_0x514574(0x359)];}(function(_0x50269b,_0x1b40e7){(function(_0x246088,_0x3bb811,_0x43f294){const _0x3d2bfb=_0xe852;_0x50269b[_0x3d2bfb(0x359)]=_0x3bb811(oe(),On(),ar(),Dn(),wn());}(X,function(_0x11ef27){const _0x543d3e=_0xe852;return(function(){const _0x11e8cd=_0xe852;var _0x2bc991=_0x11ef27,_0xee84f6=_0x2bc991[_0x11e8cd(0x394)],_0x3747be=_0xee84f6['BlockCipher'],_0x5e0147=_0x2bc991[_0x11e8cd(0x247)],_0x4e7a91=[],_0x3a4053=[],_0x34578a=[],_0x2bc9c5=[],_0x150fc0=[],_0x5dee5f=[],_0xb7930f=[],_0x43c98e=[],_0x3d55dd=[],_0x1de4ae=[];(function(){for(var _0x174270=[],_0xa94c75=0x0;_0xa94c75<0x100;_0xa94c75++)_0xa94c75<0x80?_0x174270[_0xa94c75]=_0xa94c75<<0x1:_0x174270[_0xa94c75]=_0xa94c75<<0x1^0x11b;for(var _0x29923b=0x0,_0x230b62=0x0,_0xa94c75=0x0;_0xa94c75<0x100;_0xa94c75++){var _0x3502e8=_0x230b62^_0x230b62<<0x1^_0x230b62<<0x2^_0x230b62<<0x3^_0x230b62<<0x4;_0x3502e8=_0x3502e8>>>0x8^_0x3502e8&0xff^0x63,_0x4e7a91[_0x29923b]=_0x3502e8,_0x3a4053[_0x3502e8]=_0x29923b;var _0xa9896d=_0x174270[_0x29923b],_0x56691e=_0x174270[_0xa9896d],_0x4dd4db=_0x174270[_0x56691e],_0x1c3add=_0x174270[_0x3502e8]*0x101^_0x3502e8*0x1010100;_0x34578a[_0x29923b]=_0x1c3add<<0x18|_0x1c3add>>>0x8,_0x2bc9c5[_0x29923b]=_0x1c3add<<0x10|_0x1c3add>>>0x10,_0x150fc0[_0x29923b]=_0x1c3add<<0x8|_0x1c3add>>>0x18,_0x5dee5f[_0x29923b]=_0x1c3add;var _0x1c3add=_0x4dd4db*0x1010101^_0x56691e*0x10001^_0xa9896d*0x101^_0x29923b*0x1010100;_0xb7930f[_0x3502e8]=_0x1c3add<<0x18|_0x1c3add>>>0x8,_0x43c98e[_0x3502e8]=_0x1c3add<<0x10|_0x1c3add>>>0x10,_0x3d55dd[_0x3502e8]=_0x1c3add<<0x8|_0x1c3add>>>0x18,_0x1de4ae[_0x3502e8]=_0x1c3add,_0x29923b?(_0x29923b=_0xa9896d^_0x174270[_0x174270[_0x174270[_0x4dd4db^_0xa9896d]]],_0x230b62^=_0x174270[_0x174270[_0x230b62]]):_0x29923b=_0x230b62=0x1;}}());var _0x50ef10=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x423614=_0x5e0147[_0x11e8cd(0x29d)]=_0x3747be[_0x11e8cd(0x16e)]({'_doReset':function(){const _0x535679=_0x11e8cd;var _0x488810;if(!(this['_nRounds']&&this['_keyPriorReset']===this[_0x535679(0x487)])){for(var _0x4f9e73=this[_0x535679(0x23b)]=this['_key'],_0x3344c6=_0x4f9e73[_0x535679(0x407)],_0x539356=_0x4f9e73[_0x535679(0x19a)]/0x4,_0x2d7ae1=this['_nRounds']=_0x539356+0x6,_0x533dd5=(_0x2d7ae1+0x1)*0x4,_0x1533ae=this[_0x535679(0x365)]=[],_0x15d3b4=0x0;_0x15d3b4<_0x533dd5;_0x15d3b4++)_0x15d3b4<_0x539356?_0x1533ae[_0x15d3b4]=_0x3344c6[_0x15d3b4]:(_0x488810=_0x1533ae[_0x15d3b4-0x1],_0x15d3b4%_0x539356?_0x539356>0x6&&_0x15d3b4%_0x539356==0x4&&(_0x488810=_0x4e7a91[_0x488810>>>0x18]<<0x18|_0x4e7a91[_0x488810>>>0x10&0xff]<<0x10|_0x4e7a91[_0x488810>>>0x8&0xff]<<0x8|_0x4e7a91[_0x488810&0xff]):(_0x488810=_0x488810<<0x8|_0x488810>>>0x18,_0x488810=_0x4e7a91[_0x488810>>>0x18]<<0x18|_0x4e7a91[_0x488810>>>0x10&0xff]<<0x10|_0x4e7a91[_0x488810>>>0x8&0xff]<<0x8|_0x4e7a91[_0x488810&0xff],_0x488810^=_0x50ef10[_0x15d3b4/_0x539356|0x0]<<0x18),_0x1533ae[_0x15d3b4]=_0x1533ae[_0x15d3b4-_0x539356]^_0x488810);for(var _0x5aad25=this[_0x535679(0x3d7)]=[],_0xf05c18=0x0;_0xf05c18<_0x533dd5;_0xf05c18++){var _0x15d3b4=_0x533dd5-_0xf05c18;if(_0xf05c18%0x4)var _0x488810=_0x1533ae[_0x15d3b4];else var _0x488810=_0x1533ae[_0x15d3b4-0x4];_0xf05c18<0x4||_0x15d3b4<=0x4?_0x5aad25[_0xf05c18]=_0x488810:_0x5aad25[_0xf05c18]=_0xb7930f[_0x4e7a91[_0x488810>>>0x18]]^_0x43c98e[_0x4e7a91[_0x488810>>>0x10&0xff]]^_0x3d55dd[_0x4e7a91[_0x488810>>>0x8&0xff]]^_0x1de4ae[_0x4e7a91[_0x488810&0xff]];}}},'encryptBlock':function(_0x197a7b,_0x366016){const _0x304082=_0x11e8cd;this['_doCryptBlock'](_0x197a7b,_0x366016,this[_0x304082(0x365)],_0x34578a,_0x2bc9c5,_0x150fc0,_0x5dee5f,_0x4e7a91);},'decryptBlock':function(_0x5afdd4,_0xe25771){const _0xef585=_0x11e8cd;var _0x4aed1e=_0x5afdd4[_0xe25771+0x1];_0x5afdd4[_0xe25771+0x1]=_0x5afdd4[_0xe25771+0x3],_0x5afdd4[_0xe25771+0x3]=_0x4aed1e,this[_0xef585(0x3ed)](_0x5afdd4,_0xe25771,this['_invKeySchedule'],_0xb7930f,_0x43c98e,_0x3d55dd,_0x1de4ae,_0x3a4053);var _0x4aed1e=_0x5afdd4[_0xe25771+0x1];_0x5afdd4[_0xe25771+0x1]=_0x5afdd4[_0xe25771+0x3],_0x5afdd4[_0xe25771+0x3]=_0x4aed1e;},'_doCryptBlock':function(_0x292923,_0x51efff,_0x48d273,_0x48ae19,_0x39ed2b,_0x483405,_0xa1f691,_0x1eb52c){const _0x5a5e15=_0x11e8cd;for(var _0x195389=this[_0x5a5e15(0x57b)],_0x127cb9=_0x292923[_0x51efff]^_0x48d273[0x0],_0x1058cd=_0x292923[_0x51efff+0x1]^_0x48d273[0x1],_0x180f4a=_0x292923[_0x51efff+0x2]^_0x48d273[0x2],_0x3889bd=_0x292923[_0x51efff+0x3]^_0x48d273[0x3],_0x168e71=0x4,_0x4b64c4=0x1;_0x4b64c4<_0x195389;_0x4b64c4++){var _0x3f04d7=_0x48ae19[_0x127cb9>>>0x18]^_0x39ed2b[_0x1058cd>>>0x10&0xff]^_0x483405[_0x180f4a>>>0x8&0xff]^_0xa1f691[_0x3889bd&0xff]^_0x48d273[_0x168e71++],_0x6e06d8=_0x48ae19[_0x1058cd>>>0x18]^_0x39ed2b[_0x180f4a>>>0x10&0xff]^_0x483405[_0x3889bd>>>0x8&0xff]^_0xa1f691[_0x127cb9&0xff]^_0x48d273[_0x168e71++],_0x50c08a=_0x48ae19[_0x180f4a>>>0x18]^_0x39ed2b[_0x3889bd>>>0x10&0xff]^_0x483405[_0x127cb9>>>0x8&0xff]^_0xa1f691[_0x1058cd&0xff]^_0x48d273[_0x168e71++],_0x26a9a5=_0x48ae19[_0x3889bd>>>0x18]^_0x39ed2b[_0x127cb9>>>0x10&0xff]^_0x483405[_0x1058cd>>>0x8&0xff]^_0xa1f691[_0x180f4a&0xff]^_0x48d273[_0x168e71++];_0x127cb9=_0x3f04d7,_0x1058cd=_0x6e06d8,_0x180f4a=_0x50c08a,_0x3889bd=_0x26a9a5;}var _0x3f04d7=(_0x1eb52c[_0x127cb9>>>0x18]<<0x18|_0x1eb52c[_0x1058cd>>>0x10&0xff]<<0x10|_0x1eb52c[_0x180f4a>>>0x8&0xff]<<0x8|_0x1eb52c[_0x3889bd&0xff])^_0x48d273[_0x168e71++],_0x6e06d8=(_0x1eb52c[_0x1058cd>>>0x18]<<0x18|_0x1eb52c[_0x180f4a>>>0x10&0xff]<<0x10|_0x1eb52c[_0x3889bd>>>0x8&0xff]<<0x8|_0x1eb52c[_0x127cb9&0xff])^_0x48d273[_0x168e71++],_0x50c08a=(_0x1eb52c[_0x180f4a>>>0x18]<<0x18|_0x1eb52c[_0x3889bd>>>0x10&0xff]<<0x10|_0x1eb52c[_0x127cb9>>>0x8&0xff]<<0x8|_0x1eb52c[_0x1058cd&0xff])^_0x48d273[_0x168e71++],_0x26a9a5=(_0x1eb52c[_0x3889bd>>>0x18]<<0x18|_0x1eb52c[_0x127cb9>>>0x10&0xff]<<0x10|_0x1eb52c[_0x1058cd>>>0x8&0xff]<<0x8|_0x1eb52c[_0x180f4a&0xff])^_0x48d273[_0x168e71++];_0x292923[_0x51efff]=_0x3f04d7,_0x292923[_0x51efff+0x1]=_0x6e06d8,_0x292923[_0x51efff+0x2]=_0x50c08a,_0x292923[_0x51efff+0x3]=_0x26a9a5;},'keySize':0x100/0x20});_0x2bc991[_0x11e8cd(0x29d)]=_0x3747be[_0x11e8cd(0x568)](_0x423614);}()),_0x11ef27[_0x543d3e(0x29d)];}));}(yn));var hr=yn[_0x54516d(0x359)];const _r=xe(hr);var ur=On();const Xt=xe(ur);var Pn={'exports':{}};(function(_0xe58ce3,_0x4a8386){(function(_0x5ae58c,_0x428e81){_0xe58ce3['exports']=_0x428e81(oe());}(X,function(_0x481b08){const _0x5da5c3=_0xe852;return _0x481b08[_0x5da5c3(0x34b)][_0x5da5c3(0x31b)];}));}(Pn));var dr=Pn['exports'];const fr=xe(dr);var Un={'exports':{}};(function(_0x44ef02,_0x1de64d){(function(_0x5c3fa6,_0x30d0f3){const _0x34d6c8=_0xe852;_0x44ef02[_0x34d6c8(0x359)]=_0x30d0f3(oe());}(X,function(_0x54df41){const _0x418a6a=_0xe852;return(function(){const _0x269e73=_0xe852;if(typeof ArrayBuffer=='function'){var _0x320b94=_0x54df41,_0x5ca9ce=_0x320b94['lib'],_0x3c1a2f=_0x5ca9ce[_0x269e73(0x516)],_0x231ca2=_0x3c1a2f['init'],_0x3c603a=_0x3c1a2f[_0x269e73(0x4eb)]=function(_0x5c4ca6){const _0x6a6d7d=_0x269e73;if(_0x5c4ca6 instanceof ArrayBuffer&&(_0x5c4ca6=new Uint8Array(_0x5c4ca6)),(_0x5c4ca6 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x5c4ca6 instanceof Uint8ClampedArray||_0x5c4ca6 instanceof Int16Array||_0x5c4ca6 instanceof Uint16Array||_0x5c4ca6 instanceof Int32Array||_0x5c4ca6 instanceof Uint32Array||_0x5c4ca6 instanceof Float32Array||_0x5c4ca6 instanceof Float64Array)&&(_0x5c4ca6=new Uint8Array(_0x5c4ca6[_0x6a6d7d(0x4ed)],_0x5c4ca6[_0x6a6d7d(0x1cb)],_0x5c4ca6['byteLength'])),_0x5c4ca6 instanceof Uint8Array){for(var _0x5a3e13=_0x5c4ca6[_0x6a6d7d(0x40c)],_0x299e34=[],_0x2a5813=0x0;_0x2a5813<_0x5a3e13;_0x2a5813++)_0x299e34[_0x2a5813>>>0x2]|=_0x5c4ca6[_0x2a5813]<<0x18-_0x2a5813%0x4*0x8;_0x231ca2['call'](this,_0x299e34,_0x5a3e13);}else _0x231ca2['apply'](this,arguments);};_0x3c603a['prototype']=_0x3c1a2f;}}()),_0x54df41['lib'][_0x418a6a(0x516)];}));}(Un));var vr=Un['exports'];const mr=xe(vr);var Mn={'exports':{}};(function(_0x495364,_0x1ac734){(function(_0x52caba,_0x1f24b8,_0x2b1c12){_0x495364['exports']=_0x1f24b8(oe(),wn());}(X,function(_0x23f996){const _0x3ef408=_0xe852;return _0x23f996[_0x3ef408(0x327)][_0x3ef408(0x253)]={'pad':function(){},'unpad':function(){}},_0x23f996[_0x3ef408(0x327)][_0x3ef408(0x253)];}));}(Mn));var Sr=Mn['exports'];const pr=xe(Sr);function gr(_0x2fe696,_0x473b5b){const _0xafb3c1=_0x54516d,_0x51bb94=_0x473b5b-_0x2fe696[_0xafb3c1(0x5e8)]%_0x473b5b,_0x1428e9=String[_0xafb3c1(0x5ca)](_0x51bb94)[_0xafb3c1(0x2f4)](_0x51bb94);return _0x2fe696+_0x1428e9;}function Ir(_0x23f25d,_0x32745c){const _0x1032f1=_0x54516d,_0x4f7321=mr[_0x1032f1(0x35c)](0x10),_0x54a69c=gr(_0x23f25d,0x10),_0x35d5b5=_r['encrypt'](fr[_0x1032f1(0x2a0)](_0x54a69c),Xt[_0x1032f1(0x2a0)](_0x32745c),{'iv':_0x4f7321,'padding':pr});return _0x4f7321[_0x1032f1(0x213)](_0x35d5b5['ciphertext'])[_0x1032f1(0x481)](Xt);}function Cr(){const _0x5bbb0c=_0x54516d,_0x8a0d0=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)['__Key__'];if(_0x8a0d0){const _0x1cf052={'time':Math[_0x5bbb0c(0x56b)](Date[_0x5bbb0c(0x331)]()/0x3e8),'domain':location[_0x5bbb0c(0x5fb)]};return Ir(JSON[_0x5bbb0c(0x4c1)](_0x1cf052),_0x8a0d0);}}var Er=Object[_0x54516d(0x461)],br=Object[_0x54516d(0x363)],Tr=(_0x1496b5,_0x4062fa,_0x33416d,_0x403f33)=>{for(var _0x26f8d9=_0x403f33>0x1?void 0x0:_0x403f33?br(_0x4062fa,_0x33416d):_0x4062fa,_0x317cde=_0x1496b5['length']-0x1,_0x2ad033;_0x317cde>=0x0;_0x317cde--)(_0x2ad033=_0x1496b5[_0x317cde])&&(_0x26f8d9=(_0x403f33?_0x2ad033(_0x4062fa,_0x33416d,_0x26f8d9):_0x2ad033(_0x26f8d9))||_0x26f8d9);return _0x403f33&&_0x26f8d9&&Er(_0x4062fa,_0x33416d,_0x26f8d9),_0x26f8d9;},Rr=(_0x585b31,_0xa6f8f2)=>(_0x23b0b0,_0x295f44)=>_0xa6f8f2(_0x23b0b0,_0x295f44,_0x585b31);let Ye=class{constructor(_0x2f88d8){const _0x535d01=_0x54516d;this[_0x535d01(0x248)]=_0x2f88d8,this[_0x535d01(0x17c)]();}['_initRequestHeader'](){const _0x46611d=_0x54516d;this[_0x46611d(0x248)][_0x46611d(0x220)]({'interceptor':(_0x119b73,_0x1ec094)=>{const _0x5ac8b7=_0x46611d,_0x4bc6f0=_0x119b73[_0x5ac8b7(0x4de)],_0x588114=Cr();return _0x588114&&_0x4bc6f0[_0x5ac8b7(0x36d)](_0x5ac8b7(0x17d),_0x588114),_0x1ec094(_0x119b73);}});}};Ye=Tr([Rr(0x0,a[_0x54516d(0x573)](Z[_0x54516d(0x180)]))],Ye);var yr=Object['defineProperty'],Or=Object['getOwnPropertyDescriptor'],Dr=(_0x5b0716,_0x524798,_0x2087fa,_0x2fab1a)=>{for(var _0x1da4f9=_0x2fab1a>0x1?void 0x0:_0x2fab1a?Or(_0x524798,_0x2087fa):_0x524798,_0x36d976=_0x5b0716['length']-0x1,_0x3a1d80;_0x36d976>=0x0;_0x36d976--)(_0x3a1d80=_0x5b0716[_0x36d976])&&(_0x1da4f9=(_0x2fab1a?_0x3a1d80(_0x524798,_0x2087fa,_0x1da4f9):_0x3a1d80(_0x1da4f9))||_0x1da4f9);return _0x2fab1a&&_0x1da4f9&&yr(_0x524798,_0x2087fa,_0x1da4f9),_0x1da4f9;},vt=(_0x1a01f2,_0x5443ef)=>(_0x22f667,_0x1bc154)=>_0x5443ef(_0x22f667,_0x1bc154,_0x1a01f2);const wr=[_0x54516d(0x2a4),_0x54516d(0x2e2),_0x54516d(0x445),_0x54516d(0x5a6),_0x54516d(0x57c)],Pr=0x5*0x400*0x400,Ur=_0x54516d(0x447),Mr=_0x54516d(0x1e6),Ar=_0x54516d(0x249),Nr='/universer-api/file/{fileID}/sign-url';exports[_0x54516d(0x293)]=class{constructor(_0x49729a,_0x2d0648,_0x767b0a){const _0x1cef29=_0x54516d;I(this,_0x1cef29(0x582),0x0),I(this,_0x1cef29(0x503),new A['Subject']()),I(this,_0x1cef29(0x30a),this[_0x1cef29(0x503)]),I(this,'_imageSourceCache',new Map()),(this['_httpService']=_0x49729a,this[_0x1cef29(0x2a3)]=_0x2d0648,this['_univerInstanceService']=_0x767b0a);}[_0x54516d(0x574)](_0x508b2d){const _0x41b2ed=_0x54516d;this[_0x41b2ed(0x582)]=_0x508b2d,this[_0x41b2ed(0x503)][_0x41b2ed(0x4bd)](_0x508b2d);}[_0x54516d(0x3b0)](_0x300ade,_0x874209){const _0x16834c=_0x54516d;if(_0x874209===ne[_0x16834c(0x1b6)]['BASE64']){const _0x163d43=new Image();return _0x163d43['src']=_0x300ade,_0x163d43;}return this['_imageSourceCache'][_0x16834c(0x3b1)](_0x300ade);}[_0x54516d(0x1e1)](_0x24bff5,_0xd230c,_0x5ae9c5){const _0x273456=_0x54516d;_0xd230c===ne[_0x273456(0x1b6)]['BASE64']||_0x5ae9c5==null||this[_0x273456(0x620)][_0x273456(0x36d)](_0x24bff5,_0x5ae9c5);}async[_0x54516d(0x4c3)](_0x1b84a8){const _0x1b8eb6=_0x54516d;try{const _0x47aa34=this['_replaceFileID'](this[_0x1b8eb6(0x4cf)](),''+_0x1b84a8),_0xd2699=(await this[_0x1b8eb6(0x248)][_0x1b8eb6(0x3b1)](_0x47aa34))[_0x1b8eb6(0x4ba)];if(_0xd2699['error']&&_0xd2699['error'][_0x1b8eb6(0x27c)]===cn['OK']){const _0x16bbcb=new URL(_0xd2699['url'],this[_0x1b8eb6(0x60b)]())[_0x1b8eb6(0x481)]();return Promise[_0x1b8eb6(0x3c9)](_0x16bbcb);}return Promise['reject'](_0xd2699[_0x1b8eb6(0x29f)]);}catch(_0x3f4a16){return Promise[_0x1b8eb6(0x1e2)](_0x3f4a16);}}async[_0x54516d(0x56f)](_0xc877ab){const _0x2bef55=_0x54516d;let _0x4b4687='';if(!wr['includes'](_0xc877ab[_0x2bef55(0x242)]))return this[_0x2bef55(0x42b)](),Promise[_0x2bef55(0x1e2)](new Error(ne[_0x2bef55(0x2cf)][_0x2bef55(0x60f)]));if(_0xc877ab['size']>Pr)return this[_0x2bef55(0x42b)](),Promise[_0x2bef55(0x1e2)](new Error(ne[_0x2bef55(0x2cf)][_0x2bef55(0x432)]));try{const _0x5e321b=new FormData();_0x5e321b[_0x2bef55(0x300)](_0x2bef55(0x34f),_0xc877ab);const _0x4fa54c=this[_0x2bef55(0x228)][_0x2bef55(0x310)](),_0x4b25c3=_0x4fa54c==null?void 0x0:_0x4fa54c[_0x2bef55(0x2c5)]();if(!_0x4b25c3)throw new Error(_0x2bef55(0x2b8));const _0x120f64=this[_0x2bef55(0x5a0)]()+_0x2bef55(0x4af)+_0xc877ab[_0x2bef55(0x5c0)][_0x2bef55(0x481)]()+_0x2bef55(0x2ab)+ln[_0x2bef55(0x3a0)]+'&assign='+encodeURIComponent(_0x4b25c3),_0x49f9b0=await(await fetch(_0x120f64,{'method':_0x2bef55(0x4d0),'body':_0x5e321b}))[_0x2bef55(0x322)]();if(typeof _0x49f9b0[_0x2bef55(0x1c9)]!=_0x2bef55(0x3aa))return this[_0x2bef55(0x42b)](),Promise[_0x2bef55(0x1e2)](new Error(ne[_0x2bef55(0x2cf)][_0x2bef55(0x245)]));_0x4b4687=_0x49f9b0[_0x2bef55(0x1c9)];}catch{return this[_0x2bef55(0x42b)](),Promise[_0x2bef55(0x1e2)](new Error(ne[_0x2bef55(0x2cf)][_0x2bef55(0x245)]));}return new Promise((_0x5488e9,_0x3461fd)=>{const _0x40038b=_0x2bef55,_0x30f66e=new FileReader();_0x30f66e[_0x40038b(0x348)](_0xc877ab),_0x30f66e[_0x40038b(0x558)]=_0x3df07b=>{const _0x48813c=_0x40038b;var _0x3aa61d;const _0x54efaa=(_0x3aa61d=_0x3df07b[_0x48813c(0x267)])==null?void 0x0:_0x3aa61d[_0x48813c(0x3b3)];if(_0x54efaa==null){this[_0x48813c(0x42b)](),_0x3461fd(new Error(ne[_0x48813c(0x2cf)]['ERROR_IMAGE']));return;}const _0x2ed576=a[_0x48813c(0x3eb)][_0x48813c(0x3a3)](0x6);_0x5488e9({'imageId':_0x2ed576,'imageSourceType':ne[_0x48813c(0x1b6)]['UUID'],'source':_0x4b4687,'base64Cache':_0x54efaa,'status':ne['ImageUploadStatusType'][_0x48813c(0x48e)]}),this[_0x48813c(0x42b)]();};});}[_0x54516d(0x5a0)](){const _0x1c39f8=_0x54516d;var _0x14b908,_0x3ef68d;const _0x53dac4=this[_0x1c39f8(0x2a3)][_0x1c39f8(0x21d)](Ur),_0x4aed7e=this[_0x1c39f8(0x2a3)][_0x1c39f8(0x21d)](te);return(_0x3ef68d=(_0x14b908=_0x4aed7e==null?void 0x0:_0x4aed7e['uploadFileServerUrl'])!=null?_0x14b908:_0x53dac4)!=null?_0x3ef68d:Mr;}[_0x54516d(0x4cf)](){const _0x566cb6=_0x54516d;var _0x5e9376,_0xd341e;const _0x381430=this[_0x566cb6(0x2a3)][_0x566cb6(0x21d)](Ar),_0x1dd4f8=this['_configService'][_0x566cb6(0x21d)](te);return(_0xd341e=(_0x5e9376=_0x1dd4f8==null?void 0x0:_0x1dd4f8[_0x566cb6(0x546)])!=null?_0x5e9376:_0x381430)!=null?_0xd341e:Nr;}[_0x54516d(0x60b)](){const _0x1f197a=_0x54516d;var _0x5a4305;const _0x49e3b0=this[_0x1f197a(0x2a3)][_0x1f197a(0x21d)](te);return(_0x5a4305=_0x49e3b0==null?void 0x0:_0x49e3b0[_0x1f197a(0x1a4)])!=null?_0x5a4305:location['origin'];}[_0x54516d(0x521)](_0x3bd9ce,_0xc2d7b4){const _0x431096=_0x54516d;return _0x3bd9ce[_0x431096(0x1f6)](_0x431096(0x5f6),_0xc2d7b4);}[_0x54516d(0x42b)](){const _0x16a19b=_0x54516d;this[_0x16a19b(0x582)]-=0x1,this[_0x16a19b(0x503)]['next'](this[_0x16a19b(0x582)]);}},exports['ImageIoService']=Dr([vt(0x0,a[_0x54516d(0x573)](Z[_0x54516d(0x180)])),vt(0x1,a[_0x54516d(0x208)]),vt(0x2,a[_0x54516d(0x573)](a[_0x54516d(0x4e2)]))],exports[_0x54516d(0x293)]);var Lr=Object[_0x54516d(0x461)],xr=Object[_0x54516d(0x363)],jr=(_0x49d3fc,_0x196308,_0x1b6a70,_0x9ae92f)=>{const _0x33c5e6=_0x54516d;for(var _0x3e94d1=_0x9ae92f>0x1?void 0x0:_0x9ae92f?xr(_0x196308,_0x1b6a70):_0x196308,_0x307be4=_0x49d3fc[_0x33c5e6(0x5e8)]-0x1,_0x462d7b;_0x307be4>=0x0;_0x307be4--)(_0x462d7b=_0x49d3fc[_0x307be4])&&(_0x3e94d1=(_0x9ae92f?_0x462d7b(_0x196308,_0x1b6a70,_0x3e94d1):_0x462d7b(_0x3e94d1))||_0x3e94d1);return _0x9ae92f&&_0x3e94d1&&Lr(_0x196308,_0x1b6a70,_0x3e94d1),_0x3e94d1;},Ae=(_0x22a724,_0x589a82)=>(_0x45089f,_0x514399)=>_0x589a82(_0x45089f,_0x514399,_0x22a724);let Ke=class extends a[_0x54516d(0x1d6)]{constructor(_0x39eef3,_0x1c7bc4,_0x4ef2b2,_0x5cccca,_0x2434b0){const _0xa2ee46=_0x54516d;super(),this[_0xa2ee46(0x47c)]=_0x39eef3,this['_univerInstanceService']=_0x1c7bc4,this[_0xa2ee46(0x2ce)]=_0x4ef2b2,this[_0xa2ee46(0x497)]=_0x5cccca,this[_0xa2ee46(0x422)]=_0x2434b0,this[_0xa2ee46(0x1fa)](),this['_initCloseConn']();}['_initCloseConn'](){const _0x40a537=_0x54516d,_0x258649=async _0x3b500a=>{const _0x3476a9=_0xe852;(await this[_0x3476a9(0x497)][_0x3476a9(0x2fd)](_0x3b500a))['event$'][_0x3476a9(0x5f2)](V[_0x3476a9(0x292)](_0x5ea34c=>_0x5ea34c[_0x3476a9(0x4aa)]===S[_0x3476a9(0x5de)][_0x3476a9(0x325)]),V['takeUntil'](this['dispose$']))['subscribe'](_0x168226=>{const _0xbf0c3c=_0x3476a9,_0x455851=_0x168226,{reason:_0x315d41}=_0x455851[_0xbf0c3c(0x547)];this[_0xbf0c3c(0x47c)][_0xbf0c3c(0x3b1)](ee[_0xbf0c3c(0x3ce)])[_0xbf0c3c(0x5e3)]({'type':ge[_0xbf0c3c(0x3a7)][_0xbf0c3c(0x30f)],'content':this['_localeService']['t'](_0xbf0c3c(0x343))+'('+_0x315d41+')'}),this[_0xbf0c3c(0x2ce)][_0xbf0c3c(0x526)](new k[(_0xbf0c3c(0x232))](_0x3b500a)['id'],!0x1),this[_0xbf0c3c(0x497)][_0xbf0c3c(0x51d)](_0x3b500a);});};A[_0x40a537(0x349)](this['_univerInstanceService'][_0x40a537(0x3f1)](a['UniverInstanceType'][_0x40a537(0x299)]),this['_univerInstanceService'][_0x40a537(0x3f1)](a['UniverInstanceType'][_0x40a537(0x60e)]))[_0x40a537(0x5f2)](V['map'](_0x4272c4=>_0x4272c4[_0x40a537(0x2c5)]()),V['filter'](_0x153b57=>!a[_0x40a537(0x4b1)](_0x153b57)),V[_0x40a537(0x42d)](this['dispose$']))['subscribe'](_0x3929f0=>{_0x258649(_0x3929f0);});}[_0x54516d(0x1fa)](){const _0x1d07c4=_0x54516d,_0x4aa380=async _0x4c8111=>{const _0x167d75=_0xe852;(await this[_0x167d75(0x497)][_0x167d75(0x2fd)](_0x4c8111))['event$'][_0x167d75(0x5f2)](V[_0x167d75(0x292)](_0x436b12=>_0x436b12[_0x167d75(0x4aa)]===S['CollaborationEvent']['UPDATE_PERMISSION_OBJ']),V[_0x167d75(0x42d)](this['dispose$']))[_0x167d75(0x4d6)](_0x297d2f=>{const _0x1b38b0=_0x167d75,_0x396618=_0x297d2f,{objectId:_0x16b59a}=_0x396618['data'],_0x163ca3=this[_0x1b38b0(0x47c)]['get'](Re['SheetPermissionInitController']);_0x16b59a===_0x4c8111?_0x163ca3[_0x1b38b0(0x332)](_0x4c8111):_0x163ca3[_0x1b38b0(0x201)](_0x4c8111,_0x16b59a);});};A['merge'](this[_0x1d07c4(0x228)][_0x1d07c4(0x3f1)](a[_0x1d07c4(0x2f2)][_0x1d07c4(0x299)]),this['_univerInstanceService'][_0x1d07c4(0x3f1)](a['UniverInstanceType'][_0x1d07c4(0x60e)]))['pipe'](V['map'](_0x40aaa9=>_0x40aaa9[_0x1d07c4(0x2c5)]()),V['filter'](_0x2de091=>!a[_0x1d07c4(0x4b1)](_0x2de091)),V['takeUntil'](this['dispose$']))['subscribe'](_0x35b8a1=>{_0x4aa380(_0x35b8a1);});}};Ke=jr([Ae(0x0,a[_0x54516d(0x573)](a[_0x54516d(0x33a)])),Ae(0x1,a[_0x54516d(0x4e2)]),Ae(0x2,a[_0x54516d(0x369)]),Ae(0x3,a['Inject'](exports[_0x54516d(0x580)])),Ae(0x4,a[_0x54516d(0x573)](a['LocaleService']))],Ke);var $r=Object[_0x54516d(0x461)],Hr=Object[_0x54516d(0x363)],Br=(_0x27a938,_0x2f8e9a,_0xafbcbc,_0x2a1c82)=>{const _0x5068b9=_0x54516d;for(var _0x3a37c7=_0x2a1c82>0x1?void 0x0:_0x2a1c82?Hr(_0x2f8e9a,_0xafbcbc):_0x2f8e9a,_0x3379ac=_0x27a938[_0x5068b9(0x5e8)]-0x1,_0x287b99;_0x3379ac>=0x0;_0x3379ac--)(_0x287b99=_0x27a938[_0x3379ac])&&(_0x3a37c7=(_0x2a1c82?_0x287b99(_0x2f8e9a,_0xafbcbc,_0x3a37c7):_0x287b99(_0x3a37c7))||_0x3a37c7);return _0x2a1c82&&_0x3a37c7&&$r(_0x2f8e9a,_0xafbcbc,_0x3a37c7),_0x3a37c7;},Jt=(_0x584cbc,_0x51ab4f)=>(_0x5abaa2,_0x3c18f3)=>_0x51ab4f(_0x5abaa2,_0x3c18f3,_0x584cbc);exports[_0x54516d(0x43d)]=class{constructor(_0x537f85,_0x598258){this['_configService']=_0x537f85,this['_httpService']=_0x598258;}async['getUnitOnRev'](_0x5e008e,_0x220b5f){const _0xe8a0e8=_0x54516d;var _0x119e20;const {unitID:_0x226a20,type:_0x51a758,revision:_0xcb6f9a=0x0}=_0x220b5f,_0x5a7e95=this[_0xe8a0e8(0x2d1)]()+'/'+_0x51a758+_0xe8a0e8(0x569)+_0x226a20+_0xe8a0e8(0x3a9)+_0xcb6f9a,_0x4e0b44=(await this[_0xe8a0e8(0x248)][_0xe8a0e8(0x3b1)](_0x5a7e95))['body'],_0x3cf39a=(_0x119e20=_0x4e0b44[_0xe8a0e8(0x323)])==null?void 0x0:_0x119e20[_0xe8a0e8(0x523)];if(_0x3cf39a){const _0x26c628=_0x3cf39a==null?void 0x0:_0x3cf39a['originalMeta'],_0x282668=S[_0xe8a0e8(0x1ec)][_0xe8a0e8(0x4be)](S[_0xe8a0e8(0x206)](_0x26c628));_0x3cf39a[_0xe8a0e8(0x60d)]=_0x282668,Object[_0xe8a0e8(0x57e)](_0x3cf39a[_0xe8a0e8(0x491)])[_0xe8a0e8(0x1ba)](([,_0x4e1824])=>{const _0x24ae57=_0xe8a0e8,_0x526947=_0x4e1824[_0x24ae57(0x60d)],_0x287927=S[_0x24ae57(0x1ec)][_0x24ae57(0x4be)](S[_0x24ae57(0x206)](_0x526947));_0x4e1824[_0x24ae57(0x60d)]=_0x287927;});}return _0x4e0b44;}async[_0x54516d(0x5f0)](_0x302f7a,_0x54d81d){const _0xa4870f=_0x54516d,{unitID:_0x4c9766,type:_0x1e7952,blockID:_0x152d14}=_0x54d81d,_0x498075=this['_getAPIPrefix']()+'/'+_0x1e7952+'/unit/'+_0x4c9766+_0xa4870f(0x34a)+_0x152d14;return(await this[_0xa4870f(0x248)][_0xa4870f(0x3b1)](_0x498075))[_0xa4870f(0x4ba)];}async['getDeserializedSheetBlock'](_0x660de2,_0x56d44a){const _0x4200c8=_0x54516d,{unitID:_0x53b83f,type:_0x433fd5,blockID:_0x35bb34}=_0x56d44a,_0x36b341=this[_0x4200c8(0x4e6)]()+'/block/'+_0x433fd5+_0x4200c8(0x569)+_0x53b83f+_0x4200c8(0x34a)+_0x35bb34;return(await this[_0x4200c8(0x248)][_0x4200c8(0x3b1)](_0x36b341))[_0x4200c8(0x4ba)];}async[_0x54516d(0x565)](_0x37e7d7,_0x159253){const _0x16c291=_0x54516d,{unitID:_0x2f8164,type:_0x143e02,from:_0x59ea3e,to:_0xda475}=_0x159253,_0x161c21=this[_0x16c291(0x4e6)]()+'/'+_0x143e02+_0x16c291(0x569)+_0x2f8164+_0x16c291(0x540)+_0x59ea3e+'&to='+_0xda475;return(await this[_0x16c291(0x248)]['get'](_0x161c21))[_0x16c291(0x4ba)];}['_getSnapshotAPIPrefix'](){const _0x1ea4ae=_0x54516d;var _0x3c31ae;return(_0x3c31ae=this[_0x1ea4ae(0x2a3)][_0x1ea4ae(0x21d)](Qt))!=null?_0x3c31ae:this[_0x1ea4ae(0x4e6)]();}[_0x54516d(0x4e6)](){const _0x2e8a7d=_0x54516d;var _0x5ce2bd,_0x2ae316;const _0x44a4c8=this['_configService'][_0x2e8a7d(0x21d)](Zt),_0x5b723f=this['_configService']['getConfig'](te);return(_0x2ae316=(_0x5ce2bd=_0x5b723f==null?void 0x0:_0x5b723f[_0x2e8a7d(0x265)])!=null?_0x5ce2bd:_0x44a4c8)!=null?_0x2ae316:Hn;}async['getResourcesRequest'](_0x1059a9,_0x55a282){const _0x3e46b4=_0x54516d,_0x3684a5='/universer-api/snapshot/'+_0x55a282[_0x3e46b4(0x242)]+_0x3e46b4(0x569)+_0x55a282[_0x3e46b4(0x351)]+_0x3e46b4(0x44a);return(await this[_0x3e46b4(0x248)][_0x3e46b4(0x3b1)](_0x3684a5,{'params':{'resourceId':JSON[_0x3e46b4(0x4c1)](_0x55a282['resourceIDs'])}}))[_0x3e46b4(0x4ba)];}['saveSnapshot'](){const _0x2af567=_0x54516d;throw new Error(_0x2af567(0x61b));}[_0x54516d(0x33e)](){const _0x38ee01=_0x54516d;throw new Error(_0x38ee01(0x61b));}[_0x54516d(0x52d)](){const _0x41ea5f=_0x54516d;throw new Error(_0x41ea5f(0x61b));}[_0x54516d(0x2cd)](){const _0x1459fb=_0x54516d;throw new Error(_0x1459fb(0x61b));}['getLatestCsReqIdBySid'](){const _0x5dbe54=_0x54516d;throw new Error(_0x5dbe54(0x61b));}},exports[_0x54516d(0x43d)]=Br([Jt(0x0,a[_0x54516d(0x208)]),Jt(0x1,a['Inject'](Z['HTTPService']))],exports[_0x54516d(0x43d)]);var kr=Object[_0x54516d(0x461)],Wr=Object[_0x54516d(0x363)],Fr=(_0x495812,_0x2782c7,_0x666e59,_0x164561)=>{const _0xdf7a75=_0x54516d;for(var _0x4418ff=_0x164561>0x1?void 0x0:_0x164561?Wr(_0x2782c7,_0x666e59):_0x2782c7,_0x495bfa=_0x495812[_0xdf7a75(0x5e8)]-0x1,_0x1d9faf;_0x495bfa>=0x0;_0x495bfa--)(_0x1d9faf=_0x495812[_0x495bfa])&&(_0x4418ff=(_0x164561?_0x1d9faf(_0x2782c7,_0x666e59,_0x4418ff):_0x1d9faf(_0x4418ff))||_0x4418ff);return _0x164561&&_0x4418ff&&kr(_0x2782c7,_0x666e59,_0x4418ff),_0x4418ff;},Ne=(_0x56782d,_0x284379)=>(_0x36991b,_0x3bb0c6)=>_0x284379(_0x36991b,_0x3bb0c6,_0x56782d);let It=class extends a[_0x54516d(0x3c2)]{constructor(_0x367bd5,_0x373ade,_0x5c3fdf,_0x54790b,_0x45dc7f){const _0x479fb7=_0x54516d;super(_0x367bd5,_0x373ade,_0x5c3fdf),this[_0x479fb7(0x579)]=_0x54790b,this[_0x479fb7(0x241)]=_0x45dc7f;}[_0x54516d(0x5d5)](_0x684283,_0x277c0d){const _0x3c565e=_0x54516d,_0x4d0895=this[_0x3c565e(0x3ab)](_0x684283);if(_0x4d0895)try{const _0xdf694b=this['_transformStack'](_0x4d0895,_0x277c0d);this[_0x3c565e(0x585)](_0x684283,_0xdf694b);}catch(_0x3e38f6){this[_0x3c565e(0x241)]['error']('[CollaborationUndoRedoService]',_0x3e38f6),this[_0x3c565e(0x307)](_0x684283);}const _0x46bdf0=this[_0x3c565e(0x3b2)](_0x684283);if(_0x46bdf0)try{const _0x2a19a3=this[_0x3c565e(0x21b)](_0x46bdf0,_0x277c0d);this[_0x3c565e(0x550)](_0x684283,_0x2a19a3);}catch(_0x1fc0c0){this[_0x3c565e(0x241)][_0x3c565e(0x29f)](_0x1fc0c0),this[_0x3c565e(0x381)](_0x684283);}}['_clearUndo'](_0x12a67f){const _0x315d4d=_0x54516d,_0x260f1b=this[_0x315d4d(0x3ab)](_0x12a67f);_0x260f1b&&(_0x260f1b['length']=0x0,this[_0x315d4d(0x566)]());}['_clearRedo'](_0x148064){const _0x34381f=_0x54516d,_0x152d96=this[_0x34381f(0x3b2)](_0x148064);_0x152d96&&(_0x152d96[_0x34381f(0x5e8)]=0x0,this[_0x34381f(0x566)]());}['_substituteUndoStack'](_0x4b52f3,_0x1a9f8e){const _0x573519=_0x54516d;this['_undoStacks'][_0x573519(0x36d)](_0x4b52f3,_0x1a9f8e),this[_0x573519(0x566)]();}[_0x54516d(0x550)](_0x3378b4,_0x328854){const _0x20e3a6=_0x54516d;this['_redoStacks']['set'](_0x3378b4,_0x328854),this[_0x20e3a6(0x566)]();}[_0x54516d(0x21b)](_0x181d6e,_0x12105c){const _0x32955a=_0x54516d,_0x42ec7e=[];let _0x32f9a3=_0x12105c,_0x59f6b7=_0x12105c;for(let _0x282b6f=_0x181d6e['length']-0x1;_0x282b6f>=0x0;_0x282b6f--){const {unitID:_0x361c6a,undoMutations:_0x4005cd,redoMutations:_0x39c235}=_0x181d6e[_0x282b6f],_0x247771=this['_transformService'][_0x32955a(0x1cd)](_0x32f9a3,_0x4005cd),_0x45fc98=this[_0x32955a(0x579)][_0x32955a(0x1cd)](_0x59f6b7,_0x39c235);if(S['isTransformMutationsWithChangesetFailure'](_0x247771)||S[_0x32955a(0x2e3)](_0x45fc98)){this[_0x32955a(0x241)]['error'](_0x32955a(0x207),_0x32955a(0x2f9),_0x247771,_0x45fc98);break;}_0x32f9a3=_0x247771[_0x32955a(0x4ef)],_0x59f6b7=_0x45fc98[_0x32955a(0x4ef)],_0x42ec7e[_0x32955a(0x26e)]({'unitID':_0x361c6a,'undoMutations':_0x247771[_0x32955a(0x46b)],'redoMutations':_0x45fc98[_0x32955a(0x46b)]});}return _0x42ec7e['reverse']();}};It=Fr([Ne(0x0,a['IUniverInstanceService']),Ne(0x1,a[_0x54516d(0x18a)]),Ne(0x2,a[_0x54516d(0x5ba)]),Ne(0x3,S[_0x54516d(0x5bd)]),Ne(0x4,a['ILogService'])],It);class An extends a[_0x54516d(0x1d6)]{constructor(){const _0x293b88=_0x54516d;super(),I(this,'urlChange$'),this[_0x293b88(0x20a)]=A[_0x293b88(0x362)](window,_0x293b88(0x3be))[_0x293b88(0x5f2)](A[_0x293b88(0x42d)](this[_0x293b88(0x610)]),A[_0x293b88(0x40d)](0x1),A[_0x293b88(0x1d0)](void 0x0));}[_0x54516d(0x17e)](_0x2b095e,_0x509ae9,_0x573b60=!0x1){const _0x697b9a=_0x54516d,_0x2339ba=new URL(window[_0x697b9a(0x2da)][_0x697b9a(0x56d)]);_0x2339ba['searchParams'][_0x697b9a(0x36d)](_0x2b095e,_0x509ae9),_0x573b60?window[_0x697b9a(0x225)][_0x697b9a(0x2bb)]('','',_0x2339ba[_0x697b9a(0x481)]()):window[_0x697b9a(0x225)][_0x697b9a(0x320)]('','',_0x2339ba[_0x697b9a(0x481)]());}[_0x54516d(0x5b1)](_0x11a108,_0x4d7d05=!0x1){const _0x55e410=_0x54516d,_0xb0e7de=new URL(window[_0x55e410(0x2da)][_0x55e410(0x56d)]);_0xb0e7de['searchParams'][_0x55e410(0x1c4)](_0x11a108),_0x4d7d05?window['history']['replaceState']('','',_0xb0e7de[_0x55e410(0x481)]()):window['history'][_0x55e410(0x320)]('','',_0xb0e7de[_0x55e410(0x481)]());}[_0x54516d(0x479)](_0xb753ab){const _0x5ce790=_0x54516d;var _0x23aead;return(_0x23aead=new URL(window[_0x5ce790(0x2da)][_0x5ce790(0x56d)])[_0x5ce790(0x2b4)][_0x5ce790(0x3b1)](_0xb753ab))!=null?_0x23aead:void 0x0;}}var Nn=Object[_0x54516d(0x461)],Vr=Object['getOwnPropertyDescriptor'],Gr=(_0x3db4a1,_0x5723c9,_0x5b2c37)=>_0x5723c9 in _0x3db4a1?Nn(_0x3db4a1,_0x5723c9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5b2c37}):_0x3db4a1[_0x5723c9]=_0x5b2c37,Yr=(_0x335b16,_0x40a5d3,_0x1f90e2,_0x37caed)=>{const _0x54009d=_0x54516d;for(var _0x467048=_0x37caed>0x1?void 0x0:_0x37caed?Vr(_0x40a5d3,_0x1f90e2):_0x40a5d3,_0x2ec476=_0x335b16[_0x54009d(0x5e8)]-0x1,_0x31e024;_0x2ec476>=0x0;_0x2ec476--)(_0x31e024=_0x335b16[_0x2ec476])&&(_0x467048=(_0x37caed?_0x31e024(_0x40a5d3,_0x1f90e2,_0x467048):_0x31e024(_0x467048))||_0x467048);return _0x37caed&&_0x467048&&Nn(_0x40a5d3,_0x1f90e2,_0x467048),_0x467048;},He=(_0x38c4c2,_0xfd0f68)=>(_0x1bd941,_0x1aa550)=>_0xfd0f68(_0x1bd941,_0x1aa550,_0x38c4c2),Kr=(_0x273ffc,_0x6f0047,_0x78c0a6)=>Gr(_0x273ffc,_0x6f0047+'',_0x78c0a6);const qr=_0x54516d(0x1e3);exports['UniverCollaborationClientPlugin']=class extends a[_0x54516d(0x424)]{constructor(_0x557108=zn,_0x374711,_0x13fb1c,_0x4b06f5,_0x4ccf68){const _0x34d04a=_0x54516d;super(),this['_config']=_0x557108,this[_0x34d04a(0x241)]=_0x374711,this['_renderManagerService']=_0x13fb1c,this[_0x34d04a(0x47c)]=_0x4b06f5,this[_0x34d04a(0x2a3)]=_0x4ccf68;const {..._0x3f87e1}=this[_0x34d04a(0x170)];this[_0x34d04a(0x2a3)]['setConfig'](te,_0x3f87e1);}[_0x54516d(0x48c)](){const _0xe02e95=_0x54516d;this[_0xe02e95(0x609)](),this['_initDependencies']();}['onReady'](){a['touchDependencies'](this['_injector'],[[Ve]]);}[_0x54516d(0x506)](){this['_registerRenderDependencies']();}[_0x54516d(0x609)](){const _0x40569d=_0x54516d;var _0x43f863,_0x48636a,_0x37d632,_0x5e7cdc;this[_0x40569d(0x47c)][_0x40569d(0x468)](a[_0x40569d(0x5b9)])&&this[_0x40569d(0x241)][_0x40569d(0x29f)]('[UniverCollaborationClientPlugin]','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x111f1e=[[a['IUndoRedoService'],{'useClass':It}],[exports['CollaborationSessionService']],[Ot],[wt,{'useClass':An}],[exports[_0x40569d(0x3a8)]],[exports[_0x40569d(0x5ef)]],[Z[_0x40569d(0x431)]],[ke],[Fe],[Be],[We],[Rt],[Ge],[Ye],[Tt],[Ke],[bt,{'useClass':(_0x48636a=(_0x43f863=this['_config'])==null?void 0x0:_0x43f863['socketService'])!=null?_0x48636a:exports[_0x40569d(0x418)]}],[S[_0x40569d(0x4e0)],{'useClass':exports[_0x40569d(0x43d)]}],[a[_0x40569d(0x5e4)],{'useClass':exports['AuthzIoHttpService']}],[ne[_0x40569d(0x25c)],{'useClass':exports['ImageIoService']}],[exports[_0x40569d(0x19c)]],[exports[_0x40569d(0x54d)]],[exports[_0x40569d(0x36e)]],[Ve],[De]];(_0x37d632=this['_config'])!=null&&_0x37d632[_0x40569d(0x5a3)]&&_0x111f1e[_0x40569d(0x26e)]([qe,{'useClass':Oi}]),a[_0x40569d(0x3f6)](this[_0x40569d(0x47c)],a[_0x40569d(0x24a)](_0x111f1e,(_0x5e7cdc=this['_config'])==null?void 0x0:_0x5e7cdc[_0x40569d(0x1b0)]));}[_0x54516d(0x459)](){const _0x48e8bc=_0x54516d;this[_0x48e8bc(0x55b)](this[_0x48e8bc(0x250)][_0x48e8bc(0x4a0)](a[_0x48e8bc(0x2f2)]['UNIVER_DOC'],[pt])),this[_0x48e8bc(0x55b)](this['_renderManagerService'][_0x48e8bc(0x4a0)](a[_0x48e8bc(0x2f2)][_0x48e8bc(0x299)],[gt]));}[_0x54516d(0x2c3)](){const _0x5888fa=_0x54516d;var _0x90afa5,_0x59c1f1;this[_0x5888fa(0x47c)]['get'](Z['HTTPService'])['registerHTTPInterceptor']({'priority':0x14,'interceptor':Z[_0x5888fa(0x4d7)]({'maxParallel':0x6})}),(_0x90afa5=this['_config'])!=null&&_0x90afa5[_0x5888fa(0x3b8)]||this['_injector']['get'](exports[_0x5888fa(0x5ef)])['disableLocalCache'](),(_0x59c1f1=this[_0x5888fa(0x170)])!=null&&_0x59c1f1['enableAuthServer']&&a[_0x5888fa(0x2b3)](this[_0x5888fa(0x47c)],[[Ge]]),a[_0x5888fa(0x2b3)](this['_injector'],[[Ye],[De],[exports['DataLoaderController']],[exports[_0x5888fa(0x19c)]],[exports[_0x5888fa(0x36e)]],[Ke]]);}},Kr(exports[_0x54516d(0x4f3)],'pluginName',qr),exports[_0x54516d(0x4f3)]=Yr([a[_0x54516d(0x205)](S[_0x54516d(0x570)],Z[_0x54516d(0x47e)]),He(0x1,a['ILogService']),He(0x2,K[_0x54516d(0x387)]),He(0x3,a[_0x54516d(0x573)](a[_0x54516d(0x33a)])),He(0x4,a[_0x54516d(0x208)])],exports[_0x54516d(0x4f3)]),exports[_0x54516d(0x4dc)]=Rn,exports[_0x54516d(0x1aa)]=on,exports['COLLAB_WEB_SOCKET_URL_KEY']=en,exports[_0x54516d(0x280)]=q,exports[_0x54516d(0x5be)]=Tn,exports[_0x54516d(0x173)]=Tt,exports[_0x54516d(0x357)]=tn,exports[_0x54516d(0x4b5)]=Ct,exports['ICollaborationSocketService']=bt,exports[_0x54516d(0x5f8)]=wt,exports[_0x54516d(0x5ee)]=rn,exports[_0x54516d(0x482)]=an,exports[_0x54516d(0x37f)]=sn,exports[_0x54516d(0x21a)]=Bn,exports['SNAPSHOT_SERVER_URL_KEY']=Zt,exports[_0x54516d(0x184)]=Qt,exports['SessionStatus']=se,exports['SheetCollabCursorShape']=Sn,exports[_0x54516d(0x2be)]=An,exports['deserializeToCombResponse']=hn,exports[_0x54516d(0x183)]=_n;
|