@univerjs-pro/collaboration-client 0.6.0-nightly.202502061605 → 0.6.0-nightly.202502071606

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';var _0x5d5117=_0x274d;(function(_0x58e222,_0x2c63fe){var _0x51d3b3=_0x274d,_0x3b0fbf=_0x58e222();while(!![]){try{var _0x209d8a=-parseInt(_0x51d3b3(0x39b))/0x1*(parseInt(_0x51d3b3(0x282))/0x2)+-parseInt(_0x51d3b3(0x378))/0x3*(parseInt(_0x51d3b3(0x352))/0x4)+-parseInt(_0x51d3b3(0x18f))/0x5*(parseInt(_0x51d3b3(0x2dd))/0x6)+-parseInt(_0x51d3b3(0x345))/0x7+-parseInt(_0x51d3b3(0x3fa))/0x8+parseInt(_0x51d3b3(0x3cd))/0x9+parseInt(_0x51d3b3(0x1ba))/0xa;if(_0x209d8a===_0x2c63fe)break;else _0x3b0fbf['push'](_0x3b0fbf['shift']());}catch(_0x2a80ee){_0x3b0fbf['push'](_0x3b0fbf['shift']());}}}(_0x2511,0x48b2c));var Mt=Object[_0x5d5117(0x4c8)],xt=(_0x3e9ae3,_0x406782,_0x486b56)=>_0x406782 in _0x3e9ae3?Mt(_0x3e9ae3,_0x406782,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x486b56}):_0x3e9ae3[_0x406782]=_0x486b56,D=(_0x49230a,_0x14f36b,_0x534fd8)=>xt(_0x49230a,typeof _0x14f36b!=_0x5d5117(0x28c)?_0x14f36b+'':_0x14f36b,_0x534fd8);function _0x274d(_0x2da76e,_0x10011e){var _0x251116=_0x2511();return _0x274d=function(_0x274d3d,_0x2070ef){_0x274d3d=_0x274d3d-0x165;var _0x3c1655=_0x251116[_0x274d3d];return _0x3c1655;},_0x274d(_0x2da76e,_0x10011e);}Object[_0x5d5117(0x4c8)](exports,Symbol['toStringTag'],{'value':_0x5d5117(0x3b9)});const a=require('@univerjs/core'),H=require(_0x5d5117(0x4de)),W=require(_0x5d5117(0x299)),q=require(_0x5d5117(0x4f5)),m=require(_0x5d5117(0x34b)),jt=require(_0x5d5117(0x422)),dt=require(_0x5d5117(0x2bc)),J=require(_0x5d5117(0x17e)),X=require(_0x5d5117(0x453)),$t=require('@univerjs-pro/license'),vt=_0x5d5117(0x395),Ht=_0x5d5117(0x210),ft=_0x5d5117(0x243),kt='SEND_CHANGESET_TIMEOUT',Bt=0x7d0,St=_0x5d5117(0x370),pt=_0x5d5117(0x1b0),Ft=_0x5d5117(0x2ce),mt='HEARTBEAT_INTERVAL',Wt=0x7530,He=_0x5d5117(0x185),gt=0x4e20,Gt=0x4e20,It=_0x5d5117(0x3bb),Vt=0x3,Kt='LOCAL_CACHE_INTERVAL',Yt=0x3e8,Et=_0x5d5117(0x360),qt=_0x5d5117(0x186),Ct=_0x5d5117(0x1b4),zt=_0x5d5117(0x1c4),Jt='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',Xt=_0x5d5117(0x191);var Tt=(_0x3878b1=>(_0x3878b1[_0x3878b1[_0x5d5117(0x166)]=0x0]=_0x5d5117(0x166),_0x3878b1[_0x3878b1['OK']=0x1]='OK',_0x3878b1[_0x3878b1[_0x5d5117(0x24f)]=0x2]=_0x5d5117(0x24f),_0x3878b1[_0x3878b1[_0x5d5117(0x1d0)]=0x3]='PERMISSION_DENIED',_0x3878b1[_0x3878b1['NOT_FOUND']=0x4]=_0x5d5117(0x22a),_0x3878b1[_0x3878b1['UNAUTHENTICATED']=0x5]=_0x5d5117(0x4ba),_0x3878b1[_0x3878b1['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0x3878b1[_0x3878b1[_0x5d5117(0x3e3)]=0x7]='INVALID_ARGUMENT',_0x3878b1[_0x3878b1[_0x5d5117(0x3d7)]=0x8]=_0x5d5117(0x3d7),_0x3878b1[_0x3878b1[_0x5d5117(0x1fc)]=0x9]=_0x5d5117(0x1fc),_0x3878b1[_0x3878b1[_0x5d5117(0x4af)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x3878b1[_0x3878b1['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x5d5117(0x42e),_0x3878b1[_0x3878b1[_0x5d5117(0x216)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x3878b1[_0x3878b1[_0x5d5117(0x39c)]=0x1773]=_0x5d5117(0x39c),_0x3878b1[_0x3878b1[_0x5d5117(0x347)]=0x1b59]=_0x5d5117(0x347),_0x3878b1[_0x3878b1[_0x5d5117(0x3d2)]=0x1b5a]=_0x5d5117(0x3d2),_0x3878b1[_0x3878b1[_0x5d5117(0x2c0)]=0x1b5b]=_0x5d5117(0x2c0),_0x3878b1[_0x3878b1['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x5d5117(0x390),_0x3878b1[_0x3878b1[_0x5d5117(0x2c3)]=0x1b5d]=_0x5d5117(0x2c3),_0x3878b1[_0x3878b1[_0x5d5117(0x2d5)]=0x1f41]=_0x5d5117(0x2d5),_0x3878b1[_0x3878b1[_0x5d5117(0x401)]=0x2329]=_0x5d5117(0x401),_0x3878b1[_0x3878b1[_0x5d5117(0x2b5)]=0x232a]=_0x5d5117(0x2b5),_0x3878b1[_0x3878b1['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x5d5117(0x244),_0x3878b1[_0x3878b1['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x5d5117(0x47c),_0x3878b1[_0x3878b1[_0x5d5117(0x25d)]=0x232d]=_0x5d5117(0x25d),_0x3878b1[_0x3878b1[_0x5d5117(0x18e)]=0x2711]=_0x5d5117(0x18e),_0x3878b1[_0x3878b1[_0x5d5117(0x1aa)]=0x2712]=_0x5d5117(0x1aa),_0x3878b1[_0x3878b1[_0x5d5117(0x343)]=0x2713]=_0x5d5117(0x343),_0x3878b1[_0x3878b1[_0x5d5117(0x487)]=0x2714]=_0x5d5117(0x487),_0x3878b1[_0x3878b1[_0x5d5117(0x4b2)]=0x2af9]=_0x5d5117(0x4b2),_0x3878b1[_0x3878b1[_0x5d5117(0x4d2)]=-0x1]=_0x5d5117(0x4d2),_0x3878b1))(Tt||{}),Z=(_0x5da247=>(_0x5da247[_0x5da247[_0x5d5117(0x392)]=0x0]=_0x5d5117(0x392),_0x5da247[_0x5da247['UNIVER_DOC']=0x1]=_0x5d5117(0x4e4),_0x5da247[_0x5da247[_0x5d5117(0x3cb)]=0x2]=_0x5d5117(0x3cb),_0x5da247[_0x5da247[_0x5d5117(0x2f1)]=0x3]=_0x5d5117(0x2f1),_0x5da247[_0x5da247[_0x5d5117(0x223)]=0x4]='UNIVER_PROJECT',_0x5da247[_0x5da247['UNRECOGNIZED']=-0x1]=_0x5d5117(0x4d2),_0x5da247))(Z||{}),G=(_0xcf9aeb=>(_0xcf9aeb[_0xcf9aeb[_0x5d5117(0x2b6)]=0x0]=_0x5d5117(0x2b6),_0xcf9aeb[_0xcf9aeb[_0x5d5117(0x30d)]=0x1]=_0x5d5117(0x30d),_0xcf9aeb[_0xcf9aeb[_0x5d5117(0x2fb)]=0x2]=_0x5d5117(0x2fb),_0xcf9aeb[_0xcf9aeb['LEAVE']=0x3]=_0x5d5117(0x19d),_0xcf9aeb[_0xcf9aeb[_0x5d5117(0x308)]=0x4]='INGEST',_0xcf9aeb[_0xcf9aeb[_0x5d5117(0x1f5)]=0x5]=_0x5d5117(0x1f5),_0xcf9aeb[_0xcf9aeb[_0x5d5117(0x1f4)]=0x6]='RECV',_0xcf9aeb[_0xcf9aeb['UNRECOGNIZED']=-0x1]=_0x5d5117(0x4d2),_0xcf9aeb))(G||{}),he=(_0xe1ed50=>(_0xe1ed50[_0xe1ed50[_0x5d5117(0x249)]=0x0]=_0x5d5117(0x249),_0xe1ed50[_0xe1ed50['OK']=0x1]='OK',_0xe1ed50[_0xe1ed50[_0x5d5117(0x263)]=0x2]=_0x5d5117(0x263),_0xe1ed50[_0xe1ed50[_0x5d5117(0x49c)]=0x3e9]=_0x5d5117(0x49c),_0xe1ed50[_0xe1ed50[_0x5d5117(0x2d9)]=0x3ea]=_0x5d5117(0x2d9),_0xe1ed50[_0xe1ed50[_0x5d5117(0x498)]=0x3eb]=_0x5d5117(0x498),_0xe1ed50[_0xe1ed50['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]=_0x5d5117(0x386),_0xe1ed50[_0xe1ed50[_0x5d5117(0x4d2)]=-0x1]=_0x5d5117(0x4d2),_0xe1ed50))(he||{}),bt=(_0x4ab42f=>(_0x4ab42f[_0x4ab42f[_0x5d5117(0x1bf)]=0x0]='Undefined',_0x4ab42f[_0x4ab42f[_0x5d5117(0x196)]=0x1]=_0x5d5117(0x196),_0x4ab42f[_0x4ab42f['HttpExport']=0x2]=_0x5d5117(0x3c7),_0x4ab42f[_0x4ab42f[_0x5d5117(0x26b)]=0x3]=_0x5d5117(0x26b),_0x4ab42f[_0x4ab42f[_0x5d5117(0x3e6)]=0x4]='UnitSnapshot',_0x4ab42f[_0x4ab42f[_0x5d5117(0x4d2)]=-0x1]=_0x5d5117(0x4d2),_0x4ab42f))(bt||{});const Y=_0x5d5117(0x4bf),Ke={};var Q=(_0x121a3c=>(_0x121a3c[_0x5d5117(0x254)]=_0x5d5117(0x254),_0x121a3c['PERMISSION_DENIED']=_0x5d5117(0x1d0),_0x121a3c['CONFLICT']=_0x5d5117(0x36b),_0x121a3c[_0x5d5117(0x167)]='CLOSE_ROOM',_0x121a3c['JOIN_ROOM_FAILED']=_0x5d5117(0x4aa),_0x121a3c[_0x5d5117(0x467)]=_0x5d5117(0x467),_0x121a3c[_0x5d5117(0x383)]=_0x5d5117(0x383),_0x121a3c[_0x5d5117(0x21b)]=_0x5d5117(0x21b),_0x121a3c))(Q||{});class te{constructor(){var _0x27701d=_0x5d5117;D(this,'_event$',new H['Subject']()),D(this,'event$',this[_0x27701d(0x441)][_0x27701d(0x40c)]());}[_0x5d5117(0x320)](_0x5a472c){var _0x289512=_0x5d5117;this[_0x289512(0x441)]['next'](_0x5a472c);}}const Rt=a[_0x5d5117(0x4ea)](_0x5d5117(0x175));function Ot(_0x37ce5b){var _0x4221c2=_0x5d5117,_0x5c6c54,_0x232ae3,_0x498d4a,_0x3c12a4,_0xc5ebd6;const _0x38680c=_0x37ce5b[_0x4221c2(0x400)],_0x1f0b3c=JSON[_0x4221c2(0x3a0)](_0x38680c);switch(_0x1f0b3c[_0x4221c2(0x177)]){case G[_0x4221c2(0x1f5)]:case G[_0x4221c2(0x30d)]:{const _0x1a41df=_0x1f0b3c[_0x4221c2(0x2db)];return{..._0x1f0b3c,'data':_0x1a41df,'cmd':_0x1f0b3c[_0x4221c2(0x177)]};}case G[_0x4221c2(0x2fb)]:{const _0x5a20d3=_0x1f0b3c[_0x4221c2(0x429)];return{..._0x1f0b3c,'data':_0x5a20d3,'cmd':_0x1f0b3c[_0x4221c2(0x177)]};}case G['RECV']:{const _0x2656fe=_0x1f0b3c[_0x4221c2(0x37f)];switch(_0x2656fe[_0x4221c2(0x25b)]){case m[_0x4221c2(0x348)]['PERMISSION_REJ']:return{..._0x1f0b3c,'data':{..._0x2656fe,'data':(_0x5c6c54=_0x2656fe[_0x4221c2(0x207)])==null?void 0x0:_0x5c6c54['cs']},'cmd':_0x1f0b3c[_0x4221c2(0x177)]};case m[_0x4221c2(0x348)]['CHANGESET_ACK']:return{..._0x1f0b3c,'data':{..._0x2656fe,'data':(_0x232ae3=_0x2656fe[_0x4221c2(0x274)])==null?void 0x0:_0x232ae3['cs']},'cmd':_0x1f0b3c[_0x4221c2(0x177)]};case m['CollaborationEvent'][_0x4221c2(0x31e)]:return{..._0x1f0b3c,'data':{..._0x2656fe,'data':(_0x498d4a=_0x2656fe[_0x4221c2(0x3bf)])==null?void 0x0:_0x498d4a['cs']},'cmd':_0x1f0b3c['cmd']};case m[_0x4221c2(0x348)][_0x4221c2(0x28b)]:return{..._0x1f0b3c,'data':{..._0x2656fe,'data':(_0x3c12a4=_0x2656fe[_0x4221c2(0x3ff)])==null?void 0x0:_0x3c12a4['cs']},'cmd':_0x1f0b3c['cmd']};case m[_0x4221c2(0x348)][_0x4221c2(0x2b0)]:return{..._0x1f0b3c,'data':{..._0x2656fe,'data':(_0xc5ebd6=_0x2656fe[_0x4221c2(0x3f9)])==null?void 0x0:_0xc5ebd6['cs']},'cmd':_0x1f0b3c['cmd']};case m[_0x4221c2(0x348)][_0x4221c2(0x4c3)]:return{..._0x1f0b3c,'data':{..._0x2656fe,'data':_0x2656fe[_0x4221c2(0x324)]},'cmd':_0x1f0b3c[_0x4221c2(0x177)]};case m[_0x4221c2(0x348)]['USERS_ENTER']:return{..._0x1f0b3c,'data':{..._0x2656fe,'data':_0x2656fe[_0x4221c2(0x1a3)]},'cmd':_0x1f0b3c[_0x4221c2(0x177)]};case m['CollaborationEvent'][_0x4221c2(0x273)]:return{..._0x1f0b3c,'data':{..._0x2656fe,'data':_0x2656fe[_0x4221c2(0x332)]},'cmd':_0x1f0b3c[_0x4221c2(0x177)]};case m['CollaborationEvent'][_0x4221c2(0x1b6)]:return{..._0x1f0b3c,'data':{..._0x2656fe,'data':_0x2656fe[_0x4221c2(0x492)]},'cmd':_0x1f0b3c[_0x4221c2(0x177)]};case m[_0x4221c2(0x348)][_0x4221c2(0x38e)]:case m[_0x4221c2(0x348)][_0x4221c2(0x4e3)]:return{..._0x1f0b3c,'data':{..._0x2656fe,'data':_0x2656fe[_0x4221c2(0x1df)]},'cmd':_0x1f0b3c['cmd']};case m[_0x4221c2(0x348)][_0x4221c2(0x1ee)]:return{..._0x1f0b3c,'data':{..._0x2656fe,'data':_0x2656fe[_0x4221c2(0x492)]},'cmd':_0x1f0b3c[_0x4221c2(0x177)]};case m[_0x4221c2(0x348)]['MSG_FOR_ERROR']:return{..._0x1f0b3c,'data':_0x2656fe,'cmd':_0x1f0b3c[_0x4221c2(0x177)]};case m[_0x4221c2(0x348)][_0x4221c2(0x398)]:return{..._0x1f0b3c,'data':{..._0x2656fe,'data':_0x2656fe[_0x4221c2(0x48b)]},'cmd':_0x1f0b3c[_0x4221c2(0x177)]};case m[_0x4221c2(0x348)][_0x4221c2(0x286)]:return{..._0x1f0b3c,'data':{..._0x2656fe,'data':_0x2656fe[_0x4221c2(0x228)]},'cmd':_0x1f0b3c['cmd']};case m[_0x4221c2(0x348)][_0x4221c2(0x46e)]:return{..._0x1f0b3c,'data':{..._0x2656fe,'data':_0x2656fe['shouldCloseConn']},'cmd':_0x1f0b3c[_0x4221c2(0x177)]};case m[_0x4221c2(0x348)][_0x4221c2(0x34a)]:return{..._0x1f0b3c,'data':{..._0x2656fe,'data':_0x2656fe[_0x4221c2(0x171)]},'cmd':_0x1f0b3c['cmd']};default:return _0x1f0b3c;}}default:return _0x1f0b3c;}}function yt(_0x2fb954){var _0x198401=_0x5d5117;switch(_0x2fb954['cmd']){case G[_0x198401(0x1f5)]:case G[_0x198401(0x30d)]:return JSON[_0x198401(0x45d)]({'cmd':_0x2fb954[_0x198401(0x177)],'routeKey':_0x2fb954[_0x198401(0x2f4)]});case G['INGEST']:{let _0x9bc7a6;switch(_0x2fb954[_0x198401(0x400)][_0x198401(0x25b)]){case m[_0x198401(0x348)][_0x198401(0x4c3)]:{_0x9bc7a6={'eventID':m[_0x198401(0x348)][_0x198401(0x4c3)],'updateCursorEvent':_0x2fb954[_0x198401(0x400)][_0x198401(0x400)]};break;}case m[_0x198401(0x348)][_0x198401(0x273)]:{_0x9bc7a6={'eventID':m[_0x198401(0x348)][_0x198401(0x273)],'leaveEvent':_0x2fb954[_0x198401(0x400)][_0x198401(0x400)]};break;}case m[_0x198401(0x348)][_0x198401(0x4d1)]:{_0x9bc7a6={'eventID':m[_0x198401(0x348)][_0x198401(0x4d1)],'joinEvent':_0x2fb954[_0x198401(0x400)][_0x198401(0x400)]};break;}case m[_0x198401(0x348)][_0x198401(0x1b6)]:{_0x9bc7a6={'eventID':m[_0x198401(0x348)][_0x198401(0x1b6)],'liveShareNewHost':_0x2fb954[_0x198401(0x400)]['data']};break;}case m[_0x198401(0x348)][_0x198401(0x4e3)]:{_0x9bc7a6={'eventID':m['CollaborationEvent'][_0x198401(0x4e3)],'liveShareOperation':_0x2fb954['data']['data']};break;}case m['CollaborationEvent'][_0x198401(0x1ee)]:{_0x9bc7a6={'eventID':m[_0x198401(0x348)][_0x198401(0x1ee)],'liveShareTerminate':_0x2fb954[_0x198401(0x400)][_0x198401(0x400)]};break;}case m['CollaborationEvent'][_0x198401(0x419)]:{_0x9bc7a6={'eventID':m[_0x198401(0x348)][_0x198401(0x419)],'liveShareRequestHost':_0x2fb954['data'][_0x198401(0x400)]};break;}case m['CollaborationEvent'][_0x198401(0x38e)]:{_0x9bc7a6={'eventID':m['CollaborationEvent'][_0x198401(0x38e)]};break;}default:_0x9bc7a6={'eventID':_0x2fb954[_0x198401(0x400)][_0x198401(0x25b)]};}return JSON[_0x198401(0x45d)]({'cmd':_0x2fb954['cmd'],'routeKey':_0x2fb954[_0x198401(0x2f4)],'collaMsg':_0x9bc7a6});}case G[_0x198401(0x2fb)]:return JSON[_0x198401(0x45d)]({'cmd':_0x2fb954[_0x198401(0x177)],'routeKey':_0x2fb954['routeKey'],'joinReq':_0x2fb954[_0x198401(0x400)]});case G[_0x198401(0x19d)]:return JSON[_0x198401(0x45d)]({'cmd':_0x2fb954['cmd'],'routeKey':_0x2fb954[_0x198401(0x2f4)],'leaveReq':_0x2fb954[_0x198401(0x400)]});default:throw new Error(_0x198401(0x4c0));}}var Zt=Object[_0x5d5117(0x4c8)],Qt=Object[_0x5d5117(0x3d3)],en=(_0x5c20d2,_0x45ad00,_0x54eebf,_0x55ad8d)=>{var _0x15fbe5=_0x5d5117;for(var _0x35c2dc=_0x55ad8d>0x1?void 0x0:_0x55ad8d?Qt(_0x45ad00,_0x54eebf):_0x45ad00,_0x4e12c4=_0x5c20d2[_0x15fbe5(0x33f)]-0x1,_0x271f79;_0x4e12c4>=0x0;_0x4e12c4--)(_0x271f79=_0x5c20d2[_0x4e12c4])&&(_0x35c2dc=(_0x55ad8d?_0x271f79(_0x45ad00,_0x54eebf,_0x35c2dc):_0x271f79(_0x35c2dc))||_0x35c2dc);return _0x55ad8d&&_0x35c2dc&&Zt(_0x45ad00,_0x54eebf,_0x35c2dc),_0x35c2dc;},ue=(_0x58ab84,_0x3f734c)=>(_0xff5b4e,_0x2598bc)=>_0x3f734c(_0xff5b4e,_0x2598bc,_0x58ab84);const ke=a[_0x5d5117(0x4ea)](_0x5d5117(0x45b));function tn(_0x42ddda,_0x1b3b94,_0x599fb6){var _0x1cca5e=_0x5d5117;return _0x42ddda+'/'+_0x1b3b94+_0x1cca5e(0x1d4)+_0x599fb6+_0x1cca5e(0x4e9);}exports[_0x5d5117(0x174)]=class extends a[_0x5d5117(0x2ea)]{constructor(_0x46fd34,_0x474f50,_0x5456cb,_0x19990e,_0x17d98d){var _0x1a4769=_0x5d5117;super(),this[_0x1a4769(0x238)]=_0x46fd34,this[_0x1a4769(0x4a6)]=_0x474f50,this[_0x1a4769(0x381)]=_0x5456cb,this[_0x1a4769(0x2d0)]=_0x19990e,this['_snapshotServerService']=_0x17d98d;}[_0x5d5117(0x3d0)](_0x177809){var _0x28807c=_0x5d5117;const _0x2dda14=this[_0x28807c(0x238)][_0x28807c(0x2ec)](q[_0x28807c(0x3ab)]);if(!_0x2dda14)throw new Error(_0x28807c(0x481));const _0x267df8=_0x2dda14['createSocket'](_0x177809);if(!_0x267df8)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x29d4f8=new a[(_0x28807c(0x4eb))](),_0x2914d8=new H[(_0x28807c(0x4ee))]();_0x29d4f8[_0x28807c(0x4be)](_0x267df8[_0x28807c(0x300)][_0x28807c(0x415)](_0x5c19d4=>_0x2914d8[_0x28807c(0x1ce)](_0x5c19d4))),_0x29d4f8['add'](a[_0x28807c(0x42d)](()=>_0x2914d8['complete']()));const _0x5162f0=new H[(_0x28807c(0x4ee))]();_0x29d4f8[_0x28807c(0x4be)](_0x267df8[_0x28807c(0x24c)]['subscribe'](_0x40cdaa=>_0x5162f0['next'](_0x40cdaa))),_0x29d4f8[_0x28807c(0x4be)](a[_0x28807c(0x42d)](()=>_0x5162f0[_0x28807c(0x48e)]()));const _0x328519=new H[(_0x28807c(0x4ee))]();_0x29d4f8[_0x28807c(0x4be)](_0x267df8[_0x28807c(0x1f0)][_0x28807c(0x415)](_0x100adc=>{var _0x1bd7f5=_0x28807c;const _0x228e43=Ot(_0x100adc);_0x328519[_0x1bd7f5(0x1ce)](_0x228e43);})),_0x29d4f8[_0x28807c(0x4be)](a[_0x28807c(0x42d)](()=>_0x328519[_0x28807c(0x48e)]()));let _0x58a0f9;const _0x4fe66a=()=>{var _0x405d52=_0x28807c;_0x5162f0[_0x405d52(0x1ce)](new Event(_0x405d52(0x23b))),_0x2914d8[_0x405d52(0x1ce)](new CloseEvent(_0x405d52(0x23b))),_0x58a0f9[_0x405d52(0x276)]();};return _0x58a0f9={'memberID':'','close$':_0x2914d8[_0x28807c(0x40c)](),'error$':_0x5162f0[_0x28807c(0x40c)](),'open$':_0x267df8[_0x28807c(0x355)],'message$':_0x328519[_0x28807c(0x40c)](),'send':_0x10d328=>{var _0x464ea4=_0x28807c;if(_0x10d328[_0x464ea4(0x177)]===G[_0x464ea4(0x308)]){if(_0x10d328[_0x464ea4(0x400)][_0x464ea4(0x25b)]===m[_0x464ea4(0x348)][_0x464ea4(0x37c)]){this[_0x464ea4(0x373)](_0x58a0f9,_0x10d328['data'])[_0x464ea4(0x4e2)](_0x43e5c8=>{var _0x4e4458=_0x464ea4;this[_0x4e4458(0x2d0)][_0x4e4458(0x293)](_0x43e5c8),_0x4fe66a();});return;}if(_0x10d328[_0x464ea4(0x400)][_0x464ea4(0x25b)]===m[_0x464ea4(0x348)]['FETCH_MISSING']){const _0x4b766a=_0x10d328[_0x464ea4(0x400)];this[_0x464ea4(0x2e8)](_0x4b766a)[_0x464ea4(0x39f)](_0x64214b=>{var _0x4bdbad=_0x464ea4;_0x328519[_0x4bdbad(0x1ce)]({'cmd':G[_0x4bdbad(0x1f4)],'code':he['OK'],'routeKey':_0x4b766a[_0x4bdbad(0x400)]['unitID'],'routeType':'','data':{'eventID':m['CollaborationEvent'][_0x4bdbad(0x37d)],'data':{'changesets':_0x64214b}}});})[_0x464ea4(0x4e2)](_0x55a8ce=>{var _0x5c4819=_0x464ea4;this['_logService'][_0x5c4819(0x293)](_0x55a8ce),_0x4fe66a();});return;}}_0x267df8[_0x464ea4(0x49d)](yt(_0x10d328));},'close':()=>{var _0x4f7484=_0x28807c;_0x267df8[_0x4f7484(0x276)](),_0x29d4f8[_0x4f7484(0x3fd)]();}},_0x58a0f9;}async[_0x5d5117(0x373)](_0x22c8f1,_0x5bcdc6){var _0x29b08f=_0x5d5117,_0x2184de,_0x130685;const {unitType:_0x4d3472,unitID:_0x6ec481,changeset:_0x58ce35}=_0x5bcdc6[_0x29b08f(0x400)],_0x3f2182={'unitID':_0x6ec481,'memberID':_0x22c8f1[_0x29b08f(0x1da)],'type':_0x4d3472,'changeset':m[_0x29b08f(0x2a7)](_0x58ce35)},_0x1a738f=this[_0x29b08f(0x381)][_0x29b08f(0x4c7)](Et),_0x549bee=this[_0x29b08f(0x381)][_0x29b08f(0x4c7)](Y),_0xde9e0e=tn((_0x130685=(_0x2184de=_0x549bee==null?void 0x0:_0x549bee[_0x29b08f(0x3c1)])!=null?_0x2184de:_0x1a738f)!=null?_0x130685:qt,_0x4d3472,_0x6ec481);try{await this[_0x29b08f(0x4a6)]['post'](_0xde9e0e,{'body':_0x3f2182});}catch(_0x2df022){throw this[_0x29b08f(0x2d0)]['error'](_0x29b08f(0x2ad),'submit\x20changeset\x20error!'),_0x2df022;}}async[_0x5d5117(0x2e8)](_0x43857d){var _0x46fca7=_0x5d5117;const {unitID:_0xbf6f09,from:_0x248fd7,to:_0x13f729,unitType:_0xdea4a8}=_0x43857d['data'];return(await this[_0x46fca7(0x437)][_0x46fca7(0x259)]({'metadata':void 0x0},{'unitID':_0xbf6f09,'type':_0xdea4a8,'from':_0x248fd7,'to':_0x13f729}))['changesets'];}},exports['CollaborationSocketService']=en([ue(0x0,a['Inject'](a['Injector'])),ue(0x1,a[_0x5d5117(0x4e6)](q[_0x5d5117(0x42a)])),ue(0x2,a[_0x5d5117(0x1a7)]),ue(0x3,a[_0x5d5117(0x218)]),ue(0x4,m[_0x5d5117(0x2ba)])],exports[_0x5d5117(0x174)]);const nn=_0x5d5117(0x336);function rn(_0x3f522e){var _0x2d2f6b=_0x5d5117;return JSON[_0x2d2f6b(0x45d)](_0x3f522e)[_0x2d2f6b(0x33f)];}class Be{constructor(){var _0x2ef27e=_0x5d5117;D(this,'_commentUpdate$',new H[(_0x2ef27e(0x4ee))]()),D(this,'commentUpdate$',this['_commentUpdate$'][_0x2ef27e(0x40c)]());}[_0x5d5117(0x3d4)](_0x5f331f){var _0x5ad45e=_0x5d5117;this[_0x5ad45e(0x1ed)][_0x5ad45e(0x1ce)](_0x5f331f);}}var sn=Object[_0x5d5117(0x4c8)],on=Object[_0x5d5117(0x3d3)],an=(_0xe320c1,_0x5c605b,_0x5d7a4c,_0x171fb7)=>{var _0x25f97b=_0x5d5117;for(var _0x2c0359=_0x171fb7>0x1?void 0x0:_0x171fb7?on(_0x5c605b,_0x5d7a4c):_0x5c605b,_0x3bda74=_0xe320c1[_0x25f97b(0x33f)]-0x1,_0x46387d;_0x3bda74>=0x0;_0x3bda74--)(_0x46387d=_0xe320c1[_0x3bda74])&&(_0x2c0359=(_0x171fb7?_0x46387d(_0x5c605b,_0x5d7a4c,_0x2c0359):_0x46387d(_0x2c0359))||_0x2c0359);return _0x171fb7&&_0x2c0359&&sn(_0x5c605b,_0x5d7a4c,_0x2c0359),_0x2c0359;},Ye=(_0x236662,_0x5ef03c)=>(_0x439ad3,_0x1d8444)=>_0x5ef03c(_0x439ad3,_0x1d8444,_0x236662);exports['MemberService']=class extends a[_0x5d5117(0x2ea)]{constructor(_0x3f706d,_0x345917){var _0x5676b5=_0x5d5117;super(),D(this,_0x5676b5(0x275),new Map()),D(this,_0x5676b5(0x368),new H['Subject']()),(this[_0x5676b5(0x4da)]=_0x3f706d,this[_0x5676b5(0x4e1)]=_0x345917,this[_0x5676b5(0x237)](H[_0x5676b5(0x1bd)](this['_univerInstanceService'][_0x5676b5(0x43c)](a[_0x5676b5(0x2b8)][_0x5676b5(0x3cb)])['pipe'](W['map'](_0x572ab1=>_0x572ab1[_0x5676b5(0x4a3)]())),this[_0x5676b5(0x4da)][_0x5676b5(0x43c)](a[_0x5676b5(0x2b8)][_0x5676b5(0x4e4)])[_0x5676b5(0x1f6)](W['map'](_0x5b9964=>_0x5b9964[_0x5676b5(0x4a3)]())),this[_0x5676b5(0x4da)]['getTypeOfUnitDisposed$'](a[_0x5676b5(0x2b8)]['UNIVER_SLIDE'])['pipe'](W['map'](_0x3b78e6=>_0x3b78e6['getUnitId']())))[_0x5676b5(0x415)](_0x31b338=>this[_0x5676b5(0x2ca)](_0x31b338))));}[_0x5d5117(0x2c7)](_0x7daa3a){var _0x4a9627=_0x5d5117;return this[_0x4a9627(0x275)][_0x4a9627(0x240)](_0x7daa3a)?H['of'](this[_0x4a9627(0x275)][_0x4a9627(0x2ec)](_0x7daa3a)):this['_roomCreated$'][_0x4a9627(0x1f6)](W['map'](_0x185ddb=>{var _0x2650a6=_0x4a9627;if(_0x185ddb===_0x7daa3a)return this[_0x2650a6(0x275)][_0x2650a6(0x2ec)](_0x185ddb);}));}[_0x5d5117(0x4c9)](_0x20240c){var _0x46b5e2=_0x5d5117;this[_0x46b5e2(0x4e1)][_0x46b5e2(0x4c9)](_0x20240c);}[_0x5d5117(0x283)](){var _0x36ddc6=_0x5d5117;return this[_0x36ddc6(0x4e1)][_0x36ddc6(0x283)]();}[_0x5d5117(0x180)](_0x21e43f,_0x1563e2){var _0x290d68=_0x5d5117;let _0x4017b7=this[_0x290d68(0x275)][_0x290d68(0x2ec)](_0x21e43f);_0x4017b7||(_0x4017b7=new cn(),this[_0x290d68(0x275)]['set'](_0x21e43f,_0x4017b7),this['_roomCreated$'][_0x290d68(0x1ce)](_0x21e43f)),_0x4017b7[_0x290d68(0x180)](_0x1563e2);}[_0x5d5117(0x1d1)](_0x4f6fd9,_0xdb07e){var _0x16fc67=_0x5d5117;const _0x43a8f9=this['_roomMembers'][_0x16fc67(0x2ec)](_0x4f6fd9);_0x43a8f9&&_0x43a8f9[_0x16fc67(0x1d1)](_0xdb07e);}[_0x5d5117(0x3b0)](_0x201a84){var _0x1ea7cc=_0x5d5117;return this['_roomMembers'][_0x1ea7cc(0x2ec)](_0x201a84);}[_0x5d5117(0x1ad)](_0x162634,_0x56c8f1){var _0x3026af=_0x5d5117;const _0x2a9657=this['_roomMembers'][_0x3026af(0x2ec)](_0x162634);if(_0x2a9657)return _0x2a9657[_0x3026af(0x1ad)](_0x56c8f1);}['_removeRoom'](_0x20dc0e){var _0x2aeb3a=_0x5d5117;const _0x525873=this[_0x2aeb3a(0x275)][_0x2aeb3a(0x2ec)](_0x20dc0e);_0x525873&&(_0x525873[_0x2aeb3a(0x3fd)](),this['_roomMembers']['delete'](_0x20dc0e));}[_0x5d5117(0x3fd)](){var _0x4d6cf1=_0x5d5117;this[_0x4d6cf1(0x275)][_0x4d6cf1(0x3ee)](_0x273e5f=>_0x273e5f['dispose']()),this['_roomMembers'][_0x4d6cf1(0x195)](),this[_0x4d6cf1(0x368)][_0x4d6cf1(0x48e)]();}},exports[_0x5d5117(0x30f)]=an([Ye(0x0,a[_0x5d5117(0x169)]),Ye(0x1,a['Inject'](a[_0x5d5117(0x16f)]))],exports[_0x5d5117(0x30f)]);class cn extends a[_0x5d5117(0x2ea)]{constructor(){var _0x33ade7=_0x5d5117;super(...arguments),D(this,_0x33ade7(0x342),new Map()),D(this,'_members$',new H[(_0x33ade7(0x3fe))](this[_0x33ade7(0x342)])),D(this,_0x33ade7(0x46d),this[_0x33ade7(0x472)][_0x33ade7(0x40c)]());}['dispose'](){var _0x5120da=_0x5d5117;this[_0x5120da(0x342)][_0x5120da(0x195)]();}[_0x5d5117(0x180)](_0x3d218d){var _0x2779fa=_0x5d5117;this[_0x2779fa(0x342)]['set'](_0x3d218d[_0x2779fa(0x1da)],_0x3d218d),this[_0x2779fa(0x2d6)]();}[_0x5d5117(0x1d1)](_0x31c4c7){var _0x1ad113=_0x5d5117;this[_0x1ad113(0x342)]['delete'](_0x31c4c7);}[_0x5d5117(0x1ad)](_0x4b2b78){var _0x3ea0b0=_0x5d5117;return this[_0x3ea0b0(0x342)][_0x3ea0b0(0x2ec)](_0x4b2b78);}[_0x5d5117(0x461)](){return Array['from'](this['_members']['values']());}[_0x5d5117(0x2d6)](){var _0x304cf7=_0x5d5117;this[_0x304cf7(0x472)][_0x304cf7(0x1ce)](this[_0x304cf7(0x342)]);}}var hn=Object[_0x5d5117(0x4c8)],ln=Object[_0x5d5117(0x3d3)],_n=(_0x19f185,_0xf50812,_0x4631fd,_0x19e069)=>{var _0x173f1a=_0x5d5117;for(var _0x37b23f=_0x19e069>0x1?void 0x0:_0x19e069?ln(_0xf50812,_0x4631fd):_0xf50812,_0x28c312=_0x19f185[_0x173f1a(0x33f)]-0x1,_0x208be1;_0x28c312>=0x0;_0x28c312--)(_0x208be1=_0x19f185[_0x28c312])&&(_0x37b23f=(_0x19e069?_0x208be1(_0xf50812,_0x4631fd,_0x37b23f):_0x208be1(_0x37b23f))||_0x37b23f);return _0x19e069&&_0x37b23f&&hn(_0xf50812,_0x4631fd,_0x37b23f),_0x37b23f;},oe=(_0x27e367,_0xf19de9)=>(_0x2028ce,_0x73434b)=>_0xf19de9(_0x2028ce,_0x73434b,_0x27e367),se=(_0x52aa9a=>(_0x52aa9a[_0x52aa9a[_0x5d5117(0x465)]=0x0]=_0x5d5117(0x465),_0x52aa9a[_0x52aa9a[_0x5d5117(0x2d2)]=0x1]=_0x5d5117(0x2d2),_0x52aa9a[_0x52aa9a['OFFLINE']=0x2]=_0x5d5117(0x3ac),_0x52aa9a[_0x52aa9a[_0x5d5117(0x212)]=0x3]=_0x5d5117(0x212),_0x52aa9a))(se||{});const qe={[he[_0x5d5117(0x263)]]:'session.join-failed',[he[_0x5d5117(0x49c)]]:_0x5d5117(0x310),[he[_0x5d5117(0x2d9)]]:_0x5d5117(0x44c),[he[_0x5d5117(0x498)]]:_0x5d5117(0x221),[he[_0x5d5117(0x386)]]:_0x5d5117(0x309)};exports[_0x5d5117(0x40f)]=class extends a[_0x5d5117(0x424)]{constructor(_0x11b0ea,_0x431cbe,_0x3d7dbc,_0x98fbfc,_0x3c0ffa,_0x1c184f,_0x4ba48e,_0x2a5161,_0x5b24eb){var _0x3997a2=_0x5d5117;super(),D(this,'_sessionStatus$',new H[(_0x3997a2(0x3fe))](0x0)),D(this,_0x3997a2(0x4a0),this[_0x3997a2(0x24d)]['asObservable']()),D(this,_0x3997a2(0x441),new H['Subject']()),D(this,_0x3997a2(0x292),this[_0x3997a2(0x441)][_0x3997a2(0x40c)]()),D(this,_0x3997a2(0x1d9)),D(this,'_socketMessageSubscription'),D(this,_0x3997a2(0x4c4)),D(this,_0x3997a2(0x4ab),!0x1),D(this,_0x3997a2(0x1cd),null),(this[_0x3997a2(0x4cc)]=_0x11b0ea,this[_0x3997a2(0x2d0)]=_0x3d7dbc,this[_0x3997a2(0x381)]=_0x98fbfc,this[_0x3997a2(0x20e)]=_0x3c0ffa,this['_memberService']=_0x1c184f,this[_0x3997a2(0x369)]=_0x4ba48e,this['_collaborationUIEventService']=_0x2a5161,this[_0x3997a2(0x34e)]=_0x5b24eb,this['_shouldReportTelemetry']=!!this['_telemetryService'],_0x431cbe[_0x3997a2(0x1f6)](H[_0x3997a2(0x456)](this['dispose$']))[_0x3997a2(0x415)](_0x87f3dc=>{var _0x1caef8=_0x3997a2,_0x234dec;typeof _0x87f3dc>'u'||(this[_0x1caef8(0x1d9)]=_0x87f3dc,_0x87f3dc?(this['_joinRoom'](_0x87f3dc),this[_0x1caef8(0x288)]=_0x87f3dc[_0x1caef8(0x1f0)]['subscribe'](_0x20bbd9=>{_0x20bbd9['routeKey']===this['_unitID']&&this['_onCombEvent'](_0x20bbd9);})):(this[_0x1caef8(0x307)](),this[_0x1caef8(0x24d)][_0x1caef8(0x1ce)](0x2),(_0x234dec=this[_0x1caef8(0x288)])==null||_0x234dec[_0x1caef8(0x404)](),this[_0x1caef8(0x288)]=null));}));}get['sessionStatus'](){var _0x5916a5=_0x5d5117;return this[_0x5916a5(0x24d)][_0x5916a5(0x209)]();}[_0x5d5117(0x2ab)](){var _0x2bb746=_0x5d5117,_0x42fb72,_0x1fee1e;return(_0x1fee1e=(_0x42fb72=this[_0x2bb746(0x1d9)])==null?void 0x0:_0x42fb72[_0x2bb746(0x1da)])!=null?_0x1fee1e:null;}['dispose'](){var _0x308baf=_0x5d5117;super[_0x308baf(0x3fd)](),this[_0x308baf(0x2da)]['next'](),this[_0x308baf(0x2da)]['complete']();}[_0x5d5117(0x276)](){var _0x1ddaf8=_0x5d5117,_0x3e70e5,_0x23db9a;this[_0x1ddaf8(0x307)](),(_0x3e70e5=this['_socket'])==null||_0x3e70e5['send']({'cmd':G['LEAVE'],'data':{'roomID':this[_0x1ddaf8(0x4cc)]}}),(_0x23db9a=this['_socket'])==null||_0x23db9a[_0x1ddaf8(0x276)](),this[_0x1ddaf8(0x441)][_0x1ddaf8(0x48e)](),this['_sessionStatus$']['complete'](),this[_0x1ddaf8(0x3fd)]();}[_0x5d5117(0x1cf)](_0x254d4b){var _0x51f345=_0x5d5117;_0x254d4b['cmd']===G[_0x51f345(0x2fb)]?this[_0x51f345(0x4ef)](_0x254d4b):_0x254d4b['cmd']===G['RECV']&&this[_0x51f345(0x3c9)](_0x254d4b);}[_0x5d5117(0x224)](_0x115407){var _0x2d144b=_0x5d5117;this[_0x2d144b(0x24d)]['next'](0x1),_0x115407[_0x2d144b(0x49d)]({'cmd':G[_0x2d144b(0x2fb)],'routeKey':this[_0x2d144b(0x4cc)],'routeType':'','data':{'rooms':[{'roomID':this[_0x2d144b(0x4cc)]}]}});}[_0x5d5117(0x4ef)](_0x63dd3a){var _0x390b91=_0x5d5117,_0x154ca8;if(_0x63dd3a[_0x390b91(0x301)]in qe){this['_collaborationUIEventService'][_0x390b91(0x320)]({'id':Q['JOIN_ROOM_FAILED'],'data':qe[_0x63dd3a[_0x390b91(0x301)]]}),this['_sessionStatus$'][_0x390b91(0x1ce)](0x2);return;}this[_0x390b91(0x24d)][_0x390b91(0x1ce)](0x3);const _0x433261=(_0x154ca8=_0x63dd3a[_0x390b91(0x400)][_0x390b91(0x173)][this['_unitID']])==null?void 0x0:_0x154ca8['members'];_0x433261&&_0x433261[_0x390b91(0x3ee)](_0x380018=>this['_memberService'][_0x390b91(0x180)](this['_unitID'],_0x380018));}[_0x5d5117(0x3c9)](_0x297da9){var _0xcf70cb=_0x5d5117;try{const _0x5ee5a6=_0x297da9[_0xcf70cb(0x400)];switch(_0x5ee5a6['eventID']){case m[_0xcf70cb(0x348)][_0xcf70cb(0x4d1)]:this[_0xcf70cb(0x20d)](_0x5ee5a6),this[_0xcf70cb(0x441)]['next'](_0x5ee5a6);break;case m['CollaborationEvent'][_0xcf70cb(0x273)]:this[_0xcf70cb(0x479)](_0x5ee5a6),this[_0xcf70cb(0x441)][_0xcf70cb(0x1ce)](_0x5ee5a6);break;case m[_0xcf70cb(0x348)][_0xcf70cb(0x2ae)]:case m['CollaborationEvent']['CHANGESET_SHOULD_RETRY']:this[_0xcf70cb(0x1e9)](),this[_0xcf70cb(0x4f0)](),this['_event$'][_0xcf70cb(0x1ce)](_0x5ee5a6);break;case m['CollaborationEvent'][_0xcf70cb(0x4b4)]:this[_0xcf70cb(0x2d0)]['error'](_0xcf70cb(0x32b)+JSON[_0xcf70cb(0x45d)](_0x5ee5a6)),this[_0xcf70cb(0x441)][_0xcf70cb(0x1ce)](_0x5ee5a6);break;case m[_0xcf70cb(0x348)][_0xcf70cb(0x398)]:this[_0xcf70cb(0x369)]['onCommentUpdate'](_0x5ee5a6['data']),this[_0xcf70cb(0x441)][_0xcf70cb(0x1ce)](_0x5ee5a6);break;default:this['_event$']['next'](_0x5ee5a6);}}catch(_0x4f86b2){this[_0xcf70cb(0x2d0)][_0xcf70cb(0x293)](_0x4f86b2,_0x297da9);}}[_0x5d5117(0x20d)](_0x1c4242){var _0x4a641e=_0x5d5117;this[_0x4a641e(0x1a6)][_0x4a641e(0x180)](this[_0x4a641e(0x4cc)],_0x1c4242[_0x4a641e(0x400)]);}[_0x5d5117(0x479)](_0x6c7674){var _0xb150bf=_0x5d5117;this['_memberService'][_0xb150bf(0x1d1)](this[_0xb150bf(0x4cc)],_0x6c7674[_0xb150bf(0x400)][_0xb150bf(0x1da)]);}async[_0x5d5117(0x49d)](_0x5c923e,_0x17c6b0){var _0x35769f=_0x5d5117;if(this['sessionStatus']!==0x3||!this[_0x35769f(0x1d9)])throw new Error(_0x35769f(0x351));try{_0x5c923e[_0x35769f(0x25b)]===m['CollaborationEvent']['SUBMIT_CHANGESET']&&(this[_0x35769f(0x3cc)](),this['_startTelemetryCollaborationNewChangeset'](_0x5c923e)),this[_0x35769f(0x1d9)][_0x35769f(0x49d)]({'cmd':G['INGEST'],'routeKey':_0x17c6b0,'routeType':'','data':_0x5c923e});}catch(_0x301f40){this[_0x35769f(0x2d0)][_0x35769f(0x293)](_0x301f40);}}[_0x5d5117(0x3cc)](){var _0x1a4447=_0x5d5117,_0x56c03a;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x10cfa9=_0x274d;this[_0x10cfa9(0x4c4)]=null,this[_0x10cfa9(0x3a4)][_0x10cfa9(0x320)]({'id':Q[_0x10cfa9(0x21b)]});},(_0x56c03a=this[_0x1a4447(0x381)][_0x1a4447(0x4c7)](He))!=null?_0x56c03a:gt);}['_clearCollaborationTimeoutTimer'](){this['_collaborationTimeoutTimer']&&(clearTimeout(this['_collaborationTimeoutTimer']),this['_collaborationTimeoutTimer']=null);}[_0x5d5117(0x290)](_0x19b270){var _0xc53dd0=_0x5d5117;if(!this[_0xc53dd0(0x4ab)])return;const {data:_0x5402e2}=_0x19b270,{unitID:_0x2333d5,changeset:_0x2b372a}=_0x5402e2,{mutations:_0x368a50,type:_0x34f3cd}=_0x2b372a;this['_telemetryInfo']={'unitId':_0x2333d5,'type':_0x34f3cd,'startTime':performance[_0xc53dd0(0x40e)](),'stopTime':0x0,'duration':0x0,'size':rn(_0x368a50)};}[_0x5d5117(0x1e9)](){var _0x790b59=_0x5d5117;if(this['_shouldReportTelemetry']){if(!this[_0x790b59(0x1cd)]){this[_0x790b59(0x2d0)][_0x790b59(0x293)]('[CollaborationSession]','telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x790b59(0x1cd)]['stopTime']=performance[_0x790b59(0x40e)](),this[_0x790b59(0x1cd)]['duration']=this['_telemetryInfo'][_0x790b59(0x39e)]-this['_telemetryInfo'][_0x790b59(0x197)],this[_0x790b59(0x34e)][_0x790b59(0x442)](nn,this[_0x790b59(0x1cd)]),this[_0x790b59(0x1cd)]=null;}}[_0x5d5117(0x307)](){this['_telemetryInfo']=null;}},exports[_0x5d5117(0x40f)]=_n([oe(0x2,a['ILogService']),oe(0x3,a[_0x5d5117(0x1a7)]),oe(0x4,a['Inject'](a[_0x5d5117(0x36a)])),oe(0x5,a[_0x5d5117(0x4e6)](exports['MemberService'])),oe(0x6,a[_0x5d5117(0x4e6)](Be)),oe(0x7,a[_0x5d5117(0x4e6)](te)),oe(0x8,a[_0x5d5117(0x331)](jt[_0x5d5117(0x3d5)]))],exports[_0x5d5117(0x40f)]);var un=Object[_0x5d5117(0x4c8)],dn=Object[_0x5d5117(0x3d3)],vn=(_0x3b19ff,_0x5f56a7,_0x23ac18,_0x4bdee0)=>{for(var _0x4ac57d=_0x4bdee0>0x1?void 0x0:_0x4bdee0?dn(_0x5f56a7,_0x23ac18):_0x5f56a7,_0x4b12c3=_0x3b19ff['length']-0x1,_0x112644;_0x4b12c3>=0x0;_0x4b12c3--)(_0x112644=_0x3b19ff[_0x4b12c3])&&(_0x4ac57d=(_0x4bdee0?_0x112644(_0x5f56a7,_0x23ac18,_0x4ac57d):_0x112644(_0x4ac57d))||_0x4ac57d);return _0x4bdee0&&_0x4ac57d&&un(_0x5f56a7,_0x23ac18,_0x4ac57d),_0x4ac57d;},ae=(_0x57beba,_0x3bdee2)=>(_0x339214,_0x297757)=>_0x3bdee2(_0x339214,_0x297757,_0x57beba);exports[_0x5d5117(0x36d)]=class extends a['Disposable']{constructor(_0x2538b8,_0x559ed5,_0xe63edc,_0x1f6638,_0x44a3ab,_0x4f4c82,_0x22c5ac){var _0x255f68=_0x5d5117;super(),D(this,_0x255f68(0x478),new H[(_0x255f68(0x3fe))](void 0x0)),D(this,_0x255f68(0x391),this[_0x255f68(0x478)][_0x255f68(0x40c)]()),D(this,_0x255f68(0x2ef),null),D(this,_0x255f68(0x1e6),new Map()),D(this,_0x255f68(0x4d9),new H[(_0x255f68(0x3fe))](se[_0x255f68(0x465)])),D(this,_0x255f68(0x448),this[_0x255f68(0x4d9)]['asObservable']()),D(this,'_socketReady',!0x1),D(this,_0x255f68(0x3fc)),D(this,_0x255f68(0x261),0x0),D(this,_0x255f68(0x405)),D(this,_0x255f68(0x255)),(this[_0x255f68(0x238)]=_0x2538b8,this[_0x255f68(0x2d0)]=_0x559ed5,this[_0x255f68(0x381)]=_0xe63edc,this['_socketService']=_0x1f6638,this[_0x255f68(0x3a9)]=_0x44a3ab,this['_collaborationUIEventService']=_0x4f4c82,this['_networkConditionService']=_0x22c5ac,this[_0x255f68(0x246)]());}get[_0x5d5117(0x1d9)](){var _0xcfcba7=_0x5d5117;return this[_0xcfcba7(0x478)][_0xcfcba7(0x209)]();}[_0x5d5117(0x246)](){var _0x1dc881=_0x5d5117;this[_0x1dc881(0x31d)]&&this['disposeWithMe'](this[_0x1dc881(0x31d)][_0x1dc881(0x45e)]['subscribe'](_0x35b257=>{var _0x478dec=_0x1dc881;_0x35b257&&!this['_socket']&&this[_0x478dec(0x402)](),_0x35b257||this[_0x478dec(0x463)]();}));}['dispose'](){var _0x11f509=_0x5d5117;super[_0x11f509(0x3fd)](),this[_0x11f509(0x1e6)][_0x11f509(0x3ee)](_0x37d35b=>_0x37d35b[_0x11f509(0x3fd)]()),this[_0x11f509(0x1e6)][_0x11f509(0x195)](),this['_status$'][_0x11f509(0x48e)]();}async[_0x5d5117(0x3c3)](_0x40a198){var _0x51e66d=_0x5d5117;if(this[_0x51e66d(0x1e6)]['has'](_0x40a198))return this['_sessions'][_0x51e66d(0x2ec)](_0x40a198);this['_tryEnsureSocket']();const _0x209faf=this['_injector'][_0x51e66d(0x3f7)](exports['CollaborationSession'],_0x40a198,this['_socket$'][_0x51e66d(0x40c)]());return this[_0x51e66d(0x1e6)][_0x51e66d(0x312)](_0x40a198,_0x209faf),_0x209faf;}[_0x5d5117(0x2e4)](_0x5e1f55){var _0xeb5147=_0x5d5117,_0x1c72bc;const _0x56bf1e=this[_0xeb5147(0x1e6)][_0xeb5147(0x2ec)](_0x5e1f55);_0x56bf1e&&(this[_0xeb5147(0x1e6)][_0xeb5147(0x220)](_0x5e1f55),_0x56bf1e['close']()),this[_0xeb5147(0x1e6)][_0xeb5147(0x3e2)]||(_0x1c72bc=this['_socket'])==null||_0x1c72bc[_0xeb5147(0x276)]();}['reconnect'](){var _0x5adbbd=_0x5d5117;this['_retryCount']=0x0,this['_retryConnectingTimer']!=null&&(clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null),this[_0x5adbbd(0x4dd)]();}async[_0x5d5117(0x4bb)](){var _0x466a37=_0x5d5117,_0x3cec93,_0x5c4897,_0x253612;const _0x206639=this[_0x466a37(0x381)][_0x466a37(0x4c7)](Y),_0xaf54f5=(_0x3cec93=_0x206639==null?void 0x0:_0x206639['wsSessionTicketUrl'])!=null?_0x3cec93:Ft;return(_0x253612=(_0x5c4897=(await this[_0x466a37(0x3a9)][_0x466a37(0x2ec)](_0xaf54f5,{'headers':{'Content-Type':_0x466a37(0x440)}}))['body'])==null?void 0x0:_0x5c4897[_0x466a37(0x3c5)])!=null?_0x253612:'';}[_0x5d5117(0x43a)](_0x45ef0b){var _0x188b93=_0x5d5117,_0x45f8fc,_0x4eb685;const _0x4edfb1=this[_0x188b93(0x381)][_0x188b93(0x4c7)](St),_0x56e2a1=this['_configService'][_0x188b93(0x4c7)](Y),_0x51118b=(_0x4eb685=(_0x45f8fc=_0x56e2a1==null?void 0x0:_0x56e2a1[_0x188b93(0x4f1)])!=null?_0x45f8fc:_0x4edfb1)!=null?_0x4eb685:pt,_0x3e71c6=typeof window>'u'?new URL(_0x51118b):new URL(_0x51118b,window['location'][_0x188b93(0x37b)]);_0x3e71c6['searchParams']['set'](_0x188b93(0x28f),_0x45ef0b);const _0xba56b1=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x188b93(0x482)][_0x188b93(0x474)]);return _0xba56b1[_0x188b93(0x2ec)](_0x188b93(0x199))&&_0x3e71c6[_0x188b93(0x2e7)][_0x188b93(0x312)](_0x188b93(0x199),_0xba56b1[_0x188b93(0x2ec)](_0x188b93(0x199))),_0x3e71c6[_0x188b93(0x426)]();}async[_0x5d5117(0x357)](){var _0x10c1cd=_0x5d5117;const _0x28c873=await this[_0x10c1cd(0x4bb)](),_0x5f2edd=this[_0x10c1cd(0x43a)](_0x28c873),_0x5ca109=this['_socketService'][_0x10c1cd(0x3d0)](_0x5f2edd);return this['_candidateSocket']=_0x5ca109,_0x5ca109;}async[_0x5d5117(0x1b9)](){var _0x2b6dff=_0x5d5117,_0x1c20e1,_0x5e6313;try{const _0x1a5259=(_0x5e6313=(_0x1c20e1=this[_0x2b6dff(0x1d9)])!=null?_0x1c20e1:this[_0x2b6dff(0x2ef)])!=null?_0x5e6313:await this[_0x2b6dff(0x357)]();if(_0x1a5259){const _0x14636f=_0x1a5259[_0x2b6dff(0x49d)];_0x1a5259[_0x2b6dff(0x49d)]=_0x32014f=>(this[_0x2b6dff(0x269)](),_0x14636f[_0x2b6dff(0x208)](_0x1a5259,[_0x32014f])),_0x1a5259[_0x2b6dff(0x1f0)][_0x2b6dff(0x415)](_0x24fe42=>this['_onMessage'](_0x1a5259,_0x24fe42)),_0x1a5259['error$'][_0x2b6dff(0x1f6)](W[_0x2b6dff(0x2a5)](0x1))[_0x2b6dff(0x415)](_0x2ca07f=>this[_0x2b6dff(0x2d0)][_0x2b6dff(0x293)](_0x2b6dff(0x1eb),_0x2ca07f)),_0x1a5259['open$']['pipe'](W[_0x2b6dff(0x2a5)](0x1))[_0x2b6dff(0x415)](()=>{this['_onConnectionOpen'](_0x1a5259);}),_0x1a5259[_0x2b6dff(0x300)]['pipe'](W[_0x2b6dff(0x2a5)](0x1))[_0x2b6dff(0x415)](_0x3eb58a=>{var _0x2260bb=_0x2b6dff;this[_0x2260bb(0x2d0)][_0x2260bb(0x1c3)](_0x2260bb(0x393),_0x2260bb(0x4ed),_0x3eb58a),this[_0x2260bb(0x359)]();});}}catch(_0x5c1c39){this[_0x2b6dff(0x2d0)][_0x2b6dff(0x293)](_0x5c1c39),this['_onConnectionFailed']();}}['_onConnectionOpen'](_0x4fc27f){var _0xdc1a49=_0x5d5117;this[_0xdc1a49(0x2d0)][_0xdc1a49(0x1c3)]('[CollaborationSessionService]',_0xdc1a49(0x272)),_0x4fc27f[_0xdc1a49(0x49d)]({'cmd':G['HELLO']}),this['_rescheduleHeartbeat']();}[_0x5d5117(0x463)](){var _0x1f855a=_0x5d5117;this[_0x1f855a(0x3ba)]=!0x1,this['_candidateSocket']=null,this[_0x1f855a(0x4d9)][_0x1f855a(0x1ce)](se['OFFLINE']),this[_0x1f855a(0x478)][_0x1f855a(0x1ce)](null),this['_clearTimeoutTimer'](),this[_0x1f855a(0x4b7)]();}[_0x5d5117(0x359)](){var _0x2f2e95=_0x5d5117,_0x53706c;this['_onOffline'](),this['_retryCount']<((_0x53706c=this['_configService'][_0x2f2e95(0x4c7)](It))!=null?_0x53706c:Vt)?(this[_0x2f2e95(0x3a4)][_0x2f2e95(0x320)]({'id':Q[_0x2f2e95(0x467)]}),this['_tryReconnect']()):this[_0x2f2e95(0x3a4)]['emitEvent']({'id':Q['SOCKET_FAILED']});}[_0x5d5117(0x4dd)](){var _0x1decbd=_0x5d5117,_0x4894bb;const _0x10246e=this['_retryCount'],_0x45bdfc=this[_0x1decbd(0x381)][_0x1decbd(0x4c7)](Y),_0x1df589=_0x10246e===0x0?0x0:((_0x4894bb=_0x45bdfc==null?void 0x0:_0x45bdfc[_0x1decbd(0x29f)])!=null?_0x4894bb:Gt)*0x2**_0x10246e;this['_retryConnectingTimer']=setTimeout(()=>{var _0x1d6e06=_0x1decbd;clearTimeout(this[_0x1d6e06(0x3fc)]),this[_0x1d6e06(0x3fc)]=null,this[_0x1d6e06(0x1b9)]();},_0x1df589),this[_0x1decbd(0x261)]+=0x1;}[_0x5d5117(0x46a)](_0xa8736b,_0x3de91f){var _0x1d9953=_0x5d5117;const {cmd:_0x3d988b}=_0x3de91f;_0x3d988b===G[_0x1d9953(0x30d)]&&!this[_0x1d9953(0x3ba)]&&(_0xa8736b[_0x1d9953(0x1da)]=_0x3de91f[_0x1d9953(0x400)][_0x1d9953(0x1da)],this[_0x1d9953(0x478)][_0x1d9953(0x1ce)](_0xa8736b),this['_status$'][_0x1d9953(0x1ce)](se[_0x1d9953(0x212)]),this[_0x1d9953(0x3ba)]=!0x0,this[_0x1d9953(0x2ef)]=null),_0x3d988b===G[_0x1d9953(0x1f5)]&&this[_0x1d9953(0x1ae)](),this[_0x1d9953(0x269)]();}['_rescheduleHeartbeat'](){var _0x485fea=_0x5d5117,_0x5d3d0b;this[_0x485fea(0x4b7)](),this['_sendHeartbeatTimer']=setTimeout(()=>this['_sendHeartbeat'](),(_0x5d3d0b=this['_configService']['getConfig'](mt))!=null?_0x5d3d0b:Wt);}[_0x5d5117(0x231)](){var _0xeb83c=_0x5d5117;this[_0xeb83c(0x1d9)][_0xeb83c(0x49d)]({'cmd':G[_0xeb83c(0x1f5)]}),this[_0xeb83c(0x17a)]();}['_waitForHeartbeatResponse'](){var _0x3429e7=_0x5d5117,_0x49fab7;this[_0x3429e7(0x255)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x49fab7=this['_configService']['getConfig'](He))!=null?_0x49fab7:gt);}[_0x5d5117(0x4b7)](){var _0x1f8428=_0x5d5117;this[_0x1f8428(0x405)]!=null&&(clearTimeout(this[_0x1f8428(0x405)]),this['_sendHeartbeatTimer']=null);}['_clearTimeoutTimer'](){var _0x4362ed=_0x5d5117;this[_0x4362ed(0x255)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x4362ed(0x255)]=null);}},exports[_0x5d5117(0x36d)]=vn([ae(0x0,a[_0x5d5117(0x4e6)](a[_0x5d5117(0x315)])),ae(0x1,a[_0x5d5117(0x218)]),ae(0x2,a[_0x5d5117(0x1a7)]),ae(0x3,ke),ae(0x4,a['Inject'](q[_0x5d5117(0x42a)])),ae(0x5,a[_0x5d5117(0x4e6)](te)),ae(0x6,a[_0x5d5117(0x331)](Rt))],exports[_0x5d5117(0x36d)]);const V=[];for(let r=0x0;r<0x100;++r)V[_0x5d5117(0x19a)]((r+0x100)[_0x5d5117(0x426)](0x10)['slice'](0x1));function fn(_0x39ea64,_0x4572be=0x0){var _0x47e775=_0x5d5117;return(V[_0x39ea64[_0x4572be+0x0]]+V[_0x39ea64[_0x4572be+0x1]]+V[_0x39ea64[_0x4572be+0x2]]+V[_0x39ea64[_0x4572be+0x3]]+'-'+V[_0x39ea64[_0x4572be+0x4]]+V[_0x39ea64[_0x4572be+0x5]]+'-'+V[_0x39ea64[_0x4572be+0x6]]+V[_0x39ea64[_0x4572be+0x7]]+'-'+V[_0x39ea64[_0x4572be+0x8]]+V[_0x39ea64[_0x4572be+0x9]]+'-'+V[_0x39ea64[_0x4572be+0xa]]+V[_0x39ea64[_0x4572be+0xb]]+V[_0x39ea64[_0x4572be+0xc]]+V[_0x39ea64[_0x4572be+0xd]]+V[_0x39ea64[_0x4572be+0xe]]+V[_0x39ea64[_0x4572be+0xf]])[_0x47e775(0x3e1)]();}let Pe;const Sn=new Uint8Array(0x10);function pn(){var _0x2e9abf=_0x5d5117;if(!Pe){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error(_0x2e9abf(0x34c));Pe=crypto[_0x2e9abf(0x431)][_0x2e9abf(0x227)](crypto);}return Pe(Sn);}const mn=typeof crypto<'u'&&crypto[_0x5d5117(0x1ec)]&&crypto['randomUUID'][_0x5d5117(0x227)](crypto),ze={'randomUUID':mn};function gn(_0x2d966d,_0x45e518,_0x264807){var _0xe4c25c=_0x5d5117,_0x208a8f,_0x3edb1c,_0x53a398;if(ze[_0xe4c25c(0x1ec)]&&!_0x2d966d)return ze['randomUUID']();_0x2d966d=_0x2d966d||{};const _0x22e014=(_0x53a398=(_0x3edb1c=_0x2d966d[_0xe4c25c(0x26d)])!=null?_0x3edb1c:(_0x208a8f=_0x2d966d['rng'])==null?void 0x0:_0x208a8f[_0xe4c25c(0x425)](_0x2d966d))!=null?_0x53a398:pn();if(_0x22e014['length']<0x10)throw new Error(_0xe4c25c(0x3ce));return _0x22e014[0x6]=_0x22e014[0x6]&0xf|0x40,_0x22e014[0x8]=_0x22e014[0x8]&0x3f|0x80,fn(_0x22e014);}const z=a[_0x5d5117(0x4ea)](_0x5d5117(0x3f8));function In(_0x4c6977){var _0x289e0a=_0x5d5117;return _0x289e0a(0x322)+_0x4c6977;}var En=Object[_0x5d5117(0x4c8)],Cn=Object[_0x5d5117(0x3d3)],Tn=(_0x124892,_0x232370,_0x78d2f5,_0x395f40)=>{var _0x1e9231=_0x5d5117;for(var _0x4e9d61=_0x395f40>0x1?void 0x0:_0x395f40?Cn(_0x232370,_0x78d2f5):_0x232370,_0x8bf868=_0x124892[_0x1e9231(0x33f)]-0x1,_0x20ed86;_0x8bf868>=0x0;_0x8bf868--)(_0x20ed86=_0x124892[_0x8bf868])&&(_0x4e9d61=(_0x395f40?_0x20ed86(_0x232370,_0x78d2f5,_0x4e9d61):_0x20ed86(_0x4e9d61))||_0x4e9d61);return _0x395f40&&_0x4e9d61&&En(_0x232370,_0x78d2f5,_0x4e9d61),_0x4e9d61;},De=(_0x124f60,_0x164087)=>(_0x3ce868,_0x4cf712)=>_0x164087(_0x3ce868,_0x4cf712,_0x124f60);function bn(_0x522b05){var _0x2cbeb3=_0x5d5117;const {unitID:_0x4098b2,mutations:_0x7aede9}=_0x522b05;return{'unitId':_0x4098b2,'subUnitId':_0x7aede9[0x0][_0x2cbeb3(0x1e2)][_0x2cbeb3(0x1a5)]};}exports[_0x5d5117(0x451)]=class{constructor(_0x18d273,_0x5b5094,_0x5c1630){var _0xfdafc2=_0x5d5117;this[_0xfdafc2(0x238)]=_0x18d273,this[_0xfdafc2(0x23a)]=_0x5b5094,this['_instanceService']=_0x5c1630;}['transformSelections'](_0x587db5){var _0xe04c5c=_0x5d5117,_0xe7990a,_0x1a09cd,_0x2dff00,_0xa0f426;const _0x2af70f=this[_0xe04c5c(0x238)]['get'](J[_0xe04c5c(0x3ef)]),{unitId:_0x215247,subUnitId:_0x20e81a}=bn(_0x587db5),_0x45f0ad=_0x2af70f==null?void 0x0:_0x2af70f[_0xe04c5c(0x327)](_0x215247)[_0xe04c5c(0x17f)](),_0x172069=(_0x1a09cd=(_0xe7990a=this[_0xe04c5c(0x488)]['getUnit'](_0x215247))==null?void 0x0:_0xe7990a['getActiveSheet']())==null?void 0x0:_0x1a09cd[_0xe04c5c(0x279)]();if(_0x45f0ad[_0xe04c5c(0x33f)]===0x0||!_0x215247||!_0x20e81a)return;const _0x58913c=[{'id':J[_0xe04c5c(0x340)]['id'],'params':{'unitId':_0x215247,'subUnitId':_0x172069,'selections':a['Tools']['deepClone'](_0x45f0ad)}}],_0x34558f=this[_0xe04c5c(0x23a)][_0xe04c5c(0x436)](_0x587db5,_0x58913c);if(!m[_0xe04c5c(0x2e9)](_0x34558f))throw _0x34558f['error'];const _0x4bb259=(_0xa0f426=(_0x2dff00=_0x34558f[_0xe04c5c(0x1e1)][0x0])==null?void 0x0:_0x2dff00[_0xe04c5c(0x1e2)])==null?void 0x0:_0xa0f426[_0xe04c5c(0x35d)];if(Array[_0xe04c5c(0x3b3)](_0x4bb259)&&_0x4bb259[_0xe04c5c(0x33f)]){if(_0x4bb259[_0xe04c5c(0x33f)]===_0x58913c[0x0]['params'][_0xe04c5c(0x35d)]['length']&&_0x4bb259[_0xe04c5c(0x3aa)]((_0x447db6,_0x32c430)=>a['Rectangle'][_0xe04c5c(0x2df)](_0x447db6['range'],_0x58913c[0x0][_0xe04c5c(0x1e2)][_0xe04c5c(0x35d)][_0x32c430][_0xe04c5c(0x2b3)])))return;this[_0xe04c5c(0x238)]['get'](a[_0xe04c5c(0x295)])[_0xe04c5c(0x407)](J[_0xe04c5c(0x340)]['id'],{'unitId':_0x215247,'subUnitId':_0x172069,'selections':_0x4bb259});}}},exports[_0x5d5117(0x451)]=Tn([De(0x0,a['Inject'](a[_0x5d5117(0x315)])),De(0x1,m[_0x5d5117(0x277)]),De(0x2,a['IUniverInstanceService'])],exports[_0x5d5117(0x451)]);const ve=a[_0x5d5117(0x4ea)](_0x5d5117(0x385));var Fe=(_0x1ecef8=>(_0x1ecef8[_0x1ecef8[_0x5d5117(0x1d6)]=0x0]=_0x5d5117(0x1d6),_0x1ecef8[_0x1ecef8['OTHER_CLIENTS_EDITING']=0x1]=_0x5d5117(0x362),_0x1ecef8))(Fe||{});const Rn=new Set([J[_0x5d5117(0x1cc)]['id']]);function Je(_0x93d680,_0x5f5292,_0xf3b20c,_0xccecd2,_0x46a4a0){var _0x1bd51b=_0x5d5117,_0x306e8f,_0x36fe7f,_0x1cd707,_0x5258f1;const _0x54431e=[];for(const _0x33f2a6 of _0x93d680)if(Rn[_0x1bd51b(0x240)](_0x33f2a6['id'])){if(_0x54431e[_0x1bd51b(0x33f)]>0x0)break;_0x54431e[_0x1bd51b(0x19a)](_0x33f2a6);break;}else _0x54431e['push'](_0x33f2a6);const _0x337130=(_0x36fe7f=(_0x306e8f=_0x46a4a0[_0x1bd51b(0x283)]())==null?void 0x0:_0x306e8f[_0x1bd51b(0x447)])!=null?_0x36fe7f:_0x1bd51b(0x23f),_0x45fe3a=(_0x5258f1=(_0x1cd707=_0x46a4a0[_0x1bd51b(0x283)]())==null?void 0x0:_0x1cd707[_0x1bd51b(0x1da)])!=null?_0x5258f1:_0x1bd51b(0x23f);return{'changeset':{'unitID':_0x5f5292,'type':m[_0x1bd51b(0x232)](_0xf3b20c[_0x1bd51b(0x188)](_0x5f5292)),'baseRev':_0xccecd2['getCurrentRevOfUnit'](_0x5f5292),'revision':0x0,'userID':_0x337130,'memberID':_0x45fe3a,'mutations':_0x54431e},'pendingMutations':_0x93d680['slice'](_0x54431e[_0x1bd51b(0x33f)])};}function On(_0x1dc0a5,_0x22d9c3,_0x45a1c5,_0x37fbec,_0x318c52){var _0x36c7ee=_0x5d5117,_0x104acd,_0x312294,_0xcc0b1a,_0xf3e28d;const _0x4b6b6c=[_0x1dc0a5[_0x36c7ee(0x458)]((_0x550bc4,_0x24f643)=>{var _0x1b3d93=_0x36c7ee,_0x324170;const {id:_0x3695cc}=_0x550bc4,{id:_0xa86158,type:_0xa38e0}=_0x24f643,_0x4c4ccd=(_0x324170=_0x550bc4[_0x1b3d93(0x1e2)])!=null?_0x324170:{'actions':null},_0x46fdae=_0x24f643['params'];if(_0x3695cc&&_0x3695cc!==_0xa86158)throw new Error(_0x1b3d93(0x412)+_0x3695cc+_0x1b3d93(0x4f4)+_0xa86158+'.');return{..._0x550bc4,'id':_0xa86158,'type':_0xa38e0,'params':{'unitId':_0x46fdae[_0x1b3d93(0x2bb)],'textRanges':_0x46fdae[_0x1b3d93(0x4d3)],'actions':a[_0x1b3d93(0x39d)][_0x1b3d93(0x387)](_0x4c4ccd[_0x1b3d93(0x321)],_0x46fdae['actions'])}};},{})],_0x402f4b=(_0x312294=(_0x104acd=_0x318c52[_0x36c7ee(0x283)]())==null?void 0x0:_0x104acd[_0x36c7ee(0x447)])!=null?_0x312294:_0x36c7ee(0x23f),_0x537720=(_0xf3e28d=(_0xcc0b1a=_0x318c52[_0x36c7ee(0x283)]())==null?void 0x0:_0xcc0b1a['memberID'])!=null?_0xf3e28d:_0x36c7ee(0x23f);return{'changeset':{'unitID':_0x22d9c3,'type':m[_0x36c7ee(0x232)](_0x45a1c5[_0x36c7ee(0x188)](_0x22d9c3)),'baseRev':_0x37fbec[_0x36c7ee(0x1b7)](_0x22d9c3),'revision':0x0,'userID':_0x402f4b,'memberID':_0x537720,'mutations':_0x4b6b6c},'pendingMutations':[]};}function Nt(_0x22a4c8,_0x108e42){var _0x1245b9=_0x5d5117;const _0x443b8c=new H['ReplaySubject'](0x1);return setTimeout(()=>_0x443b8c['next'](_0x108e42),_0x22a4c8),_0x443b8c[_0x1245b9(0x40c)]()[_0x1245b9(0x1f6)](H[_0x1245b9(0x2a5)](0x1));}const yn={'id':J[_0x5d5117(0x28d)]['id'],'type':a[_0x5d5117(0x3ad)]['MUTATION'],'params':{}};var Nn=Object[_0x5d5117(0x4c8)],Un=Object[_0x5d5117(0x3d3)],le=(_0x4ea926,_0x39fece,_0x3ae917,_0x39f87a)=>{var _0x1e50b7=_0x5d5117;for(var _0x4b100f=_0x39f87a>0x1?void 0x0:_0x39f87a?Un(_0x39fece,_0x3ae917):_0x39fece,_0x41c8b3=_0x4ea926[_0x1e50b7(0x33f)]-0x1,_0x4ef52a;_0x41c8b3>=0x0;_0x41c8b3--)(_0x4ef52a=_0x4ea926[_0x41c8b3])&&(_0x4b100f=(_0x39f87a?_0x4ef52a(_0x39fece,_0x3ae917,_0x4b100f):_0x4ef52a(_0x4b100f))||_0x4b100f);return _0x39f87a&&_0x4b100f&&Nn(_0x39fece,_0x3ae917,_0x4b100f),_0x4b100f;},A=(_0x1b2820,_0x36d87f)=>(_0x128f6f,_0x3edc92)=>_0x36d87f(_0x128f6f,_0x3edc92,_0x1b2820),We=(_0x15555f=>(_0x15555f['NOT_COLLAB']=_0x5d5117(0x168),_0x15555f['SYNCED']='synced',_0x15555f[_0x5d5117(0x29c)]='pending',_0x15555f[_0x5d5117(0x325)]=_0x5d5117(0x2c8),_0x15555f[_0x5d5117(0x4b6)]=_0x5d5117(0x416),_0x15555f[_0x5d5117(0x17c)]='fetch_missing',_0x15555f[_0x5d5117(0x36b)]=_0x5d5117(0x333),_0x15555f[_0x5d5117(0x3ac)]=_0x5d5117(0x305),_0x15555f))(We||{});const Ut=0xea60;class _e{constructor(_0x3d2b6a,_0x34b3f9,_0xd4da0c,_0x469280,_0x43a929,_0x11383e,_0x27d545,_0x19445a,_0x2e6608){var _0x599ade=_0x5d5117;D(this,_0x599ade(0x371),null),D(this,_0x599ade(0x42c),[]),(this[_0x599ade(0x366)]=_0x3d2b6a,this[_0x599ade(0x189)]=_0x34b3f9,this[_0x599ade(0x3e9)]=_0x43a929,this[_0x599ade(0x1a9)]=_0x11383e,this['_undoRedoService']=_0x27d545,this[_0x599ade(0x4ce)]=_0x19445a,this[_0x599ade(0x16c)]=_0x2e6608,this['_awaitingChangeset']=_0xd4da0c,this[_0x599ade(0x42c)]=_0x469280);}[_0x5d5117(0x418)](_0x565443){var _0x49a1fe=_0x5d5117;const _0x579e01=this[_0x49a1fe(0x4ce)][_0x49a1fe(0x1b7)](this[_0x49a1fe(0x366)]);return _0x565443['revision']>_0x579e01+0x1?(this[_0x49a1fe(0x3e9)]['onMissingChangesets']({'from':_0x579e01,'to':_0x565443[_0x49a1fe(0x2f0)]-0x1}),!0x0):!0x1;}[_0x5d5117(0x4ec)](_0x1f5072){var _0x2d16c5=_0x5d5117;this[_0x2d16c5(0x335)][_0x2d16c5(0x3e0)](this[_0x2d16c5(0x366)],_0x1f5072);}[_0x5d5117(0x26c)](_0xc23879){var _0x20b585=_0x5d5117,_0x7ea533,_0x38c9df;(_0x38c9df=(_0x7ea533=this[_0x20b585(0x3e9)])['onTransformSelections'])==null||_0x38c9df[_0x20b585(0x425)](_0x7ea533,_0xc23879);}['_transformIMECache'](_0x25c37a){var _0x4a257a=_0x5d5117,_0x4e4b3e,_0xab8395;return(_0xab8395=(_0x4e4b3e=this[_0x4a257a(0x3e9)])[_0x4a257a(0x1e7)])==null?void 0x0:_0xab8395['call'](_0x4e4b3e,_0x25c37a);}[_0x5d5117(0x1b1)](_0x5286dd){var _0x2d9aab=_0x5d5117,_0x2414a0,_0x4a9d6f;return(_0x4a9d6f=(_0x2414a0=this[_0x2d9aab(0x3e9)])[_0x2d9aab(0x27a)])==null?void 0x0:_0x4a9d6f['call'](_0x2414a0,_0x5286dd);}[_0x5d5117(0x2ac)](_0x5c4130){var _0x3b12d1=_0x5d5117,_0x53e724,_0x345fbe,_0x48d86e;return(_0x48d86e=(_0x345fbe=(_0x53e724=this[_0x3b12d1(0x3e9)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x345fbe[_0x3b12d1(0x425)](_0x53e724,_0x5c4130))!=null?_0x48d86e:_0x5c4130;}['_transformRemoteChangesetByStateCache'](_0x4d75df){var _0x5b9108=_0x5d5117,_0x1d6474,_0x2655d2,_0x35ca66;return(_0x35ca66=(_0x2655d2=(_0x1d6474=this[_0x5b9108(0x3e9)])[_0x5b9108(0x2d1)])==null?void 0x0:_0x2655d2[_0x5b9108(0x425)](_0x1d6474,_0x4d75df))!=null?_0x35ca66:_0x4d75df;}[_0x5d5117(0x213)](_0x457aa8){var _0x14f1b9=_0x5d5117,_0x5be67e,_0x398602;if(this[_0x14f1b9(0x189)]===Z[_0x14f1b9(0x4e4)]){const {unitID:_0x411859,mutations:_0x5c143d,memberID:_0x2f1a7e}=_0x457aa8,_0x383c0d=_0x5c143d[0x0][_0x14f1b9(0x1e2)][_0x14f1b9(0x4d3)];Array['isArray'](_0x383c0d)&&_0x383c0d[_0x14f1b9(0x33f)]>0x0&&((_0x398602=(_0x5be67e=this[_0x14f1b9(0x3e9)])[_0x14f1b9(0x43e)])==null||_0x398602[_0x14f1b9(0x425)](_0x5be67e,{'unitID':_0x411859,'memberID':_0x2f1a7e,'textRanges':_0x383c0d}));}}['_updateLocalCache'](){var _0x55802a=_0x5d5117,_0x3d02d2;(_0x3d02d2=this[_0x55802a(0x16c)])==null||_0x3d02d2[_0x55802a(0x48d)](this[_0x55802a(0x366)],this[_0x55802a(0x189)],this[_0x55802a(0x371)],this[_0x55802a(0x42c)]);}[_0x5d5117(0x2f3)](){var _0x3f43b3=_0x5d5117;return this[_0x3f43b3(0x4ce)][_0x3f43b3(0x1b7)](this['unitID']);}[_0x5d5117(0x3a7)](){var _0x22181b=_0x5d5117;this[_0x22181b(0x4ce)][_0x22181b(0x423)](this['unitID']);}[_0x5d5117(0x258)](_0x1c44b6){var _0x2cc352=_0x5d5117,_0x11b571;let _0x29e598=this[_0x2cc352(0x2ac)](_0x1c44b6);_0x29e598=this[_0x2cc352(0x37a)](_0x29e598);const _0x553add=a[_0x2cc352(0x230)](_0x29e598[_0x2cc352(0x211)],this[_0x2cc352(0x1a9)],{'fromCollab':!0x0});if(!_0x553add[_0x2cc352(0x296)])throw _0x553add[_0x2cc352(0x293)]instanceof Error?_0x553add[_0x2cc352(0x293)]:new Error((_0x11b571=_0x553add[_0x2cc352(0x293)])!=null?_0x11b571:'[CollaborationState]:\x20apply\x20error!');this['_transformIMECache'](_0x29e598),this[_0x2cc352(0x1b1)](_0x29e598),this[_0x2cc352(0x4ec)](_0x1c44b6),this[_0x2cc352(0x26c)](_0x29e598),this[_0x2cc352(0x213)](_0x29e598),this[_0x2cc352(0x3a7)]();}}exports[_0x5d5117(0x190)]=class extends _e{constructor(_0x157019,_0x4b08f4,_0x2729d9,_0xed5002,_0x27de4f,_0x67fcb0,_0xd9025c,_0x25fe88,_0x451f7e,_0x5e58a9){var _0x2b280f=_0x5d5117;super(_0x157019,_0x4b08f4,null,[],_0x2729d9,_0xd9025c,_0x67fcb0,_0xed5002,_0x5e58a9),D(this,_0x2b280f(0x3fb),_0x2b280f(0x2af)),(this['_injector']=_0x27de4f,this['_logService']=_0x25fe88,this[_0x2b280f(0x23a)]=_0x451f7e,this[_0x2b280f(0x2fd)]=_0x5e58a9);}[_0x5d5117(0x235)](_0xe0059f){var _0x4ff0b9=_0x5d5117;const _0x10a6f6=this[_0x4ff0b9(0x238)]['createInstance'](exports[_0x4ff0b9(0x1fe)],this[_0x4ff0b9(0x366)],this[_0x4ff0b9(0x189)],[_0xe0059f],this['_handler']);return _0x10a6f6['_schedule'](),_0x10a6f6[_0x4ff0b9(0x35b)](),_0x10a6f6;}[_0x5d5117(0x2e0)](_0x3ddeac){var _0x4cbb7d=_0x5d5117;if(this['_checkMissing'](_0x3ddeac))return this[_0x4cbb7d(0x238)][_0x4cbb7d(0x3f7)](exports['FetchingMissState'],this['unitID'],this['type'],null,[],null,[_0x3ddeac],this[_0x4cbb7d(0x3e9)]);try{const _0x2e9564=this[_0x4cbb7d(0x23a)][_0x4cbb7d(0x436)](_0x3ddeac,[yn]);if(m[_0x4cbb7d(0x2e9)](_0x2e9564)){const {c1Prime:_0x595b19}=_0x2e9564;return this[_0x4cbb7d(0x258)](_0x595b19),this;}throw _0x2e9564[_0x4cbb7d(0x293)];}catch(_0x26bc01){return this[_0x4cbb7d(0x2d0)][_0x4cbb7d(0x293)](_0x26bc01),this[_0x4cbb7d(0x280)](!0x1);}}['_onConflict'](_0x2a175a){var _0x5b69ab=_0x5d5117;return this['_injector'][_0x5b69ab(0x3f7)](exports[_0x5b69ab(0x413)],this[_0x5b69ab(0x366)],this[_0x5b69ab(0x189)],null,[],this[_0x5b69ab(0x3e9)],_0x2a175a);}['onRemoteAck'](){var _0xb33f51=_0x5d5117;throw new Error(_0xb33f51(0x4a8));}[_0x5d5117(0x3b8)](){var _0x2d8ce1=_0x5d5117;throw new Error(_0x2d8ce1(0x19c));}[_0x5d5117(0x2a9)](){return this;}['toggleOffline'](){var _0x3749cf=_0x5d5117;return this[_0x3749cf(0x238)][_0x3749cf(0x3f7)](exports['OfflineState'],this[_0x3749cf(0x366)],this[_0x3749cf(0x189)],null,[],this[_0x3749cf(0x3e9)]);}[_0x5d5117(0x428)](){return this;}[_0x5d5117(0x483)](){var _0x8c48be=_0x5d5117;throw new Error(_0x8c48be(0x27e));}[_0x5d5117(0x2d4)](){var _0x49bb8d=_0x5d5117;const _0x597003=this['_revisionService'][_0x49bb8d(0x1b7)](this['unitID']);return this[_0x49bb8d(0x3e9)][_0x49bb8d(0x311)]({'from':_0x597003,'to':0x0}),this[_0x49bb8d(0x238)][_0x49bb8d(0x3f7)](exports[_0x49bb8d(0x19f)],this['unitID'],this['type'],null,[],null,[],this[_0x49bb8d(0x3e9)]);}},exports[_0x5d5117(0x190)]=le([A(0x3,a['Inject'](m[_0x5d5117(0x4ac)])),A(0x4,a[_0x5d5117(0x4e6)](a['Injector'])),A(0x5,a[_0x5d5117(0x2ff)]),A(0x6,a[_0x5d5117(0x295)]),A(0x7,a[_0x5d5117(0x218)]),A(0x8,m['ITransformService']),A(0x9,a['Optional'](z))],exports['SyncedState']),exports[_0x5d5117(0x1fe)]=class extends _e{constructor(_0x567a88,_0x8a32b9,_0x3a481b,_0x224128,_0x36ff79,_0x54c6c8,_0x561feb,_0x277744,_0x54b4e4,_0x56b9d3,_0x9ab016,_0xdabbcc,_0x40122a,_0x1839f7){var _0x2fb6d7=_0x5d5117;super(_0x567a88,_0x8a32b9,null,_0x3a481b,_0x224128,_0x54b4e4,_0x40122a,_0x54c6c8,_0x1839f7),D(this,_0x2fb6d7(0x3fb),_0x2fb6d7(0x3ed)),D(this,'_scheduleCompleteTimestamp',null),D(this,_0x2fb6d7(0x1cb),null),(this['_injector']=_0x36ff79,this[_0x2fb6d7(0x1a6)]=_0x561feb,this['_logService']=_0x277744,this[_0x2fb6d7(0x381)]=_0x56b9d3,this[_0x2fb6d7(0x23a)]=_0x9ab016,this['_univerInstanceService']=_0xdabbcc);}[_0x5d5117(0x235)](_0x34f9bd){var _0x38b906=_0x5d5117;return this[_0x38b906(0x42c)]['push'](_0x34f9bd),this[_0x38b906(0x35b)](),this;}[_0x5d5117(0x2e0)](_0x1f394a){var _0x5d03df=_0x5d5117;if(this[_0x5d03df(0x418)](_0x1f394a))return this[_0x5d03df(0x3e4)](),this[_0x5d03df(0x238)][_0x5d03df(0x3f7)](exports['FetchingMissState'],this[_0x5d03df(0x366)],this[_0x5d03df(0x189)],null,this[_0x5d03df(0x42c)],null,[_0x1f394a],this[_0x5d03df(0x3e9)]);try{const _0x31ea02=this[_0x5d03df(0x23a)]['transformMutationsWithChangeset'](_0x1f394a,this[_0x5d03df(0x42c)]);if(m[_0x5d03df(0x2e9)](_0x31ea02)){const {c1Prime:_0xf80905,m2Prime:_0x591a25}=_0x31ea02;this[_0x5d03df(0x258)](_0xf80905);const _0x1ce220=this[_0x5d03df(0x238)]['createInstance'](exports['PendingState'],this[_0x5d03df(0x366)],this[_0x5d03df(0x189)],_0x591a25,this['_handler']);this[_0x5d03df(0x3e4)]();const _0x25ae5c=new Date()[_0x5d03df(0x31c)](),_0x5b0f90=this[_0x5d03df(0x38b)]?Math[_0x5d03df(0x18d)](this[_0x5d03df(0x38b)]-_0x25ae5c,0x0):this[_0x5d03df(0x1d2)]();return _0x1ce220['_schedule'](_0x5b0f90),_0x1ce220;}throw _0x31ea02[_0x5d03df(0x293)];}catch(_0x34a707){return this[_0x5d03df(0x2d0)][_0x5d03df(0x293)](_0x34a707),this['_onConflict'](!0x1);}}[_0x5d5117(0x24e)](){var _0x2309c6=_0x5d5117;throw new Error(_0x2309c6(0x3ea));}[_0x5d5117(0x3b8)](){var _0x35b3de=_0x5d5117;throw new Error(_0x35b3de(0x205));}[_0x5d5117(0x2a9)](){return this;}[_0x5d5117(0x291)](){var _0x3460a3=_0x5d5117;return this[_0x3460a3(0x3e4)](),this[_0x3460a3(0x238)][_0x3460a3(0x3f7)](exports['OfflineState'],this[_0x3460a3(0x366)],this[_0x3460a3(0x189)],null,this[_0x3460a3(0x42c)],this[_0x3460a3(0x3e9)]);}[_0x5d5117(0x428)](){return this;}[_0x5d5117(0x289)](_0x4ee8e8){var _0x156cfa=_0x5d5117;const _0x4d1fb6=_0x4ee8e8!=null?_0x4ee8e8:this[_0x156cfa(0x1d2)]();this['_scheduleCompleteTimestamp']=new Date()['getTime']()+_0x4d1fb6,this[_0x156cfa(0x1cb)]=setTimeout(()=>{var _0x4361a0=_0x156cfa;this['_clearScheduledTask']();let _0x5d3aa4=null;switch(this[_0x4361a0(0x189)]){case Z[_0x4361a0(0x3cb)]:{_0x5d3aa4=Je(this['_pendingMutations'],this[_0x4361a0(0x366)],this['_univerInstanceService'],this[_0x4361a0(0x4ce)],this[_0x4361a0(0x1a6)]);break;}case Z[_0x4361a0(0x4e4)]:{this[_0x4361a0(0x42c)]['every'](_0x81ce0c=>_0x81ce0c['id']===dt[_0x4361a0(0x31f)]['id'])?_0x5d3aa4=On(this[_0x4361a0(0x42c)],this['unitID'],this[_0x4361a0(0x4da)],this[_0x4361a0(0x4ce)],this[_0x4361a0(0x1a6)]):_0x5d3aa4=Je(this['_pendingMutations'],this[_0x4361a0(0x366)],this['_univerInstanceService'],this[_0x4361a0(0x4ce)],this[_0x4361a0(0x1a6)]);break;}default:throw new Error(_0x4361a0(0x460)+this[_0x4361a0(0x189)]+_0x4361a0(0x33a));}const {changeset:_0x562aa7,pendingMutations:_0x4cd2dc}=_0x5d3aa4;this[_0x4361a0(0x3e9)][_0x4361a0(0x41c)](_0x562aa7);const _0x362fe1=_0x4cd2dc['length']?this['_injector'][_0x4361a0(0x3f7)](exports[_0x4361a0(0x45a)],this['unitID'],this['type'],_0x562aa7,_0x4cd2dc,this[_0x4361a0(0x3e9)],void 0x0):this[_0x4361a0(0x238)][_0x4361a0(0x3f7)](exports[_0x4361a0(0x411)],this[_0x4361a0(0x366)],this[_0x4361a0(0x189)],_0x562aa7,this[_0x4361a0(0x3e9)]);_0x362fe1[_0x4361a0(0x35b)](),this[_0x4361a0(0x3e9)]['onStateChange'](this,_0x362fe1);},_0x4d1fb6);}[_0x5d5117(0x1d2)](){var _0x2b99b5=_0x5d5117,_0x28f555;const _0x967f7c=this[_0x2b99b5(0x381)][_0x2b99b5(0x4c7)](Y);return(_0x28f555=_0x967f7c==null?void 0x0:_0x967f7c[_0x2b99b5(0x265)])!=null?_0x28f555:Bt;}[_0x5d5117(0x483)](){var _0x34aff5=_0x5d5117;throw new Error(_0x34aff5(0x434));}[_0x5d5117(0x3e4)](){var _0x5e0603=_0x5d5117;this['_sendingTimer']!=null&&(clearTimeout(this[_0x5e0603(0x1cb)]),this[_0x5e0603(0x1cb)]=null);}[_0x5d5117(0x280)](_0xb827ae){var _0xce0e90=_0x5d5117;return this[_0xce0e90(0x3e4)](),this[_0xce0e90(0x238)][_0xce0e90(0x3f7)](exports[_0xce0e90(0x413)],this['unitID'],this[_0xce0e90(0x189)],null,this[_0xce0e90(0x42c)],this[_0xce0e90(0x3e9)],_0xb827ae);}},exports[_0x5d5117(0x1fe)]=le([A(0x4,a[_0x5d5117(0x4e6)](a[_0x5d5117(0x315)])),A(0x5,a[_0x5d5117(0x4e6)](m['RevisionService'])),A(0x6,a[_0x5d5117(0x4e6)](exports[_0x5d5117(0x30f)])),A(0x7,a[_0x5d5117(0x218)]),A(0x8,a[_0x5d5117(0x295)]),A(0x9,a[_0x5d5117(0x1a7)]),A(0xa,m[_0x5d5117(0x277)]),A(0xb,a[_0x5d5117(0x169)]),A(0xc,a['IUndoRedoService']),A(0xd,a['Optional'](z))],exports[_0x5d5117(0x1fe)]),exports['AwaitingState']=class extends _e{constructor(_0x124a14,_0x125905,_0x104ca5,_0x27a8d5,_0x4d649c,_0x12c71d,_0x864e9d,_0x3822f1,_0x53e66e,_0x27b14a,_0x2fea2e){var _0x55f265=_0x5d5117;super(_0x124a14,_0x125905,_0x104ca5,[],_0x27a8d5,_0x864e9d,_0x27b14a,_0x12c71d,_0x2fea2e),D(this,_0x55f265(0x3fb),_0x55f265(0x2c8)),D(this,_0x55f265(0x328),0x0),D(this,_0x55f265(0x3b1)),D(this,_0x55f265(0x17d)),(this[_0x55f265(0x238)]=_0x4d649c,this[_0x55f265(0x2d0)]=_0x3822f1,this[_0x55f265(0x23a)]=_0x53e66e);}[_0x5d5117(0x235)](_0x47da4f){var _0xc74d33=_0x5d5117;this[_0xc74d33(0x3e4)]();const _0x594cba=this['_injector']['createInstance'](exports[_0xc74d33(0x45a)],this[_0xc74d33(0x366)],this[_0xc74d33(0x189)],this[_0xc74d33(0x371)],[_0x47da4f],this[_0xc74d33(0x3e9)],this[_0xc74d33(0x3b1)]);return _0x594cba['_updateLocalCache'](),_0x594cba;}[_0x5d5117(0x2e0)](_0x1bfd9f){var _0x4a727a=_0x5d5117;if(this[_0x4a727a(0x418)](_0x1bfd9f))return this[_0x4a727a(0x3e4)](),this[_0x4a727a(0x238)][_0x4a727a(0x3f7)](exports[_0x4a727a(0x19f)],this['unitID'],this[_0x4a727a(0x189)],this[_0x4a727a(0x371)],[],null,[_0x1bfd9f],this[_0x4a727a(0x3e9)]);try{const _0x5a146d=this[_0x4a727a(0x23a)][_0x4a727a(0x267)]([_0x1bfd9f],[this[_0x4a727a(0x371)]],!0x1);if(m[_0x4a727a(0x379)](_0x5a146d)){const {c1Prime:_0x9062c6,c2Prime:_0x10ee60}=_0x5a146d;this['_executeRemoteChangeset'](_0x9062c6[0x0]),_0x10ee60[0x0][_0x4a727a(0x47e)]=this[_0x4a727a(0x2f3)](),this[_0x4a727a(0x3e4)]();const _0x2a692b=this[_0x4a727a(0x238)][_0x4a727a(0x3f7)](exports[_0x4a727a(0x411)],this[_0x4a727a(0x366)],this[_0x4a727a(0x189)],_0x10ee60[0x0],this[_0x4a727a(0x3e9)]);return _0x2a692b[_0x4a727a(0x35b)](),_0x2a692b;}return this[_0x4a727a(0x280)](!0x1);}catch(_0x3ff74a){return this['_logService'][_0x4a727a(0x293)](_0x3ff74a),this[_0x4a727a(0x280)](!0x1);}}['onRemoteAck'](_0x16a2d3){var _0x388ff5=_0x5d5117;this[_0x388ff5(0x3e4)]();const _0xe177cc=this['_revisionService'][_0x388ff5(0x1b7)](this[_0x388ff5(0x366)]);if(_0x16a2d3[_0x388ff5(0x2f0)]<_0xe177cc-0x1)return this;if(this['_checkMissing'](_0x16a2d3))return this['_injector'][_0x388ff5(0x3f7)](exports[_0x388ff5(0x19f)],this['unitID'],this[_0x388ff5(0x189)],null,[],this[_0x388ff5(0x371)],[],this[_0x388ff5(0x3e9)]);this[_0x388ff5(0x3a7)]();const _0xc7cd65=this[_0x388ff5(0x238)][_0x388ff5(0x3f7)](exports['SyncedState'],this['unitID'],this[_0x388ff5(0x189)],this[_0x388ff5(0x3e9)]);return _0xc7cd65[_0x388ff5(0x35b)](),_0xc7cd65;}[_0x5d5117(0x3b8)](_0x4a0bfe){var _0x814791=_0x5d5117;return this[_0x814791(0x280)](!!(_0x4a0bfe!=null&&_0x4a0bfe['isPermissionRej']));}[_0x5d5117(0x2a9)](_0x4b867e){var _0x5047b7=_0x5d5117;return this[_0x5047b7(0x328)]>Ut?this[_0x5047b7(0x291)]():(this[_0x5047b7(0x3b1)]=Nt(this['_resendTimeout'],{'timeout':this['_resendTimeout'],'reqId':_0x4b867e[_0x5047b7(0x3dd)]}),this['_sender']=this[_0x5047b7(0x3b1)][_0x5047b7(0x415)](({reqId:_0x285a2b,timeout:_0x37a8d5})=>{var _0x16b917=_0x5047b7;this[_0x16b917(0x421)](_0x285a2b,_0x37a8d5);}),this);}['toggleOffline'](){var _0x4ab594=_0x5d5117;return this[_0x4ab594(0x3e4)](),this[_0x4ab594(0x238)][_0x4ab594(0x3f7)](exports[_0x4ab594(0x3cf)],this[_0x4ab594(0x366)],this[_0x4ab594(0x189)],this['_awaitingChangeset'],[],this[_0x4ab594(0x3e9)]);}[_0x5d5117(0x428)](){return this;}[_0x5d5117(0x483)](){var _0x38d420=_0x5d5117;this[_0x38d420(0x3e9)][_0x38d420(0x41c)](this[_0x38d420(0x371)]);}[_0x5d5117(0x280)](_0x32f53c){var _0x2123bb=_0x5d5117;return this['_clearScheduledTask'](),this[_0x2123bb(0x238)][_0x2123bb(0x3f7)](exports[_0x2123bb(0x413)],this[_0x2123bb(0x366)],this['type'],this[_0x2123bb(0x371)],[],this[_0x2123bb(0x3e9)],_0x32f53c);}[_0x5d5117(0x421)](_0x53b4e7,_0x5ddff1){var _0x2924c4=_0x5d5117,_0x2f3d9a;_0x53b4e7===((_0x2f3d9a=this[_0x2924c4(0x371)])==null?void 0x0:_0x2f3d9a['reqId'])&&(this[_0x2924c4(0x483)](),this[_0x2924c4(0x328)]=_0x5ddff1===0x0?0x3e8:_0x5ddff1*0x2);}[_0x5d5117(0x3e4)](){var _0x3ed9b5=_0x5d5117,_0x3386f8;(_0x3386f8=this[_0x3ed9b5(0x17d)])==null||_0x3386f8[_0x3ed9b5(0x404)](),this[_0x3ed9b5(0x328)]=0x0;}},exports[_0x5d5117(0x411)]=le([A(0x4,a[_0x5d5117(0x4e6)](a[_0x5d5117(0x315)])),A(0x5,a[_0x5d5117(0x4e6)](m['RevisionService'])),A(0x6,a[_0x5d5117(0x295)]),A(0x7,a['ILogService']),A(0x8,m['ITransformService']),A(0x9,a[_0x5d5117(0x2ff)]),A(0xa,a[_0x5d5117(0x331)](z))],exports[_0x5d5117(0x411)]),exports[_0x5d5117(0x45a)]=class extends _e{constructor(_0xf73f6c,_0x2ff01b,_0x434187,_0x264453,_0x2a52d4,_0x9353b,_0x29f75f,_0x415559,_0x2200b8,_0x3f8cc4,_0xfc648,_0x4c7d93,_0x39b15d){var _0x57a982=_0x5d5117;super(_0xf73f6c,_0x2ff01b,_0x434187,_0x264453,_0x2a52d4,_0x2200b8,_0x4c7d93,_0x415559,_0x39b15d),D(this,'status',_0x57a982(0x416)),D(this,_0x57a982(0x328),0x0),D(this,'_resendTimer'),D(this,_0x57a982(0x17d)),(this[_0x57a982(0x238)]=_0x29f75f,this[_0x57a982(0x2d0)]=_0x3f8cc4,this[_0x57a982(0x23a)]=_0xfc648,this[_0x57a982(0x2fd)]=_0x39b15d,_0x9353b&&(this['_resendTimer']=_0x9353b,this[_0x57a982(0x17d)]=this[_0x57a982(0x3b1)][_0x57a982(0x415)](({reqId:_0x3c2799,timeout:_0x59839})=>{var _0x4ffe18=_0x57a982;this[_0x4ffe18(0x421)](_0x3c2799,_0x59839);})));}[_0x5d5117(0x235)](_0x45f8b6){var _0x14298a=_0x5d5117;return this[_0x14298a(0x42c)][_0x14298a(0x19a)](_0x45f8b6),this;}[_0x5d5117(0x2e0)](_0x105cda){var _0x4af256=_0x5d5117;if(this['_checkMissing'](_0x105cda))return this[_0x4af256(0x3e4)](),this[_0x4af256(0x238)]['createInstance'](exports[_0x4af256(0x19f)],this[_0x4af256(0x366)],this[_0x4af256(0x189)],this[_0x4af256(0x371)],this['_pendingMutations'],null,[_0x105cda],this[_0x4af256(0x3e9)]);try{const _0x6dcc60=this[_0x4af256(0x23a)]['transformChangesets']([_0x105cda],[this[_0x4af256(0x371)]],!0x1);if(m['isTransformChangesetsSuccess'](_0x6dcc60)){const {c1Prime:_0x5c9dc3,c2Prime:_0x50a0b9}=_0x6dcc60,_0x24550b=this[_0x4af256(0x23a)]['transformMutationsWithChangeset'](_0x5c9dc3[0x0],this[_0x4af256(0x42c)]);if(m[_0x4af256(0x2e9)](_0x24550b)){const {c1Prime:_0x969e4b,m2Prime:_0x2cbd7d}=_0x24550b;return this[_0x4af256(0x258)](_0x969e4b),_0x50a0b9[0x0][_0x4af256(0x47e)]=this[_0x4af256(0x2f3)](),this[_0x4af256(0x3e4)](),this[_0x4af256(0x238)][_0x4af256(0x3f7)](exports[_0x4af256(0x45a)],this[_0x4af256(0x366)],this['type'],_0x50a0b9[0x0],_0x2cbd7d,this[_0x4af256(0x3e9)],void 0x0);}throw _0x24550b[_0x4af256(0x293)];}throw _0x6dcc60['error'];}catch(_0x4762a8){return this[_0x4af256(0x2d0)][_0x4af256(0x293)](_0x4762a8),this['_onConflict'](!0x1);}}[_0x5d5117(0x24e)](_0x5bff49){var _0x2f24ab=_0x5d5117;if(this[_0x2f24ab(0x3e4)](),this[_0x2f24ab(0x418)](_0x5bff49))return this[_0x2f24ab(0x238)]['createInstance'](exports['FetchingMissState'],this[_0x2f24ab(0x366)],this['type'],null,this[_0x2f24ab(0x42c)],this[_0x2f24ab(0x371)],[],this[_0x2f24ab(0x3e9)]);this['_incrementRevisionNumber']();const _0x444ec2=this[_0x2f24ab(0x238)][_0x2f24ab(0x3f7)](exports[_0x2f24ab(0x1fe)],this['unitID'],this['type'],this[_0x2f24ab(0x42c)],this[_0x2f24ab(0x3e9)]);return _0x444ec2[_0x2f24ab(0x289)](),_0x444ec2[_0x2f24ab(0x35b)](),_0x444ec2;}[_0x5d5117(0x3b8)](_0xc225a0){var _0x6a209e=_0x5d5117;return this[_0x6a209e(0x280)](!!(_0xc225a0!=null&&_0xc225a0[_0x6a209e(0x260)]));}[_0x5d5117(0x2a9)](_0x3c4ef8){var _0x40b399=_0x5d5117;return this[_0x40b399(0x328)]>Ut?this['toggleOffline']():(this[_0x40b399(0x3b1)]=Nt(this[_0x40b399(0x328)],{'timeout':this[_0x40b399(0x328)],'reqId':_0x3c4ef8['reqId']}),this[_0x40b399(0x17d)]=this[_0x40b399(0x3b1)]['subscribe'](({reqId:_0x448cc4,timeout:_0x3edb1b})=>{var _0x35524d=_0x40b399;this[_0x35524d(0x421)](_0x448cc4,_0x3edb1b);}),this);}['toggleOffline'](){var _0x3d279e=_0x5d5117;return this[_0x3d279e(0x3e4)](),this[_0x3d279e(0x238)]['createInstance'](exports[_0x3d279e(0x3cf)],this[_0x3d279e(0x366)],this[_0x3d279e(0x189)],this[_0x3d279e(0x371)],this[_0x3d279e(0x42c)],this['_handler']);}[_0x5d5117(0x428)](){return this;}[_0x5d5117(0x483)](){var _0x3f7b50=_0x5d5117;this[_0x3f7b50(0x3e9)][_0x3f7b50(0x41c)](this[_0x3f7b50(0x371)]);}[_0x5d5117(0x280)](_0x24b8d5){var _0x5ad9bc=_0x5d5117;return this[_0x5ad9bc(0x3e4)](),this[_0x5ad9bc(0x238)][_0x5ad9bc(0x3f7)](exports[_0x5ad9bc(0x413)],this[_0x5ad9bc(0x366)],this[_0x5ad9bc(0x189)],null,this[_0x5ad9bc(0x42c)],this['_handler'],_0x24b8d5);}['_resendWithTimeout'](_0x421db2,_0x527085){var _0x12ec32=_0x5d5117,_0x247274;_0x421db2===((_0x247274=this['_awaitingChangeset'])==null?void 0x0:_0x247274[_0x12ec32(0x3dd)])&&(this['resend'](),this[_0x12ec32(0x328)]=_0x527085===0x0?0x3e8:_0x527085*0x2);}[_0x5d5117(0x3e4)](){var _0xc95e52=_0x5d5117,_0xa0ac07;(_0xa0ac07=this[_0xc95e52(0x17d)])==null||_0xa0ac07[_0xc95e52(0x404)](),this[_0xc95e52(0x328)]=0x0;}},exports['AwaitingWithPendingState']=le([A(0x6,a[_0x5d5117(0x4e6)](a['Injector'])),A(0x7,a['Inject'](m[_0x5d5117(0x4ac)])),A(0x8,a[_0x5d5117(0x295)]),A(0x9,a['ILogService']),A(0xa,m['ITransformService']),A(0xb,a[_0x5d5117(0x2ff)]),A(0xc,a[_0x5d5117(0x331)](z))],exports[_0x5d5117(0x45a)]),exports['ConflictState']=class extends _e{constructor(_0x53cf81,_0x2831a4,_0x27d214,_0x41aeab,_0x5928a0,_0x597402=!0x1,_0x1d0dc5,_0x3266c2,_0x211a9e,_0x4c9cd9,_0x5c1405,_0x7ce8cd,_0x4117e2){var _0x5354e4=_0x5d5117;super(_0x53cf81,_0x2831a4,_0x27d214,_0x41aeab,_0x5928a0,_0x3266c2,_0x211a9e,_0x4c9cd9,_0x4117e2),D(this,_0x5354e4(0x3fb),'conflict'),(this[_0x5354e4(0x42f)]=_0x597402,this[_0x5354e4(0x40a)]=_0x1d0dc5,this[_0x5354e4(0x20e)]=_0x5c1405,this[_0x5354e4(0x3a4)]=_0x7ce8cd,this['localCacheService']=_0x4117e2,this[_0x5354e4(0x466)](),this[_0x5354e4(0x403)](),this[_0x5354e4(0x454)]());}['appendMutation'](){return this;}[_0x5d5117(0x2e0)](){return this;}[_0x5d5117(0x24e)](){return this;}[_0x5d5117(0x3b8)](){return this;}[_0x5d5117(0x2a9)](){return this;}[_0x5d5117(0x291)](){return this;}['toggleOnline'](){return this;}[_0x5d5117(0x483)](){var _0x3cede4=_0x5d5117;throw new Error(_0x3cede4(0x241));}['_clearLocalCache'](){var _0x491ea3=_0x5d5117,_0x3d0ca0;(_0x3d0ca0=this[_0x491ea3(0x16c)])==null||_0x3d0ca0['updateOfflineData'](this[_0x491ea3(0x366)],this[_0x491ea3(0x189)],null,[]);}[_0x5d5117(0x466)](){var _0x569c1a=_0x5d5117;this[_0x569c1a(0x42f)]?this[_0x569c1a(0x3a4)][_0x569c1a(0x320)]({'id':Q[_0x569c1a(0x1d0)]}):this[_0x569c1a(0x3a4)][_0x569c1a(0x320)]({'id':Q[_0x569c1a(0x36b)]});}[_0x5d5117(0x454)](){var _0x67ff9=_0x5d5117;this['_permissionService']['updatePermissionPoint'](new J[(_0x67ff9(0x3c6))](this[_0x67ff9(0x366)])['id'],!0x1);}},exports['ConflictState']=le([A(0x6,a[_0x5d5117(0x4e6)](a[_0x5d5117(0x4f7)])),A(0x7,a[_0x5d5117(0x295)]),A(0x8,a[_0x5d5117(0x2ff)]),A(0x9,a[_0x5d5117(0x4e6)](m[_0x5d5117(0x4ac)])),A(0xa,a['Inject'](a[_0x5d5117(0x36a)])),A(0xb,a[_0x5d5117(0x4e6)](te)),A(0xc,a[_0x5d5117(0x331)](z))],exports[_0x5d5117(0x413)]),exports['OfflineState']=class extends _e{constructor(_0x4ad84d,_0x500028,_0x830257,_0x404a1d,_0x27b6b0,_0x505fb9,_0x456a6d,_0x31564e,_0x50bca2,_0x8b3823){var _0xc65368=_0x5d5117;super(_0x4ad84d,_0x500028,_0x830257,_0x404a1d,_0x27b6b0,_0x31564e,_0x50bca2,_0x456a6d,_0x8b3823),D(this,'status',_0xc65368(0x305)),this[_0xc65368(0x238)]=_0x505fb9;}[_0x5d5117(0x235)](_0xea9849){var _0x2b6829=_0x5d5117;return this[_0x2b6829(0x42c)]['push'](_0xea9849),this['_updateLocalCache'](),this;}[_0x5d5117(0x2e0)](_0x5afd60){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x5d5117(0x24e)](){var _0x1bbae7=_0x5d5117;throw new Error(_0x1bbae7(0x302));}[_0x5d5117(0x3b8)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x5d5117(0x2a9)](){return this;}[_0x5d5117(0x291)](){return this;}[_0x5d5117(0x428)](){var _0x5178b3=_0x5d5117;const {_injector:_0x268756,_pendingMutations:_0x3bc17d,_awaitingChangeset:_0x1b782e,unitID:_0x85908e,_handler:_0x4901b7,type:_0x3853f7}=this,_0x45fcd6=Pt(_0x268756,_0x85908e,_0x3853f7,_0x1b782e,_0x3bc17d,_0x4901b7);return _0x45fcd6 instanceof exports[_0x5178b3(0x1fe)]?_0x45fcd6[_0x5178b3(0x289)]():(_0x45fcd6 instanceof exports['AwaitingWithPendingState']||_0x45fcd6 instanceof exports[_0x5178b3(0x411)])&&_0x45fcd6['resend'](),_0x45fcd6;}['resend'](){var _0x443503=_0x5d5117;throw new Error(_0x443503(0x1d3));}},exports[_0x5d5117(0x3cf)]=le([A(0x5,a[_0x5d5117(0x4e6)](a['Injector'])),A(0x6,a['Inject'](m['RevisionService'])),A(0x7,a[_0x5d5117(0x295)]),A(0x8,a[_0x5d5117(0x2ff)]),A(0x9,a[_0x5d5117(0x331)](z))],exports[_0x5d5117(0x3cf)]),exports[_0x5d5117(0x19f)]=class extends _e{constructor(_0x4aebba,_0x25b666,_0x3fc29c,_0x7858b0,_0x42714c,_0x117387,_0x33ffc0,_0x1d1b1f,_0x15ea62,_0x1eb89e,_0x5a65ff,_0x22d596,_0x2852f3,_0x13b90c){var _0x237d19=_0x5d5117;super(_0x4aebba,_0x25b666,_0x3fc29c,_0x7858b0,_0x33ffc0,_0x5a65ff,_0x22d596,_0x15ea62,_0x13b90c),D(this,_0x237d19(0x3fb),_0x237d19(0x2d7)),(this['_acknowledgedAwaitingChangeset']=_0x42714c,this['_queuedRemoteChangesets']=_0x117387,this[_0x237d19(0x238)]=_0x1d1b1f,this[_0x237d19(0x2d0)]=_0x1eb89e,this[_0x237d19(0x23a)]=_0x2852f3,this[_0x237d19(0x2fd)]=_0x13b90c);}[_0x5d5117(0x1a2)](_0x1e3a52){var _0x7cc3b1=_0x5d5117;try{const _0x4d4f81=[..._0x1e3a52,...this[_0x7cc3b1(0x4cf)]],_0xbceac3=[this['_awaitingChangeset']||this['_acknowledgedAwaitingChangeset']]['filter'](_0x331189=>!!_0x331189);let _0xf45974,_0x24b1c6;if(_0xbceac3[_0x7cc3b1(0x33f)]){const _0x335272=this[_0x7cc3b1(0x23a)]['transformChangesets'](_0x4d4f81,_0xbceac3,!0x1);if(!m['isTransformChangesetsSuccess'](_0x335272))throw _0x335272[_0x7cc3b1(0x293)];_0xf45974=_0x335272['c1Prime'],_0x24b1c6=_0x335272[_0x7cc3b1(0x3ec)];}else _0xf45974=_0x4d4f81,_0x24b1c6=[];let _0x8fe24e=this[_0x7cc3b1(0x42c)];_0xf45974[_0x7cc3b1(0x3ee)](_0x4e9ed0=>{var _0x39d600=_0x7cc3b1;let _0x517671;if(_0x8fe24e[_0x39d600(0x33f)]){const _0x363ace=this[_0x39d600(0x23a)][_0x39d600(0x436)](_0x4e9ed0,_0x8fe24e);if(!m[_0x39d600(0x2e9)](_0x363ace))throw _0x363ace[_0x39d600(0x293)];_0x517671=_0x363ace['c1Prime'],_0x8fe24e=_0x363ace[_0x39d600(0x1e1)];}else _0x517671=_0x4e9ed0;this['_executeRemoteChangeset'](_0x517671);}),this[_0x7cc3b1(0x3f5)]&&this[_0x7cc3b1(0x3a7)](),this[_0x7cc3b1(0x371)]&&_0x24b1c6['length']&&(_0x24b1c6[0x0]['baseRev']=this[_0x7cc3b1(0x2f3)]());let _0x4806ab;if(this[_0x7cc3b1(0x371)]&&_0x8fe24e['length']!==0x0)_0x4806ab=this[_0x7cc3b1(0x238)][_0x7cc3b1(0x3f7)](exports['AwaitingWithPendingState'],this[_0x7cc3b1(0x366)],this[_0x7cc3b1(0x189)],_0x24b1c6[0x0],_0x8fe24e,this[_0x7cc3b1(0x3e9)],void 0x0);else{if(this['_awaitingChangeset']&&_0x8fe24e[_0x7cc3b1(0x33f)]===0x0)_0x24b1c6[0x0]['baseRev']=this[_0x7cc3b1(0x2f3)](),_0x4806ab=this[_0x7cc3b1(0x238)][_0x7cc3b1(0x3f7)](exports['AwaitingState'],this['unitID'],this[_0x7cc3b1(0x189)],_0x24b1c6[0x0],this[_0x7cc3b1(0x3e9)]);else{if(_0x8fe24e['length']!==0x0){const _0x37fa2b=this[_0x7cc3b1(0x238)]['createInstance'](exports[_0x7cc3b1(0x1fe)],this[_0x7cc3b1(0x366)],this[_0x7cc3b1(0x189)],_0x8fe24e,this[_0x7cc3b1(0x3e9)]);_0x37fa2b[_0x7cc3b1(0x289)](),_0x4806ab=_0x37fa2b;}else _0x4806ab=this['_injector'][_0x7cc3b1(0x3f7)](exports[_0x7cc3b1(0x190)],this[_0x7cc3b1(0x366)],this[_0x7cc3b1(0x189)],this[_0x7cc3b1(0x3e9)]);}}return _0x4806ab[_0x7cc3b1(0x35b)](),_0x4806ab;}catch(_0x381870){return this[_0x7cc3b1(0x2d0)][_0x7cc3b1(0x293)](_0x7cc3b1(0x22e),_0x7cc3b1(0x446),_0x381870),this[_0x7cc3b1(0x238)][_0x7cc3b1(0x3f7)](exports[_0x7cc3b1(0x413)],this[_0x7cc3b1(0x366)],this[_0x7cc3b1(0x189)],this[_0x7cc3b1(0x371)],this[_0x7cc3b1(0x42c)],this[_0x7cc3b1(0x3e9)],!0x1);}}['resend'](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x5d5117(0x235)](_0x1a3a89){var _0x255378=_0x5d5117;return this['_pendingMutations'][_0x255378(0x19a)](_0x1a3a89),this;}[_0x5d5117(0x2e0)](_0x4dcfea){var _0x5b2643=_0x5d5117;return this[_0x5b2643(0x4cf)][_0x5b2643(0x19a)](_0x4dcfea),this;}[_0x5d5117(0x24e)](_0x3e4696){var _0x1b587d=_0x5d5117;if(this[_0x1b587d(0x371)])return this[_0x1b587d(0x3f5)]=this[_0x1b587d(0x371)],this[_0x1b587d(0x371)]=null,this;throw new Error(_0x1b587d(0x4f2));}['onRemoteRej'](_0x2eaa26){var _0x37bbdc=_0x5d5117;return this[_0x37bbdc(0x280)](!!(_0x2eaa26!=null&&_0x2eaa26[_0x37bbdc(0x260)]));}['onRemoteRetry'](){return this;}[_0x5d5117(0x291)](){var _0x5dd139=_0x5d5117;return this[_0x5dd139(0x238)][_0x5dd139(0x3f7)](exports[_0x5dd139(0x3cf)],this[_0x5dd139(0x366)],this[_0x5dd139(0x189)],this[_0x5dd139(0x371)],this['_pendingMutations'],this['_handler']);}[_0x5d5117(0x428)](){return this;}[_0x5d5117(0x280)](_0x1e2831){var _0x59171a=_0x5d5117;return this['_injector'][_0x59171a(0x3f7)](exports[_0x59171a(0x413)],this[_0x59171a(0x366)],this[_0x59171a(0x189)],this[_0x59171a(0x371)],this[_0x59171a(0x42c)],this['_handler'],_0x1e2831);}},exports[_0x5d5117(0x19f)]=le([A(0x7,a[_0x5d5117(0x4e6)](a[_0x5d5117(0x315)])),A(0x8,a[_0x5d5117(0x4e6)](m[_0x5d5117(0x4ac)])),A(0x9,a[_0x5d5117(0x218)]),A(0xa,a[_0x5d5117(0x295)]),A(0xb,a[_0x5d5117(0x2ff)]),A(0xc,m[_0x5d5117(0x277)]),A(0xd,a[_0x5d5117(0x331)](z))],exports[_0x5d5117(0x19f)]);function Pt(_0x540cb4,_0x2ee8a3,_0x339cc5,_0x13a6cf,_0xa7ccb6,_0x43ea8d){var _0x327db3=_0x5d5117;return _0x13a6cf&&_0xa7ccb6[_0x327db3(0x33f)]?_0x540cb4['createInstance'](exports[_0x327db3(0x45a)],_0x2ee8a3,_0x339cc5,_0x13a6cf,_0xa7ccb6,_0x43ea8d,void 0x0):_0x13a6cf?_0x540cb4[_0x327db3(0x3f7)](exports['AwaitingState'],_0x2ee8a3,_0x339cc5,_0x13a6cf,_0x43ea8d):_0xa7ccb6['length']?_0x540cb4['createInstance'](exports[_0x327db3(0x1fe)],_0x2ee8a3,_0x339cc5,_0xa7ccb6,_0x43ea8d):_0x540cb4[_0x327db3(0x3f7)](exports[_0x327db3(0x190)],_0x2ee8a3,_0x339cc5,_0x43ea8d);}var Pn=Object['defineProperty'],Dn=Object[_0x5d5117(0x3d3)],Ge=(_0x48e81e,_0x388922,_0x4cd7b2,_0x867e4f)=>{var _0x272c5c=_0x5d5117;for(var _0xd6cac4=_0x867e4f>0x1?void 0x0:_0x867e4f?Dn(_0x388922,_0x4cd7b2):_0x388922,_0x83315b=_0x48e81e[_0x272c5c(0x33f)]-0x1,_0x3bd929;_0x83315b>=0x0;_0x83315b--)(_0x3bd929=_0x48e81e[_0x83315b])&&(_0xd6cac4=(_0x867e4f?_0x3bd929(_0x388922,_0x4cd7b2,_0xd6cac4):_0x3bd929(_0xd6cac4))||_0xd6cac4);return _0x867e4f&&_0xd6cac4&&Pn(_0x388922,_0x4cd7b2,_0xd6cac4),_0xd6cac4;},k=(_0x55659b,_0x622f32)=>(_0x2f2286,_0xfc5407)=>_0x622f32(_0x2f2286,_0xfc5407,_0x55659b);exports[_0x5d5117(0x4b3)]=class extends a[_0x5d5117(0x424)]{constructor(_0x3ef02c,_0x5b2ab0,_0x3d2a76,_0x1ab7ff,_0x163c6c,_0x2cfc9f,_0x46661c,_0x45a91b,_0x1e517f,_0x2cab2a,_0x37c6ce,_0x3f70c2,_0x5b9d68){var _0x34823b=_0x5d5117;super(),D(this,'_state$',new H[(_0x34823b(0x3fe))](null)),D(this,_0x34823b(0x2a4),this[_0x34823b(0x409)]['asObservable']()),D(this,'_state'),D(this,'_collaborationPaused',!0x1),D(this,'_changesetSessionId',''),D(this,_0x34823b(0x2b2),0x0),D(this,_0x34823b(0x448),this[_0x34823b(0x2a4)][_0x34823b(0x1f6)](H[_0x34823b(0x193)](_0x217cb6=>_0x217cb6?_0x217cb6['status']:We['OFFLINE']),H[_0x34823b(0x358)](0x1))),D(this,'_transitionLocked',!0x1),D(this,_0x34823b(0x215),[]),(this[_0x34823b(0x366)]=_0x3ef02c,this['session']=_0x5b2ab0,this['_type']=_0x3d2a76,this[_0x34823b(0x238)]=_0x1ab7ff,this[_0x34823b(0x2c1)]=_0x163c6c,this['_localeService']=_0x2cfc9f,this['_revisionService']=_0x46661c,this['_eventService']=_0x45a91b,this[_0x34823b(0x2d0)]=_0x1e517f,this[_0x34823b(0x1a9)]=_0x2cab2a,this['_permissionService']=_0x37c6ce,this['_singleActiveUnitService']=_0x3f70c2,this['_localCacheService']=_0x5b9d68);}get[_0x5d5117(0x389)](){var _0x45c2ff=_0x5d5117;return this[_0x45c2ff(0x43b)];}async[_0x5d5117(0x178)](){var _0x134e86=_0x5d5117;if(this[_0x134e86(0x389)])throw new Error(_0x134e86(0x30c));await this[_0x134e86(0x239)]();}[_0x5d5117(0x256)](){var _0x2794cf=_0x5d5117;return this['_collaborationPaused']=!0x0,a[_0x2794cf(0x42d)](()=>{var _0x177080=_0x2794cf;this[_0x177080(0x4d7)]=!0x1,this[_0x177080(0x1e3)]();});}[_0x5d5117(0x396)](_0x2f0b51){this['_onLocalMutation'](_0x2f0b51);}[_0x5d5117(0x222)](_0x4fda72){var _0x4d1d4a=_0x5d5117;this['_state']=_0x4fda72,this[_0x4d1d4a(0x409)][_0x4d1d4a(0x1ce)](_0x4fda72);}async['_init'](){var _0x517246=_0x5d5117,_0x4f253c;this[_0x517246(0x222)](await this[_0x517246(0x25f)]()),this[_0x517246(0x1e4)]&&((_0x4f253c=this[_0x517246(0x1e4)])==null||_0x4f253c[_0x517246(0x2a1)](this[_0x517246(0x366)]),this[_0x517246(0x237)](this[_0x517246(0x1e4)][_0x517246(0x46b)](this[_0x517246(0x366)])[_0x517246(0x415)](_0x5737a1=>{var _0x10fce7=_0x517246;this['_logService'][_0x10fce7(0x1c3)](_0x10fce7(0x4ad),'editing\x20status\x20changed\x20to',_0x5737a1),_0x5737a1===Fe[_0x10fce7(0x362)]?(this[_0x10fce7(0x372)][_0x10fce7(0x320)]({'id':Q['OTHER_CLIENT_EDITING']}),this['_permissionService'][_0x10fce7(0x198)](new J[(_0x10fce7(0x3c6))](this['unitID'])['id'],!0x1),this[_0x10fce7(0x40a)][_0x10fce7(0x367)](!0x1)):(this[_0x10fce7(0x40a)]['updatePermissionPoint'](new J[(_0x10fce7(0x3c6))](this[_0x10fce7(0x366)])['id'],!0x0),this[_0x10fce7(0x40a)]['setShowComponents'](!0x0));})));let _0x40bcbe=!0x1;return this['disposeWithMe'](this[_0x517246(0x47a)][_0x517246(0x4a0)][_0x517246(0x415)](_0x552b55=>{var _0x37daa0=_0x517246;_0x552b55===se[_0x37daa0(0x212)]?this[_0x37daa0(0x4c1)](_0x40bcbe):_0x552b55===se[_0x37daa0(0x3ac)]&&(_0x40bcbe=!0x0,this['_toggleOffline']());})),this[_0x517246(0x237)](this[_0x517246(0x47a)][_0x517246(0x292)][_0x517246(0x415)](_0x417407=>{var _0x33e302=_0x517246;try{switch(_0x417407[_0x33e302(0x25b)]){case m['CollaborationEvent'][_0x33e302(0x31e)]:{this[_0x33e302(0x484)](m[_0x33e302(0x1c5)](_0x417407['data']));break;}case m['CollaborationEvent'][_0x33e302(0x2ae)]:{this[_0x33e302(0x23d)](_0x417407[_0x33e302(0x400)]);break;}case m[_0x33e302(0x348)][_0x33e302(0x28b)]:{this['_onRemoteRejected']();break;}case m[_0x33e302(0x348)]['CHANGESET_SHOULD_RETRY']:{this[_0x33e302(0x470)](_0x417407[_0x33e302(0x400)]);break;}case m[_0x33e302(0x348)][_0x33e302(0x37d)]:{this['_onFetchMissResult'](_0x417407[_0x33e302(0x400)][_0x33e302(0x346)]['map'](_0x60710a=>m['parseProtocolChangeset'](_0x60710a)));break;}case m['CollaborationEvent'][_0x33e302(0x1fb)]:{this[_0x33e302(0x165)]({'isPermissionRej':!0x0});break;}case m[_0x33e302(0x348)][_0x33e302(0x34a)]:break;}}catch(_0x15cb17){throw console[_0x33e302(0x293)](_0x33e302(0x33d),_0x15cb17),_0x15cb17;}})),this[_0x517246(0x43b)];}[_0x5d5117(0x4b5)](){var _0x1e4949=_0x5d5117;this[_0x1e4949(0x3a1)]=!0x1;}[_0x5d5117(0x33e)](){var _0x1ffa9=_0x5d5117;if(this[_0x1ffa9(0x3a1)])throw new Error(_0x1ffa9(0x257));this[_0x1ffa9(0x3a1)]=!0x0;}[_0x5d5117(0x318)](_0x1ed116){var _0x1e3ca9=_0x5d5117;this[_0x1e3ca9(0x33e)](),this['_updateState'](this[_0x1e3ca9(0x43b)]['appendMutation'](_0x1ed116)),this[_0x1e3ca9(0x4b5)]();}['_onRemoteChangeset'](_0x41a117){var _0xcc88af=_0x5d5117;if(!(_0x41a117['revision']<=this[_0xcc88af(0x4ce)][_0xcc88af(0x1b7)](this[_0xcc88af(0x366)]))){if(this[_0xcc88af(0x4d7)]){this[_0xcc88af(0x215)][_0xcc88af(0x19a)](_0x41a117);return;}this[_0xcc88af(0x3a5)](_0x41a117);}}[_0x5d5117(0x1e3)](){var _0x1c2040=_0x5d5117;this['_remoteChangesetQueue']['forEach'](_0x58a6cb=>this[_0x1c2040(0x3a5)](_0x58a6cb)),this[_0x1c2040(0x215)]=[];}[_0x5d5117(0x3a5)](_0xcebe67){var _0x3a966b=_0x5d5117;const _0x429d7e=this['_compressMutationService']['interceptor'][_0x3a966b(0x268)](this['_compressMutationService'][_0x3a966b(0x44a)]['getInterceptPoints']()[_0x3a966b(0x18c)])(_0xcebe67[_0x3a966b(0x211)],null)||_0xcebe67['mutations'],_0x313702={..._0xcebe67,'mutations':_0x429d7e};this[_0x3a966b(0x33e)](),this['_updateState'](this[_0x3a966b(0x43b)]['onRemoteChangeset'](_0x313702)),this[_0x3a966b(0x4b5)]();}[_0x5d5117(0x23d)](_0x301587){var _0x1720ef=_0x5d5117;this[_0x1720ef(0x33e)](),this[_0x1720ef(0x222)](this[_0x1720ef(0x43b)][_0x1720ef(0x24e)](_0x301587)),this[_0x1720ef(0x4b5)]();}['_onRemoteRejected'](_0xec54b9){var _0x34661b=_0x5d5117;this[_0x34661b(0x33e)](),this[_0x34661b(0x222)](this['_state']['onRemoteRej'](_0xec54b9)),this[_0x34661b(0x4b5)]();}['_onRemoteRetry'](_0x1737b2){var _0x10e922=_0x5d5117;this[_0x10e922(0x33e)](),this[_0x10e922(0x222)](this[_0x10e922(0x43b)][_0x10e922(0x2a9)](_0x1737b2)),this[_0x10e922(0x4b5)]();}[_0x5d5117(0x25a)](_0x5b7b1a){var _0x319cdb=_0x5d5117;if(!(this[_0x319cdb(0x43b)]instanceof exports['FetchingMissState']))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x1a336e=_0x5b7b1a[_0x319cdb(0x193)](_0x5f2ec5=>{var _0x391cf6=_0x319cdb;const _0x5b25d8=this[_0x391cf6(0x2c1)][_0x391cf6(0x44a)][_0x391cf6(0x268)](this[_0x391cf6(0x2c1)]['interceptor'][_0x391cf6(0x49a)]()[_0x391cf6(0x18c)])(_0x5f2ec5[_0x391cf6(0x211)],null)||_0x5f2ec5[_0x391cf6(0x211)];return{..._0x5f2ec5,'mutations':_0x5b25d8};});this['_lockTransition'](),this[_0x319cdb(0x222)](this[_0x319cdb(0x43b)]['onMissedChangesetFetched'](_0x1a336e)),this[_0x319cdb(0x4b5)]();}[_0x5d5117(0x316)](){var _0x21e9cf=_0x5d5117;this[_0x21e9cf(0x33e)](),this[_0x21e9cf(0x222)](this[_0x21e9cf(0x43b)][_0x21e9cf(0x291)]()),this[_0x21e9cf(0x4b5)]();}[_0x5d5117(0x4c1)](_0x2998a3=!0x1){var _0x59ddd3=_0x5d5117;this[_0x59ddd3(0x33e)](),this[_0x59ddd3(0x222)](this[_0x59ddd3(0x43b)][_0x59ddd3(0x428)]()),this[_0x59ddd3(0x4b5)]();const _0x4622a0=this[_0x59ddd3(0x43b)];_0x2998a3&&_0x4622a0 instanceof exports[_0x59ddd3(0x190)]&&(this[_0x59ddd3(0x33e)](),this['_updateState'](_0x4622a0[_0x59ddd3(0x2d4)]()),this[_0x59ddd3(0x4b5)]());}async[_0x5d5117(0x25f)](){return new Promise(_0x2e41f=>{var _0x5b4412=_0x274d;this['session'][_0x5b4412(0x4a0)][_0x5b4412(0x1f6)](H[_0x5b4412(0x2a5)](0x1))[_0x5b4412(0x415)](async _0x357eed=>{var _0x379ae8=_0x5b4412;_0x2e41f(await this[_0x379ae8(0x4e5)](_0x357eed===se['ONLINE']));});});}[_0x5d5117(0x350)](){const _0x348116=this['unitID'];return{'onStateChange':(_0x231267,_0x5aa2a5)=>{var _0x1aa6ad=_0x274d;if(_0x231267!==this[_0x1aa6ad(0x43b)])throw new Error(_0x1aa6ad(0x43f)+_0x231267[_0x1aa6ad(0x3fb)]+_0x1aa6ad(0x313)+_0x5aa2a5['status']+_0x1aa6ad(0x388)+this['_state']['status']);this[_0x1aa6ad(0x222)](_0x5aa2a5);},'onSendChangeset':_0x41f511=>{var _0x44509c=_0x274d;_0x41f511[_0x44509c(0x2c5)]||(_0x41f511[_0x44509c(0x2c5)]=this[_0x44509c(0x430)],_0x41f511[_0x44509c(0x3dd)]=++this[_0x44509c(0x2b2)]);const _0x48bd77={'eventID':m[_0x44509c(0x348)][_0x44509c(0x37c)],'data':{'unitID':_0x41f511[_0x44509c(0x366)],'unitType':this['_type'],'changeset':_0x41f511,'memberID':this['session'][_0x44509c(0x2ab)]()}};this['session'][_0x44509c(0x49d)](_0x48bd77,this[_0x44509c(0x366)]);},'onMissingChangesets':({from:_0x3ee48f,to:_0x1236c8})=>{var _0x370109=_0x274d;this[_0x370109(0x2d0)][_0x370109(0x1c3)](_0x370109(0x4ad),_0x370109(0x2b4)+_0x3ee48f+'\x20to\x20'+_0x1236c8);const _0x1f0e93={'eventID':m[_0x370109(0x348)][_0x370109(0x490)],'data':{'unitID':_0x348116,'unitType':this[_0x370109(0x3a3)],'from':_0x3ee48f,'to':_0x1236c8}};this[_0x370109(0x47a)][_0x370109(0x49d)](_0x1f0e93,this[_0x370109(0x366)]);}};}async[_0x5d5117(0x4e5)](_0xadb058){var _0xdf3997=_0x5d5117,_0x168055,_0x5443d6,_0x4ab86c;const _0x132bae=await((_0x168055=this[_0xdf3997(0x16c)])==null?void 0x0:_0x168055['loadOfflineData'](this['unitID'])),_0x1364ce=(_0x5443d6=_0x132bae==null?void 0x0:_0x132bae[_0xdf3997(0x211)])!=null?_0x5443d6:[],_0x2f4bcf=(_0x4ab86c=_0x132bae==null?void 0x0:_0x132bae['awaitingChangeset'])!=null?_0x4ab86c:null,_0xf51b14=!!(_0x2f4bcf!=null&&_0x2f4bcf[_0xdf3997(0x2c5)])&&!!(_0x2f4bcf!=null&&_0x2f4bcf['reqId']);this[_0xdf3997(0x430)]=_0xf51b14?_0x2f4bcf[_0xdf3997(0x2c5)]:gn(),this[_0xdf3997(0x2b2)]=_0xf51b14?_0x2f4bcf[_0xdf3997(0x3dd)]:0x0;const _0x2f923e=this[_0xdf3997(0x366)];try{this[_0xdf3997(0x27c)](_0x2f4bcf,_0x1364ce);}catch(_0x33e592){this[_0xdf3997(0x2d0)][_0xdf3997(0x293)](_0x33e592);}const _0xf9ec89=this[_0xdf3997(0x350)]();if(_0xadb058){const _0x3909ff=Pt(this[_0xdf3997(0x238)],_0x2f923e,this[_0xdf3997(0x3a3)],_0x2f4bcf,_0x1364ce,_0xf9ec89);return _0x3909ff instanceof exports['PendingState']?_0x3909ff[_0xdf3997(0x289)]():(_0x3909ff instanceof exports[_0xdf3997(0x45a)]||_0x3909ff instanceof exports[_0xdf3997(0x411)])&&_0x3909ff[_0xdf3997(0x483)](),_0x3909ff;}return this[_0xdf3997(0x238)][_0xdf3997(0x3f7)](exports['OfflineState'],_0x2f923e,this[_0xdf3997(0x3a3)],_0x2f4bcf,_0x1364ce,_0xf9ec89);}[_0x5d5117(0x27c)](_0x580a34,_0x40c1e6){var _0x2f667e=_0x5d5117,_0x5b2440,_0x3cfd1f;const _0x58e9ab=this[_0x2f667e(0x2c1)][_0x2f667e(0x44a)]['fetchThroughInterceptors'](this[_0x2f667e(0x2c1)][_0x2f667e(0x44a)][_0x2f667e(0x49a)]()[_0x2f667e(0x18c)]);(_0x5b2440=_0x58e9ab((_0x580a34==null?void 0x0:_0x580a34[_0x2f667e(0x211)])||[],null))==null||_0x5b2440[_0x2f667e(0x3ee)](_0x201538=>this[_0x2f667e(0x1a9)][_0x2f667e(0x407)](_0x201538['id'],_0x201538['params'])),(_0x3cfd1f=_0x58e9ab(_0x40c1e6||[],null))==null||_0x3cfd1f[_0x2f667e(0x3ee)](_0x589f52=>this[_0x2f667e(0x1a9)][_0x2f667e(0x407)](_0x589f52['id'],_0x589f52['params']));}},exports['CollaborationEntity']=Ge([k(0x3,a[_0x5d5117(0x4e6)](a[_0x5d5117(0x315)])),k(0x4,a[_0x5d5117(0x4e6)](m[_0x5d5117(0x399)])),k(0x5,a['Inject'](a[_0x5d5117(0x36a)])),k(0x6,a['Inject'](m[_0x5d5117(0x4ac)])),k(0x7,a[_0x5d5117(0x4e6)](te)),k(0x8,a[_0x5d5117(0x218)]),k(0x9,a[_0x5d5117(0x295)]),k(0xa,a['IPermissionService']),k(0xb,a['Optional'](ve)),k(0xc,a[_0x5d5117(0x331)](z))],exports['CollaborationEntity']),exports['DocCollaborationEntity']=class extends exports[_0x5d5117(0x4b3)]{constructor(_0xc19572,_0x1c3cbe,_0x1291c2,_0x2a9ea1,_0x5b3a5d,_0x515add,_0x343bab,_0x127cd1,_0x31cd20,_0x4ae350,_0x4382f0,_0x51c3c9,_0x42a159){var _0xb4f111=_0x5d5117;super(_0xc19572,_0x1291c2,_0x1c3cbe,_0x2a9ea1,_0x5b3a5d,_0x515add,_0x343bab,_0x127cd1,_0x31cd20,_0x4ae350,_0x4382f0,_0x51c3c9,_0x42a159),D(this,_0xb4f111(0x489),null),(this['unitID']=_0xc19572,this[_0xb4f111(0x189)]=_0x1c3cbe);}[_0x5d5117(0x380)](_0x427897){var _0x2ac739=_0x5d5117;this[_0x2ac739(0x489)]=_0x427897;}[_0x5d5117(0x3fd)](){var _0x947a99=_0x5d5117;this[_0x947a99(0x489)]=null,super[_0x947a99(0x3fd)]();}[_0x5d5117(0x350)](){var _0xc40b47=_0x5d5117;const _0x16c255=super[_0xc40b47(0x350)]();return _0x16c255[_0xc40b47(0x1e7)]=_0x4be8a4=>{var _0x282b82=_0xc40b47,_0xf71836,_0x286c0e;return(_0x286c0e=(_0xf71836=this[_0x282b82(0x489)])==null?void 0x0:_0xf71836[_0x282b82(0x1e7)])==null?void 0x0:_0x286c0e[_0x282b82(0x425)](_0xf71836,_0x4be8a4);},_0x16c255[_0xc40b47(0x27a)]=_0x387fd7=>{var _0x54890b=_0xc40b47,_0x5e8ced,_0x3d5433;return(_0x3d5433=(_0x5e8ced=this[_0x54890b(0x489)])==null?void 0x0:_0x5e8ced[_0x54890b(0x27a)])==null?void 0x0:_0x3d5433['call'](_0x5e8ced,_0x387fd7);},_0x16c255[_0xc40b47(0x339)]=_0x1fca3b=>{var _0x45a3a6=_0xc40b47,_0x11fe03,_0x2c4ae7;return(_0x2c4ae7=(_0x11fe03=this[_0x45a3a6(0x489)])==null?void 0x0:_0x11fe03[_0x45a3a6(0x339)])==null?void 0x0:_0x2c4ae7['call'](_0x11fe03,_0x1fca3b);},_0x16c255[_0xc40b47(0x43e)]=_0x2ac61d=>{var _0x27713c=_0xc40b47,_0xddda78,_0x3067e4;return(_0x3067e4=(_0xddda78=this[_0x27713c(0x489)])==null?void 0x0:_0xddda78['onSyncEditingCollabCursor'])==null?void 0x0:_0x3067e4[_0x27713c(0x425)](_0xddda78,_0x2ac61d);},_0x16c255[_0xc40b47(0x2ed)]=_0x25052c=>{var _0x1b01d4=_0xc40b47,_0x4cec4e,_0x10f33f,_0x1f68f8;if(!((_0x4cec4e=this['_handlerCallback'])!=null&&_0x4cec4e[_0x1b01d4(0x2ed)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x1f68f8=(_0x10f33f=this[_0x1b01d4(0x489)])==null?void 0x0:_0x10f33f[_0x1b01d4(0x2ed)])==null?void 0x0:_0x1f68f8[_0x1b01d4(0x425)](_0x10f33f,_0x25052c);},_0x16c255[_0xc40b47(0x2d1)]=_0x2c2df5=>{var _0x3e8da6=_0xc40b47,_0x2f7e14,_0x36195d,_0xabaea7;if(!((_0x2f7e14=this[_0x3e8da6(0x489)])!=null&&_0x2f7e14[_0x3e8da6(0x2d1)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0xabaea7=(_0x36195d=this[_0x3e8da6(0x489)])==null?void 0x0:_0x36195d['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0xabaea7[_0x3e8da6(0x425)](_0x36195d,_0x2c2df5);},_0x16c255;}async[_0x5d5117(0x239)](){var _0x101697=_0x5d5117;const _0x169199=await super[_0x101697(0x239)]();return this[_0x101697(0x237)](this[_0x101697(0x1a9)][_0x101697(0x45c)]((_0x299ca9,_0x381a30)=>{var _0x142ec8=_0x101697;if(_0x299ca9[_0x142ec8(0x189)]!==a[_0x142ec8(0x3ad)][_0x142ec8(0x2cf)]||_0x381a30!=null&&_0x381a30[_0x142ec8(0x1dc)]||_0x381a30!=null&&_0x381a30[_0x142ec8(0x41f)]||_0x299ca9['id']===dt[_0x142ec8(0x31f)]['id'])return;const _0x949c4a=_0x299ca9['params'];if((_0x949c4a==null?void 0x0:_0x949c4a[_0x142ec8(0x2bb)])!==this[_0x142ec8(0x366)])return;const _0x2ddaab=_0x299ca9,_0x58d6be=this[_0x142ec8(0x2c1)]['interceptor'][_0x142ec8(0x268)](this[_0x142ec8(0x2c1)]['interceptor'][_0x142ec8(0x49a)]()[_0x142ec8(0x2a2)])([_0x2ddaab],null)||[_0x2ddaab];this['_onLocalMutation'](_0x58d6be[0x0]);})),_0x169199;}},exports[_0x5d5117(0x2d8)]=Ge([k(0x3,a[_0x5d5117(0x4e6)](a['Injector'])),k(0x4,a[_0x5d5117(0x4e6)](m[_0x5d5117(0x399)])),k(0x5,a['Inject'](a[_0x5d5117(0x36a)])),k(0x6,a[_0x5d5117(0x4e6)](m[_0x5d5117(0x4ac)])),k(0x7,a[_0x5d5117(0x4e6)](te)),k(0x8,a[_0x5d5117(0x218)]),k(0x9,a[_0x5d5117(0x295)]),k(0xa,a[_0x5d5117(0x4f7)]),k(0xb,a[_0x5d5117(0x331)](ve)),k(0xc,a[_0x5d5117(0x331)](z))],exports[_0x5d5117(0x2d8)]),exports[_0x5d5117(0x35e)]=class extends exports[_0x5d5117(0x4b3)]{constructor(_0x89bce9,_0x48e22c,_0x2136f7,_0x4c1fff,_0x34fff9,_0x2d9fd2,_0x4adedb,_0x5f3373,_0x1a35bd,_0x2bf52c,_0x36f22b,_0x4a2afe,_0x27cb1f,_0x31f7a5){var _0x4ae33a=_0x5d5117;super(_0x89bce9,_0x2136f7,_0x48e22c,_0x4c1fff,_0x34fff9,_0x2d9fd2,_0x4adedb,_0x1a35bd,_0x2bf52c,_0x36f22b,_0x4a2afe,_0x27cb1f,_0x31f7a5),this[_0x4ae33a(0x366)]=_0x89bce9,this[_0x4ae33a(0x189)]=_0x48e22c,this[_0x4ae33a(0x1ca)]=_0x5f3373;}[_0x5d5117(0x350)](){var _0x41a702=_0x5d5117;const _0x102999=super[_0x41a702(0x350)]();return _0x102999[_0x41a702(0x339)]=_0x17def3=>this[_0x41a702(0x1ca)]['transformSelections'](_0x17def3),_0x102999;}async[_0x5d5117(0x239)](){var _0x69b81b=_0x5d5117;const _0x3e338e=await super[_0x69b81b(0x239)]();return this[_0x69b81b(0x237)](this[_0x69b81b(0x1a9)][_0x69b81b(0x45c)]((_0x2b6fcf,_0x17c4bf)=>{var _0x533f4a=_0x69b81b;if(_0x2b6fcf[_0x533f4a(0x189)]!==a[_0x533f4a(0x3ad)][_0x533f4a(0x2cf)]||_0x17c4bf!=null&&_0x17c4bf[_0x533f4a(0x1dc)]||_0x17c4bf!=null&&_0x17c4bf[_0x533f4a(0x41f)])return;const _0x4ec022=_0x2b6fcf[_0x533f4a(0x1e2)];if((_0x4ec022==null?void 0x0:_0x4ec022[_0x533f4a(0x2bb)])!==this[_0x533f4a(0x366)])return;const _0x3614f9=_0x2b6fcf,_0xf7c58a=this[_0x533f4a(0x2c1)][_0x533f4a(0x44a)][_0x533f4a(0x268)](this[_0x533f4a(0x2c1)][_0x533f4a(0x44a)][_0x533f4a(0x49a)]()[_0x533f4a(0x2a2)])([_0x3614f9],null)||[_0x3614f9];this[_0x533f4a(0x318)](_0xf7c58a[0x0]);})),_0x3e338e;}},exports[_0x5d5117(0x35e)]=Ge([k(0x3,a['Inject'](a[_0x5d5117(0x315)])),k(0x4,a[_0x5d5117(0x4e6)](m[_0x5d5117(0x399)])),k(0x5,a[_0x5d5117(0x4e6)](a[_0x5d5117(0x36a)])),k(0x6,a['Inject'](m[_0x5d5117(0x4ac)])),k(0x7,a[_0x5d5117(0x4e6)](exports['SheetTransformSelectionsService'])),k(0x8,a[_0x5d5117(0x4e6)](te)),k(0x9,a[_0x5d5117(0x218)]),k(0xa,a[_0x5d5117(0x295)]),k(0xb,a[_0x5d5117(0x4f7)]),k(0xc,a[_0x5d5117(0x331)](ve)),k(0xd,a['Optional'](z))],exports[_0x5d5117(0x35e)]);var wn=Object[_0x5d5117(0x4c8)],An=Object[_0x5d5117(0x3d3)],Ln=(_0x16cf28,_0x4c868e,_0x2172e1,_0x47f166)=>{var _0x25f674=_0x5d5117;for(var _0x209d67=_0x47f166>0x1?void 0x0:_0x47f166?An(_0x4c868e,_0x2172e1):_0x4c868e,_0x21ac5a=_0x16cf28[_0x25f674(0x33f)]-0x1,_0x3f4d0d;_0x21ac5a>=0x0;_0x21ac5a--)(_0x3f4d0d=_0x16cf28[_0x21ac5a])&&(_0x209d67=(_0x47f166?_0x3f4d0d(_0x4c868e,_0x2172e1,_0x209d67):_0x3f4d0d(_0x209d67))||_0x209d67);return _0x47f166&&_0x209d67&&wn(_0x4c868e,_0x2172e1,_0x209d67),_0x209d67;},we=(_0x5bc037,_0x34e9ca)=>(_0x5a1285,_0x41ea2f)=>_0x34e9ca(_0x5a1285,_0x41ea2f,_0x5bc037);exports['CollaborationController']=class extends a['RxDisposable']{constructor(_0x44e327,_0x164049,_0x416edb){var _0x532924=_0x5d5117;super(),D(this,_0x532924(0x253),new Map()),D(this,_0x532924(0x245),new H['Subject']()),D(this,_0x532924(0x16b),this[_0x532924(0x245)][_0x532924(0x40c)]()),(this[_0x532924(0x238)]=_0x44e327,this[_0x532924(0x1c0)]=_0x164049,this[_0x532924(0x4da)]=_0x416edb,this[_0x532924(0x239)]());}[_0x5d5117(0x3fd)](){var _0x1e87fa=_0x5d5117;super[_0x1e87fa(0x3fd)](),this['_entities']['forEach'](_0x33c657=>_0x33c657[_0x1e87fa(0x3fd)]()),this[_0x1e87fa(0x253)][_0x1e87fa(0x195)]();}[_0x5d5117(0x1ef)](_0x2ae00f){var _0x3b5f7e=_0x5d5117,_0x469a6c;return(_0x469a6c=this['_entities'][_0x3b5f7e(0x2ec)](_0x2ae00f))!=null?_0x469a6c:null;}[_0x5d5117(0x1f7)](_0x38c30b){var _0xcca21=_0x5d5117;const _0x233fca=this['getCollabEntity'](_0x38c30b);return _0x233fca?H['of'](_0x233fca):this['_entityInit$'][_0xcca21(0x1f6)](W[_0xcca21(0x27f)](_0x38ba37=>_0x38ba37[_0xcca21(0x366)]===_0x38c30b));}[_0x5d5117(0x323)](_0x248df7){var _0xd00d00=_0x5d5117;return H[_0xd00d00(0x3c0)](this[_0xd00d00(0x1f7)](_0x248df7)[_0xd00d00(0x1f6)](W[_0xd00d00(0x193)](()=>{})));}[_0x5d5117(0x239)](){var _0xd3356=_0x5d5117;this[_0xd3356(0x4da)]['getTypeOfUnitAdded$'](a[_0xd3356(0x2b8)]['UNIVER_SHEET'])[_0xd3356(0x1f6)](H['takeUntil'](this[_0xd3356(0x2da)]),W[_0xd3356(0x30e)](0x10))[_0xd3356(0x415)](async _0x147f23=>{var _0x57c950=_0xd3356;const _0x2a168f=_0x147f23['getUnitId'](),_0x18d89d=await this[_0x57c950(0x26f)](_0x2a168f,Z[_0x57c950(0x3cb)]);this[_0x57c950(0x253)][_0x57c950(0x312)](_0x2a168f,_0x18d89d);}),this[_0xd3356(0x4da)][_0xd3356(0x26e)](a[_0xd3356(0x2b8)][_0xd3356(0x4e4)])[_0xd3356(0x1f6)](H[_0xd3356(0x456)](this['dispose$']),W[_0xd3356(0x30e)](0x10))[_0xd3356(0x1f6)](W[_0xd3356(0x27f)](_0xfe7eda=>!_0xfe7eda[_0xd3356(0x4a3)]()[_0xd3356(0x1c6)]('__')))[_0xd3356(0x415)](async _0x57840d=>{var _0x44943c=_0xd3356;const _0x2641ca=_0x57840d[_0x44943c(0x4a3)](),_0x44180b=await this[_0x44943c(0x26f)](_0x2641ca,Z[_0x44943c(0x4e4)]);this['_entities'][_0x44943c(0x312)](_0x2641ca,_0x44180b);}),H[_0xd3356(0x1bd)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](a[_0xd3356(0x2b8)][_0xd3356(0x3cb)]),this[_0xd3356(0x4da)][_0xd3356(0x43c)](a[_0xd3356(0x2b8)][_0xd3356(0x4e4)]))[_0xd3356(0x1f6)](H[_0xd3356(0x456)](this[_0xd3356(0x2da)]))['subscribe'](_0x48817a=>{var _0x50956f=_0xd3356;const _0x3fbd59=_0x48817a[_0x50956f(0x4a3)](),_0x3a5737=this[_0x50956f(0x253)]['get'](_0x3fbd59);_0x3a5737&&(_0x3a5737[_0x50956f(0x3fd)](),this[_0x50956f(0x253)]['delete'](_0x3fbd59));});}async[_0x5d5117(0x26f)](_0x46f938,_0x52ff10){var _0x46a599=_0x5d5117;const _0x4b89c3=await this['_collabSessionService'][_0x46a599(0x3c3)](_0x46f938),_0xf5db=this[_0x46a599(0x238)][_0x46a599(0x3f7)](this[_0x46a599(0x4c5)](_0x52ff10),_0x46f938,_0x52ff10,_0x4b89c3);return await _0xf5db[_0x46a599(0x178)](),this[_0x46a599(0x245)]['next'](_0xf5db),_0xf5db;}[_0x5d5117(0x4c5)](_0x299553){var _0x60ddb9=_0x5d5117;switch(_0x299553){case Z[_0x60ddb9(0x4e4)]:return exports[_0x60ddb9(0x2d8)];case Z['UNIVER_SHEET']:return exports[_0x60ddb9(0x35e)];default:throw new Error(_0x60ddb9(0x21c)+_0x299553);}}},exports[_0x5d5117(0x1b5)]=Ln([we(0x0,a[_0x5d5117(0x4e6)](a['Injector'])),we(0x1,a[_0x5d5117(0x4e6)](exports[_0x5d5117(0x36d)])),we(0x2,a[_0x5d5117(0x169)])],exports['CollaborationController']);var Mn=Object[_0x5d5117(0x4c8)],xn=Object[_0x5d5117(0x3d3)],jn=(_0x544c,_0x579754,_0x2d0f92,_0x2a3bda)=>{for(var _0x2e521d=_0x2a3bda>0x1?void 0x0:_0x2a3bda?xn(_0x579754,_0x2d0f92):_0x579754,_0x369a72=_0x544c['length']-0x1,_0x310d80;_0x369a72>=0x0;_0x369a72--)(_0x310d80=_0x544c[_0x369a72])&&(_0x2e521d=(_0x2a3bda?_0x310d80(_0x579754,_0x2d0f92,_0x2e521d):_0x310d80(_0x2e521d))||_0x2e521d);return _0x2a3bda&&_0x2e521d&&Mn(_0x579754,_0x2d0f92,_0x2e521d),_0x2e521d;},Xe=(_0x47eedf,_0x1615bb)=>(_0x556491,_0x24e3af)=>_0x1615bb(_0x556491,_0x24e3af,_0x47eedf);const $n=_0x5d5117(0x349),Hn='Univer';let $e=class extends a['Disposable']{constructor(_0x32c2ac,_0x220745){var _0x54d156=_0x5d5117;super(),this['_univerInstanceService']=_0x32c2ac,this['_configService']=_0x220745,this[_0x54d156(0x239)]();}[_0x5d5117(0x239)](){var _0x4bbebc=_0x5d5117;this[_0x4bbebc(0x237)](this[_0x4bbebc(0x4da)][_0x4bbebc(0x47d)][_0x4bbebc(0x415)](()=>{var _0x2cfb6b=_0x4bbebc,_0x1f55be;const _0xed499e=this[_0x2cfb6b(0x4da)]['getFocusedUnit']();let _0x9cb78d=(_0x1f55be=this['_configService']['getConfig']($n))!=null?_0x1f55be:Hn;_0xed499e instanceof a[_0x2cfb6b(0x217)]&&(_0x9cb78d=_0xed499e['name']),document[_0x2cfb6b(0x187)]=_0x9cb78d;}));}};$e=jn([Xe(0x0,a[_0x5d5117(0x169)]),Xe(0x1,a[_0x5d5117(0x1a7)])],$e);var kn=Object['defineProperty'],Bn=Object[_0x5d5117(0x3d3)],Fn=(_0x13c856,_0x1175c6,_0x2410fc,_0x5e0880)=>{var _0x5a9522=_0x5d5117;for(var _0x363ebe=_0x5e0880>0x1?void 0x0:_0x5e0880?Bn(_0x1175c6,_0x2410fc):_0x1175c6,_0x18eddd=_0x13c856[_0x5a9522(0x33f)]-0x1,_0x2e03a8;_0x18eddd>=0x0;_0x18eddd--)(_0x2e03a8=_0x13c856[_0x18eddd])&&(_0x363ebe=(_0x5e0880?_0x2e03a8(_0x1175c6,_0x2410fc,_0x363ebe):_0x2e03a8(_0x363ebe))||_0x363ebe);return _0x5e0880&&_0x363ebe&&kn(_0x1175c6,_0x2410fc,_0x363ebe),_0x363ebe;},Ae=(_0x52b41a,_0x5d5ee2)=>(_0x333be8,_0x42d532)=>_0x5d5ee2(_0x333be8,_0x42d532,_0x52b41a);let ye=class{constructor(_0x48d49d,_0x36b9c6,_0x5c61d9){var _0x164edc=_0x5d5117;this[_0x164edc(0x381)]=_0x48d49d,this[_0x164edc(0x3a9)]=_0x36b9c6,this[_0x164edc(0x3db)]=_0x5c61d9,this[_0x164edc(0x178)]();}[_0x5d5117(0x178)](){var _0x58b12a=_0x5d5117;this['_httpService']['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x5c00b4,_0x8008c9)=>_0x8008c9(_0x5c00b4)['pipe'](H[_0x58b12a(0x2be)](async _0x1a139d=>{var _0x5335e1=_0x58b12a;const _0x2bf579=_0x1a139d;if(_0x2bf579[_0x5335e1(0x3fb)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x5335e1(0x4d0)](this[_0x5335e1(0x3db)]['t']('auth.needGotoLoginAlert'))){const _0x51b50c=window[_0x5335e1(0x3d8)](window[_0x5335e1(0x482)][_0x5335e1(0x1d7)]);window[_0x5335e1(0x482)][_0x5335e1(0x1d7)]=this[_0x5335e1(0x32a)]()+_0x5335e1(0x3ae)+_0x51b50c;}}return _0x2bf579;}))});}[_0x5d5117(0x32a)](){var _0x57de5d=_0x5d5117,_0x2d5beb,_0x48c3c6;const _0x3322c6=this[_0x57de5d(0x381)]['getConfig'](Ct),_0x434d3a=this['_configService'][_0x57de5d(0x4c7)](Y);return(_0x48c3c6=(_0x2d5beb=_0x434d3a==null?void 0x0:_0x434d3a[_0x57de5d(0x19e)])!=null?_0x2d5beb:_0x3322c6)!=null?_0x48c3c6:zt;}};ye=Fn([Ae(0x0,a['IConfigService']),Ae(0x1,a[_0x5d5117(0x4e6)](q[_0x5d5117(0x42a)])),Ae(0x2,a['Inject'](a[_0x5d5117(0x36a)]))],ye);var Wn=Object[_0x5d5117(0x4c8)],Gn=Object[_0x5d5117(0x3d3)],Vn=(_0x379a0b,_0x573cbf,_0x1cf0da,_0x1d9e2c)=>{var _0x3a4732=_0x5d5117;for(var _0x4f2534=_0x1d9e2c>0x1?void 0x0:_0x1d9e2c?Gn(_0x573cbf,_0x1cf0da):_0x573cbf,_0x1e640d=_0x379a0b[_0x3a4732(0x33f)]-0x1,_0x26a3ab;_0x1e640d>=0x0;_0x1e640d--)(_0x26a3ab=_0x379a0b[_0x1e640d])&&(_0x4f2534=(_0x1d9e2c?_0x26a3ab(_0x573cbf,_0x1cf0da,_0x4f2534):_0x26a3ab(_0x4f2534))||_0x4f2534);return _0x1d9e2c&&_0x4f2534&&Wn(_0x573cbf,_0x1cf0da,_0x4f2534),_0x4f2534;},Ze=(_0x4008b7,_0x53b6ed)=>(_0x29ae05,_0x5502f3)=>_0x53b6ed(_0x29ae05,_0x5502f3,_0x4008b7);const Ve=_0x5d5117(0x462),Kn=_0x5d5117(0x444);exports[_0x5d5117(0x4a2)]=class extends a[_0x5d5117(0x2ea)]{constructor(_0x325e47,_0x46e6ce){var _0x458638=_0x5d5117;super(),this[_0x458638(0x1ea)]=_0x325e47,this[_0x458638(0x381)]=_0x46e6ce,this['_initMergeInterceptor']();}[_0x5d5117(0x433)](){var _0x2917d1=_0x5d5117;const _0x142676=this;this[_0x2917d1(0x237)](this[_0x2917d1(0x1ea)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':q[_0x2917d1(0x21a)]({'isMatch'(_0x17798f){var _0x39b83e=_0x2917d1,_0x1f6e39;if(_0x17798f[_0x39b83e(0x1ab)]===_0x39b83e(0x225)&&((_0x1f6e39=_0x17798f['requestParams'])!=null&&_0x1f6e39[_0x39b83e(0x1b8)])){const {objectID:_0xced44a,objectType:_0x285b5b}=_0x17798f[_0x39b83e(0x2dc)]['body']||{};if(!_0xced44a||_0x285b5b===void 0x0)return!0x1;const _0x4986fc=_0x142676[_0x39b83e(0x337)]()+'/'+_0x285b5b+_0x39b83e(0x3dc)+_0xced44a+_0x39b83e(0x22c);if(_0x17798f[_0x39b83e(0x219)]===_0x4986fc)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x14b5e1){var _0x2b5078=_0x2917d1,_0x1a5021;return(_0x1a5021=_0x14b5e1[_0x2b5078(0x2dc)])==null?void 0x0:_0x1a5021['body'];},'mergeParamsToRequest'(_0x49e109,_0x4b3e5d){var _0x21c4f8=_0x2917d1;const _0xf4805f=_0x142676[_0x21c4f8(0x337)]()+'/-/object/-/batch_allowed',_0x4c4407=_0x49e109[_0x21c4f8(0x458)]((_0x34b17d,_0x2f984d)=>{const {unitID:_0x4dd441,objectID:_0x515caf,objectType:_0x4d03c6,actions:_0x30d453}=_0x2f984d;return _0x34b17d[_0x4dd441]||(_0x34b17d[_0x4dd441]={}),_0x34b17d[_0x4dd441][_0x515caf]||(_0x34b17d[_0x4dd441][_0x515caf]={'objectID':_0x515caf,'objectType':_0x4d03c6,'actions':[]}),_0x34b17d[_0x4dd441][_0x515caf]['actions']['push'](..._0x30d453),_0x34b17d;},{}),_0x1d5574=[];for(const _0x4dff56 in _0x4c4407)for(const _0x2e468a in _0x4c4407[_0x4dff56]){const {actions:_0x227f14,objectType:_0x751b31}=_0x4c4407[_0x4dff56][_0x2e468a],_0x29c795=[...new Set(_0x227f14)];_0x1d5574['push']({'unitID':_0x4dff56,'objectID':_0x2e468a,'objectType':_0x751b31,'actions':_0x29c795});}return new q[(_0x21c4f8(0x266))](_0x21c4f8(0x225),_0xf4805f,{'headers':_0x4b3e5d[_0x21c4f8(0x47f)],'withCredentials':_0x4b3e5d['withCredentials'],'responseType':_0x4b3e5d[_0x21c4f8(0x46f)],'body':{'requests':_0x1d5574}});}},{'distributeResult'(_0x56ecc7,_0x231ae0){const {objectActions:_0x12fea4}=_0x56ecc7;return _0x231ae0['map'](_0xea0ae2=>{var _0x4aca2b=_0x274d;const {unitID:_0xc827a8,objectID:_0x18a2db,actions:_0x35a23f}=_0xea0ae2,_0x1efb3f=_0x12fea4['find'](_0xdd2aee=>_0xdd2aee[_0x4aca2b(0x366)]===_0xc827a8&&_0xdd2aee[_0x4aca2b(0x377)]===_0x18a2db),_0x473a38=_0x35a23f[_0x4aca2b(0x193)](_0x1c2f0c=>_0x1efb3f==null?void 0x0:_0x1efb3f[_0x4aca2b(0x321)][_0x4aca2b(0x3f1)](_0x44007d=>_0x44007d[_0x4aca2b(0x2f9)]===_0x1c2f0c))[_0x4aca2b(0x27f)](_0x5e4743=>!!_0x5e4743);return{'config':_0xea0ae2,'result':{'actions':_0x473a38,'error':_0x56ecc7[_0x4aca2b(0x293)]}};});}})}));}[_0x5d5117(0x337)](){var _0x7620d0=_0x5d5117,_0x5b289a,_0x3497cf;const _0xeb8d09=this['_configService']['getConfig'](Ve),_0x230b7f=this['_configService'][_0x7620d0(0x4c7)](Y);return(_0x3497cf=(_0x5b289a=_0x230b7f==null?void 0x0:_0x230b7f[_0x7620d0(0x1f1)])!=null?_0x5b289a:_0xeb8d09)!=null?_0x3497cf:Kn;}async[_0x5d5117(0x44d)](_0x3741c6){var _0x42a53c=_0x5d5117;const _0x22c88f=this[_0x42a53c(0x337)]()+'/'+_0x3741c6['objectType']+_0x42a53c(0x2aa);return(await this['_HTTPService'][_0x42a53c(0x2b1)](_0x22c88f,{'body':_0x3741c6}))['body'][_0x42a53c(0x377)]||'';}async[_0x5d5117(0x334)](_0x161d29){var _0x211aec=_0x5d5117;const _0x3642b9=this[_0x211aec(0x337)]()+_0x211aec(0x2a6);return(await this['_HTTPService'][_0x211aec(0x2b1)](_0x3642b9,{'body':_0x161d29}))[_0x211aec(0x1b8)][_0x211aec(0x36c)];}async[_0x5d5117(0x3e7)](_0x44d674){var _0x5c6278=_0x5d5117;const _0x112eba=this[_0x5c6278(0x337)]()+'/'+_0x44d674[_0x5c6278(0x247)]+_0x5c6278(0x3dc)+_0x44d674[_0x5c6278(0x377)];await this[_0x5c6278(0x1ea)]['put'](_0x112eba,{'body':_0x44d674});}async[_0x5d5117(0x4a5)](_0x1c045d){var _0x1c402e=_0x5d5117;const _0x25080f=this['_getAPIPrefixPath']()+'/'+_0x1c045d['objectType']+'/object/'+_0x1c045d[_0x1c402e(0x377)]+'/allowed';return(await this[_0x1c402e(0x1ea)][_0x1c402e(0x2b1)](_0x25080f,{'body':_0x1c045d}))[_0x1c402e(0x1b8)][_0x1c402e(0x321)];}async[_0x5d5117(0x250)](_0x3659cd){var _0x5e3e85=_0x5d5117;const _0xd43b7f=this[_0x5e3e85(0x337)]()+_0x5e3e85(0x1a0);return(await this['_HTTPService'][_0x5e3e85(0x2b1)](_0xd43b7f,{'body':{'requests':_0x3659cd}}))[_0x5e3e85(0x1b8)][_0x5e3e85(0x35f)];}async[_0x5d5117(0x4a1)](_0x224adf){var _0x15c599=_0x5d5117;const _0x320eca=this[_0x15c599(0x337)]()+'/'+_0x224adf[_0x15c599(0x247)]+_0x15c599(0x22f),_0x22fb97=await this['_HTTPService'][_0x15c599(0x2b1)](_0x320eca,{'body':_0x224adf});return{'roles':_0x22fb97[_0x15c599(0x1b8)][_0x15c599(0x452)],'actions':_0x22fb97[_0x15c599(0x1b8)][_0x15c599(0x321)]};}async[_0x5d5117(0x2e3)](_0xfd8b40){var _0x50eb27=_0x5d5117;const _0x4b36a9=this[_0x50eb27(0x337)]()+_0x50eb27(0x2c4);await this['_HTTPService']['delete'](_0x4b36a9,{'params':{'collaboratorID':_0xfd8b40[_0x50eb27(0x278)],'objectID':_0xfd8b40[_0x50eb27(0x377)],'unitID':_0xfd8b40[_0x50eb27(0x366)]}});}async[_0x5d5117(0x40d)](_0x552102){var _0x345b3c=_0x5d5117;const _0x45fb90=this['_getAPIPrefixPath']()+_0x345b3c(0x2c4);await this['_HTTPService'][_0x345b3c(0x192)](_0x45fb90,{'body':_0x552102});}async['createCollaborator'](_0x20716a){var _0x5c866b=_0x5d5117;const _0x22a675=this['_getAPIPrefixPath']()+_0x5c866b(0x2c4);await this[_0x5c866b(0x1ea)][_0x5c866b(0x2b1)](_0x22a675,{'body':_0x20716a});}async[_0x5d5117(0x49e)](_0x515af6){var _0x17475c=_0x5d5117;const _0x5ac8b5=this[_0x17475c(0x337)]()+_0x17475c(0x2c4);return(await this[_0x17475c(0x1ea)][_0x17475c(0x2ec)](_0x5ac8b5,{'params':{'objectID':_0x515af6[_0x17475c(0x377)],'unitID':_0x515af6[_0x17475c(0x366)]}}))[_0x17475c(0x1b8)][_0x17475c(0x48f)];}async[_0x5d5117(0x3de)](_0x3a38c2){var _0x1ee3d1=_0x5d5117;const _0x3b56ff=this[_0x1ee3d1(0x337)]()+_0x1ee3d1(0x2c4);await this[_0x1ee3d1(0x1ea)][_0x1ee3d1(0x33c)](_0x3b56ff,{'body':_0x3a38c2});}},exports['AuthzIoHttpService']=Vn([Ze(0x0,a['Inject'](q[_0x5d5117(0x42a)])),Ze(0x1,a[_0x5d5117(0x4e6)](a[_0x5d5117(0x1a7)]))],exports[_0x5d5117(0x4a2)]);var Le=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function fe(_0xe8e3ee){var _0x46d92c=_0x5d5117;return _0xe8e3ee&&_0xe8e3ee[_0x46d92c(0x4bd)]&&Object[_0x46d92c(0x41d)][_0x46d92c(0x204)][_0x46d92c(0x425)](_0xe8e3ee,_0x46d92c(0x41e))?_0xe8e3ee['default']:_0xe8e3ee;}var Se={'exports':{}};function Yn(_0x3110f4){var _0x30b5a5=_0x5d5117;throw new Error(_0x30b5a5(0x493)+_0x3110f4+_0x30b5a5(0x16a));}var pe={'exports':{}},qn=pe['exports'],Qe;function ee(){var _0x3114f5=_0x5d5117;return Qe||(Qe=0x1,function(_0x45e05b,_0x528bb0){(function(_0x207218,_0x5a65db){var _0x11798b=_0x274d;_0x45e05b[_0x11798b(0x172)]=_0x5a65db();}(qn,function(){var _0x5c1574=_0x5c1574||function(_0x14285b,_0x2b0ae6){var _0xff9bfb=_0x274d,_0x11a907;if(typeof window<'u'&&window['crypto']&&(_0x11a907=window['crypto']),typeof self<'u'&&self[_0xff9bfb(0x4e0)]&&(_0x11a907=self[_0xff9bfb(0x4e0)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x11a907=globalThis[_0xff9bfb(0x4e0)]),!_0x11a907&&typeof window<'u'&&window[_0xff9bfb(0x4c2)]&&(_0x11a907=window[_0xff9bfb(0x4c2)]),!_0x11a907&&typeof Le<'u'&&Le[_0xff9bfb(0x4e0)]&&(_0x11a907=Le[_0xff9bfb(0x4e0)]),!_0x11a907&&typeof Yn==_0xff9bfb(0x382))try{_0x11a907=require('crypto');}catch{}var _0x8e6121=function(){var _0x371235=_0xff9bfb;if(_0x11a907){if(typeof _0x11a907[_0x371235(0x431)]=='function')try{return _0x11a907[_0x371235(0x431)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x11a907[_0x371235(0x406)]==_0x371235(0x382))try{return _0x11a907['randomBytes'](0x4)[_0x371235(0x3f0)]();}catch{}}throw new Error(_0x371235(0x3da));},_0x28d0fd=Object[_0xff9bfb(0x44d)]||(function(){function _0x304977(){}return function(_0x2a0315){var _0x28c640=_0x274d,_0x35b293;return _0x304977[_0x28c640(0x41d)]=_0x2a0315,_0x35b293=new _0x304977(),_0x304977[_0x28c640(0x41d)]=null,_0x35b293;};}()),_0x1d1d20={},_0x121b06=_0x1d1d20[_0xff9bfb(0x176)]={},_0x470c05=_0x121b06['Base']=(function(){return{'extend':function(_0x5d75cb){var _0x1d2922=_0x274d,_0x485cd8=_0x28d0fd(this);return _0x5d75cb&&_0x485cd8[_0x1d2922(0x2eb)](_0x5d75cb),(!_0x485cd8[_0x1d2922(0x204)](_0x1d2922(0x178))||this[_0x1d2922(0x178)]===_0x485cd8['init'])&&(_0x485cd8[_0x1d2922(0x178)]=function(){var _0x301603=_0x1d2922;_0x485cd8[_0x301603(0x4e8)][_0x301603(0x178)][_0x301603(0x208)](this,arguments);}),_0x485cd8[_0x1d2922(0x178)][_0x1d2922(0x41d)]=_0x485cd8,_0x485cd8[_0x1d2922(0x4e8)]=this,_0x485cd8;},'create':function(){var _0x4a3899=_0x274d,_0x52a903=this['extend']();return _0x52a903[_0x4a3899(0x178)][_0x4a3899(0x208)](_0x52a903,arguments),_0x52a903;},'init':function(){},'mixIn':function(_0x4de616){var _0x23dd78=_0x274d;for(var _0x1067c5 in _0x4de616)_0x4de616[_0x23dd78(0x204)](_0x1067c5)&&(this[_0x1067c5]=_0x4de616[_0x1067c5]);_0x4de616['hasOwnProperty']('toString')&&(this['toString']=_0x4de616[_0x23dd78(0x426)]);},'clone':function(){var _0x1168a4=_0x274d;return this['init'][_0x1168a4(0x41d)][_0x1168a4(0x3e5)](this);}};}()),_0x34c1da=_0x121b06['WordArray']=_0x470c05['extend']({'init':function(_0x3fdb67,_0x36cdf6){var _0x561b5c=_0xff9bfb;_0x3fdb67=this['words']=_0x3fdb67||[],_0x36cdf6!=_0x2b0ae6?this['sigBytes']=_0x36cdf6:this[_0x561b5c(0x497)]=_0x3fdb67[_0x561b5c(0x33f)]*0x4;},'toString':function(_0x240f7f){var _0x5991c3=_0xff9bfb;return(_0x240f7f||_0x1af79f)[_0x5991c3(0x45d)](this);},'concat':function(_0x574033){var _0x8e4a59=_0xff9bfb,_0x5b7fae=this['words'],_0x2c7eea=_0x574033['words'],_0x6c51a9=this[_0x8e4a59(0x497)],_0x305c2a=_0x574033[_0x8e4a59(0x497)];if(this[_0x8e4a59(0x44f)](),_0x6c51a9%0x4)for(var _0x2a52cf=0x0;_0x2a52cf<_0x305c2a;_0x2a52cf++){var _0x4e7d20=_0x2c7eea[_0x2a52cf>>>0x2]>>>0x18-_0x2a52cf%0x4*0x8&0xff;_0x5b7fae[_0x6c51a9+_0x2a52cf>>>0x2]|=_0x4e7d20<<0x18-(_0x6c51a9+_0x2a52cf)%0x4*0x8;}else{for(var _0x3a1289=0x0;_0x3a1289<_0x305c2a;_0x3a1289+=0x4)_0x5b7fae[_0x6c51a9+_0x3a1289>>>0x2]=_0x2c7eea[_0x3a1289>>>0x2];}return this[_0x8e4a59(0x497)]+=_0x305c2a,this;},'clamp':function(){var _0x5d2b3d=_0xff9bfb,_0x3ceba9=this['words'],_0x21e263=this[_0x5d2b3d(0x497)];_0x3ceba9[_0x21e263>>>0x2]&=0xffffffff<<0x20-_0x21e263%0x4*0x8,_0x3ceba9[_0x5d2b3d(0x33f)]=_0x14285b['ceil'](_0x21e263/0x4);},'clone':function(){var _0x44f9c9=_0xff9bfb,_0x2736ec=_0x470c05[_0x44f9c9(0x3f4)][_0x44f9c9(0x425)](this);return _0x2736ec[_0x44f9c9(0x1e0)]=this[_0x44f9c9(0x1e0)][_0x44f9c9(0x181)](0x0),_0x2736ec;},'random':function(_0x573c47){var _0x5e9d71=_0xff9bfb;for(var _0x259a2b=[],_0x48998f=0x0;_0x48998f<_0x573c47;_0x48998f+=0x4)_0x259a2b[_0x5e9d71(0x19a)](_0x8e6121());return new _0x34c1da['init'](_0x259a2b,_0x573c47);}}),_0x1741fe=_0x1d1d20[_0xff9bfb(0x36e)]={},_0x1af79f=_0x1741fe['Hex']={'stringify':function(_0x38ba71){var _0x2c1988=_0xff9bfb;for(var _0x4b639e=_0x38ba71[_0x2c1988(0x1e0)],_0x1adfd2=_0x38ba71[_0x2c1988(0x497)],_0x8c28e4=[],_0x49fd64=0x0;_0x49fd64<_0x1adfd2;_0x49fd64++){var _0x494996=_0x4b639e[_0x49fd64>>>0x2]>>>0x18-_0x49fd64%0x4*0x8&0xff;_0x8c28e4['push']((_0x494996>>>0x4)['toString'](0x10)),_0x8c28e4[_0x2c1988(0x19a)]((_0x494996&0xf)[_0x2c1988(0x426)](0x10));}return _0x8c28e4[_0x2c1988(0x464)]('');},'parse':function(_0x4dee43){var _0x38976c=_0xff9bfb;for(var _0x3629f0=_0x4dee43[_0x38976c(0x33f)],_0x579fba=[],_0x2406b2=0x0;_0x2406b2<_0x3629f0;_0x2406b2+=0x2)_0x579fba[_0x2406b2>>>0x3]|=parseInt(_0x4dee43[_0x38976c(0x4a7)](_0x2406b2,0x2),0x10)<<0x18-_0x2406b2%0x8*0x4;return new _0x34c1da[(_0x38976c(0x178))](_0x579fba,_0x3629f0/0x2);}},_0x3651d6=_0x1741fe[_0xff9bfb(0x214)]={'stringify':function(_0x38e02d){var _0x3c281d=_0xff9bfb;for(var _0x25bb50=_0x38e02d[_0x3c281d(0x1e0)],_0x503ff5=_0x38e02d[_0x3c281d(0x497)],_0x42fe5d=[],_0x2a13a0=0x0;_0x2a13a0<_0x503ff5;_0x2a13a0++){var _0x4faf97=_0x25bb50[_0x2a13a0>>>0x2]>>>0x18-_0x2a13a0%0x4*0x8&0xff;_0x42fe5d[_0x3c281d(0x19a)](String['fromCharCode'](_0x4faf97));}return _0x42fe5d[_0x3c281d(0x464)]('');},'parse':function(_0x9d3686){var _0xfd62a8=_0xff9bfb;for(var _0xa48216=_0x9d3686[_0xfd62a8(0x33f)],_0x3757f8=[],_0x12801a=0x0;_0x12801a<_0xa48216;_0x12801a++)_0x3757f8[_0x12801a>>>0x2]|=(_0x9d3686[_0xfd62a8(0x35c)](_0x12801a)&0xff)<<0x18-_0x12801a%0x4*0x8;return new _0x34c1da[(_0xfd62a8(0x178))](_0x3757f8,_0xa48216);}},_0x75aabc=_0x1741fe[_0xff9bfb(0x298)]={'stringify':function(_0x1cf48e){var _0x1e9ee5=_0xff9bfb;try{return decodeURIComponent(escape(_0x3651d6[_0x1e9ee5(0x45d)](_0x1cf48e)));}catch{throw new Error(_0x1e9ee5(0x242));}},'parse':function(_0x53535b){var _0x25dbe3=_0xff9bfb;return _0x3651d6[_0x25dbe3(0x3a0)](unescape(encodeURIComponent(_0x53535b)));}},_0x1baeb4=_0x121b06[_0xff9bfb(0x39a)]=_0x470c05[_0xff9bfb(0x3e5)]({'reset':function(){var _0x1038e6=_0xff9bfb;this['_data']=new _0x34c1da[(_0x1038e6(0x178))](),this[_0x1038e6(0x32c)]=0x0;},'_append':function(_0x104ce7){var _0xc47698=_0xff9bfb;typeof _0x104ce7=='string'&&(_0x104ce7=_0x75aabc[_0xc47698(0x3a0)](_0x104ce7)),this['_data'][_0xc47698(0x1b3)](_0x104ce7),this['_nDataBytes']+=_0x104ce7[_0xc47698(0x497)];},'_process':function(_0x13b347){var _0x1cac78=_0xff9bfb,_0x49b0c3,_0x48e120=this[_0x1cac78(0x4df)],_0x5b5b7e=_0x48e120[_0x1cac78(0x1e0)],_0x5b2857=_0x48e120['sigBytes'],_0x4eda93=this[_0x1cac78(0x1af)],_0xb09b76=_0x4eda93*0x4,_0x17bebb=_0x5b2857/_0xb09b76;_0x13b347?_0x17bebb=_0x14285b[_0x1cac78(0x270)](_0x17bebb):_0x17bebb=_0x14285b[_0x1cac78(0x18d)]((_0x17bebb|0x0)-this['_minBufferSize'],0x0);var _0x33343a=_0x17bebb*_0x4eda93,_0x25cb97=_0x14285b[_0x1cac78(0x1fd)](_0x33343a*0x4,_0x5b2857);if(_0x33343a){for(var _0x340e6b=0x0;_0x340e6b<_0x33343a;_0x340e6b+=_0x4eda93)this['_doProcessBlock'](_0x5b5b7e,_0x340e6b);_0x49b0c3=_0x5b5b7e[_0x1cac78(0x37e)](0x0,_0x33343a),_0x48e120['sigBytes']-=_0x25cb97;}return new _0x34c1da[(_0x1cac78(0x178))](_0x49b0c3,_0x25cb97);},'clone':function(){var _0x4ffe9a=_0xff9bfb,_0x2ab486=_0x470c05[_0x4ffe9a(0x3f4)][_0x4ffe9a(0x425)](this);return _0x2ab486['_data']=this[_0x4ffe9a(0x4df)][_0x4ffe9a(0x3f4)](),_0x2ab486;},'_minBufferSize':0x0});_0x121b06['Hasher']=_0x1baeb4[_0xff9bfb(0x3e5)]({'cfg':_0x470c05[_0xff9bfb(0x3e5)](),'init':function(_0x21e3ca){var _0x575625=_0xff9bfb;this[_0x575625(0x363)]=this[_0x575625(0x363)][_0x575625(0x3e5)](_0x21e3ca),this[_0x575625(0x2a0)]();},'reset':function(){var _0xae1912=_0xff9bfb;_0x1baeb4[_0xae1912(0x2a0)][_0xae1912(0x425)](this),this[_0xae1912(0x236)]();},'update':function(_0x3e92d1){var _0x4b8119=_0xff9bfb;return this[_0x4b8119(0x29a)](_0x3e92d1),this[_0x4b8119(0x29d)](),this;},'finalize':function(_0x186073){var _0xc1c0d4=_0xff9bfb;_0x186073&&this[_0xc1c0d4(0x29a)](_0x186073);var _0x3b5183=this['_doFinalize']();return _0x3b5183;},'blockSize':0x10,'_createHelper':function(_0x435dba){return function(_0x2972aa,_0x2ac94a){var _0x4b2db5=_0x274d;return new _0x435dba[(_0x4b2db5(0x178))](_0x2ac94a)[_0x4b2db5(0x455)](_0x2972aa);};},'_createHmacHelper':function(_0x37d06e){return function(_0x292382,_0x3f1eef){var _0x9fcfc4=_0x274d;return new _0x3ab29a[(_0x9fcfc4(0x2b7))][(_0x9fcfc4(0x178))](_0x37d06e,_0x3f1eef)[_0x9fcfc4(0x455)](_0x292382);};}});var _0x3ab29a=_0x1d1d20[_0xff9bfb(0x2c6)]={};return _0x1d1d20;}(Math);return _0x5c1574;}));}(pe)),pe[_0x3114f5(0x172)];}var me={'exports':{}},zn=me['exports'],et;function Dt(){var _0x49d2d8=_0x5d5117;return et||(et=0x1,function(_0xd4200a,_0x1911df){(function(_0x33e69a,_0x266c09){_0xd4200a['exports']=_0x266c09(ee());}(zn,function(_0x219bc4){var _0x865cb8=_0x274d;return(function(){var _0xb1ea55=_0x274d,_0x2b5377=_0x219bc4,_0x35af06=_0x2b5377[_0xb1ea55(0x176)],_0x49ebb1=_0x35af06['WordArray'],_0x1098d7=_0x2b5377[_0xb1ea55(0x36e)];_0x1098d7[_0xb1ea55(0x1a1)]={'stringify':function(_0x3801a3){var _0x5a5ca2=_0xb1ea55,_0x11abae=_0x3801a3[_0x5a5ca2(0x1e0)],_0x467fdd=_0x3801a3[_0x5a5ca2(0x497)],_0xbc552f=this[_0x5a5ca2(0x4d6)];_0x3801a3['clamp']();for(var _0x25af2b=[],_0x4e09e2=0x0;_0x4e09e2<_0x467fdd;_0x4e09e2+=0x3)for(var _0x44a191=_0x11abae[_0x4e09e2>>>0x2]>>>0x18-_0x4e09e2%0x4*0x8&0xff,_0x49bff8=_0x11abae[_0x4e09e2+0x1>>>0x2]>>>0x18-(_0x4e09e2+0x1)%0x4*0x8&0xff,_0x456275=_0x11abae[_0x4e09e2+0x2>>>0x2]>>>0x18-(_0x4e09e2+0x2)%0x4*0x8&0xff,_0x1b9cec=_0x44a191<<0x10|_0x49bff8<<0x8|_0x456275,_0x2be054=0x0;_0x2be054<0x4&&_0x4e09e2+_0x2be054*0.75<_0x467fdd;_0x2be054++)_0x25af2b[_0x5a5ca2(0x19a)](_0xbc552f[_0x5a5ca2(0x319)](_0x1b9cec>>>0x6*(0x3-_0x2be054)&0x3f));var _0x51df1d=_0xbc552f[_0x5a5ca2(0x319)](0x40);if(_0x51df1d){for(;_0x25af2b[_0x5a5ca2(0x33f)]%0x4;)_0x25af2b['push'](_0x51df1d);}return _0x25af2b[_0x5a5ca2(0x464)]('');},'parse':function(_0x4bf9d4){var _0x1465c4=_0xb1ea55,_0xd2963a=_0x4bf9d4[_0x1465c4(0x33f)],_0x5d9a2e=this['_map'],_0x322ff9=this[_0x1465c4(0x495)];if(!_0x322ff9){_0x322ff9=this[_0x1465c4(0x495)]=[];for(var _0xfb486=0x0;_0xfb486<_0x5d9a2e[_0x1465c4(0x33f)];_0xfb486++)_0x322ff9[_0x5d9a2e[_0x1465c4(0x35c)](_0xfb486)]=_0xfb486;}var _0x15a3fc=_0x5d9a2e[_0x1465c4(0x319)](0x40);if(_0x15a3fc){var _0x1d932d=_0x4bf9d4['indexOf'](_0x15a3fc);_0x1d932d!==-0x1&&(_0xd2963a=_0x1d932d);}return _0x15e141(_0x4bf9d4,_0xd2963a,_0x322ff9);},'_map':_0xb1ea55(0x19b)};function _0x15e141(_0x446419,_0x38e538,_0x1e2529){var _0x485755=_0xb1ea55;for(var _0x257713=[],_0x89c704=0x0,_0x42f63c=0x0;_0x42f63c<_0x38e538;_0x42f63c++)if(_0x42f63c%0x4){var _0x383c14=_0x1e2529[_0x446419[_0x485755(0x35c)](_0x42f63c-0x1)]<<_0x42f63c%0x4*0x2,_0x228489=_0x1e2529[_0x446419[_0x485755(0x35c)](_0x42f63c)]>>>0x6-_0x42f63c%0x4*0x2,_0x25e105=_0x383c14|_0x228489;_0x257713[_0x89c704>>>0x2]|=_0x25e105<<0x18-_0x89c704%0x4*0x8,_0x89c704++;}return _0x49ebb1[_0x485755(0x44d)](_0x257713,_0x89c704);}}()),_0x219bc4[_0x865cb8(0x36e)][_0x865cb8(0x1a1)];}));}(me)),me[_0x49d2d8(0x172)];}var ge={'exports':{}},Jn=ge[_0x5d5117(0x172)],tt;function Xn(){var _0x53c0fb=_0x5d5117;return tt||(tt=0x1,function(_0x41f0a0,_0xeea4cd){(function(_0x242869,_0x47641d){var _0x40b450=_0x274d;_0x41f0a0[_0x40b450(0x172)]=_0x47641d(ee());}(Jn,function(_0x330046){var _0x71d2d7=_0x274d;return function(_0x15da5d){var _0x2bfadc=_0x274d,_0x1ab3ac=_0x330046,_0x5dfea2=_0x1ab3ac[_0x2bfadc(0x176)],_0x457418=_0x5dfea2[_0x2bfadc(0x30b)],_0x45b79e=_0x5dfea2[_0x2bfadc(0x3a8)],_0x2d61ea=_0x1ab3ac[_0x2bfadc(0x2c6)],_0x382f6e=[];(function(){var _0x5c747a=_0x2bfadc;for(var _0x1f89d7=0x0;_0x1f89d7<0x40;_0x1f89d7++)_0x382f6e[_0x1f89d7]=_0x15da5d[_0x5c747a(0x38d)](_0x15da5d[_0x5c747a(0x353)](_0x1f89d7+0x1))*0x100000000|0x0;}());var _0x10bbc2=_0x2d61ea[_0x2bfadc(0x16e)]=_0x45b79e['extend']({'_doReset':function(){var _0x1d949e=_0x2bfadc;this[_0x1d949e(0x303)]=new _0x457418[(_0x1d949e(0x178))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x107a65,_0x18dd82){var _0x5bc92f=_0x2bfadc;for(var _0x3829c4=0x0;_0x3829c4<0x10;_0x3829c4++){var _0xdd2593=_0x18dd82+_0x3829c4,_0x23228b=_0x107a65[_0xdd2593];_0x107a65[_0xdd2593]=(_0x23228b<<0x8|_0x23228b>>>0x18)&0xff00ff|(_0x23228b<<0x18|_0x23228b>>>0x8)&0xff00ff00;}var _0xba42f7=this[_0x5bc92f(0x303)][_0x5bc92f(0x1e0)],_0x65952e=_0x107a65[_0x18dd82+0x0],_0x163a57=_0x107a65[_0x18dd82+0x1],_0x3c2d6b=_0x107a65[_0x18dd82+0x2],_0x105b94=_0x107a65[_0x18dd82+0x3],_0x23aefd=_0x107a65[_0x18dd82+0x4],_0x123f56=_0x107a65[_0x18dd82+0x5],_0xc352fa=_0x107a65[_0x18dd82+0x6],_0x2edcec=_0x107a65[_0x18dd82+0x7],_0x112418=_0x107a65[_0x18dd82+0x8],_0x310417=_0x107a65[_0x18dd82+0x9],_0x1cf713=_0x107a65[_0x18dd82+0xa],_0x365ae9=_0x107a65[_0x18dd82+0xb],_0x59a2be=_0x107a65[_0x18dd82+0xc],_0x1f8eb9=_0x107a65[_0x18dd82+0xd],_0x28853e=_0x107a65[_0x18dd82+0xe],_0xbaeb78=_0x107a65[_0x18dd82+0xf],_0x27de26=_0xba42f7[0x0],_0x32e3f4=_0xba42f7[0x1],_0x14c653=_0xba42f7[0x2],_0x1ff3df=_0xba42f7[0x3];_0x27de26=_0x3a38c0(_0x27de26,_0x32e3f4,_0x14c653,_0x1ff3df,_0x65952e,0x7,_0x382f6e[0x0]),_0x1ff3df=_0x3a38c0(_0x1ff3df,_0x27de26,_0x32e3f4,_0x14c653,_0x163a57,0xc,_0x382f6e[0x1]),_0x14c653=_0x3a38c0(_0x14c653,_0x1ff3df,_0x27de26,_0x32e3f4,_0x3c2d6b,0x11,_0x382f6e[0x2]),_0x32e3f4=_0x3a38c0(_0x32e3f4,_0x14c653,_0x1ff3df,_0x27de26,_0x105b94,0x16,_0x382f6e[0x3]),_0x27de26=_0x3a38c0(_0x27de26,_0x32e3f4,_0x14c653,_0x1ff3df,_0x23aefd,0x7,_0x382f6e[0x4]),_0x1ff3df=_0x3a38c0(_0x1ff3df,_0x27de26,_0x32e3f4,_0x14c653,_0x123f56,0xc,_0x382f6e[0x5]),_0x14c653=_0x3a38c0(_0x14c653,_0x1ff3df,_0x27de26,_0x32e3f4,_0xc352fa,0x11,_0x382f6e[0x6]),_0x32e3f4=_0x3a38c0(_0x32e3f4,_0x14c653,_0x1ff3df,_0x27de26,_0x2edcec,0x16,_0x382f6e[0x7]),_0x27de26=_0x3a38c0(_0x27de26,_0x32e3f4,_0x14c653,_0x1ff3df,_0x112418,0x7,_0x382f6e[0x8]),_0x1ff3df=_0x3a38c0(_0x1ff3df,_0x27de26,_0x32e3f4,_0x14c653,_0x310417,0xc,_0x382f6e[0x9]),_0x14c653=_0x3a38c0(_0x14c653,_0x1ff3df,_0x27de26,_0x32e3f4,_0x1cf713,0x11,_0x382f6e[0xa]),_0x32e3f4=_0x3a38c0(_0x32e3f4,_0x14c653,_0x1ff3df,_0x27de26,_0x365ae9,0x16,_0x382f6e[0xb]),_0x27de26=_0x3a38c0(_0x27de26,_0x32e3f4,_0x14c653,_0x1ff3df,_0x59a2be,0x7,_0x382f6e[0xc]),_0x1ff3df=_0x3a38c0(_0x1ff3df,_0x27de26,_0x32e3f4,_0x14c653,_0x1f8eb9,0xc,_0x382f6e[0xd]),_0x14c653=_0x3a38c0(_0x14c653,_0x1ff3df,_0x27de26,_0x32e3f4,_0x28853e,0x11,_0x382f6e[0xe]),_0x32e3f4=_0x3a38c0(_0x32e3f4,_0x14c653,_0x1ff3df,_0x27de26,_0xbaeb78,0x16,_0x382f6e[0xf]),_0x27de26=_0x421b6b(_0x27de26,_0x32e3f4,_0x14c653,_0x1ff3df,_0x163a57,0x5,_0x382f6e[0x10]),_0x1ff3df=_0x421b6b(_0x1ff3df,_0x27de26,_0x32e3f4,_0x14c653,_0xc352fa,0x9,_0x382f6e[0x11]),_0x14c653=_0x421b6b(_0x14c653,_0x1ff3df,_0x27de26,_0x32e3f4,_0x365ae9,0xe,_0x382f6e[0x12]),_0x32e3f4=_0x421b6b(_0x32e3f4,_0x14c653,_0x1ff3df,_0x27de26,_0x65952e,0x14,_0x382f6e[0x13]),_0x27de26=_0x421b6b(_0x27de26,_0x32e3f4,_0x14c653,_0x1ff3df,_0x123f56,0x5,_0x382f6e[0x14]),_0x1ff3df=_0x421b6b(_0x1ff3df,_0x27de26,_0x32e3f4,_0x14c653,_0x1cf713,0x9,_0x382f6e[0x15]),_0x14c653=_0x421b6b(_0x14c653,_0x1ff3df,_0x27de26,_0x32e3f4,_0xbaeb78,0xe,_0x382f6e[0x16]),_0x32e3f4=_0x421b6b(_0x32e3f4,_0x14c653,_0x1ff3df,_0x27de26,_0x23aefd,0x14,_0x382f6e[0x17]),_0x27de26=_0x421b6b(_0x27de26,_0x32e3f4,_0x14c653,_0x1ff3df,_0x310417,0x5,_0x382f6e[0x18]),_0x1ff3df=_0x421b6b(_0x1ff3df,_0x27de26,_0x32e3f4,_0x14c653,_0x28853e,0x9,_0x382f6e[0x19]),_0x14c653=_0x421b6b(_0x14c653,_0x1ff3df,_0x27de26,_0x32e3f4,_0x105b94,0xe,_0x382f6e[0x1a]),_0x32e3f4=_0x421b6b(_0x32e3f4,_0x14c653,_0x1ff3df,_0x27de26,_0x112418,0x14,_0x382f6e[0x1b]),_0x27de26=_0x421b6b(_0x27de26,_0x32e3f4,_0x14c653,_0x1ff3df,_0x1f8eb9,0x5,_0x382f6e[0x1c]),_0x1ff3df=_0x421b6b(_0x1ff3df,_0x27de26,_0x32e3f4,_0x14c653,_0x3c2d6b,0x9,_0x382f6e[0x1d]),_0x14c653=_0x421b6b(_0x14c653,_0x1ff3df,_0x27de26,_0x32e3f4,_0x2edcec,0xe,_0x382f6e[0x1e]),_0x32e3f4=_0x421b6b(_0x32e3f4,_0x14c653,_0x1ff3df,_0x27de26,_0x59a2be,0x14,_0x382f6e[0x1f]),_0x27de26=_0x5e5070(_0x27de26,_0x32e3f4,_0x14c653,_0x1ff3df,_0x123f56,0x4,_0x382f6e[0x20]),_0x1ff3df=_0x5e5070(_0x1ff3df,_0x27de26,_0x32e3f4,_0x14c653,_0x112418,0xb,_0x382f6e[0x21]),_0x14c653=_0x5e5070(_0x14c653,_0x1ff3df,_0x27de26,_0x32e3f4,_0x365ae9,0x10,_0x382f6e[0x22]),_0x32e3f4=_0x5e5070(_0x32e3f4,_0x14c653,_0x1ff3df,_0x27de26,_0x28853e,0x17,_0x382f6e[0x23]),_0x27de26=_0x5e5070(_0x27de26,_0x32e3f4,_0x14c653,_0x1ff3df,_0x163a57,0x4,_0x382f6e[0x24]),_0x1ff3df=_0x5e5070(_0x1ff3df,_0x27de26,_0x32e3f4,_0x14c653,_0x23aefd,0xb,_0x382f6e[0x25]),_0x14c653=_0x5e5070(_0x14c653,_0x1ff3df,_0x27de26,_0x32e3f4,_0x2edcec,0x10,_0x382f6e[0x26]),_0x32e3f4=_0x5e5070(_0x32e3f4,_0x14c653,_0x1ff3df,_0x27de26,_0x1cf713,0x17,_0x382f6e[0x27]),_0x27de26=_0x5e5070(_0x27de26,_0x32e3f4,_0x14c653,_0x1ff3df,_0x1f8eb9,0x4,_0x382f6e[0x28]),_0x1ff3df=_0x5e5070(_0x1ff3df,_0x27de26,_0x32e3f4,_0x14c653,_0x65952e,0xb,_0x382f6e[0x29]),_0x14c653=_0x5e5070(_0x14c653,_0x1ff3df,_0x27de26,_0x32e3f4,_0x105b94,0x10,_0x382f6e[0x2a]),_0x32e3f4=_0x5e5070(_0x32e3f4,_0x14c653,_0x1ff3df,_0x27de26,_0xc352fa,0x17,_0x382f6e[0x2b]),_0x27de26=_0x5e5070(_0x27de26,_0x32e3f4,_0x14c653,_0x1ff3df,_0x310417,0x4,_0x382f6e[0x2c]),_0x1ff3df=_0x5e5070(_0x1ff3df,_0x27de26,_0x32e3f4,_0x14c653,_0x59a2be,0xb,_0x382f6e[0x2d]),_0x14c653=_0x5e5070(_0x14c653,_0x1ff3df,_0x27de26,_0x32e3f4,_0xbaeb78,0x10,_0x382f6e[0x2e]),_0x32e3f4=_0x5e5070(_0x32e3f4,_0x14c653,_0x1ff3df,_0x27de26,_0x3c2d6b,0x17,_0x382f6e[0x2f]),_0x27de26=_0x45fe1b(_0x27de26,_0x32e3f4,_0x14c653,_0x1ff3df,_0x65952e,0x6,_0x382f6e[0x30]),_0x1ff3df=_0x45fe1b(_0x1ff3df,_0x27de26,_0x32e3f4,_0x14c653,_0x2edcec,0xa,_0x382f6e[0x31]),_0x14c653=_0x45fe1b(_0x14c653,_0x1ff3df,_0x27de26,_0x32e3f4,_0x28853e,0xf,_0x382f6e[0x32]),_0x32e3f4=_0x45fe1b(_0x32e3f4,_0x14c653,_0x1ff3df,_0x27de26,_0x123f56,0x15,_0x382f6e[0x33]),_0x27de26=_0x45fe1b(_0x27de26,_0x32e3f4,_0x14c653,_0x1ff3df,_0x59a2be,0x6,_0x382f6e[0x34]),_0x1ff3df=_0x45fe1b(_0x1ff3df,_0x27de26,_0x32e3f4,_0x14c653,_0x105b94,0xa,_0x382f6e[0x35]),_0x14c653=_0x45fe1b(_0x14c653,_0x1ff3df,_0x27de26,_0x32e3f4,_0x1cf713,0xf,_0x382f6e[0x36]),_0x32e3f4=_0x45fe1b(_0x32e3f4,_0x14c653,_0x1ff3df,_0x27de26,_0x163a57,0x15,_0x382f6e[0x37]),_0x27de26=_0x45fe1b(_0x27de26,_0x32e3f4,_0x14c653,_0x1ff3df,_0x112418,0x6,_0x382f6e[0x38]),_0x1ff3df=_0x45fe1b(_0x1ff3df,_0x27de26,_0x32e3f4,_0x14c653,_0xbaeb78,0xa,_0x382f6e[0x39]),_0x14c653=_0x45fe1b(_0x14c653,_0x1ff3df,_0x27de26,_0x32e3f4,_0xc352fa,0xf,_0x382f6e[0x3a]),_0x32e3f4=_0x45fe1b(_0x32e3f4,_0x14c653,_0x1ff3df,_0x27de26,_0x1f8eb9,0x15,_0x382f6e[0x3b]),_0x27de26=_0x45fe1b(_0x27de26,_0x32e3f4,_0x14c653,_0x1ff3df,_0x23aefd,0x6,_0x382f6e[0x3c]),_0x1ff3df=_0x45fe1b(_0x1ff3df,_0x27de26,_0x32e3f4,_0x14c653,_0x365ae9,0xa,_0x382f6e[0x3d]),_0x14c653=_0x45fe1b(_0x14c653,_0x1ff3df,_0x27de26,_0x32e3f4,_0x3c2d6b,0xf,_0x382f6e[0x3e]),_0x32e3f4=_0x45fe1b(_0x32e3f4,_0x14c653,_0x1ff3df,_0x27de26,_0x310417,0x15,_0x382f6e[0x3f]),_0xba42f7[0x0]=_0xba42f7[0x0]+_0x27de26|0x0,_0xba42f7[0x1]=_0xba42f7[0x1]+_0x32e3f4|0x0,_0xba42f7[0x2]=_0xba42f7[0x2]+_0x14c653|0x0,_0xba42f7[0x3]=_0xba42f7[0x3]+_0x1ff3df|0x0;},'_doFinalize':function(){var _0xdf58e6=_0x2bfadc,_0x1db3ac=this[_0xdf58e6(0x4df)],_0x5bdc6e=_0x1db3ac[_0xdf58e6(0x1e0)],_0x296510=this[_0xdf58e6(0x32c)]*0x8,_0x5254d6=_0x1db3ac[_0xdf58e6(0x497)]*0x8;_0x5bdc6e[_0x5254d6>>>0x5]|=0x80<<0x18-_0x5254d6%0x20;var _0x4bed2f=_0x15da5d['floor'](_0x296510/0x100000000),_0x4d87a1=_0x296510;_0x5bdc6e[(_0x5254d6+0x40>>>0x9<<0x4)+0xf]=(_0x4bed2f<<0x8|_0x4bed2f>>>0x18)&0xff00ff|(_0x4bed2f<<0x18|_0x4bed2f>>>0x8)&0xff00ff00,_0x5bdc6e[(_0x5254d6+0x40>>>0x9<<0x4)+0xe]=(_0x4d87a1<<0x8|_0x4d87a1>>>0x18)&0xff00ff|(_0x4d87a1<<0x18|_0x4d87a1>>>0x8)&0xff00ff00,_0x1db3ac[_0xdf58e6(0x497)]=(_0x5bdc6e[_0xdf58e6(0x33f)]+0x1)*0x4,this[_0xdf58e6(0x29d)]();for(var _0x23ba5e=this[_0xdf58e6(0x303)],_0x2c6baa=_0x23ba5e[_0xdf58e6(0x1e0)],_0x440748=0x0;_0x440748<0x4;_0x440748++){var _0x260fec=_0x2c6baa[_0x440748];_0x2c6baa[_0x440748]=(_0x260fec<<0x8|_0x260fec>>>0x18)&0xff00ff|(_0x260fec<<0x18|_0x260fec>>>0x8)&0xff00ff00;}return _0x23ba5e;},'clone':function(){var _0x4477e3=_0x2bfadc,_0x7b615e=_0x45b79e['clone'][_0x4477e3(0x425)](this);return _0x7b615e[_0x4477e3(0x303)]=this[_0x4477e3(0x303)]['clone'](),_0x7b615e;}});function _0x3a38c0(_0x45fca8,_0x1a2ea1,_0x42b26b,_0x30193f,_0x23c6aa,_0x11ff82,_0x55a181){var _0xb30d1f=_0x45fca8+(_0x1a2ea1&_0x42b26b|~_0x1a2ea1&_0x30193f)+_0x23c6aa+_0x55a181;return(_0xb30d1f<<_0x11ff82|_0xb30d1f>>>0x20-_0x11ff82)+_0x1a2ea1;}function _0x421b6b(_0x57b2d0,_0xa6e947,_0x29587d,_0x3a2a22,_0x367ac3,_0x5200b8,_0x14b1cb){var _0x5b8aee=_0x57b2d0+(_0xa6e947&_0x3a2a22|_0x29587d&~_0x3a2a22)+_0x367ac3+_0x14b1cb;return(_0x5b8aee<<_0x5200b8|_0x5b8aee>>>0x20-_0x5200b8)+_0xa6e947;}function _0x5e5070(_0x1b0935,_0x2fbb28,_0x26b380,_0x4734b9,_0x598a75,_0x4fa0f2,_0x437e63){var _0x4513e5=_0x1b0935+(_0x2fbb28^_0x26b380^_0x4734b9)+_0x598a75+_0x437e63;return(_0x4513e5<<_0x4fa0f2|_0x4513e5>>>0x20-_0x4fa0f2)+_0x2fbb28;}function _0x45fe1b(_0x5c6248,_0x1f7937,_0x570b83,_0x2382bb,_0x572f54,_0x3af71a,_0x51bd24){var _0x3215e7=_0x5c6248+(_0x570b83^(_0x1f7937|~_0x2382bb))+_0x572f54+_0x51bd24;return(_0x3215e7<<_0x3af71a|_0x3215e7>>>0x20-_0x3af71a)+_0x1f7937;}_0x1ab3ac[_0x2bfadc(0x16e)]=_0x45b79e[_0x2bfadc(0x1de)](_0x10bbc2),_0x1ab3ac[_0x2bfadc(0x38f)]=_0x45b79e[_0x2bfadc(0x435)](_0x10bbc2);}(Math),_0x330046[_0x71d2d7(0x16e)];}));}(ge)),ge[_0x53c0fb(0x172)];}var Ie={'exports':{}},Ee={'exports':{}},Zn=Ee[_0x5d5117(0x172)],nt;function Qn(){var _0x511e81=_0x5d5117;return nt||(nt=0x1,function(_0x3e1c56,_0x2ae44f){(function(_0x5432b0,_0x25b2cb){var _0x4f30ca=_0x274d;_0x3e1c56[_0x4f30ca(0x172)]=_0x25b2cb(ee());}(Zn,function(_0x4a9d66){return(function(){var _0x1cde29=_0x274d,_0x40794c=_0x4a9d66,_0x260f66=_0x40794c['lib'],_0x56c3d4=_0x260f66['WordArray'],_0x2c6934=_0x260f66[_0x1cde29(0x3a8)],_0x246c67=_0x40794c['algo'],_0x24728d=[],_0x377f85=_0x246c67[_0x1cde29(0x194)]=_0x2c6934[_0x1cde29(0x3e5)]({'_doReset':function(){var _0x521b97=_0x1cde29;this[_0x521b97(0x303)]=new _0x56c3d4[(_0x521b97(0x178))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x560bc8,_0xa0fca6){var _0xdfda4f=_0x1cde29;for(var _0xbc6b37=this['_hash'][_0xdfda4f(0x1e0)],_0x376cc1=_0xbc6b37[0x0],_0x372d2f=_0xbc6b37[0x1],_0x27abfe=_0xbc6b37[0x2],_0xdb2c69=_0xbc6b37[0x3],_0x27d09f=_0xbc6b37[0x4],_0x5f261a=0x0;_0x5f261a<0x50;_0x5f261a++){if(_0x5f261a<0x10)_0x24728d[_0x5f261a]=_0x560bc8[_0xa0fca6+_0x5f261a]|0x0;else{var _0xe30b69=_0x24728d[_0x5f261a-0x3]^_0x24728d[_0x5f261a-0x8]^_0x24728d[_0x5f261a-0xe]^_0x24728d[_0x5f261a-0x10];_0x24728d[_0x5f261a]=_0xe30b69<<0x1|_0xe30b69>>>0x1f;}var _0x301b6c=(_0x376cc1<<0x5|_0x376cc1>>>0x1b)+_0x27d09f+_0x24728d[_0x5f261a];_0x5f261a<0x14?_0x301b6c+=(_0x372d2f&_0x27abfe|~_0x372d2f&_0xdb2c69)+0x5a827999:_0x5f261a<0x28?_0x301b6c+=(_0x372d2f^_0x27abfe^_0xdb2c69)+0x6ed9eba1:_0x5f261a<0x3c?_0x301b6c+=(_0x372d2f&_0x27abfe|_0x372d2f&_0xdb2c69|_0x27abfe&_0xdb2c69)-0x70e44324:_0x301b6c+=(_0x372d2f^_0x27abfe^_0xdb2c69)-0x359d3e2a,_0x27d09f=_0xdb2c69,_0xdb2c69=_0x27abfe,_0x27abfe=_0x372d2f<<0x1e|_0x372d2f>>>0x2,_0x372d2f=_0x376cc1,_0x376cc1=_0x301b6c;}_0xbc6b37[0x0]=_0xbc6b37[0x0]+_0x376cc1|0x0,_0xbc6b37[0x1]=_0xbc6b37[0x1]+_0x372d2f|0x0,_0xbc6b37[0x2]=_0xbc6b37[0x2]+_0x27abfe|0x0,_0xbc6b37[0x3]=_0xbc6b37[0x3]+_0xdb2c69|0x0,_0xbc6b37[0x4]=_0xbc6b37[0x4]+_0x27d09f|0x0;},'_doFinalize':function(){var _0x55982b=_0x1cde29,_0x4e37e7=this[_0x55982b(0x4df)],_0x2163ea=_0x4e37e7[_0x55982b(0x1e0)],_0x2fb810=this['_nDataBytes']*0x8,_0xf7bcd8=_0x4e37e7[_0x55982b(0x497)]*0x8;return _0x2163ea[_0xf7bcd8>>>0x5]|=0x80<<0x18-_0xf7bcd8%0x20,_0x2163ea[(_0xf7bcd8+0x40>>>0x9<<0x4)+0xe]=Math[_0x55982b(0x2cd)](_0x2fb810/0x100000000),_0x2163ea[(_0xf7bcd8+0x40>>>0x9<<0x4)+0xf]=_0x2fb810,_0x4e37e7['sigBytes']=_0x2163ea[_0x55982b(0x33f)]*0x4,this[_0x55982b(0x29d)](),this['_hash'];},'clone':function(){var _0x5669e3=_0x1cde29,_0x597d25=_0x2c6934['clone'][_0x5669e3(0x425)](this);return _0x597d25[_0x5669e3(0x303)]=this[_0x5669e3(0x303)][_0x5669e3(0x3f4)](),_0x597d25;}});_0x40794c[_0x1cde29(0x194)]=_0x2c6934[_0x1cde29(0x1de)](_0x377f85),_0x40794c[_0x1cde29(0x4b8)]=_0x2c6934[_0x1cde29(0x435)](_0x377f85);}()),_0x4a9d66['SHA1'];}));}(Ee)),Ee[_0x511e81(0x172)];}var Ce={'exports':{}},ei=Ce[_0x5d5117(0x172)],it;function ti(){return it||(it=0x1,function(_0x13a990,_0x354b0f){(function(_0x1c99fa,_0x2a43fe){var _0x2b289c=_0x274d;_0x13a990[_0x2b289c(0x172)]=_0x2a43fe(ee());}(ei,function(_0x5e0f2c){(function(){var _0x2a3e37=_0x274d,_0x44a617=_0x5e0f2c,_0x275c4d=_0x44a617[_0x2a3e37(0x176)],_0x34eaf7=_0x275c4d[_0x2a3e37(0x3bd)],_0x2633ab=_0x44a617[_0x2a3e37(0x36e)],_0x4ce108=_0x2633ab['Utf8'],_0x11b70c=_0x44a617[_0x2a3e37(0x2c6)];_0x11b70c['HMAC']=_0x34eaf7[_0x2a3e37(0x3e5)]({'init':function(_0x17eaed,_0x5cd4cd){var _0x762704=_0x2a3e37;_0x17eaed=this[_0x762704(0x41b)]=new _0x17eaed[(_0x762704(0x178))](),typeof _0x5cd4cd==_0x762704(0x4dc)&&(_0x5cd4cd=_0x4ce108[_0x762704(0x3a0)](_0x5cd4cd));var _0x21f633=_0x17eaed[_0x762704(0x1af)],_0x1dc3c1=_0x21f633*0x4;_0x5cd4cd[_0x762704(0x497)]>_0x1dc3c1&&(_0x5cd4cd=_0x17eaed[_0x762704(0x455)](_0x5cd4cd)),_0x5cd4cd[_0x762704(0x44f)]();for(var _0x3e5ccc=this['_oKey']=_0x5cd4cd[_0x762704(0x3f4)](),_0xea0895=this[_0x762704(0x417)]=_0x5cd4cd['clone'](),_0x5d37af=_0x3e5ccc[_0x762704(0x1e0)],_0x500dde=_0xea0895[_0x762704(0x1e0)],_0x58b4d1=0x0;_0x58b4d1<_0x21f633;_0x58b4d1++)_0x5d37af[_0x58b4d1]^=0x5c5c5c5c,_0x500dde[_0x58b4d1]^=0x36363636;_0x3e5ccc['sigBytes']=_0xea0895[_0x762704(0x497)]=_0x1dc3c1,this[_0x762704(0x2a0)]();},'reset':function(){var _0x4ba6cc=_0x2a3e37,_0x2598c8=this[_0x4ba6cc(0x41b)];_0x2598c8[_0x4ba6cc(0x2a0)](),_0x2598c8[_0x4ba6cc(0x3e7)](this['_iKey']);},'update':function(_0xa10ad){var _0x1bd0f9=_0x2a3e37;return this[_0x1bd0f9(0x41b)]['update'](_0xa10ad),this;},'finalize':function(_0x31223c){var _0x20202a=_0x2a3e37,_0x59cba9=this['_hasher'],_0x3b1540=_0x59cba9[_0x20202a(0x455)](_0x31223c);_0x59cba9[_0x20202a(0x2a0)]();var _0x39e6a7=_0x59cba9['finalize'](this[_0x20202a(0x297)]['clone']()[_0x20202a(0x1b3)](_0x3b1540));return _0x39e6a7;}});}());}));}(Ce)),Ce['exports'];}var ni=Ie['exports'],rt;function wt(){var _0x10c745=_0x5d5117;return rt||(rt=0x1,function(_0x11b9c7,_0x1d9dd1){(function(_0xe99c2d,_0x3a2e12,_0x2155a1){_0x11b9c7['exports']=_0x3a2e12(ee(),Qn(),ti());}(ni,function(_0x354159){var _0x4934a2=_0x274d;return(function(){var _0x30785a=_0x274d,_0x16170a=_0x354159,_0x1d47cf=_0x16170a[_0x30785a(0x176)],_0x3bfd65=_0x1d47cf[_0x30785a(0x3bd)],_0x1627da=_0x1d47cf[_0x30785a(0x30b)],_0x23b1cb=_0x16170a['algo'],_0x390ca1=_0x23b1cb[_0x30785a(0x16e)],_0x507955=_0x23b1cb[_0x30785a(0x23e)]=_0x3bfd65['extend']({'cfg':_0x3bfd65[_0x30785a(0x3e5)]({'keySize':0x80/0x20,'hasher':_0x390ca1,'iterations':0x1}),'init':function(_0x3ec47d){var _0x1299dd=_0x30785a;this[_0x1299dd(0x363)]=this['cfg'][_0x1299dd(0x3e5)](_0x3ec47d);},'compute':function(_0x2a6702,_0x3d0b66){var _0x1382ae=_0x30785a;for(var _0x22178f,_0x5d3ec2=this[_0x1382ae(0x363)],_0x288a07=_0x5d3ec2['hasher']['create'](),_0x316bd6=_0x1627da[_0x1382ae(0x44d)](),_0x1de6c5=_0x316bd6[_0x1382ae(0x1e0)],_0x26ac38=_0x5d3ec2['keySize'],_0x4d7643=_0x5d3ec2[_0x1382ae(0x1db)];_0x1de6c5[_0x1382ae(0x33f)]<_0x26ac38;){_0x22178f&&_0x288a07[_0x1382ae(0x3e7)](_0x22178f),_0x22178f=_0x288a07[_0x1382ae(0x3e7)](_0x2a6702)[_0x1382ae(0x455)](_0x3d0b66),_0x288a07['reset']();for(var _0x41c5d1=0x1;_0x41c5d1<_0x4d7643;_0x41c5d1++)_0x22178f=_0x288a07[_0x1382ae(0x455)](_0x22178f),_0x288a07[_0x1382ae(0x2a0)]();_0x316bd6[_0x1382ae(0x1b3)](_0x22178f);}return _0x316bd6[_0x1382ae(0x497)]=_0x26ac38*0x4,_0x316bd6;}});_0x16170a['EvpKDF']=function(_0x68892f,_0x2ab0c1,_0x371f9b){var _0x4279f2=_0x30785a;return _0x507955[_0x4279f2(0x44d)](_0x371f9b)[_0x4279f2(0x1b2)](_0x68892f,_0x2ab0c1);};}()),_0x354159[_0x4934a2(0x23e)];}));}(Ie)),Ie[_0x10c745(0x172)];}var Te={'exports':{}},ii=Te[_0x5d5117(0x172)],st;function At(){var _0x3b6ad8=_0x5d5117;return st||(st=0x1,function(_0x974837,_0x2ce8ff){(function(_0x327a3f,_0x1f402a,_0x359bdf){_0x974837['exports']=_0x1f402a(ee(),wt());}(ii,function(_0x9643d){var _0x378b96=_0x274d;_0x9643d[_0x378b96(0x176)][_0x378b96(0x170)]||function(_0x3e6186){var _0x1af653=_0x378b96,_0x3f4499=_0x9643d,_0x3e238b=_0x3f4499[_0x1af653(0x176)],_0x773e7e=_0x3e238b[_0x1af653(0x3bd)],_0x25560a=_0x3e238b[_0x1af653(0x30b)],_0x220cfd=_0x3e238b['BufferedBlockAlgorithm'],_0x598fb2=_0x3f4499[_0x1af653(0x36e)];_0x598fb2[_0x1af653(0x298)];var _0x9d5df2=_0x598fb2[_0x1af653(0x1a1)],_0x32b037=_0x3f4499[_0x1af653(0x2c6)],_0x20c510=_0x32b037['EvpKDF'],_0x3df8c9=_0x3e238b['Cipher']=_0x220cfd[_0x1af653(0x3e5)]({'cfg':_0x773e7e[_0x1af653(0x3e5)](),'createEncryptor':function(_0x533d02,_0x458ca0){var _0x4a915b=_0x1af653;return this[_0x4a915b(0x44d)](this['_ENC_XFORM_MODE'],_0x533d02,_0x458ca0);},'createDecryptor':function(_0x1fe3b0,_0x50a4e0){var _0x4728e7=_0x1af653;return this[_0x4728e7(0x44d)](this[_0x4728e7(0x285)],_0x1fe3b0,_0x50a4e0);},'init':function(_0x2d9ce5,_0x12629a,_0x1e0e75){var _0x260eb6=_0x1af653;this[_0x260eb6(0x363)]=this['cfg'][_0x260eb6(0x3e5)](_0x1e0e75),this['_xformMode']=_0x2d9ce5,this['_key']=_0x12629a,this['reset']();},'reset':function(){var _0x1f836d=_0x1af653;_0x220cfd[_0x1f836d(0x2a0)][_0x1f836d(0x425)](this),this[_0x1f836d(0x236)]();},'process':function(_0x9ae2e5){var _0x21c417=_0x1af653;return this[_0x21c417(0x29a)](_0x9ae2e5),this[_0x21c417(0x29d)]();},'finalize':function(_0x149634){var _0x26b4c9=_0x1af653;_0x149634&&this[_0x26b4c9(0x29a)](_0x149634);var _0x46af29=this[_0x26b4c9(0x4cb)]();return _0x46af29;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x447817(_0x40fed6){var _0x2d951f=_0x274d;return typeof _0x40fed6==_0x2d951f(0x4dc)?_0x3e6fcf:_0x50fd79;}return function(_0x173cce){return{'encrypt':function(_0x57ae57,_0x254d87,_0x11b96b){var _0x3d1826=_0x274d;return _0x447817(_0x254d87)[_0x3d1826(0x184)](_0x173cce,_0x57ae57,_0x254d87,_0x11b96b);},'decrypt':function(_0x7850ad,_0x2aaf8e,_0x2d2ea1){var _0x105cd4=_0x274d;return _0x447817(_0x2aaf8e)[_0x105cd4(0x4f6)](_0x173cce,_0x7850ad,_0x2aaf8e,_0x2d2ea1);}};};}())});_0x3e238b['StreamCipher']=_0x3df8c9[_0x1af653(0x3e5)]({'_doFinalize':function(){var _0x377c95=_0x1af653,_0x29d631=this[_0x377c95(0x29d)](!0x0);return _0x29d631;},'blockSize':0x1});var _0xeb6f40=_0x3f4499[_0x1af653(0x33b)]={},_0x45c7a1=_0x3e238b[_0x1af653(0x468)]=_0x773e7e[_0x1af653(0x3e5)]({'createEncryptor':function(_0x1c60f9,_0xff67a){var _0x24fc41=_0x1af653;return this['Encryptor'][_0x24fc41(0x44d)](_0x1c60f9,_0xff67a);},'createDecryptor':function(_0x4448e8,_0xa5b111){var _0x43d9a2=_0x1af653;return this[_0x43d9a2(0x1c2)][_0x43d9a2(0x44d)](_0x4448e8,_0xa5b111);},'init':function(_0x3786d5,_0x526565){var _0x80148a=_0x1af653;this['_cipher']=_0x3786d5,this[_0x80148a(0x376)]=_0x526565;}}),_0x48565d=_0xeb6f40[_0x1af653(0x2a8)]=(function(){var _0x551d3a=_0x1af653,_0x1308f7=_0x45c7a1[_0x551d3a(0x3e5)]();_0x1308f7['Encryptor']=_0x1308f7[_0x551d3a(0x3e5)]({'processBlock':function(_0x328922,_0x2e2fcd){var _0x1e77e8=_0x551d3a,_0x1d0a36=this[_0x1e77e8(0x24a)],_0x390edf=_0x1d0a36['blockSize'];_0x57ffc8['call'](this,_0x328922,_0x2e2fcd,_0x390edf),_0x1d0a36['encryptBlock'](_0x328922,_0x2e2fcd),this['_prevBlock']=_0x328922[_0x1e77e8(0x181)](_0x2e2fcd,_0x2e2fcd+_0x390edf);}}),_0x1308f7['Decryptor']=_0x1308f7[_0x551d3a(0x3e5)]({'processBlock':function(_0x3a5bd9,_0x5f3a85){var _0x48380d=_0x551d3a,_0x580381=this[_0x48380d(0x24a)],_0xaa6dd7=_0x580381[_0x48380d(0x1af)],_0x18a891=_0x3a5bd9[_0x48380d(0x181)](_0x5f3a85,_0x5f3a85+_0xaa6dd7);_0x580381[_0x48380d(0x420)](_0x3a5bd9,_0x5f3a85),_0x57ffc8[_0x48380d(0x425)](this,_0x3a5bd9,_0x5f3a85,_0xaa6dd7),this[_0x48380d(0x2c2)]=_0x18a891;}});function _0x57ffc8(_0x3cb4f8,_0x387842,_0x58aeab){var _0x4d62f6=_0x551d3a,_0x168f88,_0x1b589f=this['_iv'];_0x1b589f?(_0x168f88=_0x1b589f,this[_0x4d62f6(0x376)]=_0x3e6186):_0x168f88=this[_0x4d62f6(0x2c2)];for(var _0x6f2367=0x0;_0x6f2367<_0x58aeab;_0x6f2367++)_0x3cb4f8[_0x387842+_0x6f2367]^=_0x168f88[_0x6f2367];}return _0x1308f7;}()),_0x51406b=_0x3f4499['pad']={},_0x1fc85c=_0x51406b[_0x1af653(0x1c9)]={'pad':function(_0x3b2266,_0x5d5a90){var _0x5cac8c=_0x1af653;for(var _0x4946fe=_0x5d5a90*0x4,_0x262af8=_0x4946fe-_0x3b2266[_0x5cac8c(0x497)]%_0x4946fe,_0x5cf993=_0x262af8<<0x18|_0x262af8<<0x10|_0x262af8<<0x8|_0x262af8,_0xbed624=[],_0x774e00=0x0;_0x774e00<_0x262af8;_0x774e00+=0x4)_0xbed624[_0x5cac8c(0x19a)](_0x5cf993);var _0x38d5c1=_0x25560a['create'](_0xbed624,_0x262af8);_0x3b2266[_0x5cac8c(0x1b3)](_0x38d5c1);},'unpad':function(_0x4a099a){var _0x9c2317=_0x1af653,_0x36b110=_0x4a099a[_0x9c2317(0x1e0)][_0x4a099a[_0x9c2317(0x497)]-0x1>>>0x2]&0xff;_0x4a099a[_0x9c2317(0x497)]-=_0x36b110;}};_0x3e238b['BlockCipher']=_0x3df8c9['extend']({'cfg':_0x3df8c9['cfg'][_0x1af653(0x3e5)]({'mode':_0x48565d,'padding':_0x1fc85c}),'reset':function(){var _0x531b6=_0x1af653,_0x201a6;_0x3df8c9[_0x531b6(0x2a0)]['call'](this);var _0x5991c8=this[_0x531b6(0x363)],_0x40ac08=_0x5991c8['iv'],_0x355e97=_0x5991c8[_0x531b6(0x33b)];this[_0x531b6(0x2cc)]==this[_0x531b6(0x2f5)]?_0x201a6=_0x355e97[_0x531b6(0x477)]:(_0x201a6=_0x355e97[_0x531b6(0x40b)],this['_minBufferSize']=0x1),this[_0x531b6(0x450)]&&this[_0x531b6(0x450)][_0x531b6(0x2bd)]==_0x201a6?this[_0x531b6(0x450)]['init'](this,_0x40ac08&&_0x40ac08['words']):(this[_0x531b6(0x450)]=_0x201a6[_0x531b6(0x425)](_0x355e97,this,_0x40ac08&&_0x40ac08[_0x531b6(0x1e0)]),this[_0x531b6(0x450)]['__creator']=_0x201a6);},'_doProcessBlock':function(_0x2f7e28,_0x59c5f1){var _0x1b7ee8=_0x1af653;this['_mode'][_0x1b7ee8(0x3c4)](_0x2f7e28,_0x59c5f1);},'_doFinalize':function(){var _0x1665ab=_0x1af653,_0x3e5c21,_0x325a8c=this[_0x1665ab(0x363)][_0x1665ab(0x21d)];return this[_0x1665ab(0x2cc)]==this['_ENC_XFORM_MODE']?(_0x325a8c[_0x1665ab(0x31b)](this['_data'],this['blockSize']),_0x3e5c21=this[_0x1665ab(0x29d)](!0x0)):(_0x3e5c21=this[_0x1665ab(0x29d)](!0x0),_0x325a8c[_0x1665ab(0x3f6)](_0x3e5c21)),_0x3e5c21;},'blockSize':0x80/0x20});var _0x24d369=_0x3e238b[_0x1af653(0x27b)]=_0x773e7e['extend']({'init':function(_0x48a911){var _0x369e11=_0x1af653;this[_0x369e11(0x2eb)](_0x48a911);},'toString':function(_0x16cecb){var _0x500ed7=_0x1af653;return(_0x16cecb||this[_0x500ed7(0x3b2)])[_0x500ed7(0x45d)](this);}}),_0x17d13d=_0x3f4499[_0x1af653(0x486)]={},_0x19efa7=_0x17d13d[_0x1af653(0x4ae)]={'stringify':function(_0x44c606){var _0x50373e=_0x1af653,_0x1f7ac3,_0x30692c=_0x44c606[_0x50373e(0x499)],_0x39dca8=_0x44c606[_0x50373e(0x2f6)];return _0x39dca8?_0x1f7ac3=_0x25560a[_0x50373e(0x44d)]([0x53616c74,0x65645f5f])[_0x50373e(0x1b3)](_0x39dca8)[_0x50373e(0x1b3)](_0x30692c):_0x1f7ac3=_0x30692c,_0x1f7ac3[_0x50373e(0x426)](_0x9d5df2);},'parse':function(_0x5d1ae6){var _0x582e43=_0x1af653,_0x27ff36,_0x131066=_0x9d5df2[_0x582e43(0x3a0)](_0x5d1ae6),_0x1e20b7=_0x131066[_0x582e43(0x1e0)];return _0x1e20b7[0x0]==0x53616c74&&_0x1e20b7[0x1]==0x65645f5f&&(_0x27ff36=_0x25560a[_0x582e43(0x44d)](_0x1e20b7[_0x582e43(0x181)](0x2,0x4)),_0x1e20b7[_0x582e43(0x37e)](0x0,0x4),_0x131066[_0x582e43(0x497)]-=0x10),_0x24d369[_0x582e43(0x44d)]({'ciphertext':_0x131066,'salt':_0x27ff36});}},_0x50fd79=_0x3e238b['SerializableCipher']=_0x773e7e['extend']({'cfg':_0x773e7e[_0x1af653(0x3e5)]({'format':_0x19efa7}),'encrypt':function(_0x5ad689,_0x5d6f36,_0x14977f,_0x4bce8f){var _0xb0797d=_0x1af653;_0x4bce8f=this[_0xb0797d(0x363)][_0xb0797d(0x3e5)](_0x4bce8f);var _0x2e310f=_0x5ad689['createEncryptor'](_0x14977f,_0x4bce8f),_0x3d2ad9=_0x2e310f['finalize'](_0x5d6f36),_0xe741d5=_0x2e310f[_0xb0797d(0x363)];return _0x24d369[_0xb0797d(0x44d)]({'ciphertext':_0x3d2ad9,'key':_0x14977f,'iv':_0xe741d5['iv'],'algorithm':_0x5ad689,'mode':_0xe741d5[_0xb0797d(0x33b)],'padding':_0xe741d5[_0xb0797d(0x21d)],'blockSize':_0x5ad689[_0xb0797d(0x1af)],'formatter':_0x4bce8f[_0xb0797d(0x486)]});},'decrypt':function(_0x5c6c96,_0x191a2c,_0x4805ff,_0xa2244f){var _0x3186ef=_0x1af653;_0xa2244f=this[_0x3186ef(0x363)][_0x3186ef(0x3e5)](_0xa2244f),_0x191a2c=this['_parse'](_0x191a2c,_0xa2244f[_0x3186ef(0x486)]);var _0xcf0204=_0x5c6c96[_0x3186ef(0x40b)](_0x4805ff,_0xa2244f)[_0x3186ef(0x455)](_0x191a2c[_0x3186ef(0x499)]);return _0xcf0204;},'_parse':function(_0x10f5fd,_0x243650){var _0x35b891=_0x1af653;return typeof _0x10f5fd==_0x35b891(0x4dc)?_0x243650[_0x35b891(0x3a0)](_0x10f5fd,this):_0x10f5fd;}}),_0x1f58b1=_0x3f4499[_0x1af653(0x1a8)]={},_0x654f2c=_0x1f58b1[_0x1af653(0x4ae)]={'execute':function(_0x469750,_0xfd1ce5,_0x2d6c6b,_0x20b9df,_0x46785b){var _0x31a9d1=_0x1af653;if(_0x20b9df||(_0x20b9df=_0x25560a['random'](0x40/0x8)),_0x46785b)var _0xe343a8=_0x20c510[_0x31a9d1(0x44d)]({'keySize':_0xfd1ce5+_0x2d6c6b,'hasher':_0x46785b})[_0x31a9d1(0x1b2)](_0x469750,_0x20b9df);else var _0xe343a8=_0x20c510[_0x31a9d1(0x44d)]({'keySize':_0xfd1ce5+_0x2d6c6b})[_0x31a9d1(0x1b2)](_0x469750,_0x20b9df);var _0x5cd71b=_0x25560a['create'](_0xe343a8[_0x31a9d1(0x1e0)][_0x31a9d1(0x181)](_0xfd1ce5),_0x2d6c6b*0x4);return _0xe343a8[_0x31a9d1(0x497)]=_0xfd1ce5*0x4,_0x24d369[_0x31a9d1(0x44d)]({'key':_0xe343a8,'iv':_0x5cd71b,'salt':_0x20b9df});}},_0x3e6fcf=_0x3e238b[_0x1af653(0x2e6)]=_0x50fd79[_0x1af653(0x3e5)]({'cfg':_0x50fd79[_0x1af653(0x363)][_0x1af653(0x3e5)]({'kdf':_0x654f2c}),'encrypt':function(_0x1e20b0,_0x201548,_0x2d55ed,_0x3573cc){var _0x1a1848=_0x1af653;_0x3573cc=this['cfg'][_0x1a1848(0x3e5)](_0x3573cc);var _0x26b12d=_0x3573cc['kdf'][_0x1a1848(0x354)](_0x2d55ed,_0x1e20b0[_0x1a1848(0x365)],_0x1e20b0[_0x1a1848(0x491)],_0x3573cc[_0x1a1848(0x2f6)],_0x3573cc[_0x1a1848(0x1d8)]);_0x3573cc['iv']=_0x26b12d['iv'];var _0x22feb7=_0x50fd79[_0x1a1848(0x184)][_0x1a1848(0x425)](this,_0x1e20b0,_0x201548,_0x26b12d[_0x1a1848(0x281)],_0x3573cc);return _0x22feb7[_0x1a1848(0x2eb)](_0x26b12d),_0x22feb7;},'decrypt':function(_0x2829ac,_0x1def43,_0x402163,_0x53f57c){var _0x11b1ea=_0x1af653;_0x53f57c=this[_0x11b1ea(0x363)][_0x11b1ea(0x3e5)](_0x53f57c),_0x1def43=this[_0x11b1ea(0x4a9)](_0x1def43,_0x53f57c[_0x11b1ea(0x486)]);var _0x4ac79e=_0x53f57c[_0x11b1ea(0x1a8)]['execute'](_0x402163,_0x2829ac[_0x11b1ea(0x365)],_0x2829ac[_0x11b1ea(0x491)],_0x1def43['salt'],_0x53f57c['hasher']);_0x53f57c['iv']=_0x4ac79e['iv'];var _0x343f6c=_0x50fd79[_0x11b1ea(0x4f6)][_0x11b1ea(0x425)](this,_0x2829ac,_0x1def43,_0x4ac79e['key'],_0x53f57c);return _0x343f6c;}});}();}));}(Te)),Te[_0x3b6ad8(0x172)];}var ri=Se['exports'],ot;function si(){var _0x63438d=_0x5d5117;return ot||(ot=0x1,function(_0x293f8a,_0x2be583){(function(_0x1addc3,_0x52bbd2,_0x865f14){var _0x1e4c7c=_0x274d;_0x293f8a[_0x1e4c7c(0x172)]=_0x52bbd2(ee(),Dt(),Xn(),wt(),At());}(ri,function(_0x48438f){var _0x12c2ec=_0x274d;return(function(){var _0x38fd70=_0x274d,_0x3f946e=_0x48438f,_0x1e8c6a=_0x3f946e['lib'],_0x4fa08a=_0x1e8c6a[_0x38fd70(0x206)],_0x5658e4=_0x3f946e[_0x38fd70(0x2c6)],_0xa5dc2c=[],_0x23d5c5=[],_0x146a87=[],_0x285b58=[],_0x191720=[],_0x184f50=[],_0x27b72a=[],_0x109ab3=[],_0x1813f8=[],_0x2aff7b=[];(function(){for(var _0x442c3c=[],_0x1feb26=0x0;_0x1feb26<0x100;_0x1feb26++)_0x1feb26<0x80?_0x442c3c[_0x1feb26]=_0x1feb26<<0x1:_0x442c3c[_0x1feb26]=_0x1feb26<<0x1^0x11b;for(var _0x12e13f=0x0,_0x418317=0x0,_0x1feb26=0x0;_0x1feb26<0x100;_0x1feb26++){var _0x1c9b5e=_0x418317^_0x418317<<0x1^_0x418317<<0x2^_0x418317<<0x3^_0x418317<<0x4;_0x1c9b5e=_0x1c9b5e>>>0x8^_0x1c9b5e&0xff^0x63,_0xa5dc2c[_0x12e13f]=_0x1c9b5e,_0x23d5c5[_0x1c9b5e]=_0x12e13f;var _0xe98e98=_0x442c3c[_0x12e13f],_0x5c8aa9=_0x442c3c[_0xe98e98],_0x1b1af9=_0x442c3c[_0x5c8aa9],_0x5ee20d=_0x442c3c[_0x1c9b5e]*0x101^_0x1c9b5e*0x1010100;_0x146a87[_0x12e13f]=_0x5ee20d<<0x18|_0x5ee20d>>>0x8,_0x285b58[_0x12e13f]=_0x5ee20d<<0x10|_0x5ee20d>>>0x10,_0x191720[_0x12e13f]=_0x5ee20d<<0x8|_0x5ee20d>>>0x18,_0x184f50[_0x12e13f]=_0x5ee20d;var _0x5ee20d=_0x1b1af9*0x1010101^_0x5c8aa9*0x10001^_0xe98e98*0x101^_0x12e13f*0x1010100;_0x27b72a[_0x1c9b5e]=_0x5ee20d<<0x18|_0x5ee20d>>>0x8,_0x109ab3[_0x1c9b5e]=_0x5ee20d<<0x10|_0x5ee20d>>>0x10,_0x1813f8[_0x1c9b5e]=_0x5ee20d<<0x8|_0x5ee20d>>>0x18,_0x2aff7b[_0x1c9b5e]=_0x5ee20d,_0x12e13f?(_0x12e13f=_0xe98e98^_0x442c3c[_0x442c3c[_0x442c3c[_0x1b1af9^_0xe98e98]]],_0x418317^=_0x442c3c[_0x442c3c[_0x418317]]):_0x12e13f=_0x418317=0x1;}}());var _0x522ef8=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x437a88=_0x5658e4['AES']=_0x4fa08a[_0x38fd70(0x3e5)]({'_doReset':function(){var _0x142e6a=_0x38fd70,_0x19fbc1;if(!(this[_0x142e6a(0x2d3)]&&this[_0x142e6a(0x248)]===this[_0x142e6a(0x2b9)])){for(var _0x704fb9=this[_0x142e6a(0x248)]=this['_key'],_0x12a947=_0x704fb9[_0x142e6a(0x1e0)],_0x544bf2=_0x704fb9[_0x142e6a(0x497)]/0x4,_0x47d953=this[_0x142e6a(0x2d3)]=_0x544bf2+0x6,_0x57e775=(_0x47d953+0x1)*0x4,_0x20dd79=this['_keySchedule']=[],_0x4c9245=0x0;_0x4c9245<_0x57e775;_0x4c9245++)_0x4c9245<_0x544bf2?_0x20dd79[_0x4c9245]=_0x12a947[_0x4c9245]:(_0x19fbc1=_0x20dd79[_0x4c9245-0x1],_0x4c9245%_0x544bf2?_0x544bf2>0x6&&_0x4c9245%_0x544bf2==0x4&&(_0x19fbc1=_0xa5dc2c[_0x19fbc1>>>0x18]<<0x18|_0xa5dc2c[_0x19fbc1>>>0x10&0xff]<<0x10|_0xa5dc2c[_0x19fbc1>>>0x8&0xff]<<0x8|_0xa5dc2c[_0x19fbc1&0xff]):(_0x19fbc1=_0x19fbc1<<0x8|_0x19fbc1>>>0x18,_0x19fbc1=_0xa5dc2c[_0x19fbc1>>>0x18]<<0x18|_0xa5dc2c[_0x19fbc1>>>0x10&0xff]<<0x10|_0xa5dc2c[_0x19fbc1>>>0x8&0xff]<<0x8|_0xa5dc2c[_0x19fbc1&0xff],_0x19fbc1^=_0x522ef8[_0x4c9245/_0x544bf2|0x0]<<0x18),_0x20dd79[_0x4c9245]=_0x20dd79[_0x4c9245-_0x544bf2]^_0x19fbc1);for(var _0x274791=this[_0x142e6a(0x2f7)]=[],_0x563234=0x0;_0x563234<_0x57e775;_0x563234++){var _0x4c9245=_0x57e775-_0x563234;if(_0x563234%0x4)var _0x19fbc1=_0x20dd79[_0x4c9245];else var _0x19fbc1=_0x20dd79[_0x4c9245-0x4];_0x563234<0x4||_0x4c9245<=0x4?_0x274791[_0x563234]=_0x19fbc1:_0x274791[_0x563234]=_0x27b72a[_0xa5dc2c[_0x19fbc1>>>0x18]]^_0x109ab3[_0xa5dc2c[_0x19fbc1>>>0x10&0xff]]^_0x1813f8[_0xa5dc2c[_0x19fbc1>>>0x8&0xff]]^_0x2aff7b[_0xa5dc2c[_0x19fbc1&0xff]];}}},'encryptBlock':function(_0x2a235c,_0x25b397){var _0x405f50=_0x38fd70;this[_0x405f50(0x4db)](_0x2a235c,_0x25b397,this[_0x405f50(0x22d)],_0x146a87,_0x285b58,_0x191720,_0x184f50,_0xa5dc2c);},'decryptBlock':function(_0x1f3f3c,_0x5e1249){var _0x57c142=_0x38fd70,_0x36672a=_0x1f3f3c[_0x5e1249+0x1];_0x1f3f3c[_0x5e1249+0x1]=_0x1f3f3c[_0x5e1249+0x3],_0x1f3f3c[_0x5e1249+0x3]=_0x36672a,this[_0x57c142(0x4db)](_0x1f3f3c,_0x5e1249,this[_0x57c142(0x2f7)],_0x27b72a,_0x109ab3,_0x1813f8,_0x2aff7b,_0x23d5c5);var _0x36672a=_0x1f3f3c[_0x5e1249+0x1];_0x1f3f3c[_0x5e1249+0x1]=_0x1f3f3c[_0x5e1249+0x3],_0x1f3f3c[_0x5e1249+0x3]=_0x36672a;},'_doCryptBlock':function(_0x272e60,_0x196b22,_0x286aef,_0x1d9f23,_0x1da70b,_0xb59543,_0x39c85f,_0x426b24){var _0x1e6450=_0x38fd70;for(var _0x2fd40c=this[_0x1e6450(0x2d3)],_0x5c557e=_0x272e60[_0x196b22]^_0x286aef[0x0],_0xa7d909=_0x272e60[_0x196b22+0x1]^_0x286aef[0x1],_0x26e0f9=_0x272e60[_0x196b22+0x2]^_0x286aef[0x2],_0x37dc39=_0x272e60[_0x196b22+0x3]^_0x286aef[0x3],_0x224101=0x4,_0x322482=0x1;_0x322482<_0x2fd40c;_0x322482++){var _0x39a9e3=_0x1d9f23[_0x5c557e>>>0x18]^_0x1da70b[_0xa7d909>>>0x10&0xff]^_0xb59543[_0x26e0f9>>>0x8&0xff]^_0x39c85f[_0x37dc39&0xff]^_0x286aef[_0x224101++],_0x445b4b=_0x1d9f23[_0xa7d909>>>0x18]^_0x1da70b[_0x26e0f9>>>0x10&0xff]^_0xb59543[_0x37dc39>>>0x8&0xff]^_0x39c85f[_0x5c557e&0xff]^_0x286aef[_0x224101++],_0x583c05=_0x1d9f23[_0x26e0f9>>>0x18]^_0x1da70b[_0x37dc39>>>0x10&0xff]^_0xb59543[_0x5c557e>>>0x8&0xff]^_0x39c85f[_0xa7d909&0xff]^_0x286aef[_0x224101++],_0x4b042f=_0x1d9f23[_0x37dc39>>>0x18]^_0x1da70b[_0x5c557e>>>0x10&0xff]^_0xb59543[_0xa7d909>>>0x8&0xff]^_0x39c85f[_0x26e0f9&0xff]^_0x286aef[_0x224101++];_0x5c557e=_0x39a9e3,_0xa7d909=_0x445b4b,_0x26e0f9=_0x583c05,_0x37dc39=_0x4b042f;}var _0x39a9e3=(_0x426b24[_0x5c557e>>>0x18]<<0x18|_0x426b24[_0xa7d909>>>0x10&0xff]<<0x10|_0x426b24[_0x26e0f9>>>0x8&0xff]<<0x8|_0x426b24[_0x37dc39&0xff])^_0x286aef[_0x224101++],_0x445b4b=(_0x426b24[_0xa7d909>>>0x18]<<0x18|_0x426b24[_0x26e0f9>>>0x10&0xff]<<0x10|_0x426b24[_0x37dc39>>>0x8&0xff]<<0x8|_0x426b24[_0x5c557e&0xff])^_0x286aef[_0x224101++],_0x583c05=(_0x426b24[_0x26e0f9>>>0x18]<<0x18|_0x426b24[_0x37dc39>>>0x10&0xff]<<0x10|_0x426b24[_0x5c557e>>>0x8&0xff]<<0x8|_0x426b24[_0xa7d909&0xff])^_0x286aef[_0x224101++],_0x4b042f=(_0x426b24[_0x37dc39>>>0x18]<<0x18|_0x426b24[_0x5c557e>>>0x10&0xff]<<0x10|_0x426b24[_0xa7d909>>>0x8&0xff]<<0x8|_0x426b24[_0x26e0f9&0xff])^_0x286aef[_0x224101++];_0x272e60[_0x196b22]=_0x39a9e3,_0x272e60[_0x196b22+0x1]=_0x445b4b,_0x272e60[_0x196b22+0x2]=_0x583c05,_0x272e60[_0x196b22+0x3]=_0x4b042f;},'keySize':0x100/0x20});_0x3f946e[_0x38fd70(0x17b)]=_0x4fa08a['_createHelper'](_0x437a88);}()),_0x48438f[_0x12c2ec(0x17b)];}));}(Se)),Se[_0x63438d(0x172)];}var oi=si();const ai=fe(oi);function _0x2511(){var _0x4abb8a=['save\x20fail\x20reason\x20is\x20','_nDataBytes','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_getUploadFileURL','__Key__','workbook','Optional','leaveEvent','conflict','list','_undoRedoService','collaboration_new_changeset','_getAPIPrefixPath','ERROR_EXCEED_SIZE','onTransformSelections','\x20in\x20_schedule.','mode','put','Error\x20on\x20receiving\x20event','_lockTransition','length','SetSelectionsOperation','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_members','YUUMI_RATE_OVER_LIMIT','signUrlServerUrl','1257557IxUFPS','changesets','APPLY_REJECT','CollaborationEvent','DEFAULT_FILE_NAME','UNISCRIPT_RUN','@univerjs-pro/collaboration','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','DataLoaderService','_telemetryService','unitId\x20is\x20not\x20found','_createHandler','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','684usGGQI','sin','execute','open$','target','_createSocket','shareReplay','_onConnectionFailed','_getAPIPrefix','_updateLocalCache','charCodeAt','selections','SheetCollaborationEntity','objectActions','COLLAB_SUBMIT_CHANGESET_URL','/resources','OTHER_CLIENTS_EDITING','cfg','addImageSourceCache','keySize','unitID','setShowComponents','_roomCreated$','_commentService','LocaleService','CONFLICT','objects','CollaborationSessionService','enc','snapshot','COLLAB_WEB_SOCKET_URL','_awaitingChangeset','_eventService','_submitChangeset','byteOffset','initWorkbookPermissionChange','_iv','objectID','10191CIvmKa','isTransformChangesetsSuccess','_transformRemoteChangesetByStateCache','origin','SUBMIT_CHANGESET','PSEUDO_FETCH_MISSING_RESULT','splice','collaMsg','addHandlerCallback','_configService','function','SOCKET_FAILED','socketService','univer-pro.collaboration-client.single-active-unit-service','GLOBAL_ROOMS_CNT_EXCEEDS','compose','\x0aCurrent:\x20','state','COLLAB_SUBMIT_CHANGESET_URL_KEY','_scheduleCompleteTimestamp','_loadDoc','abs','LIVESHARE_FETCH_OPERATIONS','HmacMD5','APPLY_PERMISSION_DENIED','socket$','UNIVER_UNKNOWN','[CollaborationSessionService]','hostname','SNAPSHOT_SERVER_URL_KEY','onLocalMutation','transformStack\x20failed!','COMMENT_UPDATE','CompressMutationService','BufferedBlockAlgorithm','28473JBGbYF','ENSURE_SNAPSHOT_EXECUTION','JSONX','stopTime','then','parse','_transitionLocked','IImageIoService','_type','_collaborationUIEventService','_applyRemoteChangeset','c1Prime','_incrementRevisionNumber','Hasher','_httpService','every','ISocketService','OFFLINE','CommandType','?url=','[DataLoaderService]','getRoom','_resendTimer','formatter','isArray','_replaceFileID','[UniverCollaborationClientPlugin]','_change$','_substituteUndoStack','onRemoteRej','Module','_socketReady','RETRY_CONNECTING_MAX_COUNT','/fetchmissing?from=','Base','_decreaseWaiting','newCsEvent','firstValueFrom','collabSubmitChangesetUrl','_collaborationSessionService','requireSession','processBlock','ticket','WorkbookEditablePermission','HttpExport','subject','_onRecvEvent','IContextService','UNIVER_SHEET','_scheduleCollaborationTimeoutTimer','1223172YOvuPm','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','OfflineState','createSocket','saveSheetBlock','APPLY_NON_SEQUENTIAL_REVISION','getOwnPropertyDescriptor','onCommentUpdate','ITelemetryService','deserializeToCombResponse','TOO_MANY_REQUESTS','encodeURIComponent','FileId','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','localeService','/object/','reqId','putCollaborators','PERSON','transformUndoRedo','toLowerCase','size','INVALID_ARGUMENT','_clearScheduledTask','extend','UnitSnapshot','update','_getUndoStack','_handler','[PendingState]:\x20received\x20acknowledgement.','HEARTBEAT_TIMEOUT_KEY','c2Prime','pending','forEach','SheetsSelectionsService','readInt32LE','find','override','enableAuthServer','clone','_acknowledgedAwaitingChangeset','unpad','createInstance','collaboration-client.local-cache-service','csShouldRetryEvent','2197328CEgIxG','status','_retryConnectingTimer','dispose','BehaviorSubject','csRejEvent','data','LICENSE_MAX_UNITS_EXCEEDED','reconnect','_clearLocalCache','unsubscribe','_sendHeartbeatTimer','randomBytes','executeCommand','getFocusedUnit','_state$','_permissionService','createDecryptor','asObservable','updateCollaborator','now','CollaborationSession','image/png','AwaitingState','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','ConflictState','MentionType','subscribe','awaiting_with_pending','_iKey','_checkMissing','LIVESHARE_REQUEST_HOST','SnapshotService','_hasher','onSendChangeset','prototype','default','onlyLocal','decryptBlock','_resendWithTimeout','@univerjs/telemetry','incrementRevOfUnit','RxDisposable','call','toString','_config','toggleOnline','joinRsp','HTTPService','setWaitCount','_pendingMutations','toDisposable','SNAPSHOT_INVALID_SNAPSHOT','_isPermissionRej','_changesetSessionId','getRandomValues','getSnapshotAPIPath','_initMergeInterceptor','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_createHmacHelper','transformMutationsWithChangeset','_snapshotServerService','UniverNetworkPlugin','?size=','_createSocketURL','_state','getTypeOfUnitDisposed$','getResourcesRequest','onSyncEditingCollabCursor','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','application/json','_event$','capture','CommentService','/universer-api/authz','setConfig','failed\x20to\x20apply\x20missed\x20changesets!','userID','status$','LOCAL_CACHE_INTERVAL','interceptor','getImageSourceCache','session.room-not-exists','create','_initRequestHeader','clamp','_mode','SheetTransformSelectionsService','roles','@univerjs/drawing','_disableEditing','finalize','takeUntil','UnitStatus','reduce','_imageSourceCache','AwaitingWithPendingState','univer-pro.collaboration-client-socket-service','onCommandExecuted','stringify','online$','getSheetBlock','[PendingState]:\x20unhandled\x20univer\x20type:\x20','getAllMembers','AUTHZ_URL_KEY','_onOffline','join','IDLE','_showConflictNotification','SOCKET_FAILED_RETRY','BlockCipherMode','_transformStack','_onMessage','getUnitStatus$','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','members$','SHOULD_CLOSE_CONN','responseType','_onRemoteRetry','ICollaborationSocketService','_members$','SUCCUSS','search','image/bmp','/universer-api/snapshot/','createEncryptor','_socket$','_onUserLeave','session','file','LICENSE_EXPORT_SIZE_EXCEEDED','focused$','baseRev','headers','_registerDependencies','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','location','resend','_onRemoteChangeset','reject','format','YUUMI_SUBSCRIPTION_NOT_FOUND','_instanceService','_handlerCallback','readAsDataURL','commentUpdateEvent','touchDependencies','updateOfflineData','complete','collaborators','FETCH_MISSING','ivSize','liveShareNewHost','Could\x20not\x20dynamically\x20require\x20\x22','/universer-api/file/{fileID}/sign-url','_reverseMap','_updateStatus','sigBytes','JOIN_ROOM_PERMISSION_DENIED','ciphertext','getInterceptPoints','UniverSheetsPlugin','JOIN_ROOM_FULL','send','listCollaborators','_loadSheet','sessionStatus$','listRoles','AuthzIoHttpService','getUnitId','getUnitOnRev','allowed','_http','substr','[SyncedState]:\x20received\x20acknowledgement.','_parse','JOIN_ROOM_FAILED','_shouldReportTelemetry','RevisionService','[CollaborationEntity]','OpenSSL','CHANGESET_REVISION_CONFILICT','/rev/','enableOfflineEditing','PY_RUNTIME_SCRIPT_ERROR','CollaborationEntity','MSG_FOR_ERROR','_unlockTransition','AWAITING_WITH_PENDING','_clearHeartbeatTimer','HmacSHA1','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','UNAUTHENTICATED','_getSessionTicket','CollaborativeUndoRedoService','__esModule','add','collaboration-client.config','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_toggleOnline','msCrypto','UPDATE_CURSOR','_collaborationTimeoutTimer','_getCtorByUniverType','image/jpeg','getConfig','defineProperty','setCurrentUser','ThresholdInterceptorFactory','_doFinalize','_unitID','registerHTTPInterceptor','_revisionService','_queuedRemoteChangesets','confirm','USERS_ENTER','UNRECOGNIZED','textRanges','isInternalEditorID','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_map','_collaborationPaused','saveImage','_status$','_univerInstanceService','_doCryptBlock','string','_tryReconnect','rxjs','_data','crypto','_userManagerService','catch','LIVESHARE_OPERATION','UNIVER_DOC','_createInitialStateImpl','Inject','ERROR_IMAGE','$super','/new_changes','createIdentifier','DisposableCollection','_transformUndoredo','socket\x20close','Subject','_onJoinRoomEvent','_clearCollaborationTimeoutTimer','collabWebSocketUrl','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_clearRedo','\x20-\x20','@univerjs/network','decrypt','IPermissionService','_onRemoteRejected','UNDEFINED','CLOSE_ROOM','not_collab','IUniverInstanceService','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','entityInit$','_localCacheService','resourceIDs','MD5','UserManagerService','Cipher','uniscriptRunEvent','exports','roomInfos','CollaborationSocketService','univer-pro.collaboration-client.network-condition.service','lib','cmd','init','append','_waitForHeartbeatResponse','AES','FETCH_MISS','_sender','@univerjs/sheets','getCurrentSelections','updateMember','slice','_unitInfo$','INetworkConditionService','encrypt','HEARTBEAT_TIMEOUT','/universer-api/comb','title','getUnitType','type','IAuthzIoService','json','COMPRESS_MUTATION_APPLY','max','YUUMI_UNABLE_LOAD_URL','105Ekhral','SyncedState','/universer-api/uniscript','patch','map','SHA1','clear','HttpImport','startTime','updatePermissionPoint','runId','push','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','[SyncedState]:\x20received\x20rejection.','LEAVE','loginUrlKey','FetchingMissState','/-/object/-/batch_allowed','Base64','onMissedChangesetFetched','joinEvent','downloadEndpointUrl','subUnitId','_memberService','IConfigService','kdf','_commandService','YUUMI_URL_COL_OUT_OF_RANGE','method','UniverCollaborationPlugin','getMember','_clearTimeoutTimer','blockSize','ws://127.0.0.1:8000/universer-api/comb/connect','_transformStateCache','compute','concat','LOGIN_URL_KEY','CollaborationController','LIVESHARE_NEW_HOST','getCurrentRevOfUnit','body','_tryEnsureSocket','20352680xCbYoa','_snapshotService','loadUnit','merge','SnapshotServerOverHTTPService','Undefined','_collabSessionService','loadSheet','Decryptor','debug','/universer-api/oidc/authpage','parseProtocolChangeset','startsWith','RETRY_CONNECTING_MAX_COUNT_KEY','BASE64','Pkcs7','_sheetTransformSelectionsService','_sendingTimer','InsertSheetMutation','_telemetryInfo','next','_onCombEvent','PERMISSION_DENIED','removeMember','_getSendChangesetTimeout','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','/unit/','NoPadding','NO_OTHER_CLIENTS_EDITING','href','hasher','_socket','memberID','iterations','fromCollab','copyFileMeta','_createHelper','liveShareOperation','words','m2Prime','params','_exhaustRemoteChangesetQueue','_singleActiveUnitService','&to=','_sessions','onTransformIME','onStarting','_stopTelemetryCollaborationNewChangeset','_HTTPService','[CollaborationSessionService]:\x20socket\x20error','randomUUID','_commentUpdate$','LIVESHARE_TERMINATE','getCollabEntity','message$','authzUrl','encode','generateRandomId','RECV','HEARTBEAT','pipe','getCollabEntity$','[CollaborationUndoRedoService]','DependentOn','Plugin','PERMISSION_REJ','COMPLETION_FINISHED','min','PendingState','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','{fileID}','UNIVER_COLLABORATION_CLIENT_PLUGIN','IMentionIOService','ImageSourceType','hasOwnProperty','[PendingState]:\x20received\x20rejection.','BlockCipher','permissionRejEvent','apply','getValue','/block/','rev','/universer-api/stream/file/upload','_onUserJoin','_localeService','refreshPermission','/universer-api/snapshot','mutations','ONLINE','_syncEditingCollabCursor','Latin1','_remoteChangesetQueue','SNAPSHOT_HAS_BEEN_REMOVED','Workbook','ILogService','url','MergeInterceptorFactory','SUBMIT_CHANGESET_TIMEOUT','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','padding','HEARTBEAT_INTERVAL_KEY','CollaborationUIEventId','delete','session.room-permission-denied','_updateState','UNIVER_PROJECT','_joinRoom','POST','saveChangeset','bind','updatePermissionObjEvent','findIndex','NOT_FOUND','_substituteRedoStack','/allowed','_keySchedule','[FetchMissState]','/role','sequenceExecute','_sendHeartbeat','mapDocumentTypeToUniverType','_clearUndo','EXCHANGE_SIGN_URL_SERVER_URL_KEY','appendMutation','_doReset','disposeWithMe','_injector','_init','_transformService','connection\x20error','MentionIoHttpService','_onRemoteACK','EvpKDF','unknown','has','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','Malformed\x20UTF-8\x20data','SNAPSHOT_URL_KEY','LICENSE_IMPORT_SIZE_EXCEEDED','_entityInit$','_listenToNetworkCondition','objectType','_keyPriorReset','UNKNOWN_CODE','_cipher','ImageUploadStatusType','error$','_sessionStatus$','onRemoteAck','INTERNAL_ERROR','batchAllowed','name','_getSignURL','_entities','OTHER_CLIENT_EDITING','_timeoutTimer','pauseCollaboration','[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.','_executeRemoteChangeset','fetchMissingChangesets','_onFetchMissResult','eventID','disableLocalCache','LICENSE_DISTRO_REJECTED','sheets','_createInitialState','isPermissionRej','_retryCount','_waitCount','FAIL','pluginName','sendChangesetTimeout','HTTPRequest','transformChangesets','fetchThroughInterceptors','_rescheduleHeartbeat','getLocalCacheKey','UnitEmbedded','_transformSelections','random','getTypeOfUnitAdded$','_startCollaboration','ceil','enableSingleActiveInstanceLock','socket\x20open.','USERS_LEAVE','csAckEvent','_roomMembers','close','ITransformService','collaboratorID','getSheetId','onTransformState','CipherParams','_replayCachedMutations','_initUnitPermissionChange','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','filter','_onConflict','key','38VvKtKj','getCurrentUser','snapshotServerUrl','_DEC_XFORM_MODE','UPDATE_PERMISSION_OBJ','textEncoder','_socketMessageSubscription','_schedule','Quantity','CHANGESET_REJ','symbol','EmptyMutation','onload','sessionTicket','_startTelemetryCollaborationNewChangeset','toggleOffline','event$','error','includes','ICommandService','result','_oKey','Utf8','rxjs/operators','_append','_undoStacks','PENDING','_process','reverse','retryConnectingInterval','reset','editingUnit','COMPRESS_MUTATION_SEND','loadOfflineData','state$','take','/-/object/list','parseChangesetToProtocol','CBC','onRemoteRetry','/object','getMemberID','_transformRemoteChangesetByIMECache','[CollaborationSession]','CHANGESET_ACK','synced','CHANGESET_SHOULD_RETRY','post','_changesetReqId','range','fetching\x20missing\x20changesets\x20from\x20','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','UNKNOWN_CMD','HMAC','UniverInstanceType','_key','ISnapshotServerService','unitId','@univerjs/docs','__creator','concatMap','getImage','APPLY_REVISION_CONFILICT','_compressMutationService','_prevBlock','APPLY_DUPLICATED','/collaborator','sid','algo','waitForRoom$','awaiting','originalMeta','_removeRoom','ILocalCacheService','_xformMode','floor','/universer-api/user/session-ticket','MUTATION','_logService','onTransformRemoteChangesetByStateCache','JOINING','_nRounds','fetchMiss','CONNECTOR_DATA_TOO_LARGE','_emitMembers','fetch_missing','DocCollaborationEntity','JOIN_ROOM_NOT_EXISTS','dispose$','infoRsp','requestParams','84918kdDSiH','unitInfo$','equals','onRemoteChangeset','UUID','LOCAL_CACHE_INTERVAL_KEY','deleteCollaborator','closeSession','getLatestCsReqIdBySid','PasswordBasedCipher','searchParams','_fetchMissChangesets','isTransformMutationsWithChangesetSuccess','Disposable','mixIn','get','onTransformRemoteChangesetByIMECache','getDeserializedSheetBlock','_candidateSocket','revision','UNIVER_SLIDE','avatar','_getCurrentRevision','routeKey','_ENC_XFORM_MODE','salt','_invKeySchedule','UniverCollaborationClientPlugin','action','CollaborationImageIoService','JOIN','getGlobalObject','localCacheService','b64DecodeUnicode','IUndoRedoService','close$','code','[OfflineState]:\x20received\x20acknowledgement.','_hash','saveSnapshot','offline','COLLAB_WEB_SOCKET_URL_KEY','_throwTelemetryCollaborationNewChangeset','INGEST','session.room-cnt-exceeds','_getRedoStack','WordArray','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','HELLO','delay','MemberService','session.room-full','onMissingChangesets','set','\x0aAfter:\x20','isTransformMutationsWithChangesetFailure','Injector','_toggleOffline','registerDependencies','_onLocalMutation','charAt','byteLength','pad','getTime','_networkConditionService','NEW_CHANGESETS','RichTextEditingMutation','emitEvent','actions','unit-cache-','readyForCollab','updateCursorEvent','AWAITING','_redoStacks','getWorkbookSelections','_resendTimeout','ISingleActiveUnitService','_getLoginPath'];_0x2511=function(){return _0x4abb8a;};return _0x2511();}var ci=Dt();const at=fe(ci);var be={'exports':{}},hi=be['exports'],ct;function li(){var _0x1dcf73=_0x5d5117;return ct||(ct=0x1,function(_0x3de129,_0x5d75ed){(function(_0x124679,_0x5a78ff){var _0x5ad12c=_0x274d;_0x3de129[_0x5ad12c(0x172)]=_0x5a78ff(ee());}(hi,function(_0x3c2303){return _0x3c2303['enc']['Utf8'];}));}(be)),be[_0x1dcf73(0x172)];}var _i=li();const ui=fe(_i);var Re={'exports':{}},di=Re['exports'],ht;function vi(){var _0x586fa7=_0x5d5117;return ht||(ht=0x1,function(_0x3f5575,_0x3545a7){(function(_0x1a0c49,_0x33218b){var _0x524ffa=_0x274d;_0x3f5575[_0x524ffa(0x172)]=_0x33218b(ee());}(di,function(_0x587e29){var _0x12ac23=_0x274d;return(function(){var _0x2cce69=_0x274d;if(typeof ArrayBuffer==_0x2cce69(0x382)){var _0x533f5d=_0x587e29,_0x2357e9=_0x533f5d[_0x2cce69(0x176)],_0x534a8f=_0x2357e9['WordArray'],_0x203b48=_0x534a8f['init'],_0x55a655=_0x534a8f[_0x2cce69(0x178)]=function(_0x2a2f8f){var _0x3bdf0b=_0x2cce69;if(_0x2a2f8f instanceof ArrayBuffer&&(_0x2a2f8f=new Uint8Array(_0x2a2f8f)),(_0x2a2f8f instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x2a2f8f instanceof Uint8ClampedArray||_0x2a2f8f instanceof Int16Array||_0x2a2f8f instanceof Uint16Array||_0x2a2f8f instanceof Int32Array||_0x2a2f8f instanceof Uint32Array||_0x2a2f8f instanceof Float32Array||_0x2a2f8f instanceof Float64Array)&&(_0x2a2f8f=new Uint8Array(_0x2a2f8f['buffer'],_0x2a2f8f[_0x3bdf0b(0x374)],_0x2a2f8f[_0x3bdf0b(0x31a)])),_0x2a2f8f instanceof Uint8Array){for(var _0x45c801=_0x2a2f8f[_0x3bdf0b(0x31a)],_0x5c0e96=[],_0x326fd8=0x0;_0x326fd8<_0x45c801;_0x326fd8++)_0x5c0e96[_0x326fd8>>>0x2]|=_0x2a2f8f[_0x326fd8]<<0x18-_0x326fd8%0x4*0x8;_0x203b48[_0x3bdf0b(0x425)](this,_0x5c0e96,_0x45c801);}else _0x203b48[_0x3bdf0b(0x208)](this,arguments);};_0x55a655[_0x2cce69(0x41d)]=_0x534a8f;}}()),_0x587e29[_0x12ac23(0x176)][_0x12ac23(0x30b)];}));}(Re)),Re[_0x586fa7(0x172)];}var fi=vi();const Si=fe(fi);var Oe={'exports':{}},pi=Oe[_0x5d5117(0x172)],lt;function mi(){return lt||(lt=0x1,function(_0x491611,_0x5ddfe8){(function(_0xf6f552,_0x378ad7,_0x345522){_0x491611['exports']=_0x378ad7(ee(),At());}(pi,function(_0xe2ff79){var _0xdfd185=_0x274d;return _0xe2ff79[_0xdfd185(0x31b)][_0xdfd185(0x1d5)]={'pad':function(){},'unpad':function(){}},_0xe2ff79[_0xdfd185(0x31b)]['NoPadding'];}));}(Oe)),Oe['exports'];}var gi=mi();const Ii=fe(gi);function Ei(_0xd8b834,_0x39ae95){var _0x280940=_0x5d5117;const _0x2f145e=_0x39ae95-_0xd8b834[_0x280940(0x33f)]%_0x39ae95,_0x1dc3f3=String['fromCharCode'](_0x2f145e)['repeat'](_0x2f145e);return _0xd8b834+_0x1dc3f3;}function Ci(_0x2d1bbc,_0xf9c349){var _0x294366=_0x5d5117;const _0x45ff4c=Si[_0x294366(0x26d)](0x10),_0x279d9b=Ei(_0x2d1bbc,0x10),_0x4ab4f4=ai[_0x294366(0x184)](ui[_0x294366(0x3a0)](_0x279d9b),at[_0x294366(0x3a0)](_0xf9c349),{'iv':_0x45ff4c,'padding':Ii});return _0x45ff4c['concat'](_0x4ab4f4[_0x294366(0x499)])[_0x294366(0x426)](at);}function Ti(){var _0x438c70=_0x5d5117;const _0x437e3d=$t[_0x438c70(0x2fc)]()[_0x438c70(0x32f)];if(_0x437e3d){const _0x57829f={'time':Math['floor'](Date[_0x438c70(0x40e)]()/0x3e8),'domain':location[_0x438c70(0x394)]};return Ci(JSON[_0x438c70(0x45d)](_0x57829f),_0x437e3d);}}var bi=Object['defineProperty'],Ri=Object['getOwnPropertyDescriptor'],Oi=(_0x4122fe,_0xe5a28,_0x38052f,_0x1c354b)=>{for(var _0x1dd29f=_0x1c354b>0x1?void 0x0:_0x1c354b?Ri(_0xe5a28,_0x38052f):_0xe5a28,_0x4b797f=_0x4122fe['length']-0x1,_0x2bb0e5;_0x4b797f>=0x0;_0x4b797f--)(_0x2bb0e5=_0x4122fe[_0x4b797f])&&(_0x1dd29f=(_0x1c354b?_0x2bb0e5(_0xe5a28,_0x38052f,_0x1dd29f):_0x2bb0e5(_0x1dd29f))||_0x1dd29f);return _0x1c354b&&_0x1dd29f&&bi(_0xe5a28,_0x38052f,_0x1dd29f),_0x1dd29f;},yi=(_0x3a4cbb,_0x19df17)=>(_0x141347,_0x4ec5b5)=>_0x19df17(_0x141347,_0x4ec5b5,_0x3a4cbb);let Ne=class{constructor(_0x378b9c){var _0x54b305=_0x5d5117;this[_0x54b305(0x3a9)]=_0x378b9c,this['_initRequestHeader']();}[_0x5d5117(0x44e)](){var _0x5f004f=_0x5d5117;this[_0x5f004f(0x3a9)][_0x5f004f(0x4cd)]({'interceptor':(_0x31a6ec,_0x579594)=>{const _0xd52e65=_0x31a6ec['headers'],_0xf7bf99=Ti();return _0xf7bf99&&_0xd52e65['set']('x-univer-host',_0xf7bf99),_0x579594(_0x31a6ec);}});}};Ne=Oi([yi(0x0,a[_0x5d5117(0x4e6)](q[_0x5d5117(0x42a)]))],Ne);var Ni=Object[_0x5d5117(0x4c8)],Ui=Object['getOwnPropertyDescriptor'],Pi=(_0x1749b3,_0x5a62e3,_0x27ee37,_0x3aaa05)=>{for(var _0x3adaa2=_0x3aaa05>0x1?void 0x0:_0x3aaa05?Ui(_0x5a62e3,_0x27ee37):_0x5a62e3,_0x514767=_0x1749b3['length']-0x1,_0x1d44dc;_0x514767>=0x0;_0x514767--)(_0x1d44dc=_0x1749b3[_0x514767])&&(_0x3adaa2=(_0x3aaa05?_0x1d44dc(_0x5a62e3,_0x27ee37,_0x3adaa2):_0x1d44dc(_0x3adaa2))||_0x3adaa2);return _0x3aaa05&&_0x3adaa2&&Ni(_0x5a62e3,_0x27ee37,_0x3adaa2),_0x3adaa2;},Me=(_0x4eded1,_0x1e33fe)=>(_0x13f8e8,_0x2a4e5d)=>_0x1e33fe(_0x13f8e8,_0x2a4e5d,_0x4eded1);exports[_0x5d5117(0x34d)]=class extends a[_0x5d5117(0x424)]{constructor(_0x59ed61,_0x556626,_0x57b376){var _0xae6dca=_0x5d5117;super(),D(this,_0xae6dca(0x182),new H[(_0xae6dca(0x3fe))](null)),D(this,_0xae6dca(0x2de),this['_unitInfo$']['asObservable']()),(this['_logService']=_0x59ed61,this[_0xae6dca(0x1bb)]=_0x556626,this[_0xae6dca(0x16c)]=_0x57b376);}async[_0x5d5117(0x1bc)](_0x3b4fdf,_0x44fd50,_0xb7db5f){var _0x4c9a6a=_0x5d5117;this['_unitInfo$']['next']({'unitId':_0x3b4fdf,'type':_0x44fd50,'subUnitId':_0xb7db5f});let _0x9fb097=null;switch(_0x44fd50){case Z[_0x4c9a6a(0x3cb)]:{_0x9fb097=await this[_0x4c9a6a(0x49f)](_0x3b4fdf);break;}case Z[_0x4c9a6a(0x4e4)]:{_0x9fb097=await this[_0x4c9a6a(0x38c)](_0x3b4fdf);break;}default:{this[_0x4c9a6a(0x2d0)][_0x4c9a6a(0x293)](_0x4c9a6a(0x3af),_0x4c9a6a(0x32d));break;}}return _0x9fb097;}async[_0x5d5117(0x49f)](_0x4995b1){var _0x1302b4=_0x5d5117,_0x3c3348;let _0x46a1a4=0x0;const _0x2684ef=await((_0x3c3348=this[_0x1302b4(0x16c)])==null?void 0x0:_0x3c3348[_0x1302b4(0x2a3)](_0x4995b1));return _0x2684ef&&(_0x2684ef['awaitingChangeset']||_0x2684ef['mutations']['length']!==0x0)&&(_0x46a1a4=_0x2684ef['rev']),_0x46a1a4===0x0&&this[_0x1302b4(0x2d0)][_0x1302b4(0x1c3)](_0x1302b4(0x3af),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this['_snapshotService'][_0x1302b4(0x1c1)](_0x4995b1,_0x46a1a4);}async[_0x5d5117(0x38c)](_0x4750ea){var _0x1be99e=_0x5d5117,_0x42f017;let _0x5f4b1a=0x0;const _0x22a1b7=await((_0x42f017=this['_localCacheService'])==null?void 0x0:_0x42f017[_0x1be99e(0x2a3)](_0x4750ea));return _0x22a1b7&&(_0x22a1b7['awaitingChangeset']||_0x22a1b7['mutations']['length']!==0x0)&&(_0x5f4b1a=_0x22a1b7[_0x1be99e(0x20b)]),_0x5f4b1a===0x0&&this[_0x1be99e(0x2d0)][_0x1be99e(0x1c3)](_0x1be99e(0x3af),_0x1be99e(0x46c)),this[_0x1be99e(0x1bb)]['loadDoc'](_0x4750ea,_0x5f4b1a);}},exports[_0x5d5117(0x34d)]=Pi([Me(0x0,a[_0x5d5117(0x218)]),Me(0x1,a['Inject'](m[_0x5d5117(0x41a)])),Me(0x2,a[_0x5d5117(0x331)](z))],exports[_0x5d5117(0x34d)]);var Di=Object[_0x5d5117(0x4c8)],wi=Object['getOwnPropertyDescriptor'],Ai=(_0x46d00b,_0x2454cb,_0x31f3d9,_0x4e7f73)=>{var _0x56827e=_0x5d5117;for(var _0x2f499d=_0x4e7f73>0x1?void 0x0:_0x4e7f73?wi(_0x2454cb,_0x31f3d9):_0x2454cb,_0x1947ca=_0x46d00b[_0x56827e(0x33f)]-0x1,_0x33b146;_0x1947ca>=0x0;_0x1947ca--)(_0x33b146=_0x46d00b[_0x1947ca])&&(_0x2f499d=(_0x4e7f73?_0x33b146(_0x2454cb,_0x31f3d9,_0x2f499d):_0x33b146(_0x2f499d))||_0x2f499d);return _0x4e7f73&&_0x2f499d&&Di(_0x2454cb,_0x31f3d9,_0x2f499d),_0x2f499d;},xe=(_0x35b287,_0x5378ac)=>(_0x46c9be,_0x350b0b)=>_0x5378ac(_0x46c9be,_0x350b0b,_0x35b287);const Li=[_0x5d5117(0x410),_0x5d5117(0x4c6),'image/jpg','image/gif',_0x5d5117(0x475)],Mi=0x5*0x400*0x400,xi='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',ji=_0x5d5117(0x20c),$i=_0x5d5117(0x234),Hi=_0x5d5117(0x494);exports[_0x5d5117(0x2fa)]=class{constructor(_0x23a020,_0x3ce989,_0x2196d5){var _0xf614ad=_0x5d5117;D(this,_0xf614ad(0x262),0x0),D(this,_0xf614ad(0x3b6),new H['Subject']()),D(this,'change$',this[_0xf614ad(0x3b6)]),D(this,_0xf614ad(0x459),new Map()),(this['_httpService']=_0x23a020,this[_0xf614ad(0x381)]=_0x3ce989,this[_0xf614ad(0x4da)]=_0x2196d5);}[_0x5d5117(0x42b)](_0x279b7d){var _0x49c836=_0x5d5117;this[_0x49c836(0x262)]=_0x279b7d,this['_change$']['next'](_0x279b7d);}[_0x5d5117(0x44b)](_0x368805,_0x3491b9){var _0x420986=_0x5d5117;if(_0x3491b9===X[_0x420986(0x203)][_0x420986(0x1c8)]){const _0x2beee2=new Image();return _0x2beee2['src']=_0x368805,_0x2beee2;}return this[_0x420986(0x459)][_0x420986(0x2ec)](_0x368805);}[_0x5d5117(0x364)](_0x2b1993,_0x34ac07,_0x261044){var _0x5f196a=_0x5d5117;_0x34ac07===X[_0x5f196a(0x203)]['BASE64']||_0x261044==null||this[_0x5f196a(0x459)][_0x5f196a(0x312)](_0x2b1993,_0x261044);}async[_0x5d5117(0x2bf)](_0x41d3bf){var _0x147c4b=_0x5d5117;try{const _0x26f8c6=this[_0x147c4b(0x3b4)](this[_0x147c4b(0x252)](),''+_0x41d3bf),_0x23158f=(await this[_0x147c4b(0x3a9)][_0x147c4b(0x2ec)](_0x26f8c6))['body'];if(_0x23158f[_0x147c4b(0x293)]&&_0x23158f[_0x147c4b(0x293)][_0x147c4b(0x301)]===Tt['OK']){const _0x29c7f5=new URL(_0x23158f[_0x147c4b(0x219)],this['_getDownloadEndpointURL']())['toString']();return Promise['resolve'](_0x29c7f5);}return Promise[_0x147c4b(0x485)](_0x23158f[_0x147c4b(0x293)]);}catch(_0x38ea28){return Promise['reject'](_0x38ea28);}}async[_0x5d5117(0x4d8)](_0x144517){var _0x31d2a3=_0x5d5117;let _0x427bbd='';if(!Li[_0x31d2a3(0x294)](_0x144517['type']))return this[_0x31d2a3(0x3be)](),Promise[_0x31d2a3(0x485)](new Error(X['ImageUploadStatusType']['ERROR_IMAGE_TYPE']));if(_0x144517[_0x31d2a3(0x3e2)]>Mi)return this[_0x31d2a3(0x3be)](),Promise['reject'](new Error(X[_0x31d2a3(0x24b)][_0x31d2a3(0x338)]));try{const _0x4ce9b4=new FormData();_0x4ce9b4[_0x31d2a3(0x179)](_0x31d2a3(0x47b),_0x144517);const _0x56e5dc=this[_0x31d2a3(0x4da)][_0x31d2a3(0x408)](),_0x66b19b=_0x56e5dc==null?void 0x0:_0x56e5dc[_0x31d2a3(0x4a3)]();if(!_0x66b19b)throw new Error(_0x31d2a3(0x34f));const _0x1a6488=this[_0x31d2a3(0x32e)]()+_0x31d2a3(0x439)+_0x144517[_0x31d2a3(0x3e2)]['toString']()+'&source='+bt[_0x31d2a3(0x26b)]+'&assign='+encodeURIComponent(_0x66b19b),_0x2a639d=await(await fetch(_0x1a6488,{'method':_0x31d2a3(0x225),'body':_0x4ce9b4}))[_0x31d2a3(0x18b)]();if(typeof _0x2a639d[_0x31d2a3(0x3d9)]!='string')return this['_decreaseWaiting'](),Promise[_0x31d2a3(0x485)](new Error(X[_0x31d2a3(0x24b)][_0x31d2a3(0x4e7)]));_0x427bbd=_0x2a639d['FileId'];}catch{return this[_0x31d2a3(0x3be)](),Promise[_0x31d2a3(0x485)](new Error(X[_0x31d2a3(0x24b)]['ERROR_IMAGE']));}return new Promise((_0x24aac2,_0x3e7d7b)=>{var _0xe1f6ef=_0x31d2a3;const _0x392b48=new FileReader();_0x392b48[_0xe1f6ef(0x48a)](_0x144517),_0x392b48[_0xe1f6ef(0x28e)]=_0x39ff6a=>{var _0x39b233=_0xe1f6ef,_0x1e4f25;const _0x5a07b3=(_0x1e4f25=_0x39ff6a[_0x39b233(0x356)])==null?void 0x0:_0x1e4f25['result'];if(_0x5a07b3==null){this[_0x39b233(0x3be)](),_0x3e7d7b(new Error(X[_0x39b233(0x24b)]['ERROR_IMAGE']));return;}const _0x278050=a['Tools'][_0x39b233(0x1f3)](0x6);_0x24aac2({'imageId':_0x278050,'imageSourceType':X[_0x39b233(0x203)][_0x39b233(0x2e1)],'source':_0x427bbd,'base64Cache':_0x5a07b3,'status':X['ImageUploadStatusType'][_0x39b233(0x473)]}),this[_0x39b233(0x3be)]();};});}[_0x5d5117(0x32e)](){var _0x24d611=_0x5d5117,_0xbe10c5,_0x5368c6;const _0x2ca5a2=this[_0x24d611(0x381)][_0x24d611(0x4c7)](xi),_0x285b8d=this[_0x24d611(0x381)]['getConfig'](Y);return(_0x5368c6=(_0xbe10c5=_0x285b8d==null?void 0x0:_0x285b8d['uploadFileServerUrl'])!=null?_0xbe10c5:_0x2ca5a2)!=null?_0x5368c6:ji;}[_0x5d5117(0x252)](){var _0x597974=_0x5d5117,_0x4f1005,_0x1f77da;const _0x20e57e=this[_0x597974(0x381)][_0x597974(0x4c7)]($i),_0x41d854=this['_configService']['getConfig'](Y);return(_0x1f77da=(_0x4f1005=_0x41d854==null?void 0x0:_0x41d854[_0x597974(0x344)])!=null?_0x4f1005:_0x20e57e)!=null?_0x1f77da:Hi;}['_getDownloadEndpointURL'](){var _0x569483=_0x5d5117,_0x245abd;const _0x420328=this[_0x569483(0x381)]['getConfig'](Y);return(_0x245abd=_0x420328==null?void 0x0:_0x420328[_0x569483(0x1a4)])!=null?_0x245abd:location[_0x569483(0x37b)];}[_0x5d5117(0x3b4)](_0x46dde2,_0x112dfe){var _0x3e437c=_0x5d5117;return _0x46dde2['replace'](_0x3e437c(0x200),_0x112dfe);}[_0x5d5117(0x3be)](){var _0x3dc176=_0x5d5117;this[_0x3dc176(0x262)]-=0x1,this[_0x3dc176(0x3b6)]['next'](this[_0x3dc176(0x262)]);}},exports[_0x5d5117(0x2fa)]=Ai([xe(0x0,a[_0x5d5117(0x4e6)](q[_0x5d5117(0x42a)])),xe(0x1,a['IConfigService']),xe(0x2,a['Inject'](a[_0x5d5117(0x169)]))],exports[_0x5d5117(0x2fa)]);var ki=Object[_0x5d5117(0x4c8)],Bi=Object[_0x5d5117(0x3d3)],Fi=(_0x955fb4,_0x37fc15,_0x512d28,_0x50d471)=>{for(var _0x24b39d=_0x50d471>0x1?void 0x0:_0x50d471?Bi(_0x37fc15,_0x512d28):_0x37fc15,_0x2ec35b=_0x955fb4['length']-0x1,_0x322121;_0x2ec35b>=0x0;_0x2ec35b--)(_0x322121=_0x955fb4[_0x2ec35b])&&(_0x24b39d=(_0x50d471?_0x322121(_0x37fc15,_0x512d28,_0x24b39d):_0x322121(_0x24b39d))||_0x24b39d);return _0x50d471&&_0x24b39d&&ki(_0x37fc15,_0x512d28,_0x24b39d),_0x24b39d;},_t=(_0x2c4e17,_0x150b61)=>(_0x121894,_0x4eae9f)=>_0x150b61(_0x121894,_0x4eae9f,_0x2c4e17);const Wi=_0x5d5117(0x444);exports[_0x5d5117(0x23c)]=class{constructor(_0x26f40e,_0x445a1f){var _0x593f01=_0x5d5117;this[_0x593f01(0x381)]=_0x26f40e,this[_0x593f01(0x1ea)]=_0x445a1f;}[_0x5d5117(0x337)](){var _0x315c43=_0x5d5117,_0x4ca5fe,_0x54cd2b;const _0x1926fd=this[_0x315c43(0x381)][_0x315c43(0x4c7)](Ve),_0x404610=this[_0x315c43(0x381)]['getConfig'](Y);return(_0x54cd2b=(_0x4ca5fe=_0x404610==null?void 0x0:_0x404610[_0x315c43(0x1f1)])!=null?_0x4ca5fe:_0x1926fd)!=null?_0x54cd2b:Wi;}async['list'](_0x101a35){var _0x222158=_0x5d5117;const _0x2dd975=this[_0x222158(0x337)]()+'/collaborator';return{'list':[{'title':'People','mentions':(await this[_0x222158(0x1ea)]['get'](_0x2dd975,{'params':{'objectID':_0x101a35[_0x222158(0x2bb)],'unitID':_0x101a35[_0x222158(0x2bb)]}}))['body'][_0x222158(0x48f)][_0x222158(0x193)](_0x1869fd=>({'objectId':_0x1869fd['id'],'name':_0x1869fd[_0x222158(0x3c8)][_0x222158(0x251)],'metadata':{'icon':_0x1869fd[_0x222158(0x3c8)][_0x222158(0x2f2)]},'label':_0x1869fd[_0x222158(0x3c8)][_0x222158(0x251)],'objectType':a[_0x222158(0x414)][_0x222158(0x3df)]})),'metadata':{},'type':a[_0x222158(0x414)]['PERSON']}]};}},exports[_0x5d5117(0x23c)]=Fi([_t(0x0,a[_0x5d5117(0x4e6)](a[_0x5d5117(0x1a7)])),_t(0x1,a[_0x5d5117(0x4e6)](q[_0x5d5117(0x42a)]))],exports[_0x5d5117(0x23c)]);var Gi=Object[_0x5d5117(0x4c8)],Vi=Object['getOwnPropertyDescriptor'],Ki=(_0x561559,_0x3a7b33,_0x285a05,_0x59f383)=>{for(var _0x1e8a38=_0x59f383>0x1?void 0x0:_0x59f383?Vi(_0x3a7b33,_0x285a05):_0x3a7b33,_0x529d45=_0x561559['length']-0x1,_0x3cbf7e;_0x529d45>=0x0;_0x529d45--)(_0x3cbf7e=_0x561559[_0x529d45])&&(_0x1e8a38=(_0x59f383?_0x3cbf7e(_0x3a7b33,_0x285a05,_0x1e8a38):_0x3cbf7e(_0x1e8a38))||_0x1e8a38);return _0x59f383&&_0x1e8a38&&Gi(_0x3a7b33,_0x285a05,_0x1e8a38),_0x1e8a38;},ce=(_0x4c6bd3,_0x2fbb5e)=>(_0x20f9de,_0x5104e7)=>_0x2fbb5e(_0x20f9de,_0x5104e7,_0x4c6bd3);let Ue=class extends a['RxDisposable']{constructor(_0x143cec,_0x1167e2,_0x2eec79,_0x17aeeb,_0x83120d,_0x5aed88,_0x5f2c65){var _0x17b1ca=_0x5d5117;super(),this[_0x17b1ca(0x238)]=_0x143cec,this[_0x17b1ca(0x4da)]=_0x1167e2,this[_0x17b1ca(0x40a)]=_0x2eec79,this[_0x17b1ca(0x3c2)]=_0x17aeeb,this[_0x17b1ca(0x3a4)]=_0x83120d,this['_authzIoService']=_0x5aed88,this[_0x17b1ca(0x335)]=_0x5f2c65,this['_initUnitPermissionChange'](),this['_initCloseConn']();}['_initCloseConn'](){var _0x2856ff=_0x5d5117;const _0x36b6dc=async _0x1428e6=>{var _0x368f08=_0x274d;(await this['_collaborationSessionService'][_0x368f08(0x3c3)](_0x1428e6))['event$'][_0x368f08(0x1f6)](W[_0x368f08(0x27f)](_0x555f8f=>_0x555f8f[_0x368f08(0x25b)]===m[_0x368f08(0x348)][_0x368f08(0x46e)]),W['takeUntil'](this['dispose$']))[_0x368f08(0x415)](_0x1c6933=>{var _0x4e56e5=_0x368f08;const _0xb88c82=_0x1c6933,{reason:_0x78cfc5}=_0xb88c82[_0x4e56e5(0x400)];this[_0x4e56e5(0x3a4)][_0x4e56e5(0x320)]({'id':Q[_0x4e56e5(0x167)],'data':_0x78cfc5}),this['_permissionService'][_0x4e56e5(0x198)](new J['WorkbookEditablePermission'](_0x1428e6)['id'],!0x1),this[_0x4e56e5(0x3c2)][_0x4e56e5(0x2e4)](_0x1428e6);});};H[_0x2856ff(0x1bd)](this['_univerInstanceService'][_0x2856ff(0x26e)](a['UniverInstanceType'][_0x2856ff(0x3cb)]),this['_univerInstanceService'][_0x2856ff(0x26e)](a[_0x2856ff(0x2b8)]['UNIVER_DOC']))['pipe'](W[_0x2856ff(0x193)](_0x36c658=>_0x36c658[_0x2856ff(0x4a3)]()),W['filter'](_0x12a528=>!a[_0x2856ff(0x4d4)](_0x12a528)),W[_0x2856ff(0x456)](this['dispose$']))[_0x2856ff(0x415)](_0x17cb68=>{_0x36b6dc(_0x17cb68);});}[_0x5d5117(0x27d)](){var _0xfba0f1=_0x5d5117;const _0x1f69e6=async _0x3bffe7=>{var _0xbcbcc0=_0x274d;const _0x561aa0=await this[_0xbcbcc0(0x3c2)][_0xbcbcc0(0x3c3)](_0x3bffe7),_0x4688ed=this[_0xbcbcc0(0x238)][_0xbcbcc0(0x2ec)](J['SheetPermissionInitController']);_0x561aa0['event$'][_0xbcbcc0(0x1f6)](W[_0xbcbcc0(0x27f)](_0x438c80=>_0x438c80[_0xbcbcc0(0x25b)]===m[_0xbcbcc0(0x348)][_0xbcbcc0(0x286)]),W[_0xbcbcc0(0x456)](this[_0xbcbcc0(0x2da)]))[_0xbcbcc0(0x415)](_0xe5b3b2=>{var _0x322610=_0xbcbcc0;const _0x4baf84=_0xe5b3b2,{objectId:_0xcec3e7}=_0x4baf84[_0x322610(0x400)];_0xcec3e7===_0x3bffe7?_0x4688ed[_0x322610(0x375)](_0x3bffe7):_0x4688ed[_0x322610(0x20f)](_0x3bffe7,_0xcec3e7);});};H[_0xfba0f1(0x1bd)](this[_0xfba0f1(0x4da)][_0xfba0f1(0x26e)](a[_0xfba0f1(0x2b8)]['UNIVER_SHEET']),this[_0xfba0f1(0x4da)][_0xfba0f1(0x26e)](a[_0xfba0f1(0x2b8)][_0xfba0f1(0x4e4)]))['pipe'](W['map'](_0x7bbe7d=>_0x7bbe7d[_0xfba0f1(0x4a3)]()),W[_0xfba0f1(0x27f)](_0xc17a3d=>!a['isInternalEditorID'](_0xc17a3d)),W[_0xfba0f1(0x456)](this[_0xfba0f1(0x2da)]))[_0xfba0f1(0x415)](_0x50d4df=>{_0x1f69e6(_0x50d4df);});}};Ue=Ki([ce(0x0,a[_0x5d5117(0x4e6)](a[_0x5d5117(0x315)])),ce(0x1,a[_0x5d5117(0x169)]),ce(0x2,a[_0x5d5117(0x4f7)]),ce(0x3,a[_0x5d5117(0x4e6)](exports[_0x5d5117(0x36d)])),ce(0x4,a[_0x5d5117(0x4e6)](te)),ce(0x5,a[_0x5d5117(0x18a)]),ce(0x6,a['IUndoRedoService'])],Ue);var Yi=Object['defineProperty'],qi=Object[_0x5d5117(0x3d3)],zi=(_0x15e1a8,_0x240b97,_0x3b67a4,_0x45e9dc)=>{for(var _0x24aa58=_0x45e9dc>0x1?void 0x0:_0x45e9dc?qi(_0x240b97,_0x3b67a4):_0x240b97,_0x1df689=_0x15e1a8['length']-0x1,_0x5a11a2;_0x1df689>=0x0;_0x1df689--)(_0x5a11a2=_0x15e1a8[_0x1df689])&&(_0x24aa58=(_0x45e9dc?_0x5a11a2(_0x240b97,_0x3b67a4,_0x24aa58):_0x5a11a2(_0x24aa58))||_0x24aa58);return _0x45e9dc&&_0x24aa58&&Yi(_0x240b97,_0x3b67a4,_0x24aa58),_0x24aa58;},ut=(_0x25ac2e,_0x5548d0)=>(_0x416e4b,_0x3ef405)=>_0x5548d0(_0x416e4b,_0x3ef405,_0x25ac2e);exports[_0x5d5117(0x1be)]=class{constructor(_0x5892ec,_0x26b0a1){var _0x30b8c2=_0x5d5117;this[_0x30b8c2(0x381)]=_0x5892ec,this[_0x30b8c2(0x3a9)]=_0x26b0a1;}async[_0x5d5117(0x4a4)](_0x1bd688,_0x153989){var _0x3ff064=_0x5d5117,_0x2c0cf9;const {unitID:_0x2156a6,type:_0x3c8d88,revision:_0x3b8477=0x0}=_0x153989,_0x5f2560=this[_0x3ff064(0x432)]()+'/'+_0x3c8d88+_0x3ff064(0x1d4)+_0x2156a6+_0x3ff064(0x4b0)+_0x3b8477,_0x1ff09e=(await this[_0x3ff064(0x3a9)][_0x3ff064(0x2ec)](_0x5f2560))[_0x3ff064(0x1b8)],_0xb4096d=(_0x2c0cf9=_0x1ff09e[_0x3ff064(0x36f)])==null?void 0x0:_0x2c0cf9[_0x3ff064(0x330)];if(_0xb4096d){const _0x412366=_0xb4096d==null?void 0x0:_0xb4096d[_0x3ff064(0x2c9)],_0x346c51=m[_0x3ff064(0x287)][_0x3ff064(0x1f2)](m[_0x3ff064(0x2fe)](_0x412366));_0xb4096d[_0x3ff064(0x2c9)]=_0x346c51,Object['entries'](_0xb4096d[_0x3ff064(0x25e)])[_0x3ff064(0x3ee)](([,_0x3712d4])=>{var _0x2f3f88=_0x3ff064;const _0x1fa042=_0x3712d4[_0x2f3f88(0x2c9)],_0x558fc1=m['textEncoder']['encode'](m[_0x2f3f88(0x2fe)](_0x1fa042));_0x3712d4[_0x2f3f88(0x2c9)]=_0x558fc1;});}return _0x1ff09e;}async[_0x5d5117(0x45f)](_0x2872df,_0x198492){var _0x21bd33=_0x5d5117;const {unitID:_0x364808,type:_0x2062fd,blockID:_0x3cf6d3}=_0x198492,_0x3e462d=this[_0x21bd33(0x35a)]()+'/'+_0x2062fd+_0x21bd33(0x1d4)+_0x364808+_0x21bd33(0x20a)+_0x3cf6d3;return(await this[_0x21bd33(0x3a9)][_0x21bd33(0x2ec)](_0x3e462d))[_0x21bd33(0x1b8)];}async[_0x5d5117(0x2ee)](_0xc373e4,_0x4193e9){var _0x582e77=_0x5d5117;const {unitID:_0x592675,type:_0x134720,blockID:_0x4eec58}=_0x4193e9,_0xdbe525=this[_0x582e77(0x35a)]()+_0x582e77(0x20a)+_0x134720+_0x582e77(0x1d4)+_0x592675+_0x582e77(0x20a)+_0x4eec58;return(await this[_0x582e77(0x3a9)][_0x582e77(0x2ec)](_0xdbe525))['body'];}async[_0x5d5117(0x259)](_0x20557f,_0x124584){var _0x552bc2=_0x5d5117;const {unitID:_0x3191a5,type:_0x44034e,from:_0x58df41,to:_0xd2894c}=_0x124584,_0x14bdb1=this[_0x552bc2(0x35a)]()+'/'+_0x44034e+'/unit/'+_0x3191a5+_0x552bc2(0x3bc)+_0x58df41+_0x552bc2(0x1e5)+_0xd2894c;return(await this['_httpService'][_0x552bc2(0x2ec)](_0x14bdb1))['body'];}['getSnapshotAPIPath'](){var _0x2753bb=_0x5d5117,_0x2016c1;return(_0x2016c1=this[_0x2753bb(0x381)]['getConfig'](ft))!=null?_0x2016c1:this[_0x2753bb(0x35a)]();}[_0x5d5117(0x35a)](){var _0x3e98d2=_0x5d5117,_0x38cd0a,_0x25db94;const _0x7010d5=this['_configService'][_0x3e98d2(0x4c7)](vt),_0x1d7e6e=this['_configService'][_0x3e98d2(0x4c7)](Y);return(_0x25db94=(_0x38cd0a=_0x1d7e6e==null?void 0x0:_0x1d7e6e[_0x3e98d2(0x284)])!=null?_0x38cd0a:_0x7010d5)!=null?_0x25db94:Ht;}async[_0x5d5117(0x43d)](_0x17e437,_0x275383){var _0x4cfcc5=_0x5d5117;const _0x24b6d8=_0x4cfcc5(0x476)+_0x275383[_0x4cfcc5(0x189)]+_0x4cfcc5(0x1d4)+_0x275383[_0x4cfcc5(0x366)]+_0x4cfcc5(0x361);return(await this['_httpService'][_0x4cfcc5(0x2ec)](_0x24b6d8,{'params':{'resourceId':JSON[_0x4cfcc5(0x45d)](_0x275383[_0x4cfcc5(0x16d)])}}))['body'];}[_0x5d5117(0x304)](){var _0x2a741d=_0x5d5117;throw new Error(_0x2a741d(0x341));}[_0x5d5117(0x3d1)](){var _0x32de2c=_0x5d5117;throw new Error(_0x32de2c(0x341));}[_0x5d5117(0x226)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x5d5117(0x1dd)](){var _0x18b2f6=_0x5d5117;throw new Error(_0x18b2f6(0x341));}[_0x5d5117(0x2e5)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},exports[_0x5d5117(0x1be)]=zi([ut(0x0,a[_0x5d5117(0x1a7)]),ut(0x1,a[_0x5d5117(0x4e6)](q[_0x5d5117(0x42a)]))],exports['SnapshotServerOverHTTPService']);var Ji=Object[_0x5d5117(0x4c8)],Xi=Object[_0x5d5117(0x3d3)],Zi=(_0x2eb49a,_0x538ce4,_0x3ff1ba,_0x24511e)=>{var _0x5b36a4=_0x5d5117;for(var _0x56c0cb=_0x24511e>0x1?void 0x0:_0x24511e?Xi(_0x538ce4,_0x3ff1ba):_0x538ce4,_0x5517a4=_0x2eb49a[_0x5b36a4(0x33f)]-0x1,_0x2029fa;_0x5517a4>=0x0;_0x5517a4--)(_0x2029fa=_0x2eb49a[_0x5517a4])&&(_0x56c0cb=(_0x24511e?_0x2029fa(_0x538ce4,_0x3ff1ba,_0x56c0cb):_0x2029fa(_0x56c0cb))||_0x56c0cb);return _0x24511e&&_0x56c0cb&&Ji(_0x538ce4,_0x3ff1ba,_0x56c0cb),_0x56c0cb;},de=(_0x5ce2bd,_0x19f411)=>(_0x289eb5,_0x3bcec6)=>_0x19f411(_0x289eb5,_0x3bcec6,_0x5ce2bd);exports[_0x5d5117(0x4bc)]=class extends a['LocalUndoRedoService']{constructor(_0x1c524f,_0x549c41,_0x363501,_0xe0001c,_0x19cc9c){super(_0x1c524f,_0x549c41,_0x363501),this['_transformService']=_0xe0001c,this['_logService']=_0x19cc9c;}[_0x5d5117(0x3e0)](_0x56c753,_0xd9eb9){var _0x4dfc36=_0x5d5117;const _0x141824=this[_0x4dfc36(0x3e8)](_0x56c753);if(_0x141824)try{const _0x29d7d5=this[_0x4dfc36(0x469)](_0x141824,_0xd9eb9);this[_0x4dfc36(0x3b7)](_0x56c753,_0x29d7d5);}catch(_0x20928c){this[_0x4dfc36(0x2d0)][_0x4dfc36(0x293)](_0x4dfc36(0x1f8),_0x20928c),this[_0x4dfc36(0x233)](_0x56c753);}const _0x357c85=this['_getRedoStack'](_0x56c753);if(_0x357c85)try{const _0x585de7=this[_0x4dfc36(0x469)](_0x357c85,_0xd9eb9);this[_0x4dfc36(0x22b)](_0x56c753,_0x585de7);}catch(_0x3d7e6d){this[_0x4dfc36(0x2d0)][_0x4dfc36(0x293)](_0x3d7e6d),this[_0x4dfc36(0x4f3)](_0x56c753);}}['_clearUndo'](_0x3a0f6d){var _0x1c50e8=_0x5d5117;const _0x43d167=this['_getUndoStack'](_0x3a0f6d);_0x43d167&&(_0x43d167['length']=0x0,this[_0x1c50e8(0x496)]());}[_0x5d5117(0x4f3)](_0x1d8231){var _0x319e75=_0x5d5117;const _0x30fe9a=this[_0x319e75(0x30a)](_0x1d8231);_0x30fe9a&&(_0x30fe9a[_0x319e75(0x33f)]=0x0,this[_0x319e75(0x496)]());}[_0x5d5117(0x3b7)](_0x4f9a7c,_0xe47490){var _0x550f62=_0x5d5117;this[_0x550f62(0x29b)][_0x550f62(0x312)](_0x4f9a7c,_0xe47490),this['_updateStatus']();}[_0x5d5117(0x22b)](_0x27d321,_0x3cfb40){var _0x3b38e2=_0x5d5117;this[_0x3b38e2(0x326)][_0x3b38e2(0x312)](_0x27d321,_0x3cfb40),this[_0x3b38e2(0x496)]();}[_0x5d5117(0x469)](_0x33ae70,_0x1cf844){var _0x440bbe=_0x5d5117;const _0x2da8d1=[];let _0x2675d4=_0x1cf844,_0x285f17=_0x1cf844;for(let _0x5d080f=_0x33ae70[_0x440bbe(0x33f)]-0x1;_0x5d080f>=0x0;_0x5d080f--){const {unitID:_0x545884,undoMutations:_0x5e0f19,redoMutations:_0x14cd36}=_0x33ae70[_0x5d080f],_0x48a815=this['_transformService'][_0x440bbe(0x436)](_0x2675d4,_0x5e0f19),_0x281f79=this[_0x440bbe(0x23a)]['transformMutationsWithChangeset'](_0x285f17,_0x14cd36);if(m[_0x440bbe(0x314)](_0x48a815)||m[_0x440bbe(0x314)](_0x281f79)){this[_0x440bbe(0x2d0)][_0x440bbe(0x293)]('[CollaborationUndoRedoService]',_0x440bbe(0x397),_0x48a815,_0x281f79);break;}_0x2675d4=_0x48a815[_0x440bbe(0x3a6)],_0x285f17=_0x281f79[_0x440bbe(0x3a6)],_0x2da8d1[_0x440bbe(0x19a)]({'unitID':_0x545884,'undoMutations':_0x48a815[_0x440bbe(0x1e1)],'redoMutations':_0x281f79[_0x440bbe(0x1e1)]});}return _0x2da8d1[_0x440bbe(0x29e)]();}},exports[_0x5d5117(0x4bc)]=Zi([de(0x0,a[_0x5d5117(0x169)]),de(0x1,a[_0x5d5117(0x295)]),de(0x2,a[_0x5d5117(0x3ca)]),de(0x3,m['ITransformService']),de(0x4,a[_0x5d5117(0x218)])],exports[_0x5d5117(0x4bc)]);var Lt=Object[_0x5d5117(0x4c8)],Qi=Object[_0x5d5117(0x3d3)],er=(_0x2d3075,_0x5d4032,_0x4834eb)=>_0x5d4032 in _0x2d3075?Lt(_0x2d3075,_0x5d4032,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4834eb}):_0x2d3075[_0x5d4032]=_0x4834eb,tr=(_0x54b8c6,_0x10a2c6,_0xbe0a49,_0x3f6ddb)=>{var _0x3903a3=_0x5d5117;for(var _0x5c61ad=_0x3f6ddb>0x1?void 0x0:_0x3f6ddb?Qi(_0x10a2c6,_0xbe0a49):_0x10a2c6,_0x266d6d=_0x54b8c6[_0x3903a3(0x33f)]-0x1,_0x10674c;_0x266d6d>=0x0;_0x266d6d--)(_0x10674c=_0x54b8c6[_0x266d6d])&&(_0x5c61ad=(_0x3f6ddb?_0x10674c(_0x10a2c6,_0xbe0a49,_0x5c61ad):_0x10674c(_0x5c61ad))||_0x5c61ad);return _0x3f6ddb&&_0x5c61ad&&Lt(_0x10a2c6,_0xbe0a49,_0x5c61ad),_0x5c61ad;},je=(_0x3b92a3,_0x444291)=>(_0x2647ff,_0x21d729)=>_0x444291(_0x2647ff,_0x21d729,_0x3b92a3),nr=(_0x5a3048,_0x56f517,_0x6aeffe)=>er(_0x5a3048,_0x56f517+'',_0x6aeffe);const ir=_0x5d5117(0x201);exports['UniverCollaborationClientPlugin']=class extends a[_0x5d5117(0x1fa)]{constructor(_0x591e3e=Ke,_0x29f445,_0x1af512,_0x32fb98){var _0x16f0aa=_0x5d5117;super(),this['_config']=_0x591e3e,this[_0x16f0aa(0x2d0)]=_0x29f445,this[_0x16f0aa(0x238)]=_0x1af512,this['_configService']=_0x32fb98;const {..._0xdd4ddf}=a[_0x16f0aa(0x1bd)]({},Ke,this['_config']);this[_0x16f0aa(0x381)][_0x16f0aa(0x445)](Y,_0xdd4ddf);}[_0x5d5117(0x1e8)](){var _0x536811=_0x5d5117;this[_0x536811(0x480)](),this['_initDependencies']();}[_0x5d5117(0x480)](){var _0x9fa6f4=_0x5d5117,_0x337465,_0x25acfb,_0x2facc5,_0x3a5717;this['_injector']['has'](a['IUndoRedoService'])&&this[_0x9fa6f4(0x2d0)][_0x9fa6f4(0x293)](_0x9fa6f4(0x3b5),_0x9fa6f4(0x1ff));const _0x5dae8a=a['mergeOverrideWithDependencies']([[a[_0x9fa6f4(0x2ff)],{'useClass':exports['CollaborativeUndoRedoService']}],[exports[_0x9fa6f4(0x36d)]],[exports[_0x9fa6f4(0x30f)]],[exports[_0x9fa6f4(0x451)]],[ye],[Ne],[Be],[Ue],[te],[exports['DataLoaderService']],[ke,{'useClass':(_0x25acfb=(_0x337465=this['_config'])==null?void 0x0:_0x337465[_0x9fa6f4(0x384)])!=null?_0x25acfb:exports[_0x9fa6f4(0x174)]}],[m[_0x9fa6f4(0x2ba)],{'useClass':exports[_0x9fa6f4(0x1be)]}],[a[_0x9fa6f4(0x18a)],{'useClass':exports[_0x9fa6f4(0x4a2)]}],[X[_0x9fa6f4(0x3a2)],{'useClass':exports['CollaborationImageIoService']}],[a[_0x9fa6f4(0x202)],{'useClass':exports[_0x9fa6f4(0x23c)]}],[exports[_0x9fa6f4(0x1b5)]],[$e]],(_0x2facc5=this['_config'])==null?void 0x0:_0x2facc5[_0x9fa6f4(0x3f2)]);if(!((_0x3a5717=this[_0x9fa6f4(0x427)])!=null&&_0x3a5717[_0x9fa6f4(0x271)])){const _0x2be2c9=_0x5dae8a[_0x9fa6f4(0x229)](([_0x3cd208])=>_0x3cd208===ve);_0x2be2c9!==-0x1&&_0x5dae8a[_0x9fa6f4(0x37e)](_0x2be2c9,0x1);}a[_0x9fa6f4(0x317)](this[_0x9fa6f4(0x238)],_0x5dae8a);}['_initDependencies'](){var _0x14cef1=_0x5d5117,_0x3bd934,_0xcedb1e,_0xf33b2f;this[_0x14cef1(0x238)]['get'](q['HTTPService'])[_0x14cef1(0x4cd)]({'priority':0x14,'interceptor':q[_0x14cef1(0x4ca)]({'maxParallel':0x6})}),(_0x3bd934=this[_0x14cef1(0x427)])!=null&&_0x3bd934[_0x14cef1(0x4b1)]||(_0xcedb1e=this[_0x14cef1(0x238)][_0x14cef1(0x2ec)](z,a[_0x14cef1(0x28a)]['OPTIONAL']))==null||_0xcedb1e[_0x14cef1(0x25c)](),(_0xf33b2f=this[_0x14cef1(0x427)])!=null&&_0xf33b2f[_0x14cef1(0x3f3)]&&a[_0x14cef1(0x48c)](this['_injector'],[[ye]]),a[_0x14cef1(0x48c)](this[_0x14cef1(0x238)],[[Ne],[exports[_0x14cef1(0x1b5)]],[Ue]]);}},nr(exports[_0x5d5117(0x2f8)],_0x5d5117(0x264),ir),exports[_0x5d5117(0x2f8)]=tr([a[_0x5d5117(0x1f9)](m[_0x5d5117(0x1ac)],J[_0x5d5117(0x49b)],q[_0x5d5117(0x438)]),je(0x1,a[_0x5d5117(0x218)]),je(0x2,a[_0x5d5117(0x4e6)](a[_0x5d5117(0x315)])),je(0x3,a[_0x5d5117(0x1a7)])],exports[_0x5d5117(0x2f8)]),exports['AUTHZ_URL_KEY']=Ve,exports['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']=Y,exports[_0x5d5117(0x38a)]=Et,exports[_0x5d5117(0x306)]=St,exports['CollaborationStatus']=We,exports[_0x5d5117(0x21f)]=Q,exports['CollaborationUIEventService']=te,exports[_0x5d5117(0x443)]=Be,exports['DEFAULT_COLLAB_WEB_SOCKET_URL']=pt,exports[_0x5d5117(0x4b9)]=Xt,exports[_0x5d5117(0x21e)]=mt,exports[_0x5d5117(0x3eb)]=He,exports[_0x5d5117(0x471)]=ke,exports[_0x5d5117(0x2cb)]=z,exports[_0x5d5117(0x183)]=Rt,exports[_0x5d5117(0x329)]=ve,exports[_0x5d5117(0x449)]=Yt,exports[_0x5d5117(0x2e2)]=Kt,exports[_0x5d5117(0x1b4)]=Ct,exports[_0x5d5117(0x4d5)]=Jt,exports[_0x5d5117(0x1c7)]=It,exports['SEND_CHANGESET_TIMEOUT_KEY']=kt,exports[_0x5d5117(0x395)]=vt,exports[_0x5d5117(0x243)]=ft,exports['SessionStatus']=se,exports[_0x5d5117(0x457)]=Fe,exports[_0x5d5117(0x3d6)]=Ot,exports[_0x5d5117(0x26a)]=In,exports['serializeCombRequest']=yt;
1
+ 'use strict';var _0x23fcf5=_0x4d81;(function(_0x47f884,_0x1976fb){var _0x501263=_0x4d81,_0x3f1a58=_0x47f884();while(!![]){try{var _0x5c8615=parseInt(_0x501263(0x179))/0x1+parseInt(_0x501263(0x3d8))/0x2+-parseInt(_0x501263(0x21c))/0x3*(-parseInt(_0x501263(0x27b))/0x4)+-parseInt(_0x501263(0x2cd))/0x5+-parseInt(_0x501263(0x414))/0x6+parseInt(_0x501263(0x42a))/0x7*(parseInt(_0x501263(0x2f1))/0x8)+-parseInt(_0x501263(0x1af))/0x9*(-parseInt(_0x501263(0x366))/0xa);if(_0x5c8615===_0x1976fb)break;else _0x3f1a58['push'](_0x3f1a58['shift']());}catch(_0x2c92ba){_0x3f1a58['push'](_0x3f1a58['shift']());}}}(_0x8269,0xd599f));var Mt=Object['defineProperty'],xt=(_0x310528,_0x5236e4,_0x3149ad)=>_0x5236e4 in _0x310528?Mt(_0x310528,_0x5236e4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3149ad}):_0x310528[_0x5236e4]=_0x3149ad,D=(_0x382afa,_0x525cde,_0x996efd)=>xt(_0x382afa,typeof _0x525cde!=_0x23fcf5(0x428)?_0x525cde+'':_0x525cde,_0x996efd);Object[_0x23fcf5(0x14d)](exports,Symbol[_0x23fcf5(0x1ac)],{'value':_0x23fcf5(0x3a8)});const a=require('@univerjs/core'),H=require(_0x23fcf5(0x258)),W=require('rxjs/operators'),q=require(_0x23fcf5(0x182)),m=require('@univerjs-pro/collaboration'),jt=require(_0x23fcf5(0x1e0)),dt=require(_0x23fcf5(0x181)),J=require(_0x23fcf5(0x3c9)),X=require(_0x23fcf5(0x232)),$t=require('@univerjs-pro/license'),vt=_0x23fcf5(0x352),Ht=_0x23fcf5(0x339),ft=_0x23fcf5(0x42c),kt=_0x23fcf5(0xdd),Bt=0x7d0,St=_0x23fcf5(0x3ad),pt='ws://127.0.0.1:8000/universer-api/comb/connect',Ft=_0x23fcf5(0x434),mt='HEARTBEAT_INTERVAL',Wt=0x7530,He=_0x23fcf5(0x214),gt=0x4e20,Gt=0x4e20,It=_0x23fcf5(0x126),Vt=0x3,Kt=_0x23fcf5(0x2eb),Yt=0x3e8,Et=_0x23fcf5(0x436),qt='/universer-api/comb',Ct='LOGIN_URL_KEY',zt=_0x23fcf5(0x2be),Jt=_0x23fcf5(0x2b8),Xt=_0x23fcf5(0x1fb);var Tt=(_0x426de9=>(_0x426de9[_0x426de9[_0x23fcf5(0x102)]=0x0]=_0x23fcf5(0x102),_0x426de9[_0x426de9['OK']=0x1]='OK',_0x426de9[_0x426de9['INTERNAL_ERROR']=0x2]=_0x23fcf5(0x33f),_0x426de9[_0x426de9['PERMISSION_DENIED']=0x3]=_0x23fcf5(0x371),_0x426de9[_0x426de9[_0x23fcf5(0x2d1)]=0x4]=_0x23fcf5(0x2d1),_0x426de9[_0x426de9[_0x23fcf5(0x211)]=0x5]='UNAUTHENTICATED',_0x426de9[_0x426de9['ALREADY_EXISTS']=0x6]=_0x23fcf5(0x137),_0x426de9[_0x426de9[_0x23fcf5(0x2c0)]=0x7]=_0x23fcf5(0x2c0),_0x426de9[_0x426de9[_0x23fcf5(0x11d)]=0x8]=_0x23fcf5(0x11d),_0x426de9[_0x426de9[_0x23fcf5(0x1d1)]=0x9]=_0x23fcf5(0x1d1),_0x426de9[_0x426de9[_0x23fcf5(0x43e)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x426de9[_0x426de9[_0x23fcf5(0x2a8)]=0x1771]=_0x23fcf5(0x2a8),_0x426de9[_0x426de9[_0x23fcf5(0x2c1)]=0x1772]=_0x23fcf5(0x2c1),_0x426de9[_0x426de9[_0x23fcf5(0x302)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x426de9[_0x426de9[_0x23fcf5(0x341)]=0x1b59]='APPLY_REJECT',_0x426de9[_0x426de9['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x23fcf5(0x15c),_0x426de9[_0x426de9[_0x23fcf5(0x20f)]=0x1b5b]=_0x23fcf5(0x20f),_0x426de9[_0x426de9[_0x23fcf5(0x2a1)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x426de9[_0x426de9[_0x23fcf5(0x396)]=0x1b5d]=_0x23fcf5(0x396),_0x426de9[_0x426de9[_0x23fcf5(0xe1)]=0x1f41]=_0x23fcf5(0xe1),_0x426de9[_0x426de9[_0x23fcf5(0x365)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x426de9[_0x426de9['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x23fcf5(0x135),_0x426de9[_0x426de9['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x23fcf5(0x3d6),_0x426de9[_0x426de9[_0x23fcf5(0x148)]=0x232c]=_0x23fcf5(0x148),_0x426de9[_0x426de9['LICENSE_DISTRO_REJECTED']=0x232d]=_0x23fcf5(0x3c1),_0x426de9[_0x426de9[_0x23fcf5(0x1e1)]=0x2711]=_0x23fcf5(0x1e1),_0x426de9[_0x426de9['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x23fcf5(0x113),_0x426de9[_0x426de9[_0x23fcf5(0x1b6)]=0x2713]=_0x23fcf5(0x1b6),_0x426de9[_0x426de9['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x23fcf5(0x168),_0x426de9[_0x426de9[_0x23fcf5(0x1ff)]=0x2af9]=_0x23fcf5(0x1ff),_0x426de9[_0x426de9[_0x23fcf5(0x2bc)]=-0x1]=_0x23fcf5(0x2bc),_0x426de9))(Tt||{}),Z=(_0x4e0a43=>(_0x4e0a43[_0x4e0a43[_0x23fcf5(0x169)]=0x0]=_0x23fcf5(0x169),_0x4e0a43[_0x4e0a43['UNIVER_DOC']=0x1]=_0x23fcf5(0x19a),_0x4e0a43[_0x4e0a43[_0x23fcf5(0x1b5)]=0x2]=_0x23fcf5(0x1b5),_0x4e0a43[_0x4e0a43[_0x23fcf5(0x3ef)]=0x3]='UNIVER_SLIDE',_0x4e0a43[_0x4e0a43[_0x23fcf5(0x3be)]=0x4]=_0x23fcf5(0x3be),_0x4e0a43[_0x4e0a43[_0x23fcf5(0x2bc)]=-0x1]='UNRECOGNIZED',_0x4e0a43))(Z||{}),G=(_0x500b10=>(_0x500b10[_0x500b10['UNKNOWN_CMD']=0x0]=_0x23fcf5(0x42e),_0x500b10[_0x500b10['HELLO']=0x1]=_0x23fcf5(0x455),_0x500b10[_0x500b10[_0x23fcf5(0x209)]=0x2]=_0x23fcf5(0x209),_0x500b10[_0x500b10[_0x23fcf5(0x385)]=0x3]=_0x23fcf5(0x385),_0x500b10[_0x500b10[_0x23fcf5(0x3c2)]=0x4]=_0x23fcf5(0x3c2),_0x500b10[_0x500b10[_0x23fcf5(0x2c4)]=0x5]='HEARTBEAT',_0x500b10[_0x500b10[_0x23fcf5(0x14e)]=0x6]='RECV',_0x500b10[_0x500b10[_0x23fcf5(0x2bc)]=-0x1]='UNRECOGNIZED',_0x500b10))(G||{}),he=(_0x40fb4f=>(_0x40fb4f[_0x40fb4f[_0x23fcf5(0x1b7)]=0x0]='UNKNOWN_CODE',_0x40fb4f[_0x40fb4f['OK']=0x1]='OK',_0x40fb4f[_0x40fb4f[_0x23fcf5(0x444)]=0x2]=_0x23fcf5(0x444),_0x40fb4f[_0x40fb4f[_0x23fcf5(0x38f)]=0x3e9]=_0x23fcf5(0x38f),_0x40fb4f[_0x40fb4f['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x23fcf5(0x29d),_0x40fb4f[_0x40fb4f[_0x23fcf5(0x243)]=0x3eb]=_0x23fcf5(0x243),_0x40fb4f[_0x40fb4f[_0x23fcf5(0x3c0)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x40fb4f[_0x40fb4f['UNRECOGNIZED']=-0x1]=_0x23fcf5(0x2bc),_0x40fb4f))(he||{}),bt=(_0xdef417=>(_0xdef417[_0xdef417['Undefined']=0x0]=_0x23fcf5(0x183),_0xdef417[_0xdef417[_0x23fcf5(0x117)]=0x1]=_0x23fcf5(0x117),_0xdef417[_0xdef417[_0x23fcf5(0x197)]=0x2]=_0x23fcf5(0x197),_0xdef417[_0xdef417[_0x23fcf5(0x23f)]=0x3]=_0x23fcf5(0x23f),_0xdef417[_0xdef417['UnitSnapshot']=0x4]='UnitSnapshot',_0xdef417[_0xdef417['UNRECOGNIZED']=-0x1]=_0x23fcf5(0x2bc),_0xdef417))(bt||{});const Y='collaboration-client.config',Ke={};var Q=(_0x5cbc46=>(_0x5cbc46[_0x23fcf5(0x2aa)]=_0x23fcf5(0x2aa),_0x5cbc46[_0x23fcf5(0x371)]=_0x23fcf5(0x371),_0x5cbc46['CONFLICT']=_0x23fcf5(0x41f),_0x5cbc46[_0x23fcf5(0x1e2)]=_0x23fcf5(0x1e2),_0x5cbc46[_0x23fcf5(0x1f1)]=_0x23fcf5(0x1f1),_0x5cbc46['SOCKET_FAILED_RETRY']='SOCKET_FAILED_RETRY',_0x5cbc46[_0x23fcf5(0x141)]='SOCKET_FAILED',_0x5cbc46[_0x23fcf5(0x23b)]=_0x23fcf5(0x23b),_0x5cbc46))(Q||{});class te{constructor(){var _0x2695c1=_0x23fcf5;D(this,_0x2695c1(0x451),new H[(_0x2695c1(0x227))]()),D(this,_0x2695c1(0x3d4),this['_event$']['asObservable']());}[_0x23fcf5(0x427)](_0x23fd8e){var _0x5f44bc=_0x23fcf5;this[_0x5f44bc(0x451)][_0x5f44bc(0x275)](_0x23fd8e);}}const Rt=a[_0x23fcf5(0xec)]('univer-pro.collaboration-client.network-condition.service');function Ot(_0x246eda){var _0xf7f9da=_0x23fcf5,_0x5ae6de,_0x16bba8,_0x367d8,_0x10efb0,_0x3abb09;const _0x37cbcb=_0x246eda['data'],_0x156e13=JSON['parse'](_0x37cbcb);switch(_0x156e13[_0xf7f9da(0x37e)]){case G[_0xf7f9da(0x2c4)]:case G['HELLO']:{const _0x5155b1=_0x156e13[_0xf7f9da(0x23d)];return{..._0x156e13,'data':_0x5155b1,'cmd':_0x156e13[_0xf7f9da(0x37e)]};}case G[_0xf7f9da(0x209)]:{const _0x383633=_0x156e13[_0xf7f9da(0x255)];return{..._0x156e13,'data':_0x383633,'cmd':_0x156e13[_0xf7f9da(0x37e)]};}case G[_0xf7f9da(0x14e)]:{const _0xf4f102=_0x156e13[_0xf7f9da(0xff)];switch(_0xf4f102[_0xf7f9da(0x21b)]){case m[_0xf7f9da(0x2b5)][_0xf7f9da(0x158)]:return{..._0x156e13,'data':{..._0xf4f102,'data':(_0x5ae6de=_0xf4f102['permissionRejEvent'])==null?void 0x0:_0x5ae6de['cs']},'cmd':_0x156e13[_0xf7f9da(0x37e)]};case m[_0xf7f9da(0x2b5)][_0xf7f9da(0x3d5)]:return{..._0x156e13,'data':{..._0xf4f102,'data':(_0x16bba8=_0xf4f102[_0xf7f9da(0x1dc)])==null?void 0x0:_0x16bba8['cs']},'cmd':_0x156e13[_0xf7f9da(0x37e)]};case m[_0xf7f9da(0x2b5)][_0xf7f9da(0x2cc)]:return{..._0x156e13,'data':{..._0xf4f102,'data':(_0x367d8=_0xf4f102['newCsEvent'])==null?void 0x0:_0x367d8['cs']},'cmd':_0x156e13[_0xf7f9da(0x37e)]};case m['CollaborationEvent']['CHANGESET_REJ']:return{..._0x156e13,'data':{..._0xf4f102,'data':(_0x10efb0=_0xf4f102['csRejEvent'])==null?void 0x0:_0x10efb0['cs']},'cmd':_0x156e13[_0xf7f9da(0x37e)]};case m[_0xf7f9da(0x2b5)][_0xf7f9da(0x156)]:return{..._0x156e13,'data':{..._0xf4f102,'data':(_0x3abb09=_0xf4f102['csShouldRetryEvent'])==null?void 0x0:_0x3abb09['cs']},'cmd':_0x156e13[_0xf7f9da(0x37e)]};case m[_0xf7f9da(0x2b5)]['UPDATE_CURSOR']:return{..._0x156e13,'data':{..._0xf4f102,'data':_0xf4f102['updateCursorEvent']},'cmd':_0x156e13[_0xf7f9da(0x37e)]};case m[_0xf7f9da(0x2b5)][_0xf7f9da(0x1c5)]:return{..._0x156e13,'data':{..._0xf4f102,'data':_0xf4f102[_0xf7f9da(0x3b3)]},'cmd':_0x156e13['cmd']};case m[_0xf7f9da(0x2b5)][_0xf7f9da(0x16e)]:return{..._0x156e13,'data':{..._0xf4f102,'data':_0xf4f102[_0xf7f9da(0x2e0)]},'cmd':_0x156e13['cmd']};case m[_0xf7f9da(0x2b5)]['LIVESHARE_NEW_HOST']:return{..._0x156e13,'data':{..._0xf4f102,'data':_0xf4f102[_0xf7f9da(0x3cc)]},'cmd':_0x156e13[_0xf7f9da(0x37e)]};case m['CollaborationEvent'][_0xf7f9da(0x21e)]:case m[_0xf7f9da(0x2b5)][_0xf7f9da(0x13a)]:return{..._0x156e13,'data':{..._0xf4f102,'data':_0xf4f102[_0xf7f9da(0x398)]},'cmd':_0x156e13[_0xf7f9da(0x37e)]};case m[_0xf7f9da(0x2b5)][_0xf7f9da(0x221)]:return{..._0x156e13,'data':{..._0xf4f102,'data':_0xf4f102[_0xf7f9da(0x3cc)]},'cmd':_0x156e13[_0xf7f9da(0x37e)]};case m[_0xf7f9da(0x2b5)][_0xf7f9da(0xfd)]:return{..._0x156e13,'data':_0xf4f102,'cmd':_0x156e13['cmd']};case m[_0xf7f9da(0x2b5)][_0xf7f9da(0x10e)]:return{..._0x156e13,'data':{..._0xf4f102,'data':_0xf4f102['commentUpdateEvent']},'cmd':_0x156e13[_0xf7f9da(0x37e)]};case m[_0xf7f9da(0x2b5)]['UPDATE_PERMISSION_OBJ']:return{..._0x156e13,'data':{..._0xf4f102,'data':_0xf4f102[_0xf7f9da(0x421)]},'cmd':_0x156e13['cmd']};case m[_0xf7f9da(0x2b5)][_0xf7f9da(0x28f)]:return{..._0x156e13,'data':{..._0xf4f102,'data':_0xf4f102[_0xf7f9da(0x430)]},'cmd':_0x156e13['cmd']};case m[_0xf7f9da(0x2b5)][_0xf7f9da(0x356)]:return{..._0x156e13,'data':{..._0xf4f102,'data':_0xf4f102[_0xf7f9da(0x293)]},'cmd':_0x156e13['cmd']};default:return _0x156e13;}}default:return _0x156e13;}}function yt(_0x3ec91c){var _0x1f384d=_0x23fcf5;switch(_0x3ec91c[_0x1f384d(0x37e)]){case G[_0x1f384d(0x2c4)]:case G[_0x1f384d(0x455)]:return JSON[_0x1f384d(0x19e)]({'cmd':_0x3ec91c[_0x1f384d(0x37e)],'routeKey':_0x3ec91c[_0x1f384d(0x199)]});case G[_0x1f384d(0x3c2)]:{let _0x3df7b9;switch(_0x3ec91c[_0x1f384d(0x406)][_0x1f384d(0x21b)]){case m[_0x1f384d(0x2b5)][_0x1f384d(0x27e)]:{_0x3df7b9={'eventID':m[_0x1f384d(0x2b5)][_0x1f384d(0x27e)],'updateCursorEvent':_0x3ec91c[_0x1f384d(0x406)][_0x1f384d(0x406)]};break;}case m['CollaborationEvent']['USERS_LEAVE']:{_0x3df7b9={'eventID':m[_0x1f384d(0x2b5)][_0x1f384d(0x16e)],'leaveEvent':_0x3ec91c['data'][_0x1f384d(0x406)]};break;}case m[_0x1f384d(0x2b5)][_0x1f384d(0x1c5)]:{_0x3df7b9={'eventID':m[_0x1f384d(0x2b5)][_0x1f384d(0x1c5)],'joinEvent':_0x3ec91c[_0x1f384d(0x406)][_0x1f384d(0x406)]};break;}case m['CollaborationEvent'][_0x1f384d(0x3f7)]:{_0x3df7b9={'eventID':m['CollaborationEvent']['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x3ec91c[_0x1f384d(0x406)]['data']};break;}case m[_0x1f384d(0x2b5)][_0x1f384d(0x13a)]:{_0x3df7b9={'eventID':m['CollaborationEvent'][_0x1f384d(0x13a)],'liveShareOperation':_0x3ec91c['data'][_0x1f384d(0x406)]};break;}case m[_0x1f384d(0x2b5)][_0x1f384d(0x221)]:{_0x3df7b9={'eventID':m[_0x1f384d(0x2b5)][_0x1f384d(0x221)],'liveShareTerminate':_0x3ec91c[_0x1f384d(0x406)][_0x1f384d(0x406)]};break;}case m[_0x1f384d(0x2b5)][_0x1f384d(0x3bd)]:{_0x3df7b9={'eventID':m[_0x1f384d(0x2b5)][_0x1f384d(0x3bd)],'liveShareRequestHost':_0x3ec91c[_0x1f384d(0x406)][_0x1f384d(0x406)]};break;}case m['CollaborationEvent'][_0x1f384d(0x21e)]:{_0x3df7b9={'eventID':m['CollaborationEvent'][_0x1f384d(0x21e)]};break;}default:_0x3df7b9={'eventID':_0x3ec91c['data'][_0x1f384d(0x21b)]};}return JSON[_0x1f384d(0x19e)]({'cmd':_0x3ec91c[_0x1f384d(0x37e)],'routeKey':_0x3ec91c[_0x1f384d(0x199)],'collaMsg':_0x3df7b9});}case G[_0x1f384d(0x209)]:return JSON[_0x1f384d(0x19e)]({'cmd':_0x3ec91c[_0x1f384d(0x37e)],'routeKey':_0x3ec91c[_0x1f384d(0x199)],'joinReq':_0x3ec91c[_0x1f384d(0x406)]});case G[_0x1f384d(0x385)]:return JSON['stringify']({'cmd':_0x3ec91c[_0x1f384d(0x37e)],'routeKey':_0x3ec91c[_0x1f384d(0x199)],'leaveReq':_0x3ec91c['data']});default:throw new Error(_0x1f384d(0xd9));}}var Zt=Object[_0x23fcf5(0x14d)],Qt=Object['getOwnPropertyDescriptor'],en=(_0x317046,_0xa7170b,_0x5c26c5,_0x53e854)=>{for(var _0x41bbba=_0x53e854>0x1?void 0x0:_0x53e854?Qt(_0xa7170b,_0x5c26c5):_0xa7170b,_0x290883=_0x317046['length']-0x1,_0x522140;_0x290883>=0x0;_0x290883--)(_0x522140=_0x317046[_0x290883])&&(_0x41bbba=(_0x53e854?_0x522140(_0xa7170b,_0x5c26c5,_0x41bbba):_0x522140(_0x41bbba))||_0x41bbba);return _0x53e854&&_0x41bbba&&Zt(_0xa7170b,_0x5c26c5,_0x41bbba),_0x41bbba;},ue=(_0xfb635a,_0x1823fb)=>(_0x78a424,_0x2b239e)=>_0x1823fb(_0x78a424,_0x2b239e,_0xfb635a);function _0x4d81(_0x57f05e,_0x4bb727){var _0x82696d=_0x8269();return _0x4d81=function(_0x4d8157,_0x449739){_0x4d8157=_0x4d8157-0xd4;var _0x11cfc9=_0x82696d[_0x4d8157];return _0x11cfc9;},_0x4d81(_0x57f05e,_0x4bb727);}const ke=a[_0x23fcf5(0xec)](_0x23fcf5(0x376));function tn(_0x10b088,_0x5d160f,_0x3c17d9){var _0x24ecc5=_0x23fcf5;return _0x10b088+'/'+_0x5d160f+_0x24ecc5(0x17d)+_0x3c17d9+_0x24ecc5(0x333);}exports[_0x23fcf5(0x2e7)]=class extends a[_0x23fcf5(0x367)]{constructor(_0x27dc70,_0x46ffb1,_0x158e0b,_0x487dd,_0x214ee8){var _0x1d766b=_0x23fcf5;super(),this[_0x1d766b(0x305)]=_0x27dc70,this[_0x1d766b(0x327)]=_0x46ffb1,this[_0x1d766b(0x194)]=_0x158e0b,this[_0x1d766b(0x447)]=_0x487dd,this[_0x1d766b(0x1ab)]=_0x214ee8;}[_0x23fcf5(0x1e4)](_0x4fd16e){var _0x29d140=_0x23fcf5;const _0x3ce6fc=this[_0x29d140(0x305)][_0x29d140(0x11c)](q[_0x29d140(0x409)]);if(!_0x3ce6fc)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x591296=_0x3ce6fc[_0x29d140(0x1e4)](_0x4fd16e);if(!_0x591296)throw new Error(_0x29d140(0xe0));const _0x3b5c04=new a[(_0x29d140(0x20a))](),_0x6d1298=new H[(_0x29d140(0x227))]();_0x3b5c04[_0x29d140(0x440)](_0x591296[_0x29d140(0x18c)]['subscribe'](_0x3416d6=>_0x6d1298[_0x29d140(0x275)](_0x3416d6))),_0x3b5c04['add'](a[_0x29d140(0x219)](()=>_0x6d1298[_0x29d140(0x410)]()));const _0x1f5ef3=new H[(_0x29d140(0x227))]();_0x3b5c04[_0x29d140(0x440)](_0x591296[_0x29d140(0x38a)]['subscribe'](_0x3e0ef3=>_0x1f5ef3['next'](_0x3e0ef3))),_0x3b5c04['add'](a[_0x29d140(0x219)](()=>_0x1f5ef3['complete']()));const _0x2c425a=new H[(_0x29d140(0x227))]();_0x3b5c04[_0x29d140(0x440)](_0x591296[_0x29d140(0x31e)][_0x29d140(0x332)](_0x305418=>{var _0x3ed2fc=_0x29d140;const _0x1b6c47=Ot(_0x305418);_0x2c425a[_0x3ed2fc(0x275)](_0x1b6c47);})),_0x3b5c04[_0x29d140(0x440)](a[_0x29d140(0x219)](()=>_0x2c425a[_0x29d140(0x410)]()));let _0x180acc;const _0x216251=()=>{var _0xbb88e2=_0x29d140;_0x1f5ef3[_0xbb88e2(0x275)](new Event(_0xbb88e2(0x271))),_0x6d1298[_0xbb88e2(0x275)](new CloseEvent(_0xbb88e2(0x271))),_0x180acc['close']();};return _0x180acc={'memberID':'','close$':_0x6d1298['asObservable'](),'error$':_0x1f5ef3[_0x29d140(0x1cf)](),'open$':_0x591296['open$'],'message$':_0x2c425a[_0x29d140(0x1cf)](),'send':_0x3abd39=>{var _0x4353d4=_0x29d140;if(_0x3abd39[_0x4353d4(0x37e)]===G[_0x4353d4(0x3c2)]){if(_0x3abd39[_0x4353d4(0x406)][_0x4353d4(0x21b)]===m[_0x4353d4(0x2b5)][_0x4353d4(0x1c1)]){this['_submitChangeset'](_0x180acc,_0x3abd39[_0x4353d4(0x406)])[_0x4353d4(0x13f)](_0x18ceb9=>{var _0x45443c=_0x4353d4;this[_0x45443c(0x447)][_0x45443c(0x39b)](_0x18ceb9),_0x216251();});return;}if(_0x3abd39[_0x4353d4(0x406)][_0x4353d4(0x21b)]===m['CollaborationEvent'][_0x4353d4(0x2a7)]){const _0x1554d4=_0x3abd39[_0x4353d4(0x406)];this[_0x4353d4(0x278)](_0x1554d4)[_0x4353d4(0x116)](_0x12f8f4=>{var _0x27e7ff=_0x4353d4;_0x2c425a[_0x27e7ff(0x275)]({'cmd':G[_0x27e7ff(0x14e)],'code':he['OK'],'routeKey':_0x1554d4[_0x27e7ff(0x406)][_0x27e7ff(0x134)],'routeType':'','data':{'eventID':m[_0x27e7ff(0x2b5)][_0x27e7ff(0x17a)],'data':{'changesets':_0x12f8f4}}});})[_0x4353d4(0x13f)](_0x54307c=>{var _0x277d74=_0x4353d4;this[_0x277d74(0x447)][_0x277d74(0x39b)](_0x54307c),_0x216251();});return;}}_0x591296[_0x4353d4(0x2b3)](yt(_0x3abd39));},'close':()=>{var _0x3e7186=_0x29d140;_0x591296['close'](),_0x3b5c04[_0x3e7186(0x27d)]();}},_0x180acc;}async['_submitChangeset'](_0x168a87,_0x4aecf7){var _0x1396cc=_0x23fcf5,_0x10f5fd,_0x5e3f5b;const {unitType:_0x3c1640,unitID:_0x5e2e82,changeset:_0x52a8a5}=_0x4aecf7[_0x1396cc(0x406)],_0x18a71e={'unitID':_0x5e2e82,'memberID':_0x168a87[_0x1396cc(0x2d0)],'type':_0x3c1640,'changeset':m[_0x1396cc(0x3e5)](_0x52a8a5)},_0x40bb8b=this[_0x1396cc(0x194)][_0x1396cc(0x3d1)](Et),_0x495b8d=this[_0x1396cc(0x194)][_0x1396cc(0x3d1)](Y),_0x3439b6=tn((_0x5e3f5b=(_0x10f5fd=_0x495b8d==null?void 0x0:_0x495b8d[_0x1396cc(0x274)])!=null?_0x10f5fd:_0x40bb8b)!=null?_0x5e3f5b:qt,_0x3c1640,_0x5e2e82);try{await this[_0x1396cc(0x327)]['post'](_0x3439b6,{'body':_0x18a71e});}catch(_0x2dc390){throw this['_logService'][_0x1396cc(0x39b)]('[CollaborationSession]',_0x1396cc(0x18e)),_0x2dc390;}}async[_0x23fcf5(0x278)](_0x342fb6){var _0x33c0e9=_0x23fcf5;const {unitID:_0x22586d,from:_0x1703f4,to:_0x1e404d,unitType:_0x29dcfe}=_0x342fb6[_0x33c0e9(0x406)];return(await this['_snapshotServerService'][_0x33c0e9(0x438)]({'metadata':void 0x0},{'unitID':_0x22586d,'type':_0x29dcfe,'from':_0x1703f4,'to':_0x1e404d}))['changesets'];}},exports['CollaborationSocketService']=en([ue(0x0,a[_0x23fcf5(0x11a)](a['Injector'])),ue(0x1,a[_0x23fcf5(0x11a)](q['HTTPService'])),ue(0x2,a[_0x23fcf5(0x17e)]),ue(0x3,a[_0x23fcf5(0x21d)]),ue(0x4,m[_0x23fcf5(0x3e3)])],exports['CollaborationSocketService']);const nn=_0x23fcf5(0x1f4);function rn(_0xcae29){var _0x1ab5f1=_0x23fcf5;return JSON[_0x1ab5f1(0x19e)](_0xcae29)['length'];}class Be{constructor(){var _0x38dc4a=_0x23fcf5;D(this,_0x38dc4a(0x3ec),new H[(_0x38dc4a(0x227))]()),D(this,_0x38dc4a(0x30d),this['_commentUpdate$'][_0x38dc4a(0x1cf)]());}[_0x23fcf5(0x123)](_0x301e05){var _0x59812d=_0x23fcf5;this[_0x59812d(0x3ec)]['next'](_0x301e05);}}var sn=Object[_0x23fcf5(0x14d)],on=Object[_0x23fcf5(0x291)],an=(_0x10be44,_0x429f26,_0x312d57,_0x1271fa)=>{var _0x267686=_0x23fcf5;for(var _0x18e0d5=_0x1271fa>0x1?void 0x0:_0x1271fa?on(_0x429f26,_0x312d57):_0x429f26,_0x31a917=_0x10be44[_0x267686(0x358)]-0x1,_0x494000;_0x31a917>=0x0;_0x31a917--)(_0x494000=_0x10be44[_0x31a917])&&(_0x18e0d5=(_0x1271fa?_0x494000(_0x429f26,_0x312d57,_0x18e0d5):_0x494000(_0x18e0d5))||_0x18e0d5);return _0x1271fa&&_0x18e0d5&&sn(_0x429f26,_0x312d57,_0x18e0d5),_0x18e0d5;},Ye=(_0x554385,_0xa6905)=>(_0x56160b,_0x56f250)=>_0xa6905(_0x56160b,_0x56f250,_0x554385);exports[_0x23fcf5(0x24c)]=class extends a['Disposable']{constructor(_0x14fcd0,_0x1969d7){var _0x39eb8e=_0x23fcf5;super(),D(this,_0x39eb8e(0x316),new Map()),D(this,_0x39eb8e(0x24a),new H[(_0x39eb8e(0x227))]()),(this[_0x39eb8e(0x3ce)]=_0x14fcd0,this[_0x39eb8e(0x3e0)]=_0x1969d7,this[_0x39eb8e(0x31b)](H['merge'](this[_0x39eb8e(0x3ce)][_0x39eb8e(0x1ee)](a[_0x39eb8e(0x387)][_0x39eb8e(0x1b5)])['pipe'](W[_0x39eb8e(0x1da)](_0x2256e5=>_0x2256e5[_0x39eb8e(0x408)]())),this[_0x39eb8e(0x3ce)]['getTypeOfUnitDisposed$'](a['UniverInstanceType']['UNIVER_DOC'])[_0x39eb8e(0x205)](W[_0x39eb8e(0x1da)](_0xf235bd=>_0xf235bd[_0x39eb8e(0x408)]())),this[_0x39eb8e(0x3ce)]['getTypeOfUnitDisposed$'](a[_0x39eb8e(0x387)][_0x39eb8e(0x3ef)])[_0x39eb8e(0x205)](W['map'](_0x443f32=>_0x443f32['getUnitId']())))['subscribe'](_0x211dc6=>this[_0x39eb8e(0xf1)](_0x211dc6))));}[_0x23fcf5(0x21f)](_0x5b967a){var _0x5dab82=_0x23fcf5;return this['_roomMembers']['has'](_0x5b967a)?H['of'](this[_0x5dab82(0x316)][_0x5dab82(0x11c)](_0x5b967a)):this['_roomCreated$'][_0x5dab82(0x205)](W[_0x5dab82(0x1da)](_0x1a5725=>{if(_0x1a5725===_0x5b967a)return this['_roomMembers']['get'](_0x1a5725);}));}['setCurrentUser'](_0x58a5e3){var _0x12891d=_0x23fcf5;this['_userManagerService'][_0x12891d(0x452)](_0x58a5e3);}[_0x23fcf5(0x2f8)](){var _0x3e5f70=_0x23fcf5;return this[_0x3e5f70(0x3e0)][_0x3e5f70(0x2f8)]();}[_0x23fcf5(0x155)](_0x3c10a2,_0x28c4e5){var _0x4fad6b=_0x23fcf5;let _0x4a1a7a=this[_0x4fad6b(0x316)][_0x4fad6b(0x11c)](_0x3c10a2);_0x4a1a7a||(_0x4a1a7a=new cn(),this[_0x4fad6b(0x316)][_0x4fad6b(0x2ec)](_0x3c10a2,_0x4a1a7a),this[_0x4fad6b(0x24a)][_0x4fad6b(0x275)](_0x3c10a2)),_0x4a1a7a[_0x4fad6b(0x155)](_0x28c4e5);}['removeMember'](_0x24de7a,_0x535e13){var _0x27cb79=_0x23fcf5;const _0xaafc08=this['_roomMembers']['get'](_0x24de7a);_0xaafc08&&_0xaafc08[_0x27cb79(0x36d)](_0x535e13);}[_0x23fcf5(0x174)](_0x702f31){var _0x4c1303=_0x23fcf5;return this[_0x4c1303(0x316)][_0x4c1303(0x11c)](_0x702f31);}[_0x23fcf5(0x2c2)](_0x199a55,_0x32cb6a){var _0x2787ba=_0x23fcf5;const _0x108bdb=this[_0x2787ba(0x316)][_0x2787ba(0x11c)](_0x199a55);if(_0x108bdb)return _0x108bdb[_0x2787ba(0x2c2)](_0x32cb6a);}[_0x23fcf5(0xf1)](_0x6988a7){var _0x153343=_0x23fcf5;const _0x461f9b=this[_0x153343(0x316)]['get'](_0x6988a7);_0x461f9b&&(_0x461f9b[_0x153343(0x27d)](),this[_0x153343(0x316)][_0x153343(0x2bb)](_0x6988a7));}[_0x23fcf5(0x27d)](){var _0x409407=_0x23fcf5;this['_roomMembers'][_0x409407(0x28e)](_0x3245e2=>_0x3245e2[_0x409407(0x27d)]()),this['_roomMembers']['clear'](),this[_0x409407(0x24a)][_0x409407(0x410)]();}},exports[_0x23fcf5(0x24c)]=an([Ye(0x0,a['IUniverInstanceService']),Ye(0x1,a[_0x23fcf5(0x11a)](a[_0x23fcf5(0x31c)]))],exports['MemberService']);class cn extends a[_0x23fcf5(0x367)]{constructor(){var _0x2925eb=_0x23fcf5;super(...arguments),D(this,_0x2925eb(0x1e7),new Map()),D(this,_0x2925eb(0x3bc),new H['BehaviorSubject'](this['_members'])),D(this,_0x2925eb(0x3da),this['_members$'][_0x2925eb(0x1cf)]());}[_0x23fcf5(0x27d)](){var _0x41499b=_0x23fcf5;this[_0x41499b(0x1e7)][_0x41499b(0x3ff)]();}['updateMember'](_0x244d05){var _0x517823=_0x23fcf5;this[_0x517823(0x1e7)][_0x517823(0x2ec)](_0x244d05[_0x517823(0x2d0)],_0x244d05),this[_0x517823(0x400)]();}[_0x23fcf5(0x36d)](_0x24d96d){this['_members']['delete'](_0x24d96d);}[_0x23fcf5(0x2c2)](_0x26c12e){var _0x7de5b9=_0x23fcf5;return this['_members'][_0x7de5b9(0x11c)](_0x26c12e);}[_0x23fcf5(0x1bd)](){var _0x367b06=_0x23fcf5;return Array[_0x367b06(0x206)](this[_0x367b06(0x1e7)][_0x367b06(0x2bf)]());}[_0x23fcf5(0x400)](){var _0x59590e=_0x23fcf5;this[_0x59590e(0x3bc)][_0x59590e(0x275)](this[_0x59590e(0x1e7)]);}}var hn=Object[_0x23fcf5(0x14d)],ln=Object['getOwnPropertyDescriptor'],_n=(_0x235d34,_0x50d561,_0x54411c,_0x581e1a)=>{var _0x43165f=_0x23fcf5;for(var _0x50f743=_0x581e1a>0x1?void 0x0:_0x581e1a?ln(_0x50d561,_0x54411c):_0x50d561,_0x554b2b=_0x235d34[_0x43165f(0x358)]-0x1,_0x56f638;_0x554b2b>=0x0;_0x554b2b--)(_0x56f638=_0x235d34[_0x554b2b])&&(_0x50f743=(_0x581e1a?_0x56f638(_0x50d561,_0x54411c,_0x50f743):_0x56f638(_0x50f743))||_0x50f743);return _0x581e1a&&_0x50f743&&hn(_0x50d561,_0x54411c,_0x50f743),_0x50f743;},oe=(_0x2616df,_0x3fb6b4)=>(_0x8ec92e,_0x2e0a83)=>_0x3fb6b4(_0x8ec92e,_0x2e0a83,_0x2616df),se=(_0x2e42fb=>(_0x2e42fb[_0x2e42fb[_0x23fcf5(0x273)]=0x0]=_0x23fcf5(0x273),_0x2e42fb[_0x2e42fb[_0x23fcf5(0x13c)]=0x1]=_0x23fcf5(0x13c),_0x2e42fb[_0x2e42fb[_0x23fcf5(0x429)]=0x2]=_0x23fcf5(0x429),_0x2e42fb[_0x2e42fb[_0x23fcf5(0x1dd)]=0x3]=_0x23fcf5(0x1dd),_0x2e42fb))(se||{});const qe={[he[_0x23fcf5(0x444)]]:_0x23fcf5(0x34f),[he[_0x23fcf5(0x38f)]]:_0x23fcf5(0x335),[he[_0x23fcf5(0x29d)]]:_0x23fcf5(0x27f),[he[_0x23fcf5(0x243)]]:_0x23fcf5(0x411),[he[_0x23fcf5(0x3c0)]]:'session.room-cnt-exceeds'};exports['CollaborationSession']=class extends a[_0x23fcf5(0x1b3)]{constructor(_0x1810ad,_0x265010,_0x1bcb5c,_0x4e975a,_0x9f6762,_0x54a461,_0x1aa219,_0x52128b,_0x2fe205){var _0x48779a=_0x23fcf5;super(),D(this,_0x48779a(0x165),new H[(_0x48779a(0x413))](0x0)),D(this,_0x48779a(0x164),this['_sessionStatus$'][_0x48779a(0x1cf)]()),D(this,'_event$',new H[(_0x48779a(0x227))]()),D(this,_0x48779a(0x3d4),this[_0x48779a(0x451)]['asObservable']()),D(this,'_socket'),D(this,_0x48779a(0x347)),D(this,_0x48779a(0x1f2)),D(this,_0x48779a(0x3a2),!0x1),D(this,_0x48779a(0x344),null),(this[_0x48779a(0x422)]=_0x1810ad,this['_logService']=_0x1bcb5c,this[_0x48779a(0x194)]=_0x4e975a,this[_0x48779a(0x3b2)]=_0x9f6762,this[_0x48779a(0x379)]=_0x54a461,this['_commentService']=_0x1aa219,this[_0x48779a(0x359)]=_0x52128b,this[_0x48779a(0x19d)]=_0x2fe205,this['_shouldReportTelemetry']=!!this[_0x48779a(0x19d)],_0x265010[_0x48779a(0x205)](H[_0x48779a(0x32d)](this['dispose$']))[_0x48779a(0x332)](_0x12a951=>{var _0x36c9f0=_0x48779a,_0x51b13f;typeof _0x12a951>'u'||(this[_0x36c9f0(0x3ca)]=_0x12a951,_0x12a951?(this['_joinRoom'](_0x12a951),this['_socketMessageSubscription']=_0x12a951[_0x36c9f0(0x31e)][_0x36c9f0(0x332)](_0xc69217=>{var _0x2ae1d5=_0x36c9f0;_0xc69217['routeKey']===this[_0x2ae1d5(0x422)]&&this['_onCombEvent'](_0xc69217);})):(this[_0x36c9f0(0x431)](),this[_0x36c9f0(0x165)]['next'](0x2),(_0x51b13f=this[_0x36c9f0(0x347)])==null||_0x51b13f[_0x36c9f0(0x2a9)](),this[_0x36c9f0(0x347)]=null));}));}get['sessionStatus'](){return this['_sessionStatus$']['getValue']();}[_0x23fcf5(0x3fb)](){var _0x3ca218=_0x23fcf5,_0x24f9dd,_0x548e26;return(_0x548e26=(_0x24f9dd=this['_socket'])==null?void 0x0:_0x24f9dd[_0x3ca218(0x2d0)])!=null?_0x548e26:null;}[_0x23fcf5(0x27d)](){var _0x3e0297=_0x23fcf5;super[_0x3e0297(0x27d)](),this['dispose$']['next'](),this['dispose$'][_0x3e0297(0x410)]();}[_0x23fcf5(0x2b9)](){var _0x412655=_0x23fcf5,_0x1700a1,_0x4d25b2;this[_0x412655(0x431)](),(_0x1700a1=this[_0x412655(0x3ca)])==null||_0x1700a1[_0x412655(0x2b3)]({'cmd':G[_0x412655(0x385)],'data':{'roomID':this[_0x412655(0x422)]}}),(_0x4d25b2=this[_0x412655(0x3ca)])==null||_0x4d25b2['close'](),this[_0x412655(0x451)][_0x412655(0x410)](),this[_0x412655(0x165)][_0x412655(0x410)](),this['dispose']();}[_0x23fcf5(0x180)](_0x54a4fe){var _0x189822=_0x23fcf5;_0x54a4fe[_0x189822(0x37e)]===G[_0x189822(0x209)]?this[_0x189822(0x276)](_0x54a4fe):_0x54a4fe[_0x189822(0x37e)]===G[_0x189822(0x14e)]&&this[_0x189822(0x1d2)](_0x54a4fe);}[_0x23fcf5(0x3f9)](_0x4d3273){var _0x3c98d6=_0x23fcf5;this['_sessionStatus$']['next'](0x1),_0x4d3273[_0x3c98d6(0x2b3)]({'cmd':G[_0x3c98d6(0x209)],'routeKey':this[_0x3c98d6(0x422)],'routeType':'','data':{'rooms':[{'roomID':this[_0x3c98d6(0x422)]}]}});}[_0x23fcf5(0x276)](_0x579ccf){var _0x41dbe2=_0x23fcf5,_0x2d126a;if(_0x579ccf[_0x41dbe2(0x22d)]in qe){this[_0x41dbe2(0x359)][_0x41dbe2(0x427)]({'id':Q['JOIN_ROOM_FAILED'],'data':qe[_0x579ccf[_0x41dbe2(0x22d)]]}),this[_0x41dbe2(0x165)][_0x41dbe2(0x275)](0x2);return;}this[_0x41dbe2(0x165)][_0x41dbe2(0x275)](0x3);const _0x443ef8=(_0x2d126a=_0x579ccf[_0x41dbe2(0x406)][_0x41dbe2(0x3cf)][this[_0x41dbe2(0x422)]])==null?void 0x0:_0x2d126a[_0x41dbe2(0x32f)];_0x443ef8&&_0x443ef8[_0x41dbe2(0x28e)](_0x5ca463=>this[_0x41dbe2(0x379)][_0x41dbe2(0x155)](this[_0x41dbe2(0x422)],_0x5ca463));}[_0x23fcf5(0x1d2)](_0x46c8f5){var _0x43770e=_0x23fcf5;try{const _0x489352=_0x46c8f5[_0x43770e(0x406)];switch(_0x489352[_0x43770e(0x21b)]){case m[_0x43770e(0x2b5)][_0x43770e(0x1c5)]:this['_onUserJoin'](_0x489352),this[_0x43770e(0x451)]['next'](_0x489352);break;case m['CollaborationEvent'][_0x43770e(0x16e)]:this['_onUserLeave'](_0x489352),this['_event$'][_0x43770e(0x275)](_0x489352);break;case m[_0x43770e(0x2b5)][_0x43770e(0x3d5)]:case m[_0x43770e(0x2b5)]['CHANGESET_SHOULD_RETRY']:this[_0x43770e(0x282)](),this[_0x43770e(0x1cb)](),this['_event$'][_0x43770e(0x275)](_0x489352);break;case m[_0x43770e(0x2b5)][_0x43770e(0xfd)]:this[_0x43770e(0x447)][_0x43770e(0x39b)](_0x43770e(0x35b)+JSON[_0x43770e(0x19e)](_0x489352)),this[_0x43770e(0x451)][_0x43770e(0x275)](_0x489352);break;case m[_0x43770e(0x2b5)][_0x43770e(0x10e)]:this[_0x43770e(0x265)][_0x43770e(0x123)](_0x489352[_0x43770e(0x406)]),this[_0x43770e(0x451)][_0x43770e(0x275)](_0x489352);break;default:this[_0x43770e(0x451)]['next'](_0x489352);}}catch(_0x708b09){this['_logService'][_0x43770e(0x39b)](_0x708b09,_0x46c8f5);}}[_0x23fcf5(0x114)](_0x2b2ae9){var _0x186301=_0x23fcf5;this[_0x186301(0x379)][_0x186301(0x155)](this[_0x186301(0x422)],_0x2b2ae9[_0x186301(0x406)]);}['_onUserLeave'](_0x31af15){var _0x1f9c6e=_0x23fcf5;this[_0x1f9c6e(0x379)][_0x1f9c6e(0x36d)](this['_unitID'],_0x31af15[_0x1f9c6e(0x406)][_0x1f9c6e(0x2d0)]);}async[_0x23fcf5(0x2b3)](_0x3bbb5f,_0xd9e6a9){var _0x22d4b6=_0x23fcf5;if(this['sessionStatus']!==0x3||!this['_socket'])throw new Error(_0x22d4b6(0x3de));try{_0x3bbb5f[_0x22d4b6(0x21b)]===m['CollaborationEvent'][_0x22d4b6(0x1c1)]&&(this[_0x22d4b6(0x24d)](),this[_0x22d4b6(0x267)](_0x3bbb5f)),this[_0x22d4b6(0x3ca)][_0x22d4b6(0x2b3)]({'cmd':G['INGEST'],'routeKey':_0xd9e6a9,'routeType':'','data':_0x3bbb5f});}catch(_0x29f088){this[_0x22d4b6(0x447)]['error'](_0x29f088);}}[_0x23fcf5(0x24d)](){var _0x934cf0=_0x23fcf5,_0x55b718;this[_0x934cf0(0x1f2)]=setTimeout(()=>{var _0x1eae59=_0x934cf0;this['_collaborationTimeoutTimer']=null,this['_collaborationUIEventService'][_0x1eae59(0x427)]({'id':Q[_0x1eae59(0x23b)]});},(_0x55b718=this[_0x934cf0(0x194)][_0x934cf0(0x3d1)](He))!=null?_0x55b718:gt);}[_0x23fcf5(0x1cb)](){var _0x329adc=_0x23fcf5;this[_0x329adc(0x1f2)]&&(clearTimeout(this[_0x329adc(0x1f2)]),this[_0x329adc(0x1f2)]=null);}[_0x23fcf5(0x267)](_0x125213){var _0x49a757=_0x23fcf5;if(!this['_shouldReportTelemetry'])return;const {data:_0x117fb6}=_0x125213,{unitID:_0xe754f1,changeset:_0x3740a6}=_0x117fb6,{mutations:_0x1aacb8,type:_0x327cb3}=_0x3740a6;this[_0x49a757(0x344)]={'unitId':_0xe754f1,'type':_0x327cb3,'startTime':performance[_0x49a757(0x392)](),'stopTime':0x0,'duration':0x0,'size':rn(_0x1aacb8)};}[_0x23fcf5(0x282)](){var _0x58c22e=_0x23fcf5;if(this[_0x58c22e(0x3a2)]){if(!this[_0x58c22e(0x344)]){this[_0x58c22e(0x447)][_0x58c22e(0x39b)](_0x58c22e(0x204),_0x58c22e(0x22a));return;}this[_0x58c22e(0x344)][_0x58c22e(0x147)]=performance['now'](),this[_0x58c22e(0x344)][_0x58c22e(0x3cd)]=this[_0x58c22e(0x344)][_0x58c22e(0x147)]-this[_0x58c22e(0x344)][_0x58c22e(0x318)],this[_0x58c22e(0x19d)][_0x58c22e(0x18d)](nn,this[_0x58c22e(0x344)]),this['_telemetryInfo']=null;}}[_0x23fcf5(0x431)](){var _0x27ffd0=_0x23fcf5;this[_0x27ffd0(0x344)]=null;}},exports[_0x23fcf5(0xeb)]=_n([oe(0x2,a[_0x23fcf5(0x21d)]),oe(0x3,a[_0x23fcf5(0x17e)]),oe(0x4,a[_0x23fcf5(0x11a)](a['LocaleService'])),oe(0x5,a[_0x23fcf5(0x11a)](exports[_0x23fcf5(0x24c)])),oe(0x6,a['Inject'](Be)),oe(0x7,a['Inject'](te)),oe(0x8,a[_0x23fcf5(0x1fe)](jt[_0x23fcf5(0x1e6)]))],exports[_0x23fcf5(0xeb)]);var un=Object['defineProperty'],dn=Object[_0x23fcf5(0x291)],vn=(_0x1fdb51,_0x619d5d,_0x50354f,_0xa786cf)=>{var _0x6d012b=_0x23fcf5;for(var _0x4d638a=_0xa786cf>0x1?void 0x0:_0xa786cf?dn(_0x619d5d,_0x50354f):_0x619d5d,_0x477142=_0x1fdb51[_0x6d012b(0x358)]-0x1,_0x33c581;_0x477142>=0x0;_0x477142--)(_0x33c581=_0x1fdb51[_0x477142])&&(_0x4d638a=(_0xa786cf?_0x33c581(_0x619d5d,_0x50354f,_0x4d638a):_0x33c581(_0x4d638a))||_0x4d638a);return _0xa786cf&&_0x4d638a&&un(_0x619d5d,_0x50354f,_0x4d638a),_0x4d638a;},ae=(_0x2c8913,_0x585e7a)=>(_0x3da7b6,_0x82db32)=>_0x585e7a(_0x3da7b6,_0x82db32,_0x2c8913);exports[_0x23fcf5(0x3a9)]=class extends a[_0x23fcf5(0x367)]{constructor(_0x9e2e42,_0x5e79b0,_0x5c932b,_0x3182be,_0x8e0134,_0x4bd51c,_0x465574){var _0x57788d=_0x23fcf5;super(),D(this,_0x57788d(0x1ce),new H[(_0x57788d(0x413))](void 0x0)),D(this,'socket$',this[_0x57788d(0x1ce)]['asObservable']()),D(this,_0x57788d(0x330),null),D(this,_0x57788d(0x2bd),new Map()),D(this,_0x57788d(0x312),new H[(_0x57788d(0x413))](se[_0x57788d(0x273)])),D(this,'status$',this['_status$'][_0x57788d(0x1cf)]()),D(this,_0x57788d(0x1b8),!0x1),D(this,_0x57788d(0x14a)),D(this,_0x57788d(0x43b),0x0),D(this,_0x57788d(0x20c)),D(this,_0x57788d(0x19c)),(this[_0x57788d(0x305)]=_0x9e2e42,this[_0x57788d(0x447)]=_0x5e79b0,this[_0x57788d(0x194)]=_0x5c932b,this[_0x57788d(0x161)]=_0x3182be,this[_0x57788d(0x418)]=_0x8e0134,this[_0x57788d(0x359)]=_0x4bd51c,this[_0x57788d(0x311)]=_0x465574,this['_listenToNetworkCondition']());}get[_0x23fcf5(0x3ca)](){var _0x5361fc=_0x23fcf5;return this[_0x5361fc(0x1ce)][_0x5361fc(0x1b4)]();}[_0x23fcf5(0x260)](){var _0x13ad86=_0x23fcf5;this['_networkConditionService']&&this[_0x13ad86(0x31b)](this['_networkConditionService'][_0x13ad86(0x317)][_0x13ad86(0x332)](_0xf68a5c=>{var _0x2c7526=_0x13ad86;_0xf68a5c&&!this[_0x2c7526(0x3ca)]&&this[_0x2c7526(0x2c8)](),_0xf68a5c||this[_0x2c7526(0x384)]();}));}['dispose'](){var _0x2083b5=_0x23fcf5;super[_0x2083b5(0x27d)](),this[_0x2083b5(0x2bd)]['forEach'](_0x45869f=>_0x45869f[_0x2083b5(0x27d)]()),this[_0x2083b5(0x2bd)][_0x2083b5(0x3ff)](),this[_0x2083b5(0x312)][_0x2083b5(0x410)]();}async['requireSession'](_0x2991cf){var _0xbcb2ab=_0x23fcf5;if(this[_0xbcb2ab(0x2bd)][_0xbcb2ab(0x2fa)](_0x2991cf))return this[_0xbcb2ab(0x2bd)][_0xbcb2ab(0x11c)](_0x2991cf);this[_0xbcb2ab(0x324)]();const _0x9adcf8=this[_0xbcb2ab(0x305)][_0xbcb2ab(0x41d)](exports[_0xbcb2ab(0xeb)],_0x2991cf,this[_0xbcb2ab(0x1ce)][_0xbcb2ab(0x1cf)]());return this[_0xbcb2ab(0x2bd)][_0xbcb2ab(0x2ec)](_0x2991cf,_0x9adcf8),_0x9adcf8;}[_0x23fcf5(0x1f6)](_0x6a121f){var _0x59dd43=_0x23fcf5,_0x34d7e7;const _0x33366c=this[_0x59dd43(0x2bd)][_0x59dd43(0x11c)](_0x6a121f);_0x33366c&&(this['_sessions'][_0x59dd43(0x2bb)](_0x6a121f),_0x33366c[_0x59dd43(0x2b9)]()),this[_0x59dd43(0x2bd)][_0x59dd43(0xf3)]||(_0x34d7e7=this[_0x59dd43(0x3ca)])==null||_0x34d7e7['close']();}['reconnect'](){var _0x289c67=_0x23fcf5;this[_0x289c67(0x43b)]=0x0,this[_0x289c67(0x14a)]!=null&&(clearTimeout(this[_0x289c67(0x14a)]),this['_retryConnectingTimer']=null),this[_0x289c67(0x108)]();}async[_0x23fcf5(0x280)](){var _0x1c17e1=_0x23fcf5,_0x5bf794,_0xd746b0,_0xa80fe6;const _0x106d70=this[_0x1c17e1(0x194)]['getConfig'](Y),_0x21e6de=(_0x5bf794=_0x106d70==null?void 0x0:_0x106d70[_0x1c17e1(0x378)])!=null?_0x5bf794:Ft;return(_0xa80fe6=(_0xd746b0=(await this[_0x1c17e1(0x418)][_0x1c17e1(0x11c)](_0x21e6de,{'headers':{'Content-Type':_0x1c17e1(0x29b)}}))[_0x1c17e1(0x3b1)])==null?void 0x0:_0xd746b0[_0x1c17e1(0x426)])!=null?_0xa80fe6:'';}[_0x23fcf5(0x10d)](_0x50bc4a){var _0x18f1e7=_0x23fcf5,_0x7d7781,_0x1ac216;const _0xff38d8=this[_0x18f1e7(0x194)][_0x18f1e7(0x3d1)](St),_0x53a626=this[_0x18f1e7(0x194)][_0x18f1e7(0x3d1)](Y),_0x394a7b=(_0x1ac216=(_0x7d7781=_0x53a626==null?void 0x0:_0x53a626[_0x18f1e7(0x16a)])!=null?_0x7d7781:_0xff38d8)!=null?_0x1ac216:pt,_0x535781=typeof window>'u'?new URL(_0x394a7b):new URL(_0x394a7b,window[_0x18f1e7(0x188)][_0x18f1e7(0x270)]);_0x535781[_0x18f1e7(0x261)][_0x18f1e7(0x2ec)](_0x18f1e7(0x120),_0x50bc4a);const _0x5eda1e=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x18f1e7(0x188)][_0x18f1e7(0x1e9)]);return _0x5eda1e['get'](_0x18f1e7(0x10c))&&_0x535781['searchParams'][_0x18f1e7(0x2ec)](_0x18f1e7(0x10c),_0x5eda1e[_0x18f1e7(0x11c)](_0x18f1e7(0x10c))),_0x535781['toString']();}async['_createSocket'](){var _0x4acec9=_0x23fcf5;const _0x52d708=await this[_0x4acec9(0x280)](),_0x44e431=this[_0x4acec9(0x10d)](_0x52d708),_0x49dc9f=this[_0x4acec9(0x161)][_0x4acec9(0x1e4)](_0x44e431);return this[_0x4acec9(0x330)]=_0x49dc9f,_0x49dc9f;}async['_tryEnsureSocket'](){var _0x3a013c=_0x23fcf5,_0x521fdb,_0x3c2c6b;try{const _0x4ba378=(_0x3c2c6b=(_0x521fdb=this[_0x3a013c(0x3ca)])!=null?_0x521fdb:this[_0x3a013c(0x330)])!=null?_0x3c2c6b:await this[_0x3a013c(0x2ac)]();if(_0x4ba378){const _0x475745=_0x4ba378[_0x3a013c(0x2b3)];_0x4ba378[_0x3a013c(0x2b3)]=_0x37b555=>(this[_0x3a013c(0x124)](),_0x475745[_0x3a013c(0x223)](_0x4ba378,[_0x37b555])),_0x4ba378['message$'][_0x3a013c(0x332)](_0x504f6f=>this[_0x3a013c(0x383)](_0x4ba378,_0x504f6f)),_0x4ba378[_0x3a013c(0x38a)][_0x3a013c(0x205)](W[_0x3a013c(0x325)](0x1))['subscribe'](_0xc4a1cf=>this[_0x3a013c(0x447)]['error'](_0x3a013c(0x2ca),_0xc4a1cf)),_0x4ba378[_0x3a013c(0x159)]['pipe'](W['take'](0x1))['subscribe'](()=>{var _0xfab351=_0x3a013c;this[_0xfab351(0x24f)](_0x4ba378);}),_0x4ba378[_0x3a013c(0x18c)][_0x3a013c(0x205)](W[_0x3a013c(0x325)](0x1))[_0x3a013c(0x332)](_0x4a8271=>{var _0x2c4882=_0x3a013c;this[_0x2c4882(0x447)][_0x2c4882(0x44f)](_0x2c4882(0x3bb),_0x2c4882(0x23a),_0x4a8271),this[_0x2c4882(0x3eb)]();});}}catch(_0x558e79){this[_0x3a013c(0x447)][_0x3a013c(0x39b)](_0x558e79),this[_0x3a013c(0x3eb)]();}}[_0x23fcf5(0x24f)](_0x1c7678){var _0x1b3721=_0x23fcf5;this[_0x1b3721(0x447)]['debug'](_0x1b3721(0x3bb),_0x1b3721(0x448)),_0x1c7678[_0x1b3721(0x2b3)]({'cmd':G[_0x1b3721(0x455)]}),this[_0x1b3721(0x124)]();}[_0x23fcf5(0x384)](){var _0x2c906e=_0x23fcf5;this[_0x2c906e(0x1b8)]=!0x1,this[_0x2c906e(0x330)]=null,this['_status$'][_0x2c906e(0x275)](se[_0x2c906e(0x429)]),this['_socket$'][_0x2c906e(0x275)](null),this[_0x2c906e(0x224)](),this['_clearHeartbeatTimer']();}['_onConnectionFailed'](){var _0x4ed80b=_0x23fcf5,_0x59c72e;this[_0x4ed80b(0x384)](),this['_retryCount']<((_0x59c72e=this[_0x4ed80b(0x194)]['getConfig'](It))!=null?_0x59c72e:Vt)?(this[_0x4ed80b(0x359)][_0x4ed80b(0x427)]({'id':Q[_0x4ed80b(0x1fc)]}),this[_0x4ed80b(0x108)]()):this[_0x4ed80b(0x359)][_0x4ed80b(0x427)]({'id':Q[_0x4ed80b(0x141)]});}[_0x23fcf5(0x108)](){var _0x23168f=_0x23fcf5,_0x20e6d2;const _0x11112b=this[_0x23168f(0x43b)],_0x23c2e5=this[_0x23168f(0x194)][_0x23168f(0x3d1)](Y),_0x5b6775=_0x11112b===0x0?0x0:((_0x20e6d2=_0x23c2e5==null?void 0x0:_0x23c2e5['retryConnectingInterval'])!=null?_0x20e6d2:Gt)*0x2**_0x11112b;this[_0x23168f(0x14a)]=setTimeout(()=>{var _0x538db6=_0x23168f;clearTimeout(this[_0x538db6(0x14a)]),this[_0x538db6(0x14a)]=null,this['_tryEnsureSocket']();},_0x5b6775),this[_0x23168f(0x43b)]+=0x1;}[_0x23fcf5(0x383)](_0x102edb,_0x29174f){var _0x5e1af6=_0x23fcf5;const {cmd:_0x19ac38}=_0x29174f;_0x19ac38===G[_0x5e1af6(0x455)]&&!this[_0x5e1af6(0x1b8)]&&(_0x102edb['memberID']=_0x29174f[_0x5e1af6(0x406)][_0x5e1af6(0x2d0)],this[_0x5e1af6(0x1ce)][_0x5e1af6(0x275)](_0x102edb),this[_0x5e1af6(0x312)][_0x5e1af6(0x275)](se[_0x5e1af6(0x1dd)]),this['_socketReady']=!0x0,this['_candidateSocket']=null),_0x19ac38===G[_0x5e1af6(0x2c4)]&&this[_0x5e1af6(0x224)](),this[_0x5e1af6(0x124)]();}['_rescheduleHeartbeat'](){var _0x53e5db=_0x23fcf5,_0x48ffa2;this[_0x53e5db(0x402)](),this[_0x53e5db(0x20c)]=setTimeout(()=>this[_0x53e5db(0x152)](),(_0x48ffa2=this[_0x53e5db(0x194)][_0x53e5db(0x3d1)](mt))!=null?_0x48ffa2:Wt);}[_0x23fcf5(0x152)](){var _0x5e3469=_0x23fcf5;this['_socket'][_0x5e3469(0x2b3)]({'cmd':G[_0x5e3469(0x2c4)]}),this[_0x5e3469(0x38b)]();}[_0x23fcf5(0x38b)](){var _0x398d41=_0x23fcf5,_0x55819c;this[_0x398d41(0x19c)]=setTimeout(()=>this[_0x398d41(0x3eb)](),(_0x55819c=this[_0x398d41(0x194)][_0x398d41(0x3d1)](He))!=null?_0x55819c:gt);}['_clearHeartbeatTimer'](){var _0x512f16=_0x23fcf5;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x512f16(0x20c)]),this[_0x512f16(0x20c)]=null);}[_0x23fcf5(0x224)](){var _0x1195e5=_0x23fcf5;this[_0x1195e5(0x19c)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x1195e5(0x19c)]=null);}},exports[_0x23fcf5(0x3a9)]=vn([ae(0x0,a['Inject'](a[_0x23fcf5(0x368)])),ae(0x1,a[_0x23fcf5(0x21d)]),ae(0x2,a['IConfigService']),ae(0x3,ke),ae(0x4,a[_0x23fcf5(0x11a)](q[_0x23fcf5(0x3f3)])),ae(0x5,a[_0x23fcf5(0x11a)](te)),ae(0x6,a[_0x23fcf5(0x1fe)](Rt))],exports[_0x23fcf5(0x3a9)]);const V=[];for(let r=0x0;r<0x100;++r)V['push']((r+0x100)[_0x23fcf5(0x43f)](0x10)[_0x23fcf5(0x13d)](0x1));function fn(_0x5119be,_0x18ab38=0x0){return(V[_0x5119be[_0x18ab38+0x0]]+V[_0x5119be[_0x18ab38+0x1]]+V[_0x5119be[_0x18ab38+0x2]]+V[_0x5119be[_0x18ab38+0x3]]+'-'+V[_0x5119be[_0x18ab38+0x4]]+V[_0x5119be[_0x18ab38+0x5]]+'-'+V[_0x5119be[_0x18ab38+0x6]]+V[_0x5119be[_0x18ab38+0x7]]+'-'+V[_0x5119be[_0x18ab38+0x8]]+V[_0x5119be[_0x18ab38+0x9]]+'-'+V[_0x5119be[_0x18ab38+0xa]]+V[_0x5119be[_0x18ab38+0xb]]+V[_0x5119be[_0x18ab38+0xc]]+V[_0x5119be[_0x18ab38+0xd]]+V[_0x5119be[_0x18ab38+0xe]]+V[_0x5119be[_0x18ab38+0xf]])['toLowerCase']();}let Pe;const Sn=new Uint8Array(0x10);function pn(){var _0x5270ce=_0x23fcf5;if(!Pe){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error(_0x5270ce(0x17f));Pe=crypto[_0x5270ce(0x171)]['bind'](crypto);}return Pe(Sn);}const mn=typeof crypto<'u'&&crypto[_0x23fcf5(0x215)]&&crypto[_0x23fcf5(0x215)][_0x23fcf5(0x288)](crypto),ze={'randomUUID':mn};function gn(_0x1b560a,_0xb7c0ad,_0x463a90){var _0x45f352=_0x23fcf5,_0x4866c2,_0x40f739,_0x44553e;if(ze[_0x45f352(0x215)]&&!_0x1b560a)return ze[_0x45f352(0x215)]();_0x1b560a=_0x1b560a||{};const _0x29df26=(_0x44553e=(_0x40f739=_0x1b560a[_0x45f352(0x1d3)])!=null?_0x40f739:(_0x4866c2=_0x1b560a[_0x45f352(0x36f)])==null?void 0x0:_0x4866c2[_0x45f352(0x2d3)](_0x1b560a))!=null?_0x44553e:pn();if(_0x29df26[_0x45f352(0x358)]<0x10)throw new Error(_0x45f352(0x363));return _0x29df26[0x6]=_0x29df26[0x6]&0xf|0x40,_0x29df26[0x8]=_0x29df26[0x8]&0x3f|0x80,fn(_0x29df26);}const z=a[_0x23fcf5(0xec)]('collaboration-client.local-cache-service');function In(_0x1dbd97){var _0x56805d=_0x23fcf5;return _0x56805d(0x300)+_0x1dbd97;}var En=Object['defineProperty'],Cn=Object[_0x23fcf5(0x291)],Tn=(_0x5a03d9,_0x3e7d4c,_0x5564c9,_0x4417c6)=>{var _0x1bddb1=_0x23fcf5;for(var _0x5e1790=_0x4417c6>0x1?void 0x0:_0x4417c6?Cn(_0x3e7d4c,_0x5564c9):_0x3e7d4c,_0x470981=_0x5a03d9[_0x1bddb1(0x358)]-0x1,_0x28bce5;_0x470981>=0x0;_0x470981--)(_0x28bce5=_0x5a03d9[_0x470981])&&(_0x5e1790=(_0x4417c6?_0x28bce5(_0x3e7d4c,_0x5564c9,_0x5e1790):_0x28bce5(_0x5e1790))||_0x5e1790);return _0x4417c6&&_0x5e1790&&En(_0x3e7d4c,_0x5564c9,_0x5e1790),_0x5e1790;},De=(_0x123d71,_0x31d52f)=>(_0x1594bd,_0x4b6ea2)=>_0x31d52f(_0x1594bd,_0x4b6ea2,_0x123d71);function bn(_0x1675b1){var _0x7b8cbf=_0x23fcf5;const {unitID:_0x96e0ad,mutations:_0x20773c}=_0x1675b1;return{'unitId':_0x96e0ad,'subUnitId':_0x20773c[0x0][_0x7b8cbf(0x1fa)][_0x7b8cbf(0x3ac)]};}exports[_0x23fcf5(0x30b)]=class{constructor(_0xd26827,_0x13f329,_0x219541){var _0x41c46b=_0x23fcf5;this[_0x41c46b(0x305)]=_0xd26827,this[_0x41c46b(0x453)]=_0x13f329,this['_instanceService']=_0x219541;}[_0x23fcf5(0x254)](_0x3aa7cc){var _0x587cc2=_0x23fcf5,_0x1b8c50,_0x5487ad,_0x28f79a,_0x43b9b8;const _0x2b46ae=this[_0x587cc2(0x305)][_0x587cc2(0x11c)](J[_0x587cc2(0x151)]),{unitId:_0x36b244,subUnitId:_0x32bcfd}=bn(_0x3aa7cc),_0x17210d=_0x2b46ae==null?void 0x0:_0x2b46ae[_0x587cc2(0x2dc)](_0x36b244)['getCurrentSelections'](),_0x425317=(_0x5487ad=(_0x1b8c50=this[_0x587cc2(0x423)][_0x587cc2(0x216)](_0x36b244))==null?void 0x0:_0x1b8c50['getActiveSheet']())==null?void 0x0:_0x5487ad['getSheetId']();if(_0x17210d['length']===0x0||!_0x36b244||!_0x32bcfd)return;const _0x18e59c=[{'id':J['SetSelectionsOperation']['id'],'params':{'unitId':_0x36b244,'subUnitId':_0x425317,'selections':a[_0x587cc2(0x38d)][_0x587cc2(0x283)](_0x17210d)}}],_0x2d503a=this[_0x587cc2(0x453)][_0x587cc2(0x2cb)](_0x3aa7cc,_0x18e59c);if(!m['isTransformMutationsWithChangesetSuccess'](_0x2d503a))throw _0x2d503a[_0x587cc2(0x39b)];const _0x279a5e=(_0x43b9b8=(_0x28f79a=_0x2d503a[_0x587cc2(0x22c)][0x0])==null?void 0x0:_0x28f79a[_0x587cc2(0x1fa)])==null?void 0x0:_0x43b9b8[_0x587cc2(0x185)];if(Array[_0x587cc2(0x3ed)](_0x279a5e)&&_0x279a5e[_0x587cc2(0x358)]){if(_0x279a5e['length']===_0x18e59c[0x0][_0x587cc2(0x1fa)][_0x587cc2(0x185)]['length']&&_0x279a5e[_0x587cc2(0x107)]((_0xa6693e,_0x2a2cbe)=>a[_0x587cc2(0x445)]['equals'](_0xa6693e[_0x587cc2(0x41c)],_0x18e59c[0x0][_0x587cc2(0x1fa)]['selections'][_0x2a2cbe][_0x587cc2(0x41c)])))return;this[_0x587cc2(0x305)][_0x587cc2(0x11c)](a[_0x587cc2(0x229)])[_0x587cc2(0x44a)](J[_0x587cc2(0x40c)]['id'],{'unitId':_0x36b244,'subUnitId':_0x425317,'selections':_0x279a5e});}}},exports[_0x23fcf5(0x30b)]=Tn([De(0x0,a[_0x23fcf5(0x11a)](a['Injector'])),De(0x1,m[_0x23fcf5(0x1e5)]),De(0x2,a[_0x23fcf5(0x133)])],exports[_0x23fcf5(0x30b)]);const ve=a[_0x23fcf5(0xec)](_0x23fcf5(0x104));var Fe=(_0x3e70a8=>(_0x3e70a8[_0x3e70a8['NO_OTHER_CLIENTS_EDITING']=0x0]='NO_OTHER_CLIENTS_EDITING',_0x3e70a8[_0x3e70a8[_0x23fcf5(0x2b4)]=0x1]='OTHER_CLIENTS_EDITING',_0x3e70a8))(Fe||{});const Rn=new Set([J['InsertSheetMutation']['id']]);function Je(_0x5a3043,_0x36f5a8,_0x12c3ea,_0xb73d11,_0x57bcbe){var _0x249ca9=_0x23fcf5,_0x32c4cc,_0x5b6aaf,_0x1fa51c,_0xc6a7a4;const _0xacd34c=[];for(const _0x5955ff of _0x5a3043)if(Rn[_0x249ca9(0x2fa)](_0x5955ff['id'])){if(_0xacd34c[_0x249ca9(0x358)]>0x0)break;_0xacd34c[_0x249ca9(0x228)](_0x5955ff);break;}else _0xacd34c[_0x249ca9(0x228)](_0x5955ff);const _0x18b91e=(_0x5b6aaf=(_0x32c4cc=_0x57bcbe[_0x249ca9(0x2f8)]())==null?void 0x0:_0x32c4cc[_0x249ca9(0x2b2)])!=null?_0x5b6aaf:_0x249ca9(0x195),_0x21ee05=(_0xc6a7a4=(_0x1fa51c=_0x57bcbe['getCurrentUser']())==null?void 0x0:_0x1fa51c[_0x249ca9(0x2d0)])!=null?_0xc6a7a4:_0x249ca9(0x195);return{'changeset':{'unitID':_0x36f5a8,'type':m['mapDocumentTypeToUniverType'](_0x12c3ea[_0x249ca9(0x3e8)](_0x36f5a8)),'baseRev':_0xb73d11['getCurrentRevOfUnit'](_0x36f5a8),'revision':0x0,'userID':_0x18b91e,'memberID':_0x21ee05,'mutations':_0xacd34c},'pendingMutations':_0x5a3043[_0x249ca9(0x13d)](_0xacd34c[_0x249ca9(0x358)])};}function On(_0x4a607b,_0x1788b5,_0x10440c,_0x4d993f,_0x1ebbec){var _0x1e5ffe=_0x23fcf5,_0x59dad5,_0x4e5dd9,_0x2366c1,_0x50907d;const _0xb7eb6f=[_0x4a607b[_0x1e5ffe(0x230)]((_0x3c23e5,_0xb31a1b)=>{var _0x9134b8=_0x1e5ffe,_0x2f21f1;const {id:_0x46a022}=_0x3c23e5,{id:_0x17e7c6,type:_0x2d6a14}=_0xb31a1b,_0x442dc6=(_0x2f21f1=_0x3c23e5[_0x9134b8(0x1fa)])!=null?_0x2f21f1:{'actions':null},_0x42e16e=_0xb31a1b[_0x9134b8(0x1fa)];if(_0x46a022&&_0x46a022!==_0x17e7c6)throw new Error(_0x9134b8(0x250)+_0x46a022+_0x9134b8(0x3e2)+_0x17e7c6+'.');return{..._0x3c23e5,'id':_0x17e7c6,'type':_0x2d6a14,'params':{'unitId':_0x42e16e['unitId'],'textRanges':_0x42e16e[_0x9134b8(0x36b)],'actions':a[_0x9134b8(0x3e7)][_0x9134b8(0x2e5)](_0x442dc6[_0x9134b8(0x342)],_0x42e16e['actions'])}};},{})],_0x5ce79b=(_0x4e5dd9=(_0x59dad5=_0x1ebbec[_0x1e5ffe(0x2f8)]())==null?void 0x0:_0x59dad5['userID'])!=null?_0x4e5dd9:'unknown',_0x77933d=(_0x50907d=(_0x2366c1=_0x1ebbec[_0x1e5ffe(0x2f8)]())==null?void 0x0:_0x2366c1[_0x1e5ffe(0x2d0)])!=null?_0x50907d:'unknown';return{'changeset':{'unitID':_0x1788b5,'type':m['mapDocumentTypeToUniverType'](_0x10440c[_0x1e5ffe(0x3e8)](_0x1788b5)),'baseRev':_0x4d993f[_0x1e5ffe(0x177)](_0x1788b5),'revision':0x0,'userID':_0x5ce79b,'memberID':_0x77933d,'mutations':_0xb7eb6f},'pendingMutations':[]};}function Nt(_0x2d792c,_0x39b60a){var _0x10f385=_0x23fcf5;const _0x46f292=new H['ReplaySubject'](0x1);return setTimeout(()=>_0x46f292['next'](_0x39b60a),_0x2d792c),_0x46f292['asObservable']()[_0x10f385(0x205)](H[_0x10f385(0x325)](0x1));}const yn={'id':J['EmptyMutation']['id'],'type':a[_0x23fcf5(0x459)]['MUTATION'],'params':{}};var Nn=Object[_0x23fcf5(0x14d)],Un=Object[_0x23fcf5(0x291)],le=(_0x365754,_0xeb2033,_0xc4e9c,_0x521fb9)=>{var _0x36b5a8=_0x23fcf5;for(var _0x53bf58=_0x521fb9>0x1?void 0x0:_0x521fb9?Un(_0xeb2033,_0xc4e9c):_0xeb2033,_0x2b277f=_0x365754[_0x36b5a8(0x358)]-0x1,_0x372bc2;_0x2b277f>=0x0;_0x2b277f--)(_0x372bc2=_0x365754[_0x2b277f])&&(_0x53bf58=(_0x521fb9?_0x372bc2(_0xeb2033,_0xc4e9c,_0x53bf58):_0x372bc2(_0x53bf58))||_0x53bf58);return _0x521fb9&&_0x53bf58&&Nn(_0xeb2033,_0xc4e9c,_0x53bf58),_0x53bf58;},A=(_0x505e07,_0x5f4682)=>(_0x345576,_0xaf5ac3)=>_0x5f4682(_0x345576,_0xaf5ac3,_0x505e07),We=(_0x52d8ad=>(_0x52d8ad[_0x23fcf5(0x319)]=_0x23fcf5(0x1de),_0x52d8ad[_0x23fcf5(0x1d7)]=_0x23fcf5(0x2ef),_0x52d8ad[_0x23fcf5(0x122)]=_0x23fcf5(0x1c7),_0x52d8ad[_0x23fcf5(0x203)]='awaiting',_0x52d8ad['AWAITING_WITH_PENDING']=_0x23fcf5(0x32a),_0x52d8ad[_0x23fcf5(0xf8)]=_0x23fcf5(0x218),_0x52d8ad['CONFLICT']=_0x23fcf5(0x25b),_0x52d8ad[_0x23fcf5(0x429)]=_0x23fcf5(0x456),_0x52d8ad))(We||{});const Ut=0xea60;class _e{constructor(_0x92ed02,_0x538410,_0xa2682e,_0x4ba514,_0x244286,_0x16781b,_0x41be0a,_0x1cc554,_0x4bd24f){var _0x12a38a=_0x23fcf5;D(this,_0x12a38a(0x13e),null),D(this,'_pendingMutations',[]),(this['unitID']=_0x92ed02,this['type']=_0x538410,this[_0x12a38a(0x3f0)]=_0x244286,this[_0x12a38a(0x343)]=_0x16781b,this[_0x12a38a(0x1c3)]=_0x41be0a,this[_0x12a38a(0xda)]=_0x1cc554,this[_0x12a38a(0x15d)]=_0x4bd24f,this['_awaitingChangeset']=_0xa2682e,this['_pendingMutations']=_0x4ba514);}[_0x23fcf5(0x249)](_0x561040){var _0xd33ec4=_0x23fcf5;const _0x386dc4=this[_0xd33ec4(0xda)][_0xd33ec4(0x177)](this[_0xd33ec4(0x134)]);return _0x561040[_0xd33ec4(0x28d)]>_0x386dc4+0x1?(this['_handler']['onMissingChangesets']({'from':_0x386dc4,'to':_0x561040[_0xd33ec4(0x28d)]-0x1}),!0x0):!0x1;}[_0x23fcf5(0x3ba)](_0x5c7816){var _0x2ad021=_0x23fcf5;this[_0x2ad021(0x1c3)][_0x2ad021(0x41b)](this[_0x2ad021(0x134)],_0x5c7816);}['_transformSelections'](_0x796d56){var _0x49b3e7=_0x23fcf5,_0x5b1eb1,_0x35641e;(_0x35641e=(_0x5b1eb1=this[_0x49b3e7(0x3f0)])['onTransformSelections'])==null||_0x35641e[_0x49b3e7(0x2d3)](_0x5b1eb1,_0x796d56);}['_transformIMECache'](_0x32fff5){var _0x575b00=_0x23fcf5,_0x53e13d,_0x42dce3;return(_0x42dce3=(_0x53e13d=this[_0x575b00(0x3f0)])[_0x575b00(0x2d6)])==null?void 0x0:_0x42dce3[_0x575b00(0x2d3)](_0x53e13d,_0x32fff5);}[_0x23fcf5(0x30c)](_0x1e38e9){var _0x5c3eaa=_0x23fcf5,_0x17f00a,_0x846291;return(_0x846291=(_0x17f00a=this[_0x5c3eaa(0x3f0)])['onTransformState'])==null?void 0x0:_0x846291[_0x5c3eaa(0x2d3)](_0x17f00a,_0x1e38e9);}[_0x23fcf5(0x404)](_0x364a1a){var _0x4160a8=_0x23fcf5,_0xc4fe38,_0x37df2e,_0x2fca55;return(_0x2fca55=(_0x37df2e=(_0xc4fe38=this[_0x4160a8(0x3f0)])[_0x4160a8(0x145)])==null?void 0x0:_0x37df2e[_0x4160a8(0x2d3)](_0xc4fe38,_0x364a1a))!=null?_0x2fca55:_0x364a1a;}[_0x23fcf5(0x29f)](_0x4bd590){var _0x38054c=_0x23fcf5,_0x554150,_0x4ca5d3,_0x3ace52;return(_0x3ace52=(_0x4ca5d3=(_0x554150=this[_0x38054c(0x3f0)])[_0x38054c(0x334)])==null?void 0x0:_0x4ca5d3[_0x38054c(0x2d3)](_0x554150,_0x4bd590))!=null?_0x3ace52:_0x4bd590;}[_0x23fcf5(0x1a3)](_0x53bdcf){var _0x4c540e=_0x23fcf5,_0x1d9d08,_0xfb901a;if(this['type']===Z['UNIVER_DOC']){const {unitID:_0x1dc894,mutations:_0x5ec614,memberID:_0x31fd41}=_0x53bdcf,_0x114eb0=_0x5ec614[0x0]['params'][_0x4c540e(0x36b)];Array[_0x4c540e(0x3ed)](_0x114eb0)&&_0x114eb0[_0x4c540e(0x358)]>0x0&&((_0xfb901a=(_0x1d9d08=this[_0x4c540e(0x3f0)])['onSyncEditingCollabCursor'])==null||_0xfb901a[_0x4c540e(0x2d3)](_0x1d9d08,{'unitID':_0x1dc894,'memberID':_0x31fd41,'textRanges':_0x114eb0}));}}[_0x23fcf5(0x175)](){var _0x9aa18c=_0x23fcf5,_0x5e06fe;(_0x5e06fe=this[_0x9aa18c(0x15d)])==null||_0x5e06fe[_0x9aa18c(0x3dc)](this[_0x9aa18c(0x134)],this['type'],this[_0x9aa18c(0x13e)],this['_pendingMutations']);}[_0x23fcf5(0x433)](){var _0x57561f=_0x23fcf5;return this['_revisionService']['getCurrentRevOfUnit'](this[_0x57561f(0x134)]);}[_0x23fcf5(0x11e)](){var _0x579ef0=_0x23fcf5;this[_0x579ef0(0xda)][_0x579ef0(0x2d7)](this[_0x579ef0(0x134)]);}[_0x23fcf5(0x1fd)](_0x5eb3b0){var _0x2e045b=_0x23fcf5,_0x530840;let _0x54e686=this[_0x2e045b(0x404)](_0x5eb3b0);_0x54e686=this[_0x2e045b(0x29f)](_0x54e686);const _0x247e33=a[_0x2e045b(0xdb)](_0x54e686[_0x2e045b(0x33a)],this['_commandService'],{'fromCollab':!0x0});if(!_0x247e33[_0x2e045b(0x1b9)])throw _0x247e33[_0x2e045b(0x39b)]instanceof Error?_0x247e33[_0x2e045b(0x39b)]:new Error((_0x530840=_0x247e33[_0x2e045b(0x39b)])!=null?_0x530840:_0x2e045b(0x389));this[_0x2e045b(0x191)](_0x54e686),this['_transformStateCache'](_0x54e686),this['_transformUndoredo'](_0x5eb3b0),this[_0x2e045b(0x44e)](_0x54e686),this['_syncEditingCollabCursor'](_0x54e686),this[_0x2e045b(0x11e)]();}}exports[_0x23fcf5(0x285)]=class extends _e{constructor(_0x939e16,_0x1fc50e,_0x24a971,_0xc05faf,_0x94dfd4,_0x54d521,_0x1efab6,_0x368620,_0x55da05,_0x592c1e){var _0x5bb8a4=_0x23fcf5;super(_0x939e16,_0x1fc50e,null,[],_0x24a971,_0x1efab6,_0x54d521,_0xc05faf,_0x592c1e),D(this,_0x5bb8a4(0x2d2),_0x5bb8a4(0x2ef)),(this[_0x5bb8a4(0x305)]=_0x94dfd4,this[_0x5bb8a4(0x447)]=_0x368620,this[_0x5bb8a4(0x453)]=_0x55da05,this[_0x5bb8a4(0x360)]=_0x592c1e);}[_0x23fcf5(0x1ba)](_0x138086){var _0x323dc4=_0x23fcf5;const _0x12eee3=this['_injector'][_0x323dc4(0x41d)](exports['PendingState'],this[_0x323dc4(0x134)],this[_0x323dc4(0x21a)],[_0x138086],this[_0x323dc4(0x3f0)]);return _0x12eee3[_0x323dc4(0x2e3)](),_0x12eee3['_updateLocalCache'](),_0x12eee3;}[_0x23fcf5(0x1b2)](_0x1f8a4c){var _0x364a2d=_0x23fcf5;if(this[_0x364a2d(0x249)](_0x1f8a4c))return this[_0x364a2d(0x305)][_0x364a2d(0x41d)](exports['FetchingMissState'],this[_0x364a2d(0x134)],this[_0x364a2d(0x21a)],null,[],null,[_0x1f8a4c],this[_0x364a2d(0x3f0)]);try{const _0x45a6ed=this['_transformService'][_0x364a2d(0x2cb)](_0x1f8a4c,[yn]);if(m[_0x364a2d(0x207)](_0x45a6ed)){const {c1Prime:_0xb0542a}=_0x45a6ed;return this[_0x364a2d(0x1fd)](_0xb0542a),this;}throw _0x45a6ed[_0x364a2d(0x39b)];}catch(_0x5db16c){return this[_0x364a2d(0x447)][_0x364a2d(0x39b)](_0x5db16c),this[_0x364a2d(0x2e1)](!0x1);}}[_0x23fcf5(0x2e1)](_0x191213){var _0x3a5559=_0x23fcf5;return this[_0x3a5559(0x305)]['createInstance'](exports['ConflictState'],this[_0x3a5559(0x134)],this[_0x3a5559(0x21a)],null,[],this['_handler'],_0x191213);}['onRemoteAck'](){var _0x3aceaf=_0x23fcf5;throw new Error(_0x3aceaf(0x1cc));}['onRemoteRej'](){var _0x4768a3=_0x23fcf5;throw new Error(_0x4768a3(0xde));}[_0x23fcf5(0x42d)](){return this;}[_0x23fcf5(0x329)](){var _0x27bc06=_0x23fcf5;return this['_injector'][_0x27bc06(0x41d)](exports['OfflineState'],this[_0x27bc06(0x134)],this[_0x27bc06(0x21a)],null,[],this[_0x27bc06(0x3f0)]);}[_0x23fcf5(0x17b)](){return this;}['resend'](){var _0x191e69=_0x23fcf5;throw new Error(_0x191e69(0x313));}[_0x23fcf5(0x1a2)](){var _0x5d1fdd=_0x23fcf5;const _0x308eb3=this[_0x5d1fdd(0xda)][_0x5d1fdd(0x177)](this['unitID']);return this[_0x5d1fdd(0x3f0)][_0x5d1fdd(0x247)]({'from':_0x308eb3,'to':0x0}),this[_0x5d1fdd(0x305)]['createInstance'](exports[_0x5d1fdd(0x3af)],this[_0x5d1fdd(0x134)],this['type'],null,[],null,[],this['_handler']);}},exports[_0x23fcf5(0x285)]=le([A(0x3,a[_0x23fcf5(0x11a)](m[_0x23fcf5(0x303)])),A(0x4,a[_0x23fcf5(0x11a)](a[_0x23fcf5(0x368)])),A(0x5,a[_0x23fcf5(0x2b0)]),A(0x6,a[_0x23fcf5(0x229)]),A(0x7,a[_0x23fcf5(0x21d)]),A(0x8,m[_0x23fcf5(0x1e5)]),A(0x9,a['Optional'](z))],exports[_0x23fcf5(0x285)]),exports[_0x23fcf5(0x2dd)]=class extends _e{constructor(_0x27b687,_0x3bb03d,_0x1d86f1,_0x15dae1,_0x2065b2,_0x4a2906,_0x5b9375,_0x216040,_0x210a41,_0x43f0b9,_0x37f418,_0x10af53,_0x485618,_0x2df673){var _0x4f8803=_0x23fcf5;super(_0x27b687,_0x3bb03d,null,_0x1d86f1,_0x15dae1,_0x210a41,_0x485618,_0x4a2906,_0x2df673),D(this,'status',_0x4f8803(0x1c7)),D(this,_0x4f8803(0x33d),null),D(this,_0x4f8803(0x432),null),(this['_injector']=_0x2065b2,this[_0x4f8803(0x379)]=_0x5b9375,this[_0x4f8803(0x447)]=_0x216040,this['_configService']=_0x43f0b9,this['_transformService']=_0x37f418,this[_0x4f8803(0x3ce)]=_0x10af53);}[_0x23fcf5(0x1ba)](_0x267996){var _0x42ea80=_0x23fcf5;return this['_pendingMutations']['push'](_0x267996),this[_0x42ea80(0x175)](),this;}['onRemoteChangeset'](_0x84f774){var _0x58e3e2=_0x23fcf5;if(this[_0x58e3e2(0x249)](_0x84f774))return this[_0x58e3e2(0x3f8)](),this[_0x58e3e2(0x305)][_0x58e3e2(0x41d)](exports[_0x58e3e2(0x3af)],this[_0x58e3e2(0x134)],this[_0x58e3e2(0x21a)],null,this['_pendingMutations'],null,[_0x84f774],this[_0x58e3e2(0x3f0)]);try{const _0x52b54c=this[_0x58e3e2(0x453)]['transformMutationsWithChangeset'](_0x84f774,this[_0x58e3e2(0x144)]);if(m[_0x58e3e2(0x207)](_0x52b54c)){const {c1Prime:_0xa61363,m2Prime:_0x387b5b}=_0x52b54c;this[_0x58e3e2(0x1fd)](_0xa61363);const _0x3bebf3=this[_0x58e3e2(0x305)][_0x58e3e2(0x41d)](exports[_0x58e3e2(0x2dd)],this[_0x58e3e2(0x134)],this['type'],_0x387b5b,this[_0x58e3e2(0x3f0)]);this[_0x58e3e2(0x3f8)]();const _0x180a29=new Date()[_0x58e3e2(0x29e)](),_0x326eb9=this['_scheduleCompleteTimestamp']?Math[_0x58e3e2(0x382)](this[_0x58e3e2(0x33d)]-_0x180a29,0x0):this[_0x58e3e2(0x1a0)]();return _0x3bebf3[_0x58e3e2(0x2e3)](_0x326eb9),_0x3bebf3;}throw _0x52b54c['error'];}catch(_0x518bbd){return this[_0x58e3e2(0x447)][_0x58e3e2(0x39b)](_0x518bbd),this['_onConflict'](!0x1);}}[_0x23fcf5(0x3fe)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x23fcf5(0x314)](){var _0x249d05=_0x23fcf5;throw new Error(_0x249d05(0x201));}[_0x23fcf5(0x42d)](){return this;}[_0x23fcf5(0x329)](){var _0x320fc8=_0x23fcf5;return this[_0x320fc8(0x3f8)](),this[_0x320fc8(0x305)][_0x320fc8(0x41d)](exports[_0x320fc8(0x2a5)],this[_0x320fc8(0x134)],this[_0x320fc8(0x21a)],null,this[_0x320fc8(0x144)],this['_handler']);}[_0x23fcf5(0x17b)](){return this;}[_0x23fcf5(0x2e3)](_0x4ab0f6){var _0xba4e62=_0x23fcf5;const _0x852ceb=_0x4ab0f6!=null?_0x4ab0f6:this['_getSendChangesetTimeout']();this[_0xba4e62(0x33d)]=new Date()[_0xba4e62(0x29e)]()+_0x852ceb,this[_0xba4e62(0x432)]=setTimeout(()=>{var _0x3ae887=_0xba4e62;this[_0x3ae887(0x3f8)]();let _0x43500f=null;switch(this[_0x3ae887(0x21a)]){case Z[_0x3ae887(0x1b5)]:{_0x43500f=Je(this[_0x3ae887(0x144)],this['unitID'],this[_0x3ae887(0x3ce)],this[_0x3ae887(0xda)],this[_0x3ae887(0x379)]);break;}case Z[_0x3ae887(0x19a)]:{this[_0x3ae887(0x144)][_0x3ae887(0x107)](_0x1d377c=>_0x1d377c['id']===dt[_0x3ae887(0x1b1)]['id'])?_0x43500f=On(this['_pendingMutations'],this[_0x3ae887(0x134)],this[_0x3ae887(0x3ce)],this[_0x3ae887(0xda)],this['_memberService']):_0x43500f=Je(this[_0x3ae887(0x144)],this['unitID'],this[_0x3ae887(0x3ce)],this['_revisionService'],this[_0x3ae887(0x379)]);break;}default:throw new Error(_0x3ae887(0x233)+this[_0x3ae887(0x21a)]+'\x20in\x20_schedule.');}const {changeset:_0x38e520,pendingMutations:_0xfd2203}=_0x43500f;this[_0x3ae887(0x3f0)]['onSendChangeset'](_0x38e520);const _0x31af85=_0xfd2203[_0x3ae887(0x358)]?this[_0x3ae887(0x305)][_0x3ae887(0x41d)](exports['AwaitingWithPendingState'],this[_0x3ae887(0x134)],this[_0x3ae887(0x21a)],_0x38e520,_0xfd2203,this[_0x3ae887(0x3f0)],void 0x0):this['_injector']['createInstance'](exports[_0x3ae887(0x35e)],this[_0x3ae887(0x134)],this[_0x3ae887(0x21a)],_0x38e520,this[_0x3ae887(0x3f0)]);_0x31af85[_0x3ae887(0x175)](),this['_handler'][_0x3ae887(0x3b9)](this,_0x31af85);},_0x852ceb);}[_0x23fcf5(0x1a0)](){var _0x5624b6=_0x23fcf5,_0x33d244;const _0x5dad2e=this[_0x5624b6(0x194)][_0x5624b6(0x3d1)](Y);return(_0x33d244=_0x5dad2e==null?void 0x0:_0x5dad2e[_0x5624b6(0x13b)])!=null?_0x33d244:Bt;}[_0x23fcf5(0x299)](){var _0x1bc51f=_0x23fcf5;throw new Error(_0x1bc51f(0x193));}['_clearScheduledTask'](){var _0x110cdc=_0x23fcf5;this[_0x110cdc(0x432)]!=null&&(clearTimeout(this[_0x110cdc(0x432)]),this[_0x110cdc(0x432)]=null);}[_0x23fcf5(0x2e1)](_0x361175){var _0x3641ed=_0x23fcf5;return this['_clearScheduledTask'](),this['_injector'][_0x3641ed(0x41d)](exports[_0x3641ed(0x153)],this[_0x3641ed(0x134)],this['type'],null,this[_0x3641ed(0x144)],this[_0x3641ed(0x3f0)],_0x361175);}},exports[_0x23fcf5(0x2dd)]=le([A(0x4,a['Inject'](a[_0x23fcf5(0x368)])),A(0x5,a[_0x23fcf5(0x11a)](m[_0x23fcf5(0x303)])),A(0x6,a[_0x23fcf5(0x11a)](exports['MemberService'])),A(0x7,a[_0x23fcf5(0x21d)]),A(0x8,a[_0x23fcf5(0x229)]),A(0x9,a[_0x23fcf5(0x17e)]),A(0xa,m['ITransformService']),A(0xb,a[_0x23fcf5(0x133)]),A(0xc,a[_0x23fcf5(0x2b0)]),A(0xd,a[_0x23fcf5(0x1fe)](z))],exports['PendingState']),exports[_0x23fcf5(0x35e)]=class extends _e{constructor(_0x31fc63,_0x3dde31,_0x3bd426,_0x23a4ae,_0x415d22,_0x4f3da1,_0x259e98,_0x21c0bc,_0x3d2aee,_0x56cd0e,_0x12c6b0){var _0x2b7505=_0x23fcf5;super(_0x31fc63,_0x3dde31,_0x3bd426,[],_0x23a4ae,_0x259e98,_0x56cd0e,_0x4f3da1,_0x12c6b0),D(this,'status',_0x2b7505(0x252)),D(this,'_resendTimeout',0x0),D(this,_0x2b7505(0x377)),D(this,_0x2b7505(0x307)),(this[_0x2b7505(0x305)]=_0x415d22,this[_0x2b7505(0x447)]=_0x21c0bc,this[_0x2b7505(0x453)]=_0x3d2aee);}[_0x23fcf5(0x1ba)](_0x4780b7){var _0x5d9895=_0x23fcf5;this[_0x5d9895(0x3f8)]();const _0x30e650=this[_0x5d9895(0x305)][_0x5d9895(0x41d)](exports['AwaitingWithPendingState'],this[_0x5d9895(0x134)],this[_0x5d9895(0x21a)],this[_0x5d9895(0x13e)],[_0x4780b7],this[_0x5d9895(0x3f0)],this['_resendTimer']);return _0x30e650['_updateLocalCache'](),_0x30e650;}['onRemoteChangeset'](_0x12b94a){var _0x1ed142=_0x23fcf5;if(this[_0x1ed142(0x249)](_0x12b94a))return this[_0x1ed142(0x3f8)](),this[_0x1ed142(0x305)][_0x1ed142(0x41d)](exports[_0x1ed142(0x3af)],this[_0x1ed142(0x134)],this[_0x1ed142(0x21a)],this[_0x1ed142(0x13e)],[],null,[_0x12b94a],this[_0x1ed142(0x3f0)]);try{const _0x26b004=this[_0x1ed142(0x453)][_0x1ed142(0x2fd)]([_0x12b94a],[this[_0x1ed142(0x13e)]],!0x1);if(m[_0x1ed142(0x10f)](_0x26b004)){const {c1Prime:_0x391b00,c2Prime:_0x921c8b}=_0x26b004;this[_0x1ed142(0x1fd)](_0x391b00[0x0]),_0x921c8b[0x0]['baseRev']=this[_0x1ed142(0x433)](),this['_clearScheduledTask']();const _0x33f9c3=this[_0x1ed142(0x305)]['createInstance'](exports[_0x1ed142(0x35e)],this[_0x1ed142(0x134)],this[_0x1ed142(0x21a)],_0x921c8b[0x0],this[_0x1ed142(0x3f0)]);return _0x33f9c3['_updateLocalCache'](),_0x33f9c3;}return this[_0x1ed142(0x2e1)](!0x1);}catch(_0x38c06d){return this['_logService'][_0x1ed142(0x39b)](_0x38c06d),this[_0x1ed142(0x2e1)](!0x1);}}[_0x23fcf5(0x3fe)](_0x1186d9){var _0x3554f8=_0x23fcf5;this[_0x3554f8(0x3f8)]();const _0x324923=this[_0x3554f8(0xda)][_0x3554f8(0x177)](this[_0x3554f8(0x134)]);if(_0x1186d9[_0x3554f8(0x28d)]<_0x324923-0x1)return this;if(this[_0x3554f8(0x249)](_0x1186d9))return this[_0x3554f8(0x305)][_0x3554f8(0x41d)](exports['FetchingMissState'],this['unitID'],this[_0x3554f8(0x21a)],null,[],this[_0x3554f8(0x13e)],[],this['_handler']);this[_0x3554f8(0x11e)]();const _0x3f7847=this['_injector'][_0x3554f8(0x41d)](exports[_0x3554f8(0x285)],this['unitID'],this['type'],this['_handler']);return _0x3f7847[_0x3554f8(0x175)](),_0x3f7847;}[_0x23fcf5(0x314)](_0x2fcf23){var _0x483431=_0x23fcf5;return this[_0x483431(0x2e1)](!!(_0x2fcf23!=null&&_0x2fcf23['isPermissionRej']));}['onRemoteRetry'](_0x2c3295){var _0x2ec706=_0x23fcf5;return this['_resendTimeout']>Ut?this[_0x2ec706(0x329)]():(this[_0x2ec706(0x377)]=Nt(this[_0x2ec706(0x3ae)],{'timeout':this[_0x2ec706(0x3ae)],'reqId':_0x2c3295[_0x2ec706(0x14c)]}),this[_0x2ec706(0x307)]=this[_0x2ec706(0x377)]['subscribe'](({reqId:_0x3e58aa,timeout:_0x3780db})=>{var _0x4796bc=_0x2ec706;this[_0x4796bc(0x3b0)](_0x3e58aa,_0x3780db);}),this);}[_0x23fcf5(0x329)](){var _0x115d96=_0x23fcf5;return this[_0x115d96(0x3f8)](),this[_0x115d96(0x305)][_0x115d96(0x41d)](exports['OfflineState'],this[_0x115d96(0x134)],this[_0x115d96(0x21a)],this[_0x115d96(0x13e)],[],this['_handler']);}[_0x23fcf5(0x17b)](){return this;}[_0x23fcf5(0x299)](){var _0x25d721=_0x23fcf5;this['_handler'][_0x25d721(0x394)](this[_0x25d721(0x13e)]);}[_0x23fcf5(0x2e1)](_0x398f98){var _0x1c1b4b=_0x23fcf5;return this[_0x1c1b4b(0x3f8)](),this[_0x1c1b4b(0x305)][_0x1c1b4b(0x41d)](exports[_0x1c1b4b(0x153)],this[_0x1c1b4b(0x134)],this[_0x1c1b4b(0x21a)],this['_awaitingChangeset'],[],this[_0x1c1b4b(0x3f0)],_0x398f98);}[_0x23fcf5(0x3b0)](_0x5cbf5c,_0x3f54dc){var _0x25060c=_0x23fcf5,_0x51db54;_0x5cbf5c===((_0x51db54=this[_0x25060c(0x13e)])==null?void 0x0:_0x51db54[_0x25060c(0x14c)])&&(this[_0x25060c(0x299)](),this[_0x25060c(0x3ae)]=_0x3f54dc===0x0?0x3e8:_0x3f54dc*0x2);}[_0x23fcf5(0x3f8)](){var _0x503477=_0x23fcf5,_0x38524a;(_0x38524a=this[_0x503477(0x307)])==null||_0x38524a[_0x503477(0x2a9)](),this[_0x503477(0x3ae)]=0x0;}},exports['AwaitingState']=le([A(0x4,a[_0x23fcf5(0x11a)](a[_0x23fcf5(0x368)])),A(0x5,a[_0x23fcf5(0x11a)](m[_0x23fcf5(0x303)])),A(0x6,a['ICommandService']),A(0x7,a[_0x23fcf5(0x21d)]),A(0x8,m[_0x23fcf5(0x1e5)]),A(0x9,a[_0x23fcf5(0x2b0)]),A(0xa,a[_0x23fcf5(0x1fe)](z))],exports[_0x23fcf5(0x35e)]),exports[_0x23fcf5(0x105)]=class extends _e{constructor(_0x356ea6,_0xf2f97,_0x2b7a79,_0x203754,_0x52fe37,_0x5b85dc,_0x105939,_0x5a273c,_0x2e129e,_0x113215,_0x2082d2,_0x1e97ce,_0x17e006){var _0xb6d29b=_0x23fcf5;super(_0x356ea6,_0xf2f97,_0x2b7a79,_0x203754,_0x52fe37,_0x2e129e,_0x1e97ce,_0x5a273c,_0x17e006),D(this,_0xb6d29b(0x2d2),_0xb6d29b(0x32a)),D(this,_0xb6d29b(0x3ae),0x0),D(this,'_resendTimer'),D(this,_0xb6d29b(0x307)),(this[_0xb6d29b(0x305)]=_0x105939,this['_logService']=_0x113215,this[_0xb6d29b(0x453)]=_0x2082d2,this[_0xb6d29b(0x360)]=_0x17e006,_0x5b85dc&&(this[_0xb6d29b(0x377)]=_0x5b85dc,this['_sender']=this[_0xb6d29b(0x377)][_0xb6d29b(0x332)](({reqId:_0x13d65a,timeout:_0x4029bc})=>{var _0x5aa1e1=_0xb6d29b;this[_0x5aa1e1(0x3b0)](_0x13d65a,_0x4029bc);})));}[_0x23fcf5(0x1ba)](_0x26cf52){var _0x2e25a5=_0x23fcf5;return this[_0x2e25a5(0x144)][_0x2e25a5(0x228)](_0x26cf52),this;}[_0x23fcf5(0x1b2)](_0x27ac26){var _0x1d54bb=_0x23fcf5;if(this['_checkMissing'](_0x27ac26))return this[_0x1d54bb(0x3f8)](),this[_0x1d54bb(0x305)]['createInstance'](exports[_0x1d54bb(0x3af)],this[_0x1d54bb(0x134)],this[_0x1d54bb(0x21a)],this['_awaitingChangeset'],this[_0x1d54bb(0x144)],null,[_0x27ac26],this[_0x1d54bb(0x3f0)]);try{const _0x43f478=this[_0x1d54bb(0x453)][_0x1d54bb(0x2fd)]([_0x27ac26],[this[_0x1d54bb(0x13e)]],!0x1);if(m[_0x1d54bb(0x10f)](_0x43f478)){const {c1Prime:_0x3f6c90,c2Prime:_0xbd53c9}=_0x43f478,_0x5c730f=this[_0x1d54bb(0x453)][_0x1d54bb(0x2cb)](_0x3f6c90[0x0],this[_0x1d54bb(0x144)]);if(m[_0x1d54bb(0x207)](_0x5c730f)){const {c1Prime:_0x3b86d0,m2Prime:_0x3a108d}=_0x5c730f;return this[_0x1d54bb(0x1fd)](_0x3b86d0),_0xbd53c9[0x0][_0x1d54bb(0x1a9)]=this[_0x1d54bb(0x433)](),this[_0x1d54bb(0x3f8)](),this[_0x1d54bb(0x305)][_0x1d54bb(0x41d)](exports[_0x1d54bb(0x105)],this['unitID'],this[_0x1d54bb(0x21a)],_0xbd53c9[0x0],_0x3a108d,this[_0x1d54bb(0x3f0)],void 0x0);}throw _0x5c730f[_0x1d54bb(0x39b)];}throw _0x43f478['error'];}catch(_0x1ee1af){return this[_0x1d54bb(0x447)][_0x1d54bb(0x39b)](_0x1ee1af),this[_0x1d54bb(0x2e1)](!0x1);}}[_0x23fcf5(0x3fe)](_0x30aa03){var _0x39d91f=_0x23fcf5;if(this[_0x39d91f(0x3f8)](),this[_0x39d91f(0x249)](_0x30aa03))return this[_0x39d91f(0x305)][_0x39d91f(0x41d)](exports[_0x39d91f(0x3af)],this[_0x39d91f(0x134)],this[_0x39d91f(0x21a)],null,this[_0x39d91f(0x144)],this[_0x39d91f(0x13e)],[],this['_handler']);this[_0x39d91f(0x11e)]();const _0x40cdca=this['_injector']['createInstance'](exports[_0x39d91f(0x2dd)],this['unitID'],this[_0x39d91f(0x21a)],this[_0x39d91f(0x144)],this[_0x39d91f(0x3f0)]);return _0x40cdca[_0x39d91f(0x2e3)](),_0x40cdca[_0x39d91f(0x175)](),_0x40cdca;}['onRemoteRej'](_0x5c006d){var _0x3ff4b5=_0x23fcf5;return this[_0x3ff4b5(0x2e1)](!!(_0x5c006d!=null&&_0x5c006d[_0x3ff4b5(0x2de)]));}['onRemoteRetry'](_0xc3fad1){var _0x371a3f=_0x23fcf5;return this[_0x371a3f(0x3ae)]>Ut?this[_0x371a3f(0x329)]():(this[_0x371a3f(0x377)]=Nt(this[_0x371a3f(0x3ae)],{'timeout':this[_0x371a3f(0x3ae)],'reqId':_0xc3fad1[_0x371a3f(0x14c)]}),this['_sender']=this[_0x371a3f(0x377)][_0x371a3f(0x332)](({reqId:_0x4ef71a,timeout:_0x1db811})=>{var _0x33a32a=_0x371a3f;this[_0x33a32a(0x3b0)](_0x4ef71a,_0x1db811);}),this);}[_0x23fcf5(0x329)](){var _0x114565=_0x23fcf5;return this[_0x114565(0x3f8)](),this[_0x114565(0x305)]['createInstance'](exports['OfflineState'],this[_0x114565(0x134)],this[_0x114565(0x21a)],this[_0x114565(0x13e)],this['_pendingMutations'],this['_handler']);}[_0x23fcf5(0x17b)](){return this;}['resend'](){var _0x5a4dfb=_0x23fcf5;this[_0x5a4dfb(0x3f0)][_0x5a4dfb(0x394)](this[_0x5a4dfb(0x13e)]);}['_onConflict'](_0x2cdc38){var _0x3f1d9f=_0x23fcf5;return this[_0x3f1d9f(0x3f8)](),this[_0x3f1d9f(0x305)][_0x3f1d9f(0x41d)](exports['ConflictState'],this['unitID'],this['type'],null,this[_0x3f1d9f(0x144)],this[_0x3f1d9f(0x3f0)],_0x2cdc38);}[_0x23fcf5(0x3b0)](_0x1f9fac,_0xa8c15d){var _0x24616e=_0x23fcf5,_0x2c5c99;_0x1f9fac===((_0x2c5c99=this[_0x24616e(0x13e)])==null?void 0x0:_0x2c5c99[_0x24616e(0x14c)])&&(this[_0x24616e(0x299)](),this[_0x24616e(0x3ae)]=_0xa8c15d===0x0?0x3e8:_0xa8c15d*0x2);}['_clearScheduledTask'](){var _0xffe432=_0x23fcf5,_0x3061e5;(_0x3061e5=this[_0xffe432(0x307)])==null||_0x3061e5[_0xffe432(0x2a9)](),this[_0xffe432(0x3ae)]=0x0;}},exports[_0x23fcf5(0x105)]=le([A(0x6,a[_0x23fcf5(0x11a)](a[_0x23fcf5(0x368)])),A(0x7,a[_0x23fcf5(0x11a)](m['RevisionService'])),A(0x8,a[_0x23fcf5(0x229)]),A(0x9,a['ILogService']),A(0xa,m[_0x23fcf5(0x1e5)]),A(0xb,a[_0x23fcf5(0x2b0)]),A(0xc,a[_0x23fcf5(0x1fe)](z))],exports['AwaitingWithPendingState']),exports['ConflictState']=class extends _e{constructor(_0x316b2d,_0xe16e03,_0xda73e2,_0x415dfc,_0x3d2837,_0x30a12a=!0x1,_0x5e0acb,_0x63fa2c,_0x2c2eb3,_0x4060f6,_0x55d0e3,_0x5c244e,_0xa018c8){var _0x52bf3e=_0x23fcf5;super(_0x316b2d,_0xe16e03,_0xda73e2,_0x415dfc,_0x3d2837,_0x63fa2c,_0x2c2eb3,_0x4060f6,_0xa018c8),D(this,_0x52bf3e(0x2d2),_0x52bf3e(0x25b)),(this[_0x52bf3e(0x361)]=_0x30a12a,this[_0x52bf3e(0x450)]=_0x5e0acb,this[_0x52bf3e(0x3b2)]=_0x55d0e3,this['_collaborationUIEventService']=_0x5c244e,this['localCacheService']=_0xa018c8,this['_showConflictNotification'](),this['_clearLocalCache'](),this[_0x52bf3e(0xdf)]());}['appendMutation'](){return this;}['onRemoteChangeset'](){return this;}[_0x23fcf5(0x3fe)](){return this;}[_0x23fcf5(0x314)](){return this;}[_0x23fcf5(0x42d)](){return this;}[_0x23fcf5(0x329)](){return this;}['toggleOnline'](){return this;}[_0x23fcf5(0x299)](){var _0x2f5ea6=_0x23fcf5;throw new Error(_0x2f5ea6(0x3c6));}['_clearLocalCache'](){var _0x362da0=_0x23fcf5,_0x4d9ccd;(_0x4d9ccd=this[_0x362da0(0x15d)])==null||_0x4d9ccd[_0x362da0(0x3dc)](this[_0x362da0(0x134)],this[_0x362da0(0x21a)],null,[]);}[_0x23fcf5(0xe2)](){var _0x8c2a7c=_0x23fcf5;this[_0x8c2a7c(0x361)]?this[_0x8c2a7c(0x359)]['emitEvent']({'id':Q[_0x8c2a7c(0x371)]}):this[_0x8c2a7c(0x359)][_0x8c2a7c(0x427)]({'id':Q[_0x8c2a7c(0x41f)]});}[_0x23fcf5(0xdf)](){var _0x205d27=_0x23fcf5;this[_0x205d27(0x450)]['updatePermissionPoint'](new J['WorkbookEditablePermission'](this[_0x205d27(0x134)])['id'],!0x1);}},exports[_0x23fcf5(0x153)]=le([A(0x6,a[_0x23fcf5(0x11a)](a[_0x23fcf5(0x28b)])),A(0x7,a['ICommandService']),A(0x8,a['IUndoRedoService']),A(0x9,a['Inject'](m[_0x23fcf5(0x303)])),A(0xa,a[_0x23fcf5(0x11a)](a[_0x23fcf5(0x41e)])),A(0xb,a['Inject'](te)),A(0xc,a[_0x23fcf5(0x1fe)](z))],exports[_0x23fcf5(0x153)]),exports['OfflineState']=class extends _e{constructor(_0x5e4f79,_0x5cf9ea,_0x1b25e7,_0x154698,_0x3d506d,_0x4794db,_0x2832bc,_0x206f2d,_0x173d5e,_0x3b2d35){var _0x327e2c=_0x23fcf5;super(_0x5e4f79,_0x5cf9ea,_0x1b25e7,_0x154698,_0x3d506d,_0x206f2d,_0x173d5e,_0x2832bc,_0x3b2d35),D(this,'status',_0x327e2c(0x456)),this[_0x327e2c(0x305)]=_0x4794db;}['appendMutation'](_0x22371d){var _0x511068=_0x23fcf5;return this[_0x511068(0x144)][_0x511068(0x228)](_0x22371d),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x21b819){var _0x314eb4=_0x23fcf5;throw new Error(_0x314eb4(0x3ab));}[_0x23fcf5(0x3fe)](){var _0x5ac14c=_0x23fcf5;throw new Error(_0x5ac14c(0x19b));}[_0x23fcf5(0x314)](){var _0x114a47=_0x23fcf5;throw new Error(_0x114a47(0x2f5));}[_0x23fcf5(0x42d)](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){var _0x153db7=_0x23fcf5;const {_injector:_0x249965,_pendingMutations:_0xa9bf75,_awaitingChangeset:_0x204fb7,unitID:_0x556842,_handler:_0x5251f5,type:_0x31d676}=this,_0x441f9c=Pt(_0x249965,_0x556842,_0x31d676,_0x204fb7,_0xa9bf75,_0x5251f5);return _0x441f9c instanceof exports[_0x153db7(0x2dd)]?_0x441f9c[_0x153db7(0x2e3)]():(_0x441f9c instanceof exports[_0x153db7(0x105)]||_0x441f9c instanceof exports[_0x153db7(0x35e)])&&_0x441f9c[_0x153db7(0x299)](),_0x441f9c;}[_0x23fcf5(0x299)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}},exports[_0x23fcf5(0x2a5)]=le([A(0x5,a[_0x23fcf5(0x11a)](a[_0x23fcf5(0x368)])),A(0x6,a[_0x23fcf5(0x11a)](m['RevisionService'])),A(0x7,a['ICommandService']),A(0x8,a['IUndoRedoService']),A(0x9,a[_0x23fcf5(0x1fe)](z))],exports['OfflineState']),exports[_0x23fcf5(0x3af)]=class extends _e{constructor(_0x5a3c37,_0x45ef16,_0x317604,_0x23bc70,_0xd888fa,_0xc7157a,_0x269b85,_0x450285,_0x23dc03,_0x342261,_0x107800,_0x5cac70,_0x2aa544,_0x7b181a){var _0x4849cc=_0x23fcf5;super(_0x5a3c37,_0x45ef16,_0x317604,_0x23bc70,_0x269b85,_0x107800,_0x5cac70,_0x23dc03,_0x7b181a),D(this,_0x4849cc(0x2d2),_0x4849cc(0x218)),(this[_0x4849cc(0x441)]=_0xd888fa,this[_0x4849cc(0x154)]=_0xc7157a,this[_0x4849cc(0x305)]=_0x450285,this[_0x4849cc(0x447)]=_0x342261,this[_0x4849cc(0x453)]=_0x2aa544,this['localCacheService']=_0x7b181a);}[_0x23fcf5(0x22b)](_0x5a0c00){var _0xff6573=_0x23fcf5;try{const _0x3c9b9f=[..._0x5a0c00,...this[_0xff6573(0x154)]],_0xdd1bce=[this['_awaitingChangeset']||this[_0xff6573(0x441)]]['filter'](_0x506c70=>!!_0x506c70);let _0x43e84c,_0x211b4c;if(_0xdd1bce[_0xff6573(0x358)]){const _0x14a55f=this['_transformService'][_0xff6573(0x2fd)](_0x3c9b9f,_0xdd1bce,!0x1);if(!m['isTransformChangesetsSuccess'](_0x14a55f))throw _0x14a55f['error'];_0x43e84c=_0x14a55f[_0xff6573(0x217)],_0x211b4c=_0x14a55f[_0xff6573(0x2db)];}else _0x43e84c=_0x3c9b9f,_0x211b4c=[];let _0x26feb1=this[_0xff6573(0x144)];_0x43e84c[_0xff6573(0x28e)](_0x380db0=>{var _0x311b1f=_0xff6573;let _0x35faa6;if(_0x26feb1['length']){const _0x214137=this[_0x311b1f(0x453)]['transformMutationsWithChangeset'](_0x380db0,_0x26feb1);if(!m[_0x311b1f(0x207)](_0x214137))throw _0x214137[_0x311b1f(0x39b)];_0x35faa6=_0x214137[_0x311b1f(0x217)],_0x26feb1=_0x214137[_0x311b1f(0x22c)];}else _0x35faa6=_0x380db0;this[_0x311b1f(0x1fd)](_0x35faa6);}),this[_0xff6573(0x441)]&&this['_incrementRevisionNumber'](),this['_awaitingChangeset']&&_0x211b4c[_0xff6573(0x358)]&&(_0x211b4c[0x0][_0xff6573(0x1a9)]=this[_0xff6573(0x433)]());let _0x334cb4;if(this[_0xff6573(0x13e)]&&_0x26feb1[_0xff6573(0x358)]!==0x0)_0x334cb4=this['_injector'][_0xff6573(0x41d)](exports['AwaitingWithPendingState'],this[_0xff6573(0x134)],this['type'],_0x211b4c[0x0],_0x26feb1,this[_0xff6573(0x3f0)],void 0x0);else{if(this[_0xff6573(0x13e)]&&_0x26feb1['length']===0x0)_0x211b4c[0x0]['baseRev']=this[_0xff6573(0x433)](),_0x334cb4=this[_0xff6573(0x305)][_0xff6573(0x41d)](exports[_0xff6573(0x35e)],this['unitID'],this[_0xff6573(0x21a)],_0x211b4c[0x0],this[_0xff6573(0x3f0)]);else{if(_0x26feb1[_0xff6573(0x358)]!==0x0){const _0x23a05e=this[_0xff6573(0x305)][_0xff6573(0x41d)](exports[_0xff6573(0x2dd)],this[_0xff6573(0x134)],this[_0xff6573(0x21a)],_0x26feb1,this['_handler']);_0x23a05e[_0xff6573(0x2e3)](),_0x334cb4=_0x23a05e;}else _0x334cb4=this[_0xff6573(0x305)][_0xff6573(0x41d)](exports[_0xff6573(0x285)],this[_0xff6573(0x134)],this[_0xff6573(0x21a)],this[_0xff6573(0x3f0)]);}}return _0x334cb4[_0xff6573(0x175)](),_0x334cb4;}catch(_0x35e258){return this[_0xff6573(0x447)]['error'](_0xff6573(0xf2),_0xff6573(0x2ee),_0x35e258),this[_0xff6573(0x305)][_0xff6573(0x41d)](exports[_0xff6573(0x153)],this[_0xff6573(0x134)],this[_0xff6573(0x21a)],this[_0xff6573(0x13e)],this[_0xff6573(0x144)],this[_0xff6573(0x3f0)],!0x1);}}[_0x23fcf5(0x299)](){var _0x506603=_0x23fcf5;throw new Error(_0x506603(0x40d));}['appendMutation'](_0x57bda1){var _0x213338=_0x23fcf5;return this[_0x213338(0x144)]['push'](_0x57bda1),this;}[_0x23fcf5(0x1b2)](_0x361277){var _0x32befd=_0x23fcf5;return this[_0x32befd(0x154)][_0x32befd(0x228)](_0x361277),this;}[_0x23fcf5(0x3fe)](_0x184c63){var _0xb608c=_0x23fcf5;if(this['_awaitingChangeset'])return this[_0xb608c(0x441)]=this[_0xb608c(0x13e)],this[_0xb608c(0x13e)]=null,this;throw new Error(_0xb608c(0x136));}[_0x23fcf5(0x314)](_0x203701){return this['_onConflict'](!!(_0x203701!=null&&_0x203701['isPermissionRej']));}[_0x23fcf5(0x42d)](){return this;}[_0x23fcf5(0x329)](){var _0x1d7a9a=_0x23fcf5;return this['_injector'][_0x1d7a9a(0x41d)](exports[_0x1d7a9a(0x2a5)],this[_0x1d7a9a(0x134)],this[_0x1d7a9a(0x21a)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x1d7a9a(0x3f0)]);}['toggleOnline'](){return this;}['_onConflict'](_0x596fe3){var _0x3c29e7=_0x23fcf5;return this['_injector'][_0x3c29e7(0x41d)](exports[_0x3c29e7(0x153)],this['unitID'],this[_0x3c29e7(0x21a)],this['_awaitingChangeset'],this['_pendingMutations'],this['_handler'],_0x596fe3);}},exports['FetchingMissState']=le([A(0x7,a[_0x23fcf5(0x11a)](a['Injector'])),A(0x8,a[_0x23fcf5(0x11a)](m[_0x23fcf5(0x303)])),A(0x9,a[_0x23fcf5(0x21d)]),A(0xa,a['ICommandService']),A(0xb,a[_0x23fcf5(0x2b0)]),A(0xc,m['ITransformService']),A(0xd,a[_0x23fcf5(0x1fe)](z))],exports['FetchingMissState']);function Pt(_0x2caa34,_0x198689,_0x2b2e80,_0x73f0c0,_0x9ad564,_0x3b289a){var _0x4eafa5=_0x23fcf5;return _0x73f0c0&&_0x9ad564[_0x4eafa5(0x358)]?_0x2caa34[_0x4eafa5(0x41d)](exports[_0x4eafa5(0x105)],_0x198689,_0x2b2e80,_0x73f0c0,_0x9ad564,_0x3b289a,void 0x0):_0x73f0c0?_0x2caa34[_0x4eafa5(0x41d)](exports[_0x4eafa5(0x35e)],_0x198689,_0x2b2e80,_0x73f0c0,_0x3b289a):_0x9ad564[_0x4eafa5(0x358)]?_0x2caa34[_0x4eafa5(0x41d)](exports['PendingState'],_0x198689,_0x2b2e80,_0x9ad564,_0x3b289a):_0x2caa34[_0x4eafa5(0x41d)](exports['SyncedState'],_0x198689,_0x2b2e80,_0x3b289a);}var Pn=Object[_0x23fcf5(0x14d)],Dn=Object['getOwnPropertyDescriptor'],Ge=(_0xd4f24a,_0x1fe390,_0xd3d39c,_0x369d66)=>{var _0x392623=_0x23fcf5;for(var _0x2a96c9=_0x369d66>0x1?void 0x0:_0x369d66?Dn(_0x1fe390,_0xd3d39c):_0x1fe390,_0x5529ab=_0xd4f24a[_0x392623(0x358)]-0x1,_0x513cbc;_0x5529ab>=0x0;_0x5529ab--)(_0x513cbc=_0xd4f24a[_0x5529ab])&&(_0x2a96c9=(_0x369d66?_0x513cbc(_0x1fe390,_0xd3d39c,_0x2a96c9):_0x513cbc(_0x2a96c9))||_0x2a96c9);return _0x369d66&&_0x2a96c9&&Pn(_0x1fe390,_0xd3d39c,_0x2a96c9),_0x2a96c9;},k=(_0x13312e,_0x2ec911)=>(_0x1660c8,_0x302d19)=>_0x2ec911(_0x1660c8,_0x302d19,_0x13312e);exports[_0x23fcf5(0xfc)]=class extends a[_0x23fcf5(0x1b3)]{constructor(_0x4e0f37,_0x201330,_0x2747b6,_0x2f05bf,_0x24db6c,_0x242904,_0x4bd6a3,_0xaa46d7,_0x3dd271,_0x33675e,_0x24ee3a,_0x1f56b9,_0xd59cbf){var _0x1b742d=_0x23fcf5;super(),D(this,_0x1b742d(0x407),new H[(_0x1b742d(0x413))](null)),D(this,_0x1b742d(0x25d),this[_0x1b742d(0x407)]['asObservable']()),D(this,_0x1b742d(0x2d5)),D(this,'_collaborationPaused',!0x1),D(this,_0x1b742d(0x39c),''),D(this,_0x1b742d(0x44b),0x0),D(this,_0x1b742d(0x3a4),this[_0x1b742d(0x25d)][_0x1b742d(0x205)](H[_0x1b742d(0x1da)](_0x46e4c2=>_0x46e4c2?_0x46e4c2[_0x1b742d(0x2d2)]:We[_0x1b742d(0x429)]),H[_0x1b742d(0x37a)](0x1))),D(this,_0x1b742d(0x189),!0x1),D(this,'_remoteChangesetQueue',[]),(this[_0x1b742d(0x134)]=_0x4e0f37,this[_0x1b742d(0x2c5)]=_0x201330,this['_type']=_0x2747b6,this[_0x1b742d(0x305)]=_0x2f05bf,this[_0x1b742d(0x2ea)]=_0x24db6c,this[_0x1b742d(0x3b2)]=_0x242904,this[_0x1b742d(0xda)]=_0x4bd6a3,this['_eventService']=_0xaa46d7,this[_0x1b742d(0x447)]=_0x3dd271,this['_commandService']=_0x33675e,this[_0x1b742d(0x450)]=_0x24ee3a,this[_0x1b742d(0x32e)]=_0x1f56b9,this['_localCacheService']=_0xd59cbf);}get[_0x23fcf5(0x10b)](){var _0x250abd=_0x23fcf5;return this[_0x250abd(0x2d5)];}async['init'](){var _0x1aadce=_0x23fcf5;if(this[_0x1aadce(0x10b)])throw new Error(_0x1aadce(0xe3));await this[_0x1aadce(0x296)]();}[_0x23fcf5(0x2ae)](){var _0x4c831a=_0x23fcf5;return this[_0x4c831a(0x3d0)]=!0x0,a[_0x4c831a(0x219)](()=>{var _0x152939=_0x4c831a;this[_0x152939(0x3d0)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x23fcf5(0x3c5)](_0x49b400){this['_onLocalMutation'](_0x49b400);}[_0x23fcf5(0xf9)](_0x3addc6){var _0x4340aa=_0x23fcf5;this[_0x4340aa(0x2d5)]=_0x3addc6,this['_state$'][_0x4340aa(0x275)](_0x3addc6);}async[_0x23fcf5(0x296)](){var _0x19b428=_0x23fcf5,_0x4eeebb;this['_updateState'](await this[_0x19b428(0x364)]()),this['_singleActiveUnitService']&&((_0x4eeebb=this[_0x19b428(0x32e)])==null||_0x4eeebb['editingUnit'](this[_0x19b428(0x134)]),this[_0x19b428(0x31b)](this['_singleActiveUnitService'][_0x19b428(0x2f3)](this[_0x19b428(0x134)])[_0x19b428(0x332)](_0x45ad59=>{var _0x279598=_0x19b428;this[_0x279598(0x447)][_0x279598(0x44f)]('[CollaborationEntity]',_0x279598(0x425),_0x45ad59),_0x45ad59===Fe['OTHER_CLIENTS_EDITING']?(this[_0x279598(0x40e)][_0x279598(0x427)]({'id':Q['OTHER_CLIENT_EDITING']}),this['_permissionService'][_0x279598(0x3dd)](new J['WorkbookEditablePermission'](this[_0x279598(0x134)])['id'],!0x1),this[_0x279598(0x450)][_0x279598(0x3ea)](!0x1)):(this[_0x279598(0x450)][_0x279598(0x3dd)](new J[(_0x279598(0x3ee))](this[_0x279598(0x134)])['id'],!0x0),this['_permissionService']['setShowComponents'](!0x0));})));let _0x5ae82a=!0x1;return this[_0x19b428(0x31b)](this[_0x19b428(0x2c5)]['sessionStatus$']['subscribe'](_0x450f06=>{var _0x505915=_0x19b428;_0x450f06===se[_0x505915(0x1dd)]?this[_0x505915(0x435)](_0x5ae82a):_0x450f06===se[_0x505915(0x429)]&&(_0x5ae82a=!0x0,this[_0x505915(0x321)]());})),this[_0x19b428(0x31b)](this[_0x19b428(0x2c5)]['event$'][_0x19b428(0x332)](_0x3577b3=>{var _0x4f34ac=_0x19b428;try{switch(_0x3577b3['eventID']){case m['CollaborationEvent'][_0x4f34ac(0x2cc)]:{this['_onRemoteChangeset'](m[_0x4f34ac(0x1ae)](_0x3577b3[_0x4f34ac(0x406)]));break;}case m[_0x4f34ac(0x2b5)][_0x4f34ac(0x3d5)]:{this[_0x4f34ac(0x146)](_0x3577b3['data']);break;}case m['CollaborationEvent'][_0x4f34ac(0x353)]:{this[_0x4f34ac(0x2c6)]();break;}case m[_0x4f34ac(0x2b5)]['CHANGESET_SHOULD_RETRY']:{this[_0x4f34ac(0x15b)](_0x3577b3[_0x4f34ac(0x406)]);break;}case m['CollaborationEvent']['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x4f34ac(0x130)](_0x3577b3['data']['changesets'][_0x4f34ac(0x1da)](_0x54d8b0=>m[_0x4f34ac(0x1ae)](_0x54d8b0)));break;}case m[_0x4f34ac(0x2b5)][_0x4f34ac(0x158)]:{this[_0x4f34ac(0x2c6)]({'isPermissionRej':!0x0});break;}case m[_0x4f34ac(0x2b5)][_0x4f34ac(0x356)]:break;}}catch(_0x25921c){throw console['error'](_0x4f34ac(0x34e),_0x25921c),_0x25921c;}})),this[_0x19b428(0x2d5)];}[_0x23fcf5(0x1c9)](){var _0x24dec5=_0x23fcf5;this[_0x24dec5(0x189)]=!0x1;}[_0x23fcf5(0x176)](){var _0x13bcc5=_0x23fcf5;if(this[_0x13bcc5(0x189)])throw new Error(_0x13bcc5(0xed));this[_0x13bcc5(0x189)]=!0x0;}['_onLocalMutation'](_0x238e52){var _0x5366db=_0x23fcf5;this['_lockTransition'](),this[_0x5366db(0xf9)](this[_0x5366db(0x2d5)][_0x5366db(0x1ba)](_0x238e52)),this[_0x5366db(0x1c9)]();}[_0x23fcf5(0x1d5)](_0x4a7f82){var _0x3322f6=_0x23fcf5;if(!(_0x4a7f82[_0x3322f6(0x28d)]<=this[_0x3322f6(0xda)][_0x3322f6(0x177)](this[_0x3322f6(0x134)]))){if(this['_collaborationPaused']){this['_remoteChangesetQueue'][_0x3322f6(0x228)](_0x4a7f82);return;}this[_0x3322f6(0x3cb)](_0x4a7f82);}}[_0x23fcf5(0x26c)](){var _0x2546d7=_0x23fcf5;this[_0x2546d7(0x16c)]['forEach'](_0x598b79=>this[_0x2546d7(0x3cb)](_0x598b79)),this[_0x2546d7(0x16c)]=[];}['_applyRemoteChangeset'](_0x5b655e){var _0x443796=_0x23fcf5;const _0x4eefc4=this[_0x443796(0x2ea)][_0x443796(0x3c8)][_0x443796(0x149)](this[_0x443796(0x2ea)][_0x443796(0x3c8)][_0x443796(0x1d9)]()[_0x443796(0x397)])(_0x5b655e[_0x443796(0x33a)],null)||_0x5b655e[_0x443796(0x33a)],_0x106dd7={..._0x5b655e,'mutations':_0x4eefc4};this[_0x443796(0x176)](),this['_updateState'](this[_0x443796(0x2d5)][_0x443796(0x1b2)](_0x106dd7)),this[_0x443796(0x1c9)]();}[_0x23fcf5(0x146)](_0x4290be){var _0x22ec18=_0x23fcf5;this[_0x22ec18(0x176)](),this[_0x22ec18(0xf9)](this[_0x22ec18(0x2d5)]['onRemoteAck'](_0x4290be)),this[_0x22ec18(0x1c9)]();}[_0x23fcf5(0x2c6)](_0x33a129){var _0x50d22e=_0x23fcf5;this['_lockTransition'](),this[_0x50d22e(0xf9)](this[_0x50d22e(0x2d5)][_0x50d22e(0x314)](_0x33a129)),this[_0x50d22e(0x1c9)]();}['_onRemoteRetry'](_0x2e041c){var _0x31a8c5=_0x23fcf5;this[_0x31a8c5(0x176)](),this[_0x31a8c5(0xf9)](this['_state'][_0x31a8c5(0x42d)](_0x2e041c)),this[_0x31a8c5(0x1c9)]();}[_0x23fcf5(0x130)](_0x47b862){var _0x19b411=_0x23fcf5;if(!(this['_state']instanceof exports[_0x19b411(0x3af)]))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x10de34=_0x47b862[_0x19b411(0x1da)](_0x249caf=>{var _0x5c7405=_0x19b411;const _0x4c14b5=this[_0x5c7405(0x2ea)][_0x5c7405(0x3c8)]['fetchThroughInterceptors'](this[_0x5c7405(0x2ea)]['interceptor'][_0x5c7405(0x1d9)]()['COMPRESS_MUTATION_APPLY'])(_0x249caf['mutations'],null)||_0x249caf[_0x5c7405(0x33a)];return{..._0x249caf,'mutations':_0x4c14b5};});this[_0x19b411(0x176)](),this['_updateState'](this[_0x19b411(0x2d5)][_0x19b411(0x22b)](_0x10de34)),this['_unlockTransition']();}[_0x23fcf5(0x321)](){var _0x382750=_0x23fcf5;this[_0x382750(0x176)](),this[_0x382750(0xf9)](this['_state'][_0x382750(0x329)]()),this[_0x382750(0x1c9)]();}[_0x23fcf5(0x435)](_0x5a65dc=!0x1){var _0x3b501f=_0x23fcf5;this[_0x3b501f(0x176)](),this[_0x3b501f(0xf9)](this[_0x3b501f(0x2d5)]['toggleOnline']()),this['_unlockTransition']();const _0x37ab52=this[_0x3b501f(0x2d5)];_0x5a65dc&&_0x37ab52 instanceof exports[_0x3b501f(0x285)]&&(this[_0x3b501f(0x176)](),this[_0x3b501f(0xf9)](_0x37ab52[_0x3b501f(0x1a2)]()),this[_0x3b501f(0x1c9)]());}async[_0x23fcf5(0x364)](){return new Promise(_0x52cdbf=>{var _0x28a721=_0x4d81;this[_0x28a721(0x2c5)][_0x28a721(0x164)][_0x28a721(0x205)](H[_0x28a721(0x325)](0x1))[_0x28a721(0x332)](async _0x323a8d=>{var _0x264fa2=_0x28a721;_0x52cdbf(await this[_0x264fa2(0x43d)](_0x323a8d===se[_0x264fa2(0x1dd)]));});});}[_0x23fcf5(0x437)](){const _0x81c21b=this['unitID'];return{'onStateChange':(_0xd94f27,_0x3e0803)=>{var _0x5a0b7a=_0x4d81;if(_0xd94f27!==this[_0x5a0b7a(0x2d5)])throw new Error(_0x5a0b7a(0x308)+_0xd94f27[_0x5a0b7a(0x2d2)]+_0x5a0b7a(0x2ce)+_0x3e0803[_0x5a0b7a(0x2d2)]+_0x5a0b7a(0x30f)+this['_state']['status']);this[_0x5a0b7a(0xf9)](_0x3e0803);},'onSendChangeset':_0x49bf15=>{var _0x82a7a1=_0x4d81;_0x49bf15[_0x82a7a1(0x26e)]||(_0x49bf15[_0x82a7a1(0x26e)]=this[_0x82a7a1(0x39c)],_0x49bf15[_0x82a7a1(0x14c)]=++this[_0x82a7a1(0x44b)]);const _0x161710={'eventID':m[_0x82a7a1(0x2b5)][_0x82a7a1(0x1c1)],'data':{'unitID':_0x49bf15[_0x82a7a1(0x134)],'unitType':this[_0x82a7a1(0x1c2)],'changeset':_0x49bf15,'memberID':this[_0x82a7a1(0x2c5)]['getMemberID']()}};this[_0x82a7a1(0x2c5)][_0x82a7a1(0x2b3)](_0x161710,this['unitID']);},'onMissingChangesets':({from:_0x1990fb,to:_0x8815b0})=>{var _0x4fa232=_0x4d81;this[_0x4fa232(0x447)][_0x4fa232(0x44f)](_0x4fa232(0x198),_0x4fa232(0xe6)+_0x1990fb+_0x4fa232(0x125)+_0x8815b0);const _0x2d6e85={'eventID':m[_0x4fa232(0x2b5)][_0x4fa232(0x2a7)],'data':{'unitID':_0x81c21b,'unitType':this[_0x4fa232(0x1c2)],'from':_0x1990fb,'to':_0x8815b0}};this[_0x4fa232(0x2c5)]['send'](_0x2d6e85,this['unitID']);}};}async['_createInitialStateImpl'](_0x5a55b9){var _0x4d623e=_0x23fcf5,_0x1fbec8,_0x22bb00,_0x2afd10;const _0x472b99=await((_0x1fbec8=this['_localCacheService'])==null?void 0x0:_0x1fbec8[_0x4d623e(0x34b)](this[_0x4d623e(0x134)])),_0x214f87=(_0x22bb00=_0x472b99==null?void 0x0:_0x472b99[_0x4d623e(0x33a)])!=null?_0x22bb00:[],_0x405102=(_0x2afd10=_0x472b99==null?void 0x0:_0x472b99[_0x4d623e(0x35f)])!=null?_0x2afd10:null,_0x162583=!!(_0x405102!=null&&_0x405102[_0x4d623e(0x26e)])&&!!(_0x405102!=null&&_0x405102['reqId']);this[_0x4d623e(0x39c)]=_0x162583?_0x405102[_0x4d623e(0x26e)]:gn(),this['_changesetReqId']=_0x162583?_0x405102[_0x4d623e(0x14c)]:0x0;const _0x463df7=this[_0x4d623e(0x134)];try{this[_0x4d623e(0x287)](_0x405102,_0x214f87);}catch(_0x4074bc){this[_0x4d623e(0x447)][_0x4d623e(0x39b)](_0x4074bc);}const _0x2af454=this[_0x4d623e(0x437)]();if(_0x5a55b9){const _0x3feca9=Pt(this[_0x4d623e(0x305)],_0x463df7,this[_0x4d623e(0x1c2)],_0x405102,_0x214f87,_0x2af454);return _0x3feca9 instanceof exports['PendingState']?_0x3feca9['_schedule']():(_0x3feca9 instanceof exports[_0x4d623e(0x105)]||_0x3feca9 instanceof exports[_0x4d623e(0x35e)])&&_0x3feca9['resend'](),_0x3feca9;}return this[_0x4d623e(0x305)][_0x4d623e(0x41d)](exports[_0x4d623e(0x2a5)],_0x463df7,this[_0x4d623e(0x1c2)],_0x405102,_0x214f87,_0x2af454);}['_replayCachedMutations'](_0x805e7c,_0x5b3a47){var _0x45e0e6=_0x23fcf5,_0x317319,_0x132e6d;const _0x375f41=this[_0x45e0e6(0x2ea)][_0x45e0e6(0x3c8)][_0x45e0e6(0x149)](this[_0x45e0e6(0x2ea)][_0x45e0e6(0x3c8)][_0x45e0e6(0x1d9)]()['COMPRESS_MUTATION_APPLY']);(_0x317319=_0x375f41((_0x805e7c==null?void 0x0:_0x805e7c[_0x45e0e6(0x33a)])||[],null))==null||_0x317319['forEach'](_0x3b6a5e=>this[_0x45e0e6(0x343)][_0x45e0e6(0x44a)](_0x3b6a5e['id'],_0x3b6a5e['params'])),(_0x132e6d=_0x375f41(_0x5b3a47||[],null))==null||_0x132e6d[_0x45e0e6(0x28e)](_0x21f847=>this[_0x45e0e6(0x343)]['executeCommand'](_0x21f847['id'],_0x21f847[_0x45e0e6(0x1fa)]));}},exports[_0x23fcf5(0xfc)]=Ge([k(0x3,a[_0x23fcf5(0x11a)](a[_0x23fcf5(0x368)])),k(0x4,a[_0x23fcf5(0x11a)](m[_0x23fcf5(0x338)])),k(0x5,a['Inject'](a[_0x23fcf5(0x41e)])),k(0x6,a['Inject'](m[_0x23fcf5(0x303)])),k(0x7,a[_0x23fcf5(0x11a)](te)),k(0x8,a['ILogService']),k(0x9,a['ICommandService']),k(0xa,a[_0x23fcf5(0x28b)]),k(0xb,a[_0x23fcf5(0x1fe)](ve)),k(0xc,a[_0x23fcf5(0x1fe)](z))],exports[_0x23fcf5(0xfc)]),exports[_0x23fcf5(0x2ba)]=class extends exports[_0x23fcf5(0xfc)]{constructor(_0x1a6e00,_0x54f4da,_0x10dc9e,_0x3e69c2,_0x2cc5ac,_0xe686a7,_0x5cf44b,_0xe5910d,_0x538dfb,_0x3208c4,_0x259b98,_0x5fcff9,_0x47c89d){var _0x497812=_0x23fcf5;super(_0x1a6e00,_0x10dc9e,_0x54f4da,_0x3e69c2,_0x2cc5ac,_0xe686a7,_0x5cf44b,_0xe5910d,_0x538dfb,_0x3208c4,_0x259b98,_0x5fcff9,_0x47c89d),D(this,_0x497812(0x350),null),(this['unitID']=_0x1a6e00,this[_0x497812(0x21a)]=_0x54f4da);}[_0x23fcf5(0x139)](_0x452d19){var _0x38bf08=_0x23fcf5;this[_0x38bf08(0x350)]=_0x452d19;}[_0x23fcf5(0x27d)](){var _0x2e81da=_0x23fcf5;this[_0x2e81da(0x350)]=null,super['dispose']();}[_0x23fcf5(0x437)](){var _0x569c59=_0x23fcf5;const _0x1b32e8=super[_0x569c59(0x437)]();return _0x1b32e8[_0x569c59(0x2d6)]=_0x4a8f2a=>{var _0x42a6a4=_0x569c59,_0x25e193,_0x198e1d;return(_0x198e1d=(_0x25e193=this[_0x42a6a4(0x350)])==null?void 0x0:_0x25e193['onTransformIME'])==null?void 0x0:_0x198e1d['call'](_0x25e193,_0x4a8f2a);},_0x1b32e8[_0x569c59(0x24e)]=_0x1f6f74=>{var _0x2b056e=_0x569c59,_0x1df20a,_0x5f5cbf;return(_0x5f5cbf=(_0x1df20a=this[_0x2b056e(0x350)])==null?void 0x0:_0x1df20a['onTransformState'])==null?void 0x0:_0x5f5cbf[_0x2b056e(0x2d3)](_0x1df20a,_0x1f6f74);},_0x1b32e8[_0x569c59(0x14f)]=_0x35f34e=>{var _0x26943f=_0x569c59,_0x215104,_0xef25c7;return(_0xef25c7=(_0x215104=this[_0x26943f(0x350)])==null?void 0x0:_0x215104[_0x26943f(0x14f)])==null?void 0x0:_0xef25c7[_0x26943f(0x2d3)](_0x215104,_0x35f34e);},_0x1b32e8['onSyncEditingCollabCursor']=_0x2cbe22=>{var _0x4b779c=_0x569c59,_0x56de27,_0x9dbdd3;return(_0x9dbdd3=(_0x56de27=this[_0x4b779c(0x350)])==null?void 0x0:_0x56de27['onSyncEditingCollabCursor'])==null?void 0x0:_0x9dbdd3[_0x4b779c(0x2d3)](_0x56de27,_0x2cbe22);},_0x1b32e8[_0x569c59(0x145)]=_0x12eb91=>{var _0x30d737=_0x569c59,_0xe653a3,_0x564f0b,_0x40dc40;if(!((_0xe653a3=this[_0x30d737(0x350)])!=null&&_0xe653a3[_0x30d737(0x145)]))throw new Error(_0x30d737(0x2f4));return(_0x40dc40=(_0x564f0b=this[_0x30d737(0x350)])==null?void 0x0:_0x564f0b[_0x30d737(0x145)])==null?void 0x0:_0x40dc40[_0x30d737(0x2d3)](_0x564f0b,_0x12eb91);},_0x1b32e8[_0x569c59(0x334)]=_0x9a5040=>{var _0x45b522=_0x569c59,_0x42975a,_0x288fe2,_0x4e1dad;if(!((_0x42975a=this[_0x45b522(0x350)])!=null&&_0x42975a[_0x45b522(0x334)]))throw new Error(_0x45b522(0x1e3));return(_0x4e1dad=(_0x288fe2=this[_0x45b522(0x350)])==null?void 0x0:_0x288fe2[_0x45b522(0x334)])==null?void 0x0:_0x4e1dad[_0x45b522(0x2d3)](_0x288fe2,_0x9a5040);},_0x1b32e8;}async[_0x23fcf5(0x296)](){var _0x39f1e9=_0x23fcf5;const _0x3dfe2b=await super[_0x39f1e9(0x296)]();return this[_0x39f1e9(0x31b)](this[_0x39f1e9(0x343)][_0x39f1e9(0x14b)]((_0x6adec1,_0x35da7a)=>{var _0x449cf2=_0x39f1e9;if(_0x6adec1[_0x449cf2(0x21a)]!==a[_0x449cf2(0x459)][_0x449cf2(0x442)]||_0x35da7a!=null&&_0x35da7a[_0x449cf2(0x143)]||_0x35da7a!=null&&_0x35da7a[_0x449cf2(0x315)]||_0x6adec1['id']===dt[_0x449cf2(0x1b1)]['id'])return;const _0x167438=_0x6adec1[_0x449cf2(0x1fa)];if((_0x167438==null?void 0x0:_0x167438[_0x449cf2(0x44d)])!==this['unitID'])return;const _0x1d165e=_0x6adec1,_0x152f1f=this[_0x449cf2(0x2ea)][_0x449cf2(0x3c8)][_0x449cf2(0x149)](this['_compressMutationService'][_0x449cf2(0x3c8)][_0x449cf2(0x1d9)]()[_0x449cf2(0x3aa)])([_0x1d165e],null)||[_0x1d165e];this[_0x449cf2(0x3b4)](_0x152f1f[0x0]);})),_0x3dfe2b;}},exports[_0x23fcf5(0x2ba)]=Ge([k(0x3,a[_0x23fcf5(0x11a)](a[_0x23fcf5(0x368)])),k(0x4,a[_0x23fcf5(0x11a)](m[_0x23fcf5(0x338)])),k(0x5,a['Inject'](a[_0x23fcf5(0x41e)])),k(0x6,a[_0x23fcf5(0x11a)](m[_0x23fcf5(0x303)])),k(0x7,a[_0x23fcf5(0x11a)](te)),k(0x8,a['ILogService']),k(0x9,a[_0x23fcf5(0x229)]),k(0xa,a[_0x23fcf5(0x28b)]),k(0xb,a[_0x23fcf5(0x1fe)](ve)),k(0xc,a[_0x23fcf5(0x1fe)](z))],exports[_0x23fcf5(0x2ba)]),exports['SheetCollaborationEntity']=class extends exports['CollaborationEntity']{constructor(_0x5c5e79,_0x21fe83,_0x26af3c,_0x387245,_0x59271f,_0x18e7d6,_0x856afa,_0x564314,_0x5344ca,_0x434e32,_0x108f0a,_0xe3df94,_0x90021d,_0x575fd4){var _0x4a6023=_0x23fcf5;super(_0x5c5e79,_0x26af3c,_0x21fe83,_0x387245,_0x59271f,_0x18e7d6,_0x856afa,_0x5344ca,_0x434e32,_0x108f0a,_0xe3df94,_0x90021d,_0x575fd4),this[_0x4a6023(0x134)]=_0x5c5e79,this[_0x4a6023(0x21a)]=_0x21fe83,this['_sheetTransformSelectionsService']=_0x564314;}[_0x23fcf5(0x437)](){var _0x51eb64=_0x23fcf5;const _0x5af2f1=super[_0x51eb64(0x437)]();return _0x5af2f1[_0x51eb64(0x14f)]=_0x1d89e8=>this[_0x51eb64(0x3a0)][_0x51eb64(0x254)](_0x1d89e8),_0x5af2f1;}async[_0x23fcf5(0x296)](){var _0x53fd0d=_0x23fcf5;const _0x2fe092=await super['_init']();return this[_0x53fd0d(0x31b)](this['_commandService'][_0x53fd0d(0x14b)]((_0x9dfd57,_0x16425b)=>{var _0x3fbf13=_0x53fd0d;if(_0x9dfd57[_0x3fbf13(0x21a)]!==a[_0x3fbf13(0x459)][_0x3fbf13(0x442)]||_0x16425b!=null&&_0x16425b[_0x3fbf13(0x143)]||_0x16425b!=null&&_0x16425b[_0x3fbf13(0x315)])return;const _0x3042c9=_0x9dfd57[_0x3fbf13(0x1fa)];if((_0x3042c9==null?void 0x0:_0x3042c9['unitId'])!==this[_0x3fbf13(0x134)])return;const _0x20de3b=_0x9dfd57,_0x3d0a84=this[_0x3fbf13(0x2ea)][_0x3fbf13(0x3c8)][_0x3fbf13(0x149)](this[_0x3fbf13(0x2ea)]['interceptor'][_0x3fbf13(0x1d9)]()['COMPRESS_MUTATION_SEND'])([_0x20de3b],null)||[_0x20de3b];this[_0x3fbf13(0x3b4)](_0x3d0a84[0x0]);})),_0x2fe092;}},exports['SheetCollaborationEntity']=Ge([k(0x3,a[_0x23fcf5(0x11a)](a[_0x23fcf5(0x368)])),k(0x4,a['Inject'](m['CompressMutationService'])),k(0x5,a[_0x23fcf5(0x11a)](a[_0x23fcf5(0x41e)])),k(0x6,a[_0x23fcf5(0x11a)](m['RevisionService'])),k(0x7,a['Inject'](exports[_0x23fcf5(0x30b)])),k(0x8,a[_0x23fcf5(0x11a)](te)),k(0x9,a['ILogService']),k(0xa,a[_0x23fcf5(0x229)]),k(0xb,a[_0x23fcf5(0x28b)]),k(0xc,a[_0x23fcf5(0x1fe)](ve)),k(0xd,a['Optional'](z))],exports['SheetCollaborationEntity']);var wn=Object[_0x23fcf5(0x14d)],An=Object[_0x23fcf5(0x291)],Ln=(_0x584e57,_0xf5c520,_0x1ddf4b,_0x5e7453)=>{var _0x1b59c1=_0x23fcf5;for(var _0x2f6813=_0x5e7453>0x1?void 0x0:_0x5e7453?An(_0xf5c520,_0x1ddf4b):_0xf5c520,_0x3fb852=_0x584e57[_0x1b59c1(0x358)]-0x1,_0x4f82a0;_0x3fb852>=0x0;_0x3fb852--)(_0x4f82a0=_0x584e57[_0x3fb852])&&(_0x2f6813=(_0x5e7453?_0x4f82a0(_0xf5c520,_0x1ddf4b,_0x2f6813):_0x4f82a0(_0x2f6813))||_0x2f6813);return _0x5e7453&&_0x2f6813&&wn(_0xf5c520,_0x1ddf4b,_0x2f6813),_0x2f6813;},we=(_0x6941b0,_0x4dabae)=>(_0x24af8b,_0x58dfdd)=>_0x4dabae(_0x24af8b,_0x58dfdd,_0x6941b0);exports[_0x23fcf5(0x1d8)]=class extends a[_0x23fcf5(0x1b3)]{constructor(_0x25f10f,_0x177f6d,_0xb62560){var _0x6b9732=_0x23fcf5;super(),D(this,_0x6b9732(0x41a),new Map()),D(this,_0x6b9732(0x3e1),new H[(_0x6b9732(0x227))]()),D(this,_0x6b9732(0x3c4),this[_0x6b9732(0x3e1)][_0x6b9732(0x1cf)]()),(this[_0x6b9732(0x305)]=_0x25f10f,this['_collabSessionService']=_0x177f6d,this['_univerInstanceService']=_0xb62560,this['_init']());}[_0x23fcf5(0x27d)](){var _0x186fd5=_0x23fcf5;super['dispose'](),this[_0x186fd5(0x41a)][_0x186fd5(0x28e)](_0x310533=>_0x310533[_0x186fd5(0x27d)]()),this[_0x186fd5(0x41a)]['clear']();}[_0x23fcf5(0x374)](_0xb2876b){var _0x53fcfc=_0x23fcf5,_0x5649aa;return(_0x5649aa=this[_0x53fcfc(0x41a)][_0x53fcfc(0x11c)](_0xb2876b))!=null?_0x5649aa:null;}['getCollabEntity$'](_0x2e530a){var _0x37f17d=_0x23fcf5;const _0x4cb27b=this[_0x37f17d(0x374)](_0x2e530a);return _0x4cb27b?H['of'](_0x4cb27b):this[_0x37f17d(0x3e1)]['pipe'](W[_0x37f17d(0x23c)](_0x57de88=>_0x57de88[_0x37f17d(0x134)]===_0x2e530a));}[_0x23fcf5(0x18b)](_0x3c0aef){var _0x1240ad=_0x23fcf5;return H['firstValueFrom'](this[_0x1240ad(0x15f)](_0x3c0aef)[_0x1240ad(0x205)](W['map'](()=>{})));}['_init'](){var _0x39aaa7=_0x23fcf5;this[_0x39aaa7(0x3ce)][_0x39aaa7(0x399)](a[_0x39aaa7(0x387)][_0x39aaa7(0x1b5)])[_0x39aaa7(0x205)](H[_0x39aaa7(0x32d)](this[_0x39aaa7(0x160)]),W[_0x39aaa7(0x1a4)](0x10))[_0x39aaa7(0x332)](async _0x2ba0a2=>{var _0x2c878e=_0x39aaa7;const _0x5e825f=_0x2ba0a2[_0x2c878e(0x408)](),_0x14c073=await this['_startCollaboration'](_0x5e825f,Z[_0x2c878e(0x1b5)]);this['_entities'][_0x2c878e(0x2ec)](_0x5e825f,_0x14c073);}),this['_univerInstanceService'][_0x39aaa7(0x399)](a['UniverInstanceType'][_0x39aaa7(0x19a)])['pipe'](H[_0x39aaa7(0x32d)](this[_0x39aaa7(0x160)]),W[_0x39aaa7(0x1a4)](0x10))[_0x39aaa7(0x205)](W['filter'](_0x377b58=>!_0x377b58['getUnitId']()[_0x39aaa7(0xee)]('__')))['subscribe'](async _0x106967=>{var _0xeb100a=_0x39aaa7;const _0x3053fd=_0x106967[_0xeb100a(0x408)](),_0x144e89=await this[_0xeb100a(0x2fe)](_0x3053fd,Z[_0xeb100a(0x19a)]);this[_0xeb100a(0x41a)][_0xeb100a(0x2ec)](_0x3053fd,_0x144e89);}),H[_0x39aaa7(0x326)](this['_univerInstanceService'][_0x39aaa7(0x1ee)](a['UniverInstanceType']['UNIVER_SHEET']),this[_0x39aaa7(0x3ce)][_0x39aaa7(0x1ee)](a[_0x39aaa7(0x387)][_0x39aaa7(0x19a)]))[_0x39aaa7(0x205)](H[_0x39aaa7(0x32d)](this[_0x39aaa7(0x160)]))['subscribe'](_0xd1e44f=>{var _0x54da6d=_0x39aaa7;const _0x3e78cf=_0xd1e44f[_0x54da6d(0x408)](),_0x24529e=this[_0x54da6d(0x41a)][_0x54da6d(0x11c)](_0x3e78cf);_0x24529e&&(_0x24529e[_0x54da6d(0x27d)](),this[_0x54da6d(0x41a)][_0x54da6d(0x2bb)](_0x3e78cf));});}async[_0x23fcf5(0x2fe)](_0x30223d,_0x38b90b){var _0x4cd52a=_0x23fcf5;const _0x10a2af=await this['_collabSessionService']['requireSession'](_0x30223d),_0x5f2b1d=this[_0x4cd52a(0x305)][_0x4cd52a(0x41d)](this[_0x4cd52a(0x12a)](_0x38b90b),_0x30223d,_0x38b90b,_0x10a2af);return await _0x5f2b1d[_0x4cd52a(0x281)](),this[_0x4cd52a(0x3e1)]['next'](_0x5f2b1d),_0x5f2b1d;}[_0x23fcf5(0x12a)](_0x5d8586){var _0x10b42a=_0x23fcf5;switch(_0x5d8586){case Z[_0x10b42a(0x19a)]:return exports[_0x10b42a(0x2ba)];case Z['UNIVER_SHEET']:return exports[_0x10b42a(0x208)];default:throw new Error(_0x10b42a(0x100)+_0x5d8586);}}},exports[_0x23fcf5(0x1d8)]=Ln([we(0x0,a['Inject'](a[_0x23fcf5(0x368)])),we(0x1,a[_0x23fcf5(0x11a)](exports[_0x23fcf5(0x3a9)])),we(0x2,a[_0x23fcf5(0x133)])],exports[_0x23fcf5(0x1d8)]);var Mn=Object[_0x23fcf5(0x14d)],xn=Object[_0x23fcf5(0x291)],jn=(_0x5944be,_0x56b78d,_0x4c112e,_0x3f098a)=>{var _0xe40369=_0x23fcf5;for(var _0x465fbb=_0x3f098a>0x1?void 0x0:_0x3f098a?xn(_0x56b78d,_0x4c112e):_0x56b78d,_0x5aaca1=_0x5944be[_0xe40369(0x358)]-0x1,_0x1bacdb;_0x5aaca1>=0x0;_0x5aaca1--)(_0x1bacdb=_0x5944be[_0x5aaca1])&&(_0x465fbb=(_0x3f098a?_0x1bacdb(_0x56b78d,_0x4c112e,_0x465fbb):_0x1bacdb(_0x465fbb))||_0x465fbb);return _0x3f098a&&_0x465fbb&&Mn(_0x56b78d,_0x4c112e,_0x465fbb),_0x465fbb;},Xe=(_0x367af9,_0x3aa40c)=>(_0x4e84c6,_0x172fea)=>_0x3aa40c(_0x4e84c6,_0x172fea,_0x367af9);const $n=_0x23fcf5(0xea),Hn='Univer';let $e=class extends a['Disposable']{constructor(_0x1993e5,_0xc50e39){var _0x1cec3d=_0x23fcf5;super(),this[_0x1cec3d(0x3ce)]=_0x1993e5,this[_0x1cec3d(0x194)]=_0xc50e39,this[_0x1cec3d(0x296)]();}[_0x23fcf5(0x296)](){var _0x325c8c=_0x23fcf5;this[_0x325c8c(0x31b)](this[_0x325c8c(0x3ce)][_0x325c8c(0xf5)][_0x325c8c(0x332)](()=>{var _0x58306d=_0x325c8c,_0xef16b2;const _0x535b83=this[_0x58306d(0x3ce)][_0x58306d(0x192)]();let _0x440838=(_0xef16b2=this[_0x58306d(0x194)][_0x58306d(0x3d1)]($n))!=null?_0xef16b2:Hn;_0x535b83 instanceof a[_0x58306d(0x18f)]&&(_0x440838=_0x535b83[_0x58306d(0xe4)]),document[_0x58306d(0x129)]=_0x440838;}));}};$e=jn([Xe(0x0,a[_0x23fcf5(0x133)]),Xe(0x1,a[_0x23fcf5(0x17e)])],$e);var kn=Object[_0x23fcf5(0x14d)],Bn=Object['getOwnPropertyDescriptor'],Fn=(_0x1b4e51,_0x32ec1b,_0x34826e,_0x44ff73)=>{var _0x36a349=_0x23fcf5;for(var _0x399917=_0x44ff73>0x1?void 0x0:_0x44ff73?Bn(_0x32ec1b,_0x34826e):_0x32ec1b,_0x56aee7=_0x1b4e51[_0x36a349(0x358)]-0x1,_0x3fbde8;_0x56aee7>=0x0;_0x56aee7--)(_0x3fbde8=_0x1b4e51[_0x56aee7])&&(_0x399917=(_0x44ff73?_0x3fbde8(_0x32ec1b,_0x34826e,_0x399917):_0x3fbde8(_0x399917))||_0x399917);return _0x44ff73&&_0x399917&&kn(_0x32ec1b,_0x34826e,_0x399917),_0x399917;},Ae=(_0x3b1ec4,_0x3088e7)=>(_0x5902f1,_0x415f71)=>_0x3088e7(_0x5902f1,_0x415f71,_0x3b1ec4);let ye=class{constructor(_0x43e9e0,_0x3336fe,_0x450239){var _0x537e4a=_0x23fcf5;this[_0x537e4a(0x194)]=_0x43e9e0,this[_0x537e4a(0x418)]=_0x3336fe,this[_0x537e4a(0x118)]=_0x450239,this['init']();}[_0x23fcf5(0x281)](){var _0x149140=_0x23fcf5;this[_0x149140(0x418)][_0x149140(0x12e)]({'priority':0x1,'interceptor':(_0xafa5dd,_0xcdec2d)=>_0xcdec2d(_0xafa5dd)['pipe'](H['concatMap'](async _0x2df36f=>{var _0x2cb252=_0x149140;const _0x5beb25=_0x2df36f;if(_0x5beb25['status']===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x2cb252(0xf0)](this[_0x2cb252(0x118)]['t']('auth.needGotoLoginAlert'))){const _0x4fc09b=window[_0x2cb252(0x454)](window[_0x2cb252(0x188)]['href']);window['location'][_0x2cb252(0x458)]=this[_0x2cb252(0x119)]()+_0x2cb252(0x375)+_0x4fc09b;}}return _0x5beb25;}))});}['_getLoginPath'](){var _0x270ee5=_0x23fcf5,_0x1b54ca,_0x39bcba;const _0x54e918=this[_0x270ee5(0x194)]['getConfig'](Ct),_0x4583ff=this[_0x270ee5(0x194)][_0x270ee5(0x3d1)](Y);return(_0x39bcba=(_0x1b54ca=_0x4583ff==null?void 0x0:_0x4583ff[_0x270ee5(0x2da)])!=null?_0x1b54ca:_0x54e918)!=null?_0x39bcba:zt;}};ye=Fn([Ae(0x0,a['IConfigService']),Ae(0x1,a[_0x23fcf5(0x11a)](q[_0x23fcf5(0x3f3)])),Ae(0x2,a[_0x23fcf5(0x11a)](a[_0x23fcf5(0x41e)]))],ye);var Wn=Object[_0x23fcf5(0x14d)],Gn=Object[_0x23fcf5(0x291)],Vn=(_0x2f2b13,_0x36e683,_0x5c9a67,_0x1df3f6)=>{var _0x5e1802=_0x23fcf5;for(var _0x2f0fd5=_0x1df3f6>0x1?void 0x0:_0x1df3f6?Gn(_0x36e683,_0x5c9a67):_0x36e683,_0x1f1367=_0x2f2b13[_0x5e1802(0x358)]-0x1,_0x292f9b;_0x1f1367>=0x0;_0x1f1367--)(_0x292f9b=_0x2f2b13[_0x1f1367])&&(_0x2f0fd5=(_0x1df3f6?_0x292f9b(_0x36e683,_0x5c9a67,_0x2f0fd5):_0x292f9b(_0x2f0fd5))||_0x2f0fd5);return _0x1df3f6&&_0x2f0fd5&&Wn(_0x36e683,_0x5c9a67,_0x2f0fd5),_0x2f0fd5;},Ze=(_0x1d346e,_0x364420)=>(_0x1aad44,_0x4d14c1)=>_0x364420(_0x1aad44,_0x4d14c1,_0x1d346e);const Ve=_0x23fcf5(0x35c),Kn='/universer-api/authz';exports[_0x23fcf5(0x225)]=class extends a[_0x23fcf5(0x367)]{constructor(_0x59caf7,_0x4c678a){var _0x18f6a3=_0x23fcf5;super(),this[_0x18f6a3(0x18a)]=_0x59caf7,this['_configService']=_0x4c678a,this[_0x18f6a3(0x304)]();}[_0x23fcf5(0x304)](){var _0x4a91a6=_0x23fcf5;const _0x302139=this;this[_0x4a91a6(0x31b)](this[_0x4a91a6(0x18a)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':q[_0x4a91a6(0x42f)]({'isMatch'(_0x508058){var _0x4e8d4a=_0x4a91a6,_0x207a6f;if(_0x508058[_0x4e8d4a(0x32b)]===_0x4e8d4a(0x264)&&((_0x207a6f=_0x508058[_0x4e8d4a(0x2b7)])!=null&&_0x207a6f[_0x4e8d4a(0x3b1)])){const {objectID:_0x47e177,objectType:_0x38c7ee}=_0x508058[_0x4e8d4a(0x2b7)]['body']||{};if(!_0x47e177||_0x38c7ee===void 0x0)return!0x1;const _0x12d9ca=_0x302139['_getAPIPrefixPath']()+'/'+_0x38c7ee+_0x4e8d4a(0x222)+_0x47e177+'/allowed';if(_0x508058[_0x4e8d4a(0x187)]===_0x12d9ca)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x1d0162){var _0x44f081=_0x4a91a6,_0x2ae3f1;return(_0x2ae3f1=_0x1d0162[_0x44f081(0x2b7)])==null?void 0x0:_0x2ae3f1[_0x44f081(0x3b1)];},'mergeParamsToRequest'(_0x515fa4,_0x47a7d1){var _0x1bfb09=_0x4a91a6;const _0x4118f0=_0x302139[_0x1bfb09(0x2f6)]()+'/-/object/-/batch_allowed',_0x146e71=_0x515fa4[_0x1bfb09(0x230)]((_0x4f8be5,_0x3e7e8e)=>{var _0x591d39=_0x1bfb09;const {unitID:_0x23175a,objectID:_0x3ab287,objectType:_0x23e44b,actions:_0x52431e}=_0x3e7e8e;return _0x4f8be5[_0x23175a]||(_0x4f8be5[_0x23175a]={}),_0x4f8be5[_0x23175a][_0x3ab287]||(_0x4f8be5[_0x23175a][_0x3ab287]={'objectID':_0x3ab287,'objectType':_0x23e44b,'actions':[]}),_0x4f8be5[_0x23175a][_0x3ab287][_0x591d39(0x342)][_0x591d39(0x228)](..._0x52431e),_0x4f8be5;},{}),_0x2caebf=[];for(const _0x3b8cbb in _0x146e71)for(const _0x1d9782 in _0x146e71[_0x3b8cbb]){const {actions:_0x55948b,objectType:_0x2e3300}=_0x146e71[_0x3b8cbb][_0x1d9782],_0xfc6e57=[...new Set(_0x55948b)];_0x2caebf[_0x1bfb09(0x228)]({'unitID':_0x3b8cbb,'objectID':_0x1d9782,'objectType':_0x2e3300,'actions':_0xfc6e57});}return new q[(_0x1bfb09(0x390))](_0x1bfb09(0x264),_0x4118f0,{'headers':_0x47a7d1['headers'],'withCredentials':_0x47a7d1[_0x1bfb09(0x16b)],'responseType':_0x47a7d1['responseType'],'body':{'requests':_0x2caebf}});}},{'distributeResult'(_0x4c6054,_0x30da04){const {objectActions:_0x46b26b}=_0x4c6054;return _0x30da04['map'](_0x5bb317=>{var _0xf0af14=_0x4d81;const {unitID:_0x4bdc8c,objectID:_0x328812,actions:_0x355ac1}=_0x5bb317,_0x1608c2=_0x46b26b[_0xf0af14(0x202)](_0x57e614=>_0x57e614[_0xf0af14(0x134)]===_0x4bdc8c&&_0x57e614[_0xf0af14(0x1eb)]===_0x328812),_0x905da7=_0x355ac1['map'](_0x43f04e=>_0x1608c2==null?void 0x0:_0x1608c2['actions']['find'](_0x2e322b=>_0x2e322b[_0xf0af14(0x26d)]===_0x43f04e))[_0xf0af14(0x23c)](_0x367a75=>!!_0x367a75);return{'config':_0x5bb317,'result':{'actions':_0x905da7,'error':_0x4c6054[_0xf0af14(0x39b)]}};});}})}));}[_0x23fcf5(0x2f6)](){var _0x3c5104=_0x23fcf5,_0x57e669,_0x198f7c;const _0x4dcd3d=this[_0x3c5104(0x194)][_0x3c5104(0x3d1)](Ve),_0x143803=this[_0x3c5104(0x194)][_0x3c5104(0x3d1)](Y);return(_0x198f7c=(_0x57e669=_0x143803==null?void 0x0:_0x143803[_0x3c5104(0x112)])!=null?_0x57e669:_0x4dcd3d)!=null?_0x198f7c:Kn;}async[_0x23fcf5(0x138)](_0x39650d){var _0x126424=_0x23fcf5;const _0x2fca1b=this[_0x126424(0x2f6)]()+'/'+_0x39650d[_0x126424(0x1df)]+_0x126424(0x403);return(await this['_HTTPService'][_0x126424(0x28a)](_0x2fca1b,{'body':_0x39650d}))['body']['objectID']||'';}async['list'](_0x18c61e){var _0x2d7d30=_0x23fcf5;const _0xaf8b3b=this[_0x2d7d30(0x2f6)]()+_0x2d7d30(0x140);return(await this[_0x2d7d30(0x18a)][_0x2d7d30(0x28a)](_0xaf8b3b,{'body':_0x18c61e}))[_0x2d7d30(0x3b1)][_0x2d7d30(0x3a6)];}async['update'](_0x34f1d3){var _0x327527=_0x23fcf5;const _0x4a53de=this[_0x327527(0x2f6)]()+'/'+_0x34f1d3[_0x327527(0x1df)]+_0x327527(0x222)+_0x34f1d3[_0x327527(0x1eb)];await this['_HTTPService'][_0x327527(0x2e6)](_0x4a53de,{'body':_0x34f1d3});}async[_0x23fcf5(0x1d4)](_0x29cca4){var _0x54e3be=_0x23fcf5;const _0x27f413=this[_0x54e3be(0x2f6)]()+'/'+_0x29cca4[_0x54e3be(0x1df)]+'/object/'+_0x29cca4[_0x54e3be(0x1eb)]+_0x54e3be(0x1c6);return(await this[_0x54e3be(0x18a)][_0x54e3be(0x28a)](_0x27f413,{'body':_0x29cca4}))[_0x54e3be(0x3b1)][_0x54e3be(0x342)];}async[_0x23fcf5(0x3b8)](_0x1578ff){var _0x45a4dc=_0x23fcf5;const _0xba7294=this[_0x45a4dc(0x2f6)]()+_0x45a4dc(0x34c);return(await this[_0x45a4dc(0x18a)][_0x45a4dc(0x28a)](_0xba7294,{'body':{'requests':_0x1578ff}}))['body'][_0x45a4dc(0x1f3)];}async[_0x23fcf5(0x20d)](_0x3a1933){var _0x4ff88c=_0x23fcf5;const _0x41ad7e=this[_0x4ff88c(0x2f6)]()+'/'+_0x3a1933[_0x4ff88c(0x1df)]+'/role',_0x2b1856=await this[_0x4ff88c(0x18a)]['post'](_0x41ad7e,{'body':_0x3a1933});return{'roles':_0x2b1856['body'][_0x4ff88c(0x167)],'actions':_0x2b1856[_0x4ff88c(0x3b1)]['actions']};}async[_0x23fcf5(0x30e)](_0x5c14b3){var _0x1d1d3b=_0x23fcf5;const _0x6178a0=this['_getAPIPrefixPath']()+_0x1d1d3b(0x131);await this[_0x1d1d3b(0x18a)][_0x1d1d3b(0x2bb)](_0x6178a0,{'params':{'collaboratorID':_0x5c14b3[_0x1d1d3b(0x2f2)],'objectID':_0x5c14b3['objectID'],'unitID':_0x5c14b3[_0x1d1d3b(0x134)]}});}async[_0x23fcf5(0x1d0)](_0xfd2516){var _0x2a920b=_0x23fcf5;const _0x2ac2b1=this[_0x2a920b(0x2f6)]()+_0x2a920b(0x131);await this[_0x2a920b(0x18a)][_0x2a920b(0x2b1)](_0x2ac2b1,{'body':_0xfd2516});}async[_0x23fcf5(0x3f4)](_0xd70f7d){var _0x506edc=_0x23fcf5;const _0x47bca7=this[_0x506edc(0x2f6)]()+_0x506edc(0x131);await this[_0x506edc(0x18a)]['post'](_0x47bca7,{'body':_0xd70f7d});}async['listCollaborators'](_0x3948ca){var _0x57a923=_0x23fcf5;const _0x299adf=this['_getAPIPrefixPath']()+_0x57a923(0x131);return(await this['_HTTPService'][_0x57a923(0x11c)](_0x299adf,{'params':{'objectID':_0x3948ca[_0x57a923(0x1eb)],'unitID':_0x3948ca[_0x57a923(0x134)]}}))['body'][_0x57a923(0x110)];}async[_0x23fcf5(0x24b)](_0x1d0530){var _0x32f312=_0x23fcf5;const _0x3ed0d9=this[_0x32f312(0x2f6)]()+'/collaborator';await this['_HTTPService'][_0x32f312(0x2e6)](_0x3ed0d9,{'body':_0x1d0530});}},exports[_0x23fcf5(0x225)]=Vn([Ze(0x0,a[_0x23fcf5(0x11a)](q['HTTPService'])),Ze(0x1,a['Inject'](a[_0x23fcf5(0x17e)]))],exports[_0x23fcf5(0x225)]);var Le=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function fe(_0x5402ba){var _0x720eac=_0x23fcf5;return _0x5402ba&&_0x5402ba[_0x720eac(0x35a)]&&Object[_0x720eac(0x286)]['hasOwnProperty'][_0x720eac(0x2d3)](_0x5402ba,_0x720eac(0x372))?_0x5402ba[_0x720eac(0x372)]:_0x5402ba;}var Se={'exports':{}};function Yn(_0xd32d66){var _0x5aece5=_0x23fcf5;throw new Error(_0x5aece5(0x213)+_0xd32d66+_0x5aece5(0x2df));}var pe={'exports':{}},qn=pe[_0x23fcf5(0x172)],Qe;function ee(){var _0x13db1e=_0x23fcf5;return Qe||(Qe=0x1,function(_0xab5951,_0x10c169){(function(_0x328496,_0x35e960){_0xab5951['exports']=_0x35e960();}(qn,function(){var _0xc89a3=_0xc89a3||function(_0x31c3fa,_0x1c837f){var _0x45ce06=_0x4d81,_0x302b82;if(typeof window<'u'&&window[_0x45ce06(0x25c)]&&(_0x302b82=window[_0x45ce06(0x25c)]),typeof self<'u'&&self[_0x45ce06(0x25c)]&&(_0x302b82=self['crypto']),typeof globalThis<'u'&&globalThis[_0x45ce06(0x25c)]&&(_0x302b82=globalThis[_0x45ce06(0x25c)]),!_0x302b82&&typeof window<'u'&&window[_0x45ce06(0xf7)]&&(_0x302b82=window[_0x45ce06(0xf7)]),!_0x302b82&&typeof Le<'u'&&Le[_0x45ce06(0x25c)]&&(_0x302b82=Le[_0x45ce06(0x25c)]),!_0x302b82&&typeof Yn=='function')try{_0x302b82=require('crypto');}catch{}var _0x307073=function(){var _0x4f0a48=_0x45ce06;if(_0x302b82){if(typeof _0x302b82[_0x4f0a48(0x171)]==_0x4f0a48(0x1a6))try{return _0x302b82['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x302b82['randomBytes']==_0x4f0a48(0x1a6))try{return _0x302b82[_0x4f0a48(0xd6)](0x4)[_0x4f0a48(0x3a7)]();}catch{}}throw new Error(_0x4f0a48(0x33c));},_0x2f0267=Object[_0x45ce06(0x138)]||(function(){function _0x4e8ee3(){}return function(_0x391309){var _0x26d8e3=_0x4d81,_0x12e51a;return _0x4e8ee3[_0x26d8e3(0x286)]=_0x391309,_0x12e51a=new _0x4e8ee3(),_0x4e8ee3['prototype']=null,_0x12e51a;};}()),_0x453a08={},_0x95faf1=_0x453a08['lib']={},_0x4223d6=_0x95faf1[_0x45ce06(0x236)]=(function(){return{'extend':function(_0x2099bc){var _0x21ff28=_0x4d81,_0x52ce63=_0x2f0267(this);return _0x2099bc&&_0x52ce63['mixIn'](_0x2099bc),(!_0x52ce63[_0x21ff28(0x2ff)](_0x21ff28(0x281))||this[_0x21ff28(0x281)]===_0x52ce63[_0x21ff28(0x281)])&&(_0x52ce63[_0x21ff28(0x281)]=function(){var _0x21276e=_0x21ff28;_0x52ce63['$super'][_0x21276e(0x281)][_0x21276e(0x223)](this,arguments);}),_0x52ce63[_0x21ff28(0x281)][_0x21ff28(0x286)]=_0x52ce63,_0x52ce63['$super']=this,_0x52ce63;},'create':function(){var _0x515569=_0x4d81,_0x3ee508=this[_0x515569(0x251)]();return _0x3ee508['init']['apply'](_0x3ee508,arguments),_0x3ee508;},'init':function(){},'mixIn':function(_0x234c59){var _0x5d2e2e=_0x4d81;for(var _0x239755 in _0x234c59)_0x234c59[_0x5d2e2e(0x2ff)](_0x239755)&&(this[_0x239755]=_0x234c59[_0x239755]);_0x234c59[_0x5d2e2e(0x2ff)](_0x5d2e2e(0x43f))&&(this[_0x5d2e2e(0x43f)]=_0x234c59[_0x5d2e2e(0x43f)]);},'clone':function(){var _0x17ed7a=_0x4d81;return this[_0x17ed7a(0x281)][_0x17ed7a(0x286)][_0x17ed7a(0x251)](this);}};}()),_0x58f60b=_0x95faf1[_0x45ce06(0x298)]=_0x4223d6[_0x45ce06(0x251)]({'init':function(_0x5a38fb,_0x3da33c){var _0x2f8ed8=_0x45ce06;_0x5a38fb=this['words']=_0x5a38fb||[],_0x3da33c!=_0x1c837f?this[_0x2f8ed8(0x15e)]=_0x3da33c:this['sigBytes']=_0x5a38fb[_0x2f8ed8(0x358)]*0x4;},'toString':function(_0x566e8d){return(_0x566e8d||_0x23f7c2)['stringify'](this);},'concat':function(_0x42a183){var _0x56dfe7=_0x45ce06,_0xac6012=this[_0x56dfe7(0x2d4)],_0x3a0dc9=_0x42a183['words'],_0x193a51=this[_0x56dfe7(0x15e)],_0x12ddab=_0x42a183[_0x56dfe7(0x15e)];if(this[_0x56dfe7(0x226)](),_0x193a51%0x4)for(var _0x4d0049=0x0;_0x4d0049<_0x12ddab;_0x4d0049++){var _0x938d6f=_0x3a0dc9[_0x4d0049>>>0x2]>>>0x18-_0x4d0049%0x4*0x8&0xff;_0xac6012[_0x193a51+_0x4d0049>>>0x2]|=_0x938d6f<<0x18-(_0x193a51+_0x4d0049)%0x4*0x8;}else{for(var _0xce463d=0x0;_0xce463d<_0x12ddab;_0xce463d+=0x4)_0xac6012[_0x193a51+_0xce463d>>>0x2]=_0x3a0dc9[_0xce463d>>>0x2];}return this[_0x56dfe7(0x15e)]+=_0x12ddab,this;},'clamp':function(){var _0x327596=_0x45ce06,_0x226380=this['words'],_0xfae035=this[_0x327596(0x15e)];_0x226380[_0xfae035>>>0x2]&=0xffffffff<<0x20-_0xfae035%0x4*0x8,_0x226380[_0x327596(0x358)]=_0x31c3fa[_0x327596(0xe7)](_0xfae035/0x4);},'clone':function(){var _0x304068=_0x45ce06,_0x585834=_0x4223d6[_0x304068(0xfe)][_0x304068(0x2d3)](this);return _0x585834['words']=this[_0x304068(0x2d4)][_0x304068(0x13d)](0x0),_0x585834;},'random':function(_0x5b77a0){for(var _0x2baf23=[],_0x487644=0x0;_0x487644<_0x5b77a0;_0x487644+=0x4)_0x2baf23['push'](_0x307073());return new _0x58f60b['init'](_0x2baf23,_0x5b77a0);}}),_0x4a56c8=_0x453a08['enc']={},_0x23f7c2=_0x4a56c8[_0x45ce06(0x244)]={'stringify':function(_0x5fee10){var _0x348f9e=_0x45ce06;for(var _0x4e9006=_0x5fee10[_0x348f9e(0x2d4)],_0x2271f2=_0x5fee10[_0x348f9e(0x15e)],_0x506df5=[],_0x430cf4=0x0;_0x430cf4<_0x2271f2;_0x430cf4++){var _0x68d9c8=_0x4e9006[_0x430cf4>>>0x2]>>>0x18-_0x430cf4%0x4*0x8&0xff;_0x506df5[_0x348f9e(0x228)]((_0x68d9c8>>>0x4)['toString'](0x10)),_0x506df5[_0x348f9e(0x228)]((_0x68d9c8&0xf)[_0x348f9e(0x43f)](0x10));}return _0x506df5[_0x348f9e(0x2a3)]('');},'parse':function(_0xae008d){var _0x3862d8=_0x45ce06;for(var _0x5d24ba=_0xae008d[_0x3862d8(0x358)],_0x254b56=[],_0x3acb2a=0x0;_0x3acb2a<_0x5d24ba;_0x3acb2a+=0x2)_0x254b56[_0x3acb2a>>>0x3]|=parseInt(_0xae008d[_0x3862d8(0x29a)](_0x3acb2a,0x2),0x10)<<0x18-_0x3acb2a%0x8*0x4;return new _0x58f60b['init'](_0x254b56,_0x5d24ba/0x2);}},_0x5bf082=_0x4a56c8[_0x45ce06(0x3b5)]={'stringify':function(_0x446412){var _0x657f8b=_0x45ce06;for(var _0x2e9bfa=_0x446412[_0x657f8b(0x2d4)],_0x3f8676=_0x446412[_0x657f8b(0x15e)],_0x1307da=[],_0xf63126=0x0;_0xf63126<_0x3f8676;_0xf63126++){var _0x3626d1=_0x2e9bfa[_0xf63126>>>0x2]>>>0x18-_0xf63126%0x4*0x8&0xff;_0x1307da[_0x657f8b(0x228)](String[_0x657f8b(0x1be)](_0x3626d1));}return _0x1307da['join']('');},'parse':function(_0x34ec8f){var _0x54056c=_0x45ce06;for(var _0x543604=_0x34ec8f[_0x54056c(0x358)],_0x129a17=[],_0x3df16f=0x0;_0x3df16f<_0x543604;_0x3df16f++)_0x129a17[_0x3df16f>>>0x2]|=(_0x34ec8f[_0x54056c(0x323)](_0x3df16f)&0xff)<<0x18-_0x3df16f%0x4*0x8;return new _0x58f60b[(_0x54056c(0x281))](_0x129a17,_0x543604);}},_0x4b6362=_0x4a56c8[_0x45ce06(0x12f)]={'stringify':function(_0x5b3dd7){var _0x402564=_0x45ce06;try{return decodeURIComponent(escape(_0x5bf082[_0x402564(0x19e)](_0x5b3dd7)));}catch{throw new Error(_0x402564(0x35d));}},'parse':function(_0x398cac){var _0x1f4b95=_0x45ce06;return _0x5bf082[_0x1f4b95(0x241)](unescape(encodeURIComponent(_0x398cac)));}},_0x103d7d=_0x95faf1[_0x45ce06(0x395)]=_0x4223d6[_0x45ce06(0x251)]({'reset':function(){var _0x1cfe54=_0x45ce06;this[_0x1cfe54(0xdc)]=new _0x58f60b[(_0x1cfe54(0x281))](),this[_0x1cfe54(0x31a)]=0x0;},'_append':function(_0x29160a){var _0x15c8a9=_0x45ce06;typeof _0x29160a==_0x15c8a9(0x446)&&(_0x29160a=_0x4b6362[_0x15c8a9(0x241)](_0x29160a)),this['_data'][_0x15c8a9(0x336)](_0x29160a),this[_0x15c8a9(0x31a)]+=_0x29160a[_0x15c8a9(0x15e)];},'_process':function(_0x3b4d34){var _0xc7e5aa=_0x45ce06,_0x5d4caa,_0x3b4c17=this[_0xc7e5aa(0xdc)],_0x3b6174=_0x3b4c17[_0xc7e5aa(0x2d4)],_0xea1826=_0x3b4c17[_0xc7e5aa(0x15e)],_0x1741d3=this[_0xc7e5aa(0x357)],_0x45dcc3=_0x1741d3*0x4,_0x19921a=_0xea1826/_0x45dcc3;_0x3b4d34?_0x19921a=_0x31c3fa['ceil'](_0x19921a):_0x19921a=_0x31c3fa[_0xc7e5aa(0x382)]((_0x19921a|0x0)-this[_0xc7e5aa(0x2e4)],0x0);var _0x5e10d9=_0x19921a*_0x1741d3,_0x47474c=_0x31c3fa[_0xc7e5aa(0x262)](_0x5e10d9*0x4,_0xea1826);if(_0x5e10d9){for(var _0x5c467d=0x0;_0x5c467d<_0x5e10d9;_0x5c467d+=_0x1741d3)this[_0xc7e5aa(0x38c)](_0x3b6174,_0x5c467d);_0x5d4caa=_0x3b6174[_0xc7e5aa(0x3e4)](0x0,_0x5e10d9),_0x3b4c17[_0xc7e5aa(0x15e)]-=_0x47474c;}return new _0x58f60b['init'](_0x5d4caa,_0x47474c);},'clone':function(){var _0x331a79=_0x45ce06,_0x5731d3=_0x4223d6[_0x331a79(0xfe)][_0x331a79(0x2d3)](this);return _0x5731d3[_0x331a79(0xdc)]=this[_0x331a79(0xdc)][_0x331a79(0xfe)](),_0x5731d3;},'_minBufferSize':0x0});_0x95faf1[_0x45ce06(0x370)]=_0x103d7d[_0x45ce06(0x251)]({'cfg':_0x4223d6[_0x45ce06(0x251)](),'init':function(_0x598a41){var _0xbf43a3=_0x45ce06;this['cfg']=this[_0xbf43a3(0x3f1)][_0xbf43a3(0x251)](_0x598a41),this[_0xbf43a3(0x1a8)]();},'reset':function(){var _0x3c8802=_0x45ce06;_0x103d7d[_0x3c8802(0x1a8)][_0x3c8802(0x2d3)](this),this[_0x3c8802(0x2fc)]();},'update':function(_0xb42076){var _0x348867=_0x45ce06;return this['_append'](_0xb42076),this[_0x348867(0x349)](),this;},'finalize':function(_0x18dda2){_0x18dda2&&this['_append'](_0x18dda2);var _0x3e4e27=this['_doFinalize']();return _0x3e4e27;},'blockSize':0x10,'_createHelper':function(_0x102cc7){return function(_0x32450d,_0x5b00eb){var _0x416eb1=_0x4d81;return new _0x102cc7[(_0x416eb1(0x281))](_0x5b00eb)['finalize'](_0x32450d);};},'_createHmacHelper':function(_0x179cd6){return function(_0xe46f7c,_0x195dc6){var _0x122076=_0x4d81;return new _0x31c179[(_0x122076(0x242))][(_0x122076(0x281))](_0x179cd6,_0x195dc6)[_0x122076(0xd4)](_0xe46f7c);};}});var _0x31c179=_0x453a08[_0x45ce06(0x290)]={};return _0x453a08;}(Math);return _0xc89a3;}));}(pe)),pe[_0x13db1e(0x172)];}var me={'exports':{}},zn=me[_0x23fcf5(0x172)],et;function Dt(){var _0x409609=_0x23fcf5;return et||(et=0x1,function(_0x259200,_0x124417){(function(_0x58d642,_0x2121fc){var _0x5a6dd2=_0x4d81;_0x259200[_0x5a6dd2(0x172)]=_0x2121fc(ee());}(zn,function(_0x20cbba){var _0xa28efd=_0x4d81;return(function(){var _0x1fa4cb=_0x4d81,_0x2211f3=_0x20cbba,_0x368804=_0x2211f3[_0x1fa4cb(0x235)],_0xd69bea=_0x368804[_0x1fa4cb(0x298)],_0x47d531=_0x2211f3[_0x1fa4cb(0x166)];_0x47d531[_0x1fa4cb(0x301)]={'stringify':function(_0x48a9fb){var _0x54227f=_0x1fa4cb,_0x3897c5=_0x48a9fb[_0x54227f(0x2d4)],_0x1a660c=_0x48a9fb['sigBytes'],_0x3b9d24=this[_0x54227f(0x34d)];_0x48a9fb[_0x54227f(0x226)]();for(var _0x3f8dc7=[],_0x567769=0x0;_0x567769<_0x1a660c;_0x567769+=0x3)for(var _0x368918=_0x3897c5[_0x567769>>>0x2]>>>0x18-_0x567769%0x4*0x8&0xff,_0x9f553a=_0x3897c5[_0x567769+0x1>>>0x2]>>>0x18-(_0x567769+0x1)%0x4*0x8&0xff,_0x442970=_0x3897c5[_0x567769+0x2>>>0x2]>>>0x18-(_0x567769+0x2)%0x4*0x8&0xff,_0x22e811=_0x368918<<0x10|_0x9f553a<<0x8|_0x442970,_0x4b147f=0x0;_0x4b147f<0x4&&_0x567769+_0x4b147f*0.75<_0x1a660c;_0x4b147f++)_0x3f8dc7[_0x54227f(0x228)](_0x3b9d24[_0x54227f(0x331)](_0x22e811>>>0x6*(0x3-_0x4b147f)&0x3f));var _0x40b457=_0x3b9d24[_0x54227f(0x331)](0x40);if(_0x40b457){for(;_0x3f8dc7[_0x54227f(0x358)]%0x4;)_0x3f8dc7['push'](_0x40b457);}return _0x3f8dc7[_0x54227f(0x2a3)]('');},'parse':function(_0x3bcd83){var _0x33f614=_0x1fa4cb,_0x27420e=_0x3bcd83[_0x33f614(0x358)],_0x3b83f3=this[_0x33f614(0x34d)],_0x1a1347=this[_0x33f614(0x1d6)];if(!_0x1a1347){_0x1a1347=this[_0x33f614(0x1d6)]=[];for(var _0x1ba9fe=0x0;_0x1ba9fe<_0x3b83f3[_0x33f614(0x358)];_0x1ba9fe++)_0x1a1347[_0x3b83f3[_0x33f614(0x323)](_0x1ba9fe)]=_0x1ba9fe;}var _0x47e0c2=_0x3b83f3[_0x33f614(0x331)](0x40);if(_0x47e0c2){var _0xcc2287=_0x3bcd83['indexOf'](_0x47e0c2);_0xcc2287!==-0x1&&(_0x27420e=_0xcc2287);}return _0x49fae7(_0x3bcd83,_0x27420e,_0x1a1347);},'_map':_0x1fa4cb(0x246)};function _0x49fae7(_0x2f3e7f,_0x25ce0c,_0x4f7958){var _0x4e6909=_0x1fa4cb;for(var _0x5b842e=[],_0x769c93=0x0,_0x120e16=0x0;_0x120e16<_0x25ce0c;_0x120e16++)if(_0x120e16%0x4){var _0x260843=_0x4f7958[_0x2f3e7f[_0x4e6909(0x323)](_0x120e16-0x1)]<<_0x120e16%0x4*0x2,_0x546f71=_0x4f7958[_0x2f3e7f['charCodeAt'](_0x120e16)]>>>0x6-_0x120e16%0x4*0x2,_0x7cb95a=_0x260843|_0x546f71;_0x5b842e[_0x769c93>>>0x2]|=_0x7cb95a<<0x18-_0x769c93%0x4*0x8,_0x769c93++;}return _0xd69bea['create'](_0x5b842e,_0x769c93);}}()),_0x20cbba[_0xa28efd(0x166)][_0xa28efd(0x301)];}));}(me)),me[_0x409609(0x172)];}var ge={'exports':{}},Jn=ge[_0x23fcf5(0x172)],tt;function Xn(){return tt||(tt=0x1,function(_0x25a67d,_0x3cfbc5){(function(_0x19c34f,_0x21fd33){var _0x57fec3=_0x4d81;_0x25a67d[_0x57fec3(0x172)]=_0x21fd33(ee());}(Jn,function(_0x138b1c){var _0x555ed8=_0x4d81;return function(_0x3163e2){var _0x183ccb=_0x4d81,_0x30b1b8=_0x138b1c,_0x138845=_0x30b1b8[_0x183ccb(0x235)],_0x4be847=_0x138845[_0x183ccb(0x298)],_0x32bf8e=_0x138845['Hasher'],_0x5e8318=_0x30b1b8[_0x183ccb(0x290)],_0x4edb69=[];(function(){for(var _0x72891c=0x0;_0x72891c<0x40;_0x72891c++)_0x4edb69[_0x72891c]=_0x3163e2['abs'](_0x3163e2['sin'](_0x72891c+0x1))*0x100000000|0x0;}());var _0x5e76d3=_0x5e8318[_0x183ccb(0x2e2)]=_0x32bf8e['extend']({'_doReset':function(){var _0x5e4ebf=_0x183ccb;this[_0x5e4ebf(0x16d)]=new _0x4be847[(_0x5e4ebf(0x281))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x3fadc5,_0x44147a){var _0x79e84d=_0x183ccb;for(var _0x1f9959=0x0;_0x1f9959<0x10;_0x1f9959++){var _0x5d66a2=_0x44147a+_0x1f9959,_0x4acc3c=_0x3fadc5[_0x5d66a2];_0x3fadc5[_0x5d66a2]=(_0x4acc3c<<0x8|_0x4acc3c>>>0x18)&0xff00ff|(_0x4acc3c<<0x18|_0x4acc3c>>>0x8)&0xff00ff00;}var _0x537467=this[_0x79e84d(0x16d)][_0x79e84d(0x2d4)],_0x2651da=_0x3fadc5[_0x44147a+0x0],_0x476c3f=_0x3fadc5[_0x44147a+0x1],_0x3d707b=_0x3fadc5[_0x44147a+0x2],_0x3407ad=_0x3fadc5[_0x44147a+0x3],_0x1fcb67=_0x3fadc5[_0x44147a+0x4],_0x7897f0=_0x3fadc5[_0x44147a+0x5],_0x3122ad=_0x3fadc5[_0x44147a+0x6],_0x3916d8=_0x3fadc5[_0x44147a+0x7],_0x566aa3=_0x3fadc5[_0x44147a+0x8],_0x21c114=_0x3fadc5[_0x44147a+0x9],_0x4f6c10=_0x3fadc5[_0x44147a+0xa],_0x5d2ed7=_0x3fadc5[_0x44147a+0xb],_0x50b174=_0x3fadc5[_0x44147a+0xc],_0x157baf=_0x3fadc5[_0x44147a+0xd],_0x32e425=_0x3fadc5[_0x44147a+0xe],_0x595a09=_0x3fadc5[_0x44147a+0xf],_0x387ec3=_0x537467[0x0],_0x37a597=_0x537467[0x1],_0x580cb9=_0x537467[0x2],_0x2e9c77=_0x537467[0x3];_0x387ec3=_0x751510(_0x387ec3,_0x37a597,_0x580cb9,_0x2e9c77,_0x2651da,0x7,_0x4edb69[0x0]),_0x2e9c77=_0x751510(_0x2e9c77,_0x387ec3,_0x37a597,_0x580cb9,_0x476c3f,0xc,_0x4edb69[0x1]),_0x580cb9=_0x751510(_0x580cb9,_0x2e9c77,_0x387ec3,_0x37a597,_0x3d707b,0x11,_0x4edb69[0x2]),_0x37a597=_0x751510(_0x37a597,_0x580cb9,_0x2e9c77,_0x387ec3,_0x3407ad,0x16,_0x4edb69[0x3]),_0x387ec3=_0x751510(_0x387ec3,_0x37a597,_0x580cb9,_0x2e9c77,_0x1fcb67,0x7,_0x4edb69[0x4]),_0x2e9c77=_0x751510(_0x2e9c77,_0x387ec3,_0x37a597,_0x580cb9,_0x7897f0,0xc,_0x4edb69[0x5]),_0x580cb9=_0x751510(_0x580cb9,_0x2e9c77,_0x387ec3,_0x37a597,_0x3122ad,0x11,_0x4edb69[0x6]),_0x37a597=_0x751510(_0x37a597,_0x580cb9,_0x2e9c77,_0x387ec3,_0x3916d8,0x16,_0x4edb69[0x7]),_0x387ec3=_0x751510(_0x387ec3,_0x37a597,_0x580cb9,_0x2e9c77,_0x566aa3,0x7,_0x4edb69[0x8]),_0x2e9c77=_0x751510(_0x2e9c77,_0x387ec3,_0x37a597,_0x580cb9,_0x21c114,0xc,_0x4edb69[0x9]),_0x580cb9=_0x751510(_0x580cb9,_0x2e9c77,_0x387ec3,_0x37a597,_0x4f6c10,0x11,_0x4edb69[0xa]),_0x37a597=_0x751510(_0x37a597,_0x580cb9,_0x2e9c77,_0x387ec3,_0x5d2ed7,0x16,_0x4edb69[0xb]),_0x387ec3=_0x751510(_0x387ec3,_0x37a597,_0x580cb9,_0x2e9c77,_0x50b174,0x7,_0x4edb69[0xc]),_0x2e9c77=_0x751510(_0x2e9c77,_0x387ec3,_0x37a597,_0x580cb9,_0x157baf,0xc,_0x4edb69[0xd]),_0x580cb9=_0x751510(_0x580cb9,_0x2e9c77,_0x387ec3,_0x37a597,_0x32e425,0x11,_0x4edb69[0xe]),_0x37a597=_0x751510(_0x37a597,_0x580cb9,_0x2e9c77,_0x387ec3,_0x595a09,0x16,_0x4edb69[0xf]),_0x387ec3=_0x420e5f(_0x387ec3,_0x37a597,_0x580cb9,_0x2e9c77,_0x476c3f,0x5,_0x4edb69[0x10]),_0x2e9c77=_0x420e5f(_0x2e9c77,_0x387ec3,_0x37a597,_0x580cb9,_0x3122ad,0x9,_0x4edb69[0x11]),_0x580cb9=_0x420e5f(_0x580cb9,_0x2e9c77,_0x387ec3,_0x37a597,_0x5d2ed7,0xe,_0x4edb69[0x12]),_0x37a597=_0x420e5f(_0x37a597,_0x580cb9,_0x2e9c77,_0x387ec3,_0x2651da,0x14,_0x4edb69[0x13]),_0x387ec3=_0x420e5f(_0x387ec3,_0x37a597,_0x580cb9,_0x2e9c77,_0x7897f0,0x5,_0x4edb69[0x14]),_0x2e9c77=_0x420e5f(_0x2e9c77,_0x387ec3,_0x37a597,_0x580cb9,_0x4f6c10,0x9,_0x4edb69[0x15]),_0x580cb9=_0x420e5f(_0x580cb9,_0x2e9c77,_0x387ec3,_0x37a597,_0x595a09,0xe,_0x4edb69[0x16]),_0x37a597=_0x420e5f(_0x37a597,_0x580cb9,_0x2e9c77,_0x387ec3,_0x1fcb67,0x14,_0x4edb69[0x17]),_0x387ec3=_0x420e5f(_0x387ec3,_0x37a597,_0x580cb9,_0x2e9c77,_0x21c114,0x5,_0x4edb69[0x18]),_0x2e9c77=_0x420e5f(_0x2e9c77,_0x387ec3,_0x37a597,_0x580cb9,_0x32e425,0x9,_0x4edb69[0x19]),_0x580cb9=_0x420e5f(_0x580cb9,_0x2e9c77,_0x387ec3,_0x37a597,_0x3407ad,0xe,_0x4edb69[0x1a]),_0x37a597=_0x420e5f(_0x37a597,_0x580cb9,_0x2e9c77,_0x387ec3,_0x566aa3,0x14,_0x4edb69[0x1b]),_0x387ec3=_0x420e5f(_0x387ec3,_0x37a597,_0x580cb9,_0x2e9c77,_0x157baf,0x5,_0x4edb69[0x1c]),_0x2e9c77=_0x420e5f(_0x2e9c77,_0x387ec3,_0x37a597,_0x580cb9,_0x3d707b,0x9,_0x4edb69[0x1d]),_0x580cb9=_0x420e5f(_0x580cb9,_0x2e9c77,_0x387ec3,_0x37a597,_0x3916d8,0xe,_0x4edb69[0x1e]),_0x37a597=_0x420e5f(_0x37a597,_0x580cb9,_0x2e9c77,_0x387ec3,_0x50b174,0x14,_0x4edb69[0x1f]),_0x387ec3=_0x5b2963(_0x387ec3,_0x37a597,_0x580cb9,_0x2e9c77,_0x7897f0,0x4,_0x4edb69[0x20]),_0x2e9c77=_0x5b2963(_0x2e9c77,_0x387ec3,_0x37a597,_0x580cb9,_0x566aa3,0xb,_0x4edb69[0x21]),_0x580cb9=_0x5b2963(_0x580cb9,_0x2e9c77,_0x387ec3,_0x37a597,_0x5d2ed7,0x10,_0x4edb69[0x22]),_0x37a597=_0x5b2963(_0x37a597,_0x580cb9,_0x2e9c77,_0x387ec3,_0x32e425,0x17,_0x4edb69[0x23]),_0x387ec3=_0x5b2963(_0x387ec3,_0x37a597,_0x580cb9,_0x2e9c77,_0x476c3f,0x4,_0x4edb69[0x24]),_0x2e9c77=_0x5b2963(_0x2e9c77,_0x387ec3,_0x37a597,_0x580cb9,_0x1fcb67,0xb,_0x4edb69[0x25]),_0x580cb9=_0x5b2963(_0x580cb9,_0x2e9c77,_0x387ec3,_0x37a597,_0x3916d8,0x10,_0x4edb69[0x26]),_0x37a597=_0x5b2963(_0x37a597,_0x580cb9,_0x2e9c77,_0x387ec3,_0x4f6c10,0x17,_0x4edb69[0x27]),_0x387ec3=_0x5b2963(_0x387ec3,_0x37a597,_0x580cb9,_0x2e9c77,_0x157baf,0x4,_0x4edb69[0x28]),_0x2e9c77=_0x5b2963(_0x2e9c77,_0x387ec3,_0x37a597,_0x580cb9,_0x2651da,0xb,_0x4edb69[0x29]),_0x580cb9=_0x5b2963(_0x580cb9,_0x2e9c77,_0x387ec3,_0x37a597,_0x3407ad,0x10,_0x4edb69[0x2a]),_0x37a597=_0x5b2963(_0x37a597,_0x580cb9,_0x2e9c77,_0x387ec3,_0x3122ad,0x17,_0x4edb69[0x2b]),_0x387ec3=_0x5b2963(_0x387ec3,_0x37a597,_0x580cb9,_0x2e9c77,_0x21c114,0x4,_0x4edb69[0x2c]),_0x2e9c77=_0x5b2963(_0x2e9c77,_0x387ec3,_0x37a597,_0x580cb9,_0x50b174,0xb,_0x4edb69[0x2d]),_0x580cb9=_0x5b2963(_0x580cb9,_0x2e9c77,_0x387ec3,_0x37a597,_0x595a09,0x10,_0x4edb69[0x2e]),_0x37a597=_0x5b2963(_0x37a597,_0x580cb9,_0x2e9c77,_0x387ec3,_0x3d707b,0x17,_0x4edb69[0x2f]),_0x387ec3=_0x5b5f1d(_0x387ec3,_0x37a597,_0x580cb9,_0x2e9c77,_0x2651da,0x6,_0x4edb69[0x30]),_0x2e9c77=_0x5b5f1d(_0x2e9c77,_0x387ec3,_0x37a597,_0x580cb9,_0x3916d8,0xa,_0x4edb69[0x31]),_0x580cb9=_0x5b5f1d(_0x580cb9,_0x2e9c77,_0x387ec3,_0x37a597,_0x32e425,0xf,_0x4edb69[0x32]),_0x37a597=_0x5b5f1d(_0x37a597,_0x580cb9,_0x2e9c77,_0x387ec3,_0x7897f0,0x15,_0x4edb69[0x33]),_0x387ec3=_0x5b5f1d(_0x387ec3,_0x37a597,_0x580cb9,_0x2e9c77,_0x50b174,0x6,_0x4edb69[0x34]),_0x2e9c77=_0x5b5f1d(_0x2e9c77,_0x387ec3,_0x37a597,_0x580cb9,_0x3407ad,0xa,_0x4edb69[0x35]),_0x580cb9=_0x5b5f1d(_0x580cb9,_0x2e9c77,_0x387ec3,_0x37a597,_0x4f6c10,0xf,_0x4edb69[0x36]),_0x37a597=_0x5b5f1d(_0x37a597,_0x580cb9,_0x2e9c77,_0x387ec3,_0x476c3f,0x15,_0x4edb69[0x37]),_0x387ec3=_0x5b5f1d(_0x387ec3,_0x37a597,_0x580cb9,_0x2e9c77,_0x566aa3,0x6,_0x4edb69[0x38]),_0x2e9c77=_0x5b5f1d(_0x2e9c77,_0x387ec3,_0x37a597,_0x580cb9,_0x595a09,0xa,_0x4edb69[0x39]),_0x580cb9=_0x5b5f1d(_0x580cb9,_0x2e9c77,_0x387ec3,_0x37a597,_0x3122ad,0xf,_0x4edb69[0x3a]),_0x37a597=_0x5b5f1d(_0x37a597,_0x580cb9,_0x2e9c77,_0x387ec3,_0x157baf,0x15,_0x4edb69[0x3b]),_0x387ec3=_0x5b5f1d(_0x387ec3,_0x37a597,_0x580cb9,_0x2e9c77,_0x1fcb67,0x6,_0x4edb69[0x3c]),_0x2e9c77=_0x5b5f1d(_0x2e9c77,_0x387ec3,_0x37a597,_0x580cb9,_0x5d2ed7,0xa,_0x4edb69[0x3d]),_0x580cb9=_0x5b5f1d(_0x580cb9,_0x2e9c77,_0x387ec3,_0x37a597,_0x3d707b,0xf,_0x4edb69[0x3e]),_0x37a597=_0x5b5f1d(_0x37a597,_0x580cb9,_0x2e9c77,_0x387ec3,_0x21c114,0x15,_0x4edb69[0x3f]),_0x537467[0x0]=_0x537467[0x0]+_0x387ec3|0x0,_0x537467[0x1]=_0x537467[0x1]+_0x37a597|0x0,_0x537467[0x2]=_0x537467[0x2]+_0x580cb9|0x0,_0x537467[0x3]=_0x537467[0x3]+_0x2e9c77|0x0;},'_doFinalize':function(){var _0xe3af42=_0x183ccb,_0x3079a4=this[_0xe3af42(0xdc)],_0x1337c3=_0x3079a4[_0xe3af42(0x2d4)],_0x1b7018=this['_nDataBytes']*0x8,_0x150236=_0x3079a4[_0xe3af42(0x15e)]*0x8;_0x1337c3[_0x150236>>>0x5]|=0x80<<0x18-_0x150236%0x20;var _0x1a99df=_0x3163e2[_0xe3af42(0x20e)](_0x1b7018/0x100000000),_0x1bae4a=_0x1b7018;_0x1337c3[(_0x150236+0x40>>>0x9<<0x4)+0xf]=(_0x1a99df<<0x8|_0x1a99df>>>0x18)&0xff00ff|(_0x1a99df<<0x18|_0x1a99df>>>0x8)&0xff00ff00,_0x1337c3[(_0x150236+0x40>>>0x9<<0x4)+0xe]=(_0x1bae4a<<0x8|_0x1bae4a>>>0x18)&0xff00ff|(_0x1bae4a<<0x18|_0x1bae4a>>>0x8)&0xff00ff00,_0x3079a4[_0xe3af42(0x15e)]=(_0x1337c3['length']+0x1)*0x4,this['_process']();for(var _0x812939=this[_0xe3af42(0x16d)],_0x2a7689=_0x812939[_0xe3af42(0x2d4)],_0x1d6383=0x0;_0x1d6383<0x4;_0x1d6383++){var _0x571e9f=_0x2a7689[_0x1d6383];_0x2a7689[_0x1d6383]=(_0x571e9f<<0x8|_0x571e9f>>>0x18)&0xff00ff|(_0x571e9f<<0x18|_0x571e9f>>>0x8)&0xff00ff00;}return _0x812939;},'clone':function(){var _0xa89cca=_0x183ccb,_0x35543b=_0x32bf8e['clone']['call'](this);return _0x35543b[_0xa89cca(0x16d)]=this[_0xa89cca(0x16d)][_0xa89cca(0xfe)](),_0x35543b;}});function _0x751510(_0x16b540,_0x15a251,_0x2c7f33,_0x9863f7,_0x73e537,_0x2c2bcd,_0x1b39bf){var _0x559edf=_0x16b540+(_0x15a251&_0x2c7f33|~_0x15a251&_0x9863f7)+_0x73e537+_0x1b39bf;return(_0x559edf<<_0x2c2bcd|_0x559edf>>>0x20-_0x2c2bcd)+_0x15a251;}function _0x420e5f(_0x5552ba,_0x50f41c,_0x35c87d,_0x2fd183,_0x543a4e,_0x2b1324,_0x524452){var _0x388950=_0x5552ba+(_0x50f41c&_0x2fd183|_0x35c87d&~_0x2fd183)+_0x543a4e+_0x524452;return(_0x388950<<_0x2b1324|_0x388950>>>0x20-_0x2b1324)+_0x50f41c;}function _0x5b2963(_0x2c20f0,_0x2dea09,_0x2e5532,_0x5b482c,_0x3d1645,_0x44896f,_0x748085){var _0x22ecd3=_0x2c20f0+(_0x2dea09^_0x2e5532^_0x5b482c)+_0x3d1645+_0x748085;return(_0x22ecd3<<_0x44896f|_0x22ecd3>>>0x20-_0x44896f)+_0x2dea09;}function _0x5b5f1d(_0x905532,_0x490952,_0x594df7,_0x45da8d,_0x1182ce,_0x2a65c9,_0x1cd571){var _0x4611da=_0x905532+(_0x594df7^(_0x490952|~_0x45da8d))+_0x1182ce+_0x1cd571;return(_0x4611da<<_0x2a65c9|_0x4611da>>>0x20-_0x2a65c9)+_0x490952;}_0x30b1b8[_0x183ccb(0x2e2)]=_0x32bf8e[_0x183ccb(0x2ab)](_0x5e76d3),_0x30b1b8[_0x183ccb(0x43c)]=_0x32bf8e[_0x183ccb(0x1cd)](_0x5e76d3);}(Math),_0x138b1c[_0x555ed8(0x2e2)];}));}(ge)),ge['exports'];}var Ie={'exports':{}},Ee={'exports':{}},Zn=Ee[_0x23fcf5(0x172)],nt;function Qn(){var _0x5dcbdf=_0x23fcf5;return nt||(nt=0x1,function(_0x393d15,_0xb4f61a){(function(_0x5b1929,_0x51f350){var _0x296c25=_0x4d81;_0x393d15[_0x296c25(0x172)]=_0x51f350(ee());}(Zn,function(_0x31d59c){return(function(){var _0x5737e2=_0x4d81,_0x5ab7dc=_0x31d59c,_0x4cf7b3=_0x5ab7dc['lib'],_0x109a6d=_0x4cf7b3[_0x5737e2(0x298)],_0xd8fa11=_0x4cf7b3[_0x5737e2(0x370)],_0x1ab9f8=_0x5ab7dc[_0x5737e2(0x290)],_0x441217=[],_0xd1b57d=_0x1ab9f8[_0x5737e2(0x415)]=_0xd8fa11[_0x5737e2(0x251)]({'_doReset':function(){var _0x5af2e6=_0x5737e2;this[_0x5af2e6(0x16d)]=new _0x109a6d[(_0x5af2e6(0x281))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x3e8b95,_0x11a045){var _0x4eb58c=_0x5737e2;for(var _0x38d65f=this['_hash'][_0x4eb58c(0x2d4)],_0x1ae039=_0x38d65f[0x0],_0x2e3326=_0x38d65f[0x1],_0x423b86=_0x38d65f[0x2],_0x557539=_0x38d65f[0x3],_0x49f4e9=_0x38d65f[0x4],_0x3ebc41=0x0;_0x3ebc41<0x50;_0x3ebc41++){if(_0x3ebc41<0x10)_0x441217[_0x3ebc41]=_0x3e8b95[_0x11a045+_0x3ebc41]|0x0;else{var _0x3bf99f=_0x441217[_0x3ebc41-0x3]^_0x441217[_0x3ebc41-0x8]^_0x441217[_0x3ebc41-0xe]^_0x441217[_0x3ebc41-0x10];_0x441217[_0x3ebc41]=_0x3bf99f<<0x1|_0x3bf99f>>>0x1f;}var _0x52e27d=(_0x1ae039<<0x5|_0x1ae039>>>0x1b)+_0x49f4e9+_0x441217[_0x3ebc41];_0x3ebc41<0x14?_0x52e27d+=(_0x2e3326&_0x423b86|~_0x2e3326&_0x557539)+0x5a827999:_0x3ebc41<0x28?_0x52e27d+=(_0x2e3326^_0x423b86^_0x557539)+0x6ed9eba1:_0x3ebc41<0x3c?_0x52e27d+=(_0x2e3326&_0x423b86|_0x2e3326&_0x557539|_0x423b86&_0x557539)-0x70e44324:_0x52e27d+=(_0x2e3326^_0x423b86^_0x557539)-0x359d3e2a,_0x49f4e9=_0x557539,_0x557539=_0x423b86,_0x423b86=_0x2e3326<<0x1e|_0x2e3326>>>0x2,_0x2e3326=_0x1ae039,_0x1ae039=_0x52e27d;}_0x38d65f[0x0]=_0x38d65f[0x0]+_0x1ae039|0x0,_0x38d65f[0x1]=_0x38d65f[0x1]+_0x2e3326|0x0,_0x38d65f[0x2]=_0x38d65f[0x2]+_0x423b86|0x0,_0x38d65f[0x3]=_0x38d65f[0x3]+_0x557539|0x0,_0x38d65f[0x4]=_0x38d65f[0x4]+_0x49f4e9|0x0;},'_doFinalize':function(){var _0xb29cf3=_0x5737e2,_0x20413c=this[_0xb29cf3(0xdc)],_0x16bd88=_0x20413c[_0xb29cf3(0x2d4)],_0x426265=this[_0xb29cf3(0x31a)]*0x8,_0x17aacf=_0x20413c[_0xb29cf3(0x15e)]*0x8;return _0x16bd88[_0x17aacf>>>0x5]|=0x80<<0x18-_0x17aacf%0x20,_0x16bd88[(_0x17aacf+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x426265/0x100000000),_0x16bd88[(_0x17aacf+0x40>>>0x9<<0x4)+0xf]=_0x426265,_0x20413c[_0xb29cf3(0x15e)]=_0x16bd88[_0xb29cf3(0x358)]*0x4,this[_0xb29cf3(0x349)](),this[_0xb29cf3(0x16d)];},'clone':function(){var _0x4916b7=_0x5737e2,_0x28b29e=_0xd8fa11[_0x4916b7(0xfe)]['call'](this);return _0x28b29e['_hash']=this[_0x4916b7(0x16d)][_0x4916b7(0xfe)](),_0x28b29e;}});_0x5ab7dc[_0x5737e2(0x415)]=_0xd8fa11[_0x5737e2(0x2ab)](_0xd1b57d),_0x5ab7dc[_0x5737e2(0x170)]=_0xd8fa11['_createHmacHelper'](_0xd1b57d);}()),_0x31d59c['SHA1'];}));}(Ee)),Ee[_0x5dcbdf(0x172)];}var Ce={'exports':{}},ei=Ce[_0x23fcf5(0x172)],it;function ti(){return it||(it=0x1,function(_0x15cfbb,_0x37aaee){(function(_0x2aa360,_0xa37ef5){var _0x24694e=_0x4d81;_0x15cfbb[_0x24694e(0x172)]=_0xa37ef5(ee());}(ei,function(_0x455f77){(function(){var _0x4ffe24=_0x4d81,_0x3961b9=_0x455f77,_0x5a36e0=_0x3961b9[_0x4ffe24(0x235)],_0x3c1af6=_0x5a36e0[_0x4ffe24(0x236)],_0x11cd64=_0x3961b9['enc'],_0x263c8a=_0x11cd64[_0x4ffe24(0x12f)],_0x40db31=_0x3961b9[_0x4ffe24(0x290)];_0x40db31[_0x4ffe24(0x242)]=_0x3c1af6[_0x4ffe24(0x251)]({'init':function(_0xb75f37,_0xf5d510){var _0xd2c896=_0x4ffe24;_0xb75f37=this[_0xd2c896(0x40f)]=new _0xb75f37[(_0xd2c896(0x281))](),typeof _0xf5d510=='string'&&(_0xf5d510=_0x263c8a[_0xd2c896(0x241)](_0xf5d510));var _0x15953e=_0xb75f37[_0xd2c896(0x357)],_0x1b24fe=_0x15953e*0x4;_0xf5d510[_0xd2c896(0x15e)]>_0x1b24fe&&(_0xf5d510=_0xb75f37[_0xd2c896(0xd4)](_0xf5d510)),_0xf5d510[_0xd2c896(0x226)]();for(var _0x41f883=this[_0xd2c896(0x268)]=_0xf5d510[_0xd2c896(0xfe)](),_0x52cd64=this[_0xd2c896(0x2ad)]=_0xf5d510[_0xd2c896(0xfe)](),_0x259d1a=_0x41f883[_0xd2c896(0x2d4)],_0x34ad7a=_0x52cd64[_0xd2c896(0x2d4)],_0x24ccb5=0x0;_0x24ccb5<_0x15953e;_0x24ccb5++)_0x259d1a[_0x24ccb5]^=0x5c5c5c5c,_0x34ad7a[_0x24ccb5]^=0x36363636;_0x41f883[_0xd2c896(0x15e)]=_0x52cd64[_0xd2c896(0x15e)]=_0x1b24fe,this[_0xd2c896(0x1a8)]();},'reset':function(){var _0x52777b=_0x4ffe24,_0x48dad8=this['_hasher'];_0x48dad8[_0x52777b(0x1a8)](),_0x48dad8[_0x52777b(0x111)](this[_0x52777b(0x2ad)]);},'update':function(_0x2c2c4e){var _0x40c437=_0x4ffe24;return this['_hasher'][_0x40c437(0x111)](_0x2c2c4e),this;},'finalize':function(_0x41f4d0){var _0x2390d0=_0x4ffe24,_0x2a893d=this[_0x2390d0(0x40f)],_0x5af314=_0x2a893d[_0x2390d0(0xd4)](_0x41f4d0);_0x2a893d[_0x2390d0(0x1a8)]();var _0x2a4211=_0x2a893d['finalize'](this[_0x2390d0(0x268)]['clone']()[_0x2390d0(0x336)](_0x5af314));return _0x2a4211;}});}());}));}(Ce)),Ce['exports'];}var ni=Ie[_0x23fcf5(0x172)],rt;function wt(){var _0x2a9c50=_0x23fcf5;return rt||(rt=0x1,function(_0x8d8b88,_0x1f6fc2){(function(_0x6051d2,_0x46081f,_0x58f9b5){var _0x5d0830=_0x4d81;_0x8d8b88[_0x5d0830(0x172)]=_0x46081f(ee(),Qn(),ti());}(ni,function(_0x7b00de){var _0x3ab4ec=_0x4d81;return(function(){var _0x4e536f=_0x4d81,_0x18e572=_0x7b00de,_0x4934c2=_0x18e572[_0x4e536f(0x235)],_0x2a50da=_0x4934c2['Base'],_0x2d2ade=_0x4934c2[_0x4e536f(0x298)],_0xd1ac3e=_0x18e572[_0x4e536f(0x290)],_0x3bd784=_0xd1ac3e['MD5'],_0x567173=_0xd1ac3e[_0x4e536f(0x31f)]=_0x2a50da[_0x4e536f(0x251)]({'cfg':_0x2a50da[_0x4e536f(0x251)]({'keySize':0x80/0x20,'hasher':_0x3bd784,'iterations':0x1}),'init':function(_0x1967b6){var _0x2f4371=_0x4e536f;this['cfg']=this['cfg'][_0x2f4371(0x251)](_0x1967b6);},'compute':function(_0x1a8afa,_0x500287){var _0x35f307=_0x4e536f;for(var _0x39560e,_0x5db524=this['cfg'],_0x311301=_0x5db524[_0x35f307(0x32c)][_0x35f307(0x138)](),_0x418113=_0x2d2ade[_0x35f307(0x138)](),_0x16633d=_0x418113[_0x35f307(0x2d4)],_0x362e24=_0x5db524[_0x35f307(0x1f0)],_0x245d68=_0x5db524['iterations'];_0x16633d[_0x35f307(0x358)]<_0x362e24;){_0x39560e&&_0x311301[_0x35f307(0x111)](_0x39560e),_0x39560e=_0x311301[_0x35f307(0x111)](_0x1a8afa)[_0x35f307(0xd4)](_0x500287),_0x311301[_0x35f307(0x1a8)]();for(var _0x210d0e=0x1;_0x210d0e<_0x245d68;_0x210d0e++)_0x39560e=_0x311301['finalize'](_0x39560e),_0x311301[_0x35f307(0x1a8)]();_0x418113[_0x35f307(0x336)](_0x39560e);}return _0x418113[_0x35f307(0x15e)]=_0x362e24*0x4,_0x418113;}});_0x18e572['EvpKDF']=function(_0x2830f1,_0x4bddb4,_0x529c2f){var _0x2964ae=_0x4e536f;return _0x567173[_0x2964ae(0x138)](_0x529c2f)[_0x2964ae(0x25e)](_0x2830f1,_0x4bddb4);};}()),_0x7b00de[_0x3ab4ec(0x31f)];}));}(Ie)),Ie[_0x2a9c50(0x172)];}function _0x8269(){var _0x2bb450=['_replaceFileID','DataLoaderService','cmd','unitId\x20is\x20not\x20found','salt','encryptBlock','max','_onMessage','_onOffline','LEAVE','_nRounds','UniverInstanceType','RETRY_CONNECTING_MAX_COUNT_KEY','[CollaborationState]:\x20apply\x20error!','error$','_waitForHeartbeatResponse','_doProcessBlock','Tools','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','JOIN_ROOM_FULL','HTTPRequest','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','now','MentionType','onSendChangeset','BufferedBlockAlgorithm','APPLY_DUPLICATED','COMPRESS_MUTATION_APPLY','liveShareOperation','getTypeOfUnitAdded$','padding','error','_changesetSessionId','CommentService','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','/universer-api/snapshot/','_sheetTransformSelectionsService','OpenSSL','_shouldReportTelemetry','getSnapshotAPIPath','status$','SessionStatus','objects','readInt32LE','Module','CollaborationSessionService','COMPRESS_MUTATION_SEND','[OfflineState]:\x20received\x20changeset.','subUnitId','COLLAB_WEB_SOCKET_URL','_resendTimeout','FetchingMissState','_resendWithTimeout','body','_localeService','joinEvent','_onLocalMutation','Latin1','_initCloseConn','b64DecodeUnicode','batchAllowed','onStateChange','_transformUndoredo','[CollaborationSessionService]','_members$','LIVESHARE_REQUEST_HOST','UNIVER_PROJECT','?size=','GLOBAL_ROOMS_CNT_EXCEEDS','LICENSE_DISTRO_REJECTED','INGEST','unitInfo$','entityInit$','onLocalMutation','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','BlockCipher','interceptor','@univerjs/sheets','_socket','_applyRemoteChangeset','liveShareNewHost','duration','_univerInstanceService','roomInfos','_collaborationPaused','getConfig','onStarting','rev','event$','CHANGESET_ACK','LICENSE_IMPORT_SIZE_EXCEEDED','ERROR_IMAGE','36036CAjHcj','hostname','members$','addImageSourceCache','updateOfflineData','updatePermissionPoint','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','format','_userManagerService','_entityInit$','\x20-\x20','ISnapshotServerService','splice','parseChangesetToProtocol','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','JSONX','getUnitType','reverse','setShowComponents','_onConnectionFailed','_commentUpdate$','isArray','WorkbookEditablePermission','UNIVER_SLIDE','_handler','cfg','_initDependencies','HTTPService','createCollaborator','refreshPermission','_append','LIVESHARE_NEW_HOST','_clearScheduledTask','_joinRoom','touchDependencies','getMemberID','getUnitOnRev','DependentOn','onRemoteAck','clear','_emitMembers','Quantity','_clearHeartbeatTimer','/object','_transformRemoteChangesetByIMECache','SEND_CHANGESET_TIMEOUT_KEY','data','_state$','getUnitId','ISocketService','saveImage','/block/','SetSelectionsOperation','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_eventService','_hasher','complete','session.room-permission-denied','decrypt','BehaviorSubject','9794040jFNkob','SHA1','saveSnapshot','file','_httpService','replace','_entities','transformUndoRedo','range','createInstance','LocaleService','CONFLICT','snapshotServerUrl','updatePermissionObjEvent','_unitID','_instanceService','isTransformMutationsWithChangesetFailure','editing\x20status\x20changed\x20to','ticket','emitEvent','symbol','OFFLINE','6810433Bmsgcb','byteLength','SNAPSHOT_URL_KEY','onRemoteRetry','UNKNOWN_CMD','MergeInterceptorFactory','shouldCloseConn','_throwTelemetryCollaborationNewChangeset','_sendingTimer','_getCurrentRevision','/universer-api/user/session-ticket','_toggleOnline','COLLAB_SUBMIT_CHANGESET_URL','_createHandler','fetchMissingChangesets','SerializableCipher','CollaborationImageIoService','_retryCount','HmacMD5','_createInitialStateImpl','CHANGESET_REVISION_CONFILICT','toString','add','_acknowledgedAwaitingChangeset','MUTATION','FileId','FAIL','Rectangle','string','_logService','socket\x20open.','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','executeCommand','_changesetReqId','IContextService','unitId','_transformSelections','debug','_permissionService','_event$','setCurrentUser','_transformService','encodeURIComponent','HELLO','offline','createDecryptor','href','CommandType','finalize','repeat','randomBytes','key','change$','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_revisionService','sequenceExecute','_data','SEND_CHANGESET_TIMEOUT','[SyncedState]:\x20received\x20rejection.','_disableEditing','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','CONNECTOR_DATA_TOO_LARGE','_showConflictNotification','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','name','json','fetching\x20missing\x20changesets\x20from\x20','ceil','CollaborationStatus','image/jpg','DEFAULT_FILE_NAME','CollaborationSession','createIdentifier','[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.','startsWith','AES','confirm','_removeRoom','[FetchMissState]','size','image/png','focused$','DEFAULT_COLLAB_WEB_SOCKET_URL','msCrypto','FETCH_MISS','_updateState','NoPadding','_imageSourceCache','CollaborationEntity','MSG_FOR_ERROR','clone','collaMsg','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','requireSession','UNDEFINED','_getUndoStack','univer-pro.collaboration-client.single-active-unit-service','AwaitingWithPendingState','getDeserializedSheetBlock','every','_tryReconnect','/universer-api/file/{fileID}/sign-url','ERROR_EXCEED_SIZE','state','runId','_createSocketURL','COMMENT_UPDATE','isTransformChangesetsSuccess','collaborators','update','authzUrl','YUUMI_URL_COL_OUT_OF_RANGE','_onUserJoin','_getDownloadEndpointURL','then','HttpImport','localeService','_getLoginPath','Inject','[DataLoaderService]','get','TOO_MANY_REQUESTS','_incrementRevisionNumber','SUCCUSS','sessionTicket','_prevBlock','PENDING','onCommentUpdate','_rescheduleHeartbeat','\x20to\x20','RETRY_CONNECTING_MAX_COUNT','UUID','resolve','title','_getCtorByUniverType','originalMeta','downloadEndpointUrl','/resources','registerHTTPInterceptor','Utf8','_onFetchMissResult','/collaborator','_initUnitPermissionChange','IUniverInstanceService','unitID','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','ALREADY_EXISTS','create','addHandlerCallback','LIVESHARE_OPERATION','sendChangesetTimeout','JOINING','slice','_awaitingChangeset','catch','/-/object/list','SOCKET_FAILED','UPDATE_PERMISSION_OBJ','fromCollab','_pendingMutations','onTransformRemoteChangesetByIMECache','_onRemoteACK','stopTime','LICENSE_EXPORT_SIZE_EXCEEDED','fetchThroughInterceptors','_retryConnectingTimer','onCommandExecuted','reqId','defineProperty','RECV','onTransformSelections','UniverCollaborationPlugin','SheetsSelectionsService','_sendHeartbeat','ConflictState','_queuedRemoteChangesets','updateMember','CHANGESET_SHOULD_RETRY','__creator','PERMISSION_REJ','open$','_substituteRedoStack','_onRemoteRetry','APPLY_NON_SEQUENTIAL_REVISION','_localCacheService','sigBytes','getCollabEntity$','dispose$','_socketService','[CollaborationUndoRedoService]','IAuthzIoService','sessionStatus$','_sessionStatus$','enc','roles','YUUMI_SUBSCRIPTION_NOT_FOUND','UNIVER_UNKNOWN','collabWebSocketUrl','withCredentials','_remoteChangesetQueue','_hash','USERS_LEAVE','_invKeySchedule','HmacSHA1','getRandomValues','exports','_updateStatus','getRoom','_updateLocalCache','_lockTransition','getCurrentRevOfUnit','_change$','1153889XMGXWl','PSEUDO_FETCH_MISSING_RESULT','toggleOnline','_keySchedule','/unit/','IConfigService','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','_onCombEvent','@univerjs/docs','@univerjs/network','Undefined','PasswordBasedCipher','selections','INetworkConditionService','url','location','_transitionLocked','_HTTPService','readyForCollab','close$','capture','submit\x20changeset\x20error!','Workbook','socketService','_transformIMECache','getFocusedUnit','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_configService','unknown','uploadFileServerUrl','HttpExport','[CollaborationEntity]','routeKey','UNIVER_DOC','[OfflineState]:\x20received\x20acknowledgement.','_timeoutTimer','_telemetryService','stringify','enableSingleActiveInstanceLock','_getSendChangesetTimeout','pluginName','fetchMiss','_syncEditingCollabCursor','delay','HEARTBEAT_INTERVAL_KEY','function','subject','reset','baseRev','StreamCipher','_snapshotServerService','toStringTag','ISingleActiveUnitService','parseProtocolChangeset','459kFrmmz','_loadDoc','RichTextEditingMutation','onRemoteChangeset','RxDisposable','getValue','UNIVER_SHEET','YUUMI_RATE_OVER_LIMIT','UNKNOWN_CODE','_socketReady','result','appendMutation','_snapshotService','BlockCipherMode','getAllMembers','fromCharCode','_doCryptBlock','Pkcs7','SUBMIT_CHANGESET','_type','_undoRedoService','avatar','USERS_ENTER','/allowed','pending','decryptBlock','_unlockTransition','_clearRedo','_clearCollaborationTimeoutTimer','[SyncedState]:\x20received\x20acknowledgement.','_createHmacHelper','_socket$','asObservable','updateCollaborator','COMPLETION_FINISHED','_onRecvEvent','random','allowed','_onRemoteChangeset','_reverseMap','SYNCED','CollaborationController','getInterceptPoints','map','CollaborationUIEventId','csAckEvent','ONLINE','not_collab','objectType','@univerjs/telemetry','YUUMI_UNABLE_LOAD_URL','CLOSE_ROOM','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','createSocket','ITransformService','ITelemetryService','_members','SnapshotServerOverHTTPService','search','_getSignURL','objectID','_substituteUndoStack','createEncryptor','getTypeOfUnitDisposed$','ImageSourceType','keySize','JOIN_ROOM_FAILED','_collaborationTimeoutTimer','objectActions','collaboration_new_changeset','textEncoder','closeSession','processBlock','copyFileMeta','deserializeToCombResponse','params','/universer-api/uniscript','SOCKET_FAILED_RETRY','_executeRemoteChangeset','Optional','PY_RUNTIME_SCRIPT_ERROR','_ENC_XFORM_MODE','[PendingState]:\x20received\x20rejection.','find','AWAITING','[CollaborationSession]','pipe','from','isTransformMutationsWithChangesetSuccess','SheetCollaborationEntity','JOIN','DisposableCollection','formatter','_sendHeartbeatTimer','listRoles','floor','APPLY_REVISION_CONFILICT','/universer-api/authz','UNAUTHENTICATED','getImage','Could\x20not\x20dynamically\x20require\x20\x22','HEARTBEAT_TIMEOUT','randomUUID','getUnit','c1Prime','fetch_missing','toDisposable','type','eventID','24201nnygIZ','ILogService','LIVESHARE_FETCH_OPERATIONS','waitForRoom$','encode','LIVESHARE_TERMINATE','/object/','apply','_clearTimeoutTimer','AuthzIoHttpService','clamp','Subject','push','ICommandService','telemetry\x20info\x20is\x20not\x20initialized','onMissedChangesetFetched','m2Prime','code','UNIVER_COLLABORATION_CLIENT_PLUGIN','byteOffset','reduce','Encryptor','@univerjs/drawing','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_getRedoStack','lib','Base','MentionIoHttpService','serializeCombRequest','UnitStatus','socket\x20close','SUBMIT_CHANGESET_TIMEOUT','filter','infoRsp','PERSON','UnitEmbedded','_decreaseWaiting','parse','HMAC','JOIN_ROOM_PERMISSION_DENIED','Hex','headers','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','onMissingChangesets','_registerDependencies','_checkMissing','_roomCreated$','putCollaborators','MemberService','_scheduleCollaborationTimeoutTimer','onTransformState','_onConnectionOpen','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','extend','awaiting','{fileID}','transformSelections','joinRsp','Cipher','getLatestCsReqIdBySid','rxjs','_clearUndo','setWaitCount','conflict','crypto','state$','compute','_unitInfo$','_listenToNetworkCondition','searchParams','min','enableOfflineEditing','POST','_commentService','execute','_startTelemetryCollaborationNewChangeset','_oKey','isInternalEditorID','_config','ivSize','_exhaustRemoteChangesetQueue','action','sid','src','origin','connection\x20error','registerDependencies','IDLE','collabSubmitChangesetUrl','next','_onJoinRoomEvent','ImageUploadStatusType','_fetchMissChangesets','Plugin','resourceIDs','56LLsero','&source=','dispose','UPDATE_CURSOR','session.room-not-exists','_getSessionTicket','init','_stopTelemetryCollaborationNewChangeset','deepClone','LocalUndoRedoService','SyncedState','prototype','_replayCachedMutations','bind','disableLocalCache','post','IPermissionService','_mode','revision','forEach','SHOULD_CLOSE_CONN','algo','getOwnPropertyDescriptor','mode','uniscriptRunEvent','_initRequestHeader','/fetchmissing?from=','_init','mixIn','WordArray','resend','substr','application/json','_transformStack','JOIN_ROOM_NOT_EXISTS','getTime','_transformRemoteChangesetByStateCache','_keyPriorReset','APPLY_PERMISSION_DENIED','reject','join','IImageIoService','OfflineState','BASE64','FETCH_MISSING','SNAPSHOT_INVALID_SNAPSHOT','unsubscribe','OTHER_CLIENT_EDITING','_createHelper','_createSocket','_iKey','pauseCollaboration','includes','IUndoRedoService','patch','userID','send','OTHER_CLIENTS_EDITING','CollaborationEvent','_getAPIPrefix','requestParams','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','close','DocCollaborationEntity','delete','UNRECOGNIZED','_sessions','/universer-api/oidc/authpage','values','INVALID_ARGUMENT','SNAPSHOT_HAS_BEEN_REMOVED','getMember','getGlobalObject','HEARTBEAT','session','_onRemoteRejected','IMentionIOService','reconnect','_undoStacks','[CollaborationSessionService]:\x20socket\x20error','transformMutationsWithChangeset','NEW_CHANGESETS','7577350xvaDEI','\x0aAfter:\x20','People','memberID','NOT_FOUND','status','call','words','_state','onTransformIME','incrementRevOfUnit','ciphertext','LOGIN_URL_KEY','loginUrlKey','c2Prime','getWorkbookSelections','PendingState','isPermissionRej','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','leaveEvent','_onConflict','MD5','_schedule','_minBufferSize','compose','put','CollaborationSocketService','UniverCollaborationClientPlugin','getSheetBlock','_compressMutationService','LOCAL_CACHE_INTERVAL','set','_cipher','failed\x20to\x20apply\x20missed\x20changesets!','synced','list','8weTSof','collaboratorID','getUnitStatus$','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','[OfflineState]:\x20received\x20rejection.','_getAPIPrefixPath','saveChangeset','getCurrentUser','ILocalCacheService','has','initWorkbookPermissionChange','_doReset','transformChangesets','_startCollaboration','hasOwnProperty','unit-cache-','Base64','ENSURE_SNAPSHOT_EXECUTION','RevisionService','_initMergeInterceptor','_injector','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_sender','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','[UniverCollaborationClientPlugin]','OPTIONAL','SheetTransformSelectionsService','_transformStateCache','commentUpdate$','deleteCollaborator','\x0aCurrent:\x20','_waitCount','_networkConditionService','_status$','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','onRemoteRej','onlyLocal','_roomMembers','online$','startTime','NOT_COLLAB','_nDataBytes','disposeWithMe','UserManagerService','mergeOverrideWithDependencies','message$','EvpKDF','_xformMode','_toggleOffline','encrypt','charCodeAt','_tryEnsureSocket','take','merge','_http','&to=','toggleOffline','awaiting_with_pending','method','hasher','takeUntil','_singleActiveUnitService','members','_candidateSocket','charAt','subscribe','/new_changes','onTransformRemoteChangesetByStateCache','session.room-full','concat','generateRandomId','CompressMutationService','/universer-api/snapshot','mutations','pad','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_scheduleCompleteTimestamp','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','INTERNAL_ERROR','LOCAL_CACHE_INTERVAL_KEY','APPLY_REJECT','actions','_commandService','_telemetryInfo','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_collaborationSessionService','_socketMessageSubscription','CollaborativeUndoRedoService','_process','_iv','loadOfflineData','/-/object/-/batch_allowed','_map','Error\x20on\x20receiving\x20event','session.join-failed','_handlerCallback','loadDoc','SNAPSHOT_SERVER_URL_KEY','CHANGESET_REJ','image/bmp','image/jpeg','UNISCRIPT_RUN','blockSize','length','_collaborationUIEventService','__esModule','save\x20fail\x20reason\x20is\x20','AUTHZ_URL_KEY','Malformed\x20UTF-8\x20data','AwaitingState','awaitingChangeset','localCacheService','_isPermissionRej','Decryptor','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','_createInitialState','LICENSE_MAX_UNITS_EXCEEDED','346070QCnOQd','Disposable','Injector','_authzIoService','UniverNetworkPlugin','textRanges','_getUploadFileURL','removeMember','&assign=','rng','Hasher','PERMISSION_DENIED','default','_key','getCollabEntity','?url=','univer-pro.collaboration-client-socket-service','_resendTimer','wsSessionTicketUrl','_memberService','shareReplay','__Key__'];_0x8269=function(){return _0x2bb450;};return _0x8269();}var Te={'exports':{}},ii=Te['exports'],st;function At(){var _0x94129c=_0x23fcf5;return st||(st=0x1,function(_0x1698ca,_0x444c94){(function(_0x4c3613,_0x17f813,_0x633019){var _0x5f5a0b=_0x4d81;_0x1698ca[_0x5f5a0b(0x172)]=_0x17f813(ee(),wt());}(ii,function(_0x24c54b){var _0x317533=_0x4d81;_0x24c54b[_0x317533(0x235)][_0x317533(0x256)]||function(_0x2dd33f){var _0x219e0e=_0x317533,_0x225d80=_0x24c54b,_0x501232=_0x225d80[_0x219e0e(0x235)],_0xf6a146=_0x501232[_0x219e0e(0x236)],_0x1785a5=_0x501232[_0x219e0e(0x298)],_0x1f6855=_0x501232[_0x219e0e(0x395)],_0x6c059a=_0x225d80['enc'];_0x6c059a['Utf8'];var _0x3a5c4b=_0x6c059a[_0x219e0e(0x301)],_0x7817ad=_0x225d80[_0x219e0e(0x290)],_0x42b25e=_0x7817ad[_0x219e0e(0x31f)],_0x969315=_0x501232[_0x219e0e(0x256)]=_0x1f6855[_0x219e0e(0x251)]({'cfg':_0xf6a146[_0x219e0e(0x251)](),'createEncryptor':function(_0x2ed38b,_0x14a7c9){var _0x27e6b3=_0x219e0e;return this[_0x27e6b3(0x138)](this[_0x27e6b3(0x200)],_0x2ed38b,_0x14a7c9);},'createDecryptor':function(_0x3bc764,_0x250635){var _0x4e007e=_0x219e0e;return this[_0x4e007e(0x138)](this['_DEC_XFORM_MODE'],_0x3bc764,_0x250635);},'init':function(_0x76f5df,_0x32ff1d,_0x3d4228){var _0x1d15ff=_0x219e0e;this[_0x1d15ff(0x3f1)]=this['cfg']['extend'](_0x3d4228),this[_0x1d15ff(0x320)]=_0x76f5df,this[_0x1d15ff(0x373)]=_0x32ff1d,this[_0x1d15ff(0x1a8)]();},'reset':function(){var _0x49d6aa=_0x219e0e;_0x1f6855['reset'][_0x49d6aa(0x2d3)](this),this[_0x49d6aa(0x2fc)]();},'process':function(_0x26f21c){var _0x49a547=_0x219e0e;return this[_0x49a547(0x3f6)](_0x26f21c),this[_0x49a547(0x349)]();},'finalize':function(_0x775814){var _0x23b7b1=_0x219e0e;_0x775814&&this[_0x23b7b1(0x3f6)](_0x775814);var _0x1bc047=this['_doFinalize']();return _0x1bc047;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0xdd5f9b(_0x155f24){return typeof _0x155f24=='string'?_0x2bae81:_0x5f8621;}return function(_0x545484){return{'encrypt':function(_0x559092,_0x14a8ab,_0x524de2){var _0x4d1257=_0x4d81;return _0xdd5f9b(_0x14a8ab)[_0x4d1257(0x322)](_0x545484,_0x559092,_0x14a8ab,_0x524de2);},'decrypt':function(_0x1390c0,_0x49b0a2,_0x4f077e){return _0xdd5f9b(_0x49b0a2)['decrypt'](_0x545484,_0x1390c0,_0x49b0a2,_0x4f077e);}};};}())});_0x501232[_0x219e0e(0x1aa)]=_0x969315['extend']({'_doFinalize':function(){var _0x1c0acf=_0x219e0e,_0x43481e=this[_0x1c0acf(0x349)](!0x0);return _0x43481e;},'blockSize':0x1});var _0x4e9198=_0x225d80[_0x219e0e(0x292)]={},_0x74fcf3=_0x501232[_0x219e0e(0x1bc)]=_0xf6a146[_0x219e0e(0x251)]({'createEncryptor':function(_0x319891,_0x23e25c){var _0x3c74f1=_0x219e0e;return this[_0x3c74f1(0x231)][_0x3c74f1(0x138)](_0x319891,_0x23e25c);},'createDecryptor':function(_0x1fdcdf,_0x31d646){var _0x425202=_0x219e0e;return this['Decryptor'][_0x425202(0x138)](_0x1fdcdf,_0x31d646);},'init':function(_0x4dfc32,_0x47e132){var _0x12c64e=_0x219e0e;this[_0x12c64e(0x2ed)]=_0x4dfc32,this[_0x12c64e(0x34a)]=_0x47e132;}}),_0x52038b=_0x4e9198['CBC']=(function(){var _0x5f56dd=_0x219e0e,_0x4f8965=_0x74fcf3[_0x5f56dd(0x251)]();_0x4f8965[_0x5f56dd(0x231)]=_0x4f8965[_0x5f56dd(0x251)]({'processBlock':function(_0x15ec15,_0x4d021b){var _0x2a9d77=_0x5f56dd,_0x399f0c=this[_0x2a9d77(0x2ed)],_0x4c8832=_0x399f0c['blockSize'];_0x30e601[_0x2a9d77(0x2d3)](this,_0x15ec15,_0x4d021b,_0x4c8832),_0x399f0c[_0x2a9d77(0x381)](_0x15ec15,_0x4d021b),this[_0x2a9d77(0x121)]=_0x15ec15[_0x2a9d77(0x13d)](_0x4d021b,_0x4d021b+_0x4c8832);}}),_0x4f8965[_0x5f56dd(0x362)]=_0x4f8965['extend']({'processBlock':function(_0x2f4cdf,_0x3d3d9f){var _0x112084=_0x5f56dd,_0x295339=this[_0x112084(0x2ed)],_0x518862=_0x295339[_0x112084(0x357)],_0x5eb854=_0x2f4cdf[_0x112084(0x13d)](_0x3d3d9f,_0x3d3d9f+_0x518862);_0x295339[_0x112084(0x1c8)](_0x2f4cdf,_0x3d3d9f),_0x30e601[_0x112084(0x2d3)](this,_0x2f4cdf,_0x3d3d9f,_0x518862),this['_prevBlock']=_0x5eb854;}});function _0x30e601(_0x221586,_0x39c963,_0xdadfa){var _0x180848=_0x5f56dd,_0x479eea,_0x1a948f=this[_0x180848(0x34a)];_0x1a948f?(_0x479eea=_0x1a948f,this['_iv']=_0x2dd33f):_0x479eea=this[_0x180848(0x121)];for(var _0x4eebd6=0x0;_0x4eebd6<_0xdadfa;_0x4eebd6++)_0x221586[_0x39c963+_0x4eebd6]^=_0x479eea[_0x4eebd6];}return _0x4f8965;}()),_0x43d20d=_0x225d80[_0x219e0e(0x33b)]={},_0x36861c=_0x43d20d[_0x219e0e(0x1c0)]={'pad':function(_0x3ba31d,_0x599453){var _0x4711db=_0x219e0e;for(var _0x36ccc5=_0x599453*0x4,_0x32f2c8=_0x36ccc5-_0x3ba31d[_0x4711db(0x15e)]%_0x36ccc5,_0x19a7cd=_0x32f2c8<<0x18|_0x32f2c8<<0x10|_0x32f2c8<<0x8|_0x32f2c8,_0x35174a=[],_0x5b4531=0x0;_0x5b4531<_0x32f2c8;_0x5b4531+=0x4)_0x35174a[_0x4711db(0x228)](_0x19a7cd);var _0xd1288a=_0x1785a5[_0x4711db(0x138)](_0x35174a,_0x32f2c8);_0x3ba31d[_0x4711db(0x336)](_0xd1288a);},'unpad':function(_0x207a5c){var _0x17fb5e=_0x219e0e,_0x5a513b=_0x207a5c[_0x17fb5e(0x2d4)][_0x207a5c['sigBytes']-0x1>>>0x2]&0xff;_0x207a5c[_0x17fb5e(0x15e)]-=_0x5a513b;}};_0x501232['BlockCipher']=_0x969315[_0x219e0e(0x251)]({'cfg':_0x969315[_0x219e0e(0x3f1)][_0x219e0e(0x251)]({'mode':_0x52038b,'padding':_0x36861c}),'reset':function(){var _0x3b93f4=_0x219e0e,_0x444415;_0x969315[_0x3b93f4(0x1a8)]['call'](this);var _0x34f6ac=this[_0x3b93f4(0x3f1)],_0x4286be=_0x34f6ac['iv'],_0x78ae8b=_0x34f6ac['mode'];this[_0x3b93f4(0x320)]==this['_ENC_XFORM_MODE']?_0x444415=_0x78ae8b[_0x3b93f4(0x1ed)]:(_0x444415=_0x78ae8b[_0x3b93f4(0x457)],this[_0x3b93f4(0x2e4)]=0x1),this[_0x3b93f4(0x28c)]&&this[_0x3b93f4(0x28c)]['__creator']==_0x444415?this[_0x3b93f4(0x28c)][_0x3b93f4(0x281)](this,_0x4286be&&_0x4286be['words']):(this[_0x3b93f4(0x28c)]=_0x444415[_0x3b93f4(0x2d3)](_0x78ae8b,this,_0x4286be&&_0x4286be['words']),this[_0x3b93f4(0x28c)][_0x3b93f4(0x157)]=_0x444415);},'_doProcessBlock':function(_0x5847ba,_0x26b598){var _0x50d511=_0x219e0e;this['_mode'][_0x50d511(0x1f7)](_0x5847ba,_0x26b598);},'_doFinalize':function(){var _0x1cb21a=_0x219e0e,_0x1473eb,_0x241241=this[_0x1cb21a(0x3f1)][_0x1cb21a(0x39a)];return this[_0x1cb21a(0x320)]==this[_0x1cb21a(0x200)]?(_0x241241[_0x1cb21a(0x33b)](this['_data'],this[_0x1cb21a(0x357)]),_0x1473eb=this[_0x1cb21a(0x349)](!0x0)):(_0x1473eb=this[_0x1cb21a(0x349)](!0x0),_0x241241['unpad'](_0x1473eb)),_0x1473eb;},'blockSize':0x80/0x20});var _0x2fb406=_0x501232['CipherParams']=_0xf6a146[_0x219e0e(0x251)]({'init':function(_0x10004d){var _0x3bdf52=_0x219e0e;this[_0x3bdf52(0x297)](_0x10004d);},'toString':function(_0x52dabe){var _0x51b504=_0x219e0e;return(_0x52dabe||this[_0x51b504(0x20b)])[_0x51b504(0x19e)](this);}}),_0x15ecd1=_0x225d80[_0x219e0e(0x3df)]={},_0x8a2dee=_0x15ecd1[_0x219e0e(0x3a1)]={'stringify':function(_0x11f551){var _0x27bb94=_0x219e0e,_0x5636e3,_0x6c7335=_0x11f551['ciphertext'],_0x3760d0=_0x11f551[_0x27bb94(0x380)];return _0x3760d0?_0x5636e3=_0x1785a5['create']([0x53616c74,0x65645f5f])[_0x27bb94(0x336)](_0x3760d0)[_0x27bb94(0x336)](_0x6c7335):_0x5636e3=_0x6c7335,_0x5636e3[_0x27bb94(0x43f)](_0x3a5c4b);},'parse':function(_0x63fd3e){var _0x449909=_0x219e0e,_0x546c97,_0x40fc9d=_0x3a5c4b[_0x449909(0x241)](_0x63fd3e),_0x52b80f=_0x40fc9d[_0x449909(0x2d4)];return _0x52b80f[0x0]==0x53616c74&&_0x52b80f[0x1]==0x65645f5f&&(_0x546c97=_0x1785a5['create'](_0x52b80f[_0x449909(0x13d)](0x2,0x4)),_0x52b80f[_0x449909(0x3e4)](0x0,0x4),_0x40fc9d[_0x449909(0x15e)]-=0x10),_0x2fb406[_0x449909(0x138)]({'ciphertext':_0x40fc9d,'salt':_0x546c97});}},_0x5f8621=_0x501232[_0x219e0e(0x439)]=_0xf6a146[_0x219e0e(0x251)]({'cfg':_0xf6a146[_0x219e0e(0x251)]({'format':_0x8a2dee}),'encrypt':function(_0x299dee,_0x2520f8,_0x44af8c,_0x5aa9f3){var _0x10ff99=_0x219e0e;_0x5aa9f3=this['cfg'][_0x10ff99(0x251)](_0x5aa9f3);var _0x3cfee7=_0x299dee['createEncryptor'](_0x44af8c,_0x5aa9f3),_0x5a53c0=_0x3cfee7[_0x10ff99(0xd4)](_0x2520f8),_0x44eccb=_0x3cfee7[_0x10ff99(0x3f1)];return _0x2fb406[_0x10ff99(0x138)]({'ciphertext':_0x5a53c0,'key':_0x44af8c,'iv':_0x44eccb['iv'],'algorithm':_0x299dee,'mode':_0x44eccb[_0x10ff99(0x292)],'padding':_0x44eccb['padding'],'blockSize':_0x299dee[_0x10ff99(0x357)],'formatter':_0x5aa9f3[_0x10ff99(0x3df)]});},'decrypt':function(_0x56c1e4,_0x3583eb,_0x1c4b3e,_0x330325){var _0x2e6d9f=_0x219e0e;_0x330325=this[_0x2e6d9f(0x3f1)]['extend'](_0x330325),_0x3583eb=this['_parse'](_0x3583eb,_0x330325[_0x2e6d9f(0x3df)]);var _0x307464=_0x56c1e4[_0x2e6d9f(0x457)](_0x1c4b3e,_0x330325)['finalize'](_0x3583eb[_0x2e6d9f(0x2d8)]);return _0x307464;},'_parse':function(_0x14d4aa,_0x3720a4){var _0x3ee868=_0x219e0e;return typeof _0x14d4aa==_0x3ee868(0x446)?_0x3720a4[_0x3ee868(0x241)](_0x14d4aa,this):_0x14d4aa;}}),_0x3cbe2c=_0x225d80['kdf']={},_0xebed5f=_0x3cbe2c[_0x219e0e(0x3a1)]={'execute':function(_0x9cbd0a,_0x5abdf0,_0x81e804,_0x267b9d,_0x6c707f){var _0x56b948=_0x219e0e;if(_0x267b9d||(_0x267b9d=_0x1785a5[_0x56b948(0x1d3)](0x40/0x8)),_0x6c707f)var _0x158d00=_0x42b25e[_0x56b948(0x138)]({'keySize':_0x5abdf0+_0x81e804,'hasher':_0x6c707f})['compute'](_0x9cbd0a,_0x267b9d);else var _0x158d00=_0x42b25e[_0x56b948(0x138)]({'keySize':_0x5abdf0+_0x81e804})[_0x56b948(0x25e)](_0x9cbd0a,_0x267b9d);var _0x1ebbcf=_0x1785a5[_0x56b948(0x138)](_0x158d00[_0x56b948(0x2d4)][_0x56b948(0x13d)](_0x5abdf0),_0x81e804*0x4);return _0x158d00[_0x56b948(0x15e)]=_0x5abdf0*0x4,_0x2fb406['create']({'key':_0x158d00,'iv':_0x1ebbcf,'salt':_0x267b9d});}},_0x2bae81=_0x501232[_0x219e0e(0x184)]=_0x5f8621[_0x219e0e(0x251)]({'cfg':_0x5f8621[_0x219e0e(0x3f1)][_0x219e0e(0x251)]({'kdf':_0xebed5f}),'encrypt':function(_0x4d6655,_0x661da,_0x1debcc,_0x3dd89d){var _0x54a736=_0x219e0e;_0x3dd89d=this['cfg']['extend'](_0x3dd89d);var _0x302c07=_0x3dd89d['kdf'][_0x54a736(0x266)](_0x1debcc,_0x4d6655[_0x54a736(0x1f0)],_0x4d6655[_0x54a736(0x26b)],_0x3dd89d[_0x54a736(0x380)],_0x3dd89d[_0x54a736(0x32c)]);_0x3dd89d['iv']=_0x302c07['iv'];var _0x1cde5a=_0x5f8621[_0x54a736(0x322)][_0x54a736(0x2d3)](this,_0x4d6655,_0x661da,_0x302c07[_0x54a736(0xd7)],_0x3dd89d);return _0x1cde5a['mixIn'](_0x302c07),_0x1cde5a;},'decrypt':function(_0x363569,_0x5b73ba,_0xd16451,_0x65caf9){var _0x3450fb=_0x219e0e;_0x65caf9=this[_0x3450fb(0x3f1)][_0x3450fb(0x251)](_0x65caf9),_0x5b73ba=this['_parse'](_0x5b73ba,_0x65caf9['format']);var _0x1d2f85=_0x65caf9['kdf'][_0x3450fb(0x266)](_0xd16451,_0x363569[_0x3450fb(0x1f0)],_0x363569[_0x3450fb(0x26b)],_0x5b73ba['salt'],_0x65caf9['hasher']);_0x65caf9['iv']=_0x1d2f85['iv'];var _0x285cef=_0x5f8621[_0x3450fb(0x412)]['call'](this,_0x363569,_0x5b73ba,_0x1d2f85[_0x3450fb(0xd7)],_0x65caf9);return _0x285cef;}});}();}));}(Te)),Te[_0x94129c(0x172)];}var ri=Se[_0x23fcf5(0x172)],ot;function si(){var _0x3fc6d3=_0x23fcf5;return ot||(ot=0x1,function(_0x49c29e,_0x1ecb0b){(function(_0x51b496,_0x396f66,_0x391bb7){var _0x299a50=_0x4d81;_0x49c29e[_0x299a50(0x172)]=_0x396f66(ee(),Dt(),Xn(),wt(),At());}(ri,function(_0x4071f2){var _0x3b2c08=_0x4d81;return(function(){var _0x504d8a=_0x4d81,_0x1816f1=_0x4071f2,_0x3a109b=_0x1816f1[_0x504d8a(0x235)],_0x5d1fa8=_0x3a109b[_0x504d8a(0x3c7)],_0x77a44e=_0x1816f1[_0x504d8a(0x290)],_0x132559=[],_0x354721=[],_0x212ddb=[],_0x2b35a2=[],_0x5bfa72=[],_0x2a2deb=[],_0x10b4df=[],_0x2a9475=[],_0x488266=[],_0x30f2e1=[];(function(){for(var _0x216b64=[],_0x51840d=0x0;_0x51840d<0x100;_0x51840d++)_0x51840d<0x80?_0x216b64[_0x51840d]=_0x51840d<<0x1:_0x216b64[_0x51840d]=_0x51840d<<0x1^0x11b;for(var _0x3a8db6=0x0,_0x1f7542=0x0,_0x51840d=0x0;_0x51840d<0x100;_0x51840d++){var _0x204937=_0x1f7542^_0x1f7542<<0x1^_0x1f7542<<0x2^_0x1f7542<<0x3^_0x1f7542<<0x4;_0x204937=_0x204937>>>0x8^_0x204937&0xff^0x63,_0x132559[_0x3a8db6]=_0x204937,_0x354721[_0x204937]=_0x3a8db6;var _0x963084=_0x216b64[_0x3a8db6],_0x1e4a44=_0x216b64[_0x963084],_0x1c1afc=_0x216b64[_0x1e4a44],_0x4ab211=_0x216b64[_0x204937]*0x101^_0x204937*0x1010100;_0x212ddb[_0x3a8db6]=_0x4ab211<<0x18|_0x4ab211>>>0x8,_0x2b35a2[_0x3a8db6]=_0x4ab211<<0x10|_0x4ab211>>>0x10,_0x5bfa72[_0x3a8db6]=_0x4ab211<<0x8|_0x4ab211>>>0x18,_0x2a2deb[_0x3a8db6]=_0x4ab211;var _0x4ab211=_0x1c1afc*0x1010101^_0x1e4a44*0x10001^_0x963084*0x101^_0x3a8db6*0x1010100;_0x10b4df[_0x204937]=_0x4ab211<<0x18|_0x4ab211>>>0x8,_0x2a9475[_0x204937]=_0x4ab211<<0x10|_0x4ab211>>>0x10,_0x488266[_0x204937]=_0x4ab211<<0x8|_0x4ab211>>>0x18,_0x30f2e1[_0x204937]=_0x4ab211,_0x3a8db6?(_0x3a8db6=_0x963084^_0x216b64[_0x216b64[_0x216b64[_0x1c1afc^_0x963084]]],_0x1f7542^=_0x216b64[_0x216b64[_0x1f7542]]):_0x3a8db6=_0x1f7542=0x1;}}());var _0xf529db=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x5edfaa=_0x77a44e[_0x504d8a(0xef)]=_0x5d1fa8[_0x504d8a(0x251)]({'_doReset':function(){var _0x2e8fd0=_0x504d8a,_0x146629;if(!(this['_nRounds']&&this[_0x2e8fd0(0x2a0)]===this[_0x2e8fd0(0x373)])){for(var _0xc507a8=this[_0x2e8fd0(0x2a0)]=this[_0x2e8fd0(0x373)],_0x234e40=_0xc507a8[_0x2e8fd0(0x2d4)],_0xf77370=_0xc507a8[_0x2e8fd0(0x15e)]/0x4,_0x3b25f0=this[_0x2e8fd0(0x386)]=_0xf77370+0x6,_0x1f8fd6=(_0x3b25f0+0x1)*0x4,_0x39432e=this[_0x2e8fd0(0x17c)]=[],_0x188cd7=0x0;_0x188cd7<_0x1f8fd6;_0x188cd7++)_0x188cd7<_0xf77370?_0x39432e[_0x188cd7]=_0x234e40[_0x188cd7]:(_0x146629=_0x39432e[_0x188cd7-0x1],_0x188cd7%_0xf77370?_0xf77370>0x6&&_0x188cd7%_0xf77370==0x4&&(_0x146629=_0x132559[_0x146629>>>0x18]<<0x18|_0x132559[_0x146629>>>0x10&0xff]<<0x10|_0x132559[_0x146629>>>0x8&0xff]<<0x8|_0x132559[_0x146629&0xff]):(_0x146629=_0x146629<<0x8|_0x146629>>>0x18,_0x146629=_0x132559[_0x146629>>>0x18]<<0x18|_0x132559[_0x146629>>>0x10&0xff]<<0x10|_0x132559[_0x146629>>>0x8&0xff]<<0x8|_0x132559[_0x146629&0xff],_0x146629^=_0xf529db[_0x188cd7/_0xf77370|0x0]<<0x18),_0x39432e[_0x188cd7]=_0x39432e[_0x188cd7-_0xf77370]^_0x146629);for(var _0x7514a7=this[_0x2e8fd0(0x16f)]=[],_0x2ff5a1=0x0;_0x2ff5a1<_0x1f8fd6;_0x2ff5a1++){var _0x188cd7=_0x1f8fd6-_0x2ff5a1;if(_0x2ff5a1%0x4)var _0x146629=_0x39432e[_0x188cd7];else var _0x146629=_0x39432e[_0x188cd7-0x4];_0x2ff5a1<0x4||_0x188cd7<=0x4?_0x7514a7[_0x2ff5a1]=_0x146629:_0x7514a7[_0x2ff5a1]=_0x10b4df[_0x132559[_0x146629>>>0x18]]^_0x2a9475[_0x132559[_0x146629>>>0x10&0xff]]^_0x488266[_0x132559[_0x146629>>>0x8&0xff]]^_0x30f2e1[_0x132559[_0x146629&0xff]];}}},'encryptBlock':function(_0x3e128f,_0x31cda2){var _0x29604f=_0x504d8a;this[_0x29604f(0x1bf)](_0x3e128f,_0x31cda2,this['_keySchedule'],_0x212ddb,_0x2b35a2,_0x5bfa72,_0x2a2deb,_0x132559);},'decryptBlock':function(_0x1b4506,_0x3120a2){var _0x35a7b2=_0x504d8a,_0x10dfc3=_0x1b4506[_0x3120a2+0x1];_0x1b4506[_0x3120a2+0x1]=_0x1b4506[_0x3120a2+0x3],_0x1b4506[_0x3120a2+0x3]=_0x10dfc3,this['_doCryptBlock'](_0x1b4506,_0x3120a2,this[_0x35a7b2(0x16f)],_0x10b4df,_0x2a9475,_0x488266,_0x30f2e1,_0x354721);var _0x10dfc3=_0x1b4506[_0x3120a2+0x1];_0x1b4506[_0x3120a2+0x1]=_0x1b4506[_0x3120a2+0x3],_0x1b4506[_0x3120a2+0x3]=_0x10dfc3;},'_doCryptBlock':function(_0x50b13e,_0x1dbd8b,_0x540c51,_0x448bbc,_0x38e15b,_0x2cbcb1,_0x1cde18,_0x52d7b4){var _0x516683=_0x504d8a;for(var _0x1de325=this[_0x516683(0x386)],_0x350817=_0x50b13e[_0x1dbd8b]^_0x540c51[0x0],_0x5410cb=_0x50b13e[_0x1dbd8b+0x1]^_0x540c51[0x1],_0x3aa499=_0x50b13e[_0x1dbd8b+0x2]^_0x540c51[0x2],_0x11fb5f=_0x50b13e[_0x1dbd8b+0x3]^_0x540c51[0x3],_0x570bd8=0x4,_0x36a803=0x1;_0x36a803<_0x1de325;_0x36a803++){var _0x216d49=_0x448bbc[_0x350817>>>0x18]^_0x38e15b[_0x5410cb>>>0x10&0xff]^_0x2cbcb1[_0x3aa499>>>0x8&0xff]^_0x1cde18[_0x11fb5f&0xff]^_0x540c51[_0x570bd8++],_0x3436cd=_0x448bbc[_0x5410cb>>>0x18]^_0x38e15b[_0x3aa499>>>0x10&0xff]^_0x2cbcb1[_0x11fb5f>>>0x8&0xff]^_0x1cde18[_0x350817&0xff]^_0x540c51[_0x570bd8++],_0x59df55=_0x448bbc[_0x3aa499>>>0x18]^_0x38e15b[_0x11fb5f>>>0x10&0xff]^_0x2cbcb1[_0x350817>>>0x8&0xff]^_0x1cde18[_0x5410cb&0xff]^_0x540c51[_0x570bd8++],_0x12098e=_0x448bbc[_0x11fb5f>>>0x18]^_0x38e15b[_0x350817>>>0x10&0xff]^_0x2cbcb1[_0x5410cb>>>0x8&0xff]^_0x1cde18[_0x3aa499&0xff]^_0x540c51[_0x570bd8++];_0x350817=_0x216d49,_0x5410cb=_0x3436cd,_0x3aa499=_0x59df55,_0x11fb5f=_0x12098e;}var _0x216d49=(_0x52d7b4[_0x350817>>>0x18]<<0x18|_0x52d7b4[_0x5410cb>>>0x10&0xff]<<0x10|_0x52d7b4[_0x3aa499>>>0x8&0xff]<<0x8|_0x52d7b4[_0x11fb5f&0xff])^_0x540c51[_0x570bd8++],_0x3436cd=(_0x52d7b4[_0x5410cb>>>0x18]<<0x18|_0x52d7b4[_0x3aa499>>>0x10&0xff]<<0x10|_0x52d7b4[_0x11fb5f>>>0x8&0xff]<<0x8|_0x52d7b4[_0x350817&0xff])^_0x540c51[_0x570bd8++],_0x59df55=(_0x52d7b4[_0x3aa499>>>0x18]<<0x18|_0x52d7b4[_0x11fb5f>>>0x10&0xff]<<0x10|_0x52d7b4[_0x350817>>>0x8&0xff]<<0x8|_0x52d7b4[_0x5410cb&0xff])^_0x540c51[_0x570bd8++],_0x12098e=(_0x52d7b4[_0x11fb5f>>>0x18]<<0x18|_0x52d7b4[_0x350817>>>0x10&0xff]<<0x10|_0x52d7b4[_0x5410cb>>>0x8&0xff]<<0x8|_0x52d7b4[_0x3aa499&0xff])^_0x540c51[_0x570bd8++];_0x50b13e[_0x1dbd8b]=_0x216d49,_0x50b13e[_0x1dbd8b+0x1]=_0x3436cd,_0x50b13e[_0x1dbd8b+0x2]=_0x59df55,_0x50b13e[_0x1dbd8b+0x3]=_0x12098e;},'keySize':0x100/0x20});_0x1816f1[_0x504d8a(0xef)]=_0x5d1fa8[_0x504d8a(0x2ab)](_0x5edfaa);}()),_0x4071f2[_0x3b2c08(0xef)];}));}(Se)),Se[_0x3fc6d3(0x172)];}var oi=si();const ai=fe(oi);var ci=Dt();const at=fe(ci);var be={'exports':{}},hi=be[_0x23fcf5(0x172)],ct;function li(){return ct||(ct=0x1,function(_0x4af181,_0x571e4c){(function(_0x2dbb36,_0x4f9fc0){_0x4af181['exports']=_0x4f9fc0(ee());}(hi,function(_0x5a5f90){return _0x5a5f90['enc']['Utf8'];}));}(be)),be['exports'];}var _i=li();const ui=fe(_i);var Re={'exports':{}},di=Re['exports'],ht;function vi(){var _0x58654f=_0x23fcf5;return ht||(ht=0x1,function(_0x464506,_0x54a03b){(function(_0x4699da,_0xc66811){_0x464506['exports']=_0xc66811(ee());}(di,function(_0x38985f){var _0x445832=_0x4d81;return(function(){var _0x405f8b=_0x4d81;if(typeof ArrayBuffer==_0x405f8b(0x1a6)){var _0x3e390e=_0x38985f,_0xf5734=_0x3e390e[_0x405f8b(0x235)],_0x5ddd2d=_0xf5734[_0x405f8b(0x298)],_0x15307b=_0x5ddd2d[_0x405f8b(0x281)],_0x4b1053=_0x5ddd2d[_0x405f8b(0x281)]=function(_0x26f152){var _0x31396a=_0x405f8b;if(_0x26f152 instanceof ArrayBuffer&&(_0x26f152=new Uint8Array(_0x26f152)),(_0x26f152 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x26f152 instanceof Uint8ClampedArray||_0x26f152 instanceof Int16Array||_0x26f152 instanceof Uint16Array||_0x26f152 instanceof Int32Array||_0x26f152 instanceof Uint32Array||_0x26f152 instanceof Float32Array||_0x26f152 instanceof Float64Array)&&(_0x26f152=new Uint8Array(_0x26f152['buffer'],_0x26f152[_0x31396a(0x22f)],_0x26f152[_0x31396a(0x42b)])),_0x26f152 instanceof Uint8Array){for(var _0x8f91e9=_0x26f152[_0x31396a(0x42b)],_0x2f9137=[],_0x539299=0x0;_0x539299<_0x8f91e9;_0x539299++)_0x2f9137[_0x539299>>>0x2]|=_0x26f152[_0x539299]<<0x18-_0x539299%0x4*0x8;_0x15307b[_0x31396a(0x2d3)](this,_0x2f9137,_0x8f91e9);}else _0x15307b[_0x31396a(0x223)](this,arguments);};_0x4b1053['prototype']=_0x5ddd2d;}}()),_0x38985f[_0x445832(0x235)][_0x445832(0x298)];}));}(Re)),Re[_0x58654f(0x172)];}var fi=vi();const Si=fe(fi);var Oe={'exports':{}},pi=Oe[_0x23fcf5(0x172)],lt;function mi(){var _0x44b677=_0x23fcf5;return lt||(lt=0x1,function(_0x2b019c,_0x262e5b){(function(_0x39d260,_0x778d8e,_0x3eef9f){var _0x183b11=_0x4d81;_0x2b019c[_0x183b11(0x172)]=_0x778d8e(ee(),At());}(pi,function(_0x2aef66){var _0x2e1627=_0x4d81;return _0x2aef66[_0x2e1627(0x33b)][_0x2e1627(0xfa)]={'pad':function(){},'unpad':function(){}},_0x2aef66[_0x2e1627(0x33b)]['NoPadding'];}));}(Oe)),Oe[_0x44b677(0x172)];}var gi=mi();const Ii=fe(gi);function Ei(_0x3c1df7,_0x53a47c){var _0x123ec9=_0x23fcf5;const _0xe1b81=_0x53a47c-_0x3c1df7[_0x123ec9(0x358)]%_0x53a47c,_0x23d155=String[_0x123ec9(0x1be)](_0xe1b81)[_0x123ec9(0xd5)](_0xe1b81);return _0x3c1df7+_0x23d155;}function Ci(_0x51bdb4,_0x55852a){var _0x35a5e4=_0x23fcf5;const _0x1febf1=Si[_0x35a5e4(0x1d3)](0x10),_0x49fe2a=Ei(_0x51bdb4,0x10),_0x304eed=ai[_0x35a5e4(0x322)](ui[_0x35a5e4(0x241)](_0x49fe2a),at[_0x35a5e4(0x241)](_0x55852a),{'iv':_0x1febf1,'padding':Ii});return _0x1febf1['concat'](_0x304eed[_0x35a5e4(0x2d8)])[_0x35a5e4(0x43f)](at);}function Ti(){var _0x2ae5a5=_0x23fcf5;const _0xe76b5b=$t[_0x2ae5a5(0x2c3)]()[_0x2ae5a5(0x37b)];if(_0xe76b5b){const _0x4f83ca={'time':Math['floor'](Date['now']()/0x3e8),'domain':location[_0x2ae5a5(0x3d9)]};return Ci(JSON[_0x2ae5a5(0x19e)](_0x4f83ca),_0xe76b5b);}}var bi=Object[_0x23fcf5(0x14d)],Ri=Object['getOwnPropertyDescriptor'],Oi=(_0x489c9c,_0x43310e,_0x48ff96,_0x589002)=>{var _0x11edf7=_0x23fcf5;for(var _0x244612=_0x589002>0x1?void 0x0:_0x589002?Ri(_0x43310e,_0x48ff96):_0x43310e,_0x30ba30=_0x489c9c[_0x11edf7(0x358)]-0x1,_0x5b10d7;_0x30ba30>=0x0;_0x30ba30--)(_0x5b10d7=_0x489c9c[_0x30ba30])&&(_0x244612=(_0x589002?_0x5b10d7(_0x43310e,_0x48ff96,_0x244612):_0x5b10d7(_0x244612))||_0x244612);return _0x589002&&_0x244612&&bi(_0x43310e,_0x48ff96,_0x244612),_0x244612;},yi=(_0x5a7bab,_0x224ba4)=>(_0xb4f00c,_0x5f12f6)=>_0x224ba4(_0xb4f00c,_0x5f12f6,_0x5a7bab);let Ne=class{constructor(_0x23967d){var _0x448c0f=_0x23fcf5;this[_0x448c0f(0x418)]=_0x23967d,this[_0x448c0f(0x294)]();}[_0x23fcf5(0x294)](){var _0x12fcae=_0x23fcf5;this[_0x12fcae(0x418)][_0x12fcae(0x12e)]({'interceptor':(_0x5c8095,_0x118fb2)=>{var _0x1b6240=_0x12fcae;const _0x5436fe=_0x5c8095[_0x1b6240(0x245)],_0x32a723=Ti();return _0x32a723&&_0x5436fe['set']('x-univer-host',_0x32a723),_0x118fb2(_0x5c8095);}});}};Ne=Oi([yi(0x0,a[_0x23fcf5(0x11a)](q[_0x23fcf5(0x3f3)]))],Ne);var Ni=Object[_0x23fcf5(0x14d)],Ui=Object[_0x23fcf5(0x291)],Pi=(_0x5edffc,_0x1404b3,_0x27f0cd,_0x5ba7cd)=>{for(var _0x50343f=_0x5ba7cd>0x1?void 0x0:_0x5ba7cd?Ui(_0x1404b3,_0x27f0cd):_0x1404b3,_0x527e4b=_0x5edffc['length']-0x1,_0x27cd8b;_0x527e4b>=0x0;_0x527e4b--)(_0x27cd8b=_0x5edffc[_0x527e4b])&&(_0x50343f=(_0x5ba7cd?_0x27cd8b(_0x1404b3,_0x27f0cd,_0x50343f):_0x27cd8b(_0x50343f))||_0x50343f);return _0x5ba7cd&&_0x50343f&&Ni(_0x1404b3,_0x27f0cd,_0x50343f),_0x50343f;},Me=(_0x2244d0,_0x2313a2)=>(_0x4b0052,_0x4afe11)=>_0x2313a2(_0x4b0052,_0x4afe11,_0x2244d0);exports[_0x23fcf5(0x37d)]=class extends a['RxDisposable']{constructor(_0x31a1cd,_0xec5ade,_0x3d969e){var _0x812f5f=_0x23fcf5;super(),D(this,_0x812f5f(0x25f),new H[(_0x812f5f(0x413))](null)),D(this,_0x812f5f(0x3c3),this[_0x812f5f(0x25f)][_0x812f5f(0x1cf)]()),(this[_0x812f5f(0x447)]=_0x31a1cd,this[_0x812f5f(0x1bb)]=_0xec5ade,this[_0x812f5f(0x15d)]=_0x3d969e);}async['loadUnit'](_0x56b690,_0x1d1c7e,_0x4910a2){var _0x210ff=_0x23fcf5;this[_0x210ff(0x25f)][_0x210ff(0x275)]({'unitId':_0x56b690,'type':_0x1d1c7e,'subUnitId':_0x4910a2});let _0x385b73=null;switch(_0x1d1c7e){case Z[_0x210ff(0x1b5)]:{_0x385b73=await this['_loadSheet'](_0x56b690);break;}case Z[_0x210ff(0x19a)]:{_0x385b73=await this[_0x210ff(0x1b0)](_0x56b690);break;}default:{this[_0x210ff(0x447)]['error'](_0x210ff(0x11b),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x385b73;}async['_loadSheet'](_0x5245f1){var _0x1070dc=_0x23fcf5,_0x33299f;let _0x48c238=0x0;const _0x47d286=await((_0x33299f=this[_0x1070dc(0x15d)])==null?void 0x0:_0x33299f['loadOfflineData'](_0x5245f1));return _0x47d286&&(_0x47d286['awaitingChangeset']||_0x47d286[_0x1070dc(0x33a)][_0x1070dc(0x358)]!==0x0)&&(_0x48c238=_0x47d286[_0x1070dc(0x3d3)]),_0x48c238===0x0&&this[_0x1070dc(0x447)][_0x1070dc(0x44f)](_0x1070dc(0x11b),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x1070dc(0x1bb)]['loadSheet'](_0x5245f1,_0x48c238);}async['_loadDoc'](_0x56cf55){var _0x1c3790=_0x23fcf5,_0x1cf0ec;let _0x43801a=0x0;const _0x58e91c=await((_0x1cf0ec=this['_localCacheService'])==null?void 0x0:_0x1cf0ec[_0x1c3790(0x34b)](_0x56cf55));return _0x58e91c&&(_0x58e91c[_0x1c3790(0x35f)]||_0x58e91c['mutations'][_0x1c3790(0x358)]!==0x0)&&(_0x43801a=_0x58e91c[_0x1c3790(0x3d3)]),_0x43801a===0x0&&this[_0x1c3790(0x447)]['debug'](_0x1c3790(0x11b),_0x1c3790(0x33e)),this['_snapshotService'][_0x1c3790(0x351)](_0x56cf55,_0x43801a);}},exports['DataLoaderService']=Pi([Me(0x0,a[_0x23fcf5(0x21d)]),Me(0x1,a[_0x23fcf5(0x11a)](m['SnapshotService'])),Me(0x2,a[_0x23fcf5(0x1fe)](z))],exports[_0x23fcf5(0x37d)]);var Di=Object[_0x23fcf5(0x14d)],wi=Object[_0x23fcf5(0x291)],Ai=(_0x399516,_0x34dfa2,_0x3d7992,_0xd573c)=>{var _0x315a68=_0x23fcf5;for(var _0x5e7e1e=_0xd573c>0x1?void 0x0:_0xd573c?wi(_0x34dfa2,_0x3d7992):_0x34dfa2,_0x2f3dd2=_0x399516[_0x315a68(0x358)]-0x1,_0x64f040;_0x2f3dd2>=0x0;_0x2f3dd2--)(_0x64f040=_0x399516[_0x2f3dd2])&&(_0x5e7e1e=(_0xd573c?_0x64f040(_0x34dfa2,_0x3d7992,_0x5e7e1e):_0x64f040(_0x5e7e1e))||_0x5e7e1e);return _0xd573c&&_0x5e7e1e&&Di(_0x34dfa2,_0x3d7992,_0x5e7e1e),_0x5e7e1e;},xe=(_0x33551a,_0x4642b0)=>(_0x3649b0,_0x539615)=>_0x4642b0(_0x3649b0,_0x539615,_0x33551a);const Li=[_0x23fcf5(0xf4),_0x23fcf5(0x355),_0x23fcf5(0xe9),'image/gif',_0x23fcf5(0x354)],Mi=0x5*0x400*0x400,xi=_0x23fcf5(0x449),ji='/universer-api/stream/file/upload',$i=_0x23fcf5(0x306),Hi=_0x23fcf5(0x109);exports[_0x23fcf5(0x43a)]=class{constructor(_0x24ba4f,_0x1c66b0,_0x29ba31){var _0x556e05=_0x23fcf5;D(this,_0x556e05(0x310),0x0),D(this,_0x556e05(0x178),new H[(_0x556e05(0x227))]()),D(this,_0x556e05(0xd8),this[_0x556e05(0x178)]),D(this,_0x556e05(0xfb),new Map()),(this['_httpService']=_0x24ba4f,this[_0x556e05(0x194)]=_0x1c66b0,this['_univerInstanceService']=_0x29ba31);}[_0x23fcf5(0x25a)](_0x56974c){var _0xb3bc75=_0x23fcf5;this[_0xb3bc75(0x310)]=_0x56974c,this['_change$'][_0xb3bc75(0x275)](_0x56974c);}['getImageSourceCache'](_0x534ec7,_0x45b34d){var _0x64f57b=_0x23fcf5;if(_0x45b34d===X['ImageSourceType']['BASE64']){const _0x27d419=new Image();return _0x27d419[_0x64f57b(0x26f)]=_0x534ec7,_0x27d419;}return this[_0x64f57b(0xfb)][_0x64f57b(0x11c)](_0x534ec7);}[_0x23fcf5(0x3db)](_0xe1064f,_0x4cd3ff,_0x4064f6){var _0x234167=_0x23fcf5;_0x4cd3ff===X[_0x234167(0x1ef)][_0x234167(0x2a6)]||_0x4064f6==null||this['_imageSourceCache'][_0x234167(0x2ec)](_0xe1064f,_0x4064f6);}async[_0x23fcf5(0x212)](_0x1853bd){var _0x4602e3=_0x23fcf5;try{const _0x5dc55e=this[_0x4602e3(0x37c)](this[_0x4602e3(0x1ea)](),''+_0x1853bd),_0x300494=(await this[_0x4602e3(0x418)]['get'](_0x5dc55e))[_0x4602e3(0x3b1)];if(_0x300494['error']&&_0x300494[_0x4602e3(0x39b)]['code']===Tt['OK']){const _0x10cb83=new URL(_0x300494['url'],this[_0x4602e3(0x115)]())[_0x4602e3(0x43f)]();return Promise[_0x4602e3(0x128)](_0x10cb83);}return Promise[_0x4602e3(0x2a2)](_0x300494[_0x4602e3(0x39b)]);}catch(_0x395006){return Promise[_0x4602e3(0x2a2)](_0x395006);}}async[_0x23fcf5(0x40a)](_0x21627a){var _0x3af5e8=_0x23fcf5;let _0x3b6c0c='';if(!Li[_0x3af5e8(0x2af)](_0x21627a[_0x3af5e8(0x21a)]))return this[_0x3af5e8(0x240)](),Promise['reject'](new Error(X['ImageUploadStatusType']['ERROR_IMAGE_TYPE']));if(_0x21627a[_0x3af5e8(0xf3)]>Mi)return this['_decreaseWaiting'](),Promise['reject'](new Error(X[_0x3af5e8(0x277)][_0x3af5e8(0x10a)]));try{const _0x298c2d=new FormData();_0x298c2d['append'](_0x3af5e8(0x417),_0x21627a);const _0xeabcf2=this[_0x3af5e8(0x3ce)][_0x3af5e8(0x192)](),_0x24d63d=_0xeabcf2==null?void 0x0:_0xeabcf2['getUnitId']();if(!_0x24d63d)throw new Error(_0x3af5e8(0x37f));const _0x4291c4=this['_getUploadFileURL']()+_0x3af5e8(0x3bf)+_0x21627a[_0x3af5e8(0xf3)][_0x3af5e8(0x43f)]()+_0x3af5e8(0x27c)+bt['UnitEmbedded']+_0x3af5e8(0x36e)+encodeURIComponent(_0x24d63d),_0x25414e=await(await fetch(_0x4291c4,{'method':_0x3af5e8(0x264),'body':_0x298c2d}))[_0x3af5e8(0xe5)]();if(typeof _0x25414e[_0x3af5e8(0x443)]!=_0x3af5e8(0x446))return this['_decreaseWaiting'](),Promise[_0x3af5e8(0x2a2)](new Error(X[_0x3af5e8(0x277)]['ERROR_IMAGE']));_0x3b6c0c=_0x25414e[_0x3af5e8(0x443)];}catch{return this[_0x3af5e8(0x240)](),Promise[_0x3af5e8(0x2a2)](new Error(X[_0x3af5e8(0x277)][_0x3af5e8(0x3d7)]));}return new Promise((_0x527835,_0xd6d4cc)=>{const _0xf42c9e=new FileReader();_0xf42c9e['readAsDataURL'](_0x21627a),_0xf42c9e['onload']=_0x302005=>{var _0x260832=_0x4d81,_0x417d07;const _0x557d16=(_0x417d07=_0x302005['target'])==null?void 0x0:_0x417d07[_0x260832(0x1b9)];if(_0x557d16==null){this[_0x260832(0x240)](),_0xd6d4cc(new Error(X['ImageUploadStatusType'][_0x260832(0x3d7)]));return;}const _0x56b00d=a[_0x260832(0x38d)][_0x260832(0x337)](0x6);_0x527835({'imageId':_0x56b00d,'imageSourceType':X[_0x260832(0x1ef)][_0x260832(0x127)],'source':_0x3b6c0c,'base64Cache':_0x557d16,'status':X[_0x260832(0x277)][_0x260832(0x11f)]}),this[_0x260832(0x240)]();};});}[_0x23fcf5(0x36c)](){var _0x15d82b=_0x23fcf5,_0x313b8e,_0x31ab66;const _0x57f89f=this[_0x15d82b(0x194)][_0x15d82b(0x3d1)](xi),_0x4c0a97=this[_0x15d82b(0x194)][_0x15d82b(0x3d1)](Y);return(_0x31ab66=(_0x313b8e=_0x4c0a97==null?void 0x0:_0x4c0a97[_0x15d82b(0x196)])!=null?_0x313b8e:_0x57f89f)!=null?_0x31ab66:ji;}[_0x23fcf5(0x1ea)](){var _0x32213f=_0x23fcf5,_0x47847f,_0x291635;const _0x2681f0=this[_0x32213f(0x194)][_0x32213f(0x3d1)]($i),_0x451d60=this[_0x32213f(0x194)]['getConfig'](Y);return(_0x291635=(_0x47847f=_0x451d60==null?void 0x0:_0x451d60['signUrlServerUrl'])!=null?_0x47847f:_0x2681f0)!=null?_0x291635:Hi;}[_0x23fcf5(0x115)](){var _0x25c86a=_0x23fcf5,_0x36874b;const _0x1cb7b8=this[_0x25c86a(0x194)][_0x25c86a(0x3d1)](Y);return(_0x36874b=_0x1cb7b8==null?void 0x0:_0x1cb7b8[_0x25c86a(0x12c)])!=null?_0x36874b:location[_0x25c86a(0x270)];}[_0x23fcf5(0x37c)](_0x4da9ca,_0x2b372a){var _0x472d99=_0x23fcf5;return _0x4da9ca[_0x472d99(0x419)](_0x472d99(0x253),_0x2b372a);}[_0x23fcf5(0x240)](){var _0x3c6d4c=_0x23fcf5;this[_0x3c6d4c(0x310)]-=0x1,this[_0x3c6d4c(0x178)]['next'](this[_0x3c6d4c(0x310)]);}},exports['CollaborationImageIoService']=Ai([xe(0x0,a[_0x23fcf5(0x11a)](q['HTTPService'])),xe(0x1,a['IConfigService']),xe(0x2,a[_0x23fcf5(0x11a)](a[_0x23fcf5(0x133)]))],exports[_0x23fcf5(0x43a)]);var ki=Object[_0x23fcf5(0x14d)],Bi=Object['getOwnPropertyDescriptor'],Fi=(_0x1d9562,_0x2532df,_0x3e8246,_0x41b374)=>{var _0x2502da=_0x23fcf5;for(var _0x364773=_0x41b374>0x1?void 0x0:_0x41b374?Bi(_0x2532df,_0x3e8246):_0x2532df,_0x29accc=_0x1d9562[_0x2502da(0x358)]-0x1,_0x365a6d;_0x29accc>=0x0;_0x29accc--)(_0x365a6d=_0x1d9562[_0x29accc])&&(_0x364773=(_0x41b374?_0x365a6d(_0x2532df,_0x3e8246,_0x364773):_0x365a6d(_0x364773))||_0x364773);return _0x41b374&&_0x364773&&ki(_0x2532df,_0x3e8246,_0x364773),_0x364773;},_t=(_0x9b485c,_0x14a6e9)=>(_0x5769af,_0xe3cb92)=>_0x14a6e9(_0x5769af,_0xe3cb92,_0x9b485c);const Wi=_0x23fcf5(0x210);exports[_0x23fcf5(0x237)]=class{constructor(_0x5b2734,_0x54aa38){var _0x35ab0f=_0x23fcf5;this[_0x35ab0f(0x194)]=_0x5b2734,this[_0x35ab0f(0x18a)]=_0x54aa38;}[_0x23fcf5(0x2f6)](){var _0xa5c0a0=_0x23fcf5,_0x587043,_0x3a2250;const _0x5e83ee=this[_0xa5c0a0(0x194)][_0xa5c0a0(0x3d1)](Ve),_0x331477=this['_configService'][_0xa5c0a0(0x3d1)](Y);return(_0x3a2250=(_0x587043=_0x331477==null?void 0x0:_0x331477[_0xa5c0a0(0x112)])!=null?_0x587043:_0x5e83ee)!=null?_0x3a2250:Wi;}async[_0x23fcf5(0x2f0)](_0x4fa0cb){var _0x3c536c=_0x23fcf5;const _0x520e5c=this[_0x3c536c(0x2f6)]()+_0x3c536c(0x131);return{'list':[{'title':_0x3c536c(0x2cf),'mentions':(await this['_HTTPService']['get'](_0x520e5c,{'params':{'objectID':_0x4fa0cb['unitId'],'unitID':_0x4fa0cb[_0x3c536c(0x44d)]}}))[_0x3c536c(0x3b1)][_0x3c536c(0x110)][_0x3c536c(0x1da)](_0xcf0e42=>({'objectId':_0xcf0e42['id'],'name':_0xcf0e42[_0x3c536c(0x1a7)][_0x3c536c(0xe4)],'metadata':{'icon':_0xcf0e42['subject'][_0x3c536c(0x1c4)]},'label':_0xcf0e42['subject'][_0x3c536c(0xe4)],'objectType':a[_0x3c536c(0x393)][_0x3c536c(0x23e)]})),'metadata':{},'type':a[_0x3c536c(0x393)]['PERSON']}]};}},exports[_0x23fcf5(0x237)]=Fi([_t(0x0,a['Inject'](a[_0x23fcf5(0x17e)])),_t(0x1,a[_0x23fcf5(0x11a)](q[_0x23fcf5(0x3f3)]))],exports[_0x23fcf5(0x237)]);var Gi=Object['defineProperty'],Vi=Object[_0x23fcf5(0x291)],Ki=(_0x51c436,_0x247c83,_0x416c7b,_0x4abae7)=>{var _0x4eda89=_0x23fcf5;for(var _0x3c82aa=_0x4abae7>0x1?void 0x0:_0x4abae7?Vi(_0x247c83,_0x416c7b):_0x247c83,_0x546ec9=_0x51c436[_0x4eda89(0x358)]-0x1,_0x12fd66;_0x546ec9>=0x0;_0x546ec9--)(_0x12fd66=_0x51c436[_0x546ec9])&&(_0x3c82aa=(_0x4abae7?_0x12fd66(_0x247c83,_0x416c7b,_0x3c82aa):_0x12fd66(_0x3c82aa))||_0x3c82aa);return _0x4abae7&&_0x3c82aa&&Gi(_0x247c83,_0x416c7b,_0x3c82aa),_0x3c82aa;},ce=(_0x431a96,_0x4cba16)=>(_0x151f7e,_0x523405)=>_0x4cba16(_0x151f7e,_0x523405,_0x431a96);let Ue=class extends a['RxDisposable']{constructor(_0xc7b461,_0x4bb332,_0x21f76f,_0x5e056f,_0x2b1bf0,_0x65fa78,_0x55b7d1){var _0x55a6b9=_0x23fcf5;super(),this[_0x55a6b9(0x305)]=_0xc7b461,this['_univerInstanceService']=_0x4bb332,this['_permissionService']=_0x21f76f,this[_0x55a6b9(0x346)]=_0x5e056f,this[_0x55a6b9(0x359)]=_0x2b1bf0,this[_0x55a6b9(0x369)]=_0x65fa78,this[_0x55a6b9(0x1c3)]=_0x55b7d1,this[_0x55a6b9(0x132)](),this[_0x55a6b9(0x3b6)]();}[_0x23fcf5(0x3b6)](){var _0x586297=_0x23fcf5;const _0x3eebe2=async _0x5e56df=>{var _0x2e1357=_0x4d81;(await this['_collaborationSessionService']['requireSession'](_0x5e56df))[_0x2e1357(0x3d4)]['pipe'](W['filter'](_0x287f40=>_0x287f40[_0x2e1357(0x21b)]===m['CollaborationEvent']['SHOULD_CLOSE_CONN']),W[_0x2e1357(0x32d)](this[_0x2e1357(0x160)]))[_0x2e1357(0x332)](_0x1e8d9d=>{var _0x489ba1=_0x2e1357;const _0x12ea6e=_0x1e8d9d,{reason:_0x1b2c3b}=_0x12ea6e['data'];this[_0x489ba1(0x359)][_0x489ba1(0x427)]({'id':Q[_0x489ba1(0x1e2)],'data':_0x1b2c3b}),this['_permissionService'][_0x489ba1(0x3dd)](new J[(_0x489ba1(0x3ee))](_0x5e56df)['id'],!0x1),this[_0x489ba1(0x346)]['closeSession'](_0x5e56df);});};H[_0x586297(0x326)](this[_0x586297(0x3ce)][_0x586297(0x399)](a[_0x586297(0x387)][_0x586297(0x1b5)]),this['_univerInstanceService'][_0x586297(0x399)](a[_0x586297(0x387)][_0x586297(0x19a)]))[_0x586297(0x205)](W[_0x586297(0x1da)](_0x21d04b=>_0x21d04b[_0x586297(0x408)]()),W['filter'](_0x45465a=>!a[_0x586297(0x269)](_0x45465a)),W['takeUntil'](this[_0x586297(0x160)]))[_0x586297(0x332)](_0x245508=>{_0x3eebe2(_0x245508);});}[_0x23fcf5(0x132)](){var _0x491878=_0x23fcf5;const _0x2975f4=async _0x1f0063=>{var _0x5e81e4=_0x4d81;const _0x50ab21=await this[_0x5e81e4(0x346)][_0x5e81e4(0x101)](_0x1f0063),_0x3f1fbd=this[_0x5e81e4(0x305)]['get'](J['SheetPermissionInitController']);_0x50ab21[_0x5e81e4(0x3d4)]['pipe'](W[_0x5e81e4(0x23c)](_0x413151=>_0x413151[_0x5e81e4(0x21b)]===m[_0x5e81e4(0x2b5)][_0x5e81e4(0x142)]),W[_0x5e81e4(0x32d)](this[_0x5e81e4(0x160)]))['subscribe'](_0x1ebcd0=>{var _0x44ad87=_0x5e81e4;const _0x41a681=_0x1ebcd0,{objectId:_0x2805f9}=_0x41a681[_0x44ad87(0x406)];_0x2805f9===_0x1f0063?_0x3f1fbd[_0x44ad87(0x2fb)](_0x1f0063):_0x3f1fbd[_0x44ad87(0x3f5)](_0x1f0063,_0x2805f9);});};H[_0x491878(0x326)](this[_0x491878(0x3ce)]['getTypeOfUnitAdded$'](a[_0x491878(0x387)][_0x491878(0x1b5)]),this['_univerInstanceService'][_0x491878(0x399)](a['UniverInstanceType'][_0x491878(0x19a)]))[_0x491878(0x205)](W['map'](_0x5a4d56=>_0x5a4d56[_0x491878(0x408)]()),W[_0x491878(0x23c)](_0x101b16=>!a[_0x491878(0x269)](_0x101b16)),W[_0x491878(0x32d)](this[_0x491878(0x160)]))['subscribe'](_0x402106=>{_0x2975f4(_0x402106);});}};Ue=Ki([ce(0x0,a[_0x23fcf5(0x11a)](a[_0x23fcf5(0x368)])),ce(0x1,a[_0x23fcf5(0x133)]),ce(0x2,a[_0x23fcf5(0x28b)]),ce(0x3,a[_0x23fcf5(0x11a)](exports[_0x23fcf5(0x3a9)])),ce(0x4,a['Inject'](te)),ce(0x5,a[_0x23fcf5(0x163)]),ce(0x6,a[_0x23fcf5(0x2b0)])],Ue);var Yi=Object[_0x23fcf5(0x14d)],qi=Object[_0x23fcf5(0x291)],zi=(_0x16a6fb,_0x22621b,_0x3bde5b,_0x4fbeca)=>{for(var _0x32e1b9=_0x4fbeca>0x1?void 0x0:_0x4fbeca?qi(_0x22621b,_0x3bde5b):_0x22621b,_0x5dc2b9=_0x16a6fb['length']-0x1,_0x50e34c;_0x5dc2b9>=0x0;_0x5dc2b9--)(_0x50e34c=_0x16a6fb[_0x5dc2b9])&&(_0x32e1b9=(_0x4fbeca?_0x50e34c(_0x22621b,_0x3bde5b,_0x32e1b9):_0x50e34c(_0x32e1b9))||_0x32e1b9);return _0x4fbeca&&_0x32e1b9&&Yi(_0x22621b,_0x3bde5b,_0x32e1b9),_0x32e1b9;},ut=(_0x254882,_0x35dbb9)=>(_0x416efd,_0x33245c)=>_0x35dbb9(_0x416efd,_0x33245c,_0x254882);exports['SnapshotServerOverHTTPService']=class{constructor(_0x187dd8,_0xca0125){var _0x17de65=_0x23fcf5;this[_0x17de65(0x194)]=_0x187dd8,this[_0x17de65(0x418)]=_0xca0125;}async[_0x23fcf5(0x3fc)](_0x38a65d,_0x1288d8){var _0x17daa4=_0x23fcf5,_0x21de6b;const {unitID:_0x4465b7,type:_0x16989c,revision:_0x3f74f1=0x0}=_0x1288d8,_0x10508f=this[_0x17daa4(0x3a3)]()+'/'+_0x16989c+_0x17daa4(0x17d)+_0x4465b7+'/rev/'+_0x3f74f1,_0x34eb9a=(await this[_0x17daa4(0x418)][_0x17daa4(0x11c)](_0x10508f))[_0x17daa4(0x3b1)],_0x548619=(_0x21de6b=_0x34eb9a['snapshot'])==null?void 0x0:_0x21de6b['workbook'];if(_0x548619){const _0x4b3064=_0x548619==null?void 0x0:_0x548619[_0x17daa4(0x12b)],_0x26c6ee=m[_0x17daa4(0x1f5)][_0x17daa4(0x220)](m[_0x17daa4(0x3b7)](_0x4b3064));_0x548619[_0x17daa4(0x12b)]=_0x26c6ee,Object['entries'](_0x548619['sheets'])[_0x17daa4(0x28e)](([,_0x34311b])=>{var _0x363d72=_0x17daa4;const _0x45eea4=_0x34311b['originalMeta'],_0x19e38c=m[_0x363d72(0x1f5)]['encode'](m['b64DecodeUnicode'](_0x45eea4));_0x34311b[_0x363d72(0x12b)]=_0x19e38c;});}return _0x34eb9a;}async[_0x23fcf5(0x2e9)](_0x28d32f,_0x3ba9c6){var _0x203124=_0x23fcf5;const {unitID:_0x2a419d,type:_0x39dace,blockID:_0xb20396}=_0x3ba9c6,_0x434a8b=this[_0x203124(0x2b6)]()+'/'+_0x39dace+_0x203124(0x17d)+_0x2a419d+'/block/'+_0xb20396;return(await this[_0x203124(0x418)][_0x203124(0x11c)](_0x434a8b))[_0x203124(0x3b1)];}async[_0x23fcf5(0x106)](_0x2cc488,_0x725487){var _0x43d132=_0x23fcf5;const {unitID:_0x19c991,type:_0x34fd39,blockID:_0x4fc47d}=_0x725487,_0x2c4bca=this[_0x43d132(0x2b6)]()+_0x43d132(0x40b)+_0x34fd39+_0x43d132(0x17d)+_0x19c991+_0x43d132(0x40b)+_0x4fc47d;return(await this[_0x43d132(0x418)][_0x43d132(0x11c)](_0x2c4bca))[_0x43d132(0x3b1)];}async[_0x23fcf5(0x438)](_0x9812aa,_0x3d7cf6){var _0x4dbb9b=_0x23fcf5;const {unitID:_0x455bc0,type:_0x30b36c,from:_0x1f6c40,to:_0x277f74}=_0x3d7cf6,_0xbbf5c6=this[_0x4dbb9b(0x2b6)]()+'/'+_0x30b36c+_0x4dbb9b(0x17d)+_0x455bc0+_0x4dbb9b(0x295)+_0x1f6c40+_0x4dbb9b(0x328)+_0x277f74;return(await this['_httpService']['get'](_0xbbf5c6))[_0x4dbb9b(0x3b1)];}[_0x23fcf5(0x3a3)](){var _0x37d7d7=_0x23fcf5,_0xaea1a2;return(_0xaea1a2=this[_0x37d7d7(0x194)][_0x37d7d7(0x3d1)](ft))!=null?_0xaea1a2:this[_0x37d7d7(0x2b6)]();}['_getAPIPrefix'](){var _0x6c089f=_0x23fcf5,_0x4a9680,_0x2fd1f4;const _0x40a45f=this[_0x6c089f(0x194)]['getConfig'](vt),_0x26002a=this['_configService'][_0x6c089f(0x3d1)](Y);return(_0x2fd1f4=(_0x4a9680=_0x26002a==null?void 0x0:_0x26002a[_0x6c089f(0x420)])!=null?_0x4a9680:_0x40a45f)!=null?_0x2fd1f4:Ht;}async['getResourcesRequest'](_0x1df462,_0x3806fd){var _0x78e8a5=_0x23fcf5;const _0xef721b=_0x78e8a5(0x39f)+_0x3806fd[_0x78e8a5(0x21a)]+_0x78e8a5(0x17d)+_0x3806fd['unitID']+_0x78e8a5(0x12d);return(await this[_0x78e8a5(0x418)]['get'](_0xef721b,{'params':{'resourceId':JSON['stringify'](_0x3806fd[_0x78e8a5(0x27a)])}}))[_0x78e8a5(0x3b1)];}[_0x23fcf5(0x416)](){var _0x296084=_0x23fcf5;throw new Error(_0x296084(0x345));}['saveSheetBlock'](){var _0x256490=_0x23fcf5;throw new Error(_0x256490(0x345));}[_0x23fcf5(0x2f7)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x23fcf5(0x1f8)](){var _0x44cde5=_0x23fcf5;throw new Error(_0x44cde5(0x345));}[_0x23fcf5(0x257)](){var _0x4701c3=_0x23fcf5;throw new Error(_0x4701c3(0x345));}},exports[_0x23fcf5(0x1e8)]=zi([ut(0x0,a[_0x23fcf5(0x17e)]),ut(0x1,a['Inject'](q[_0x23fcf5(0x3f3)]))],exports['SnapshotServerOverHTTPService']);var Ji=Object[_0x23fcf5(0x14d)],Xi=Object[_0x23fcf5(0x291)],Zi=(_0x322b29,_0x4f9bb4,_0xa705e0,_0x4c9173)=>{var _0x595e0c=_0x23fcf5;for(var _0x141b2c=_0x4c9173>0x1?void 0x0:_0x4c9173?Xi(_0x4f9bb4,_0xa705e0):_0x4f9bb4,_0x3e370c=_0x322b29[_0x595e0c(0x358)]-0x1,_0x18bc2e;_0x3e370c>=0x0;_0x3e370c--)(_0x18bc2e=_0x322b29[_0x3e370c])&&(_0x141b2c=(_0x4c9173?_0x18bc2e(_0x4f9bb4,_0xa705e0,_0x141b2c):_0x18bc2e(_0x141b2c))||_0x141b2c);return _0x4c9173&&_0x141b2c&&Ji(_0x4f9bb4,_0xa705e0,_0x141b2c),_0x141b2c;},de=(_0x5aee57,_0x55c02e)=>(_0x4fc199,_0x26c71f)=>_0x55c02e(_0x4fc199,_0x26c71f,_0x5aee57);exports[_0x23fcf5(0x348)]=class extends a[_0x23fcf5(0x284)]{constructor(_0x49fbf7,_0x224d1c,_0x3b468c,_0x38c317,_0x42b962){var _0x3fa28f=_0x23fcf5;super(_0x49fbf7,_0x224d1c,_0x3b468c),this[_0x3fa28f(0x453)]=_0x38c317,this['_logService']=_0x42b962;}['transformUndoRedo'](_0x438ddc,_0x416fb9){var _0x434598=_0x23fcf5;const _0x16c397=this[_0x434598(0x103)](_0x438ddc);if(_0x16c397)try{const _0x485b6b=this[_0x434598(0x29c)](_0x16c397,_0x416fb9);this['_substituteUndoStack'](_0x438ddc,_0x485b6b);}catch(_0x4dc2e5){this[_0x434598(0x447)][_0x434598(0x39b)](_0x434598(0x162),_0x4dc2e5),this[_0x434598(0x259)](_0x438ddc);}const _0x2645b3=this[_0x434598(0x234)](_0x438ddc);if(_0x2645b3)try{const _0x28e7a2=this[_0x434598(0x29c)](_0x2645b3,_0x416fb9);this[_0x434598(0x15a)](_0x438ddc,_0x28e7a2);}catch(_0x13ba0d){this['_logService'][_0x434598(0x39b)](_0x13ba0d),this['_clearRedo'](_0x438ddc);}}[_0x23fcf5(0x259)](_0x4a5b24){var _0x57c095=_0x23fcf5;const _0x405023=this[_0x57c095(0x103)](_0x4a5b24);_0x405023&&(_0x405023[_0x57c095(0x358)]=0x0,this[_0x57c095(0x173)]());}[_0x23fcf5(0x1ca)](_0x168157){var _0x516017=_0x23fcf5;const _0x2556d6=this['_getRedoStack'](_0x168157);_0x2556d6&&(_0x2556d6[_0x516017(0x358)]=0x0,this[_0x516017(0x173)]());}[_0x23fcf5(0x1ec)](_0x9dd2d9,_0x21ebb1){var _0x3984fe=_0x23fcf5;this[_0x3984fe(0x2c9)][_0x3984fe(0x2ec)](_0x9dd2d9,_0x21ebb1),this[_0x3984fe(0x173)]();}[_0x23fcf5(0x15a)](_0x2088c0,_0x5f0c4c){var _0x5c49e8=_0x23fcf5;this['_redoStacks'][_0x5c49e8(0x2ec)](_0x2088c0,_0x5f0c4c),this[_0x5c49e8(0x173)]();}['_transformStack'](_0x430b21,_0x269877){var _0x141148=_0x23fcf5;const _0x4c4985=[];let _0x118efa=_0x269877,_0x107313=_0x269877;for(let _0x368876=_0x430b21['length']-0x1;_0x368876>=0x0;_0x368876--){const {unitID:_0x97cb86,undoMutations:_0x11faad,redoMutations:_0x11cbaf}=_0x430b21[_0x368876],_0x5c3b73=this[_0x141148(0x453)][_0x141148(0x2cb)](_0x118efa,_0x11faad),_0x18dcbf=this[_0x141148(0x453)][_0x141148(0x2cb)](_0x107313,_0x11cbaf);if(m[_0x141148(0x424)](_0x5c3b73)||m['isTransformMutationsWithChangesetFailure'](_0x18dcbf)){this[_0x141148(0x447)][_0x141148(0x39b)](_0x141148(0x162),'transformStack\x20failed!',_0x5c3b73,_0x18dcbf);break;}_0x118efa=_0x5c3b73['c1Prime'],_0x107313=_0x18dcbf[_0x141148(0x217)],_0x4c4985['push']({'unitID':_0x97cb86,'undoMutations':_0x5c3b73[_0x141148(0x22c)],'redoMutations':_0x18dcbf[_0x141148(0x22c)]});}return _0x4c4985[_0x141148(0x3e9)]();}},exports['CollaborativeUndoRedoService']=Zi([de(0x0,a[_0x23fcf5(0x133)]),de(0x1,a['ICommandService']),de(0x2,a[_0x23fcf5(0x44c)]),de(0x3,m[_0x23fcf5(0x1e5)]),de(0x4,a[_0x23fcf5(0x21d)])],exports['CollaborativeUndoRedoService']);var Lt=Object[_0x23fcf5(0x14d)],Qi=Object[_0x23fcf5(0x291)],er=(_0x30a5dc,_0x533836,_0x15be6d)=>_0x533836 in _0x30a5dc?Lt(_0x30a5dc,_0x533836,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x15be6d}):_0x30a5dc[_0x533836]=_0x15be6d,tr=(_0xb34533,_0x5de2af,_0x424c79,_0x19966d)=>{var _0xd449ca=_0x23fcf5;for(var _0x21888b=_0x19966d>0x1?void 0x0:_0x19966d?Qi(_0x5de2af,_0x424c79):_0x5de2af,_0x33c9fd=_0xb34533[_0xd449ca(0x358)]-0x1,_0x47a114;_0x33c9fd>=0x0;_0x33c9fd--)(_0x47a114=_0xb34533[_0x33c9fd])&&(_0x21888b=(_0x19966d?_0x47a114(_0x5de2af,_0x424c79,_0x21888b):_0x47a114(_0x21888b))||_0x21888b);return _0x19966d&&_0x21888b&&Lt(_0x5de2af,_0x424c79,_0x21888b),_0x21888b;},je=(_0x3394aa,_0x1c503d)=>(_0x4e2732,_0x492d4c)=>_0x1c503d(_0x4e2732,_0x492d4c,_0x3394aa),nr=(_0x529dd4,_0x1e23f9,_0xf7763b)=>er(_0x529dd4,_0x1e23f9+'',_0xf7763b);const ir=_0x23fcf5(0x22e);exports[_0x23fcf5(0x2e8)]=class extends a[_0x23fcf5(0x279)]{constructor(_0x18fa10=Ke,_0x4ef202,_0x2cdda5,_0x40bdd5){var _0x517790=_0x23fcf5;super(),this[_0x517790(0x26a)]=_0x18fa10,this['_logService']=_0x4ef202,this[_0x517790(0x305)]=_0x2cdda5,this[_0x517790(0x194)]=_0x40bdd5;const {..._0x2d9f9e}=a[_0x517790(0x326)]({},Ke,this['_config']);this[_0x517790(0x194)]['setConfig'](Y,_0x2d9f9e);}[_0x23fcf5(0x3d2)](){var _0x2f46cd=_0x23fcf5;this[_0x2f46cd(0x248)](),this[_0x2f46cd(0x3f2)]();}[_0x23fcf5(0x248)](){var _0x4aa6cb=_0x23fcf5,_0x17a8e4,_0xf42ef6,_0x39872c,_0x463e7a;this[_0x4aa6cb(0x305)]['has'](a[_0x4aa6cb(0x2b0)])&&this[_0x4aa6cb(0x447)]['error'](_0x4aa6cb(0x309),_0x4aa6cb(0x39e));const _0xd7a3c5=a[_0x4aa6cb(0x31d)]([[a[_0x4aa6cb(0x2b0)],{'useClass':exports[_0x4aa6cb(0x348)]}],[exports[_0x4aa6cb(0x3a9)]],[exports[_0x4aa6cb(0x24c)]],[exports[_0x4aa6cb(0x30b)]],[ye],[Ne],[Be],[Ue],[te],[exports[_0x4aa6cb(0x37d)]],[ke,{'useClass':(_0xf42ef6=(_0x17a8e4=this[_0x4aa6cb(0x26a)])==null?void 0x0:_0x17a8e4[_0x4aa6cb(0x190)])!=null?_0xf42ef6:exports['CollaborationSocketService']}],[m[_0x4aa6cb(0x3e3)],{'useClass':exports['SnapshotServerOverHTTPService']}],[a[_0x4aa6cb(0x163)],{'useClass':exports[_0x4aa6cb(0x225)]}],[X[_0x4aa6cb(0x2a4)],{'useClass':exports['CollaborationImageIoService']}],[a[_0x4aa6cb(0x2c7)],{'useClass':exports['MentionIoHttpService']}],[exports[_0x4aa6cb(0x1d8)]],[$e]],(_0x39872c=this[_0x4aa6cb(0x26a)])==null?void 0x0:_0x39872c['override']);if(!((_0x463e7a=this[_0x4aa6cb(0x26a)])!=null&&_0x463e7a[_0x4aa6cb(0x19f)])){const _0x2dc8d3=_0xd7a3c5['findIndex'](([_0xd74850])=>_0xd74850===ve);_0x2dc8d3!==-0x1&&_0xd7a3c5[_0x4aa6cb(0x3e4)](_0x2dc8d3,0x1);}a[_0x4aa6cb(0x272)](this[_0x4aa6cb(0x305)],_0xd7a3c5);}[_0x23fcf5(0x3f2)](){var _0xb14033=_0x23fcf5,_0x462bba,_0x4c9e51,_0x33e228;this[_0xb14033(0x305)][_0xb14033(0x11c)](q[_0xb14033(0x3f3)])[_0xb14033(0x12e)]({'priority':0x14,'interceptor':q['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x462bba=this[_0xb14033(0x26a)])!=null&&_0x462bba[_0xb14033(0x263)]||(_0x4c9e51=this[_0xb14033(0x305)][_0xb14033(0x11c)](z,a[_0xb14033(0x401)][_0xb14033(0x30a)]))==null||_0x4c9e51[_0xb14033(0x289)](),(_0x33e228=this['_config'])!=null&&_0x33e228['enableAuthServer']&&a[_0xb14033(0x3fa)](this[_0xb14033(0x305)],[[ye]]),a[_0xb14033(0x3fa)](this[_0xb14033(0x305)],[[Ne],[exports[_0xb14033(0x1d8)]],[Ue]]);}},nr(exports[_0x23fcf5(0x2e8)],_0x23fcf5(0x1a1),ir),exports['UniverCollaborationClientPlugin']=tr([a[_0x23fcf5(0x3fd)](m[_0x23fcf5(0x150)],J['UniverSheetsPlugin'],q[_0x23fcf5(0x36a)]),je(0x1,a[_0x23fcf5(0x21d)]),je(0x2,a[_0x23fcf5(0x11a)](a[_0x23fcf5(0x368)])),je(0x3,a[_0x23fcf5(0x17e)])],exports[_0x23fcf5(0x2e8)]),exports['AUTHZ_URL_KEY']=Ve,exports[_0x23fcf5(0x38e)]=Y,exports['COLLAB_SUBMIT_CHANGESET_URL_KEY']=Et,exports['COLLAB_WEB_SOCKET_URL_KEY']=St,exports[_0x23fcf5(0xe8)]=We,exports[_0x23fcf5(0x1db)]=Q,exports['CollaborationUIEventService']=te,exports[_0x23fcf5(0x39d)]=Be,exports[_0x23fcf5(0xf6)]=pt,exports[_0x23fcf5(0x391)]=Xt,exports[_0x23fcf5(0x1a5)]=mt,exports['HEARTBEAT_TIMEOUT_KEY']=He,exports['ICollaborationSocketService']=ke,exports[_0x23fcf5(0x2f9)]=z,exports[_0x23fcf5(0x186)]=Rt,exports[_0x23fcf5(0x1ad)]=ve,exports[_0x23fcf5(0x2eb)]=Yt,exports[_0x23fcf5(0x340)]=Kt,exports[_0x23fcf5(0x2d9)]=Ct,exports[_0x23fcf5(0x3e6)]=Jt,exports[_0x23fcf5(0x388)]=It,exports[_0x23fcf5(0x405)]=kt,exports['SNAPSHOT_SERVER_URL_KEY']=vt,exports[_0x23fcf5(0x42c)]=ft,exports[_0x23fcf5(0x3a5)]=se,exports[_0x23fcf5(0x239)]=Fe,exports[_0x23fcf5(0x1f9)]=Ot,exports['getLocalCacheKey']=In,exports[_0x23fcf5(0x238)]=yt;