@univerjs-pro/collaboration-client 0.8.0 → 0.8.1-nightly.202506121607

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 _0x22ac88=_0xfcb9;(function(_0xf72115,_0x2c9e8d){var _0x49f156=_0xfcb9,_0x56688d=_0xf72115();while(!![]){try{var _0x5b4398=-parseInt(_0x49f156(0x549))/0x1+-parseInt(_0x49f156(0x375))/0x2+parseInt(_0x49f156(0x2c4))/0x3*(parseInt(_0x49f156(0x451))/0x4)+parseInt(_0x49f156(0x213))/0x5+parseInt(_0x49f156(0x33f))/0x6+-parseInt(_0x49f156(0x3f3))/0x7*(parseInt(_0x49f156(0x4ae))/0x8)+parseInt(_0x49f156(0x4b9))/0x9;if(_0x5b4398===_0x2c9e8d)break;else _0x56688d['push'](_0x56688d['shift']());}catch(_0x12e713){_0x56688d['push'](_0x56688d['shift']());}}}(_0x7ec8,0x5e868));var Dt=Object['defineProperty'],At=(_0x3a0fc9,_0xf5e5cc,_0x2a117e)=>_0xf5e5cc in _0x3a0fc9?Dt(_0x3a0fc9,_0xf5e5cc,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2a117e}):_0x3a0fc9[_0xf5e5cc]=_0x2a117e,A=(_0x362a8c,_0x2b8b56,_0x40d65c)=>At(_0x362a8c,typeof _0x2b8b56!=_0x22ac88(0x236)?_0x2b8b56+'':_0x2b8b56,_0x40d65c);Object['defineProperty'](exports,Symbol['toStringTag'],{'value':_0x22ac88(0x4da)});const a=require(_0x22ac88(0x2b1)),$=require(_0x22ac88(0x52b)),V=require('rxjs/operators'),I=require(_0x22ac88(0x35a)),Y=require('@univerjs/network'),Pt=require(_0x22ac88(0x3cd)),ht=require(_0x22ac88(0x37a)),X=require(_0x22ac88(0x25e)),z=require(_0x22ac88(0x1f7)),wt=require(_0x22ac88(0x3a2)),_t=_0x22ac88(0x2ca),Lt=_0x22ac88(0x1d4),lt='SNAPSHOT_URL_KEY',Mt=_0x22ac88(0x34b),xt=0x7d0,ut=_0x22ac88(0x479),dt=_0x22ac88(0x305),kt='/universer-api/user/session-ticket',vt=_0x22ac88(0x30e),Ht=0x7530,ke=_0x22ac88(0x539),St=0x4e20,$t=0x4e20,ft=_0x22ac88(0x43d),jt=0x3,Bt=_0x22ac88(0x489),Ft=0x3e8,pt=_0x22ac88(0x22f),Vt=_0x22ac88(0x411),It='LOGIN_URL_KEY',Wt=_0x22ac88(0x402),Gt=_0x22ac88(0x3f5),Kt=_0x22ac88(0x275);var gt=(_0x2c6437=>(_0x2c6437[_0x2c6437[_0x22ac88(0x212)]=0x0]=_0x22ac88(0x212),_0x2c6437[_0x2c6437['OK']=0x1]='OK',_0x2c6437[_0x2c6437[_0x22ac88(0x458)]=0x2]='INTERNAL_ERROR',_0x2c6437[_0x2c6437['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x2c6437[_0x2c6437[_0x22ac88(0x2f1)]=0x4]='NOT_FOUND',_0x2c6437[_0x2c6437[_0x22ac88(0x53f)]=0x5]='UNAUTHENTICATED',_0x2c6437[_0x2c6437[_0x22ac88(0x235)]=0x6]=_0x22ac88(0x235),_0x2c6437[_0x2c6437['INVALID_ARGUMENT']=0x7]=_0x22ac88(0x38b),_0x2c6437[_0x2c6437['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x2c6437[_0x2c6437['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x2c6437[_0x2c6437[_0x22ac88(0x4c6)]=0xa]=_0x22ac88(0x4c6),_0x2c6437[_0x2c6437['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x22ac88(0x2ad),_0x2c6437[_0x2c6437[_0x22ac88(0x2e1)]=0x1771]=_0x22ac88(0x2e1),_0x2c6437[_0x2c6437[_0x22ac88(0x265)]=0x1772]=_0x22ac88(0x265),_0x2c6437[_0x2c6437['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x22ac88(0x1de),_0x2c6437[_0x2c6437[_0x22ac88(0x30b)]=0x1b59]=_0x22ac88(0x30b),_0x2c6437[_0x2c6437[_0x22ac88(0x4e5)]=0x1b5a]=_0x22ac88(0x4e5),_0x2c6437[_0x2c6437[_0x22ac88(0x2e9)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x2c6437[_0x2c6437['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0x2c6437[_0x2c6437[_0x22ac88(0x3f2)]=0x1b5d]='APPLY_DUPLICATED',_0x2c6437[_0x2c6437[_0x22ac88(0x221)]=0x1f41]=_0x22ac88(0x221),_0x2c6437[_0x2c6437[_0x22ac88(0x430)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x2c6437[_0x2c6437[_0x22ac88(0x3e7)]=0x232a]=_0x22ac88(0x3e7),_0x2c6437[_0x2c6437['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x22ac88(0x22a),_0x2c6437[_0x2c6437[_0x22ac88(0x2f4)]=0x232c]=_0x22ac88(0x2f4),_0x2c6437[_0x2c6437[_0x22ac88(0x46e)]=0x232d]=_0x22ac88(0x46e),_0x2c6437[_0x2c6437['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x22ac88(0x40d),_0x2c6437[_0x2c6437[_0x22ac88(0x4fb)]=0x2712]=_0x22ac88(0x4fb),_0x2c6437[_0x2c6437[_0x22ac88(0x2d3)]=0x2713]=_0x22ac88(0x2d3),_0x2c6437[_0x2c6437['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x22ac88(0x215),_0x2c6437[_0x2c6437[_0x22ac88(0x308)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x2c6437[_0x2c6437[_0x22ac88(0x2a3)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x2c6437[_0x2c6437[_0x22ac88(0x511)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x2c6437[_0x2c6437['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x22ac88(0x228),_0x2c6437[_0x2c6437[_0x22ac88(0x1ee)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x2c6437[_0x2c6437[_0x22ac88(0x372)]=0x271f]=_0x22ac88(0x372),_0x2c6437[_0x2c6437[_0x22ac88(0x3ec)]=0x2af9]=_0x22ac88(0x3ec),_0x2c6437[_0x2c6437[_0x22ac88(0x353)]=0x2ee1]=_0x22ac88(0x353),_0x2c6437[_0x2c6437[_0x22ac88(0x300)]=0x2ee2]=_0x22ac88(0x300),_0x2c6437[_0x2c6437[_0x22ac88(0x292)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x2c6437[_0x2c6437[_0x22ac88(0x410)]=0x2ee4]=_0x22ac88(0x410),_0x2c6437[_0x2c6437[_0x22ac88(0x3d9)]=0x2ee5]=_0x22ac88(0x3d9),_0x2c6437[_0x2c6437['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x22ac88(0x345),_0x2c6437[_0x2c6437[_0x22ac88(0x321)]=0x32ca]=_0x22ac88(0x321),_0x2c6437[_0x2c6437[_0x22ac88(0x46f)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x2c6437[_0x2c6437[_0x22ac88(0x336)]=-0x1]=_0x22ac88(0x336),_0x2c6437))(gt||{}),J=(_0x4e36b5=>(_0x4e36b5[_0x4e36b5['UNIVER_UNKNOWN']=0x0]=_0x22ac88(0x45a),_0x4e36b5[_0x4e36b5[_0x22ac88(0x3d5)]=0x1]='UNIVER_DOC',_0x4e36b5[_0x4e36b5[_0x22ac88(0x403)]=0x2]=_0x22ac88(0x403),_0x4e36b5[_0x4e36b5[_0x22ac88(0x54a)]=0x3]=_0x22ac88(0x54a),_0x4e36b5[_0x4e36b5[_0x22ac88(0x2d4)]=0x4]=_0x22ac88(0x2d4),_0x4e36b5[_0x4e36b5[_0x22ac88(0x336)]=-0x1]='UNRECOGNIZED',_0x4e36b5))(J||{}),W=(_0x5e455a=>(_0x5e455a[_0x5e455a[_0x22ac88(0x4ac)]=0x0]=_0x22ac88(0x4ac),_0x5e455a[_0x5e455a[_0x22ac88(0x470)]=0x1]='HELLO',_0x5e455a[_0x5e455a[_0x22ac88(0x39b)]=0x2]=_0x22ac88(0x39b),_0x5e455a[_0x5e455a[_0x22ac88(0x529)]=0x3]='LEAVE',_0x5e455a[_0x5e455a['INGEST']=0x4]='INGEST',_0x5e455a[_0x5e455a[_0x22ac88(0x4d2)]=0x5]=_0x22ac88(0x4d2),_0x5e455a[_0x5e455a[_0x22ac88(0x1f2)]=0x6]=_0x22ac88(0x1f2),_0x5e455a[_0x5e455a[_0x22ac88(0x336)]=-0x1]='UNRECOGNIZED',_0x5e455a))(W||{}),oe=(_0x424235=>(_0x424235[_0x424235[_0x22ac88(0x33d)]=0x0]='UNKNOWN_CODE',_0x424235[_0x424235['OK']=0x1]='OK',_0x424235[_0x424235[_0x22ac88(0x25c)]=0x2]=_0x22ac88(0x25c),_0x424235[_0x424235[_0x22ac88(0x3fd)]=0x3e9]='JOIN_ROOM_FULL',_0x424235[_0x424235[_0x22ac88(0x341)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x424235[_0x424235[_0x22ac88(0x313)]=0x3eb]=_0x22ac88(0x313),_0x424235[_0x424235[_0x22ac88(0x3bb)]=0x3ec]=_0x22ac88(0x3bb),_0x424235[_0x424235['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x424235))(oe||{}),Et=(_0x3305ea=>(_0x3305ea[_0x3305ea[_0x22ac88(0x49f)]=0x0]=_0x22ac88(0x49f),_0x3305ea[_0x3305ea[_0x22ac88(0x52a)]=0x1]=_0x22ac88(0x52a),_0x3305ea[_0x3305ea[_0x22ac88(0x392)]=0x2]=_0x22ac88(0x392),_0x3305ea[_0x3305ea[_0x22ac88(0x347)]=0x3]=_0x22ac88(0x347),_0x3305ea[_0x3305ea[_0x22ac88(0x383)]=0x4]=_0x22ac88(0x383),_0x3305ea[_0x3305ea[_0x22ac88(0x253)]=0x5]=_0x22ac88(0x253),_0x3305ea[_0x3305ea[_0x22ac88(0x336)]=-0x1]='UNRECOGNIZED',_0x3305ea))(Et||{});const K=_0x22ac88(0x4a6),Yt={};var Z=(_0x67171a=>(_0x67171a['OTHER_CLIENT_EDITING']=_0x22ac88(0x48f),_0x67171a[_0x22ac88(0x2af)]=_0x22ac88(0x2af),_0x67171a[_0x22ac88(0x1e9)]=_0x22ac88(0x1e9),_0x67171a[_0x22ac88(0x532)]=_0x22ac88(0x532),_0x67171a[_0x22ac88(0x498)]=_0x22ac88(0x498),_0x67171a[_0x22ac88(0x480)]=_0x22ac88(0x480),_0x67171a[_0x22ac88(0x240)]='SOCKET_FAILED',_0x67171a[_0x22ac88(0x47f)]=_0x22ac88(0x47f),_0x67171a))(Z||{});class ee{constructor(){var _0xdd4b47=_0x22ac88;A(this,_0xdd4b47(0x20f),new $[(_0xdd4b47(0x26a))]()),A(this,_0xdd4b47(0x4a7),this['_event$'][_0xdd4b47(0x20a)]());}[_0x22ac88(0x208)](_0x49dd46){var _0x11262b=_0x22ac88;this['_event$'][_0x11262b(0x239)](_0x49dd46);}}const mt=a['createIdentifier'](_0x22ac88(0x290));function Ct(_0x5f1130){var _0x5dc60c=_0x22ac88,_0x2b0c61,_0x333811,_0x2e4f66,_0x2dcc80,_0x1b26e5;const _0x253ebb=_0x5f1130[_0x5dc60c(0x381)],_0x3160f3=JSON[_0x5dc60c(0x3da)](_0x253ebb);switch(_0x3160f3[_0x5dc60c(0x399)]){case W['HEARTBEAT']:case W['HELLO']:{const _0x36b148=_0x3160f3[_0x5dc60c(0x454)];return{..._0x3160f3,'data':_0x36b148,'cmd':_0x3160f3['cmd']};}case W['JOIN']:{const _0x1f24c5=_0x3160f3[_0x5dc60c(0x426)];return{..._0x3160f3,'data':_0x1f24c5,'cmd':_0x3160f3[_0x5dc60c(0x399)]};}case W[_0x5dc60c(0x1f2)]:{const _0x5e2ef0=_0x3160f3['collaMsg'];switch(_0x5e2ef0[_0x5dc60c(0x35f)]){case I[_0x5dc60c(0x36b)][_0x5dc60c(0x509)]:return{..._0x3160f3,'data':{..._0x5e2ef0,'data':(_0x2b0c61=_0x5e2ef0['permissionRejEvent'])==null?void 0x0:_0x2b0c61['cs']},'cmd':_0x3160f3[_0x5dc60c(0x399)]};case I[_0x5dc60c(0x36b)]['CHANGESET_ACK']:return{..._0x3160f3,'data':{..._0x5e2ef0,'data':(_0x333811=_0x5e2ef0[_0x5dc60c(0x271)])==null?void 0x0:_0x333811['cs']},'cmd':_0x3160f3[_0x5dc60c(0x399)]};case I[_0x5dc60c(0x36b)][_0x5dc60c(0x475)]:return{..._0x3160f3,'data':{..._0x5e2ef0,'data':(_0x2e4f66=_0x5e2ef0[_0x5dc60c(0x2fb)])==null?void 0x0:_0x2e4f66['cs']},'cmd':_0x3160f3[_0x5dc60c(0x399)]};case I[_0x5dc60c(0x36b)][_0x5dc60c(0x441)]:return{..._0x3160f3,'data':{..._0x5e2ef0,'data':(_0x2dcc80=_0x5e2ef0[_0x5dc60c(0x53b)])==null?void 0x0:_0x2dcc80['cs']},'cmd':_0x3160f3[_0x5dc60c(0x399)]};case I['CollaborationEvent'][_0x5dc60c(0x288)]:return{..._0x3160f3,'data':{..._0x5e2ef0,'data':(_0x1b26e5=_0x5e2ef0[_0x5dc60c(0x487)])==null?void 0x0:_0x1b26e5['cs']},'cmd':_0x3160f3[_0x5dc60c(0x399)]};case I[_0x5dc60c(0x36b)][_0x5dc60c(0x1fe)]:return{..._0x3160f3,'data':{..._0x5e2ef0,'data':_0x5e2ef0[_0x5dc60c(0x40b)]},'cmd':_0x3160f3[_0x5dc60c(0x399)]};case I[_0x5dc60c(0x36b)][_0x5dc60c(0x49d)]:return{..._0x3160f3,'data':{..._0x5e2ef0,'data':_0x5e2ef0['joinEvent']},'cmd':_0x3160f3[_0x5dc60c(0x399)]};case I[_0x5dc60c(0x36b)][_0x5dc60c(0x2f5)]:return{..._0x3160f3,'data':{..._0x5e2ef0,'data':_0x5e2ef0[_0x5dc60c(0x3ab)]},'cmd':_0x3160f3[_0x5dc60c(0x399)]};case I[_0x5dc60c(0x36b)][_0x5dc60c(0x254)]:return{..._0x3160f3,'data':{..._0x5e2ef0,'data':_0x5e2ef0[_0x5dc60c(0x1e1)]},'cmd':_0x3160f3['cmd']};case I['CollaborationEvent'][_0x5dc60c(0x37f)]:case I['CollaborationEvent'][_0x5dc60c(0x3a7)]:return{..._0x3160f3,'data':{..._0x5e2ef0,'data':_0x5e2ef0['liveShareOperation']},'cmd':_0x3160f3[_0x5dc60c(0x399)]};case I[_0x5dc60c(0x36b)][_0x5dc60c(0x541)]:return{..._0x3160f3,'data':{..._0x5e2ef0,'data':_0x5e2ef0['liveShareNewHost']},'cmd':_0x3160f3['cmd']};case I['CollaborationEvent'][_0x5dc60c(0x547)]:return{..._0x3160f3,'data':_0x5e2ef0,'cmd':_0x3160f3[_0x5dc60c(0x399)]};case I[_0x5dc60c(0x36b)]['COMMENT_UPDATE']:return{..._0x3160f3,'data':{..._0x5e2ef0,'data':_0x5e2ef0[_0x5dc60c(0x3b0)]},'cmd':_0x3160f3[_0x5dc60c(0x399)]};case I['CollaborationEvent'][_0x5dc60c(0x30d)]:return{..._0x3160f3,'data':{..._0x5e2ef0,'data':_0x5e2ef0[_0x5dc60c(0x4d8)]},'cmd':_0x3160f3['cmd']};case I['CollaborationEvent'][_0x5dc60c(0x206)]:return{..._0x3160f3,'data':{..._0x5e2ef0,'data':_0x5e2ef0['shouldCloseConn']},'cmd':_0x3160f3[_0x5dc60c(0x399)]};case I[_0x5dc60c(0x36b)][_0x5dc60c(0x21b)]:return{..._0x3160f3,'data':{..._0x5e2ef0,'data':_0x5e2ef0['uniscriptRunEvent']},'cmd':_0x3160f3[_0x5dc60c(0x399)]};default:return _0x3160f3;}}default:return _0x3160f3;}}function Tt(_0x224f01){var _0x23186f=_0x22ac88;switch(_0x224f01['cmd']){case W['HEARTBEAT']:case W[_0x23186f(0x470)]:return JSON[_0x23186f(0x3d1)]({'cmd':_0x224f01[_0x23186f(0x399)],'routeKey':_0x224f01['routeKey']});case W[_0x23186f(0x496)]:{let _0x221b8f;switch(_0x224f01[_0x23186f(0x381)][_0x23186f(0x35f)]){case I[_0x23186f(0x36b)][_0x23186f(0x1fe)]:{_0x221b8f={'eventID':I['CollaborationEvent'][_0x23186f(0x1fe)],'updateCursorEvent':_0x224f01[_0x23186f(0x381)]['data']};break;}case I['CollaborationEvent'][_0x23186f(0x2f5)]:{_0x221b8f={'eventID':I[_0x23186f(0x36b)][_0x23186f(0x2f5)],'leaveEvent':_0x224f01['data'][_0x23186f(0x381)]};break;}case I[_0x23186f(0x36b)][_0x23186f(0x49d)]:{_0x221b8f={'eventID':I[_0x23186f(0x36b)]['USERS_ENTER'],'joinEvent':_0x224f01[_0x23186f(0x381)][_0x23186f(0x381)]};break;}case I[_0x23186f(0x36b)][_0x23186f(0x254)]:{_0x221b8f={'eventID':I[_0x23186f(0x36b)][_0x23186f(0x254)],'liveShareNewHost':_0x224f01['data'][_0x23186f(0x381)]};break;}case I[_0x23186f(0x36b)]['LIVESHARE_OPERATION']:{_0x221b8f={'eventID':I[_0x23186f(0x36b)]['LIVESHARE_OPERATION'],'liveShareOperation':_0x224f01[_0x23186f(0x381)][_0x23186f(0x381)]};break;}case I[_0x23186f(0x36b)][_0x23186f(0x541)]:{_0x221b8f={'eventID':I[_0x23186f(0x36b)][_0x23186f(0x541)],'liveShareTerminate':_0x224f01[_0x23186f(0x381)][_0x23186f(0x381)]};break;}case I['CollaborationEvent'][_0x23186f(0x42b)]:{_0x221b8f={'eventID':I[_0x23186f(0x36b)][_0x23186f(0x42b)],'liveShareRequestHost':_0x224f01['data']['data']};break;}case I['CollaborationEvent']['LIVESHARE_FETCH_OPERATIONS']:{_0x221b8f={'eventID':I[_0x23186f(0x36b)]['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x221b8f={'eventID':_0x224f01[_0x23186f(0x381)][_0x23186f(0x35f)]};}return JSON['stringify']({'cmd':_0x224f01[_0x23186f(0x399)],'routeKey':_0x224f01[_0x23186f(0x41a)],'collaMsg':_0x221b8f});}case W[_0x23186f(0x39b)]:return JSON[_0x23186f(0x3d1)]({'cmd':_0x224f01[_0x23186f(0x399)],'routeKey':_0x224f01[_0x23186f(0x41a)],'joinReq':_0x224f01[_0x23186f(0x381)]});case W[_0x23186f(0x529)]:return JSON[_0x23186f(0x3d1)]({'cmd':_0x224f01[_0x23186f(0x399)],'routeKey':_0x224f01[_0x23186f(0x41a)],'leaveReq':_0x224f01['data']});default:throw new Error(_0x23186f(0x53d));}}var qt=Object[_0x22ac88(0x22c)],zt=(_0x5ae3a7,_0x29ea6c,_0x108f40,_0x5e6cf1)=>{var _0x53adf4=_0x22ac88;for(var _0x276ed9=_0x5e6cf1>0x1?void 0x0:_0x5e6cf1?qt(_0x29ea6c,_0x108f40):_0x29ea6c,_0x938efd=_0x5ae3a7[_0x53adf4(0x295)]-0x1,_0x3c1a9d;_0x938efd>=0x0;_0x938efd--)(_0x3c1a9d=_0x5ae3a7[_0x938efd])&&(_0x276ed9=_0x3c1a9d(_0x276ed9)||_0x276ed9);return _0x276ed9;},_e=(_0x3f2c20,_0x15dbbc)=>(_0x1cdb03,_0x3acb8d)=>_0x15dbbc(_0x1cdb03,_0x3acb8d,_0x3f2c20);const He=a[_0x22ac88(0x4ce)]('univer-pro.collaboration-client-socket-service');function Jt(_0xe1924,_0x133a8e,_0x4132a8){var _0x4f0924=_0x22ac88;return _0xe1924+'/'+_0x133a8e+_0x4f0924(0x490)+_0x4132a8+_0x4f0924(0x4f9);}exports[_0x22ac88(0x4c5)]=class extends a[_0x22ac88(0x41c)]{constructor(_0x44cee8,_0x58cc70,_0x28de94,_0xb19b5d,_0x4aba0e){var _0x3e0ed7=_0x22ac88;super(),this['_injector']=_0x44cee8,this[_0x3e0ed7(0x4f0)]=_0x58cc70,this[_0x3e0ed7(0x3b3)]=_0x28de94,this[_0x3e0ed7(0x297)]=_0xb19b5d,this[_0x3e0ed7(0x2d7)]=_0x4aba0e;}[_0x22ac88(0x533)](_0x4f2f87){var _0x14c615=_0x22ac88;const _0x5cda04=this['_injector'][_0x14c615(0x26d)](Y['ISocketService']);if(!_0x5cda04)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x649fa6=_0x5cda04[_0x14c615(0x357)](_0x4f2f87);if(!_0x649fa6)throw new Error(_0x14c615(0x2b4));const _0xe2bac1=new a['DisposableCollection'](),_0x10ad0d=new $[(_0x14c615(0x26a))]();_0xe2bac1[_0x14c615(0x39a)](_0x649fa6[_0x14c615(0x31b)]['subscribe'](_0x1e685b=>_0x10ad0d['next'](_0x1e685b))),_0xe2bac1[_0x14c615(0x39a)](a['toDisposable'](()=>_0x10ad0d['complete']()));const _0x2c2984=new $[(_0x14c615(0x26a))]();_0xe2bac1[_0x14c615(0x39a)](_0x649fa6[_0x14c615(0x2cf)][_0x14c615(0x382)](_0x3dc8c9=>_0x2c2984['next'](_0x3dc8c9))),_0xe2bac1[_0x14c615(0x39a)](a[_0x14c615(0x31c)](()=>_0x2c2984[_0x14c615(0x3fe)]()));const _0x19227f=new $[(_0x14c615(0x26a))]();_0xe2bac1['add'](_0x649fa6[_0x14c615(0x214)][_0x14c615(0x382)](_0x5e4a21=>{const _0x1eda2c=Ct(_0x5e4a21);_0x19227f['next'](_0x1eda2c);})),_0xe2bac1[_0x14c615(0x39a)](a[_0x14c615(0x31c)](()=>_0x19227f[_0x14c615(0x3fe)]()));let _0xdbaa46;const _0x1737f1=()=>{var _0x21a116=_0x14c615;_0x2c2984[_0x21a116(0x239)](new Event(_0x21a116(0x497))),_0x10ad0d[_0x21a116(0x239)](new Event('connection\x20error')),_0xdbaa46['close']();};return _0xdbaa46={'memberID':'','close$':_0x10ad0d[_0x14c615(0x20a)](),'error$':_0x2c2984[_0x14c615(0x20a)](),'open$':_0x649fa6[_0x14c615(0x25b)],'message$':_0x19227f[_0x14c615(0x20a)](),'send':_0x2646be=>{var _0x129524=_0x14c615;if(_0x2646be['cmd']===W[_0x129524(0x496)]){if(_0x2646be[_0x129524(0x381)][_0x129524(0x35f)]===I[_0x129524(0x36b)][_0x129524(0x42d)]){this[_0x129524(0x38f)](_0xdbaa46,_0x2646be['data'])[_0x129524(0x46b)](_0x4ca13a=>{var _0x2447e1=_0x129524;this[_0x2447e1(0x297)][_0x2447e1(0x424)](_0x4ca13a),_0x1737f1();});return;}if(_0x2646be[_0x129524(0x381)]['eventID']===I[_0x129524(0x36b)][_0x129524(0x328)]){const _0x3ce5fa=_0x2646be[_0x129524(0x381)];this[_0x129524(0x4a1)](_0x3ce5fa)['then'](_0x364611=>{var _0x162208=_0x129524;_0x19227f[_0x162208(0x239)]({'cmd':W[_0x162208(0x1f2)],'code':oe['OK'],'routeKey':_0x3ce5fa[_0x162208(0x381)][_0x162208(0x281)],'routeType':'','data':{'eventID':I[_0x162208(0x36b)][_0x162208(0x39e)],'data':{'changesets':_0x364611}}});})[_0x129524(0x46b)](_0x151886=>{var _0x18d70d=_0x129524;this[_0x18d70d(0x297)]['error'](_0x151886),_0x1737f1();});return;}}_0x649fa6[_0x129524(0x482)](Tt(_0x2646be));},'close':()=>{var _0x5bb108=_0x14c615;_0x649fa6[_0x5bb108(0x2a9)](),_0xe2bac1[_0x5bb108(0x299)]();}},_0xdbaa46;}async[_0x22ac88(0x38f)](_0x1798aa,_0x34740e){var _0x2331aa=_0x22ac88,_0x412560,_0x210dd1;const {unitType:_0x32d0cf,unitID:_0x4b9214,changeset:_0x195609}=_0x34740e[_0x2331aa(0x381)],_0x111af5={'unitID':_0x4b9214,'memberID':_0x1798aa[_0x2331aa(0x3f1)],'type':_0x32d0cf,'changeset':I[_0x2331aa(0x4eb)](_0x195609)},_0x5138f6=this['_configService'][_0x2331aa(0x324)](pt),_0x562c16=this['_configService'][_0x2331aa(0x324)](K),_0xc66513=Jt((_0x210dd1=(_0x412560=_0x562c16==null?void 0x0:_0x562c16[_0x2331aa(0x291)])!=null?_0x412560:_0x5138f6)!=null?_0x210dd1:Vt,_0x32d0cf,_0x4b9214);try{await this[_0x2331aa(0x4f0)][_0x2331aa(0x4c1)](_0xc66513,{'body':_0x111af5});}catch(_0x8efc1){throw this[_0x2331aa(0x297)][_0x2331aa(0x424)](_0x2331aa(0x35d),_0x2331aa(0x440)),_0x8efc1;}}async[_0x22ac88(0x4a1)](_0x230315){var _0x14037a=_0x22ac88;const {unitID:_0x3e3c9d,from:_0x19e2f2,to:_0xcc6eaf,unitType:_0x22991c}=_0x230315['data'];return(await this[_0x14037a(0x2d7)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x3e3c9d,'type':_0x22991c,'from':_0x19e2f2,'to':_0xcc6eaf}))[_0x14037a(0x4e0)];}},exports[_0x22ac88(0x4c5)]=zt([_e(0x0,a[_0x22ac88(0x371)](a[_0x22ac88(0x3c3)])),_e(0x1,a[_0x22ac88(0x371)](Y[_0x22ac88(0x2e3)])),_e(0x2,a['IConfigService']),_e(0x3,a[_0x22ac88(0x3a5)]),_e(0x4,I[_0x22ac88(0x444)])],exports[_0x22ac88(0x4c5)]);const Xt=_0x22ac88(0x3a0);function Zt(_0xdd491e){var _0x19d75d=_0x22ac88;return JSON[_0x19d75d(0x3d1)](_0xdd491e)[_0x19d75d(0x295)];}class $e{constructor(){var _0x2598b9=_0x22ac88;A(this,'_commentUpdate$',new $[(_0x2598b9(0x26a))]()),A(this,_0x2598b9(0x3fc),this[_0x2598b9(0x4e1)][_0x2598b9(0x20a)]());}[_0x22ac88(0x287)](_0x2cffcd){var _0xecb2d8=_0x22ac88;this[_0xecb2d8(0x4e1)]['next'](_0x2cffcd);}}var Qt=Object['getOwnPropertyDescriptor'],ei=(_0x39865e,_0x5b6827,_0x34a3e6,_0x49b114)=>{for(var _0x1ce4af=_0x49b114>0x1?void 0x0:_0x49b114?Qt(_0x5b6827,_0x34a3e6):_0x5b6827,_0x218fc6=_0x39865e['length']-0x1,_0x5a1e5f;_0x218fc6>=0x0;_0x218fc6--)(_0x5a1e5f=_0x39865e[_0x218fc6])&&(_0x1ce4af=_0x5a1e5f(_0x1ce4af)||_0x1ce4af);return _0x1ce4af;},We=(_0x496566,_0x2bbace)=>(_0x1a3f25,_0x3435e8)=>_0x2bbace(_0x1a3f25,_0x3435e8,_0x496566);exports['MemberService']=class extends a['Disposable']{constructor(_0x14e52c,_0x152d20){var _0x453671=_0x22ac88;super(),A(this,_0x453671(0x27b),new Map()),A(this,_0x453671(0x4b8),new $[(_0x453671(0x26a))]()),(this['_univerInstanceService']=_0x14e52c,this[_0x453671(0x47e)]=_0x152d20,this[_0x453671(0x4cf)]($['merge'](this[_0x453671(0x388)][_0x453671(0x51d)](a[_0x453671(0x216)][_0x453671(0x403)])['pipe'](V['map'](_0x3f2d00=>_0x3f2d00['getUnitId']())),this[_0x453671(0x388)][_0x453671(0x51d)](a[_0x453671(0x216)][_0x453671(0x3d5)])[_0x453671(0x2b2)](V[_0x453671(0x3f9)](_0x15251f=>_0x15251f[_0x453671(0x263)]())),this['_univerInstanceService'][_0x453671(0x51d)](a[_0x453671(0x216)][_0x453671(0x54a)])[_0x453671(0x2b2)](V['map'](_0x479491=>_0x479491['getUnitId']())))[_0x453671(0x382)](_0x85fede=>this[_0x453671(0x3d7)](_0x85fede))));}[_0x22ac88(0x46d)](_0x4b6609){var _0x3ca0fe=_0x22ac88;return this[_0x3ca0fe(0x27b)]['has'](_0x4b6609)?$['of'](this[_0x3ca0fe(0x27b)][_0x3ca0fe(0x26d)](_0x4b6609)):this['_roomCreated$'][_0x3ca0fe(0x2b2)](V[_0x3ca0fe(0x3f9)](_0x1a8741=>{var _0xd0b495=_0x3ca0fe;if(_0x1a8741===_0x4b6609)return this[_0xd0b495(0x27b)][_0xd0b495(0x26d)](_0x1a8741);}));}[_0x22ac88(0x431)](_0x5222ee){var _0x1cdccd=_0x22ac88;this[_0x1cdccd(0x47e)][_0x1cdccd(0x431)](_0x5222ee);}[_0x22ac88(0x340)](){var _0x2b03d0=_0x22ac88;return this['_userManagerService'][_0x2b03d0(0x340)]();}[_0x22ac88(0x4b2)](_0x1b1f79,_0x4d45fa){var _0x1b9fc2=_0x22ac88;let _0x3e2c45=this['_roomMembers']['get'](_0x1b1f79);_0x3e2c45||(_0x3e2c45=new ti(),this[_0x1b9fc2(0x27b)][_0x1b9fc2(0x506)](_0x1b1f79,_0x3e2c45),this[_0x1b9fc2(0x4b8)]['next'](_0x1b1f79)),_0x3e2c45[_0x1b9fc2(0x4b2)](_0x4d45fa);}['removeMember'](_0x10948e,_0x48390f){var _0x129f59=_0x22ac88;const _0x41fd15=this['_roomMembers'][_0x129f59(0x26d)](_0x10948e);_0x41fd15&&_0x41fd15[_0x129f59(0x2a8)](_0x48390f);}['getRoom'](_0x7286c4){var _0x5dd6e2=_0x22ac88;return this[_0x5dd6e2(0x27b)][_0x5dd6e2(0x26d)](_0x7286c4);}[_0x22ac88(0x488)](_0x53cb18,_0x2149a9){var _0x103bf0=_0x22ac88;const _0x543d27=this[_0x103bf0(0x27b)][_0x103bf0(0x26d)](_0x53cb18);if(_0x543d27)return _0x543d27[_0x103bf0(0x488)](_0x2149a9);}[_0x22ac88(0x3d7)](_0x3e810e){var _0x3f3f57=_0x22ac88;const _0x12c925=this[_0x3f3f57(0x27b)]['get'](_0x3e810e);_0x12c925&&(_0x12c925[_0x3f3f57(0x299)](),this[_0x3f3f57(0x27b)][_0x3f3f57(0x29c)](_0x3e810e));}[_0x22ac88(0x299)](){var _0x1b3679=_0x22ac88;this['_roomMembers'][_0x1b3679(0x38e)](_0x3cf23f=>_0x3cf23f[_0x1b3679(0x299)]()),this[_0x1b3679(0x27b)][_0x1b3679(0x311)](),this[_0x1b3679(0x4b8)][_0x1b3679(0x3fe)]();}},exports[_0x22ac88(0x457)]=ei([We(0x0,a[_0x22ac88(0x52c)]),We(0x1,a['Inject'](a[_0x22ac88(0x43e)]))],exports[_0x22ac88(0x457)]);class ti extends a[_0x22ac88(0x41c)]{constructor(){var _0x2652b2=_0x22ac88;super(...arguments),A(this,_0x2652b2(0x3b1),new Map()),A(this,_0x2652b2(0x531),new $[(_0x2652b2(0x53c))](this[_0x2652b2(0x3b1)])),A(this,_0x2652b2(0x3f7),this['_members$'][_0x2652b2(0x20a)]());}[_0x22ac88(0x299)](){var _0x2457fa=_0x22ac88;this[_0x2457fa(0x3b1)][_0x2457fa(0x311)]();}[_0x22ac88(0x4b2)](_0x3f114f){var _0x143dc6=_0x22ac88;this[_0x143dc6(0x3b1)]['set'](_0x3f114f['memberID'],_0x3f114f),this[_0x143dc6(0x338)]();}[_0x22ac88(0x2a8)](_0x1bf210){var _0x2945f4=_0x22ac88;this['_members'][_0x2945f4(0x29c)](_0x1bf210);}['getMember'](_0x3d0da5){var _0x5dad3d=_0x22ac88;return this[_0x5dad3d(0x3b1)][_0x5dad3d(0x26d)](_0x3d0da5);}['getAllMembers'](){var _0xa4fc3=_0x22ac88;return Array[_0xa4fc3(0x1f0)](this[_0xa4fc3(0x3b1)][_0xa4fc3(0x351)]());}['_emitMembers'](){var _0xfa2cb=_0x22ac88;this[_0xfa2cb(0x531)][_0xfa2cb(0x239)](this[_0xfa2cb(0x3b1)]);}}var ii=Object['getOwnPropertyDescriptor'],ni=(_0x3b0eea,_0x431b5d,_0x50af61,_0x1b1fe5)=>{var _0x580a71=_0x22ac88;for(var _0x3c686a=_0x1b1fe5>0x1?void 0x0:_0x1b1fe5?ii(_0x431b5d,_0x50af61):_0x431b5d,_0x1d8c21=_0x3b0eea[_0x580a71(0x295)]-0x1,_0x4dd9f0;_0x1d8c21>=0x0;_0x1d8c21--)(_0x4dd9f0=_0x3b0eea[_0x1d8c21])&&(_0x3c686a=_0x4dd9f0(_0x3c686a)||_0x3c686a);return _0x3c686a;},se=(_0x1d8635,_0x2cbedc)=>(_0x50471b,_0x5d11bc)=>_0x2cbedc(_0x50471b,_0x5d11bc,_0x1d8635),re=(_0x11be71=>(_0x11be71[_0x11be71[_0x22ac88(0x36d)]=0x0]=_0x22ac88(0x36d),_0x11be71[_0x11be71['JOINING']=0x1]=_0x22ac88(0x486),_0x11be71[_0x11be71[_0x22ac88(0x1e0)]=0x2]='OFFLINE',_0x11be71[_0x11be71[_0x22ac88(0x4f3)]=0x3]='ONLINE',_0x11be71))(re||{});const Ge={[oe[_0x22ac88(0x25c)]]:_0x22ac88(0x52d),[oe[_0x22ac88(0x3fd)]]:_0x22ac88(0x334),[oe[_0x22ac88(0x341)]]:'session.room-not-exists',[oe[_0x22ac88(0x313)]]:_0x22ac88(0x380),[oe[_0x22ac88(0x3bb)]]:_0x22ac88(0x202)};exports[_0x22ac88(0x49c)]=class extends a[_0x22ac88(0x434)]{constructor(_0x21baa8,_0x33d233,_0x21d0ea,_0x58e98e,_0x1ab082,_0x32789d,_0x532a45,_0x12505f,_0x5e0f92){var _0x2c56bd=_0x22ac88;super(),A(this,_0x2c56bd(0x421),new $['BehaviorSubject'](0x0)),A(this,'sessionStatus$',this['_sessionStatus$'][_0x2c56bd(0x20a)]()),A(this,'_event$',new $[(_0x2c56bd(0x26a))]()),A(this,'event$',this[_0x2c56bd(0x20f)]['asObservable']()),A(this,_0x2c56bd(0x468)),A(this,_0x2c56bd(0x4fa)),A(this,'_collaborationTimeoutTimer'),A(this,_0x2c56bd(0x534),!0x1),A(this,_0x2c56bd(0x2da),null),(this[_0x2c56bd(0x41b)]=_0x21baa8,this[_0x2c56bd(0x297)]=_0x21d0ea,this[_0x2c56bd(0x3b3)]=_0x58e98e,this[_0x2c56bd(0x224)]=_0x1ab082,this[_0x2c56bd(0x437)]=_0x32789d,this['_commentService']=_0x532a45,this[_0x2c56bd(0x309)]=_0x12505f,this['_telemetryService']=_0x5e0f92,this[_0x2c56bd(0x534)]=!!this[_0x2c56bd(0x3e4)],_0x33d233[_0x2c56bd(0x2b2)]($['takeUntil'](this[_0x2c56bd(0x2dc)]))[_0x2c56bd(0x382)](_0x2c261e=>{var _0x55146d=_0x2c56bd,_0x1c2d06;typeof _0x2c261e>'u'||(this[_0x55146d(0x468)]=_0x2c261e,_0x2c261e?(this[_0x55146d(0x491)](_0x2c261e),this['_socketMessageSubscription']=_0x2c261e[_0x55146d(0x214)][_0x55146d(0x382)](_0x5c4ccf=>{var _0x2cbce7=_0x55146d;_0x5c4ccf[_0x2cbce7(0x41a)]===this[_0x2cbce7(0x41b)]&&this['_onCombEvent'](_0x5c4ccf);})):(this[_0x55146d(0x303)](),this[_0x55146d(0x421)][_0x55146d(0x239)](0x2),(_0x1c2d06=this[_0x55146d(0x4fa)])==null||_0x1c2d06[_0x55146d(0x3be)](),this[_0x55146d(0x4fa)]=null));}));}get['sessionStatus'](){var _0x52670e=_0x22ac88;return this[_0x52670e(0x421)]['getValue']();}[_0x22ac88(0x24a)](){var _0x24f58d=_0x22ac88,_0x13e092,_0xdb7f28;return(_0xdb7f28=(_0x13e092=this['_socket'])==null?void 0x0:_0x13e092[_0x24f58d(0x3f1)])!=null?_0xdb7f28:null;}[_0x22ac88(0x299)](){var _0x4c1d1a=_0x22ac88;super[_0x4c1d1a(0x299)](),this[_0x4c1d1a(0x2dc)][_0x4c1d1a(0x239)](),this[_0x4c1d1a(0x2dc)][_0x4c1d1a(0x3fe)]();}['close'](){var _0x28f736=_0x22ac88,_0x10bf36,_0x49ca89;this[_0x28f736(0x303)](),(_0x10bf36=this[_0x28f736(0x468)])==null||_0x10bf36[_0x28f736(0x482)]({'cmd':W[_0x28f736(0x529)],'data':{'roomID':this[_0x28f736(0x41b)]}}),(_0x49ca89=this[_0x28f736(0x468)])==null||_0x49ca89[_0x28f736(0x2a9)](),this['_event$'][_0x28f736(0x3fe)](),this[_0x28f736(0x421)]['complete'](),this['dispose']();}['_onCombEvent'](_0x12426f){var _0x56af23=_0x22ac88;_0x12426f[_0x56af23(0x399)]===W[_0x56af23(0x39b)]?this['_onJoinRoomEvent'](_0x12426f):_0x12426f[_0x56af23(0x399)]===W[_0x56af23(0x1f2)]&&this[_0x56af23(0x376)](_0x12426f);}[_0x22ac88(0x491)](_0x2425a8){var _0x33d0f7=_0x22ac88;this[_0x33d0f7(0x421)]['next'](0x1),_0x2425a8[_0x33d0f7(0x482)]({'cmd':W[_0x33d0f7(0x39b)],'routeKey':this[_0x33d0f7(0x41b)],'routeType':'','data':{'rooms':[{'roomID':this[_0x33d0f7(0x41b)]}]}});}[_0x22ac88(0x44e)](_0x14692c){var _0x2413ff=_0x22ac88,_0x1b909e;if(_0x14692c['code']in Ge){this[_0x2413ff(0x309)][_0x2413ff(0x208)]({'id':Z[_0x2413ff(0x498)],'data':Ge[_0x14692c[_0x2413ff(0x48d)]]}),this['_sessionStatus$'][_0x2413ff(0x239)](0x2);return;}this[_0x2413ff(0x421)][_0x2413ff(0x239)](0x3);const _0x56bd94=(_0x1b909e=_0x14692c['data'][_0x2413ff(0x2c8)][this[_0x2413ff(0x41b)]])==null?void 0x0:_0x1b909e[_0x2413ff(0x391)];_0x56bd94&&_0x56bd94[_0x2413ff(0x38e)](_0x154680=>this[_0x2413ff(0x437)][_0x2413ff(0x4b2)](this[_0x2413ff(0x41b)],_0x154680));}['_onRecvEvent'](_0x317521){var _0x5810fd=_0x22ac88;try{const _0xcbdec1=_0x317521[_0x5810fd(0x381)];switch(_0xcbdec1[_0x5810fd(0x35f)]){case I[_0x5810fd(0x36b)][_0x5810fd(0x49d)]:this[_0x5810fd(0x464)](_0xcbdec1),this[_0x5810fd(0x20f)][_0x5810fd(0x239)](_0xcbdec1);break;case I[_0x5810fd(0x36b)][_0x5810fd(0x2f5)]:this[_0x5810fd(0x4ca)](_0xcbdec1),this['_event$'][_0x5810fd(0x239)](_0xcbdec1);break;case I[_0x5810fd(0x36b)][_0x5810fd(0x396)]:case I[_0x5810fd(0x36b)]['CHANGESET_SHOULD_RETRY']:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x5810fd(0x2e6)](),this[_0x5810fd(0x20f)]['next'](_0xcbdec1);break;case I[_0x5810fd(0x36b)][_0x5810fd(0x547)]:this['_logService']['error']('save\x20fail\x20reason\x20is\x20'+JSON['stringify'](_0xcbdec1)),this['_event$'][_0x5810fd(0x239)](_0xcbdec1);break;case I[_0x5810fd(0x36b)][_0x5810fd(0x38c)]:this[_0x5810fd(0x274)][_0x5810fd(0x287)](_0xcbdec1[_0x5810fd(0x381)]),this[_0x5810fd(0x20f)][_0x5810fd(0x239)](_0xcbdec1);break;default:this[_0x5810fd(0x20f)]['next'](_0xcbdec1);}}catch(_0x135f0f){this[_0x5810fd(0x297)][_0x5810fd(0x424)](_0x135f0f,_0x317521);}}[_0x22ac88(0x464)](_0x37ba95){var _0x16c70f=_0x22ac88;this[_0x16c70f(0x437)]['updateMember'](this[_0x16c70f(0x41b)],_0x37ba95[_0x16c70f(0x381)]);}['_onUserLeave'](_0x5c766f){var _0x1bfd01=_0x22ac88;this[_0x1bfd01(0x437)][_0x1bfd01(0x2a8)](this[_0x1bfd01(0x41b)],_0x5c766f[_0x1bfd01(0x381)][_0x1bfd01(0x3f1)]);}async['send'](_0x4dbf19,_0xc498a8){var _0x1cfbd4=_0x22ac88;if(this[_0x1cfbd4(0x507)]!==0x3||!this[_0x1cfbd4(0x468)])throw new Error(_0x1cfbd4(0x374));try{_0x4dbf19['eventID']===I['CollaborationEvent'][_0x1cfbd4(0x42d)]&&(this[_0x1cfbd4(0x436)](),this['_startTelemetryCollaborationNewChangeset'](_0x4dbf19)),this[_0x1cfbd4(0x468)]['send']({'cmd':W['INGEST'],'routeKey':_0xc498a8,'routeType':'','data':_0x4dbf19});}catch(_0x219fad){this[_0x1cfbd4(0x297)]['error'](_0x219fad);}}[_0x22ac88(0x436)](){var _0x5d36ba=_0x22ac88,_0x4a4b75;this[_0x5d36ba(0x1fa)]=setTimeout(()=>{var _0x307397=_0x5d36ba;this['_collaborationTimeoutTimer']=null,this[_0x307397(0x309)][_0x307397(0x208)]({'id':Z[_0x307397(0x47f)]});},(_0x4a4b75=this[_0x5d36ba(0x3b3)]['getConfig'](ke))!=null?_0x4a4b75:St);}[_0x22ac88(0x2e6)](){var _0x5890d7=_0x22ac88;this[_0x5890d7(0x1fa)]&&(clearTimeout(this[_0x5890d7(0x1fa)]),this['_collaborationTimeoutTimer']=null);}[_0x22ac88(0x1e6)](_0x1268cd){var _0x496ef9=_0x22ac88;if(!this[_0x496ef9(0x534)])return;const {data:_0x5a3699}=_0x1268cd,{unitID:_0x40f3d1,changeset:_0x35b8c5}=_0x5a3699,{mutations:_0x3e367b,type:_0x3f07dd}=_0x35b8c5;this['_telemetryInfo']={'unitId':_0x40f3d1,'type':_0x3f07dd,'startTime':performance[_0x496ef9(0x537)](),'stopTime':0x0,'duration':0x0,'size':Zt(_0x3e367b)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x4530bb=_0x22ac88;if(this['_shouldReportTelemetry']){if(!this[_0x4530bb(0x2da)]){this[_0x4530bb(0x297)][_0x4530bb(0x424)](_0x4530bb(0x35d),_0x4530bb(0x267));return;}this[_0x4530bb(0x2da)][_0x4530bb(0x1d6)]=performance[_0x4530bb(0x537)](),this[_0x4530bb(0x2da)][_0x4530bb(0x34c)]=this[_0x4530bb(0x2da)][_0x4530bb(0x1d6)]-this['_telemetryInfo']['startTime'],this[_0x4530bb(0x3e4)][_0x4530bb(0x24f)](Xt,this[_0x4530bb(0x2da)]),this[_0x4530bb(0x2da)]=null;}}[_0x22ac88(0x303)](){var _0x184b00=_0x22ac88;this[_0x184b00(0x2da)]=null;}},exports['CollaborationSession']=ni([se(0x2,a[_0x22ac88(0x3a5)]),se(0x3,a[_0x22ac88(0x389)]),se(0x4,a[_0x22ac88(0x371)](a[_0x22ac88(0x474)])),se(0x5,a[_0x22ac88(0x371)](exports[_0x22ac88(0x457)])),se(0x6,a[_0x22ac88(0x371)]($e)),se(0x7,a['Inject'](ee)),se(0x8,a['Optional'](Pt[_0x22ac88(0x28b)]))],exports[_0x22ac88(0x49c)]);var ri=Object[_0x22ac88(0x22c)],si=(_0x47f00f,_0x524d51,_0xbff8a0,_0x4237bb)=>{var _0x5f235e=_0x22ac88;for(var _0x1b4b3d=_0x4237bb>0x1?void 0x0:_0x4237bb?ri(_0x524d51,_0xbff8a0):_0x524d51,_0x45ccd8=_0x47f00f[_0x5f235e(0x295)]-0x1,_0x3e1c25;_0x45ccd8>=0x0;_0x45ccd8--)(_0x3e1c25=_0x47f00f[_0x45ccd8])&&(_0x1b4b3d=_0x3e1c25(_0x1b4b3d)||_0x1b4b3d);return _0x1b4b3d;},he=(_0x1f9403,_0x5b7069)=>(_0xb14c48,_0x2ba51b)=>_0x5b7069(_0xb14c48,_0x2ba51b,_0x1f9403);exports[_0x22ac88(0x4df)]=class extends a[_0x22ac88(0x41c)]{constructor(_0x2a1134,_0x3ceb4d,_0x4ce1e6,_0x5a7961,_0x44f770,_0x535d21){var _0x2895c4=_0x22ac88;super(),A(this,_0x2895c4(0x2df),new $[(_0x2895c4(0x53c))](void 0x0)),A(this,_0x2895c4(0x29a),this[_0x2895c4(0x2df)]['asObservable']()),A(this,_0x2895c4(0x4d0),null),A(this,_0x2895c4(0x42e),new Map()),A(this,_0x2895c4(0x1dd),new $[(_0x2895c4(0x53c))](re[_0x2895c4(0x36d)])),A(this,'status$',this[_0x2895c4(0x1dd)][_0x2895c4(0x20a)]()),A(this,_0x2895c4(0x1e8),!0x1),A(this,_0x2895c4(0x21c)),A(this,_0x2895c4(0x1e2),0x0),A(this,_0x2895c4(0x259)),A(this,_0x2895c4(0x286)),(this[_0x2895c4(0x459)]=_0x2a1134,this['_logService']=_0x3ceb4d,this[_0x2895c4(0x3b3)]=_0x4ce1e6,this[_0x2895c4(0x2a4)]=_0x5a7961,this[_0x2895c4(0x309)]=_0x44f770,this[_0x2895c4(0x4ec)]=_0x535d21,this['_listenToNetworkCondition']());}get[_0x22ac88(0x468)](){var _0x4fb863=_0x22ac88;return this['_socket$'][_0x4fb863(0x481)]();}[_0x22ac88(0x22e)](){var _0x513091=_0x22ac88;this[_0x513091(0x4ec)]&&this[_0x513091(0x4cf)](this['_networkConditionService']['online$'][_0x513091(0x382)](_0x1a2b32=>{var _0x11e989=_0x513091;_0x1a2b32&&!this[_0x11e989(0x468)]&&this[_0x11e989(0x1fb)](),_0x1a2b32||this[_0x11e989(0x51f)]();}));}[_0x22ac88(0x299)](){var _0x221389=_0x22ac88;super[_0x221389(0x299)](),this[_0x221389(0x35e)](),this[_0x221389(0x34e)](),this[_0x221389(0x428)](),this['_sessions'][_0x221389(0x38e)](_0x144cbd=>_0x144cbd['dispose']()),this[_0x221389(0x42e)][_0x221389(0x311)](),this[_0x221389(0x1dd)][_0x221389(0x3fe)]();}async[_0x22ac88(0x2cd)](_0x38c083){var _0x2c6372=_0x22ac88;if(this[_0x2c6372(0x42e)][_0x2c6372(0x346)](_0x38c083))return this['_sessions'][_0x2c6372(0x26d)](_0x38c083);this['_tryEnsureSocket']();const _0x4614d3=this[_0x2c6372(0x459)][_0x2c6372(0x515)](exports['CollaborationSession'],_0x38c083,this[_0x2c6372(0x2df)][_0x2c6372(0x20a)]());return this[_0x2c6372(0x42e)][_0x2c6372(0x506)](_0x38c083,_0x4614d3),_0x4614d3;}[_0x22ac88(0x523)](_0xe12550){var _0x4a8385=_0x22ac88,_0x2c0cb8;const _0x4e8a3a=this[_0x4a8385(0x42e)][_0x4a8385(0x26d)](_0xe12550);_0x4e8a3a&&(this[_0x4a8385(0x42e)][_0x4a8385(0x29c)](_0xe12550),_0x4e8a3a['close']()),this[_0x4a8385(0x42e)][_0x4a8385(0x242)]||(_0x2c0cb8=this[_0x4a8385(0x468)])==null||_0x2c0cb8['close']();}['reconnect'](){var _0x547928=_0x22ac88;this[_0x547928(0x1e2)]=0x0,this[_0x547928(0x35e)](),this[_0x547928(0x46a)]();}[_0x22ac88(0x35e)](){var _0x4d0712=_0x22ac88;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x4d0712(0x21c)]),this[_0x4d0712(0x21c)]=null);}async['_createSocket'](){var _0x575a7f=_0x22ac88,_0x54cb7f,_0x75b5c7;const _0x17fc51=this[_0x575a7f(0x3b3)][_0x575a7f(0x324)](ut),_0x4a38a6=this[_0x575a7f(0x3b3)]['getConfig'](K),_0x924a97=(_0x75b5c7=(_0x54cb7f=_0x4a38a6==null?void 0x0:_0x4a38a6[_0x575a7f(0x3c8)])!=null?_0x54cb7f:_0x17fc51)!=null?_0x75b5c7:dt,_0x479ee8=await this[_0x575a7f(0x2a4)]['createSocket'](_0x924a97);return this[_0x575a7f(0x4d0)]=_0x479ee8,_0x479ee8;}async[_0x22ac88(0x2de)](){var _0x3b6a39=_0x22ac88,_0x1e2506,_0x5a04bd;try{const _0x28dbce=(_0x5a04bd=(_0x1e2506=this[_0x3b6a39(0x468)])!=null?_0x1e2506:this['_candidateSocket'])!=null?_0x5a04bd:await this[_0x3b6a39(0x461)]();if(_0x28dbce){const _0xf657f5=_0x28dbce[_0x3b6a39(0x482)];_0x28dbce[_0x3b6a39(0x482)]=_0xb876a1=>(this[_0x3b6a39(0x4b3)](),_0xf657f5[_0x3b6a39(0x2d6)](_0x28dbce,[_0xb876a1])),_0x28dbce[_0x3b6a39(0x214)][_0x3b6a39(0x382)](_0x3b84a7=>this[_0x3b6a39(0x33e)](_0x28dbce,_0x3b84a7)),_0x28dbce['error$']['pipe'](V[_0x3b6a39(0x2a5)](0x1))[_0x3b6a39(0x382)](_0x36860=>this['_logService']['error']('[CollaborationSessionService]:\x20socket\x20error',_0x36860)),_0x28dbce[_0x3b6a39(0x25b)][_0x3b6a39(0x2b2)](V[_0x3b6a39(0x2a5)](0x1))['subscribe'](()=>{this['_onConnectionOpen'](_0x28dbce);}),_0x28dbce[_0x3b6a39(0x31b)][_0x3b6a39(0x2b2)](V[_0x3b6a39(0x2a5)](0x1))[_0x3b6a39(0x382)](_0x4c3fd5=>{var _0x599025=_0x3b6a39;this[_0x599025(0x297)][_0x599025(0x283)](_0x599025(0x279),_0x599025(0x3d3),_0x4c3fd5),this['_onConnectionFailed']();});}}catch(_0x20d43b){this[_0x3b6a39(0x297)][_0x3b6a39(0x424)](_0x20d43b),this[_0x3b6a39(0x2ec)]();}}[_0x22ac88(0x354)](_0xc1201f){var _0x3c3d5a=_0x22ac88;this['_logService'][_0x3c3d5a(0x283)](_0x3c3d5a(0x279),_0x3c3d5a(0x3b9)),_0xc1201f[_0x3c3d5a(0x482)]({'cmd':W[_0x3c3d5a(0x470)]}),this[_0x3c3d5a(0x4b3)]();}[_0x22ac88(0x51f)](){var _0x3eb4e6=_0x22ac88;this[_0x3eb4e6(0x1e8)]=!0x1,this[_0x3eb4e6(0x4d0)]=null,this[_0x3eb4e6(0x1dd)]['next'](re[_0x3eb4e6(0x1e0)]),this['_socket$'][_0x3eb4e6(0x239)](null),this[_0x3eb4e6(0x34e)](),this[_0x3eb4e6(0x428)]();}[_0x22ac88(0x2ec)](){var _0xb7646b=_0x22ac88,_0x5e6581;this[_0xb7646b(0x51f)](),this[_0xb7646b(0x1e2)]<((_0x5e6581=this['_configService'][_0xb7646b(0x324)](ft))!=null?_0x5e6581:jt)?(this[_0xb7646b(0x309)][_0xb7646b(0x208)]({'id':Z['SOCKET_FAILED_RETRY']}),this[_0xb7646b(0x46a)]()):this[_0xb7646b(0x309)][_0xb7646b(0x208)]({'id':Z[_0xb7646b(0x240)]});}[_0x22ac88(0x46a)](){var _0x496b67=_0x22ac88,_0x5002b3;const _0x24f966=this[_0x496b67(0x1e2)],_0x4ff891=this[_0x496b67(0x3b3)][_0x496b67(0x324)](K),_0x2ed73c=_0x24f966===0x0?0x0:((_0x5002b3=_0x4ff891==null?void 0x0:_0x4ff891[_0x496b67(0x415)])!=null?_0x5002b3:$t)*0x2**_0x24f966;this['_retryConnectingTimer']=setTimeout(()=>{var _0x4d7b48=_0x496b67;clearTimeout(this[_0x4d7b48(0x21c)]),this[_0x4d7b48(0x21c)]=null,this['_tryEnsureSocket']();},_0x2ed73c),this[_0x496b67(0x1e2)]+=0x1;}[_0x22ac88(0x33e)](_0x4c9d56,_0x4b2104){var _0x4b7033=_0x22ac88;const {cmd:_0x5165ea}=_0x4b2104;_0x5165ea===W[_0x4b7033(0x470)]&&!this['_socketReady']&&(_0x4c9d56[_0x4b7033(0x3f1)]=_0x4b2104[_0x4b7033(0x381)][_0x4b7033(0x3f1)],this[_0x4b7033(0x2df)][_0x4b7033(0x239)](_0x4c9d56),this[_0x4b7033(0x1dd)][_0x4b7033(0x239)](re[_0x4b7033(0x4f3)]),this[_0x4b7033(0x1e8)]=!0x0,this['_candidateSocket']=null),_0x5165ea===W['HEARTBEAT']&&this[_0x4b7033(0x34e)](),this[_0x4b7033(0x4b3)]();}[_0x22ac88(0x4b3)](){var _0x22ebf3=_0x22ac88,_0x1f80f8;this[_0x22ebf3(0x428)](),this[_0x22ebf3(0x259)]=setTimeout(()=>this['_sendHeartbeat'](),(_0x1f80f8=this['_configService'][_0x22ebf3(0x324)](vt))!=null?_0x1f80f8:Ht);}[_0x22ac88(0x226)](){var _0x32e44b=_0x22ac88;this[_0x32e44b(0x468)][_0x32e44b(0x482)]({'cmd':W[_0x32e44b(0x4d2)]}),this[_0x32e44b(0x2fe)]();}['_waitForHeartbeatResponse'](){var _0x1fbe16=_0x22ac88,_0x4ea171;this['_timeoutTimer']=setTimeout(()=>this[_0x1fbe16(0x2ec)](),(_0x4ea171=this[_0x1fbe16(0x3b3)][_0x1fbe16(0x324)](ke))!=null?_0x4ea171:St);}[_0x22ac88(0x428)](){var _0x4fbad3=_0x22ac88;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x4fbad3(0x259)]),this[_0x4fbad3(0x259)]=null);}[_0x22ac88(0x34e)](){var _0x48f4a7=_0x22ac88;this[_0x48f4a7(0x286)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x48f4a7(0x286)]=null);}},exports[_0x22ac88(0x4df)]=si([he(0x0,a['Inject'](a['Injector'])),he(0x1,a[_0x22ac88(0x3a5)]),he(0x2,a['IConfigService']),he(0x3,He),he(0x4,a[_0x22ac88(0x371)](ee)),he(0x5,a['Optional'](mt))],exports[_0x22ac88(0x4df)]);const q=a['createIdentifier'](_0x22ac88(0x330));function oi(_0x4a027a){var _0x31e47c=_0x22ac88;return _0x31e47c(0x3ee)+_0x4a027a;}var ai=Object[_0x22ac88(0x22c)],ci=(_0x5075da,_0xd6ff26,_0xeac489,_0x5bb260)=>{for(var _0x46c5f7=_0x5bb260>0x1?void 0x0:_0x5bb260?ai(_0xd6ff26,_0xeac489):_0xd6ff26,_0x3ddc82=_0x5075da['length']-0x1,_0x294503;_0x3ddc82>=0x0;_0x3ddc82--)(_0x294503=_0x5075da[_0x3ddc82])&&(_0x46c5f7=_0x294503(_0x46c5f7)||_0x46c5f7);return _0x46c5f7;},De=(_0x34d61a,_0x1e3d88)=>(_0x472dec,_0x1de4e7)=>_0x1e3d88(_0x472dec,_0x1de4e7,_0x34d61a);function hi(_0x2f2ed5){var _0x4fb2ec=_0x22ac88;const {unitID:_0x5ea364,mutations:_0x2afd3e}=_0x2f2ed5;return{'unitId':_0x5ea364,'subUnitId':_0x2afd3e[0x0][_0x4fb2ec(0x4c3)][_0x4fb2ec(0x4de)]};}exports['SheetTransformSelectionsService']=class{constructor(_0xfeb6e5,_0x5d583e,_0x3d58b4){var _0x35c806=_0x22ac88;this[_0x35c806(0x459)]=_0xfeb6e5,this['_transformService']=_0x5d583e,this[_0x35c806(0x2f6)]=_0x3d58b4;}['transformSelections'](_0x108992){var _0x2e72d8=_0x22ac88,_0x266110,_0x9de317,_0x1b4dd5,_0x3b6ff2;const _0x321d56=this[_0x2e72d8(0x459)][_0x2e72d8(0x26d)](X[_0x2e72d8(0x209)]),{unitId:_0xbb5612,subUnitId:_0x1149eb}=hi(_0x108992),_0x4eca7f=_0x321d56==null?void 0x0:_0x321d56['getWorkbookSelections'](_0xbb5612)[_0x2e72d8(0x329)](),_0x45938f=(_0x9de317=(_0x266110=this[_0x2e72d8(0x2f6)]['getUnit'](_0xbb5612))==null?void 0x0:_0x266110[_0x2e72d8(0x1f1)]())==null?void 0x0:_0x9de317['getSheetId']();if(_0x4eca7f['length']===0x0||!_0xbb5612||!_0x1149eb)return;const _0x2c9d71=[{'id':X['SetSelectionsOperation']['id'],'params':{'unitId':_0xbb5612,'subUnitId':_0x45938f,'selections':a['Tools'][_0x2e72d8(0x23e)](_0x4eca7f)}}],_0x241e9f=this[_0x2e72d8(0x544)]['transformMutationsWithChangeset'](_0x108992,_0x2c9d71);if(!I['isTransformMutationsWithChangesetSuccess'](_0x241e9f))throw _0x241e9f[_0x2e72d8(0x424)];const _0x161419=(_0x3b6ff2=(_0x1b4dd5=_0x241e9f['m2Prime'][0x0])==null?void 0x0:_0x1b4dd5[_0x2e72d8(0x4c3)])==null?void 0x0:_0x3b6ff2[_0x2e72d8(0x318)];if(Array[_0x2e72d8(0x406)](_0x161419)&&_0x161419[_0x2e72d8(0x295)]){if(_0x161419[_0x2e72d8(0x295)]===_0x2c9d71[0x0]['params'][_0x2e72d8(0x318)][_0x2e72d8(0x295)]&&_0x161419[_0x2e72d8(0x2a1)]((_0x1439bb,_0x34f271)=>a[_0x2e72d8(0x397)]['equals'](_0x1439bb[_0x2e72d8(0x255)],_0x2c9d71[0x0][_0x2e72d8(0x4c3)][_0x2e72d8(0x318)][_0x34f271][_0x2e72d8(0x255)])))return;this['_injector'][_0x2e72d8(0x26d)](a[_0x2e72d8(0x4f2)])[_0x2e72d8(0x463)](X[_0x2e72d8(0x3ac)]['id'],{'unitId':_0xbb5612,'subUnitId':_0x45938f,'selections':_0x161419});}}},exports[_0x22ac88(0x394)]=ci([De(0x0,a[_0x22ac88(0x371)](a[_0x22ac88(0x3c3)])),De(0x1,I['ITransformService']),De(0x2,a[_0x22ac88(0x52c)])],exports[_0x22ac88(0x394)]);const de=a[_0x22ac88(0x4ce)]('univer-pro.collaboration-client.single-active-unit-service');var je=(_0x5aaf61=>(_0x5aaf61[_0x5aaf61['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x22ac88(0x2d2),_0x5aaf61[_0x5aaf61['OTHER_CLIENTS_EDITING']=0x1]=_0x22ac88(0x261),_0x5aaf61))(je||{});const _i=new Set([X[_0x22ac88(0x3ca)]['id']]);function Ke(_0x12642d,_0xab1a87,_0x290d55,_0x510f6e,_0x432781){var _0x594568=_0x22ac88,_0x59c895,_0x3ff2d3,_0x11b894,_0x41de67;const _0x385a8a=[];for(const _0x4e8b22 of _0x12642d)if(_i[_0x594568(0x346)](_0x4e8b22['id'])){if(_0x385a8a[_0x594568(0x295)]>0x0)break;_0x385a8a[_0x594568(0x4a2)](_0x4e8b22);break;}else _0x385a8a[_0x594568(0x4a2)](_0x4e8b22);const _0x28ecb2=(_0x3ff2d3=(_0x59c895=_0x432781[_0x594568(0x340)]())==null?void 0x0:_0x59c895[_0x594568(0x31d)])!=null?_0x3ff2d3:_0x594568(0x4fd),_0x28b77e=(_0x41de67=(_0x11b894=_0x432781['getCurrentUser']())==null?void 0x0:_0x11b894[_0x594568(0x3f1)])!=null?_0x41de67:_0x594568(0x4fd);return{'changeset':{'unitID':_0xab1a87,'type':I['mapDocumentTypeToUniverType'](_0x290d55['getUnitType'](_0xab1a87)),'baseRev':_0x510f6e['getCurrentRevOfUnit'](_0xab1a87),'revision':0x0,'userID':_0x28ecb2,'memberID':_0x28b77e,'mutations':_0x385a8a},'pendingMutations':_0x12642d[_0x594568(0x45e)](_0x385a8a[_0x594568(0x295)])};}function li(_0x3dfd70,_0xd6d5,_0x4bb524,_0xcffec2,_0x24ca86){var _0x80709a=_0x22ac88,_0xc2a859,_0x598e52,_0x658294,_0x5621ad;const _0x43f25a=[_0x3dfd70[_0x80709a(0x536)]((_0x2f5d40,_0x398874)=>{var _0x26f891=_0x80709a,_0x1ca239;const {id:_0x58a0b2}=_0x2f5d40,{id:_0x3bffd6,type:_0xcbe030}=_0x398874,_0x25602c=(_0x1ca239=_0x2f5d40[_0x26f891(0x4c3)])!=null?_0x1ca239:{'actions':null},_0x460569=_0x398874[_0x26f891(0x4c3)];if(_0x58a0b2&&_0x58a0b2!==_0x3bffd6)throw new Error(_0x26f891(0x225)+_0x58a0b2+'\x20-\x20'+_0x3bffd6+'.');return{..._0x2f5d40,'id':_0x3bffd6,'type':_0xcbe030,'params':{'unitId':_0x460569[_0x26f891(0x542)],'textRanges':_0x460569[_0x26f891(0x3f6)],'actions':a[_0x26f891(0x217)][_0x26f891(0x400)](_0x25602c[_0x26f891(0x494)],_0x460569[_0x26f891(0x494)])}};},{})],_0x21fc70=(_0x598e52=(_0xc2a859=_0x24ca86[_0x80709a(0x340)]())==null?void 0x0:_0xc2a859[_0x80709a(0x31d)])!=null?_0x598e52:'unknown',_0x533136=(_0x5621ad=(_0x658294=_0x24ca86['getCurrentUser']())==null?void 0x0:_0x658294[_0x80709a(0x3f1)])!=null?_0x5621ad:_0x80709a(0x4fd);return{'changeset':{'unitID':_0xd6d5,'type':I['mapDocumentTypeToUniverType'](_0x4bb524['getUnitType'](_0xd6d5)),'baseRev':_0xcffec2['getCurrentRevOfUnit'](_0xd6d5),'revision':0x0,'userID':_0x21fc70,'memberID':_0x533136,'mutations':_0x43f25a},'pendingMutations':[]};}function bt(_0x4721c6,_0x2f5229){var _0x8f6280=_0x22ac88;const _0x3ba592=new $['ReplaySubject'](0x1);return setTimeout(()=>_0x3ba592[_0x8f6280(0x239)](_0x2f5229),_0x4721c6),_0x3ba592[_0x8f6280(0x20a)]()[_0x8f6280(0x2b2)]($['take'](0x1));}const ui={'id':X[_0x22ac88(0x2bc)]['id'],'type':a[_0x22ac88(0x2dd)][_0x22ac88(0x33b)],'params':{}};var di=Object[_0x22ac88(0x22c)],ae=(_0x518fe5,_0x3c20c0,_0x2a550b,_0x30f5b4)=>{var _0x1e91a1=_0x22ac88;for(var _0x57d00d=_0x30f5b4>0x1?void 0x0:_0x30f5b4?di(_0x3c20c0,_0x2a550b):_0x3c20c0,_0x182e77=_0x518fe5[_0x1e91a1(0x295)]-0x1,_0x6b9279;_0x182e77>=0x0;_0x182e77--)(_0x6b9279=_0x518fe5[_0x182e77])&&(_0x57d00d=_0x6b9279(_0x57d00d)||_0x57d00d);return _0x57d00d;},w=(_0x2de1b1,_0x1894f2)=>(_0x581971,_0x301651)=>_0x1894f2(_0x581971,_0x301651,_0x2de1b1),Be=(_0x1da2a3=>(_0x1da2a3['NOT_COLLAB']=_0x22ac88(0x4b0),_0x1da2a3['SYNCED']=_0x22ac88(0x39f),_0x1da2a3[_0x22ac88(0x527)]=_0x22ac88(0x23f),_0x1da2a3[_0x22ac88(0x377)]=_0x22ac88(0x3dc),_0x1da2a3['AWAITING_WITH_PENDING']=_0x22ac88(0x251),_0x1da2a3[_0x22ac88(0x312)]='fetch_missing',_0x1da2a3[_0x22ac88(0x1e9)]=_0x22ac88(0x1ea),_0x1da2a3[_0x22ac88(0x1e0)]=_0x22ac88(0x3fa),_0x1da2a3))(Be||{});const Rt=0xea60;class ce{constructor(_0x151d20,_0x326f82,_0x588b96,_0x410e05,_0x403a3b,_0x185ffc,_0x514757,_0x35ad5,_0x4ff888){var _0x69f51c=_0x22ac88;A(this,_0x69f51c(0x477),null),A(this,'_pendingMutations',[]),(this[_0x69f51c(0x281)]=_0x151d20,this[_0x69f51c(0x48e)]=_0x326f82,this['_handler']=_0x403a3b,this[_0x69f51c(0x524)]=_0x185ffc,this[_0x69f51c(0x218)]=_0x514757,this[_0x69f51c(0x32d)]=_0x35ad5,this[_0x69f51c(0x545)]=_0x4ff888,this['_awaitingChangeset']=_0x588b96,this['_pendingMutations']=_0x410e05);}[_0x22ac88(0x22b)](_0x56456a){var _0x12fca1=_0x22ac88;const _0x508ff0=this[_0x12fca1(0x32d)][_0x12fca1(0x285)](this[_0x12fca1(0x281)]);return _0x56456a[_0x12fca1(0x500)]>_0x508ff0+0x1?(this[_0x12fca1(0x23b)][_0x12fca1(0x493)]({'from':_0x508ff0,'to':_0x56456a['revision']-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x22db04){var _0x182f92=_0x22ac88;this[_0x182f92(0x218)][_0x182f92(0x54c)](this[_0x182f92(0x281)],_0x22db04);}[_0x22ac88(0x2f9)](_0x5a5810){var _0x27dee8=_0x22ac88,_0x325ea6,_0x2b17a9;(_0x2b17a9=(_0x325ea6=this[_0x27dee8(0x23b)])[_0x27dee8(0x37c)])==null||_0x2b17a9['call'](_0x325ea6,_0x5a5810);}[_0x22ac88(0x307)](_0x39aab2){var _0x2dcc97=_0x22ac88,_0x2aed0f,_0x20a771;return(_0x20a771=(_0x2aed0f=this[_0x2dcc97(0x23b)])[_0x2dcc97(0x22d)])==null?void 0x0:_0x20a771[_0x2dcc97(0x27d)](_0x2aed0f,_0x39aab2);}[_0x22ac88(0x40a)](_0x573bf4){var _0x50cd7f=_0x22ac88,_0x59ebf9,_0x12e2d6;return(_0x12e2d6=(_0x59ebf9=this['_handler'])[_0x50cd7f(0x320)])==null?void 0x0:_0x12e2d6[_0x50cd7f(0x27d)](_0x59ebf9,_0x573bf4);}['_transformRemoteChangesetByIMECache'](_0x5b0bfd){var _0x3a2ae7=_0x22ac88,_0x224855,_0x4fde47,_0x3c4cb3;return(_0x3c4cb3=(_0x4fde47=(_0x224855=this[_0x3a2ae7(0x23b)])[_0x3a2ae7(0x355)])==null?void 0x0:_0x4fde47[_0x3a2ae7(0x27d)](_0x224855,_0x5b0bfd))!=null?_0x3c4cb3:_0x5b0bfd;}[_0x22ac88(0x492)](_0x2b4bf5){var _0x584688=_0x22ac88,_0x115463,_0x2e4543,_0x365a06;return(_0x365a06=(_0x2e4543=(_0x115463=this[_0x584688(0x23b)])[_0x584688(0x4ab)])==null?void 0x0:_0x2e4543[_0x584688(0x27d)](_0x115463,_0x2b4bf5))!=null?_0x365a06:_0x2b4bf5;}[_0x22ac88(0x40f)](_0x196637){var _0x8c6a1c=_0x22ac88,_0x25c0aa,_0x2ff2fa;if(this['type']===J[_0x8c6a1c(0x3d5)]){const {unitID:_0x5565b4,mutations:_0xc836ae,memberID:_0x20a32f}=_0x196637,_0x3f6da3=_0xc836ae[0x0][_0x8c6a1c(0x4c3)][_0x8c6a1c(0x3f6)];Array[_0x8c6a1c(0x406)](_0x3f6da3)&&_0x3f6da3[_0x8c6a1c(0x295)]>0x0&&((_0x2ff2fa=(_0x25c0aa=this['_handler'])['onSyncEditingCollabCursor'])==null||_0x2ff2fa['call'](_0x25c0aa,{'unitID':_0x5565b4,'memberID':_0x20a32f,'textRanges':_0x3f6da3}));}}[_0x22ac88(0x2aa)](){var _0x883082=_0x22ac88,_0x4dbb7c;(_0x4dbb7c=this[_0x883082(0x545)])==null||_0x4dbb7c['updateOfflineData'](this[_0x883082(0x281)],this[_0x883082(0x48e)],this[_0x883082(0x477)],this[_0x883082(0x378)]);}[_0x22ac88(0x3e5)](){var _0x1b8c5b=_0x22ac88;return this[_0x1b8c5b(0x32d)][_0x1b8c5b(0x285)](this[_0x1b8c5b(0x281)]);}[_0x22ac88(0x38d)](){var _0x374ec8=_0x22ac88;this[_0x374ec8(0x32d)]['incrementRevOfUnit'](this[_0x374ec8(0x281)]);}['_executeRemoteChangeset'](_0x540008){var _0x295001=_0x22ac88,_0x22b805;let _0x37883c=this[_0x295001(0x1da)](_0x540008);_0x37883c=this[_0x295001(0x492)](_0x37883c);const _0x377399=a[_0x295001(0x1fc)](_0x37883c[_0x295001(0x513)],this[_0x295001(0x524)],{'fromCollab':!0x0});if(!_0x377399['result'])throw _0x377399[_0x295001(0x424)]instanceof Error?_0x377399[_0x295001(0x424)]:new Error((_0x22b805=_0x377399[_0x295001(0x424)])!=null?_0x22b805:_0x295001(0x36a));this[_0x295001(0x307)](_0x37883c),this[_0x295001(0x40a)](_0x37883c),this['_transformUndoredo'](_0x540008),this[_0x295001(0x2f9)](_0x37883c),this[_0x295001(0x40f)](_0x37883c),this['_incrementRevisionNumber']();}}exports[_0x22ac88(0x4bc)]=class extends ce{constructor(_0x289377,_0x12955b,_0x8a2e90,_0x14c433,_0x1240fd,_0x4d8e74,_0x3dac1f,_0x12ec3,_0x5424c8,_0x3c88f7){var _0x56e8fb=_0x22ac88;super(_0x289377,_0x12955b,null,[],_0x8a2e90,_0x3dac1f,_0x4d8e74,_0x14c433,_0x3c88f7),A(this,'status',_0x56e8fb(0x39f)),(this[_0x56e8fb(0x459)]=_0x1240fd,this[_0x56e8fb(0x297)]=_0x12ec3,this[_0x56e8fb(0x544)]=_0x5424c8,this[_0x56e8fb(0x2d1)]=_0x3c88f7);}[_0x22ac88(0x3c4)](_0x13bfa0){var _0x11c7d9=_0x22ac88;const _0x441199=this['_injector'][_0x11c7d9(0x515)](exports['PendingState'],this['unitID'],this['type'],[_0x13bfa0],this[_0x11c7d9(0x23b)]);return _0x441199[_0x11c7d9(0x483)](),_0x441199[_0x11c7d9(0x2aa)](),_0x441199;}[_0x22ac88(0x42a)](_0x1f6e47){var _0x496c0b=_0x22ac88;if(this['_checkMissing'](_0x1f6e47))return this[_0x496c0b(0x459)][_0x496c0b(0x515)](exports[_0x496c0b(0x2e7)],this[_0x496c0b(0x281)],this[_0x496c0b(0x48e)],null,[],null,[_0x1f6e47],this[_0x496c0b(0x23b)]);try{const _0x25f9dd=this[_0x496c0b(0x544)][_0x496c0b(0x448)](_0x1f6e47,[ui]);if(I['isTransformMutationsWithChangesetSuccess'](_0x25f9dd)){const {c1Prime:_0x2a6d11}=_0x25f9dd;return this[_0x496c0b(0x4e8)](_0x2a6d11),this;}throw _0x25f9dd[_0x496c0b(0x424)];}catch(_0x368f22){return this['_logService'][_0x496c0b(0x424)](_0x368f22),this[_0x496c0b(0x3a6)](!0x1);}}[_0x22ac88(0x3a6)](_0xffd203){var _0x580123=_0x22ac88;return this['_injector']['createInstance'](exports['ConflictState'],this['unitID'],this['type'],null,[],this[_0x580123(0x23b)],_0xffd203);}[_0x22ac88(0x3fb)](){var _0x402ccd=_0x22ac88;throw new Error(_0x402ccd(0x2cb));}['onRemoteRej'](){var _0x1a4bab=_0x22ac88;throw new Error(_0x1a4bab(0x282));}[_0x22ac88(0x3c6)](){return this;}[_0x22ac88(0x326)](){var _0x3bd624=_0x22ac88;return this[_0x3bd624(0x459)][_0x3bd624(0x515)](exports[_0x3bd624(0x387)],this['unitID'],this['type'],null,[],this[_0x3bd624(0x23b)]);}['toggleOnline'](){return this;}[_0x22ac88(0x450)](){var _0x38256e=_0x22ac88;throw new Error(_0x38256e(0x277));}['fetchMiss'](){var _0x20bf3d=_0x22ac88;const _0x2c692d=this[_0x20bf3d(0x32d)][_0x20bf3d(0x285)](this['unitID']);return this[_0x20bf3d(0x23b)][_0x20bf3d(0x493)]({'from':_0x2c692d,'to':0x0}),this['_injector'][_0x20bf3d(0x515)](exports[_0x20bf3d(0x2e7)],this[_0x20bf3d(0x281)],this[_0x20bf3d(0x48e)],null,[],null,[],this[_0x20bf3d(0x23b)]);}},exports[_0x22ac88(0x4bc)]=ae([w(0x3,a[_0x22ac88(0x371)](I['RevisionService'])),w(0x4,a['Inject'](a['Injector'])),w(0x5,a[_0x22ac88(0x3b4)]),w(0x6,a['ICommandService']),w(0x7,a['ILogService']),w(0x8,I[_0x22ac88(0x337)]),w(0x9,a['Optional'](q))],exports[_0x22ac88(0x4bc)]),exports['PendingState']=class extends ce{constructor(_0x3bdfe7,_0x346d1e,_0x397d9c,_0x585074,_0x78dbf,_0x139fb6,_0x2c001d,_0x5c40f1,_0x322875,_0x4e838a,_0x2f5a15,_0x1dea76,_0xe4048b,_0x50d688){var _0xb5ec7e=_0x22ac88;super(_0x3bdfe7,_0x346d1e,null,_0x397d9c,_0x585074,_0x322875,_0xe4048b,_0x139fb6,_0x50d688),A(this,_0xb5ec7e(0x4c7),'pending'),A(this,_0xb5ec7e(0x4f7),null),A(this,_0xb5ec7e(0x250),null),(this[_0xb5ec7e(0x459)]=_0x78dbf,this['_memberService']=_0x2c001d,this[_0xb5ec7e(0x297)]=_0x5c40f1,this[_0xb5ec7e(0x3b3)]=_0x4e838a,this[_0xb5ec7e(0x544)]=_0x2f5a15,this[_0xb5ec7e(0x388)]=_0x1dea76);}[_0x22ac88(0x3c4)](_0x47bd2a){var _0x3bca2a=_0x22ac88;return this[_0x3bca2a(0x378)]['push'](_0x47bd2a),this[_0x3bca2a(0x2aa)](),this;}['onRemoteChangeset'](_0x59216a){var _0x467441=_0x22ac88;if(this[_0x467441(0x22b)](_0x59216a))return this[_0x467441(0x3bd)](),this[_0x467441(0x459)]['createInstance'](exports['FetchingMissState'],this[_0x467441(0x281)],this[_0x467441(0x48e)],null,this[_0x467441(0x378)],null,[_0x59216a],this[_0x467441(0x23b)]);try{const _0x5a8c93=this['_transformService'][_0x467441(0x448)](_0x59216a,this[_0x467441(0x378)]);if(I[_0x467441(0x45f)](_0x5a8c93)){const {c1Prime:_0x10cf93,m2Prime:_0x3bac9f}=_0x5a8c93;this[_0x467441(0x4e8)](_0x10cf93);const _0x1dad8d=this[_0x467441(0x459)][_0x467441(0x515)](exports[_0x467441(0x51e)],this[_0x467441(0x281)],this[_0x467441(0x48e)],_0x3bac9f,this[_0x467441(0x23b)]);this[_0x467441(0x3bd)]();const _0x5b5d23=new Date()[_0x467441(0x2d9)](),_0x24ebc4=this[_0x467441(0x4f7)]?Math[_0x467441(0x20c)](this[_0x467441(0x4f7)]-_0x5b5d23,0x0):this['_getSendChangesetTimeout']();return _0x1dad8d[_0x467441(0x483)](_0x24ebc4),_0x1dad8d;}throw _0x5a8c93['error'];}catch(_0xdd0211){return this[_0x467441(0x297)][_0x467441(0x424)](_0xdd0211),this[_0x467441(0x3a6)](!0x1);}}[_0x22ac88(0x3fb)](){var _0x276610=_0x22ac88;throw new Error(_0x276610(0x370));}['onRemoteRej'](){var _0x1fc5b8=_0x22ac88;throw new Error(_0x1fc5b8(0x33c));}['onRemoteRetry'](){return this;}[_0x22ac88(0x326)](){var _0x198f9b=_0x22ac88;return this[_0x198f9b(0x3bd)](),this[_0x198f9b(0x459)][_0x198f9b(0x515)](exports[_0x198f9b(0x387)],this['unitID'],this[_0x198f9b(0x48e)],null,this[_0x198f9b(0x378)],this[_0x198f9b(0x23b)]);}[_0x22ac88(0x231)](){return this;}[_0x22ac88(0x483)](_0x1eda91){var _0x197404=_0x22ac88;const _0x27aaff=_0x1eda91!=null?_0x1eda91:this['_getSendChangesetTimeout']();this[_0x197404(0x4f7)]=new Date()[_0x197404(0x2d9)]()+_0x27aaff,this[_0x197404(0x250)]=setTimeout(()=>{var _0x2110bd=_0x197404;this[_0x2110bd(0x3bd)]();let _0x303541=null;switch(this['type']){case J[_0x2110bd(0x403)]:{_0x303541=Ke(this[_0x2110bd(0x378)],this[_0x2110bd(0x281)],this[_0x2110bd(0x388)],this[_0x2110bd(0x32d)],this[_0x2110bd(0x437)]);break;}case J['UNIVER_DOC']:{this[_0x2110bd(0x378)][_0x2110bd(0x2a1)](_0x3aaa72=>_0x3aaa72['id']===ht['RichTextEditingMutation']['id'])?_0x303541=li(this[_0x2110bd(0x378)],this[_0x2110bd(0x281)],this[_0x2110bd(0x388)],this[_0x2110bd(0x32d)],this[_0x2110bd(0x437)]):_0x303541=Ke(this[_0x2110bd(0x378)],this[_0x2110bd(0x281)],this[_0x2110bd(0x388)],this[_0x2110bd(0x32d)],this[_0x2110bd(0x437)]);break;}default:throw new Error(_0x2110bd(0x2b6)+this[_0x2110bd(0x48e)]+'\x20in\x20_schedule.');}const {changeset:_0x2ea805,pendingMutations:_0x1eed4c}=_0x303541;this['_handler'][_0x2110bd(0x223)](_0x2ea805);const _0xef8e5f=_0x1eed4c['length']?this[_0x2110bd(0x459)][_0x2110bd(0x515)](exports[_0x2110bd(0x273)],this[_0x2110bd(0x281)],this['type'],_0x2ea805,_0x1eed4c,this[_0x2110bd(0x23b)],void 0x0):this['_injector']['createInstance'](exports['AwaitingState'],this[_0x2110bd(0x281)],this[_0x2110bd(0x48e)],_0x2ea805,this[_0x2110bd(0x23b)]);_0xef8e5f[_0x2110bd(0x2aa)](),this[_0x2110bd(0x23b)][_0x2110bd(0x503)](this,_0xef8e5f);},_0x27aaff);}[_0x22ac88(0x3c7)](){var _0x25595e=_0x22ac88,_0x41e6a5;const _0x64f2e2=this[_0x25595e(0x3b3)]['getConfig'](K);return(_0x41e6a5=_0x64f2e2==null?void 0x0:_0x64f2e2[_0x25595e(0x47a)])!=null?_0x41e6a5:xt;}[_0x22ac88(0x450)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearScheduledTask'](){var _0x55796f=_0x22ac88;this[_0x55796f(0x250)]!=null&&(clearTimeout(this[_0x55796f(0x250)]),this[_0x55796f(0x250)]=null);}[_0x22ac88(0x3a6)](_0xb7f60f){var _0x107690=_0x22ac88;return this[_0x107690(0x3bd)](),this[_0x107690(0x459)][_0x107690(0x515)](exports[_0x107690(0x4ed)],this[_0x107690(0x281)],this[_0x107690(0x48e)],null,this[_0x107690(0x378)],this[_0x107690(0x23b)],_0xb7f60f);}},exports[_0x22ac88(0x51e)]=ae([w(0x4,a[_0x22ac88(0x371)](a['Injector'])),w(0x5,a[_0x22ac88(0x371)](I[_0x22ac88(0x28e)])),w(0x6,a['Inject'](exports[_0x22ac88(0x457)])),w(0x7,a[_0x22ac88(0x3a5)]),w(0x8,a['ICommandService']),w(0x9,a[_0x22ac88(0x389)]),w(0xa,I[_0x22ac88(0x337)]),w(0xb,a[_0x22ac88(0x52c)]),w(0xc,a[_0x22ac88(0x3b4)]),w(0xd,a[_0x22ac88(0x43b)](q))],exports[_0x22ac88(0x51e)]),exports[_0x22ac88(0x29f)]=class extends ce{constructor(_0x256420,_0x242451,_0x4a8e02,_0x508f8d,_0x3b5d14,_0x4c6b98,_0x672fe2,_0x2d5f35,_0x25690f,_0x1d13b9,_0x5cc5b2){var _0x420959=_0x22ac88;super(_0x256420,_0x242451,_0x4a8e02,[],_0x508f8d,_0x672fe2,_0x1d13b9,_0x4c6b98,_0x5cc5b2),A(this,_0x420959(0x4c7),'awaiting'),A(this,_0x420959(0x432),0x0),A(this,_0x420959(0x4ba)),A(this,_0x420959(0x3cc)),(this[_0x420959(0x459)]=_0x3b5d14,this[_0x420959(0x297)]=_0x2d5f35,this[_0x420959(0x544)]=_0x25690f);}['appendMutation'](_0x52e849){var _0x3eb7a7=_0x22ac88;this[_0x3eb7a7(0x3bd)]();const _0x237b7f=this[_0x3eb7a7(0x459)][_0x3eb7a7(0x515)](exports[_0x3eb7a7(0x273)],this[_0x3eb7a7(0x281)],this[_0x3eb7a7(0x48e)],this[_0x3eb7a7(0x477)],[_0x52e849],this[_0x3eb7a7(0x23b)],this[_0x3eb7a7(0x4ba)]);return _0x237b7f['_updateLocalCache'](),_0x237b7f;}['onRemoteChangeset'](_0x104780){var _0x1104dd=_0x22ac88;if(this[_0x1104dd(0x22b)](_0x104780))return this[_0x1104dd(0x3bd)](),this[_0x1104dd(0x459)][_0x1104dd(0x515)](exports[_0x1104dd(0x2e7)],this[_0x1104dd(0x281)],this[_0x1104dd(0x48e)],this[_0x1104dd(0x477)],[],null,[_0x104780],this[_0x1104dd(0x23b)]);try{const _0x9a6b7=this[_0x1104dd(0x544)][_0x1104dd(0x41f)]([_0x104780],[this[_0x1104dd(0x477)]],!0x1);if(I[_0x1104dd(0x47c)](_0x9a6b7)){const {c1Prime:_0x6b3568,c2Prime:_0x5877da}=_0x9a6b7;this[_0x1104dd(0x4e8)](_0x6b3568[0x0]),_0x5877da[0x0]['baseRev']=this[_0x1104dd(0x3e5)](),this[_0x1104dd(0x3bd)]();const _0x3e2398=this[_0x1104dd(0x459)][_0x1104dd(0x515)](exports[_0x1104dd(0x29f)],this[_0x1104dd(0x281)],this[_0x1104dd(0x48e)],_0x5877da[0x0],this['_handler']);return _0x3e2398[_0x1104dd(0x2aa)](),_0x3e2398;}return this[_0x1104dd(0x3a6)](!0x1);}catch(_0x2a2217){return this[_0x1104dd(0x297)][_0x1104dd(0x424)](_0x2a2217),this[_0x1104dd(0x3a6)](!0x1);}}['onRemoteAck'](_0x10d853){var _0x50f740=_0x22ac88;this[_0x50f740(0x3bd)]();const _0x49f1a0=this[_0x50f740(0x32d)][_0x50f740(0x285)](this[_0x50f740(0x281)]);if(_0x10d853[_0x50f740(0x500)]<_0x49f1a0-0x1)return this;if(this[_0x50f740(0x22b)](_0x10d853))return this[_0x50f740(0x459)]['createInstance'](exports['FetchingMissState'],this['unitID'],this[_0x50f740(0x48e)],null,[],this[_0x50f740(0x477)],[],this[_0x50f740(0x23b)]);this[_0x50f740(0x38d)]();const _0x204c64=this[_0x50f740(0x459)][_0x50f740(0x515)](exports['SyncedState'],this['unitID'],this[_0x50f740(0x48e)],this[_0x50f740(0x23b)]);return _0x204c64[_0x50f740(0x2aa)](),_0x204c64;}[_0x22ac88(0x3b7)](_0x18874a){var _0xd49261=_0x22ac88;return this[_0xd49261(0x3a6)](!!(_0x18874a!=null&&_0x18874a[_0xd49261(0x2f8)]));}[_0x22ac88(0x3c6)](_0x91c6cc){var _0x15d41c=_0x22ac88;return this[_0x15d41c(0x432)]>Rt?this['toggleOffline']():(this[_0x15d41c(0x4ba)]=bt(this[_0x15d41c(0x432)],{'timeout':this['_resendTimeout'],'reqId':_0x91c6cc['reqId']}),this[_0x15d41c(0x3cc)]=this[_0x15d41c(0x4ba)][_0x15d41c(0x382)](({reqId:_0x374a3e,timeout:_0x5ea7de})=>{var _0xf60c4=_0x15d41c;this[_0xf60c4(0x4c2)](_0x374a3e,_0x5ea7de);}),this);}['toggleOffline'](){var _0x6b46c8=_0x22ac88;return this['_clearScheduledTask'](),this['_injector'][_0x6b46c8(0x515)](exports[_0x6b46c8(0x387)],this['unitID'],this[_0x6b46c8(0x48e)],this[_0x6b46c8(0x477)],[],this[_0x6b46c8(0x23b)]);}[_0x22ac88(0x231)](){return this;}[_0x22ac88(0x450)](){var _0x501ba5=_0x22ac88;this[_0x501ba5(0x23b)][_0x501ba5(0x223)](this[_0x501ba5(0x477)]);}['_onConflict'](_0x16832a){var _0x2ed7da=_0x22ac88;return this[_0x2ed7da(0x3bd)](),this['_injector'][_0x2ed7da(0x515)](exports['ConflictState'],this[_0x2ed7da(0x281)],this[_0x2ed7da(0x48e)],this[_0x2ed7da(0x477)],[],this[_0x2ed7da(0x23b)],_0x16832a);}[_0x22ac88(0x4c2)](_0x7d916b,_0x3ea1f6){var _0x1a2008=_0x22ac88,_0x44e818;_0x7d916b===((_0x44e818=this[_0x1a2008(0x477)])==null?void 0x0:_0x44e818[_0x1a2008(0x23d)])&&(this[_0x1a2008(0x450)](),this[_0x1a2008(0x432)]=_0x3ea1f6===0x0?0x3e8:_0x3ea1f6*0x2);}[_0x22ac88(0x3bd)](){var _0x2df8ec=_0x22ac88,_0x1fc2a3;(_0x1fc2a3=this[_0x2df8ec(0x3cc)])==null||_0x1fc2a3[_0x2df8ec(0x3be)](),this[_0x2df8ec(0x432)]=0x0;}},exports[_0x22ac88(0x29f)]=ae([w(0x4,a[_0x22ac88(0x371)](a[_0x22ac88(0x3c3)])),w(0x5,a['Inject'](I[_0x22ac88(0x28e)])),w(0x6,a['ICommandService']),w(0x7,a['ILogService']),w(0x8,I[_0x22ac88(0x337)]),w(0x9,a['IUndoRedoService']),w(0xa,a[_0x22ac88(0x43b)](q))],exports[_0x22ac88(0x29f)]),exports['AwaitingWithPendingState']=class extends ce{constructor(_0x3b58bf,_0x5ccc93,_0x545232,_0x48876e,_0x1f8c43,_0x4b7cdc,_0x5498b8,_0x157a80,_0x51ed26,_0x545257,_0x542f0e,_0x2044af,_0x22abd4){var _0x1afa68=_0x22ac88;super(_0x3b58bf,_0x5ccc93,_0x545232,_0x48876e,_0x1f8c43,_0x51ed26,_0x2044af,_0x157a80,_0x22abd4),A(this,'status',_0x1afa68(0x251)),A(this,'_resendTimeout',0x0),A(this,_0x1afa68(0x4ba)),A(this,'_sender'),(this[_0x1afa68(0x459)]=_0x5498b8,this[_0x1afa68(0x297)]=_0x545257,this[_0x1afa68(0x544)]=_0x542f0e,this['localCacheService']=_0x22abd4,_0x4b7cdc&&(this[_0x1afa68(0x4ba)]=_0x4b7cdc,this[_0x1afa68(0x3cc)]=this[_0x1afa68(0x4ba)][_0x1afa68(0x382)](({reqId:_0x3db69b,timeout:_0x42f7be})=>{var _0x4a5d3c=_0x1afa68;this[_0x4a5d3c(0x4c2)](_0x3db69b,_0x42f7be);})));}['appendMutation'](_0x524ebb){var _0x5ef27d=_0x22ac88;return this[_0x5ef27d(0x378)][_0x5ef27d(0x4a2)](_0x524ebb),this;}[_0x22ac88(0x42a)](_0x14cb1f){var _0x15f6c4=_0x22ac88;if(this[_0x15f6c4(0x22b)](_0x14cb1f))return this[_0x15f6c4(0x3bd)](),this[_0x15f6c4(0x459)][_0x15f6c4(0x515)](exports[_0x15f6c4(0x2e7)],this[_0x15f6c4(0x281)],this[_0x15f6c4(0x48e)],this[_0x15f6c4(0x477)],this[_0x15f6c4(0x378)],null,[_0x14cb1f],this['_handler']);try{const _0x5c5cc2=this[_0x15f6c4(0x544)][_0x15f6c4(0x41f)]([_0x14cb1f],[this[_0x15f6c4(0x477)]],!0x1);if(I[_0x15f6c4(0x47c)](_0x5c5cc2)){const {c1Prime:_0x4209ef,c2Prime:_0x11cdf4}=_0x5c5cc2,_0x1a996c=this[_0x15f6c4(0x544)][_0x15f6c4(0x448)](_0x4209ef[0x0],this[_0x15f6c4(0x378)]);if(I[_0x15f6c4(0x45f)](_0x1a996c)){const {c1Prime:_0x13cf6f,m2Prime:_0x4cd195}=_0x1a996c;return this['_executeRemoteChangeset'](_0x13cf6f),_0x11cdf4[0x0]['baseRev']=this[_0x15f6c4(0x3e5)](),this[_0x15f6c4(0x3bd)](),this['_injector'][_0x15f6c4(0x515)](exports[_0x15f6c4(0x273)],this[_0x15f6c4(0x281)],this['type'],_0x11cdf4[0x0],_0x4cd195,this[_0x15f6c4(0x23b)],void 0x0);}throw _0x1a996c['error'];}throw _0x5c5cc2[_0x15f6c4(0x424)];}catch(_0x300f0c){return this[_0x15f6c4(0x297)][_0x15f6c4(0x424)](_0x300f0c),this[_0x15f6c4(0x3a6)](!0x1);}}[_0x22ac88(0x3fb)](_0x5284c1){var _0xba8a1d=_0x22ac88;if(this['_clearScheduledTask'](),this[_0xba8a1d(0x22b)](_0x5284c1))return this[_0xba8a1d(0x459)][_0xba8a1d(0x515)](exports[_0xba8a1d(0x2e7)],this[_0xba8a1d(0x281)],this['type'],null,this[_0xba8a1d(0x378)],this[_0xba8a1d(0x477)],[],this[_0xba8a1d(0x23b)]);this[_0xba8a1d(0x38d)]();const _0x23f91d=this[_0xba8a1d(0x459)][_0xba8a1d(0x515)](exports[_0xba8a1d(0x51e)],this[_0xba8a1d(0x281)],this['type'],this['_pendingMutations'],this['_handler']);return _0x23f91d[_0xba8a1d(0x483)](),_0x23f91d[_0xba8a1d(0x2aa)](),_0x23f91d;}['onRemoteRej'](_0x6659a1){var _0x171779=_0x22ac88;return this[_0x171779(0x3a6)](!!(_0x6659a1!=null&&_0x6659a1[_0x171779(0x2f8)]));}[_0x22ac88(0x3c6)](_0x4659af){var _0x18feef=_0x22ac88;return this[_0x18feef(0x432)]>Rt?this[_0x18feef(0x326)]():(this[_0x18feef(0x4ba)]=bt(this[_0x18feef(0x432)],{'timeout':this[_0x18feef(0x432)],'reqId':_0x4659af['reqId']}),this['_sender']=this[_0x18feef(0x4ba)]['subscribe'](({reqId:_0x5025ab,timeout:_0x2c3b74})=>{var _0x5da3b7=_0x18feef;this[_0x5da3b7(0x4c2)](_0x5025ab,_0x2c3b74);}),this);}[_0x22ac88(0x326)](){var _0x2e2684=_0x22ac88;return this[_0x2e2684(0x3bd)](),this['_injector']['createInstance'](exports[_0x2e2684(0x387)],this[_0x2e2684(0x281)],this[_0x2e2684(0x48e)],this[_0x2e2684(0x477)],this['_pendingMutations'],this[_0x2e2684(0x23b)]);}['toggleOnline'](){return this;}[_0x22ac88(0x450)](){var _0x22ac55=_0x22ac88;this[_0x22ac55(0x23b)]['onSendChangeset'](this[_0x22ac55(0x477)]);}[_0x22ac88(0x3a6)](_0x51a436){var _0x3307ac=_0x22ac88;return this[_0x3307ac(0x3bd)](),this[_0x3307ac(0x459)][_0x3307ac(0x515)](exports[_0x3307ac(0x4ed)],this[_0x3307ac(0x281)],this[_0x3307ac(0x48e)],null,this[_0x3307ac(0x378)],this[_0x3307ac(0x23b)],_0x51a436);}['_resendWithTimeout'](_0x2ee7af,_0x42ffbd){var _0x1908b7=_0x22ac88,_0x1560a6;_0x2ee7af===((_0x1560a6=this[_0x1908b7(0x477)])==null?void 0x0:_0x1560a6['reqId'])&&(this[_0x1908b7(0x450)](),this[_0x1908b7(0x432)]=_0x42ffbd===0x0?0x3e8:_0x42ffbd*0x2);}[_0x22ac88(0x3bd)](){var _0x454154=_0x22ac88,_0x2e7eea;(_0x2e7eea=this['_sender'])==null||_0x2e7eea['unsubscribe'](),this[_0x454154(0x432)]=0x0;}},exports[_0x22ac88(0x273)]=ae([w(0x6,a[_0x22ac88(0x371)](a[_0x22ac88(0x3c3)])),w(0x7,a[_0x22ac88(0x371)](I[_0x22ac88(0x28e)])),w(0x8,a['ICommandService']),w(0x9,a[_0x22ac88(0x3a5)]),w(0xa,I[_0x22ac88(0x337)]),w(0xb,a[_0x22ac88(0x3b4)]),w(0xc,a[_0x22ac88(0x43b)](q))],exports[_0x22ac88(0x273)]),exports[_0x22ac88(0x4ed)]=class extends ce{constructor(_0x4fd724,_0x3950f4,_0x42ac88,_0x421ca0,_0x44a0d7,_0x536be0=!0x1,_0x254bfc,_0x21dba0,_0x3c1b59,_0x486143,_0x3b0ed2,_0x13ba59,_0x1fc8a4){var _0x5b2450=_0x22ac88;super(_0x4fd724,_0x3950f4,_0x42ac88,_0x421ca0,_0x44a0d7,_0x21dba0,_0x3c1b59,_0x486143,_0x1fc8a4),A(this,_0x5b2450(0x4c7),_0x5b2450(0x1ea)),(this[_0x5b2450(0x41d)]=_0x536be0,this[_0x5b2450(0x3db)]=_0x254bfc,this[_0x5b2450(0x224)]=_0x3b0ed2,this[_0x5b2450(0x309)]=_0x13ba59,this[_0x5b2450(0x2d1)]=_0x1fc8a4,this[_0x5b2450(0x3ba)](),this['_clearLocalCache'](),this['_disableEditing']());}[_0x22ac88(0x3c4)](){return this;}[_0x22ac88(0x42a)](){return this;}[_0x22ac88(0x3fb)](){return this;}['onRemoteRej'](){return this;}[_0x22ac88(0x3c6)](){return this;}[_0x22ac88(0x326)](){return this;}[_0x22ac88(0x231)](){return this;}['resend'](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x22ac88(0x4d7)](){var _0x475719=_0x22ac88,_0xf7d35b;(_0xf7d35b=this[_0x475719(0x545)])==null||_0xf7d35b[_0x475719(0x2d0)](this[_0x475719(0x281)],this['type'],null,[]);}[_0x22ac88(0x3ba)](){var _0x3edb15=_0x22ac88;this[_0x3edb15(0x41d)]?this[_0x3edb15(0x309)][_0x3edb15(0x208)]({'id':Z[_0x3edb15(0x2af)]}):this[_0x3edb15(0x309)][_0x3edb15(0x208)]({'id':Z[_0x3edb15(0x1e9)]});}['_disableEditing'](){var _0x15fa2d=_0x22ac88;this[_0x15fa2d(0x3db)][_0x15fa2d(0x31f)](new X[(_0x15fa2d(0x50a))](this[_0x15fa2d(0x281)])['id'],!0x1);}},exports[_0x22ac88(0x4ed)]=ae([w(0x6,a[_0x22ac88(0x371)](a[_0x22ac88(0x4b4)])),w(0x7,a[_0x22ac88(0x4f2)]),w(0x8,a[_0x22ac88(0x3b4)]),w(0x9,a['Inject'](I[_0x22ac88(0x28e)])),w(0xa,a[_0x22ac88(0x371)](a['LocaleService'])),w(0xb,a[_0x22ac88(0x371)](ee)),w(0xc,a['Optional'](q))],exports[_0x22ac88(0x4ed)]),exports['OfflineState']=class extends ce{constructor(_0x5c4ebb,_0x3a3982,_0x1dcb92,_0x40e0d4,_0x5bc72d,_0x37c949,_0x85ad01,_0x4e5503,_0x5a35e8,_0x196d9f){var _0x1a5599=_0x22ac88;super(_0x5c4ebb,_0x3a3982,_0x1dcb92,_0x40e0d4,_0x5bc72d,_0x4e5503,_0x5a35e8,_0x85ad01,_0x196d9f),A(this,_0x1a5599(0x4c7),_0x1a5599(0x3fa)),this[_0x1a5599(0x459)]=_0x37c949;}[_0x22ac88(0x3c4)](_0x39a22f){var _0x1b841c=_0x22ac88;return this[_0x1b841c(0x378)]['push'](_0x39a22f),this[_0x1b841c(0x2aa)](),this;}['onRemoteChangeset'](_0x12eeab){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x22ac88(0x3fb)](){var _0x2bdb08=_0x22ac88;throw new Error(_0x2bdb08(0x465));}[_0x22ac88(0x3b7)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){var _0x8085c8=_0x22ac88;const {_injector:_0x443d0d,_pendingMutations:_0x54b94d,_awaitingChangeset:_0xf83c96,unitID:_0x2a2780,_handler:_0x3a3728,type:_0x523aad}=this,_0x5bbcff=Ot(_0x443d0d,_0x2a2780,_0x523aad,_0xf83c96,_0x54b94d,_0x3a3728);return _0x5bbcff instanceof exports[_0x8085c8(0x51e)]?_0x5bbcff[_0x8085c8(0x483)]():(_0x5bbcff instanceof exports[_0x8085c8(0x273)]||_0x5bbcff instanceof exports[_0x8085c8(0x29f)])&&_0x5bbcff[_0x8085c8(0x450)](),_0x5bbcff;}['resend'](){var _0x540000=_0x22ac88;throw new Error(_0x540000(0x2a6));}},exports['OfflineState']=ae([w(0x5,a[_0x22ac88(0x371)](a[_0x22ac88(0x3c3)])),w(0x6,a[_0x22ac88(0x371)](I['RevisionService'])),w(0x7,a[_0x22ac88(0x4f2)]),w(0x8,a[_0x22ac88(0x3b4)]),w(0x9,a[_0x22ac88(0x43b)](q))],exports['OfflineState']),exports[_0x22ac88(0x2e7)]=class extends ce{constructor(_0x39bbe5,_0x570e1a,_0x1ddd63,_0x1985d6,_0x16d00c,_0x221e4a,_0x3bd34b,_0x3f2dbe,_0x597a09,_0x6a6b15,_0x287b34,_0x22020e,_0x3e2748,_0x3a3d7d){var _0x5a5851=_0x22ac88;super(_0x39bbe5,_0x570e1a,_0x1ddd63,_0x1985d6,_0x3bd34b,_0x287b34,_0x22020e,_0x597a09,_0x3a3d7d),A(this,'status','fetch_missing'),(this[_0x5a5851(0x3ae)]=_0x16d00c,this[_0x5a5851(0x30f)]=_0x221e4a,this['_injector']=_0x3f2dbe,this[_0x5a5851(0x297)]=_0x6a6b15,this[_0x5a5851(0x544)]=_0x3e2748,this[_0x5a5851(0x2d1)]=_0x3a3d7d);}[_0x22ac88(0x2c9)](_0x288bbe){var _0xe4b76c=_0x22ac88;try{const _0x38b881=[..._0x288bbe,...this[_0xe4b76c(0x30f)]],_0x3f0f4b=[this[_0xe4b76c(0x477)]||this[_0xe4b76c(0x3ae)]][_0xe4b76c(0x211)](_0x687a1c=>!!_0x687a1c);let _0x2bd845,_0x935c47;if(_0x3f0f4b['length']){const _0x507fa9=this[_0xe4b76c(0x544)]['transformChangesets'](_0x38b881,_0x3f0f4b,!0x1);if(!I['isTransformChangesetsSuccess'](_0x507fa9))throw _0x507fa9[_0xe4b76c(0x424)];_0x2bd845=_0x507fa9['c1Prime'],_0x935c47=_0x507fa9[_0xe4b76c(0x472)];}else _0x2bd845=_0x38b881,_0x935c47=[];let _0x10f7e7=this[_0xe4b76c(0x378)];_0x2bd845[_0xe4b76c(0x38e)](_0x505725=>{var _0x2997cd=_0xe4b76c;let _0x3e453e;if(_0x10f7e7['length']){const _0x42ede2=this[_0x2997cd(0x544)][_0x2997cd(0x448)](_0x505725,_0x10f7e7);if(!I[_0x2997cd(0x45f)](_0x42ede2))throw _0x42ede2[_0x2997cd(0x424)];_0x3e453e=_0x42ede2[_0x2997cd(0x2d8)],_0x10f7e7=_0x42ede2[_0x2997cd(0x3b6)];}else _0x3e453e=_0x505725;this[_0x2997cd(0x4e8)](_0x3e453e);}),this[_0xe4b76c(0x3ae)]&&this[_0xe4b76c(0x38d)](),this['_awaitingChangeset']&&_0x935c47['length']&&(_0x935c47[0x0][_0xe4b76c(0x2ce)]=this[_0xe4b76c(0x3e5)]());let _0x4532d6;if(this[_0xe4b76c(0x477)]&&_0x10f7e7[_0xe4b76c(0x295)]!==0x0)_0x4532d6=this[_0xe4b76c(0x459)][_0xe4b76c(0x515)](exports['AwaitingWithPendingState'],this[_0xe4b76c(0x281)],this['type'],_0x935c47[0x0],_0x10f7e7,this[_0xe4b76c(0x23b)],void 0x0);else{if(this[_0xe4b76c(0x477)]&&_0x10f7e7['length']===0x0)_0x935c47[0x0]['baseRev']=this['_getCurrentRevision'](),_0x4532d6=this['_injector'][_0xe4b76c(0x515)](exports[_0xe4b76c(0x29f)],this[_0xe4b76c(0x281)],this[_0xe4b76c(0x48e)],_0x935c47[0x0],this[_0xe4b76c(0x23b)]);else{if(_0x10f7e7[_0xe4b76c(0x295)]!==0x0){const _0x53dc06=this['_injector'][_0xe4b76c(0x515)](exports[_0xe4b76c(0x51e)],this[_0xe4b76c(0x281)],this[_0xe4b76c(0x48e)],_0x10f7e7,this[_0xe4b76c(0x23b)]);_0x53dc06[_0xe4b76c(0x483)](),_0x4532d6=_0x53dc06;}else _0x4532d6=this['_injector'][_0xe4b76c(0x515)](exports[_0xe4b76c(0x4bc)],this[_0xe4b76c(0x281)],this[_0xe4b76c(0x48e)],this[_0xe4b76c(0x23b)]);}}return _0x4532d6[_0xe4b76c(0x2aa)](),_0x4532d6;}catch(_0x4d38b7){return this[_0xe4b76c(0x297)][_0xe4b76c(0x424)]('[FetchMissState]',_0xe4b76c(0x4be),_0x4d38b7),this[_0xe4b76c(0x459)]['createInstance'](exports['ConflictState'],this['unitID'],this['type'],this[_0xe4b76c(0x477)],this[_0xe4b76c(0x378)],this[_0xe4b76c(0x23b)],!0x1);}}['resend'](){var _0xf1162e=_0x22ac88;throw new Error(_0xf1162e(0x42f));}[_0x22ac88(0x3c4)](_0x45614d){var _0x147b68=_0x22ac88;return this[_0x147b68(0x378)][_0x147b68(0x4a2)](_0x45614d),this;}[_0x22ac88(0x42a)](_0x213f33){var _0x1642f3=_0x22ac88;return this[_0x1642f3(0x30f)][_0x1642f3(0x4a2)](_0x213f33),this;}['onRemoteAck'](_0x3882ab){var _0x2b972f=_0x22ac88;if(this[_0x2b972f(0x477)])return this[_0x2b972f(0x3ae)]=this[_0x2b972f(0x477)],this[_0x2b972f(0x477)]=null,this;throw new Error(_0x2b972f(0x3a8));}[_0x22ac88(0x3b7)](_0x2b0e49){var _0x588ef5=_0x22ac88;return this[_0x588ef5(0x3a6)](!!(_0x2b0e49!=null&&_0x2b0e49['isPermissionRej']));}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x121354=_0x22ac88;return this[_0x121354(0x459)][_0x121354(0x515)](exports[_0x121354(0x387)],this['unitID'],this[_0x121354(0x48e)],this[_0x121354(0x477)],this[_0x121354(0x378)],this['_handler']);}[_0x22ac88(0x231)](){return this;}[_0x22ac88(0x3a6)](_0x31dd2c){var _0x770642=_0x22ac88;return this[_0x770642(0x459)][_0x770642(0x515)](exports[_0x770642(0x4ed)],this[_0x770642(0x281)],this[_0x770642(0x48e)],this[_0x770642(0x477)],this['_pendingMutations'],this[_0x770642(0x23b)],_0x31dd2c);}},exports['FetchingMissState']=ae([w(0x7,a[_0x22ac88(0x371)](a[_0x22ac88(0x3c3)])),w(0x8,a[_0x22ac88(0x371)](I[_0x22ac88(0x28e)])),w(0x9,a[_0x22ac88(0x3a5)]),w(0xa,a['ICommandService']),w(0xb,a[_0x22ac88(0x3b4)]),w(0xc,I[_0x22ac88(0x337)]),w(0xd,a['Optional'](q))],exports[_0x22ac88(0x2e7)]);function Ot(_0x5524e6,_0x12a459,_0x2ce5e0,_0x59d77c,_0x302b7f,_0x5b7c08){var _0x2b439b=_0x22ac88;return _0x59d77c&&_0x302b7f[_0x2b439b(0x295)]?_0x5524e6['createInstance'](exports[_0x2b439b(0x273)],_0x12a459,_0x2ce5e0,_0x59d77c,_0x302b7f,_0x5b7c08,void 0x0):_0x59d77c?_0x5524e6[_0x2b439b(0x515)](exports[_0x2b439b(0x29f)],_0x12a459,_0x2ce5e0,_0x59d77c,_0x5b7c08):_0x302b7f[_0x2b439b(0x295)]?_0x5524e6['createInstance'](exports[_0x2b439b(0x51e)],_0x12a459,_0x2ce5e0,_0x302b7f,_0x5b7c08):_0x5524e6[_0x2b439b(0x515)](exports[_0x2b439b(0x4bc)],_0x12a459,_0x2ce5e0,_0x5b7c08);}function _0x7ec8(){var _0x1fbf4f=['cfg','MemberService','INTERNAL_ERROR','_injector','UNIVER_UNKNOWN','_decreaseWaiting','MD5','SnapshotService','slice','isTransformMutationsWithChangesetSuccess','Hex','_createSocket','_getAPIPrefixPath','executeCommand','_onUserJoin','[OfflineState]:\x20received\x20acknowledgement.','isInternalEditorID','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_socket','focused$','_tryReconnect','catch','_hash','waitForRoom$','LICENSE_DISTRO_REJECTED','EMAIL_HAS_BEEN_BOUND','HELLO','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','c2Prime','compute','LocaleService','NEW_CHANGESETS','ceil','_awaitingChangeset','setConfig','COLLAB_WEB_SOCKET_URL','sendChangesetTimeout','_change$','isTransformChangesetsSuccess','copyFileMeta','_userManagerService','SUBMIT_CHANGESET_TIMEOUT','SOCKET_FAILED_RETRY','getValue','send','_schedule','update','location','JOINING','csShouldRetryEvent','getMember','LOCAL_CACHE_INTERVAL','_ENC_XFORM_MODE','encrypt','CollaborationController','code','type','OTHER_CLIENT_EDITING','/unit/','_joinRoom','_transformRemoteChangesetByStateCache','onMissingChangesets','actions','subject','INGEST','connection\x20error','JOIN_ROOM_FAILED','parseProtocolChangeset','MentionType','entityInit$','CollaborationSession','USERS_ENTER','b64DecodeUnicode','Undefined','ILocalCacheService','_fetchMissChangesets','push','_handlerCallback','Plugin','_changesetReqId','collaboration-client.config','event$','SEND_CHANGESET_TIMEOUT_KEY','image/bmp','_applyRemoteChangeset','onTransformRemoteChangesetByStateCache','UNKNOWN_CMD','_remoteChangesetQueue','8TfzFUk','msCrypto','not_collab','_append','updateMember','_rescheduleHeartbeat','IPermissionService','_collaborationPaused','/universer-api/snapshot/','_doProcessBlock','_roomCreated$','3609450CcewkR','_resendTimer','_eventService','SyncedState','&source=','failed\x20to\x20apply\x20missed\x20changesets!','_initCloseConn','_onRemoteRetry','post','_resendWithTimeout','params','_startCollaboration','CollaborationSocketService','LOGIN_FAILED','status','HMAC','loginUrlKey','_onUserLeave','objectType','algo','UniverCollaborationClientPlugin','createIdentifier','disposeWithMe','_candidateSocket','DependentOn','HEARTBEAT','objectActions','sessionStatus$','CollaborationImageIoService','override','_clearLocalCache','updatePermissionObjEvent','updateSnapshot','Module','pluginName','UUID','POST','subUnitId','CollaborationSessionService','changesets','_commentUpdate$','[CollaborationUndoRedoService]','People','getRandomValues','APPLY_NON_SEQUENTIAL_REVISION','confirm','OPTIONAL','_executeRemoteChangeset','socketService','OpenSSL','parseChangesetToProtocol','_networkConditionService','ConflictState','image/jpeg','saveSheetBlock','_httpService','onStarting','ICommandService','ONLINE','collaborators','decryptBlock','Base64','_scheduleCompleteTimestamp','originalMeta','/new_changes','_socketMessageSubscription','YUUMI_URL_COL_OUT_OF_RANGE','file','unknown','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','awaitingChangeset','revision','origin','getLocalCacheKey','onStateChange','registerHTTPInterceptor','loadDoc','set','sessionStatus','name','PERMISSION_REJ','WorkbookEditablePermission','words','concatMap','HEARTBEAT_INTERVAL_KEY','sin','_getDownloadEndpointURL','workbook','YUUMI_TABLE_NOT_FOUND_IN_UNIT','CompressMutationService','mutations','unpad','createInstance','IContextService','Quantity','_cipher','fetching\x20missing\x20changesets\x20from\x20','_replayCachedMutations','HmacMD5','_compressMutationService','getTypeOfUnitDisposed$','PendingState','_onOffline','_onRemoteRejected','_singleActiveUnitService','isTransformMutationsWithChangesetFailure','closeSession','_commandService','_keyPriorReset','onSyncEditingCollabCursor','PENDING','randomBytes','LEAVE','HttpImport','rxjs','IUniverInstanceService','session.join-failed','CBC','_getUndoStack','transformSelections','_members$','CLOSE_ROOM','_doCreateSocket','_shouldReportTelemetry','patch','reduce','now','_initRequestHeader','HEARTBEAT_TIMEOUT','getTypeOfUnitAdded$','csRejEvent','BehaviorSubject','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_mode','UNAUTHENTICATED','reset','LIVESHARE_TERMINATE','unitId','NoPadding','_transformService','_localCacheService','padding','MSG_FOR_ERROR','Error\x20on\x20receiving\x20event','224126omCLjn','UNIVER_SLIDE','_key','transformUndoRedo','_collaborationSessionService','toString','uuidv4','/universer-api/snapshot','_createHmacHelper','stopTime','UniverNetworkPlugin','_initDependencies','DEFAULT_COLLAB_WEB_SOCKET_URL','_transformRemoteChangesetByIMECache','key','ciphertext','_status$','ENSURE_SNAPSHOT_EXECUTION','deserializeToCombResponse','OFFLINE','liveShareNewHost','_retryCount','[CollaborationEntity]','kdf','function','_startTelemetryCollaborationNewChangeset','_process','_socketReady','CONFLICT','conflict','_prevBlock','touchDependencies','mergeOverrideWithDependencies','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','from','getActiveSheet','RECV','localeService','_updateState','delay','_toggleOffline','@univerjs/drawing','DEFAULT_FILE_NAME','fetchMissingChangesets','_collaborationTimeoutTimer','reconnect','sequenceExecute','registerDependencies','UPDATE_CURSOR','listCollaborators','_createInitialStateImpl','_replaceFileID','session.room-cnt-exceeds','_substituteRedoStack','method','SerializableCipher','SHOULD_CLOSE_CONN','BlockCipherMode','emitEvent','SheetsSelectionsService','asObservable','__creator','max','UNIVER_COLLABORATION_CLIENT_PLUGIN','_snapshotService','_event$','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','filter','UNDEFINED','1613060HFUzcj','message$','YUUMI_SUBSCRIPTION_NOT_FOUND','UniverInstanceType','JSONX','_undoRedoService','init','_changesetSessionId','UNISCRIPT_RUN','_retryConnectingTimer','_getRedoStack','fetchThroughInterceptors','encode','RichTextEditingMutation','CONNECTOR_DATA_TOO_LARGE','getInterceptPoints','onSendChangeset','_localeService','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_sendHeartbeat','_hasher','YUUMI_ALL_TABLES_IS_INVALID','_type','LICENSE_IMPORT_SIZE_EXCEEDED','_checkMissing','getOwnPropertyDescriptor','onTransformIME','_listenToNetworkCondition','COLLAB_SUBMIT_CHANGESET_URL','_transformStack','toggleOnline','generateRandomId','list','_clearRedo','ALREADY_EXISTS','symbol','/universer-api/stream/file/upload','_clearUndo','next','ERROR_IMAGE_TYPE','_handler','_getUploadFileURL','reqId','deepClone','pending','SOCKET_FAILED','charCodeAt','size','defineProperty','CollaborationUIEventService','_updateStatus','result','authzUrl','SheetCollaborationEntity','put','getMemberID','/block/','getLatestCsReqIdBySid','session','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','capture','_sendingTimer','awaiting_with_pending','hasher','UserProfileImg','LIVESHARE_NEW_HOST','range','ImageUploadStatusType','COMPRESS_MUTATION_APPLY','hasOwnProperty','_sendHeartbeatTimer','random','open$','FAIL','getImageSourceCache','@univerjs/sheets','_onRemoteACK','createEncryptor','OTHER_CLIENTS_EDITING','unitId\x20is\x20not\x20found','getUnitId','join','SNAPSHOT_HAS_BEEN_REMOVED','_HTTPService','telemetry\x20info\x20is\x20not\x20initialized','merge','enableAuthServer','Subject','action','includes','get','downloadEndpointUrl','addImageSourceCache','avatar','csAckEvent','execute','AwaitingWithPendingState','_commentService','/universer-api/uniscript','__Key__','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_getCtorByUniverType','[CollaborationSessionService]','lib','_roomMembers','[DataLoaderService]','call','_waitCount','Failed\x20to\x20update\x20permission\x20point','concat','unitID','[SyncedState]:\x20received\x20rejection.','debug','fromCharCode','getCurrentRevOfUnit','_timeoutTimer','onCommentUpdate','CHANGESET_SHOULD_RETRY','BASE64','shareReplay','ITelemetryService','WordArray','target','RevisionService','clone','univer-pro.collaboration-client.network-condition.service','collabSubmitChangesetUrl','INVITE_CODE_REQUIRED','/resources','_unitInfo$','length','pad','_logService','snapshotServerUrl','dispose','socket$','readInt32LE','delete','DocCollaborationEntity','AuthzIoHttpService','AwaitingState','Decryptor','every','CollaborativeUndoRedoService','YUUMI_ASYNCIO_CANCELLED','_socketService','take','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','getImage','removeMember','close','_updateLocalCache','splice','hostname','CHANGESET_REVISION_CONFILICT','[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.','PERMISSION_DENIED','_xformMode','@univerjs/core','pipe','signUrlServerUrl','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','ISingleActiveUnitService','[PendingState]:\x20unhandled\x20univer\x20type:\x20','href','_getLoginPath','AES','/universer-api/authz','getSheetBlock','EmptyMutation','reject','extend','/role','sigBytes','floor','HEARTBEAT_TIMEOUT_KEY','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','25896piZmrL','_reverseMap','getFocusedUnit','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','roomInfos','onMissedChangesetFetched','SNAPSHOT_SERVER_URL_KEY','[SyncedState]:\x20received\x20acknowledgement.','_sheetTransformSelectionsService','requireSession','baseRev','error$','updateOfflineData','localCacheService','NO_OTHER_CLIENTS_EDITING','YUUMI_RATE_OVER_LIMIT','UNIVER_PROJECT','BufferedBlockAlgorithm','apply','_snapshotServerService','c1Prime','getTime','_telemetryInfo','_redoStacks','dispose$','CommandType','_tryEnsureSocket','_socket$','_map','SNAPSHOT_INVALID_SNAPSHOT','/fetchmissing?from=','HTTPService','_iv','_data','_clearCollaborationTimeoutTimer','FetchingMissState','initWorkbookPermissionChange','APPLY_REVISION_CONFILICT','_undoStacks','resourceIDs','_onConnectionFailed','loadOfflineData','batchAllowed','string','SheetPermissionInitController','NOT_FOUND','fromCollab','getDeserializedSheetBlock','LICENSE_EXPORT_SIZE_EXCEEDED','USERS_LEAVE','_instanceService','_collabSessionService','isPermissionRej','_transformSelections','charAt','newCsEvent','getGlobalObject','state$','_waitForHeartbeatResponse','_initUnitPermissionChange','INVALID_INVITE_CODE','format','Latin1','_throwTelemetryCollaborationNewChangeset','UnitStatus','ws://127.0.0.1:8000/universer-api/comb/connect','uploadFileServerUrl','_transformIMECache','YUUMI_NO_CUBOID_FOR_QUESTION','_collaborationUIEventService','LOGIN_URL_KEY','APPLY_REJECT','loadSheet','UPDATE_PERMISSION_OBJ','HEARTBEAT_INTERVAL','_queuedRemoteChangesets','_exhaustRemoteChangesetQueue','clear','FETCH_MISS','JOIN_ROOM_PERMISSION_DENIED','image/jpg','HmacSHA1','_entityInit$','_DEC_XFORM_MODE','selections','\x0aCurrent:\x20','_entities','close$','toDisposable','userID','Pkcs7','updatePermissionPoint','onTransformState','MOBILE_HAS_BEEN_BOUND','getSnapshotAPIPath','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','getConfig','onCommandExecuted','toggleOffline','onlyLocal','FETCH_MISSING','getCurrentSelections','BlockCipher','CollaborationEntity','_createHelper','_revisionService','disableLocalCache','auth.needGotoLoginAlert','collaboration-client.local-cache-service','/-/object/-/batch_allowed','_substituteUndoStack','decrypt','session.room-full','Encryptor','UNRECOGNIZED','ITransformService','_emitMembers','_onFetchMissResult','?url=','MUTATION','[PendingState]:\x20received\x20rejection.','UNKNOWN_CODE','_onMessage','572754TcxBoP','getCurrentUser','JOIN_ROOM_NOT_EXISTS','fetchMiss','ivSize','getResourcesRequest','WECHAT_HAS_BEEN_BOUND','has','UnitEmbedded','findIndex','_keySchedule','_init','SEND_CHANGESET_TIMEOUT','duration','_oKey','_clearTimeoutTimer','transformStack\x20failed!','CommentService','values','_getAPIPrefix','INVITE_CODE_HAS_BEEN_UES','_onConnectionOpen','onTransformRemoteChangesetByIMECache','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','createSocket','loadUnitOfRevision','prototype','@univerjs-pro/collaboration','takeUntil','mixIn','[CollaborationSession]','_clearRetryConnectingTimer','eventID','_minBufferSize','interceptor','_initMergeInterceptor','_parse','sid','_state','_createInitialState','pauseCollaboration','ERROR_EXCEED_SIZE','x-univer-host','[CollaborationState]:\x20apply\x20error!','CollaborationEvent','ICollaborationSocketService','IDLE','EvpKDF','src','[PendingState]:\x20received\x20acknowledgement.','Inject','YUUMI_AI_RUN_FAILED','_doFinalize','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','1044524MKTIss','_onRecvEvent','AWAITING','_pendingMutations','__esModule','@univerjs/docs','_lockTransition','onTransformSelections','/collaborator','/-/object/list','LIVESHARE_FETCH_OPERATIONS','session.room-permission-denied','data','subscribe','UnitSnapshot','_createHandler','_getSignURL','_nDataBytes','OfflineState','_univerInstanceService','IConfigService','Utf8','INVALID_ARGUMENT','COMMENT_UPDATE','_incrementRevisionNumber','forEach','_submitChangeset','/allowed','members','HttpExport','ERROR_IMAGE','SheetTransformSelectionsService','[UniverCollaborationClientPlugin]','CHANGESET_ACK','Rectangle','SHA1','cmd','add','JOIN','url','image/png','PSEUDO_FETCH_MISSING_RESULT','synced','collaboration_new_changeset','Base','@univerjs-pro/license','startsWith','_onLocalMutation','ILogService','_onConflict','LIVESHARE_OPERATION','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','&assign=','CollaborationUIEventId','leaveEvent','SetSelectionsOperation','Cipher','_acknowledgedAwaitingChangeset','?size=','commentUpdateEvent','_members','collaboratorID','_configService','IUndoRedoService','byteOffset','m2Prime','onRemoteRej','getCollabEntity','socket\x20open.','_showConflictNotification','GLOBAL_ROOMS_CNT_EXCEEDS','_invKeySchedule','_clearScheduledTask','unsubscribe','IMentionIOService','clamp','Malformed\x20UTF-8\x20data','SnapshotServerOverHTTPService','Injector','appendMutation','objects','onRemoteRetry','_getSendChangesetTimeout','collabWebSocketUrl','find','InsertSheetMutation','processBlock','_sender','@univerjs/telemetry','default','PERSON','requestParams','stringify','&to=','socket\x20close','HTTPRequest','UNIVER_DOC','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_removeRoom','encryptBlock','INVITE_CODE_ALREADY_BOUND','parse','_permissionService','awaiting','body','_doCryptBlock','SUCCUSS','reverse','_imageSourceCache','_config','status$','_telemetryService','_getCurrentRevision','COLLAB_WEB_SOCKET_URL_KEY','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','image/gif','ImageSourceType','saveChangeset','crypto','PY_RUNTIME_SCRIPT_ERROR','FileId','unit-cache-','Hasher','readAsDataURL','memberID','APPLY_DUPLICATED','1243067ozyfyX','resolve','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','textRanges','members$','replace','map','offline','onRemoteAck','commentUpdate$','JOIN_ROOM_FULL','complete','finalize','compose','exports','/universer-api/oidc/authpage','UNIVER_SHEET','_transitionLocked','SNAPSHOT_URL_KEY','isArray','byteLength','keySize','createCollaborator','_transformStateCache','updateCursorEvent','_toggleOnline','YUUMI_UNABLE_LOAD_URL','salt','_syncEditingCollabCursor','USER_NOT_INVITED_CODE','/universer-api/comb','IImageIoService','formatter','_onRemoteChangeset','retryConnectingInterval','CipherParams','title','state','getCollabEntity$','routeKey','_unitID','Disposable','_isPermissionRej','AUTHZ_URL_KEY','transformChangesets','saveImage','_sessionStatus$','/universer-api/file/{fileID}/sign-url','blockSize','error','indexOf','joinRsp','COMPRESS_MUTATION_SEND','_clearHeartbeatTimer','INetworkConditionService','onRemoteChangeset','LIVESHARE_REQUEST_HOST','\x0aAfter:\x20','SUBMIT_CHANGESET','_sessions','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','LICENSE_MAX_UNITS_EXCEEDED','setCurrentUser','_resendTimeout','create','RxDisposable','getUnitOnRev','_scheduleCollaborationTimeoutTimer','_memberService','loadUnit','objectID','mode','Optional','textEncoder','RETRY_CONNECTING_MAX_COUNT','UserManagerService','listRoles','submit\x20changeset\x20error!','CHANGESET_REJ','/object/','MergeInterceptorFactory','ISnapshotServerService','_nRounds','MentionIoHttpService','_unlockTransition','transformMutationsWithChangeset','_state$','entries','allowed','repeat','enc','_onJoinRoomEvent','CollaborationStatus','resend','228iGdYJT','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','setWaitCount','infoRsp','headers'];_0x7ec8=function(){return _0x1fbf4f;};return _0x7ec8();}var vi=Object[_0x22ac88(0x22c)],Fe=(_0x31b697,_0x1570fd,_0x27013f,_0x11d8e4)=>{var _0x1abb16=_0x22ac88;for(var _0x1214e7=_0x11d8e4>0x1?void 0x0:_0x11d8e4?vi(_0x1570fd,_0x27013f):_0x1570fd,_0x5b1844=_0x31b697[_0x1abb16(0x295)]-0x1,_0x51b9c6;_0x5b1844>=0x0;_0x5b1844--)(_0x51b9c6=_0x31b697[_0x5b1844])&&(_0x1214e7=_0x51b9c6(_0x1214e7)||_0x1214e7);return _0x1214e7;},j=(_0x4ac1cb,_0x2d1068)=>(_0x323486,_0x21ff41)=>_0x2d1068(_0x323486,_0x21ff41,_0x4ac1cb);exports[_0x22ac88(0x32b)]=class extends a['RxDisposable']{constructor(_0x41d6c9,_0xf5f1e5,_0xed73c7,_0xa8b789,_0x626a1c,_0x57770b,_0x52df60,_0x16d456,_0xf22ddc,_0x2ea58b,_0x33b476,_0x546bab,_0x5b5a48){var _0x351335=_0x22ac88;super(),A(this,_0x351335(0x449),new $[(_0x351335(0x53c))](null)),A(this,_0x351335(0x2fd),this['_state$'][_0x351335(0x20a)]()),A(this,'_state'),A(this,_0x351335(0x4b5),!0x1),A(this,_0x351335(0x21a),''),A(this,_0x351335(0x4a5),0x0),A(this,_0x351335(0x3e3),this[_0x351335(0x2fd)][_0x351335(0x2b2)]($[_0x351335(0x3f9)](_0x3e539d=>_0x3e539d?_0x3e539d['status']:Be[_0x351335(0x1e0)]),$[_0x351335(0x28a)](0x1))),A(this,'_transitionLocked',!0x1),A(this,_0x351335(0x4ad),[]),(this[_0x351335(0x281)]=_0x41d6c9,this[_0x351335(0x24d)]=_0xf5f1e5,this[_0x351335(0x229)]=_0xed73c7,this['_injector']=_0xa8b789,this['_compressMutationService']=_0x626a1c,this['_localeService']=_0x57770b,this[_0x351335(0x32d)]=_0x52df60,this['_eventService']=_0x16d456,this[_0x351335(0x297)]=_0xf22ddc,this[_0x351335(0x524)]=_0x2ea58b,this['_permissionService']=_0x33b476,this[_0x351335(0x521)]=_0x546bab,this[_0x351335(0x545)]=_0x5b5a48);}get[_0x22ac88(0x418)](){return this['_state'];}async[_0x22ac88(0x219)](){var _0x70198d=_0x22ac88;if(this[_0x70198d(0x418)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x70198d(0x34a)]();}[_0x22ac88(0x367)](){var _0x2c8e05=_0x22ac88;return this[_0x2c8e05(0x4b5)]=!0x0,a[_0x2c8e05(0x31c)](()=>{var _0x4d4f5d=_0x2c8e05;this[_0x4d4f5d(0x4b5)]=!0x1,this[_0x4d4f5d(0x310)]();});}['onLocalMutation'](_0x296a63){var _0x126573=_0x22ac88;this[_0x126573(0x3a4)](_0x296a63);}[_0x22ac88(0x1f4)](_0x1b1f57){var _0x341cd9=_0x22ac88;this[_0x341cd9(0x365)]=_0x1b1f57,this[_0x341cd9(0x449)][_0x341cd9(0x239)](_0x1b1f57);}async[_0x22ac88(0x34a)](){var _0x1388d5=_0x22ac88,_0x53da9c;this['_updateState'](await this[_0x1388d5(0x366)]()),this[_0x1388d5(0x521)]&&((_0x53da9c=this[_0x1388d5(0x521)])==null||_0x53da9c['editingUnit'](this['unitID']),this['disposeWithMe'](this[_0x1388d5(0x521)]['getUnitStatus$'](this['unitID'])[_0x1388d5(0x382)](_0x26ede3=>{var _0x35c563=_0x1388d5;this[_0x35c563(0x297)]['debug'](_0x35c563(0x1e3),'editing\x20status\x20changed\x20to',_0x26ede3),_0x26ede3===je['OTHER_CLIENTS_EDITING']?(this[_0x35c563(0x4bb)]['emitEvent']({'id':Z[_0x35c563(0x48f)]}),this[_0x35c563(0x3db)][_0x35c563(0x31f)](new X[(_0x35c563(0x50a))](this[_0x35c563(0x281)])['id'],!0x1),this['_permissionService']['setShowComponents'](!0x1)):(this[_0x35c563(0x3db)][_0x35c563(0x31f)](new X[(_0x35c563(0x50a))](this[_0x35c563(0x281)])['id'],!0x0),this[_0x35c563(0x3db)]['setShowComponents'](!0x0));})));let _0x5e6a54=!0x1;return this[_0x1388d5(0x4cf)](this['session'][_0x1388d5(0x4d4)][_0x1388d5(0x382)](_0x2eed9f=>{var _0x35dd32=_0x1388d5;_0x2eed9f===re[_0x35dd32(0x4f3)]?this[_0x35dd32(0x40c)](_0x5e6a54):_0x2eed9f===re['OFFLINE']&&(_0x5e6a54=!0x0,this[_0x35dd32(0x1f6)]());})),this[_0x1388d5(0x4cf)](this[_0x1388d5(0x24d)][_0x1388d5(0x4a7)][_0x1388d5(0x382)](_0x3c2699=>{var _0x22a4b3=_0x1388d5;try{switch(_0x3c2699[_0x22a4b3(0x35f)]){case I[_0x22a4b3(0x36b)][_0x22a4b3(0x475)]:{this[_0x22a4b3(0x414)](I[_0x22a4b3(0x499)](_0x3c2699[_0x22a4b3(0x381)]));break;}case I[_0x22a4b3(0x36b)][_0x22a4b3(0x396)]:{this['_onRemoteACK'](_0x3c2699[_0x22a4b3(0x381)]);break;}case I[_0x22a4b3(0x36b)][_0x22a4b3(0x441)]:{this[_0x22a4b3(0x520)]();break;}case I['CollaborationEvent'][_0x22a4b3(0x288)]:{this['_onRemoteRetry'](_0x3c2699[_0x22a4b3(0x381)]);break;}case I[_0x22a4b3(0x36b)][_0x22a4b3(0x39e)]:{this[_0x22a4b3(0x339)](_0x3c2699[_0x22a4b3(0x381)][_0x22a4b3(0x4e0)][_0x22a4b3(0x3f9)](_0x25c09d=>I['parseProtocolChangeset'](_0x25c09d)));break;}case I[_0x22a4b3(0x36b)][_0x22a4b3(0x509)]:{this[_0x22a4b3(0x520)]({'isPermissionRej':!0x0});break;}case I[_0x22a4b3(0x36b)][_0x22a4b3(0x21b)]:break;}}catch(_0x2fc5c3){throw console['error'](_0x22a4b3(0x548),_0x2fc5c3),_0x2fc5c3;}})),this['_state'];}[_0x22ac88(0x447)](){var _0x3f69c2=_0x22ac88;this[_0x3f69c2(0x404)]=!0x1;}[_0x22ac88(0x37b)](){var _0x71fd56=_0x22ac88;if(this[_0x71fd56(0x404)])throw new Error(_0x71fd56(0x2ae));this[_0x71fd56(0x404)]=!0x0;}[_0x22ac88(0x3a4)](_0x69c845){var _0x16e664=_0x22ac88;this[_0x16e664(0x37b)](),this[_0x16e664(0x1f4)](this['_state'][_0x16e664(0x3c4)](_0x69c845)),this[_0x16e664(0x447)]();}[_0x22ac88(0x414)](_0x4e5d40){var _0x19fd9f=_0x22ac88;if(!(_0x4e5d40[_0x19fd9f(0x500)]<=this[_0x19fd9f(0x32d)][_0x19fd9f(0x285)](this[_0x19fd9f(0x281)]))){if(this[_0x19fd9f(0x4b5)]){this[_0x19fd9f(0x4ad)][_0x19fd9f(0x4a2)](_0x4e5d40);return;}this[_0x19fd9f(0x4aa)](_0x4e5d40);}}[_0x22ac88(0x310)](){var _0x57d21c=_0x22ac88;this[_0x57d21c(0x4ad)]['forEach'](_0x4ccfe0=>this[_0x57d21c(0x4aa)](_0x4ccfe0)),this[_0x57d21c(0x4ad)]=[];}[_0x22ac88(0x4aa)](_0x1e74dd){var _0x58a805=_0x22ac88;const _0x337434=this[_0x58a805(0x51c)][_0x58a805(0x361)][_0x58a805(0x21e)](this[_0x58a805(0x51c)][_0x58a805(0x361)][_0x58a805(0x222)]()[_0x58a805(0x257)])(_0x1e74dd[_0x58a805(0x513)],null)||_0x1e74dd[_0x58a805(0x513)],_0x21f274={..._0x1e74dd,'mutations':_0x337434};this[_0x58a805(0x37b)](),this[_0x58a805(0x1f4)](this[_0x58a805(0x365)][_0x58a805(0x42a)](_0x21f274)),this[_0x58a805(0x447)]();}[_0x22ac88(0x25f)](_0x31b6ee){var _0x7a4591=_0x22ac88;this[_0x7a4591(0x37b)](),this[_0x7a4591(0x1f4)](this[_0x7a4591(0x365)][_0x7a4591(0x3fb)](_0x31b6ee)),this['_unlockTransition']();}[_0x22ac88(0x520)](_0x55c4e7){var _0x3f22b4=_0x22ac88;this[_0x3f22b4(0x37b)](),this[_0x3f22b4(0x1f4)](this[_0x3f22b4(0x365)]['onRemoteRej'](_0x55c4e7)),this['_unlockTransition']();}[_0x22ac88(0x4c0)](_0x2d35f4){var _0x298f67=_0x22ac88;this['_lockTransition'](),this[_0x298f67(0x1f4)](this[_0x298f67(0x365)]['onRemoteRetry'](_0x2d35f4)),this['_unlockTransition']();}['_onFetchMissResult'](_0x31dae3){var _0x1b0f50=_0x22ac88;if(!(this['_state']instanceof exports[_0x1b0f50(0x2e7)]))throw new TypeError(_0x1b0f50(0x467));const _0x5c7fdc=_0x31dae3[_0x1b0f50(0x3f9)](_0x113b7a=>{var _0x1bf2c1=_0x1b0f50;const _0x384eef=this[_0x1bf2c1(0x51c)]['interceptor']['fetchThroughInterceptors'](this[_0x1bf2c1(0x51c)][_0x1bf2c1(0x361)][_0x1bf2c1(0x222)]()['COMPRESS_MUTATION_APPLY'])(_0x113b7a[_0x1bf2c1(0x513)],null)||_0x113b7a[_0x1bf2c1(0x513)];return{..._0x113b7a,'mutations':_0x384eef};});this[_0x1b0f50(0x37b)](),this[_0x1b0f50(0x1f4)](this['_state'][_0x1b0f50(0x2c9)](_0x5c7fdc)),this[_0x1b0f50(0x447)]();}['_toggleOffline'](){var _0x485392=_0x22ac88;this[_0x485392(0x37b)](),this['_updateState'](this[_0x485392(0x365)][_0x485392(0x326)]()),this[_0x485392(0x447)]();}[_0x22ac88(0x40c)](_0x14297a=!0x1){var _0xa5ccb3=_0x22ac88;this[_0xa5ccb3(0x37b)](),this[_0xa5ccb3(0x1f4)](this[_0xa5ccb3(0x365)][_0xa5ccb3(0x231)]()),this[_0xa5ccb3(0x447)]();const _0x2c1099=this['_state'];_0x14297a&&_0x2c1099 instanceof exports['SyncedState']&&(this[_0xa5ccb3(0x37b)](),this[_0xa5ccb3(0x1f4)](_0x2c1099[_0xa5ccb3(0x342)]()),this[_0xa5ccb3(0x447)]());}async[_0x22ac88(0x366)](){return new Promise(_0x4fb7e0=>{var _0x4d6b40=_0xfcb9;this[_0x4d6b40(0x24d)][_0x4d6b40(0x4d4)][_0x4d6b40(0x2b2)]($[_0x4d6b40(0x2a5)](0x1))[_0x4d6b40(0x382)](async _0x5b5848=>{var _0x231c02=_0x4d6b40;_0x4fb7e0(await this['_createInitialStateImpl'](_0x5b5848===re[_0x231c02(0x4f3)]));});});}[_0x22ac88(0x384)](){var _0x5bcf46=_0x22ac88;const _0x391848=this[_0x5bcf46(0x281)];return{'onStateChange':(_0x2f7a5e,_0x5d9bef)=>{var _0x5235b1=_0x5bcf46;if(_0x2f7a5e!==this[_0x5235b1(0x365)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x2f7a5e[_0x5235b1(0x4c7)]+_0x5235b1(0x42c)+_0x5d9bef[_0x5235b1(0x4c7)]+_0x5235b1(0x319)+this[_0x5235b1(0x365)]['status']);this['_updateState'](_0x5d9bef);},'onSendChangeset':_0x2fe1ef=>{var _0x574b53=_0x5bcf46;_0x2fe1ef[_0x574b53(0x364)]||(_0x2fe1ef[_0x574b53(0x364)]=this[_0x574b53(0x21a)],_0x2fe1ef[_0x574b53(0x23d)]=++this[_0x574b53(0x4a5)]);const _0x36c7df={'eventID':I[_0x574b53(0x36b)][_0x574b53(0x42d)],'data':{'unitID':_0x2fe1ef[_0x574b53(0x281)],'unitType':this[_0x574b53(0x229)],'changeset':_0x2fe1ef,'memberID':this[_0x574b53(0x24d)]['getMemberID']()}};this[_0x574b53(0x24d)][_0x574b53(0x482)](_0x36c7df,this[_0x574b53(0x281)]);},'onMissingChangesets':({from:_0x402034,to:_0x4d9101})=>{var _0x19f108=_0x5bcf46;this[_0x19f108(0x297)]['debug'](_0x19f108(0x1e3),_0x19f108(0x519)+_0x402034+'\x20to\x20'+_0x4d9101);const _0x342c17={'eventID':I[_0x19f108(0x36b)]['FETCH_MISSING'],'data':{'unitID':_0x391848,'unitType':this['_type'],'from':_0x402034,'to':_0x4d9101}};this['session'][_0x19f108(0x482)](_0x342c17,this[_0x19f108(0x281)]);}};}async[_0x22ac88(0x200)](_0x1c93b2){var _0x5156a0=_0x22ac88,_0x5d30aa,_0x30a823,_0x4e62cf;const _0x2cd92d=await((_0x5d30aa=this[_0x5156a0(0x545)])==null?void 0x0:_0x5d30aa[_0x5156a0(0x2ed)](this['unitID'])),_0x20eb0c=(_0x30a823=_0x2cd92d==null?void 0x0:_0x2cd92d['mutations'])!=null?_0x30a823:[],_0x36d585=(_0x4e62cf=_0x2cd92d==null?void 0x0:_0x2cd92d[_0x5156a0(0x4ff)])!=null?_0x4e62cf:null,_0x492da2=!!(_0x36d585!=null&&_0x36d585['sid'])&&!!(_0x36d585!=null&&_0x36d585[_0x5156a0(0x23d)]);this['_changesetSessionId']=_0x492da2?_0x36d585[_0x5156a0(0x364)]:I[_0x5156a0(0x1d3)](),this[_0x5156a0(0x4a5)]=_0x492da2?_0x36d585['reqId']:0x0;const _0xdab006=this[_0x5156a0(0x281)];try{this[_0x5156a0(0x51a)](_0x36d585,_0x20eb0c);}catch(_0x1dabaa){this[_0x5156a0(0x297)][_0x5156a0(0x424)](_0x1dabaa);}const _0x55b633=this[_0x5156a0(0x384)]();if(_0x1c93b2){const _0x49beb8=Ot(this[_0x5156a0(0x459)],_0xdab006,this[_0x5156a0(0x229)],_0x36d585,_0x20eb0c,_0x55b633);return _0x49beb8 instanceof exports[_0x5156a0(0x51e)]?_0x49beb8[_0x5156a0(0x483)]():(_0x49beb8 instanceof exports[_0x5156a0(0x273)]||_0x49beb8 instanceof exports[_0x5156a0(0x29f)])&&_0x49beb8[_0x5156a0(0x450)](),_0x49beb8;}return this[_0x5156a0(0x459)][_0x5156a0(0x515)](exports[_0x5156a0(0x387)],_0xdab006,this[_0x5156a0(0x229)],_0x36d585,_0x20eb0c,_0x55b633);}['_replayCachedMutations'](_0xf2aac9,_0x2957e3){var _0x2ddc94=_0x22ac88,_0x5e9adf,_0xf862ae;const _0xaa51ee=this[_0x2ddc94(0x51c)]['interceptor'][_0x2ddc94(0x21e)](this[_0x2ddc94(0x51c)][_0x2ddc94(0x361)][_0x2ddc94(0x222)]()['COMPRESS_MUTATION_APPLY']);(_0x5e9adf=_0xaa51ee((_0xf2aac9==null?void 0x0:_0xf2aac9['mutations'])||[],null))==null||_0x5e9adf[_0x2ddc94(0x38e)](_0x2b4f4a=>this[_0x2ddc94(0x524)]['executeCommand'](_0x2b4f4a['id'],_0x2b4f4a[_0x2ddc94(0x4c3)])),(_0xf862ae=_0xaa51ee(_0x2957e3||[],null))==null||_0xf862ae['forEach'](_0x5825f0=>this[_0x2ddc94(0x524)][_0x2ddc94(0x463)](_0x5825f0['id'],_0x5825f0[_0x2ddc94(0x4c3)]));}},exports[_0x22ac88(0x32b)]=Fe([j(0x3,a[_0x22ac88(0x371)](a[_0x22ac88(0x3c3)])),j(0x4,a[_0x22ac88(0x371)](I[_0x22ac88(0x512)])),j(0x5,a[_0x22ac88(0x371)](a[_0x22ac88(0x474)])),j(0x6,a[_0x22ac88(0x371)](I[_0x22ac88(0x28e)])),j(0x7,a[_0x22ac88(0x371)](ee)),j(0x8,a[_0x22ac88(0x3a5)]),j(0x9,a[_0x22ac88(0x4f2)]),j(0xa,a['IPermissionService']),j(0xb,a[_0x22ac88(0x43b)](de)),j(0xc,a[_0x22ac88(0x43b)](q))],exports[_0x22ac88(0x32b)]),exports[_0x22ac88(0x29d)]=class extends exports['CollaborationEntity']{constructor(_0x15afc1,_0x41c2b1,_0x345282,_0x3167db,_0x1724b5,_0x4fb778,_0x49412e,_0x232631,_0xb01bd0,_0x369b0e,_0x33a7ab,_0x2fabe0,_0x494f6d){var _0x5b0f97=_0x22ac88;super(_0x15afc1,_0x345282,_0x41c2b1,_0x3167db,_0x1724b5,_0x4fb778,_0x49412e,_0x232631,_0xb01bd0,_0x369b0e,_0x33a7ab,_0x2fabe0,_0x494f6d),A(this,'_handlerCallback',null),(this[_0x5b0f97(0x281)]=_0x15afc1,this[_0x5b0f97(0x48e)]=_0x41c2b1);}['addHandlerCallback'](_0x34408a){var _0x5d319c=_0x22ac88;this[_0x5d319c(0x4a3)]=_0x34408a;}[_0x22ac88(0x299)](){var _0x37434a=_0x22ac88;this[_0x37434a(0x4a3)]=null,super[_0x37434a(0x299)]();}[_0x22ac88(0x384)](){var _0x3f7c48=_0x22ac88;const _0x7cfdf4=super[_0x3f7c48(0x384)]();return _0x7cfdf4[_0x3f7c48(0x22d)]=_0xaadb03=>{var _0xcf6939=_0x3f7c48,_0x592543,_0x15a8fd;return(_0x15a8fd=(_0x592543=this['_handlerCallback'])==null?void 0x0:_0x592543[_0xcf6939(0x22d)])==null?void 0x0:_0x15a8fd[_0xcf6939(0x27d)](_0x592543,_0xaadb03);},_0x7cfdf4[_0x3f7c48(0x320)]=_0x20df1b=>{var _0x5808ef=_0x3f7c48,_0x26b01f,_0x43bced;return(_0x43bced=(_0x26b01f=this[_0x5808ef(0x4a3)])==null?void 0x0:_0x26b01f[_0x5808ef(0x320)])==null?void 0x0:_0x43bced[_0x5808ef(0x27d)](_0x26b01f,_0x20df1b);},_0x7cfdf4['onTransformSelections']=_0x41ac33=>{var _0x14fdde=_0x3f7c48,_0x184827,_0x252763;return(_0x252763=(_0x184827=this[_0x14fdde(0x4a3)])==null?void 0x0:_0x184827[_0x14fdde(0x37c)])==null?void 0x0:_0x252763[_0x14fdde(0x27d)](_0x184827,_0x41ac33);},_0x7cfdf4[_0x3f7c48(0x526)]=_0x32fecd=>{var _0x25f90b=_0x3f7c48,_0x483540,_0x2d399e;return(_0x2d399e=(_0x483540=this[_0x25f90b(0x4a3)])==null?void 0x0:_0x483540[_0x25f90b(0x526)])==null?void 0x0:_0x2d399e['call'](_0x483540,_0x32fecd);},_0x7cfdf4[_0x3f7c48(0x355)]=_0x3dacde=>{var _0x285bae=_0x3f7c48,_0x2be344,_0x18ffbb,_0x223bf7;if(!((_0x2be344=this[_0x285bae(0x4a3)])!=null&&_0x2be344[_0x285bae(0x355)]))throw new Error(_0x285bae(0x452));return(_0x223bf7=(_0x18ffbb=this[_0x285bae(0x4a3)])==null?void 0x0:_0x18ffbb['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x223bf7[_0x285bae(0x27d)](_0x18ffbb,_0x3dacde);},_0x7cfdf4['onTransformRemoteChangesetByStateCache']=_0x2273cb=>{var _0x51ac5e=_0x3f7c48,_0x548383,_0x5839aa,_0x51aacf;if(!((_0x548383=this[_0x51ac5e(0x4a3)])!=null&&_0x548383[_0x51ac5e(0x4ab)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x51aacf=(_0x5839aa=this[_0x51ac5e(0x4a3)])==null?void 0x0:_0x5839aa['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x51aacf[_0x51ac5e(0x27d)](_0x5839aa,_0x2273cb);},_0x7cfdf4;}async[_0x22ac88(0x34a)](){var _0x5a9d33=_0x22ac88;const _0x489b1b=await super[_0x5a9d33(0x34a)]();return this[_0x5a9d33(0x4cf)](this[_0x5a9d33(0x524)][_0x5a9d33(0x325)]((_0x1ed1cf,_0x2aa8ef)=>{var _0x709b2f=_0x5a9d33;if(_0x1ed1cf[_0x709b2f(0x48e)]!==a[_0x709b2f(0x2dd)][_0x709b2f(0x33b)]||_0x2aa8ef!=null&&_0x2aa8ef[_0x709b2f(0x2f2)]||_0x2aa8ef!=null&&_0x2aa8ef[_0x709b2f(0x327)]||_0x1ed1cf['id']===ht[_0x709b2f(0x220)]['id'])return;const _0xfdd5e8=_0x1ed1cf['params'];if((_0xfdd5e8==null?void 0x0:_0xfdd5e8['unitId'])!==this['unitID'])return;const _0x1bf693=_0x1ed1cf,_0x26e30b=this[_0x709b2f(0x51c)][_0x709b2f(0x361)][_0x709b2f(0x21e)](this[_0x709b2f(0x51c)][_0x709b2f(0x361)][_0x709b2f(0x222)]()[_0x709b2f(0x427)])([_0x1bf693],null)||[_0x1bf693];this[_0x709b2f(0x3a4)](_0x26e30b[0x0]);})),_0x489b1b;}},exports[_0x22ac88(0x29d)]=Fe([j(0x3,a[_0x22ac88(0x371)](a[_0x22ac88(0x3c3)])),j(0x4,a[_0x22ac88(0x371)](I[_0x22ac88(0x512)])),j(0x5,a[_0x22ac88(0x371)](a[_0x22ac88(0x474)])),j(0x6,a[_0x22ac88(0x371)](I[_0x22ac88(0x28e)])),j(0x7,a[_0x22ac88(0x371)](ee)),j(0x8,a[_0x22ac88(0x3a5)]),j(0x9,a[_0x22ac88(0x4f2)]),j(0xa,a[_0x22ac88(0x4b4)]),j(0xb,a[_0x22ac88(0x43b)](de)),j(0xc,a[_0x22ac88(0x43b)](q))],exports['DocCollaborationEntity']),exports[_0x22ac88(0x248)]=class extends exports['CollaborationEntity']{constructor(_0x5d9b06,_0x49f68f,_0x1e3207,_0x1b8ddb,_0x493024,_0x1200e7,_0x43da0a,_0x214b36,_0x17290b,_0x18683a,_0x5b8a98,_0x4dddc2,_0x2c5648,_0x5866c1){var _0xa6de22=_0x22ac88;super(_0x5d9b06,_0x1e3207,_0x49f68f,_0x1b8ddb,_0x493024,_0x1200e7,_0x43da0a,_0x17290b,_0x18683a,_0x5b8a98,_0x4dddc2,_0x2c5648,_0x5866c1),this[_0xa6de22(0x281)]=_0x5d9b06,this[_0xa6de22(0x48e)]=_0x49f68f,this[_0xa6de22(0x2cc)]=_0x214b36;}[_0x22ac88(0x384)](){var _0x495975=_0x22ac88;const _0x1f341d=super[_0x495975(0x384)]();return _0x1f341d[_0x495975(0x37c)]=_0x3172bb=>this[_0x495975(0x2cc)][_0x495975(0x530)](_0x3172bb),_0x1f341d;}async[_0x22ac88(0x34a)](){var _0x129439=_0x22ac88;const _0x4916dd=await super[_0x129439(0x34a)]();return this[_0x129439(0x4cf)](this['_commandService'][_0x129439(0x325)]((_0x426be7,_0x299f9c)=>{var _0x203afd=_0x129439;if(_0x426be7['type']!==a['CommandType'][_0x203afd(0x33b)]||_0x299f9c!=null&&_0x299f9c['fromCollab']||_0x299f9c!=null&&_0x299f9c['onlyLocal'])return;const _0x148778=_0x426be7[_0x203afd(0x4c3)];if((_0x148778==null?void 0x0:_0x148778[_0x203afd(0x542)])!==this[_0x203afd(0x281)])return;const _0x5c34bd=_0x426be7,_0x5562ad=this['_compressMutationService']['interceptor'][_0x203afd(0x21e)](this['_compressMutationService'][_0x203afd(0x361)][_0x203afd(0x222)]()[_0x203afd(0x427)])([_0x5c34bd],null)||[_0x5c34bd];this['_onLocalMutation'](_0x5562ad[0x0]);})),_0x4916dd;}},exports[_0x22ac88(0x248)]=Fe([j(0x3,a[_0x22ac88(0x371)](a[_0x22ac88(0x3c3)])),j(0x4,a[_0x22ac88(0x371)](I[_0x22ac88(0x512)])),j(0x5,a[_0x22ac88(0x371)](a[_0x22ac88(0x474)])),j(0x6,a['Inject'](I[_0x22ac88(0x28e)])),j(0x7,a[_0x22ac88(0x371)](exports[_0x22ac88(0x394)])),j(0x8,a['Inject'](ee)),j(0x9,a[_0x22ac88(0x3a5)]),j(0xa,a['ICommandService']),j(0xb,a[_0x22ac88(0x4b4)]),j(0xc,a[_0x22ac88(0x43b)](de)),j(0xd,a['Optional'](q))],exports['SheetCollaborationEntity']);var Si=Object['getOwnPropertyDescriptor'],fi=(_0x5db195,_0x4f7bcb,_0x51a247,_0x5050c3)=>{var _0x52fb57=_0x22ac88;for(var _0x365071=_0x5050c3>0x1?void 0x0:_0x5050c3?Si(_0x4f7bcb,_0x51a247):_0x4f7bcb,_0x12edfb=_0x5db195[_0x52fb57(0x295)]-0x1,_0x15a791;_0x12edfb>=0x0;_0x12edfb--)(_0x15a791=_0x5db195[_0x12edfb])&&(_0x365071=_0x15a791(_0x365071)||_0x365071);return _0x365071;},Se=(_0x4e8a60,_0x3caca5)=>(_0x51eb71,_0x3965c2)=>_0x3caca5(_0x51eb71,_0x3965c2,_0x4e8a60);exports[_0x22ac88(0x48c)]=class extends a[_0x22ac88(0x434)]{constructor(_0x524df1,_0x10cd6a,_0x35400c,_0x3301ec){var _0x159404=_0x22ac88,_0x504341;super(),A(this,_0x159404(0x31a),new Map()),A(this,_0x159404(0x316),new $['Subject']()),A(this,_0x159404(0x49b),this[_0x159404(0x316)][_0x159404(0x20a)]()),(this[_0x159404(0x459)]=_0x524df1,this[_0x159404(0x2f7)]=_0x10cd6a,this[_0x159404(0x3b3)]=_0x35400c,this['_univerInstanceService']=_0x3301ec,((_0x504341=this['_configService'][_0x159404(0x324)](K))==null?void 0x0:_0x504341['enableCollaboration'])!==!0x1&&this[_0x159404(0x34a)]());}['dispose'](){var _0x432fb4=_0x22ac88;super[_0x432fb4(0x299)](),this[_0x432fb4(0x31a)][_0x432fb4(0x38e)](_0x2f5acf=>_0x2f5acf[_0x432fb4(0x299)]()),this['_entities'][_0x432fb4(0x311)]();}['getCollabEntity'](_0x36716c){var _0x420e1a=_0x22ac88,_0xd21835;return(_0xd21835=this[_0x420e1a(0x31a)][_0x420e1a(0x26d)](_0x36716c))!=null?_0xd21835:null;}[_0x22ac88(0x419)](_0x54a330){var _0x335abb=_0x22ac88;const _0x22dd46=this[_0x335abb(0x3b8)](_0x54a330);return _0x22dd46?$['of'](_0x22dd46):this[_0x335abb(0x316)][_0x335abb(0x2b2)](V['filter'](_0x515f1f=>_0x515f1f[_0x335abb(0x281)]===_0x54a330));}['readyForCollab'](_0x169566){var _0x25692f=_0x22ac88;return $['firstValueFrom'](this[_0x25692f(0x419)](_0x169566)[_0x25692f(0x2b2)](V[_0x25692f(0x3f9)](()=>{})));}[_0x22ac88(0x34a)](){var _0x4d08bc=_0x22ac88;this[_0x4d08bc(0x388)][_0x4d08bc(0x53a)](a[_0x4d08bc(0x216)][_0x4d08bc(0x403)])[_0x4d08bc(0x2b2)]($[_0x4d08bc(0x35b)](this[_0x4d08bc(0x2dc)]),V['delay'](0x10))['subscribe'](async _0x1c438f=>{var _0x1ca6eb=_0x4d08bc;const _0x15e522=_0x1c438f[_0x1ca6eb(0x263)](),_0x18b670=await this['_startCollaboration'](_0x15e522,J['UNIVER_SHEET']);this['_entities'][_0x1ca6eb(0x506)](_0x15e522,_0x18b670);}),this[_0x4d08bc(0x388)][_0x4d08bc(0x53a)](a[_0x4d08bc(0x216)][_0x4d08bc(0x3d5)])['pipe']($[_0x4d08bc(0x35b)](this[_0x4d08bc(0x2dc)]),V[_0x4d08bc(0x1f5)](0x10))['pipe'](V[_0x4d08bc(0x211)](_0x51ae03=>!_0x51ae03[_0x4d08bc(0x263)]()[_0x4d08bc(0x3a3)]('__')))[_0x4d08bc(0x382)](async _0x585aaf=>{var _0x237d56=_0x4d08bc;const _0x4b2578=_0x585aaf[_0x237d56(0x263)](),_0x5358d6=await this[_0x237d56(0x4c4)](_0x4b2578,J[_0x237d56(0x3d5)]);this[_0x237d56(0x31a)][_0x237d56(0x506)](_0x4b2578,_0x5358d6);}),$[_0x4d08bc(0x268)](this['_univerInstanceService'][_0x4d08bc(0x51d)](a[_0x4d08bc(0x216)][_0x4d08bc(0x403)]),this[_0x4d08bc(0x388)][_0x4d08bc(0x51d)](a['UniverInstanceType'][_0x4d08bc(0x3d5)]))[_0x4d08bc(0x2b2)]($[_0x4d08bc(0x35b)](this[_0x4d08bc(0x2dc)]))['subscribe'](_0x15c908=>{var _0xa283f5=_0x4d08bc;const _0x509f5c=_0x15c908[_0xa283f5(0x263)](),_0x32ac6b=this[_0xa283f5(0x31a)][_0xa283f5(0x26d)](_0x509f5c);_0x32ac6b&&(_0x32ac6b[_0xa283f5(0x299)](),this['_entities']['delete'](_0x509f5c));});}async[_0x22ac88(0x4c4)](_0x2fabf7,_0x121c1e){var _0x4d59fb=_0x22ac88;const _0x1542d8=await this[_0x4d59fb(0x2f7)]['requireSession'](_0x2fabf7),_0x1cdcec=this['_injector'][_0x4d59fb(0x515)](this[_0x4d59fb(0x278)](_0x121c1e),_0x2fabf7,_0x121c1e,_0x1542d8);return await _0x1cdcec[_0x4d59fb(0x219)](),this[_0x4d59fb(0x316)]['next'](_0x1cdcec),_0x1cdcec;}['_getCtorByUniverType'](_0xdbc0d2){var _0x227f3e=_0x22ac88;switch(_0xdbc0d2){case J['UNIVER_DOC']:return exports[_0x227f3e(0x29d)];case J[_0x227f3e(0x403)]:return exports['SheetCollaborationEntity'];default:throw new Error(_0x227f3e(0x4fe)+_0xdbc0d2);}}},exports[_0x22ac88(0x48c)]=fi([Se(0x0,a[_0x22ac88(0x371)](a[_0x22ac88(0x3c3)])),Se(0x1,a[_0x22ac88(0x371)](exports[_0x22ac88(0x4df)])),Se(0x2,a[_0x22ac88(0x389)]),Se(0x3,a[_0x22ac88(0x52c)])],exports[_0x22ac88(0x48c)]);var pi=Object['getOwnPropertyDescriptor'],Ii=(_0x54b3b7,_0x2d8b58,_0x2525a3,_0x4d7ac3)=>{for(var _0x4a1d11=_0x4d7ac3>0x1?void 0x0:_0x4d7ac3?pi(_0x2d8b58,_0x2525a3):_0x2d8b58,_0x4a07ba=_0x54b3b7['length']-0x1,_0x5b5cd5;_0x4a07ba>=0x0;_0x4a07ba--)(_0x5b5cd5=_0x54b3b7[_0x4a07ba])&&(_0x4a1d11=_0x5b5cd5(_0x4a1d11)||_0x4a1d11);return _0x4a1d11;},Ye=(_0xa37fd1,_0x114e8f)=>(_0x2169a8,_0x511e78)=>_0x114e8f(_0x2169a8,_0x511e78,_0xa37fd1);const gi=_0x22ac88(0x1f8),Ei='Univer';let xe=class extends a[_0x22ac88(0x41c)]{constructor(_0x183e24,_0x2af507){var _0x3520a0=_0x22ac88;super(),this['_univerInstanceService']=_0x183e24,this[_0x3520a0(0x3b3)]=_0x2af507,this['_init']();}[_0x22ac88(0x34a)](){var _0x1a0bb6=_0x22ac88;this[_0x1a0bb6(0x4cf)](this['_univerInstanceService'][_0x1a0bb6(0x469)][_0x1a0bb6(0x382)](()=>{var _0x21cbe3=_0x1a0bb6,_0xa3f627;const _0x1eb984=this['_univerInstanceService'][_0x21cbe3(0x2c6)]();let _0x27ce39=(_0xa3f627=this[_0x21cbe3(0x3b3)][_0x21cbe3(0x324)](gi))!=null?_0xa3f627:Ei;_0x1eb984 instanceof a['Workbook']&&(_0x27ce39=_0x1eb984[_0x21cbe3(0x508)]),document[_0x21cbe3(0x417)]=_0x27ce39;}));}};xe=Ii([Ye(0x0,a[_0x22ac88(0x52c)]),Ye(0x1,a['IConfigService'])],xe);var mi=Object[_0x22ac88(0x22c)],Ci=(_0x761874,_0x373c11,_0x1970b2,_0x545b54)=>{var _0x8b09e6=_0x22ac88;for(var _0x2f2cb9=_0x545b54>0x1?void 0x0:_0x545b54?mi(_0x373c11,_0x1970b2):_0x373c11,_0x3e727a=_0x761874[_0x8b09e6(0x295)]-0x1,_0x481d24;_0x3e727a>=0x0;_0x3e727a--)(_0x481d24=_0x761874[_0x3e727a])&&(_0x2f2cb9=_0x481d24(_0x2f2cb9)||_0x2f2cb9);return _0x2f2cb9;},Ae=(_0x478c01,_0x4f6e99)=>(_0x30ac6b,_0x16871e)=>_0x4f6e99(_0x30ac6b,_0x16871e,_0x478c01);let ye=class{constructor(_0x312352,_0x3bc86b,_0x394376){var _0x3be224=_0x22ac88;this['_configService']=_0x312352,this[_0x3be224(0x4f0)]=_0x3bc86b,this[_0x3be224(0x1f3)]=_0x394376,this[_0x3be224(0x219)]();}['init'](){var _0x5f2986=_0x22ac88;this['_httpService'][_0x5f2986(0x504)]({'priority':0x1,'interceptor':(_0x3235ee,_0x1947cf)=>_0x1947cf(_0x3235ee)[_0x5f2986(0x2b2)]($[_0x5f2986(0x50c)](async _0x4236d1=>{var _0x24003a=_0x5f2986;const _0x2fd255=_0x4236d1;if(_0x2fd255[_0x24003a(0x4c7)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x24003a(0x4e6)](this[_0x24003a(0x1f3)]['t'](_0x24003a(0x32f)))){const _0x139d42=window['encodeURIComponent'](window[_0x24003a(0x485)][_0x24003a(0x2b7)]);window['location'][_0x24003a(0x2b7)]=this[_0x24003a(0x2b8)]()+_0x24003a(0x33a)+_0x139d42;}}return _0x2fd255;}))});}[_0x22ac88(0x2b8)](){var _0x12b365=_0x22ac88,_0x31ff97,_0x41744c;const _0x16374b=this[_0x12b365(0x3b3)]['getConfig'](It),_0x157373=this['_configService'][_0x12b365(0x324)](K);return(_0x41744c=(_0x31ff97=_0x157373==null?void 0x0:_0x157373[_0x12b365(0x4c9)])!=null?_0x31ff97:_0x16374b)!=null?_0x41744c:Wt;}};ye=Ci([Ae(0x0,a[_0x22ac88(0x389)]),Ae(0x1,a['Inject'](Y[_0x22ac88(0x2e3)])),Ae(0x2,a[_0x22ac88(0x371)](a[_0x22ac88(0x474)]))],ye);var Ti=Object[_0x22ac88(0x22c)],bi=(_0x1fb6a4,_0x5188a1,_0x4446a9,_0xe9a382)=>{var _0xd3149=_0x22ac88;for(var _0x51ddbe=_0xe9a382>0x1?void 0x0:_0xe9a382?Ti(_0x5188a1,_0x4446a9):_0x5188a1,_0xa408a2=_0x1fb6a4[_0xd3149(0x295)]-0x1,_0x4db421;_0xa408a2>=0x0;_0xa408a2--)(_0x4db421=_0x1fb6a4[_0xa408a2])&&(_0x51ddbe=_0x4db421(_0x51ddbe)||_0x51ddbe);return _0x51ddbe;},qe=(_0x24c234,_0x54c3fb)=>(_0x552daf,_0x231104)=>_0x54c3fb(_0x552daf,_0x231104,_0x24c234);const Ve=_0x22ac88(0x41e),Ri=_0x22ac88(0x2ba);exports[_0x22ac88(0x29e)]=class extends a[_0x22ac88(0x41c)]{constructor(_0x4a29d9,_0x39e239){var _0x1391df=_0x22ac88;super(),this['_HTTPService']=_0x4a29d9,this[_0x1391df(0x3b3)]=_0x39e239,this[_0x1391df(0x362)]();}[_0x22ac88(0x362)](){var _0x585da8=_0x22ac88;const _0x31418d=this;this[_0x585da8(0x4cf)](this[_0x585da8(0x266)][_0x585da8(0x504)]({'priority':0x3e7,'interceptor':Y[_0x585da8(0x443)]({'isMatch'(_0x1c36d8){var _0x137e5b=_0x585da8,_0xc3f307;if(_0x1c36d8[_0x137e5b(0x204)]==='POST'&&((_0xc3f307=_0x1c36d8[_0x137e5b(0x3d0)])!=null&&_0xc3f307[_0x137e5b(0x3dd)])){const {objectID:_0x240326,objectType:_0x1a6d4e}=_0x1c36d8[_0x137e5b(0x3d0)][_0x137e5b(0x3dd)]||{};if(!_0x240326||_0x1a6d4e===void 0x0)return!0x1;const _0x347b11=_0x31418d[_0x137e5b(0x462)]()+'/'+_0x1a6d4e+'/object/'+_0x240326+'/allowed';if(_0x1c36d8[_0x137e5b(0x39c)]===_0x347b11)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x38d05e){var _0x5eacb3=_0x585da8,_0x509188;return(_0x509188=_0x38d05e[_0x5eacb3(0x3d0)])==null?void 0x0:_0x509188[_0x5eacb3(0x3dd)];},'mergeParamsToRequest'(_0x1fcb7b,_0xb6973a){var _0x2b18d5=_0x585da8;const _0x2693e6=_0x31418d['_getAPIPrefixPath']()+_0x2b18d5(0x331),_0x216ec8=_0x1fcb7b['reduce']((_0x3a0c22,_0x31a51f)=>{var _0x38b103=_0x2b18d5;const {unitID:_0x58a432,objectID:_0x5585c2,objectType:_0x4d709d,actions:_0x5a4bac}=_0x31a51f;return _0x3a0c22[_0x58a432]||(_0x3a0c22[_0x58a432]={}),_0x3a0c22[_0x58a432][_0x5585c2]||(_0x3a0c22[_0x58a432][_0x5585c2]={'objectID':_0x5585c2,'objectType':_0x4d709d,'actions':[]}),_0x3a0c22[_0x58a432][_0x5585c2][_0x38b103(0x494)][_0x38b103(0x4a2)](..._0x5a4bac),_0x3a0c22;},{}),_0x18b939=[];for(const _0x3e2994 in _0x216ec8)for(const _0x2f81de in _0x216ec8[_0x3e2994]){const {actions:_0xf571e3,objectType:_0xb34489}=_0x216ec8[_0x3e2994][_0x2f81de],_0x285ba4=[...new Set(_0xf571e3)];_0x18b939[_0x2b18d5(0x4a2)]({'unitID':_0x3e2994,'objectID':_0x2f81de,'objectType':_0xb34489,'actions':_0x285ba4});}return new Y[(_0x2b18d5(0x3d4))](_0x2b18d5(0x4dd),_0x2693e6,{'headers':_0xb6973a[_0x2b18d5(0x455)],'withCredentials':_0xb6973a['withCredentials'],'responseType':_0xb6973a['responseType'],'body':{'requests':_0x18b939}});}},{'distributeResult'(_0x3fc85c,_0x53f5fc){const {objectActions:_0x3917a1}=_0x3fc85c;return _0x53f5fc['map'](_0x12c166=>{var _0x31d08c=_0xfcb9;const {unitID:_0x27bba6,objectID:_0x114dec,actions:_0x3778bf}=_0x12c166,_0x24c909=_0x3917a1['find'](_0x2490e1=>_0x2490e1[_0x31d08c(0x281)]===_0x27bba6&&_0x2490e1[_0x31d08c(0x439)]===_0x114dec),_0x4f8de4=_0x3778bf[_0x31d08c(0x3f9)](_0x576386=>_0x24c909==null?void 0x0:_0x24c909[_0x31d08c(0x494)][_0x31d08c(0x3c9)](_0x3b6cde=>_0x3b6cde[_0x31d08c(0x26b)]===_0x576386))[_0x31d08c(0x211)](_0x4c46e8=>!!_0x4c46e8);return{'config':_0x12c166,'result':{'actions':_0x4f8de4,'error':_0x3fc85c[_0x31d08c(0x424)]}};});}})}));}[_0x22ac88(0x462)](){var _0x490b46=_0x22ac88,_0x564ace,_0x2d0c5b;const _0x2f9e8f=this[_0x490b46(0x3b3)]['getConfig'](Ve),_0x3658e1=this['_configService'][_0x490b46(0x324)](K);return(_0x2d0c5b=(_0x564ace=_0x3658e1==null?void 0x0:_0x3658e1[_0x490b46(0x247)])!=null?_0x564ace:_0x2f9e8f)!=null?_0x2d0c5b:Ri;}async[_0x22ac88(0x433)](_0x4b8b14){var _0x7108db=_0x22ac88;const _0x3b4ad6=this[_0x7108db(0x462)]()+'/'+_0x4b8b14[_0x7108db(0x4cb)]+'/object';return(await this[_0x7108db(0x266)][_0x7108db(0x4c1)](_0x3b4ad6,{'body':_0x4b8b14}))[_0x7108db(0x3dd)][_0x7108db(0x439)]||'';}async[_0x22ac88(0x233)](_0x393444){var _0x388946=_0x22ac88;const _0x546e53=this[_0x388946(0x462)]()+_0x388946(0x37e);return(await this[_0x388946(0x266)][_0x388946(0x4c1)](_0x546e53,{'body':_0x393444}))[_0x388946(0x3dd)][_0x388946(0x3c5)];}async[_0x22ac88(0x484)](_0x5aad3d){var _0x307b79=_0x22ac88,_0x30fb2b,_0x1d5b37;const _0x4e87f4=this[_0x307b79(0x462)]()+'/'+_0x5aad3d['objectType']+_0x307b79(0x442)+_0x5aad3d['objectID'],_0x4af6c4=await this[_0x307b79(0x266)][_0x307b79(0x249)](_0x4e87f4,{'body':_0x5aad3d});if(((_0x1d5b37=(_0x30fb2b=_0x4af6c4==null?void 0x0:_0x4af6c4[_0x307b79(0x3dd)])==null?void 0x0:_0x30fb2b[_0x307b79(0x424)])==null?void 0x0:_0x1d5b37[_0x307b79(0x48d)])!==0x1)throw new Error(_0x307b79(0x27f));}async[_0x22ac88(0x44b)](_0x2295db){var _0x26e044=_0x22ac88;const _0x2cc35e=this['_getAPIPrefixPath']()+'/'+_0x2295db[_0x26e044(0x4cb)]+_0x26e044(0x442)+_0x2295db['objectID']+_0x26e044(0x390);return(await this['_HTTPService'][_0x26e044(0x4c1)](_0x2cc35e,{'body':_0x2295db}))[_0x26e044(0x3dd)][_0x26e044(0x494)];}async[_0x22ac88(0x2ee)](_0x21a135){var _0x5cd8e6=_0x22ac88;const _0x59ad18=this['_getAPIPrefixPath']()+'/-/object/-/batch_allowed';return(await this[_0x5cd8e6(0x266)][_0x5cd8e6(0x4c1)](_0x59ad18,{'body':{'requests':_0x21a135}}))[_0x5cd8e6(0x3dd)][_0x5cd8e6(0x4d3)];}async[_0x22ac88(0x43f)](_0x367202){var _0x1015b3=_0x22ac88;const _0x1d5368=this[_0x1015b3(0x462)]()+'/'+_0x367202[_0x1015b3(0x4cb)]+_0x1015b3(0x2bf),_0x3e8986=await this[_0x1015b3(0x266)][_0x1015b3(0x4c1)](_0x1d5368,{'body':_0x367202});return{'roles':_0x3e8986[_0x1015b3(0x3dd)]['roles'],'actions':_0x3e8986['body'][_0x1015b3(0x494)]};}async['deleteCollaborator'](_0x5b250c){var _0x502191=_0x22ac88;const _0x3d96e7=this[_0x502191(0x462)]()+_0x502191(0x37d);await this[_0x502191(0x266)][_0x502191(0x29c)](_0x3d96e7,{'params':{'collaboratorID':_0x5b250c[_0x502191(0x3b2)],'objectID':_0x5b250c[_0x502191(0x439)],'unitID':_0x5b250c['unitID']}});}async['updateCollaborator'](_0xd75996){var _0x4f5745=_0x22ac88;const _0x3323f6=this[_0x4f5745(0x462)]()+'/collaborator';await this['_HTTPService'][_0x4f5745(0x535)](_0x3323f6,{'body':_0xd75996});}async[_0x22ac88(0x409)](_0xe9b4db){var _0x2a7281=_0x22ac88;const _0x30099e=this['_getAPIPrefixPath']()+_0x2a7281(0x37d);await this[_0x2a7281(0x266)][_0x2a7281(0x4c1)](_0x30099e,{'body':_0xe9b4db});}async[_0x22ac88(0x1ff)](_0xa5530f){var _0x5732f5=_0x22ac88;const _0xaa2899=this[_0x5732f5(0x462)]()+_0x5732f5(0x37d);return(await this[_0x5732f5(0x266)][_0x5732f5(0x26d)](_0xaa2899,{'params':{'objectID':_0xa5530f['objectID'],'unitID':_0xa5530f['unitID']}}))[_0x5732f5(0x3dd)][_0x5732f5(0x4f4)];}async['putCollaborators'](_0x2ebaca){var _0x183810=_0x22ac88;const _0x4efe87=this[_0x183810(0x462)]()+_0x183810(0x37d);await this[_0x183810(0x266)][_0x183810(0x249)](_0x4efe87,{'body':_0x2ebaca});}},exports[_0x22ac88(0x29e)]=bi([qe(0x0,a[_0x22ac88(0x371)](Y[_0x22ac88(0x2e3)])),qe(0x1,a['Inject'](a[_0x22ac88(0x389)]))],exports['AuthzIoHttpService']);var Pe=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ve(_0x3432c3){var _0xbbe5d6=_0x22ac88;return _0x3432c3&&_0x3432c3[_0xbbe5d6(0x379)]&&Object[_0xbbe5d6(0x359)][_0xbbe5d6(0x258)]['call'](_0x3432c3,'default')?_0x3432c3[_0xbbe5d6(0x3ce)]:_0x3432c3;}var fe={'exports':{}};function Oi(_0x463940){var _0x1a6c64=_0x22ac88;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x463940+_0x1a6c64(0x24e));}var pe={'exports':{}},yi=pe['exports'],ze;function Q(){var _0x5914bc=_0x22ac88;return ze||(ze=0x1,function(_0x26e2b3,_0x54b4a5){(function(_0x3a365b,_0x28736c){var _0x473b6a=_0xfcb9;_0x26e2b3[_0x473b6a(0x401)]=_0x28736c();}(yi,function(){var _0x5e9534=_0x5e9534||function(_0x26f82d,_0x23e673){var _0x1d29ed=_0xfcb9,_0x4a4fed;if(typeof window<'u'&&window[_0x1d29ed(0x3eb)]&&(_0x4a4fed=window[_0x1d29ed(0x3eb)]),typeof self<'u'&&self[_0x1d29ed(0x3eb)]&&(_0x4a4fed=self['crypto']),typeof globalThis<'u'&&globalThis[_0x1d29ed(0x3eb)]&&(_0x4a4fed=globalThis[_0x1d29ed(0x3eb)]),!_0x4a4fed&&typeof window<'u'&&window[_0x1d29ed(0x4af)]&&(_0x4a4fed=window[_0x1d29ed(0x4af)]),!_0x4a4fed&&typeof Pe<'u'&&Pe[_0x1d29ed(0x3eb)]&&(_0x4a4fed=Pe[_0x1d29ed(0x3eb)]),!_0x4a4fed&&typeof Oi==_0x1d29ed(0x1e5))try{_0x4a4fed=require(_0x1d29ed(0x3eb));}catch{}var _0x2764ae=function(){var _0x370b38=_0x1d29ed;if(_0x4a4fed){if(typeof _0x4a4fed['getRandomValues']=='function')try{return _0x4a4fed[_0x370b38(0x4e4)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x4a4fed[_0x370b38(0x528)]==_0x370b38(0x1e5))try{return _0x4a4fed[_0x370b38(0x528)](0x4)[_0x370b38(0x29b)]();}catch{}}throw new Error(_0x370b38(0x356));},_0x481184=Object[_0x1d29ed(0x433)]||(function(){function _0x3ede56(){}return function(_0xf1bb55){var _0x1fd604=_0xfcb9,_0x25341f;return _0x3ede56[_0x1fd604(0x359)]=_0xf1bb55,_0x25341f=new _0x3ede56(),_0x3ede56[_0x1fd604(0x359)]=null,_0x25341f;};}()),_0x1934a9={},_0x36bd00=_0x1934a9['lib']={},_0x21a515=_0x36bd00[_0x1d29ed(0x3a1)]=(function(){return{'extend':function(_0x33129a){var _0xf05d18=_0xfcb9,_0x3d60fb=_0x481184(this);return _0x33129a&&_0x3d60fb[_0xf05d18(0x35c)](_0x33129a),(!_0x3d60fb[_0xf05d18(0x258)](_0xf05d18(0x219))||this['init']===_0x3d60fb[_0xf05d18(0x219)])&&(_0x3d60fb[_0xf05d18(0x219)]=function(){var _0x73515f=_0xf05d18;_0x3d60fb['$super'][_0x73515f(0x219)][_0x73515f(0x2d6)](this,arguments);}),_0x3d60fb['init'][_0xf05d18(0x359)]=_0x3d60fb,_0x3d60fb['$super']=this,_0x3d60fb;},'create':function(){var _0x1a8ddc=_0xfcb9,_0x823d92=this[_0x1a8ddc(0x2be)]();return _0x823d92[_0x1a8ddc(0x219)]['apply'](_0x823d92,arguments),_0x823d92;},'init':function(){},'mixIn':function(_0x124716){var _0x5899e1=_0xfcb9;for(var _0x37ae53 in _0x124716)_0x124716[_0x5899e1(0x258)](_0x37ae53)&&(this[_0x37ae53]=_0x124716[_0x37ae53]);_0x124716[_0x5899e1(0x258)](_0x5899e1(0x1d2))&&(this['toString']=_0x124716['toString']);},'clone':function(){var _0x58cb41=_0xfcb9;return this[_0x58cb41(0x219)][_0x58cb41(0x359)][_0x58cb41(0x2be)](this);}};}()),_0x1399d8=_0x36bd00[_0x1d29ed(0x28c)]=_0x21a515[_0x1d29ed(0x2be)]({'init':function(_0x1ac155,_0x41b98f){var _0x43d0c1=_0x1d29ed;_0x1ac155=this[_0x43d0c1(0x50b)]=_0x1ac155||[],_0x41b98f!=_0x23e673?this[_0x43d0c1(0x2c0)]=_0x41b98f:this[_0x43d0c1(0x2c0)]=_0x1ac155[_0x43d0c1(0x295)]*0x4;},'toString':function(_0x4c64fe){var _0x42dbb4=_0x1d29ed;return(_0x4c64fe||_0xcc6bd7)[_0x42dbb4(0x3d1)](this);},'concat':function(_0x338bff){var _0x1995ca=_0x1d29ed,_0x3a4995=this['words'],_0x4c4d42=_0x338bff[_0x1995ca(0x50b)],_0x369565=this[_0x1995ca(0x2c0)],_0x31916b=_0x338bff[_0x1995ca(0x2c0)];if(this[_0x1995ca(0x3c0)](),_0x369565%0x4)for(var _0x1b06cb=0x0;_0x1b06cb<_0x31916b;_0x1b06cb++){var _0xf6680b=_0x4c4d42[_0x1b06cb>>>0x2]>>>0x18-_0x1b06cb%0x4*0x8&0xff;_0x3a4995[_0x369565+_0x1b06cb>>>0x2]|=_0xf6680b<<0x18-(_0x369565+_0x1b06cb)%0x4*0x8;}else{for(var _0x3a9a10=0x0;_0x3a9a10<_0x31916b;_0x3a9a10+=0x4)_0x3a4995[_0x369565+_0x3a9a10>>>0x2]=_0x4c4d42[_0x3a9a10>>>0x2];}return this[_0x1995ca(0x2c0)]+=_0x31916b,this;},'clamp':function(){var _0x4b545c=_0x1d29ed,_0xe0e89e=this['words'],_0x34772b=this[_0x4b545c(0x2c0)];_0xe0e89e[_0x34772b>>>0x2]&=0xffffffff<<0x20-_0x34772b%0x4*0x8,_0xe0e89e[_0x4b545c(0x295)]=_0x26f82d['ceil'](_0x34772b/0x4);},'clone':function(){var _0x4bd7e9=_0x1d29ed,_0x2c0c34=_0x21a515[_0x4bd7e9(0x28f)]['call'](this);return _0x2c0c34[_0x4bd7e9(0x50b)]=this[_0x4bd7e9(0x50b)]['slice'](0x0),_0x2c0c34;},'random':function(_0x20302e){var _0x1b2a97=_0x1d29ed;for(var _0x1b1ab4=[],_0x1f83a3=0x0;_0x1f83a3<_0x20302e;_0x1f83a3+=0x4)_0x1b1ab4[_0x1b2a97(0x4a2)](_0x2764ae());return new _0x1399d8[(_0x1b2a97(0x219))](_0x1b1ab4,_0x20302e);}}),_0x3417fd=_0x1934a9[_0x1d29ed(0x44d)]={},_0xcc6bd7=_0x3417fd[_0x1d29ed(0x460)]={'stringify':function(_0x15d4de){var _0x429b7d=_0x1d29ed;for(var _0x47ca2a=_0x15d4de['words'],_0xb8ac2f=_0x15d4de['sigBytes'],_0x27b01c=[],_0x4a2688=0x0;_0x4a2688<_0xb8ac2f;_0x4a2688++){var _0x211067=_0x47ca2a[_0x4a2688>>>0x2]>>>0x18-_0x4a2688%0x4*0x8&0xff;_0x27b01c[_0x429b7d(0x4a2)]((_0x211067>>>0x4)[_0x429b7d(0x1d2)](0x10)),_0x27b01c[_0x429b7d(0x4a2)]((_0x211067&0xf)[_0x429b7d(0x1d2)](0x10));}return _0x27b01c[_0x429b7d(0x264)]('');},'parse':function(_0x863d87){var _0x1bc253=_0x1d29ed;for(var _0x5cdd51=_0x863d87['length'],_0x170e5a=[],_0x55deab=0x0;_0x55deab<_0x5cdd51;_0x55deab+=0x2)_0x170e5a[_0x55deab>>>0x3]|=parseInt(_0x863d87['substr'](_0x55deab,0x2),0x10)<<0x18-_0x55deab%0x8*0x4;return new _0x1399d8[(_0x1bc253(0x219))](_0x170e5a,_0x5cdd51/0x2);}},_0xa41f5b=_0x3417fd[_0x1d29ed(0x302)]={'stringify':function(_0x2c1a0d){var _0x4ffe30=_0x1d29ed;for(var _0x43351d=_0x2c1a0d[_0x4ffe30(0x50b)],_0xc9950=_0x2c1a0d[_0x4ffe30(0x2c0)],_0x147238=[],_0x5c20d9=0x0;_0x5c20d9<_0xc9950;_0x5c20d9++){var _0x1422b1=_0x43351d[_0x5c20d9>>>0x2]>>>0x18-_0x5c20d9%0x4*0x8&0xff;_0x147238['push'](String[_0x4ffe30(0x284)](_0x1422b1));}return _0x147238[_0x4ffe30(0x264)]('');},'parse':function(_0xb28260){var _0x3a8a06=_0x1d29ed;for(var _0xdee67a=_0xb28260[_0x3a8a06(0x295)],_0x11b234=[],_0x1b0702=0x0;_0x1b0702<_0xdee67a;_0x1b0702++)_0x11b234[_0x1b0702>>>0x2]|=(_0xb28260['charCodeAt'](_0x1b0702)&0xff)<<0x18-_0x1b0702%0x4*0x8;return new _0x1399d8[(_0x3a8a06(0x219))](_0x11b234,_0xdee67a);}},_0x502101=_0x3417fd['Utf8']={'stringify':function(_0x263a90){var _0x1439e1=_0x1d29ed;try{return decodeURIComponent(escape(_0xa41f5b[_0x1439e1(0x3d1)](_0x263a90)));}catch{throw new Error(_0x1439e1(0x3c1));}},'parse':function(_0x371c8f){var _0x218b7a=_0x1d29ed;return _0xa41f5b[_0x218b7a(0x3da)](unescape(encodeURIComponent(_0x371c8f)));}},_0x37bad2=_0x36bd00[_0x1d29ed(0x2d5)]=_0x21a515[_0x1d29ed(0x2be)]({'reset':function(){var _0x570a11=_0x1d29ed;this['_data']=new _0x1399d8[(_0x570a11(0x219))](),this[_0x570a11(0x386)]=0x0;},'_append':function(_0x581d96){var _0x237a38=_0x1d29ed;typeof _0x581d96==_0x237a38(0x2ef)&&(_0x581d96=_0x502101[_0x237a38(0x3da)](_0x581d96)),this[_0x237a38(0x2e5)][_0x237a38(0x280)](_0x581d96),this[_0x237a38(0x386)]+=_0x581d96[_0x237a38(0x2c0)];},'_process':function(_0x3f159a){var _0x292070=_0x1d29ed,_0x5be052,_0x74c73a=this['_data'],_0x289c07=_0x74c73a[_0x292070(0x50b)],_0x4b15dc=_0x74c73a[_0x292070(0x2c0)],_0x2dd3d5=this['blockSize'],_0x14fe38=_0x2dd3d5*0x4,_0x2e66a4=_0x4b15dc/_0x14fe38;_0x3f159a?_0x2e66a4=_0x26f82d[_0x292070(0x476)](_0x2e66a4):_0x2e66a4=_0x26f82d[_0x292070(0x20c)]((_0x2e66a4|0x0)-this[_0x292070(0x360)],0x0);var _0x20c0e1=_0x2e66a4*_0x2dd3d5,_0x4df404=_0x26f82d['min'](_0x20c0e1*0x4,_0x4b15dc);if(_0x20c0e1){for(var _0x481f41=0x0;_0x481f41<_0x20c0e1;_0x481f41+=_0x2dd3d5)this[_0x292070(0x4b7)](_0x289c07,_0x481f41);_0x5be052=_0x289c07[_0x292070(0x2ab)](0x0,_0x20c0e1),_0x74c73a[_0x292070(0x2c0)]-=_0x4df404;}return new _0x1399d8[(_0x292070(0x219))](_0x5be052,_0x4df404);},'clone':function(){var _0x45221a=_0x1d29ed,_0x17ea7d=_0x21a515['clone'][_0x45221a(0x27d)](this);return _0x17ea7d[_0x45221a(0x2e5)]=this[_0x45221a(0x2e5)][_0x45221a(0x28f)](),_0x17ea7d;},'_minBufferSize':0x0});_0x36bd00['Hasher']=_0x37bad2[_0x1d29ed(0x2be)]({'cfg':_0x21a515['extend'](),'init':function(_0x530c49){var _0x344406=_0x1d29ed;this['cfg']=this[_0x344406(0x456)][_0x344406(0x2be)](_0x530c49),this[_0x344406(0x540)]();},'reset':function(){var _0x312fe1=_0x1d29ed;_0x37bad2['reset'][_0x312fe1(0x27d)](this),this['_doReset']();},'update':function(_0x3137a4){var _0x5dd013=_0x1d29ed;return this[_0x5dd013(0x4b1)](_0x3137a4),this[_0x5dd013(0x1e7)](),this;},'finalize':function(_0x437fb8){var _0x22e096=_0x1d29ed;_0x437fb8&&this[_0x22e096(0x4b1)](_0x437fb8);var _0x32c0bb=this[_0x22e096(0x373)]();return _0x32c0bb;},'blockSize':0x10,'_createHelper':function(_0x4a4536){return function(_0x101615,_0x4467d){var _0x36d660=_0xfcb9;return new _0x4a4536['init'](_0x4467d)[_0x36d660(0x3ff)](_0x101615);};},'_createHmacHelper':function(_0x38b10a){return function(_0xa10636,_0x10f558){var _0x30a157=_0xfcb9;return new _0x5a99bb['HMAC'][(_0x30a157(0x219))](_0x38b10a,_0x10f558)[_0x30a157(0x3ff)](_0xa10636);};}});var _0x5a99bb=_0x1934a9[_0x1d29ed(0x4cc)]={};return _0x1934a9;}(Math);return _0x5e9534;}));}(pe)),pe[_0x5914bc(0x401)];}var Ie={'exports':{}},Ni=Ie[_0x22ac88(0x401)],Je;function yt(){var _0x43631b=_0x22ac88;return Je||(Je=0x1,function(_0x190c82,_0x49f09c){(function(_0x5e654b,_0x4ccd51){var _0x317d3f=_0xfcb9;_0x190c82[_0x317d3f(0x401)]=_0x4ccd51(Q());}(Ni,function(_0x1feeba){var _0x25b503=_0xfcb9;return(function(){var _0x5a46d5=_0xfcb9,_0x1a998e=_0x1feeba,_0x4c005a=_0x1a998e[_0x5a46d5(0x27a)],_0xab980b=_0x4c005a[_0x5a46d5(0x28c)],_0x5e6837=_0x1a998e[_0x5a46d5(0x44d)];_0x5e6837[_0x5a46d5(0x4f6)]={'stringify':function(_0x5e232a){var _0x32ad7e=_0x5a46d5,_0x5c5968=_0x5e232a[_0x32ad7e(0x50b)],_0x9ac316=_0x5e232a[_0x32ad7e(0x2c0)],_0x301d65=this[_0x32ad7e(0x2e0)];_0x5e232a[_0x32ad7e(0x3c0)]();for(var _0x1d9686=[],_0x10079d=0x0;_0x10079d<_0x9ac316;_0x10079d+=0x3)for(var _0x477558=_0x5c5968[_0x10079d>>>0x2]>>>0x18-_0x10079d%0x4*0x8&0xff,_0x2fc59f=_0x5c5968[_0x10079d+0x1>>>0x2]>>>0x18-(_0x10079d+0x1)%0x4*0x8&0xff,_0x46716f=_0x5c5968[_0x10079d+0x2>>>0x2]>>>0x18-(_0x10079d+0x2)%0x4*0x8&0xff,_0x53e826=_0x477558<<0x10|_0x2fc59f<<0x8|_0x46716f,_0x228d77=0x0;_0x228d77<0x4&&_0x10079d+_0x228d77*0.75<_0x9ac316;_0x228d77++)_0x1d9686[_0x32ad7e(0x4a2)](_0x301d65[_0x32ad7e(0x2fa)](_0x53e826>>>0x6*(0x3-_0x228d77)&0x3f));var _0x419388=_0x301d65['charAt'](0x40);if(_0x419388){for(;_0x1d9686[_0x32ad7e(0x295)]%0x4;)_0x1d9686['push'](_0x419388);}return _0x1d9686[_0x32ad7e(0x264)]('');},'parse':function(_0x3bd649){var _0x510732=_0x5a46d5,_0x40aaf2=_0x3bd649[_0x510732(0x295)],_0x2e87c3=this[_0x510732(0x2e0)],_0x49fa97=this[_0x510732(0x2c5)];if(!_0x49fa97){_0x49fa97=this[_0x510732(0x2c5)]=[];for(var _0x2e5b67=0x0;_0x2e5b67<_0x2e87c3['length'];_0x2e5b67++)_0x49fa97[_0x2e87c3[_0x510732(0x241)](_0x2e5b67)]=_0x2e5b67;}var _0x1b0e85=_0x2e87c3['charAt'](0x40);if(_0x1b0e85){var _0x4ce69c=_0x3bd649[_0x510732(0x425)](_0x1b0e85);_0x4ce69c!==-0x1&&(_0x40aaf2=_0x4ce69c);}return _0x12fbd8(_0x3bd649,_0x40aaf2,_0x49fa97);},'_map':_0x5a46d5(0x210)};function _0x12fbd8(_0xff1f7f,_0x1acfec,_0x740b8d){var _0x4f9f94=_0x5a46d5;for(var _0x5d1753=[],_0x3c2f9e=0x0,_0x5d073e=0x0;_0x5d073e<_0x1acfec;_0x5d073e++)if(_0x5d073e%0x4){var _0x3185d9=_0x740b8d[_0xff1f7f['charCodeAt'](_0x5d073e-0x1)]<<_0x5d073e%0x4*0x2,_0x316265=_0x740b8d[_0xff1f7f[_0x4f9f94(0x241)](_0x5d073e)]>>>0x6-_0x5d073e%0x4*0x2,_0x3f2e64=_0x3185d9|_0x316265;_0x5d1753[_0x3c2f9e>>>0x2]|=_0x3f2e64<<0x18-_0x3c2f9e%0x4*0x8,_0x3c2f9e++;}return _0xab980b[_0x4f9f94(0x433)](_0x5d1753,_0x3c2f9e);}}()),_0x1feeba[_0x25b503(0x44d)][_0x25b503(0x4f6)];}));}(Ie)),Ie[_0x43631b(0x401)];}var ge={'exports':{}},Ui=ge[_0x22ac88(0x401)],Xe;function Di(){var _0x46e019=_0x22ac88;return Xe||(Xe=0x1,function(_0x3763e1,_0x3cdc0d){(function(_0x2daf74,_0x4d105a){var _0x305e93=_0xfcb9;_0x3763e1[_0x305e93(0x401)]=_0x4d105a(Q());}(Ui,function(_0x34ad12){var _0x4743be=_0xfcb9;return function(_0x4ff458){var _0x654ebc=_0xfcb9,_0x4cac34=_0x34ad12,_0x383c88=_0x4cac34[_0x654ebc(0x27a)],_0x10e8ac=_0x383c88['WordArray'],_0x425cd3=_0x383c88[_0x654ebc(0x3ef)],_0x40f582=_0x4cac34[_0x654ebc(0x4cc)],_0x50bf16=[];(function(){var _0x5e22db=_0x654ebc;for(var _0x457f77=0x0;_0x457f77<0x40;_0x457f77++)_0x50bf16[_0x457f77]=_0x4ff458['abs'](_0x4ff458[_0x5e22db(0x50e)](_0x457f77+0x1))*0x100000000|0x0;}());var _0x122464=_0x40f582['MD5']=_0x425cd3['extend']({'_doReset':function(){var _0x291afe=_0x654ebc;this[_0x291afe(0x46c)]=new _0x10e8ac[(_0x291afe(0x219))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x11d8c2,_0xe7a2e7){var _0x1f3b25=_0x654ebc;for(var _0x10785a=0x0;_0x10785a<0x10;_0x10785a++){var _0x4a6668=_0xe7a2e7+_0x10785a,_0x404a2e=_0x11d8c2[_0x4a6668];_0x11d8c2[_0x4a6668]=(_0x404a2e<<0x8|_0x404a2e>>>0x18)&0xff00ff|(_0x404a2e<<0x18|_0x404a2e>>>0x8)&0xff00ff00;}var _0x208e59=this['_hash'][_0x1f3b25(0x50b)],_0x35c039=_0x11d8c2[_0xe7a2e7+0x0],_0xc05694=_0x11d8c2[_0xe7a2e7+0x1],_0x5e2006=_0x11d8c2[_0xe7a2e7+0x2],_0xdcb498=_0x11d8c2[_0xe7a2e7+0x3],_0x8148bb=_0x11d8c2[_0xe7a2e7+0x4],_0x237c72=_0x11d8c2[_0xe7a2e7+0x5],_0x25694a=_0x11d8c2[_0xe7a2e7+0x6],_0xc8d8f3=_0x11d8c2[_0xe7a2e7+0x7],_0x13437b=_0x11d8c2[_0xe7a2e7+0x8],_0x175614=_0x11d8c2[_0xe7a2e7+0x9],_0x102f06=_0x11d8c2[_0xe7a2e7+0xa],_0x35edec=_0x11d8c2[_0xe7a2e7+0xb],_0x54e198=_0x11d8c2[_0xe7a2e7+0xc],_0x4edd46=_0x11d8c2[_0xe7a2e7+0xd],_0x29ad84=_0x11d8c2[_0xe7a2e7+0xe],_0x5c5c85=_0x11d8c2[_0xe7a2e7+0xf],_0x1a9295=_0x208e59[0x0],_0xd6eb24=_0x208e59[0x1],_0x5b79ad=_0x208e59[0x2],_0x495f7d=_0x208e59[0x3];_0x1a9295=_0x570410(_0x1a9295,_0xd6eb24,_0x5b79ad,_0x495f7d,_0x35c039,0x7,_0x50bf16[0x0]),_0x495f7d=_0x570410(_0x495f7d,_0x1a9295,_0xd6eb24,_0x5b79ad,_0xc05694,0xc,_0x50bf16[0x1]),_0x5b79ad=_0x570410(_0x5b79ad,_0x495f7d,_0x1a9295,_0xd6eb24,_0x5e2006,0x11,_0x50bf16[0x2]),_0xd6eb24=_0x570410(_0xd6eb24,_0x5b79ad,_0x495f7d,_0x1a9295,_0xdcb498,0x16,_0x50bf16[0x3]),_0x1a9295=_0x570410(_0x1a9295,_0xd6eb24,_0x5b79ad,_0x495f7d,_0x8148bb,0x7,_0x50bf16[0x4]),_0x495f7d=_0x570410(_0x495f7d,_0x1a9295,_0xd6eb24,_0x5b79ad,_0x237c72,0xc,_0x50bf16[0x5]),_0x5b79ad=_0x570410(_0x5b79ad,_0x495f7d,_0x1a9295,_0xd6eb24,_0x25694a,0x11,_0x50bf16[0x6]),_0xd6eb24=_0x570410(_0xd6eb24,_0x5b79ad,_0x495f7d,_0x1a9295,_0xc8d8f3,0x16,_0x50bf16[0x7]),_0x1a9295=_0x570410(_0x1a9295,_0xd6eb24,_0x5b79ad,_0x495f7d,_0x13437b,0x7,_0x50bf16[0x8]),_0x495f7d=_0x570410(_0x495f7d,_0x1a9295,_0xd6eb24,_0x5b79ad,_0x175614,0xc,_0x50bf16[0x9]),_0x5b79ad=_0x570410(_0x5b79ad,_0x495f7d,_0x1a9295,_0xd6eb24,_0x102f06,0x11,_0x50bf16[0xa]),_0xd6eb24=_0x570410(_0xd6eb24,_0x5b79ad,_0x495f7d,_0x1a9295,_0x35edec,0x16,_0x50bf16[0xb]),_0x1a9295=_0x570410(_0x1a9295,_0xd6eb24,_0x5b79ad,_0x495f7d,_0x54e198,0x7,_0x50bf16[0xc]),_0x495f7d=_0x570410(_0x495f7d,_0x1a9295,_0xd6eb24,_0x5b79ad,_0x4edd46,0xc,_0x50bf16[0xd]),_0x5b79ad=_0x570410(_0x5b79ad,_0x495f7d,_0x1a9295,_0xd6eb24,_0x29ad84,0x11,_0x50bf16[0xe]),_0xd6eb24=_0x570410(_0xd6eb24,_0x5b79ad,_0x495f7d,_0x1a9295,_0x5c5c85,0x16,_0x50bf16[0xf]),_0x1a9295=_0x1e633b(_0x1a9295,_0xd6eb24,_0x5b79ad,_0x495f7d,_0xc05694,0x5,_0x50bf16[0x10]),_0x495f7d=_0x1e633b(_0x495f7d,_0x1a9295,_0xd6eb24,_0x5b79ad,_0x25694a,0x9,_0x50bf16[0x11]),_0x5b79ad=_0x1e633b(_0x5b79ad,_0x495f7d,_0x1a9295,_0xd6eb24,_0x35edec,0xe,_0x50bf16[0x12]),_0xd6eb24=_0x1e633b(_0xd6eb24,_0x5b79ad,_0x495f7d,_0x1a9295,_0x35c039,0x14,_0x50bf16[0x13]),_0x1a9295=_0x1e633b(_0x1a9295,_0xd6eb24,_0x5b79ad,_0x495f7d,_0x237c72,0x5,_0x50bf16[0x14]),_0x495f7d=_0x1e633b(_0x495f7d,_0x1a9295,_0xd6eb24,_0x5b79ad,_0x102f06,0x9,_0x50bf16[0x15]),_0x5b79ad=_0x1e633b(_0x5b79ad,_0x495f7d,_0x1a9295,_0xd6eb24,_0x5c5c85,0xe,_0x50bf16[0x16]),_0xd6eb24=_0x1e633b(_0xd6eb24,_0x5b79ad,_0x495f7d,_0x1a9295,_0x8148bb,0x14,_0x50bf16[0x17]),_0x1a9295=_0x1e633b(_0x1a9295,_0xd6eb24,_0x5b79ad,_0x495f7d,_0x175614,0x5,_0x50bf16[0x18]),_0x495f7d=_0x1e633b(_0x495f7d,_0x1a9295,_0xd6eb24,_0x5b79ad,_0x29ad84,0x9,_0x50bf16[0x19]),_0x5b79ad=_0x1e633b(_0x5b79ad,_0x495f7d,_0x1a9295,_0xd6eb24,_0xdcb498,0xe,_0x50bf16[0x1a]),_0xd6eb24=_0x1e633b(_0xd6eb24,_0x5b79ad,_0x495f7d,_0x1a9295,_0x13437b,0x14,_0x50bf16[0x1b]),_0x1a9295=_0x1e633b(_0x1a9295,_0xd6eb24,_0x5b79ad,_0x495f7d,_0x4edd46,0x5,_0x50bf16[0x1c]),_0x495f7d=_0x1e633b(_0x495f7d,_0x1a9295,_0xd6eb24,_0x5b79ad,_0x5e2006,0x9,_0x50bf16[0x1d]),_0x5b79ad=_0x1e633b(_0x5b79ad,_0x495f7d,_0x1a9295,_0xd6eb24,_0xc8d8f3,0xe,_0x50bf16[0x1e]),_0xd6eb24=_0x1e633b(_0xd6eb24,_0x5b79ad,_0x495f7d,_0x1a9295,_0x54e198,0x14,_0x50bf16[0x1f]),_0x1a9295=_0x40add6(_0x1a9295,_0xd6eb24,_0x5b79ad,_0x495f7d,_0x237c72,0x4,_0x50bf16[0x20]),_0x495f7d=_0x40add6(_0x495f7d,_0x1a9295,_0xd6eb24,_0x5b79ad,_0x13437b,0xb,_0x50bf16[0x21]),_0x5b79ad=_0x40add6(_0x5b79ad,_0x495f7d,_0x1a9295,_0xd6eb24,_0x35edec,0x10,_0x50bf16[0x22]),_0xd6eb24=_0x40add6(_0xd6eb24,_0x5b79ad,_0x495f7d,_0x1a9295,_0x29ad84,0x17,_0x50bf16[0x23]),_0x1a9295=_0x40add6(_0x1a9295,_0xd6eb24,_0x5b79ad,_0x495f7d,_0xc05694,0x4,_0x50bf16[0x24]),_0x495f7d=_0x40add6(_0x495f7d,_0x1a9295,_0xd6eb24,_0x5b79ad,_0x8148bb,0xb,_0x50bf16[0x25]),_0x5b79ad=_0x40add6(_0x5b79ad,_0x495f7d,_0x1a9295,_0xd6eb24,_0xc8d8f3,0x10,_0x50bf16[0x26]),_0xd6eb24=_0x40add6(_0xd6eb24,_0x5b79ad,_0x495f7d,_0x1a9295,_0x102f06,0x17,_0x50bf16[0x27]),_0x1a9295=_0x40add6(_0x1a9295,_0xd6eb24,_0x5b79ad,_0x495f7d,_0x4edd46,0x4,_0x50bf16[0x28]),_0x495f7d=_0x40add6(_0x495f7d,_0x1a9295,_0xd6eb24,_0x5b79ad,_0x35c039,0xb,_0x50bf16[0x29]),_0x5b79ad=_0x40add6(_0x5b79ad,_0x495f7d,_0x1a9295,_0xd6eb24,_0xdcb498,0x10,_0x50bf16[0x2a]),_0xd6eb24=_0x40add6(_0xd6eb24,_0x5b79ad,_0x495f7d,_0x1a9295,_0x25694a,0x17,_0x50bf16[0x2b]),_0x1a9295=_0x40add6(_0x1a9295,_0xd6eb24,_0x5b79ad,_0x495f7d,_0x175614,0x4,_0x50bf16[0x2c]),_0x495f7d=_0x40add6(_0x495f7d,_0x1a9295,_0xd6eb24,_0x5b79ad,_0x54e198,0xb,_0x50bf16[0x2d]),_0x5b79ad=_0x40add6(_0x5b79ad,_0x495f7d,_0x1a9295,_0xd6eb24,_0x5c5c85,0x10,_0x50bf16[0x2e]),_0xd6eb24=_0x40add6(_0xd6eb24,_0x5b79ad,_0x495f7d,_0x1a9295,_0x5e2006,0x17,_0x50bf16[0x2f]),_0x1a9295=_0x52d07d(_0x1a9295,_0xd6eb24,_0x5b79ad,_0x495f7d,_0x35c039,0x6,_0x50bf16[0x30]),_0x495f7d=_0x52d07d(_0x495f7d,_0x1a9295,_0xd6eb24,_0x5b79ad,_0xc8d8f3,0xa,_0x50bf16[0x31]),_0x5b79ad=_0x52d07d(_0x5b79ad,_0x495f7d,_0x1a9295,_0xd6eb24,_0x29ad84,0xf,_0x50bf16[0x32]),_0xd6eb24=_0x52d07d(_0xd6eb24,_0x5b79ad,_0x495f7d,_0x1a9295,_0x237c72,0x15,_0x50bf16[0x33]),_0x1a9295=_0x52d07d(_0x1a9295,_0xd6eb24,_0x5b79ad,_0x495f7d,_0x54e198,0x6,_0x50bf16[0x34]),_0x495f7d=_0x52d07d(_0x495f7d,_0x1a9295,_0xd6eb24,_0x5b79ad,_0xdcb498,0xa,_0x50bf16[0x35]),_0x5b79ad=_0x52d07d(_0x5b79ad,_0x495f7d,_0x1a9295,_0xd6eb24,_0x102f06,0xf,_0x50bf16[0x36]),_0xd6eb24=_0x52d07d(_0xd6eb24,_0x5b79ad,_0x495f7d,_0x1a9295,_0xc05694,0x15,_0x50bf16[0x37]),_0x1a9295=_0x52d07d(_0x1a9295,_0xd6eb24,_0x5b79ad,_0x495f7d,_0x13437b,0x6,_0x50bf16[0x38]),_0x495f7d=_0x52d07d(_0x495f7d,_0x1a9295,_0xd6eb24,_0x5b79ad,_0x5c5c85,0xa,_0x50bf16[0x39]),_0x5b79ad=_0x52d07d(_0x5b79ad,_0x495f7d,_0x1a9295,_0xd6eb24,_0x25694a,0xf,_0x50bf16[0x3a]),_0xd6eb24=_0x52d07d(_0xd6eb24,_0x5b79ad,_0x495f7d,_0x1a9295,_0x4edd46,0x15,_0x50bf16[0x3b]),_0x1a9295=_0x52d07d(_0x1a9295,_0xd6eb24,_0x5b79ad,_0x495f7d,_0x8148bb,0x6,_0x50bf16[0x3c]),_0x495f7d=_0x52d07d(_0x495f7d,_0x1a9295,_0xd6eb24,_0x5b79ad,_0x35edec,0xa,_0x50bf16[0x3d]),_0x5b79ad=_0x52d07d(_0x5b79ad,_0x495f7d,_0x1a9295,_0xd6eb24,_0x5e2006,0xf,_0x50bf16[0x3e]),_0xd6eb24=_0x52d07d(_0xd6eb24,_0x5b79ad,_0x495f7d,_0x1a9295,_0x175614,0x15,_0x50bf16[0x3f]),_0x208e59[0x0]=_0x208e59[0x0]+_0x1a9295|0x0,_0x208e59[0x1]=_0x208e59[0x1]+_0xd6eb24|0x0,_0x208e59[0x2]=_0x208e59[0x2]+_0x5b79ad|0x0,_0x208e59[0x3]=_0x208e59[0x3]+_0x495f7d|0x0;},'_doFinalize':function(){var _0x12e356=_0x654ebc,_0x49d6d5=this[_0x12e356(0x2e5)],_0xebea5f=_0x49d6d5[_0x12e356(0x50b)],_0x4d0fb9=this[_0x12e356(0x386)]*0x8,_0x40d7a6=_0x49d6d5[_0x12e356(0x2c0)]*0x8;_0xebea5f[_0x40d7a6>>>0x5]|=0x80<<0x18-_0x40d7a6%0x20;var _0x33ad76=_0x4ff458[_0x12e356(0x2c1)](_0x4d0fb9/0x100000000),_0x60d43b=_0x4d0fb9;_0xebea5f[(_0x40d7a6+0x40>>>0x9<<0x4)+0xf]=(_0x33ad76<<0x8|_0x33ad76>>>0x18)&0xff00ff|(_0x33ad76<<0x18|_0x33ad76>>>0x8)&0xff00ff00,_0xebea5f[(_0x40d7a6+0x40>>>0x9<<0x4)+0xe]=(_0x60d43b<<0x8|_0x60d43b>>>0x18)&0xff00ff|(_0x60d43b<<0x18|_0x60d43b>>>0x8)&0xff00ff00,_0x49d6d5[_0x12e356(0x2c0)]=(_0xebea5f[_0x12e356(0x295)]+0x1)*0x4,this['_process']();for(var _0x2a3c46=this['_hash'],_0xef96be=_0x2a3c46['words'],_0x5e79d5=0x0;_0x5e79d5<0x4;_0x5e79d5++){var _0x41fe6b=_0xef96be[_0x5e79d5];_0xef96be[_0x5e79d5]=(_0x41fe6b<<0x8|_0x41fe6b>>>0x18)&0xff00ff|(_0x41fe6b<<0x18|_0x41fe6b>>>0x8)&0xff00ff00;}return _0x2a3c46;},'clone':function(){var _0x3fd039=_0x654ebc,_0x100d6e=_0x425cd3[_0x3fd039(0x28f)][_0x3fd039(0x27d)](this);return _0x100d6e[_0x3fd039(0x46c)]=this['_hash']['clone'](),_0x100d6e;}});function _0x570410(_0x285bc2,_0x1587af,_0x13a633,_0x5d3fc3,_0x5a841c,_0x31122d,_0x553219){var _0x5089dc=_0x285bc2+(_0x1587af&_0x13a633|~_0x1587af&_0x5d3fc3)+_0x5a841c+_0x553219;return(_0x5089dc<<_0x31122d|_0x5089dc>>>0x20-_0x31122d)+_0x1587af;}function _0x1e633b(_0x545910,_0x515cc5,_0x124654,_0x45d3a4,_0x43d47d,_0x3d10a9,_0x7a8aca){var _0x5a025a=_0x545910+(_0x515cc5&_0x45d3a4|_0x124654&~_0x45d3a4)+_0x43d47d+_0x7a8aca;return(_0x5a025a<<_0x3d10a9|_0x5a025a>>>0x20-_0x3d10a9)+_0x515cc5;}function _0x40add6(_0x50bfb5,_0x188356,_0xde6cd0,_0x472e4a,_0x8ace0,_0x52b37c,_0xcc9d79){var _0x4d979f=_0x50bfb5+(_0x188356^_0xde6cd0^_0x472e4a)+_0x8ace0+_0xcc9d79;return(_0x4d979f<<_0x52b37c|_0x4d979f>>>0x20-_0x52b37c)+_0x188356;}function _0x52d07d(_0x3ed825,_0x3beead,_0x59579c,_0x48d9ab,_0x7555ec,_0x3c982a,_0x5d9d99){var _0x213cea=_0x3ed825+(_0x59579c^(_0x3beead|~_0x48d9ab))+_0x7555ec+_0x5d9d99;return(_0x213cea<<_0x3c982a|_0x213cea>>>0x20-_0x3c982a)+_0x3beead;}_0x4cac34[_0x654ebc(0x45c)]=_0x425cd3[_0x654ebc(0x32c)](_0x122464),_0x4cac34[_0x654ebc(0x51b)]=_0x425cd3[_0x654ebc(0x1d5)](_0x122464);}(Math),_0x34ad12[_0x4743be(0x45c)];}));}(ge)),ge[_0x46e019(0x401)];}var Ee={'exports':{}},me={'exports':{}},Ai=me[_0x22ac88(0x401)],Ze;function Pi(){var _0x3a9fa0=_0x22ac88;return Ze||(Ze=0x1,function(_0xeccb2e,_0x24a15e){(function(_0x3e89e7,_0x4edd82){var _0x3168f6=_0xfcb9;_0xeccb2e[_0x3168f6(0x401)]=_0x4edd82(Q());}(Ai,function(_0x3cb178){return(function(){var _0xa1eaa2=_0xfcb9,_0x531642=_0x3cb178,_0x381175=_0x531642['lib'],_0x4f3bf9=_0x381175[_0xa1eaa2(0x28c)],_0x4d33d8=_0x381175[_0xa1eaa2(0x3ef)],_0x322e99=_0x531642[_0xa1eaa2(0x4cc)],_0x1d0f12=[],_0x4b212f=_0x322e99[_0xa1eaa2(0x398)]=_0x4d33d8[_0xa1eaa2(0x2be)]({'_doReset':function(){var _0x921c67=_0xa1eaa2;this[_0x921c67(0x46c)]=new _0x4f3bf9[(_0x921c67(0x219))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x5eab9c,_0x4ef29f){var _0x40aa30=_0xa1eaa2;for(var _0x4b987f=this[_0x40aa30(0x46c)][_0x40aa30(0x50b)],_0x1ef33e=_0x4b987f[0x0],_0x515f31=_0x4b987f[0x1],_0x2ccf78=_0x4b987f[0x2],_0x4de332=_0x4b987f[0x3],_0x31c77c=_0x4b987f[0x4],_0x560559=0x0;_0x560559<0x50;_0x560559++){if(_0x560559<0x10)_0x1d0f12[_0x560559]=_0x5eab9c[_0x4ef29f+_0x560559]|0x0;else{var _0x3118a6=_0x1d0f12[_0x560559-0x3]^_0x1d0f12[_0x560559-0x8]^_0x1d0f12[_0x560559-0xe]^_0x1d0f12[_0x560559-0x10];_0x1d0f12[_0x560559]=_0x3118a6<<0x1|_0x3118a6>>>0x1f;}var _0x5cf37c=(_0x1ef33e<<0x5|_0x1ef33e>>>0x1b)+_0x31c77c+_0x1d0f12[_0x560559];_0x560559<0x14?_0x5cf37c+=(_0x515f31&_0x2ccf78|~_0x515f31&_0x4de332)+0x5a827999:_0x560559<0x28?_0x5cf37c+=(_0x515f31^_0x2ccf78^_0x4de332)+0x6ed9eba1:_0x560559<0x3c?_0x5cf37c+=(_0x515f31&_0x2ccf78|_0x515f31&_0x4de332|_0x2ccf78&_0x4de332)-0x70e44324:_0x5cf37c+=(_0x515f31^_0x2ccf78^_0x4de332)-0x359d3e2a,_0x31c77c=_0x4de332,_0x4de332=_0x2ccf78,_0x2ccf78=_0x515f31<<0x1e|_0x515f31>>>0x2,_0x515f31=_0x1ef33e,_0x1ef33e=_0x5cf37c;}_0x4b987f[0x0]=_0x4b987f[0x0]+_0x1ef33e|0x0,_0x4b987f[0x1]=_0x4b987f[0x1]+_0x515f31|0x0,_0x4b987f[0x2]=_0x4b987f[0x2]+_0x2ccf78|0x0,_0x4b987f[0x3]=_0x4b987f[0x3]+_0x4de332|0x0,_0x4b987f[0x4]=_0x4b987f[0x4]+_0x31c77c|0x0;},'_doFinalize':function(){var _0xa8cfa0=_0xa1eaa2,_0x191dce=this['_data'],_0x1fb32a=_0x191dce[_0xa8cfa0(0x50b)],_0x1cf1f5=this[_0xa8cfa0(0x386)]*0x8,_0x303b5e=_0x191dce[_0xa8cfa0(0x2c0)]*0x8;return _0x1fb32a[_0x303b5e>>>0x5]|=0x80<<0x18-_0x303b5e%0x20,_0x1fb32a[(_0x303b5e+0x40>>>0x9<<0x4)+0xe]=Math[_0xa8cfa0(0x2c1)](_0x1cf1f5/0x100000000),_0x1fb32a[(_0x303b5e+0x40>>>0x9<<0x4)+0xf]=_0x1cf1f5,_0x191dce['sigBytes']=_0x1fb32a[_0xa8cfa0(0x295)]*0x4,this[_0xa8cfa0(0x1e7)](),this['_hash'];},'clone':function(){var _0x38168c=_0xa1eaa2,_0x337bc4=_0x4d33d8[_0x38168c(0x28f)]['call'](this);return _0x337bc4['_hash']=this['_hash']['clone'](),_0x337bc4;}});_0x531642['SHA1']=_0x4d33d8['_createHelper'](_0x4b212f),_0x531642[_0xa1eaa2(0x315)]=_0x4d33d8['_createHmacHelper'](_0x4b212f);}()),_0x3cb178['SHA1'];}));}(me)),me[_0x3a9fa0(0x401)];}var Ce={'exports':{}},wi=Ce[_0x22ac88(0x401)],Qe;function Li(){var _0x244e60=_0x22ac88;return Qe||(Qe=0x1,function(_0x495381,_0x4c5fcc){(function(_0x1752b8,_0x356e01){var _0x404a5e=_0xfcb9;_0x495381[_0x404a5e(0x401)]=_0x356e01(Q());}(wi,function(_0x10bd32){(function(){var _0x46ca4d=_0xfcb9,_0x22ca51=_0x10bd32,_0x1185a2=_0x22ca51[_0x46ca4d(0x27a)],_0x25c255=_0x1185a2[_0x46ca4d(0x3a1)],_0x49ad93=_0x22ca51[_0x46ca4d(0x44d)],_0x4de0e8=_0x49ad93['Utf8'],_0x31e304=_0x22ca51[_0x46ca4d(0x4cc)];_0x31e304[_0x46ca4d(0x4c8)]=_0x25c255[_0x46ca4d(0x2be)]({'init':function(_0x3739ac,_0x294c57){var _0x4a2a98=_0x46ca4d;_0x3739ac=this['_hasher']=new _0x3739ac[(_0x4a2a98(0x219))](),typeof _0x294c57==_0x4a2a98(0x2ef)&&(_0x294c57=_0x4de0e8['parse'](_0x294c57));var _0xdfc7d=_0x3739ac['blockSize'],_0x5cb2c1=_0xdfc7d*0x4;_0x294c57['sigBytes']>_0x5cb2c1&&(_0x294c57=_0x3739ac[_0x4a2a98(0x3ff)](_0x294c57)),_0x294c57[_0x4a2a98(0x3c0)]();for(var _0x5baba8=this[_0x4a2a98(0x34d)]=_0x294c57[_0x4a2a98(0x28f)](),_0x2d5c9e=this['_iKey']=_0x294c57[_0x4a2a98(0x28f)](),_0x26a423=_0x5baba8[_0x4a2a98(0x50b)],_0x542642=_0x2d5c9e[_0x4a2a98(0x50b)],_0x3e8062=0x0;_0x3e8062<_0xdfc7d;_0x3e8062++)_0x26a423[_0x3e8062]^=0x5c5c5c5c,_0x542642[_0x3e8062]^=0x36363636;_0x5baba8[_0x4a2a98(0x2c0)]=_0x2d5c9e['sigBytes']=_0x5cb2c1,this[_0x4a2a98(0x540)]();},'reset':function(){var _0x551286=_0x46ca4d,_0x197f62=this[_0x551286(0x227)];_0x197f62[_0x551286(0x540)](),_0x197f62[_0x551286(0x484)](this['_iKey']);},'update':function(_0x1c951d){var _0x5dc341=_0x46ca4d;return this[_0x5dc341(0x227)][_0x5dc341(0x484)](_0x1c951d),this;},'finalize':function(_0x1f1eda){var _0x2900d0=_0x46ca4d,_0x48a16a=this[_0x2900d0(0x227)],_0x178815=_0x48a16a[_0x2900d0(0x3ff)](_0x1f1eda);_0x48a16a[_0x2900d0(0x540)]();var _0x56b5f7=_0x48a16a[_0x2900d0(0x3ff)](this['_oKey'][_0x2900d0(0x28f)]()[_0x2900d0(0x280)](_0x178815));return _0x56b5f7;}});}());}));}(Ce)),Ce[_0x244e60(0x401)];}var Mi=Ee[_0x22ac88(0x401)],et;function Nt(){var _0x25393a=_0x22ac88;return et||(et=0x1,function(_0x1e2858,_0x37b8f2){(function(_0x106dfe,_0x4a8a90,_0x3ddbff){var _0x45b1bf=_0xfcb9;_0x1e2858[_0x45b1bf(0x401)]=_0x4a8a90(Q(),Pi(),Li());}(Mi,function(_0x48bec7){var _0x445e92=_0xfcb9;return(function(){var _0x4c3a8e=_0xfcb9,_0x308ad0=_0x48bec7,_0x4fbdf6=_0x308ad0['lib'],_0x4562df=_0x4fbdf6['Base'],_0x14f2ce=_0x4fbdf6[_0x4c3a8e(0x28c)],_0x36214f=_0x308ad0[_0x4c3a8e(0x4cc)],_0x26f233=_0x36214f[_0x4c3a8e(0x45c)],_0x570e89=_0x36214f['EvpKDF']=_0x4562df[_0x4c3a8e(0x2be)]({'cfg':_0x4562df['extend']({'keySize':0x80/0x20,'hasher':_0x26f233,'iterations':0x1}),'init':function(_0x8f4871){var _0x41a827=_0x4c3a8e;this['cfg']=this['cfg'][_0x41a827(0x2be)](_0x8f4871);},'compute':function(_0x136a6a,_0x6ab73b){var _0x3e731e=_0x4c3a8e;for(var _0x462310,_0x1d3c77=this[_0x3e731e(0x456)],_0x5f43e3=_0x1d3c77[_0x3e731e(0x252)][_0x3e731e(0x433)](),_0x37d209=_0x14f2ce[_0x3e731e(0x433)](),_0x2e9f93=_0x37d209[_0x3e731e(0x50b)],_0x272842=_0x1d3c77[_0x3e731e(0x408)],_0x2bb62f=_0x1d3c77['iterations'];_0x2e9f93['length']<_0x272842;){_0x462310&&_0x5f43e3['update'](_0x462310),_0x462310=_0x5f43e3['update'](_0x136a6a)[_0x3e731e(0x3ff)](_0x6ab73b),_0x5f43e3[_0x3e731e(0x540)]();for(var _0x31b092=0x1;_0x31b092<_0x2bb62f;_0x31b092++)_0x462310=_0x5f43e3['finalize'](_0x462310),_0x5f43e3[_0x3e731e(0x540)]();_0x37d209[_0x3e731e(0x280)](_0x462310);}return _0x37d209['sigBytes']=_0x272842*0x4,_0x37d209;}});_0x308ad0[_0x4c3a8e(0x36e)]=function(_0x1eef60,_0x4dcf8b,_0x18218d){var _0x204786=_0x4c3a8e;return _0x570e89[_0x204786(0x433)](_0x18218d)[_0x204786(0x473)](_0x1eef60,_0x4dcf8b);};}()),_0x48bec7[_0x445e92(0x36e)];}));}(Ee)),Ee[_0x25393a(0x401)];}var Te={'exports':{}},xi=Te[_0x22ac88(0x401)],tt;function Ut(){var _0x1b474b=_0x22ac88;return tt||(tt=0x1,function(_0x5dcf8a,_0x4796e8){(function(_0x375a18,_0xb37c36,_0x29886e){var _0x36b6d7=_0xfcb9;_0x5dcf8a[_0x36b6d7(0x401)]=_0xb37c36(Q(),Nt());}(xi,function(_0x1f4f8d){var _0x19e480=_0xfcb9;_0x1f4f8d[_0x19e480(0x27a)][_0x19e480(0x3ad)]||function(_0x1afb44){var _0x516c21=_0x19e480,_0x259cda=_0x1f4f8d,_0xf54749=_0x259cda[_0x516c21(0x27a)],_0x2d9ff4=_0xf54749[_0x516c21(0x3a1)],_0x507f1e=_0xf54749[_0x516c21(0x28c)],_0x12a934=_0xf54749['BufferedBlockAlgorithm'],_0x425415=_0x259cda[_0x516c21(0x44d)];_0x425415[_0x516c21(0x38a)];var _0x5432f0=_0x425415[_0x516c21(0x4f6)],_0x33271d=_0x259cda[_0x516c21(0x4cc)],_0x4f9407=_0x33271d[_0x516c21(0x36e)],_0x4480d2=_0xf54749[_0x516c21(0x3ad)]=_0x12a934[_0x516c21(0x2be)]({'cfg':_0x2d9ff4[_0x516c21(0x2be)](),'createEncryptor':function(_0x5f1721,_0x5cad48){var _0x111413=_0x516c21;return this[_0x111413(0x433)](this['_ENC_XFORM_MODE'],_0x5f1721,_0x5cad48);},'createDecryptor':function(_0x309efc,_0x2996bc){var _0x50e1c3=_0x516c21;return this[_0x50e1c3(0x433)](this[_0x50e1c3(0x317)],_0x309efc,_0x2996bc);},'init':function(_0x309918,_0x4e09dd,_0x34c0e3){var _0x2b43b5=_0x516c21;this[_0x2b43b5(0x456)]=this[_0x2b43b5(0x456)][_0x2b43b5(0x2be)](_0x34c0e3),this[_0x2b43b5(0x2b0)]=_0x309918,this[_0x2b43b5(0x54b)]=_0x4e09dd,this['reset']();},'reset':function(){_0x12a934['reset']['call'](this),this['_doReset']();},'process':function(_0x48936f){var _0x25c140=_0x516c21;return this[_0x25c140(0x4b1)](_0x48936f),this[_0x25c140(0x1e7)]();},'finalize':function(_0x3de652){var _0xb83eef=_0x516c21;_0x3de652&&this[_0xb83eef(0x4b1)](_0x3de652);var _0x3f2456=this[_0xb83eef(0x373)]();return _0x3f2456;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x3e5dfe(_0x1ce0e6){var _0x17e1ac=_0xfcb9;return typeof _0x1ce0e6==_0x17e1ac(0x2ef)?_0x4e8150:_0x3ad636;}return function(_0x2136a9){return{'encrypt':function(_0x301634,_0x5434fc,_0xb8b74){var _0x73215b=_0xfcb9;return _0x3e5dfe(_0x5434fc)[_0x73215b(0x48b)](_0x2136a9,_0x301634,_0x5434fc,_0xb8b74);},'decrypt':function(_0x5738e0,_0x22db6a,_0x30abf3){var _0x98f862=_0xfcb9;return _0x3e5dfe(_0x22db6a)[_0x98f862(0x333)](_0x2136a9,_0x5738e0,_0x22db6a,_0x30abf3);}};};}())});_0xf54749['StreamCipher']=_0x4480d2[_0x516c21(0x2be)]({'_doFinalize':function(){var _0x102360=this['_process'](!0x0);return _0x102360;},'blockSize':0x1});var _0x139852=_0x259cda['mode']={},_0x4070ac=_0xf54749[_0x516c21(0x207)]=_0x2d9ff4[_0x516c21(0x2be)]({'createEncryptor':function(_0x1cc498,_0x5bde23){var _0x45dd73=_0x516c21;return this['Encryptor'][_0x45dd73(0x433)](_0x1cc498,_0x5bde23);},'createDecryptor':function(_0x3d03bd,_0x1c9401){var _0x3d5e3e=_0x516c21;return this[_0x3d5e3e(0x2a0)][_0x3d5e3e(0x433)](_0x3d03bd,_0x1c9401);},'init':function(_0x2b6fd8,_0x319722){var _0xb60bb4=_0x516c21;this[_0xb60bb4(0x518)]=_0x2b6fd8,this[_0xb60bb4(0x2e4)]=_0x319722;}}),_0x2a92a3=_0x139852[_0x516c21(0x52e)]=(function(){var _0x1974fc=_0x516c21,_0x3588fc=_0x4070ac[_0x1974fc(0x2be)]();_0x3588fc[_0x1974fc(0x335)]=_0x3588fc['extend']({'processBlock':function(_0x332afc,_0x33df6c){var _0x2e6558=_0x1974fc,_0x195884=this[_0x2e6558(0x518)],_0x4a0a1f=_0x195884[_0x2e6558(0x423)];_0x4f36f5['call'](this,_0x332afc,_0x33df6c,_0x4a0a1f),_0x195884[_0x2e6558(0x3d8)](_0x332afc,_0x33df6c),this[_0x2e6558(0x1eb)]=_0x332afc[_0x2e6558(0x45e)](_0x33df6c,_0x33df6c+_0x4a0a1f);}}),_0x3588fc[_0x1974fc(0x2a0)]=_0x3588fc[_0x1974fc(0x2be)]({'processBlock':function(_0x5078be,_0x21f145){var _0x574f2e=_0x1974fc,_0x27692f=this['_cipher'],_0x2c6057=_0x27692f['blockSize'],_0xc671d1=_0x5078be[_0x574f2e(0x45e)](_0x21f145,_0x21f145+_0x2c6057);_0x27692f[_0x574f2e(0x4f5)](_0x5078be,_0x21f145),_0x4f36f5[_0x574f2e(0x27d)](this,_0x5078be,_0x21f145,_0x2c6057),this[_0x574f2e(0x1eb)]=_0xc671d1;}});function _0x4f36f5(_0x1045d1,_0x33e13a,_0x5bafd6){var _0x2ecad0=_0x1974fc,_0x5393ce,_0x36e827=this[_0x2ecad0(0x2e4)];_0x36e827?(_0x5393ce=_0x36e827,this[_0x2ecad0(0x2e4)]=_0x1afb44):_0x5393ce=this['_prevBlock'];for(var _0x56c917=0x0;_0x56c917<_0x5bafd6;_0x56c917++)_0x1045d1[_0x33e13a+_0x56c917]^=_0x5393ce[_0x56c917];}return _0x3588fc;}()),_0x5b8116=_0x259cda[_0x516c21(0x296)]={},_0x4b26dd=_0x5b8116[_0x516c21(0x31e)]={'pad':function(_0x1b966c,_0x4024f9){var _0xcb8992=_0x516c21;for(var _0x1a470c=_0x4024f9*0x4,_0x1487b8=_0x1a470c-_0x1b966c['sigBytes']%_0x1a470c,_0x61d95a=_0x1487b8<<0x18|_0x1487b8<<0x10|_0x1487b8<<0x8|_0x1487b8,_0xc32b06=[],_0x23454d=0x0;_0x23454d<_0x1487b8;_0x23454d+=0x4)_0xc32b06[_0xcb8992(0x4a2)](_0x61d95a);var _0x55f6dd=_0x507f1e[_0xcb8992(0x433)](_0xc32b06,_0x1487b8);_0x1b966c[_0xcb8992(0x280)](_0x55f6dd);},'unpad':function(_0x5009f4){var _0x595c93=_0x516c21,_0x1b946d=_0x5009f4[_0x595c93(0x50b)][_0x5009f4[_0x595c93(0x2c0)]-0x1>>>0x2]&0xff;_0x5009f4['sigBytes']-=_0x1b946d;}};_0xf54749['BlockCipher']=_0x4480d2['extend']({'cfg':_0x4480d2['cfg'][_0x516c21(0x2be)]({'mode':_0x2a92a3,'padding':_0x4b26dd}),'reset':function(){var _0x373eb2=_0x516c21,_0x3278d8;_0x4480d2['reset'][_0x373eb2(0x27d)](this);var _0x1c11fa=this[_0x373eb2(0x456)],_0x2901b6=_0x1c11fa['iv'],_0x22553b=_0x1c11fa[_0x373eb2(0x43a)];this['_xformMode']==this[_0x373eb2(0x48a)]?_0x3278d8=_0x22553b[_0x373eb2(0x260)]:(_0x3278d8=_0x22553b['createDecryptor'],this['_minBufferSize']=0x1),this['_mode']&&this[_0x373eb2(0x53e)][_0x373eb2(0x20b)]==_0x3278d8?this['_mode'][_0x373eb2(0x219)](this,_0x2901b6&&_0x2901b6[_0x373eb2(0x50b)]):(this[_0x373eb2(0x53e)]=_0x3278d8[_0x373eb2(0x27d)](_0x22553b,this,_0x2901b6&&_0x2901b6['words']),this[_0x373eb2(0x53e)][_0x373eb2(0x20b)]=_0x3278d8);},'_doProcessBlock':function(_0x811865,_0x484444){var _0x395899=_0x516c21;this[_0x395899(0x53e)][_0x395899(0x3cb)](_0x811865,_0x484444);},'_doFinalize':function(){var _0x33400e=_0x516c21,_0x320403,_0x4813c=this['cfg']['padding'];return this['_xformMode']==this['_ENC_XFORM_MODE']?(_0x4813c[_0x33400e(0x296)](this['_data'],this[_0x33400e(0x423)]),_0x320403=this[_0x33400e(0x1e7)](!0x0)):(_0x320403=this[_0x33400e(0x1e7)](!0x0),_0x4813c[_0x33400e(0x514)](_0x320403)),_0x320403;},'blockSize':0x80/0x20});var _0x5190cb=_0xf54749[_0x516c21(0x416)]=_0x2d9ff4[_0x516c21(0x2be)]({'init':function(_0xf6589a){var _0x2d1479=_0x516c21;this[_0x2d1479(0x35c)](_0xf6589a);},'toString':function(_0x1b6afa){var _0x5755ff=_0x516c21;return(_0x1b6afa||this[_0x5755ff(0x413)])[_0x5755ff(0x3d1)](this);}}),_0x3a8d77=_0x259cda[_0x516c21(0x301)]={},_0x5e4871=_0x3a8d77['OpenSSL']={'stringify':function(_0xccfc18){var _0x138a60=_0x516c21,_0x535c9d,_0x187a9f=_0xccfc18[_0x138a60(0x1dc)],_0x59316a=_0xccfc18[_0x138a60(0x40e)];return _0x59316a?_0x535c9d=_0x507f1e[_0x138a60(0x433)]([0x53616c74,0x65645f5f])[_0x138a60(0x280)](_0x59316a)[_0x138a60(0x280)](_0x187a9f):_0x535c9d=_0x187a9f,_0x535c9d[_0x138a60(0x1d2)](_0x5432f0);},'parse':function(_0x2b645f){var _0x2abd86=_0x516c21,_0x4e16a6,_0x33ecd9=_0x5432f0[_0x2abd86(0x3da)](_0x2b645f),_0x4cc7ab=_0x33ecd9[_0x2abd86(0x50b)];return _0x4cc7ab[0x0]==0x53616c74&&_0x4cc7ab[0x1]==0x65645f5f&&(_0x4e16a6=_0x507f1e[_0x2abd86(0x433)](_0x4cc7ab['slice'](0x2,0x4)),_0x4cc7ab[_0x2abd86(0x2ab)](0x0,0x4),_0x33ecd9[_0x2abd86(0x2c0)]-=0x10),_0x5190cb[_0x2abd86(0x433)]({'ciphertext':_0x33ecd9,'salt':_0x4e16a6});}},_0x3ad636=_0xf54749[_0x516c21(0x205)]=_0x2d9ff4['extend']({'cfg':_0x2d9ff4[_0x516c21(0x2be)]({'format':_0x5e4871}),'encrypt':function(_0x21a721,_0x2409c5,_0x2f36c9,_0x51262e){var _0x268bf7=_0x516c21;_0x51262e=this[_0x268bf7(0x456)][_0x268bf7(0x2be)](_0x51262e);var _0x2a7958=_0x21a721[_0x268bf7(0x260)](_0x2f36c9,_0x51262e),_0x534777=_0x2a7958[_0x268bf7(0x3ff)](_0x2409c5),_0x125249=_0x2a7958['cfg'];return _0x5190cb['create']({'ciphertext':_0x534777,'key':_0x2f36c9,'iv':_0x125249['iv'],'algorithm':_0x21a721,'mode':_0x125249[_0x268bf7(0x43a)],'padding':_0x125249[_0x268bf7(0x546)],'blockSize':_0x21a721['blockSize'],'formatter':_0x51262e['format']});},'decrypt':function(_0x2db527,_0xb66b8,_0x310b10,_0x438a3f){var _0x802628=_0x516c21;_0x438a3f=this['cfg'][_0x802628(0x2be)](_0x438a3f),_0xb66b8=this['_parse'](_0xb66b8,_0x438a3f[_0x802628(0x301)]);var _0x54d824=_0x2db527['createDecryptor'](_0x310b10,_0x438a3f)['finalize'](_0xb66b8['ciphertext']);return _0x54d824;},'_parse':function(_0xb5188e,_0x283a28){var _0x484d82=_0x516c21;return typeof _0xb5188e==_0x484d82(0x2ef)?_0x283a28[_0x484d82(0x3da)](_0xb5188e,this):_0xb5188e;}}),_0x3b9135=_0x259cda['kdf']={},_0x525073=_0x3b9135[_0x516c21(0x4ea)]={'execute':function(_0x5f26c4,_0x8dabe5,_0x2b63d4,_0xcd18d1,_0xc5f623){var _0x2bfb39=_0x516c21;if(_0xcd18d1||(_0xcd18d1=_0x507f1e[_0x2bfb39(0x25a)](0x40/0x8)),_0xc5f623)var _0x2479b1=_0x4f9407[_0x2bfb39(0x433)]({'keySize':_0x8dabe5+_0x2b63d4,'hasher':_0xc5f623})[_0x2bfb39(0x473)](_0x5f26c4,_0xcd18d1);else var _0x2479b1=_0x4f9407[_0x2bfb39(0x433)]({'keySize':_0x8dabe5+_0x2b63d4})[_0x2bfb39(0x473)](_0x5f26c4,_0xcd18d1);var _0x1f2bcb=_0x507f1e[_0x2bfb39(0x433)](_0x2479b1[_0x2bfb39(0x50b)][_0x2bfb39(0x45e)](_0x8dabe5),_0x2b63d4*0x4);return _0x2479b1['sigBytes']=_0x8dabe5*0x4,_0x5190cb[_0x2bfb39(0x433)]({'key':_0x2479b1,'iv':_0x1f2bcb,'salt':_0xcd18d1});}},_0x4e8150=_0xf54749['PasswordBasedCipher']=_0x3ad636[_0x516c21(0x2be)]({'cfg':_0x3ad636['cfg'][_0x516c21(0x2be)]({'kdf':_0x525073}),'encrypt':function(_0x27f48e,_0x565eee,_0x5ee85f,_0x5308ff){var _0x98a4a8=_0x516c21;_0x5308ff=this[_0x98a4a8(0x456)][_0x98a4a8(0x2be)](_0x5308ff);var _0x17aa53=_0x5308ff['kdf'][_0x98a4a8(0x272)](_0x5ee85f,_0x27f48e[_0x98a4a8(0x408)],_0x27f48e[_0x98a4a8(0x343)],_0x5308ff[_0x98a4a8(0x40e)],_0x5308ff['hasher']);_0x5308ff['iv']=_0x17aa53['iv'];var _0x18ad16=_0x3ad636['encrypt']['call'](this,_0x27f48e,_0x565eee,_0x17aa53['key'],_0x5308ff);return _0x18ad16['mixIn'](_0x17aa53),_0x18ad16;},'decrypt':function(_0x17cc15,_0x1d248d,_0x3e4fd0,_0x2ca9a8){var _0x5330e9=_0x516c21;_0x2ca9a8=this['cfg'][_0x5330e9(0x2be)](_0x2ca9a8),_0x1d248d=this[_0x5330e9(0x363)](_0x1d248d,_0x2ca9a8[_0x5330e9(0x301)]);var _0xcb32f=_0x2ca9a8[_0x5330e9(0x1e4)]['execute'](_0x3e4fd0,_0x17cc15[_0x5330e9(0x408)],_0x17cc15[_0x5330e9(0x343)],_0x1d248d[_0x5330e9(0x40e)],_0x2ca9a8[_0x5330e9(0x252)]);_0x2ca9a8['iv']=_0xcb32f['iv'];var _0x108e3c=_0x3ad636[_0x5330e9(0x333)][_0x5330e9(0x27d)](this,_0x17cc15,_0x1d248d,_0xcb32f[_0x5330e9(0x1db)],_0x2ca9a8);return _0x108e3c;}});}();}));}(Te)),Te[_0x1b474b(0x401)];}var ki=fe['exports'],it;function Hi(){var _0x15995c=_0x22ac88;return it||(it=0x1,function(_0xe07df8,_0x49cadd){(function(_0x1949d5,_0x8279cc,_0x2cd13a){var _0x4a7c41=_0xfcb9;_0xe07df8[_0x4a7c41(0x401)]=_0x8279cc(Q(),yt(),Di(),Nt(),Ut());}(ki,function(_0x32466a){var _0x11e2be=_0xfcb9;return(function(){var _0x1461dd=_0xfcb9,_0x2fe0d9=_0x32466a,_0x4e3144=_0x2fe0d9[_0x1461dd(0x27a)],_0x5ef687=_0x4e3144[_0x1461dd(0x32a)],_0x44661c=_0x2fe0d9[_0x1461dd(0x4cc)],_0x33adfd=[],_0x419f07=[],_0xd0a6e9=[],_0x164c91=[],_0x125f20=[],_0x436372=[],_0x483e03=[],_0x5abac0=[],_0x5a1a78=[],_0x55af14=[];(function(){for(var _0x385f8d=[],_0x39501a=0x0;_0x39501a<0x100;_0x39501a++)_0x39501a<0x80?_0x385f8d[_0x39501a]=_0x39501a<<0x1:_0x385f8d[_0x39501a]=_0x39501a<<0x1^0x11b;for(var _0x29d75d=0x0,_0x3d65db=0x0,_0x39501a=0x0;_0x39501a<0x100;_0x39501a++){var _0x13e7ab=_0x3d65db^_0x3d65db<<0x1^_0x3d65db<<0x2^_0x3d65db<<0x3^_0x3d65db<<0x4;_0x13e7ab=_0x13e7ab>>>0x8^_0x13e7ab&0xff^0x63,_0x33adfd[_0x29d75d]=_0x13e7ab,_0x419f07[_0x13e7ab]=_0x29d75d;var _0x53a03c=_0x385f8d[_0x29d75d],_0x5ecf0b=_0x385f8d[_0x53a03c],_0x3b5341=_0x385f8d[_0x5ecf0b],_0x168121=_0x385f8d[_0x13e7ab]*0x101^_0x13e7ab*0x1010100;_0xd0a6e9[_0x29d75d]=_0x168121<<0x18|_0x168121>>>0x8,_0x164c91[_0x29d75d]=_0x168121<<0x10|_0x168121>>>0x10,_0x125f20[_0x29d75d]=_0x168121<<0x8|_0x168121>>>0x18,_0x436372[_0x29d75d]=_0x168121;var _0x168121=_0x3b5341*0x1010101^_0x5ecf0b*0x10001^_0x53a03c*0x101^_0x29d75d*0x1010100;_0x483e03[_0x13e7ab]=_0x168121<<0x18|_0x168121>>>0x8,_0x5abac0[_0x13e7ab]=_0x168121<<0x10|_0x168121>>>0x10,_0x5a1a78[_0x13e7ab]=_0x168121<<0x8|_0x168121>>>0x18,_0x55af14[_0x13e7ab]=_0x168121,_0x29d75d?(_0x29d75d=_0x53a03c^_0x385f8d[_0x385f8d[_0x385f8d[_0x3b5341^_0x53a03c]]],_0x3d65db^=_0x385f8d[_0x385f8d[_0x3d65db]]):_0x29d75d=_0x3d65db=0x1;}}());var _0x5c46cf=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x51ccc9=_0x44661c[_0x1461dd(0x2b9)]=_0x5ef687[_0x1461dd(0x2be)]({'_doReset':function(){var _0xf51172=_0x1461dd,_0x386ff2;if(!(this[_0xf51172(0x445)]&&this[_0xf51172(0x525)]===this[_0xf51172(0x54b)])){for(var _0xe3fba2=this[_0xf51172(0x525)]=this[_0xf51172(0x54b)],_0x781b46=_0xe3fba2['words'],_0x2d33a3=_0xe3fba2[_0xf51172(0x2c0)]/0x4,_0x237fd6=this[_0xf51172(0x445)]=_0x2d33a3+0x6,_0x117dbd=(_0x237fd6+0x1)*0x4,_0xace1d4=this[_0xf51172(0x349)]=[],_0x41f453=0x0;_0x41f453<_0x117dbd;_0x41f453++)_0x41f453<_0x2d33a3?_0xace1d4[_0x41f453]=_0x781b46[_0x41f453]:(_0x386ff2=_0xace1d4[_0x41f453-0x1],_0x41f453%_0x2d33a3?_0x2d33a3>0x6&&_0x41f453%_0x2d33a3==0x4&&(_0x386ff2=_0x33adfd[_0x386ff2>>>0x18]<<0x18|_0x33adfd[_0x386ff2>>>0x10&0xff]<<0x10|_0x33adfd[_0x386ff2>>>0x8&0xff]<<0x8|_0x33adfd[_0x386ff2&0xff]):(_0x386ff2=_0x386ff2<<0x8|_0x386ff2>>>0x18,_0x386ff2=_0x33adfd[_0x386ff2>>>0x18]<<0x18|_0x33adfd[_0x386ff2>>>0x10&0xff]<<0x10|_0x33adfd[_0x386ff2>>>0x8&0xff]<<0x8|_0x33adfd[_0x386ff2&0xff],_0x386ff2^=_0x5c46cf[_0x41f453/_0x2d33a3|0x0]<<0x18),_0xace1d4[_0x41f453]=_0xace1d4[_0x41f453-_0x2d33a3]^_0x386ff2);for(var _0x197ea9=this[_0xf51172(0x3bc)]=[],_0x559372=0x0;_0x559372<_0x117dbd;_0x559372++){var _0x41f453=_0x117dbd-_0x559372;if(_0x559372%0x4)var _0x386ff2=_0xace1d4[_0x41f453];else var _0x386ff2=_0xace1d4[_0x41f453-0x4];_0x559372<0x4||_0x41f453<=0x4?_0x197ea9[_0x559372]=_0x386ff2:_0x197ea9[_0x559372]=_0x483e03[_0x33adfd[_0x386ff2>>>0x18]]^_0x5abac0[_0x33adfd[_0x386ff2>>>0x10&0xff]]^_0x5a1a78[_0x33adfd[_0x386ff2>>>0x8&0xff]]^_0x55af14[_0x33adfd[_0x386ff2&0xff]];}}},'encryptBlock':function(_0x56bd8c,_0x32a796){var _0x3a824a=_0x1461dd;this[_0x3a824a(0x3de)](_0x56bd8c,_0x32a796,this[_0x3a824a(0x349)],_0xd0a6e9,_0x164c91,_0x125f20,_0x436372,_0x33adfd);},'decryptBlock':function(_0x35caea,_0x7e531d){var _0x2eb747=_0x1461dd,_0x1d44ba=_0x35caea[_0x7e531d+0x1];_0x35caea[_0x7e531d+0x1]=_0x35caea[_0x7e531d+0x3],_0x35caea[_0x7e531d+0x3]=_0x1d44ba,this[_0x2eb747(0x3de)](_0x35caea,_0x7e531d,this[_0x2eb747(0x3bc)],_0x483e03,_0x5abac0,_0x5a1a78,_0x55af14,_0x419f07);var _0x1d44ba=_0x35caea[_0x7e531d+0x1];_0x35caea[_0x7e531d+0x1]=_0x35caea[_0x7e531d+0x3],_0x35caea[_0x7e531d+0x3]=_0x1d44ba;},'_doCryptBlock':function(_0x15be5d,_0x4c0566,_0x312bb5,_0x39e1bf,_0x26f5c2,_0x314e9c,_0x5535fc,_0x226037){for(var _0x5968d9=this['_nRounds'],_0x1248b9=_0x15be5d[_0x4c0566]^_0x312bb5[0x0],_0x1ef13b=_0x15be5d[_0x4c0566+0x1]^_0x312bb5[0x1],_0x53840c=_0x15be5d[_0x4c0566+0x2]^_0x312bb5[0x2],_0x34a002=_0x15be5d[_0x4c0566+0x3]^_0x312bb5[0x3],_0x512325=0x4,_0x10df69=0x1;_0x10df69<_0x5968d9;_0x10df69++){var _0xc89532=_0x39e1bf[_0x1248b9>>>0x18]^_0x26f5c2[_0x1ef13b>>>0x10&0xff]^_0x314e9c[_0x53840c>>>0x8&0xff]^_0x5535fc[_0x34a002&0xff]^_0x312bb5[_0x512325++],_0xcebc18=_0x39e1bf[_0x1ef13b>>>0x18]^_0x26f5c2[_0x53840c>>>0x10&0xff]^_0x314e9c[_0x34a002>>>0x8&0xff]^_0x5535fc[_0x1248b9&0xff]^_0x312bb5[_0x512325++],_0x58939f=_0x39e1bf[_0x53840c>>>0x18]^_0x26f5c2[_0x34a002>>>0x10&0xff]^_0x314e9c[_0x1248b9>>>0x8&0xff]^_0x5535fc[_0x1ef13b&0xff]^_0x312bb5[_0x512325++],_0x384d8c=_0x39e1bf[_0x34a002>>>0x18]^_0x26f5c2[_0x1248b9>>>0x10&0xff]^_0x314e9c[_0x1ef13b>>>0x8&0xff]^_0x5535fc[_0x53840c&0xff]^_0x312bb5[_0x512325++];_0x1248b9=_0xc89532,_0x1ef13b=_0xcebc18,_0x53840c=_0x58939f,_0x34a002=_0x384d8c;}var _0xc89532=(_0x226037[_0x1248b9>>>0x18]<<0x18|_0x226037[_0x1ef13b>>>0x10&0xff]<<0x10|_0x226037[_0x53840c>>>0x8&0xff]<<0x8|_0x226037[_0x34a002&0xff])^_0x312bb5[_0x512325++],_0xcebc18=(_0x226037[_0x1ef13b>>>0x18]<<0x18|_0x226037[_0x53840c>>>0x10&0xff]<<0x10|_0x226037[_0x34a002>>>0x8&0xff]<<0x8|_0x226037[_0x1248b9&0xff])^_0x312bb5[_0x512325++],_0x58939f=(_0x226037[_0x53840c>>>0x18]<<0x18|_0x226037[_0x34a002>>>0x10&0xff]<<0x10|_0x226037[_0x1248b9>>>0x8&0xff]<<0x8|_0x226037[_0x1ef13b&0xff])^_0x312bb5[_0x512325++],_0x384d8c=(_0x226037[_0x34a002>>>0x18]<<0x18|_0x226037[_0x1248b9>>>0x10&0xff]<<0x10|_0x226037[_0x1ef13b>>>0x8&0xff]<<0x8|_0x226037[_0x53840c&0xff])^_0x312bb5[_0x512325++];_0x15be5d[_0x4c0566]=_0xc89532,_0x15be5d[_0x4c0566+0x1]=_0xcebc18,_0x15be5d[_0x4c0566+0x2]=_0x58939f,_0x15be5d[_0x4c0566+0x3]=_0x384d8c;},'keySize':0x100/0x20});_0x2fe0d9[_0x1461dd(0x2b9)]=_0x5ef687[_0x1461dd(0x32c)](_0x51ccc9);}()),_0x32466a[_0x11e2be(0x2b9)];}));}(fe)),fe[_0x15995c(0x401)];}var $i=Hi();const ji=ve($i);var Bi=yt();const nt=ve(Bi);var be={'exports':{}},Fi=be['exports'],rt;function Vi(){var _0x1db094=_0x22ac88;return rt||(rt=0x1,function(_0x550a80,_0x311b6f){(function(_0x325015,_0x3ef503){var _0x5a30db=_0xfcb9;_0x550a80[_0x5a30db(0x401)]=_0x3ef503(Q());}(Fi,function(_0x27b656){var _0xbe31b6=_0xfcb9;return _0x27b656[_0xbe31b6(0x44d)][_0xbe31b6(0x38a)];}));}(be)),be[_0x1db094(0x401)];}var Wi=Vi();const Gi=ve(Wi);var Re={'exports':{}},Ki=Re[_0x22ac88(0x401)],st;function Yi(){var _0x1eff6a=_0x22ac88;return st||(st=0x1,function(_0x371c11,_0x3151f9){(function(_0x6c5604,_0x2a2dd0){var _0x25c656=_0xfcb9;_0x371c11[_0x25c656(0x401)]=_0x2a2dd0(Q());}(Ki,function(_0x297b76){var _0x10c72d=_0xfcb9;return(function(){var _0x62b7af=_0xfcb9;if(typeof ArrayBuffer==_0x62b7af(0x1e5)){var _0x56ec67=_0x297b76,_0x167b89=_0x56ec67[_0x62b7af(0x27a)],_0x1132cc=_0x167b89[_0x62b7af(0x28c)],_0x4ef8d1=_0x1132cc[_0x62b7af(0x219)],_0x34e17f=_0x1132cc[_0x62b7af(0x219)]=function(_0x2b3695){var _0x9b6ebb=_0x62b7af;if(_0x2b3695 instanceof ArrayBuffer&&(_0x2b3695=new Uint8Array(_0x2b3695)),(_0x2b3695 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x2b3695 instanceof Uint8ClampedArray||_0x2b3695 instanceof Int16Array||_0x2b3695 instanceof Uint16Array||_0x2b3695 instanceof Int32Array||_0x2b3695 instanceof Uint32Array||_0x2b3695 instanceof Float32Array||_0x2b3695 instanceof Float64Array)&&(_0x2b3695=new Uint8Array(_0x2b3695['buffer'],_0x2b3695[_0x9b6ebb(0x3b5)],_0x2b3695[_0x9b6ebb(0x407)])),_0x2b3695 instanceof Uint8Array){for(var _0x6fa2e0=_0x2b3695[_0x9b6ebb(0x407)],_0x3f761f=[],_0x44a09e=0x0;_0x44a09e<_0x6fa2e0;_0x44a09e++)_0x3f761f[_0x44a09e>>>0x2]|=_0x2b3695[_0x44a09e]<<0x18-_0x44a09e%0x4*0x8;_0x4ef8d1[_0x9b6ebb(0x27d)](this,_0x3f761f,_0x6fa2e0);}else _0x4ef8d1[_0x9b6ebb(0x2d6)](this,arguments);};_0x34e17f[_0x62b7af(0x359)]=_0x1132cc;}}()),_0x297b76[_0x10c72d(0x27a)][_0x10c72d(0x28c)];}));}(Re)),Re[_0x1eff6a(0x401)];}var qi=Yi();const zi=ve(qi);var Oe={'exports':{}},Ji=Oe[_0x22ac88(0x401)],ot;function Xi(){var _0x5ea5ef=_0x22ac88;return ot||(ot=0x1,function(_0x234dee,_0x4f2e2d){(function(_0x1ba0af,_0x539cbf,_0x3a7da1){var _0x5dd7cf=_0xfcb9;_0x234dee[_0x5dd7cf(0x401)]=_0x539cbf(Q(),Ut());}(Ji,function(_0x2bb8c4){var _0x5d2030=_0xfcb9;return _0x2bb8c4[_0x5d2030(0x296)][_0x5d2030(0x543)]={'pad':function(){},'unpad':function(){}},_0x2bb8c4[_0x5d2030(0x296)][_0x5d2030(0x543)];}));}(Oe)),Oe[_0x5ea5ef(0x401)];}var Zi=Xi();const Qi=ve(Zi);function _0xfcb9(_0x39117a,_0x3685b9){var _0x7ec8ab=_0x7ec8();return _0xfcb9=function(_0xfcb92c,_0x5641b3){_0xfcb92c=_0xfcb92c-0x1d1;var _0xa440fc=_0x7ec8ab[_0xfcb92c];return _0xa440fc;},_0xfcb9(_0x39117a,_0x3685b9);}function en(_0x2d0b83,_0x3f17e8){var _0x5dcdf0=_0x22ac88;const _0x57feb7=_0x3f17e8-_0x2d0b83[_0x5dcdf0(0x295)]%_0x3f17e8,_0x25adb5=String[_0x5dcdf0(0x284)](_0x57feb7)[_0x5dcdf0(0x44c)](_0x57feb7);return _0x2d0b83+_0x25adb5;}function tn(_0x34da25,_0x1a5cfa){var _0x520139=_0x22ac88;const _0x2d4d8c=zi[_0x520139(0x25a)](0x10),_0x535881=en(_0x34da25,0x10),_0x57d446=ji[_0x520139(0x48b)](Gi['parse'](_0x535881),nt[_0x520139(0x3da)](_0x1a5cfa),{'iv':_0x2d4d8c,'padding':Qi});return _0x2d4d8c[_0x520139(0x280)](_0x57d446['ciphertext'])['toString'](nt);}function nn(){var _0x4ca279=_0x22ac88;const _0x5defb2=wt[_0x4ca279(0x2fc)]()[_0x4ca279(0x276)];if(_0x5defb2){const _0x181667={'time':Math[_0x4ca279(0x2c1)](Date[_0x4ca279(0x537)]()/0x3e8),'domain':location[_0x4ca279(0x2ac)]};return tn(JSON[_0x4ca279(0x3d1)](_0x181667),_0x5defb2);}}var rn=Object[_0x22ac88(0x22c)],sn=(_0xb8cbbf,_0x5ccc34,_0x9b0e9a,_0x501d96)=>{var _0x27622e=_0x22ac88;for(var _0x5e4938=_0x501d96>0x1?void 0x0:_0x501d96?rn(_0x5ccc34,_0x9b0e9a):_0x5ccc34,_0xda27ac=_0xb8cbbf[_0x27622e(0x295)]-0x1,_0xbc158b;_0xda27ac>=0x0;_0xda27ac--)(_0xbc158b=_0xb8cbbf[_0xda27ac])&&(_0x5e4938=_0xbc158b(_0x5e4938)||_0x5e4938);return _0x5e4938;},on=(_0x5eb6c2,_0xd5179c)=>(_0x2101d5,_0x17bb02)=>_0xd5179c(_0x2101d5,_0x17bb02,_0x5eb6c2);let Ne=class{constructor(_0x10382a){var _0x329a41=_0x22ac88;this[_0x329a41(0x4f0)]=_0x10382a,this[_0x329a41(0x538)]();}[_0x22ac88(0x538)](){var _0x375610=_0x22ac88;this[_0x375610(0x4f0)][_0x375610(0x504)]({'interceptor':(_0xe0a364,_0xb7569f)=>{var _0x1be5ae=_0x375610;const _0x20986e=_0xe0a364[_0x1be5ae(0x455)],_0x209f12=nn();return _0x209f12&&_0x20986e['set'](_0x1be5ae(0x369),_0x209f12),_0xb7569f(_0xe0a364);}});}};Ne=sn([on(0x0,a['Inject'](Y['HTTPService']))],Ne);var an=Object[_0x22ac88(0x22c)],cn=(_0x1a3be3,_0x475bbe,_0x42dbe7,_0x31e548)=>{var _0x249c22=_0x22ac88;for(var _0x45527c=_0x31e548>0x1?void 0x0:_0x31e548?an(_0x475bbe,_0x42dbe7):_0x475bbe,_0x55f4ab=_0x1a3be3[_0x249c22(0x295)]-0x1,_0x5d0bee;_0x55f4ab>=0x0;_0x55f4ab--)(_0x5d0bee=_0x1a3be3[_0x55f4ab])&&(_0x45527c=_0x5d0bee(_0x45527c)||_0x45527c);return _0x45527c;},we=(_0x1f3f11,_0x2d8335)=>(_0x1074a0,_0x28273e)=>_0x2d8335(_0x1074a0,_0x28273e,_0x1f3f11);exports['DataLoaderService']=class extends a[_0x22ac88(0x434)]{constructor(_0x2b2d1a,_0x3c1fa1,_0x223626){var _0x140075=_0x22ac88;super(),A(this,_0x140075(0x294),new $[(_0x140075(0x53c))](null)),A(this,'unitInfo$',this[_0x140075(0x294)][_0x140075(0x20a)]()),(this[_0x140075(0x297)]=_0x2b2d1a,this[_0x140075(0x20e)]=_0x3c1fa1,this['_localCacheService']=_0x223626);}async[_0x22ac88(0x358)](_0xe01227,_0x5f5996,_0x2c1aa4){var _0x2adfc4=_0x22ac88;this[_0x2adfc4(0x294)][_0x2adfc4(0x239)]({'unitId':_0xe01227,'type':_0x5f5996});let _0x2ea8a1=null;switch(_0x5f5996){case J[_0x2adfc4(0x403)]:{_0x2ea8a1=await this[_0x2adfc4(0x20e)][_0x2adfc4(0x30c)](_0xe01227,_0x2c1aa4);break;}case J[_0x2adfc4(0x3d5)]:{_0x2ea8a1=await this[_0x2adfc4(0x20e)][_0x2adfc4(0x505)](_0xe01227,_0x2c1aa4);break;}default:{this[_0x2adfc4(0x297)]['error'](_0x2adfc4(0x27c),_0x2adfc4(0x3d6));break;}}return _0x2ea8a1;}async[_0x22ac88(0x438)](_0xc49f61,_0x487d72,_0x16f001){var _0x5b7dac=_0x22ac88,_0x3e621a;this[_0x5b7dac(0x294)]['next']({'unitId':_0xc49f61,'type':_0x487d72,'subUnitId':_0x16f001});let _0x51928d=0x0;const _0x1dbaad=await((_0x3e621a=this[_0x5b7dac(0x545)])==null?void 0x0:_0x3e621a[_0x5b7dac(0x2ed)](_0xc49f61));return _0x1dbaad&&(_0x1dbaad['awaitingChangeset']||_0x1dbaad[_0x5b7dac(0x513)][_0x5b7dac(0x295)]!==0x0)&&(_0x51928d=_0x1dbaad['rev']),_0x51928d===0x0&&this[_0x5b7dac(0x297)][_0x5b7dac(0x283)](_0x5b7dac(0x27c),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x5b7dac(0x358)](_0xc49f61,_0x487d72,_0x51928d);}},exports['DataLoaderService']=cn([we(0x0,a[_0x22ac88(0x3a5)]),we(0x1,a[_0x22ac88(0x371)](I[_0x22ac88(0x45d)])),we(0x2,a[_0x22ac88(0x43b)](q))],exports['DataLoaderService']);var hn=Object[_0x22ac88(0x22c)],_n=(_0x171864,_0x2b4cb8,_0x367a16,_0xef31ca)=>{var _0x5ca6cc=_0x22ac88;for(var _0x546c53=_0xef31ca>0x1?void 0x0:_0xef31ca?hn(_0x2b4cb8,_0x367a16):_0x2b4cb8,_0x3d0262=_0x171864[_0x5ca6cc(0x295)]-0x1,_0x6b17c5;_0x3d0262>=0x0;_0x3d0262--)(_0x6b17c5=_0x171864[_0x3d0262])&&(_0x546c53=_0x6b17c5(_0x546c53)||_0x546c53);return _0x546c53;},Le=(_0x307474,_0x3de253)=>(_0x4f28ca,_0x412afc)=>_0x3de253(_0x4f28ca,_0x412afc,_0x307474);const ln=[_0x22ac88(0x39d),_0x22ac88(0x4ee),_0x22ac88(0x314),_0x22ac88(0x3e8),_0x22ac88(0x4a9)],un=0x5*0x400*0x400,dn=_0x22ac88(0x323),vn=_0x22ac88(0x237),Sn='EXCHANGE_SIGN_URL_SERVER_URL_KEY',fn=_0x22ac88(0x422);exports['CollaborationImageIoService']=class{constructor(_0x37cbcf,_0x5451a5,_0x1bef2b){var _0x3a3912=_0x22ac88;A(this,'_waitCount',0x0),A(this,_0x3a3912(0x47b),new $['Subject']()),A(this,'change$',this['_change$']),A(this,_0x3a3912(0x3e1),new Map()),(this[_0x3a3912(0x4f0)]=_0x37cbcf,this['_configService']=_0x5451a5,this[_0x3a3912(0x388)]=_0x1bef2b);}[_0x22ac88(0x453)](_0x2949a5){var _0x2ae937=_0x22ac88;this[_0x2ae937(0x27e)]=_0x2949a5,this[_0x2ae937(0x47b)][_0x2ae937(0x239)](_0x2949a5);}[_0x22ac88(0x25d)](_0x40732d,_0x4feb88){var _0x3f0eab=_0x22ac88;if(_0x4feb88===z['ImageSourceType'][_0x3f0eab(0x289)]){const _0x84d344=new Image();return _0x84d344[_0x3f0eab(0x36f)]=_0x40732d,_0x84d344;}return this[_0x3f0eab(0x3e1)][_0x3f0eab(0x26d)](_0x40732d);}[_0x22ac88(0x26f)](_0x11dcda,_0x3a6469,_0x10f671){var _0x138df3=_0x22ac88;_0x3a6469===z[_0x138df3(0x3e9)][_0x138df3(0x289)]||_0x10f671==null||this[_0x138df3(0x3e1)]['set'](_0x11dcda,_0x10f671);}async[_0x22ac88(0x2a7)](_0x2d067f){var _0x2a755d=_0x22ac88;try{const _0x3346de=this['_replaceFileID'](this[_0x2a755d(0x385)](),''+_0x2d067f),_0x12bc1d=(await this[_0x2a755d(0x4f0)]['get'](_0x3346de))['body'];if(_0x12bc1d[_0x2a755d(0x424)]&&_0x12bc1d[_0x2a755d(0x424)][_0x2a755d(0x48d)]===gt['OK']){const _0x5395ee=new URL(_0x12bc1d[_0x2a755d(0x39c)],this['_getDownloadEndpointURL']())[_0x2a755d(0x1d2)]();return Promise[_0x2a755d(0x3f4)](_0x5395ee);}return Promise[_0x2a755d(0x2bd)](_0x12bc1d[_0x2a755d(0x424)]);}catch(_0x86fd5f){return Promise[_0x2a755d(0x2bd)](_0x86fd5f);}}async[_0x22ac88(0x420)](_0x4813ca){var _0x1985f2=_0x22ac88;let _0x85b37='';if(!ln[_0x1985f2(0x26c)](_0x4813ca[_0x1985f2(0x48e)]))return this[_0x1985f2(0x45b)](),Promise[_0x1985f2(0x2bd)](new Error(z[_0x1985f2(0x256)][_0x1985f2(0x23a)]));if(_0x4813ca[_0x1985f2(0x242)]>un)return this[_0x1985f2(0x45b)](),Promise['reject'](new Error(z['ImageUploadStatusType'][_0x1985f2(0x368)]));try{const _0x3096f1=new FormData();_0x3096f1['append'](_0x1985f2(0x4fc),_0x4813ca);const _0x30af19=this['_univerInstanceService'][_0x1985f2(0x2c6)](),_0x3b87bb=_0x30af19==null?void 0x0:_0x30af19[_0x1985f2(0x263)]();if(!_0x3b87bb)throw new Error(_0x1985f2(0x262));const _0x5d78a3=this[_0x1985f2(0x23c)]()+_0x1985f2(0x3af)+_0x4813ca[_0x1985f2(0x242)][_0x1985f2(0x1d2)]()+_0x1985f2(0x4bd)+Et[_0x1985f2(0x347)]+_0x1985f2(0x3a9)+encodeURIComponent(_0x3b87bb),_0x2c189e={'body':_0x3096f1},_0x396fc3=(await this['_httpService'][_0x1985f2(0x4c1)](_0x5d78a3,_0x2c189e))['body'];if(typeof _0x396fc3[_0x1985f2(0x3ed)]!=_0x1985f2(0x2ef))return this[_0x1985f2(0x45b)](),Promise[_0x1985f2(0x2bd)](new Error(z['ImageUploadStatusType'][_0x1985f2(0x393)]));_0x85b37=_0x396fc3[_0x1985f2(0x3ed)];}catch{return this[_0x1985f2(0x45b)](),Promise[_0x1985f2(0x2bd)](new Error(z[_0x1985f2(0x256)][_0x1985f2(0x393)]));}return new Promise((_0xd6708b,_0x2c95e7)=>{var _0x189339=_0x1985f2;const _0x4abe0c=new FileReader();_0x4abe0c[_0x189339(0x3f0)](_0x4813ca),_0x4abe0c['onload']=_0x154a7e=>{var _0x9dc52=_0x189339,_0x267cb3;const _0x17811d=(_0x267cb3=_0x154a7e[_0x9dc52(0x28d)])==null?void 0x0:_0x267cb3[_0x9dc52(0x246)];if(_0x17811d==null){this['_decreaseWaiting'](),_0x2c95e7(new Error(z[_0x9dc52(0x256)][_0x9dc52(0x393)]));return;}const _0x20e092=a['Tools'][_0x9dc52(0x232)](0x6);_0xd6708b({'imageId':_0x20e092,'imageSourceType':z[_0x9dc52(0x3e9)][_0x9dc52(0x4dc)],'source':_0x85b37,'base64Cache':_0x17811d,'status':z['ImageUploadStatusType'][_0x9dc52(0x3df)]}),this[_0x9dc52(0x45b)]();};});}[_0x22ac88(0x23c)](){var _0x287f48=_0x22ac88,_0x3d9392,_0x58fd09;const _0x1b6b2f=this[_0x287f48(0x3b3)]['getConfig'](dn),_0x5739ca=this['_configService'][_0x287f48(0x324)](K);return(_0x58fd09=(_0x3d9392=_0x5739ca==null?void 0x0:_0x5739ca[_0x287f48(0x306)])!=null?_0x3d9392:_0x1b6b2f)!=null?_0x58fd09:vn;}[_0x22ac88(0x385)](){var _0x5078bf=_0x22ac88,_0x36574f,_0x53f750;const _0x40533c=this[_0x5078bf(0x3b3)]['getConfig'](Sn),_0x32f2d2=this[_0x5078bf(0x3b3)][_0x5078bf(0x324)](K);return(_0x53f750=(_0x36574f=_0x32f2d2==null?void 0x0:_0x32f2d2[_0x5078bf(0x2b3)])!=null?_0x36574f:_0x40533c)!=null?_0x53f750:fn;}[_0x22ac88(0x50f)](){var _0x487667=_0x22ac88,_0x19f791;const _0x4f432e=this['_configService']['getConfig'](K);return(_0x19f791=_0x4f432e==null?void 0x0:_0x4f432e[_0x487667(0x26e)])!=null?_0x19f791:location[_0x487667(0x501)];}[_0x22ac88(0x201)](_0x5c34b9,_0x232799){var _0x4982c0=_0x22ac88;return _0x5c34b9[_0x4982c0(0x3f8)]('{fileID}',_0x232799);}['_decreaseWaiting'](){var _0x37788a=_0x22ac88;this[_0x37788a(0x27e)]-=0x1,this[_0x37788a(0x47b)][_0x37788a(0x239)](this[_0x37788a(0x27e)]);}},exports[_0x22ac88(0x4d5)]=_n([Le(0x0,a[_0x22ac88(0x371)](Y[_0x22ac88(0x2e3)])),Le(0x1,a[_0x22ac88(0x389)]),Le(0x2,a[_0x22ac88(0x371)](a[_0x22ac88(0x52c)]))],exports[_0x22ac88(0x4d5)]);var pn=Object['getOwnPropertyDescriptor'],In=(_0x38600d,_0x3ccc1a,_0x19d64b,_0x37405)=>{for(var _0x4ae83c=_0x37405>0x1?void 0x0:_0x37405?pn(_0x3ccc1a,_0x19d64b):_0x3ccc1a,_0x1f87c5=_0x38600d['length']-0x1,_0x65261f;_0x1f87c5>=0x0;_0x1f87c5--)(_0x65261f=_0x38600d[_0x1f87c5])&&(_0x4ae83c=_0x65261f(_0x4ae83c)||_0x4ae83c);return _0x4ae83c;},at=(_0xc5b689,_0x4ab1c5)=>(_0x331e5d,_0x364cca)=>_0x4ab1c5(_0x331e5d,_0x364cca,_0xc5b689);const gn=_0x22ac88(0x2ba);exports[_0x22ac88(0x446)]=class{constructor(_0x59050b,_0x35a537){var _0x136e4=_0x22ac88;this['_configService']=_0x59050b,this[_0x136e4(0x266)]=_0x35a537;}['_getAPIPrefixPath'](){var _0x363374=_0x22ac88,_0x4b9db0,_0x4b4e88;const _0x2e8dc4=this[_0x363374(0x3b3)][_0x363374(0x324)](Ve),_0x3c0060=this[_0x363374(0x3b3)]['getConfig'](K);return(_0x4b4e88=(_0x4b9db0=_0x3c0060==null?void 0x0:_0x3c0060[_0x363374(0x247)])!=null?_0x4b9db0:_0x2e8dc4)!=null?_0x4b4e88:gn;}async[_0x22ac88(0x233)](_0x21eba1){var _0x45a6fa=_0x22ac88;const _0x4d5318=this[_0x45a6fa(0x462)]()+_0x45a6fa(0x37d);return{'list':[{'title':_0x45a6fa(0x4e3),'mentions':(await this[_0x45a6fa(0x266)][_0x45a6fa(0x26d)](_0x4d5318,{'params':{'objectID':_0x21eba1[_0x45a6fa(0x542)],'unitID':_0x21eba1['unitId']}}))[_0x45a6fa(0x3dd)]['collaborators'][_0x45a6fa(0x3f9)](_0x46ccdc=>({'objectId':_0x46ccdc['id'],'name':_0x46ccdc[_0x45a6fa(0x495)][_0x45a6fa(0x508)],'metadata':{'icon':_0x46ccdc['subject'][_0x45a6fa(0x270)]},'label':_0x46ccdc[_0x45a6fa(0x495)][_0x45a6fa(0x508)],'objectType':a[_0x45a6fa(0x49a)]['PERSON']})),'metadata':{},'type':a['MentionType'][_0x45a6fa(0x3cf)]}]};}},exports[_0x22ac88(0x446)]=In([at(0x0,a[_0x22ac88(0x371)](a['IConfigService'])),at(0x1,a['Inject'](Y[_0x22ac88(0x2e3)]))],exports[_0x22ac88(0x446)]);var En=Object[_0x22ac88(0x22c)],mn=(_0x4dd968,_0x5d8d08,_0x48e2a1,_0x54e289)=>{var _0x44bf49=_0x22ac88;for(var _0x6cdd34=_0x54e289>0x1?void 0x0:_0x54e289?En(_0x5d8d08,_0x48e2a1):_0x5d8d08,_0x44c790=_0x4dd968[_0x44bf49(0x295)]-0x1,_0x8dcdbf;_0x44c790>=0x0;_0x44c790--)(_0x8dcdbf=_0x4dd968[_0x44c790])&&(_0x6cdd34=_0x8dcdbf(_0x6cdd34)||_0x6cdd34);return _0x6cdd34;},le=(_0xa763c5,_0x487da8)=>(_0x359ef7,_0x2fabce)=>_0x487da8(_0x359ef7,_0x2fabce,_0xa763c5);let Ue=class extends a[_0x22ac88(0x434)]{constructor(_0x272ae3,_0x407b13,_0x3013e8,_0x365d4b,_0x1eca13){var _0x47336b=_0x22ac88;super(),this[_0x47336b(0x459)]=_0x272ae3,this['_univerInstanceService']=_0x407b13,this[_0x47336b(0x3db)]=_0x3013e8,this[_0x47336b(0x1d1)]=_0x365d4b,this[_0x47336b(0x309)]=_0x1eca13,this[_0x47336b(0x2ff)](),this[_0x47336b(0x4bf)]();}['_initCloseConn'](){var _0x2b9424=_0x22ac88;const _0x303b4b=async _0x17f57a=>{var _0x2f86ff=_0xfcb9;(await this[_0x2f86ff(0x1d1)][_0x2f86ff(0x2cd)](_0x17f57a))[_0x2f86ff(0x4a7)]['pipe'](V[_0x2f86ff(0x211)](_0xb21d39=>_0xb21d39[_0x2f86ff(0x35f)]===I['CollaborationEvent'][_0x2f86ff(0x206)]),V[_0x2f86ff(0x35b)](this[_0x2f86ff(0x2dc)]))[_0x2f86ff(0x382)](_0x2ec837=>{var _0xb206af=_0x2f86ff;const _0x30b166=_0x2ec837,{reason:_0x1006e2}=_0x30b166['data'];this[_0xb206af(0x309)][_0xb206af(0x208)]({'id':Z[_0xb206af(0x532)],'data':_0x1006e2}),this['_permissionService'][_0xb206af(0x31f)](new X[(_0xb206af(0x50a))](_0x17f57a)['id'],!0x1),this[_0xb206af(0x1d1)][_0xb206af(0x523)](_0x17f57a);});};$[_0x2b9424(0x268)](this[_0x2b9424(0x388)][_0x2b9424(0x53a)](a[_0x2b9424(0x216)][_0x2b9424(0x403)]),this[_0x2b9424(0x388)][_0x2b9424(0x53a)](a[_0x2b9424(0x216)][_0x2b9424(0x3d5)]))[_0x2b9424(0x2b2)](V[_0x2b9424(0x3f9)](_0x20e2eb=>_0x20e2eb[_0x2b9424(0x263)]()),V[_0x2b9424(0x211)](_0x1dbf1d=>!a[_0x2b9424(0x466)](_0x1dbf1d)),V[_0x2b9424(0x35b)](this[_0x2b9424(0x2dc)]))[_0x2b9424(0x382)](_0x43bac2=>{_0x303b4b(_0x43bac2);});}[_0x22ac88(0x2ff)](){var _0x55ab3b=_0x22ac88;const _0x369c9a=async _0x5bafc5=>{var _0x4f754d=_0xfcb9;const _0x2a35a1=await this['_collaborationSessionService'][_0x4f754d(0x2cd)](_0x5bafc5),_0x4fbf17=this[_0x4f754d(0x459)]['get'](X[_0x4f754d(0x2f0)]);_0x2a35a1['event$']['pipe'](V['filter'](_0x4c14c4=>_0x4c14c4[_0x4f754d(0x35f)]===I[_0x4f754d(0x36b)][_0x4f754d(0x30d)]),V[_0x4f754d(0x35b)](this['dispose$']))[_0x4f754d(0x382)](_0x5eea00=>{var _0x565f4e=_0x4f754d;const _0x24288d=_0x5eea00,{objectId:_0x65cd1a}=_0x24288d[_0x565f4e(0x381)];_0x65cd1a===_0x5bafc5?_0x4fbf17[_0x565f4e(0x2e8)](_0x5bafc5):_0x4fbf17['refreshPermission'](_0x5bafc5,_0x65cd1a);});};$[_0x55ab3b(0x268)](this['_univerInstanceService'][_0x55ab3b(0x53a)](a[_0x55ab3b(0x216)][_0x55ab3b(0x403)]))[_0x55ab3b(0x2b2)](V[_0x55ab3b(0x3f9)](_0x1bff85=>_0x1bff85[_0x55ab3b(0x263)]()),V[_0x55ab3b(0x211)](_0x20b5a8=>!a[_0x55ab3b(0x466)](_0x20b5a8)),V[_0x55ab3b(0x35b)](this[_0x55ab3b(0x2dc)]))['subscribe'](_0x26b232=>{_0x369c9a(_0x26b232);});}};Ue=mn([le(0x0,a[_0x22ac88(0x371)](a[_0x22ac88(0x3c3)])),le(0x1,a[_0x22ac88(0x52c)]),le(0x2,a[_0x22ac88(0x4b4)]),le(0x3,a['Inject'](exports['CollaborationSessionService'])),le(0x4,a['Inject'](ee))],Ue);var Cn=Object[_0x22ac88(0x22c)],Tn=(_0x3960fd,_0x251be1,_0x18005c,_0x40db06)=>{var _0x3548c5=_0x22ac88;for(var _0x11a928=_0x40db06>0x1?void 0x0:_0x40db06?Cn(_0x251be1,_0x18005c):_0x251be1,_0x5580f1=_0x3960fd[_0x3548c5(0x295)]-0x1,_0x35c0fa;_0x5580f1>=0x0;_0x5580f1--)(_0x35c0fa=_0x3960fd[_0x5580f1])&&(_0x11a928=_0x35c0fa(_0x11a928)||_0x11a928);return _0x11a928;},ct=(_0x49429c,_0x315638)=>(_0x18f6d5,_0xe6dcc1)=>_0x315638(_0x18f6d5,_0xe6dcc1,_0x49429c);exports[_0x22ac88(0x3c2)]=class{constructor(_0x5e4c85,_0x12c591){var _0x2a3250=_0x22ac88;this[_0x2a3250(0x3b3)]=_0x5e4c85,this[_0x2a3250(0x4f0)]=_0x12c591;}async[_0x22ac88(0x435)](_0x3d6fb9,_0x4fd41d){var _0x2763f1=_0x22ac88,_0x1e2999;const {unitID:_0x597d2e,type:_0x2ec7bf,revision:_0x5d5d48=0x0}=_0x4fd41d,_0xe08cb0=this['getSnapshotAPIPath']()+'/'+_0x2ec7bf+_0x2763f1(0x490)+_0x597d2e+'/rev/'+_0x5d5d48,_0x444d55=(await this[_0x2763f1(0x4f0)][_0x2763f1(0x26d)](_0xe08cb0))[_0x2763f1(0x3dd)],_0x36f4b9=(_0x1e2999=_0x444d55['snapshot'])==null?void 0x0:_0x1e2999[_0x2763f1(0x510)];if(_0x36f4b9){const _0x40fd01=_0x36f4b9==null?void 0x0:_0x36f4b9[_0x2763f1(0x4f8)],_0x92674a=I[_0x2763f1(0x43c)][_0x2763f1(0x21f)](I[_0x2763f1(0x49e)](_0x40fd01));_0x36f4b9[_0x2763f1(0x4f8)]=_0x92674a,Object[_0x2763f1(0x44a)](_0x36f4b9['sheets'])[_0x2763f1(0x38e)](([,_0x24ea9a])=>{var _0x5b0010=_0x2763f1;const _0x4c1c74=_0x24ea9a[_0x5b0010(0x4f8)],_0xe4aa34=I[_0x5b0010(0x43c)][_0x5b0010(0x21f)](I[_0x5b0010(0x49e)](_0x4c1c74));_0x24ea9a[_0x5b0010(0x4f8)]=_0xe4aa34;});}return _0x444d55;}async[_0x22ac88(0x2bb)](_0x26c2d9,_0x50c806){var _0x1e2eaf=_0x22ac88;const {unitID:_0x2ebb0e,type:_0x15388d,blockID:_0x487478}=_0x50c806,_0x17875f=this['_getAPIPrefix']()+'/'+_0x15388d+_0x1e2eaf(0x490)+_0x2ebb0e+_0x1e2eaf(0x24b)+_0x487478;return(await this['_httpService'][_0x1e2eaf(0x26d)](_0x17875f))['body'];}async[_0x22ac88(0x2f3)](_0x296064,_0x3dc05b){var _0x39047e=_0x22ac88;const {unitID:_0x22e7ba,type:_0x24acad,blockID:_0x337b65}=_0x3dc05b,_0x2cd892=this[_0x39047e(0x352)]()+_0x39047e(0x24b)+_0x24acad+_0x39047e(0x490)+_0x22e7ba+_0x39047e(0x24b)+_0x337b65;return(await this[_0x39047e(0x4f0)][_0x39047e(0x26d)](_0x2cd892))[_0x39047e(0x3dd)];}async[_0x22ac88(0x1f9)](_0x3e62cd,_0x434bfc){var _0x5543a7=_0x22ac88;const {unitID:_0x271e1c,type:_0x129dde,from:_0x5a2250,to:_0x2f4d81}=_0x434bfc,_0x37d320=this[_0x5543a7(0x352)]()+'/'+_0x129dde+_0x5543a7(0x490)+_0x271e1c+_0x5543a7(0x2e2)+_0x5a2250+_0x5543a7(0x3d2)+_0x2f4d81;return(await this['_httpService']['get'](_0x37d320))[_0x5543a7(0x3dd)];}[_0x22ac88(0x322)](){var _0x19befa=_0x22ac88,_0xdc7c4f;return(_0xdc7c4f=this[_0x19befa(0x3b3)][_0x19befa(0x324)](lt))!=null?_0xdc7c4f:this[_0x19befa(0x352)]();}[_0x22ac88(0x352)](){var _0x5db021=_0x22ac88,_0x3373d1,_0x496970;const _0x2d6b8b=this[_0x5db021(0x3b3)][_0x5db021(0x324)](_t),_0x2d87e6=this[_0x5db021(0x3b3)][_0x5db021(0x324)](K);return(_0x496970=(_0x3373d1=_0x2d87e6==null?void 0x0:_0x2d87e6[_0x5db021(0x298)])!=null?_0x3373d1:_0x2d6b8b)!=null?_0x496970:Lt;}async[_0x22ac88(0x344)](_0x292fd0,_0x32b091){var _0x2dd6ab=_0x22ac88;const _0x40e03d=_0x2dd6ab(0x4b6)+_0x32b091[_0x2dd6ab(0x48e)]+_0x2dd6ab(0x490)+_0x32b091[_0x2dd6ab(0x281)]+_0x2dd6ab(0x293);return(await this['_httpService'][_0x2dd6ab(0x26d)](_0x40e03d,{'params':{'resourceId':JSON['stringify'](_0x32b091[_0x2dd6ab(0x2eb)])}}))['body'];}['saveSnapshot'](){var _0xc62c02=_0x22ac88;throw new Error(_0xc62c02(0x1ef));}[_0x22ac88(0x4d9)](){var _0x44fca7=_0x22ac88;throw new Error(_0x44fca7(0x1ef));}[_0x22ac88(0x4ef)](){var _0xedc548=_0x22ac88;throw new Error(_0xedc548(0x1ef));}[_0x22ac88(0x3ea)](){var _0x3921c7=_0x22ac88;throw new Error(_0x3921c7(0x1ef));}[_0x22ac88(0x47d)](){var _0x3254e2=_0x22ac88;throw new Error(_0x3254e2(0x1ef));}[_0x22ac88(0x24c)](){var _0x585179=_0x22ac88;throw new Error(_0x585179(0x1ef));}},exports[_0x22ac88(0x3c2)]=Tn([ct(0x0,a[_0x22ac88(0x389)]),ct(0x1,a[_0x22ac88(0x371)](Y['HTTPService']))],exports[_0x22ac88(0x3c2)]);var bn=Object['getOwnPropertyDescriptor'],Rn=(_0x45ef80,_0x3c3072,_0x743e93,_0x4aafb3)=>{var _0x1747ef=_0x22ac88;for(var _0x175490=_0x4aafb3>0x1?void 0x0:_0x4aafb3?bn(_0x3c3072,_0x743e93):_0x3c3072,_0x406580=_0x45ef80[_0x1747ef(0x295)]-0x1,_0x2bf0c4;_0x406580>=0x0;_0x406580--)(_0x2bf0c4=_0x45ef80[_0x406580])&&(_0x175490=_0x2bf0c4(_0x175490)||_0x175490);return _0x175490;},ue=(_0x49782e,_0x1d4373)=>(_0x186c29,_0x38fdae)=>_0x1d4373(_0x186c29,_0x38fdae,_0x49782e);exports[_0x22ac88(0x2a2)]=class extends a['LocalUndoRedoService']{constructor(_0x13b7b3,_0x28aab4,_0x37da19,_0x3c7f9a,_0x3a921e){var _0x27eb76=_0x22ac88;super(_0x13b7b3,_0x28aab4,_0x37da19),this['_transformService']=_0x3c7f9a,this[_0x27eb76(0x297)]=_0x3a921e;}['transformUndoRedo'](_0x2d9d34,_0x574167){var _0x472c89=_0x22ac88;const _0x2ede97=this[_0x472c89(0x52f)](_0x2d9d34);if(_0x2ede97)try{const _0x491a04=this[_0x472c89(0x230)](_0x2ede97,_0x574167);this[_0x472c89(0x332)](_0x2d9d34,_0x491a04);}catch(_0x534beb){this['_logService'][_0x472c89(0x424)]('[CollaborationUndoRedoService]',_0x534beb),this[_0x472c89(0x238)](_0x2d9d34);}const _0x1fda7c=this['_getRedoStack'](_0x2d9d34);if(_0x1fda7c)try{const _0xf691a8=this[_0x472c89(0x230)](_0x1fda7c,_0x574167);this[_0x472c89(0x203)](_0x2d9d34,_0xf691a8);}catch(_0x5620e8){this[_0x472c89(0x297)][_0x472c89(0x424)](_0x5620e8),this[_0x472c89(0x234)](_0x2d9d34);}}[_0x22ac88(0x238)](_0x21ca79){var _0x5363d2=_0x22ac88;const _0x5e9b17=this[_0x5363d2(0x52f)](_0x21ca79);_0x5e9b17&&(_0x5e9b17['length']=0x0,this[_0x5363d2(0x245)]());}['_clearRedo'](_0xf38a83){var _0x9d8771=_0x22ac88;const _0x3ccfc7=this[_0x9d8771(0x21d)](_0xf38a83);_0x3ccfc7&&(_0x3ccfc7[_0x9d8771(0x295)]=0x0,this[_0x9d8771(0x245)]());}[_0x22ac88(0x332)](_0x3ad926,_0x47b8d5){var _0x173f46=_0x22ac88;this[_0x173f46(0x2ea)][_0x173f46(0x506)](_0x3ad926,_0x47b8d5),this[_0x173f46(0x245)]();}[_0x22ac88(0x203)](_0x4a4eb0,_0xa4ed9a){var _0x4fa18e=_0x22ac88;this[_0x4fa18e(0x2db)]['set'](_0x4a4eb0,_0xa4ed9a),this[_0x4fa18e(0x245)]();}[_0x22ac88(0x230)](_0x3895fe,_0x9c2af1){var _0x4a8958=_0x22ac88;const _0x5bfca6=[];let _0x46550b=_0x9c2af1,_0x418d3b=_0x9c2af1;for(let _0x43ca88=_0x3895fe[_0x4a8958(0x295)]-0x1;_0x43ca88>=0x0;_0x43ca88--){const {unitID:_0x57006d,undoMutations:_0x4cb0bc,redoMutations:_0x36654e}=_0x3895fe[_0x43ca88],_0x1fc9c4=this[_0x4a8958(0x544)]['transformMutationsWithChangeset'](_0x46550b,_0x4cb0bc),_0x2394b6=this[_0x4a8958(0x544)][_0x4a8958(0x448)](_0x418d3b,_0x36654e);if(I[_0x4a8958(0x522)](_0x1fc9c4)||I[_0x4a8958(0x522)](_0x2394b6)){this[_0x4a8958(0x297)][_0x4a8958(0x424)](_0x4a8958(0x4e2),_0x4a8958(0x34f),_0x1fc9c4,_0x2394b6);break;}_0x46550b=_0x1fc9c4['c1Prime'],_0x418d3b=_0x2394b6[_0x4a8958(0x2d8)],_0x5bfca6['push']({'unitID':_0x57006d,'undoMutations':_0x1fc9c4[_0x4a8958(0x3b6)],'redoMutations':_0x2394b6[_0x4a8958(0x3b6)]});}return _0x5bfca6[_0x4a8958(0x3e0)]();}},exports[_0x22ac88(0x2a2)]=Rn([ue(0x0,a[_0x22ac88(0x52c)]),ue(0x1,a[_0x22ac88(0x4f2)]),ue(0x2,a[_0x22ac88(0x516)]),ue(0x3,I[_0x22ac88(0x337)]),ue(0x4,a['ILogService'])],exports[_0x22ac88(0x2a2)]);var On=Object[_0x22ac88(0x243)],yn=Object['getOwnPropertyDescriptor'],Nn=(_0x32c491,_0x3a04a3,_0x466669)=>_0x3a04a3 in _0x32c491?On(_0x32c491,_0x3a04a3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x466669}):_0x32c491[_0x3a04a3]=_0x466669,Un=(_0x36bfea,_0x32c1a0,_0x3ce3bc,_0x478bc8)=>{var _0x540625=_0x22ac88;for(var _0xca91f7=_0x478bc8>0x1?void 0x0:_0x478bc8?yn(_0x32c1a0,_0x3ce3bc):_0x32c1a0,_0x4c7bad=_0x36bfea[_0x540625(0x295)]-0x1,_0x4eed4f;_0x4c7bad>=0x0;_0x4c7bad--)(_0x4eed4f=_0x36bfea[_0x4c7bad])&&(_0xca91f7=_0x4eed4f(_0xca91f7)||_0xca91f7);return _0xca91f7;},Me=(_0x5ee862,_0x331be2)=>(_0x199406,_0x5c352d)=>_0x331be2(_0x199406,_0x5c352d,_0x5ee862),Dn=(_0x4426d2,_0x231bcd,_0x22bb42)=>Nn(_0x4426d2,_0x231bcd+'',_0x22bb42);const An=_0x22ac88(0x20d);exports[_0x22ac88(0x4cd)]=class extends a[_0x22ac88(0x4a4)]{constructor(_0x59314e,_0x1a5e0e,_0x2fc8c7,_0x4846f4){var _0x15e2a2=_0x22ac88;super(),A(this,_0x15e2a2(0x3e2)),(this[_0x15e2a2(0x297)]=_0x1a5e0e,this[_0x15e2a2(0x459)]=_0x2fc8c7,this[_0x15e2a2(0x3b3)]=_0x4846f4);const {..._0x567596}=a[_0x15e2a2(0x268)]({},Yt,_0x59314e);if(!_0x567596[_0x15e2a2(0x4e9)])throw new Error(_0x15e2a2(0x2c3));this[_0x15e2a2(0x3e2)]=_0x567596,this['_configService'][_0x15e2a2(0x478)](K,_0x567596);}[_0x22ac88(0x4f1)](){var _0x29af72=_0x22ac88;this['_registerDependencies'](),this[_0x29af72(0x1d8)]();}['_registerDependencies'](){var _0x3014e7=_0x22ac88,_0x2e9d07,_0x4c72fa;this['_injector'][_0x3014e7(0x346)](a[_0x3014e7(0x3b4)])&&this[_0x3014e7(0x297)][_0x3014e7(0x424)](_0x3014e7(0x395),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x50364c=a[_0x3014e7(0x1ed)]([[a[_0x3014e7(0x3b4)],{'useClass':exports[_0x3014e7(0x2a2)]}],[exports['CollaborationSessionService']],[exports[_0x3014e7(0x457)]],[exports[_0x3014e7(0x394)]],[ye],[Ne],[$e],[Ue],[ee],[exports['DataLoaderService']],[He,{'useClass':this[_0x3014e7(0x3e2)][_0x3014e7(0x4e9)]}],[I[_0x3014e7(0x444)],{'useClass':exports[_0x3014e7(0x3c2)]}],[a['IAuthzIoService'],{'useClass':exports[_0x3014e7(0x29e)]}],[z[_0x3014e7(0x412)],{'useClass':exports[_0x3014e7(0x4d5)]}],[a[_0x3014e7(0x3bf)],{'useClass':exports[_0x3014e7(0x446)]}],[exports[_0x3014e7(0x48c)]],[xe]],(_0x2e9d07=this['_config'])==null?void 0x0:_0x2e9d07[_0x3014e7(0x4d6)]);if(!((_0x4c72fa=this['_config'])!=null&&_0x4c72fa['enableSingleActiveInstanceLock'])){const _0x369f88=_0x50364c[_0x3014e7(0x348)](([_0x39223a])=>_0x39223a===de);_0x369f88!==-0x1&&_0x50364c[_0x3014e7(0x2ab)](_0x369f88,0x1);}a[_0x3014e7(0x1fd)](this[_0x3014e7(0x459)],_0x50364c);}['_initDependencies'](){var _0x2db5ed=_0x22ac88,_0x2b3a64,_0x24d216,_0x2e4b36;this[_0x2db5ed(0x459)][_0x2db5ed(0x26d)](Y['HTTPService'])['registerHTTPInterceptor']({'priority':0x14,'interceptor':Y['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x2b3a64=this['_config'])!=null&&_0x2b3a64['enableOfflineEditing']||(_0x24d216=this[_0x2db5ed(0x459)][_0x2db5ed(0x26d)](q,a[_0x2db5ed(0x517)][_0x2db5ed(0x4e7)]))==null||_0x24d216[_0x2db5ed(0x32e)](),(_0x2e4b36=this['_config'])!=null&&_0x2e4b36[_0x2db5ed(0x269)]&&a[_0x2db5ed(0x1ec)](this[_0x2db5ed(0x459)],[[ye]]),a[_0x2db5ed(0x1ec)](this['_injector'],[[Ne],[exports[_0x2db5ed(0x48c)]],[Ue]]);}},Dn(exports[_0x22ac88(0x4cd)],_0x22ac88(0x4db),An),exports['UniverCollaborationClientPlugin']=Un([a[_0x22ac88(0x4d1)](I['UniverCollaborationPlugin'],Y[_0x22ac88(0x1d7)]),Me(0x1,a[_0x22ac88(0x3a5)]),Me(0x2,a['Inject'](a[_0x22ac88(0x3c3)])),Me(0x3,a[_0x22ac88(0x389)])],exports[_0x22ac88(0x4cd)]),exports[_0x22ac88(0x41e)]=Ve,exports[_0x22ac88(0x471)]=K,exports['COLLAB_SUBMIT_CHANGESET_URL_KEY']=pt,exports[_0x22ac88(0x3e6)]=ut,exports[_0x22ac88(0x44f)]=Be,exports[_0x22ac88(0x3aa)]=Z,exports[_0x22ac88(0x244)]=ee,exports[_0x22ac88(0x350)]=$e,exports[_0x22ac88(0x1d9)]=dt,exports[_0x22ac88(0x2c7)]=Kt,exports['DEFAULT_WS_SESSION_TICKET_URL']=kt,exports[_0x22ac88(0x50d)]=vt,exports[_0x22ac88(0x2c2)]=ke,exports[_0x22ac88(0x36c)]=He,exports[_0x22ac88(0x4a0)]=q,exports[_0x22ac88(0x429)]=mt,exports[_0x22ac88(0x2b5)]=de,exports[_0x22ac88(0x489)]=Ft,exports['LOCAL_CACHE_INTERVAL_KEY']=Bt,exports[_0x22ac88(0x30a)]=It,exports['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']=Gt,exports['RETRY_CONNECTING_MAX_COUNT_KEY']=ft,exports[_0x22ac88(0x4a8)]=Mt,exports['SNAPSHOT_SERVER_URL_KEY']=_t,exports[_0x22ac88(0x405)]=lt,exports['SessionStatus']=re,exports[_0x22ac88(0x304)]=je,exports[_0x22ac88(0x1df)]=Ct,exports[_0x22ac88(0x502)]=oi,exports['serializeCombRequest']=Tt;
1
+ 'use strict';var _0x5c6280=_0x816a;(function(_0x424999,_0x495c19){var _0x420c1a=_0x816a,_0x2a9f08=_0x424999();while(!![]){try{var _0x2d2499=parseInt(_0x420c1a(0x2db))/0x1+-parseInt(_0x420c1a(0x137))/0x2*(-parseInt(_0x420c1a(0x11e))/0x3)+parseInt(_0x420c1a(0x25d))/0x4+parseInt(_0x420c1a(0x40f))/0x5+-parseInt(_0x420c1a(0x1f8))/0x6*(parseInt(_0x420c1a(0x39e))/0x7)+parseInt(_0x420c1a(0x2a8))/0x8*(parseInt(_0x420c1a(0x2e8))/0x9)+-parseInt(_0x420c1a(0x1fc))/0xa;if(_0x2d2499===_0x495c19)break;else _0x2a9f08['push'](_0x2a9f08['shift']());}catch(_0x58654a){_0x2a9f08['push'](_0x2a9f08['shift']());}}}(_0x1835,0x2f895));var Dt=Object[_0x5c6280(0x1a0)],At=(_0x1570af,_0xd2f5fa,_0x2b596e)=>_0xd2f5fa in _0x1570af?Dt(_0x1570af,_0xd2f5fa,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2b596e}):_0x1570af[_0xd2f5fa]=_0x2b596e,A=(_0x38fe6a,_0x3c5762,_0x4403b8)=>At(_0x38fe6a,typeof _0x3c5762!=_0x5c6280(0x309)?_0x3c5762+'':_0x3c5762,_0x4403b8);Object[_0x5c6280(0x1a0)](exports,Symbol['toStringTag'],{'value':'Module'});const a=require(_0x5c6280(0x104)),$=require(_0x5c6280(0x1b1)),V=require('rxjs/operators'),I=require(_0x5c6280(0x129)),Y=require(_0x5c6280(0x1b8)),Pt=require(_0x5c6280(0x114)),ht=require('@univerjs/docs'),X=require(_0x5c6280(0x1c9)),z=require(_0x5c6280(0x349)),wt=require(_0x5c6280(0xcc)),_t='SNAPSHOT_SERVER_URL_KEY',Lt='/universer-api/snapshot',lt=_0x5c6280(0x29f),Mt=_0x5c6280(0x41c),xt=0x7d0,ut=_0x5c6280(0x29a),dt=_0x5c6280(0x1eb),kt=_0x5c6280(0x360),vt='HEARTBEAT_INTERVAL',Ht=0x7530,ke='HEARTBEAT_TIMEOUT',St=0x4e20,$t=0x4e20,ft='RETRY_CONNECTING_MAX_COUNT',jt=0x3,Bt='LOCAL_CACHE_INTERVAL',Ft=0x3e8,pt='COLLAB_SUBMIT_CHANGESET_URL',Vt=_0x5c6280(0x184),It='LOGIN_URL_KEY',Wt=_0x5c6280(0x1c5),Gt=_0x5c6280(0x1fe),Kt=_0x5c6280(0x3f4);var gt=(_0x38c1fe=>(_0x38c1fe[_0x38c1fe[_0x5c6280(0x24e)]=0x0]=_0x5c6280(0x24e),_0x38c1fe[_0x38c1fe['OK']=0x1]='OK',_0x38c1fe[_0x38c1fe[_0x5c6280(0x403)]=0x2]=_0x5c6280(0x403),_0x38c1fe[_0x38c1fe[_0x5c6280(0x3f3)]=0x3]=_0x5c6280(0x3f3),_0x38c1fe[_0x38c1fe[_0x5c6280(0x141)]=0x4]=_0x5c6280(0x141),_0x38c1fe[_0x38c1fe[_0x5c6280(0x1fd)]=0x5]='UNAUTHENTICATED',_0x38c1fe[_0x38c1fe[_0x5c6280(0xc6)]=0x6]='ALREADY_EXISTS',_0x38c1fe[_0x38c1fe[_0x5c6280(0x1ef)]=0x7]=_0x5c6280(0x1ef),_0x38c1fe[_0x38c1fe[_0x5c6280(0x320)]=0x8]='TOO_MANY_REQUESTS',_0x38c1fe[_0x38c1fe['COMPLETION_FINISHED']=0x9]=_0x5c6280(0x3ed),_0x38c1fe[_0x38c1fe['LOGIN_FAILED']=0xa]=_0x5c6280(0x264),_0x38c1fe[_0x38c1fe['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x5c6280(0x213),_0x38c1fe[_0x38c1fe['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x5c6280(0x384),_0x38c1fe[_0x38c1fe['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x5c6280(0x293),_0x38c1fe[_0x38c1fe['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x5c6280(0x40e),_0x38c1fe[_0x38c1fe[_0x5c6280(0x193)]=0x1b59]=_0x5c6280(0x193),_0x38c1fe[_0x38c1fe[_0x5c6280(0x20c)]=0x1b5a]=_0x5c6280(0x20c),_0x38c1fe[_0x38c1fe['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x5c6280(0x341),_0x38c1fe[_0x38c1fe['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0x38c1fe[_0x38c1fe[_0x5c6280(0x34b)]=0x1b5d]='APPLY_DUPLICATED',_0x38c1fe[_0x38c1fe[_0x5c6280(0x254)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x38c1fe[_0x38c1fe['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x5c6280(0x31b),_0x38c1fe[_0x38c1fe[_0x5c6280(0x2a0)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x38c1fe[_0x38c1fe[_0x5c6280(0x16f)]=0x232b]=_0x5c6280(0x16f),_0x38c1fe[_0x38c1fe[_0x5c6280(0x1ed)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x38c1fe[_0x38c1fe[_0x5c6280(0x203)]=0x232d]=_0x5c6280(0x203),_0x38c1fe[_0x38c1fe[_0x5c6280(0x1ba)]=0x2711]=_0x5c6280(0x1ba),_0x38c1fe[_0x38c1fe[_0x5c6280(0x33d)]=0x2712]=_0x5c6280(0x33d),_0x38c1fe[_0x38c1fe['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x38c1fe[_0x38c1fe[_0x5c6280(0x30a)]=0x2714]=_0x5c6280(0x30a),_0x38c1fe[_0x38c1fe[_0x5c6280(0x2c9)]=0x271a]=_0x5c6280(0x2c9),_0x38c1fe[_0x38c1fe['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x5c6280(0x2ce),_0x38c1fe[_0x38c1fe[_0x5c6280(0x218)]=0x271c]=_0x5c6280(0x218),_0x38c1fe[_0x38c1fe[_0x5c6280(0x35f)]=0x271d]=_0x5c6280(0x35f),_0x38c1fe[_0x38c1fe[_0x5c6280(0x1bc)]=0x271e]=_0x5c6280(0x1bc),_0x38c1fe[_0x38c1fe['YUUMI_AI_RUN_FAILED']=0x271f]='YUUMI_AI_RUN_FAILED',_0x38c1fe[_0x38c1fe[_0x5c6280(0x15a)]=0x2af9]=_0x5c6280(0x15a),_0x38c1fe[_0x38c1fe[_0x5c6280(0x1c6)]=0x2ee1]=_0x5c6280(0x1c6),_0x38c1fe[_0x38c1fe[_0x5c6280(0x22e)]=0x2ee2]=_0x5c6280(0x22e),_0x38c1fe[_0x38c1fe['INVITE_CODE_REQUIRED']=0x2ee3]=_0x5c6280(0x1b9),_0x38c1fe[_0x38c1fe[_0x5c6280(0x3ce)]=0x2ee4]=_0x5c6280(0x3ce),_0x38c1fe[_0x38c1fe[_0x5c6280(0x400)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x38c1fe[_0x38c1fe[_0x5c6280(0x363)]=0x32c9]=_0x5c6280(0x363),_0x38c1fe[_0x38c1fe[_0x5c6280(0x135)]=0x32ca]=_0x5c6280(0x135),_0x38c1fe[_0x38c1fe[_0x5c6280(0x118)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x38c1fe[_0x38c1fe[_0x5c6280(0x298)]=-0x1]=_0x5c6280(0x298),_0x38c1fe))(gt||{}),J=(_0x35cfb4=>(_0x35cfb4[_0x35cfb4[_0x5c6280(0x101)]=0x0]=_0x5c6280(0x101),_0x35cfb4[_0x35cfb4[_0x5c6280(0x1dd)]=0x1]=_0x5c6280(0x1dd),_0x35cfb4[_0x35cfb4[_0x5c6280(0x372)]=0x2]='UNIVER_SHEET',_0x35cfb4[_0x35cfb4[_0x5c6280(0xe3)]=0x3]='UNIVER_SLIDE',_0x35cfb4[_0x35cfb4[_0x5c6280(0x3b4)]=0x4]=_0x5c6280(0x3b4),_0x35cfb4[_0x35cfb4[_0x5c6280(0x298)]=-0x1]=_0x5c6280(0x298),_0x35cfb4))(J||{}),W=(_0x576ff3=>(_0x576ff3[_0x576ff3[_0x5c6280(0x3cd)]=0x0]=_0x5c6280(0x3cd),_0x576ff3[_0x576ff3[_0x5c6280(0x1c0)]=0x1]=_0x5c6280(0x1c0),_0x576ff3[_0x576ff3[_0x5c6280(0x342)]=0x2]='JOIN',_0x576ff3[_0x576ff3[_0x5c6280(0x394)]=0x3]=_0x5c6280(0x394),_0x576ff3[_0x576ff3['INGEST']=0x4]=_0x5c6280(0x108),_0x576ff3[_0x576ff3[_0x5c6280(0x357)]=0x5]=_0x5c6280(0x357),_0x576ff3[_0x576ff3[_0x5c6280(0x367)]=0x6]=_0x5c6280(0x367),_0x576ff3[_0x576ff3['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x576ff3))(W||{}),oe=(_0x3674da=>(_0x3674da[_0x3674da['UNKNOWN_CODE']=0x0]=_0x5c6280(0x1f6),_0x3674da[_0x3674da['OK']=0x1]='OK',_0x3674da[_0x3674da['FAIL']=0x2]=_0x5c6280(0x3e4),_0x3674da[_0x3674da[_0x5c6280(0x3b5)]=0x3e9]=_0x5c6280(0x3b5),_0x3674da[_0x3674da['JOIN_ROOM_NOT_EXISTS']=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x3674da[_0x3674da[_0x5c6280(0x1df)]=0x3eb]=_0x5c6280(0x1df),_0x3674da[_0x3674da['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x3674da[_0x3674da['UNRECOGNIZED']=-0x1]=_0x5c6280(0x298),_0x3674da))(oe||{}),Et=(_0x278d66=>(_0x278d66[_0x278d66[_0x5c6280(0x21f)]=0x0]='Undefined',_0x278d66[_0x278d66['HttpImport']=0x1]=_0x5c6280(0x1d0),_0x278d66[_0x278d66[_0x5c6280(0xd5)]=0x2]=_0x5c6280(0xd5),_0x278d66[_0x278d66[_0x5c6280(0x28a)]=0x3]=_0x5c6280(0x28a),_0x278d66[_0x278d66[_0x5c6280(0x1b0)]=0x4]=_0x5c6280(0x1b0),_0x278d66[_0x278d66[_0x5c6280(0x10a)]=0x5]=_0x5c6280(0x10a),_0x278d66[_0x278d66[_0x5c6280(0x298)]=-0x1]=_0x5c6280(0x298),_0x278d66))(Et||{});const K=_0x5c6280(0x352),Yt={};var Z=(_0x23470e=>(_0x23470e['OTHER_CLIENT_EDITING']=_0x5c6280(0xbe),_0x23470e['PERMISSION_DENIED']=_0x5c6280(0x3f3),_0x23470e[_0x5c6280(0x197)]='CONFLICT',_0x23470e[_0x5c6280(0x38e)]=_0x5c6280(0x38e),_0x23470e[_0x5c6280(0xb6)]=_0x5c6280(0xb6),_0x23470e[_0x5c6280(0x148)]=_0x5c6280(0x148),_0x23470e[_0x5c6280(0x246)]=_0x5c6280(0x246),_0x23470e['SUBMIT_CHANGESET_TIMEOUT']=_0x5c6280(0x239),_0x23470e))(Z||{});class ee{constructor(){var _0x383df5=_0x5c6280;A(this,'_event$',new $[(_0x383df5(0x3fc))]()),A(this,'event$',this['_event$'][_0x383df5(0x1c1)]());}[_0x5c6280(0x3df)](_0x59b2ef){var _0x44d507=_0x5c6280;this[_0x44d507(0x326)][_0x44d507(0x134)](_0x59b2ef);}}const mt=a[_0x5c6280(0x1f4)]('univer-pro.collaboration-client.network-condition.service');function Ct(_0x214c29){var _0x4f6a1f=_0x5c6280,_0x49d8af,_0x2041a0,_0x5eae03,_0x182789,_0x3f22c2;const _0x138972=_0x214c29[_0x4f6a1f(0x3a0)],_0x1395f5=JSON['parse'](_0x138972);switch(_0x1395f5[_0x4f6a1f(0xb9)]){case W[_0x4f6a1f(0x357)]:case W[_0x4f6a1f(0x1c0)]:{const _0x39b816=_0x1395f5[_0x4f6a1f(0x340)];return{..._0x1395f5,'data':_0x39b816,'cmd':_0x1395f5[_0x4f6a1f(0xb9)]};}case W[_0x4f6a1f(0x342)]:{const _0x3319b4=_0x1395f5[_0x4f6a1f(0x36d)];return{..._0x1395f5,'data':_0x3319b4,'cmd':_0x1395f5[_0x4f6a1f(0xb9)]};}case W[_0x4f6a1f(0x367)]:{const _0x1a2981=_0x1395f5[_0x4f6a1f(0x1ac)];switch(_0x1a2981[_0x4f6a1f(0x417)]){case I[_0x4f6a1f(0x379)][_0x4f6a1f(0x169)]:return{..._0x1395f5,'data':{..._0x1a2981,'data':(_0x49d8af=_0x1a2981[_0x4f6a1f(0x28f)])==null?void 0x0:_0x49d8af['cs']},'cmd':_0x1395f5['cmd']};case I['CollaborationEvent'][_0x4f6a1f(0xb7)]:return{..._0x1395f5,'data':{..._0x1a2981,'data':(_0x2041a0=_0x1a2981[_0x4f6a1f(0x31c)])==null?void 0x0:_0x2041a0['cs']},'cmd':_0x1395f5[_0x4f6a1f(0xb9)]};case I[_0x4f6a1f(0x379)][_0x4f6a1f(0x1de)]:return{..._0x1395f5,'data':{..._0x1a2981,'data':(_0x5eae03=_0x1a2981[_0x4f6a1f(0x3c0)])==null?void 0x0:_0x5eae03['cs']},'cmd':_0x1395f5[_0x4f6a1f(0xb9)]};case I[_0x4f6a1f(0x379)]['CHANGESET_REJ']:return{..._0x1395f5,'data':{..._0x1a2981,'data':(_0x182789=_0x1a2981[_0x4f6a1f(0xbc)])==null?void 0x0:_0x182789['cs']},'cmd':_0x1395f5['cmd']};case I[_0x4f6a1f(0x379)][_0x4f6a1f(0xda)]:return{..._0x1395f5,'data':{..._0x1a2981,'data':(_0x3f22c2=_0x1a2981[_0x4f6a1f(0x263)])==null?void 0x0:_0x3f22c2['cs']},'cmd':_0x1395f5[_0x4f6a1f(0xb9)]};case I[_0x4f6a1f(0x379)][_0x4f6a1f(0x287)]:return{..._0x1395f5,'data':{..._0x1a2981,'data':_0x1a2981[_0x4f6a1f(0x29e)]},'cmd':_0x1395f5[_0x4f6a1f(0xb9)]};case I[_0x4f6a1f(0x379)][_0x4f6a1f(0x14e)]:return{..._0x1395f5,'data':{..._0x1a2981,'data':_0x1a2981[_0x4f6a1f(0x366)]},'cmd':_0x1395f5[_0x4f6a1f(0xb9)]};case I[_0x4f6a1f(0x379)][_0x4f6a1f(0xad)]:return{..._0x1395f5,'data':{..._0x1a2981,'data':_0x1a2981[_0x4f6a1f(0x30c)]},'cmd':_0x1395f5[_0x4f6a1f(0xb9)]};case I[_0x4f6a1f(0x379)]['LIVESHARE_NEW_HOST']:return{..._0x1395f5,'data':{..._0x1a2981,'data':_0x1a2981[_0x4f6a1f(0x153)]},'cmd':_0x1395f5[_0x4f6a1f(0xb9)]};case I[_0x4f6a1f(0x379)]['LIVESHARE_FETCH_OPERATIONS']:case I[_0x4f6a1f(0x379)][_0x4f6a1f(0x1e6)]:return{..._0x1395f5,'data':{..._0x1a2981,'data':_0x1a2981[_0x4f6a1f(0x2b3)]},'cmd':_0x1395f5[_0x4f6a1f(0xb9)]};case I[_0x4f6a1f(0x379)][_0x4f6a1f(0x15e)]:return{..._0x1395f5,'data':{..._0x1a2981,'data':_0x1a2981['liveShareNewHost']},'cmd':_0x1395f5[_0x4f6a1f(0xb9)]};case I[_0x4f6a1f(0x379)][_0x4f6a1f(0x270)]:return{..._0x1395f5,'data':_0x1a2981,'cmd':_0x1395f5[_0x4f6a1f(0xb9)]};case I[_0x4f6a1f(0x379)][_0x4f6a1f(0x32e)]:return{..._0x1395f5,'data':{..._0x1a2981,'data':_0x1a2981['commentUpdateEvent']},'cmd':_0x1395f5[_0x4f6a1f(0xb9)]};case I['CollaborationEvent'][_0x4f6a1f(0x261)]:return{..._0x1395f5,'data':{..._0x1a2981,'data':_0x1a2981[_0x4f6a1f(0x1d1)]},'cmd':_0x1395f5[_0x4f6a1f(0xb9)]};case I[_0x4f6a1f(0x379)]['SHOULD_CLOSE_CONN']:return{..._0x1395f5,'data':{..._0x1a2981,'data':_0x1a2981['shouldCloseConn']},'cmd':_0x1395f5['cmd']};case I[_0x4f6a1f(0x379)]['UNISCRIPT_RUN']:return{..._0x1395f5,'data':{..._0x1a2981,'data':_0x1a2981[_0x4f6a1f(0x1ae)]},'cmd':_0x1395f5[_0x4f6a1f(0xb9)]};default:return _0x1395f5;}}default:return _0x1395f5;}}function Tt(_0x112657){var _0x4a4bd3=_0x5c6280;switch(_0x112657[_0x4a4bd3(0xb9)]){case W[_0x4a4bd3(0x357)]:case W['HELLO']:return JSON[_0x4a4bd3(0x136)]({'cmd':_0x112657['cmd'],'routeKey':_0x112657[_0x4a4bd3(0x3cb)]});case W['INGEST']:{let _0x58e3ef;switch(_0x112657['data'][_0x4a4bd3(0x417)]){case I[_0x4a4bd3(0x379)]['UPDATE_CURSOR']:{_0x58e3ef={'eventID':I[_0x4a4bd3(0x379)]['UPDATE_CURSOR'],'updateCursorEvent':_0x112657[_0x4a4bd3(0x3a0)][_0x4a4bd3(0x3a0)]};break;}case I['CollaborationEvent'][_0x4a4bd3(0xad)]:{_0x58e3ef={'eventID':I['CollaborationEvent'][_0x4a4bd3(0xad)],'leaveEvent':_0x112657[_0x4a4bd3(0x3a0)][_0x4a4bd3(0x3a0)]};break;}case I['CollaborationEvent'][_0x4a4bd3(0x14e)]:{_0x58e3ef={'eventID':I[_0x4a4bd3(0x379)]['USERS_ENTER'],'joinEvent':_0x112657['data'][_0x4a4bd3(0x3a0)]};break;}case I[_0x4a4bd3(0x379)][_0x4a4bd3(0xe9)]:{_0x58e3ef={'eventID':I[_0x4a4bd3(0x379)][_0x4a4bd3(0xe9)],'liveShareNewHost':_0x112657[_0x4a4bd3(0x3a0)][_0x4a4bd3(0x3a0)]};break;}case I['CollaborationEvent'][_0x4a4bd3(0x1e6)]:{_0x58e3ef={'eventID':I[_0x4a4bd3(0x379)]['LIVESHARE_OPERATION'],'liveShareOperation':_0x112657[_0x4a4bd3(0x3a0)][_0x4a4bd3(0x3a0)]};break;}case I['CollaborationEvent']['LIVESHARE_TERMINATE']:{_0x58e3ef={'eventID':I[_0x4a4bd3(0x379)]['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x112657[_0x4a4bd3(0x3a0)][_0x4a4bd3(0x3a0)]};break;}case I['CollaborationEvent'][_0x4a4bd3(0x3b2)]:{_0x58e3ef={'eventID':I['CollaborationEvent'][_0x4a4bd3(0x3b2)],'liveShareRequestHost':_0x112657['data'][_0x4a4bd3(0x3a0)]};break;}case I[_0x4a4bd3(0x379)][_0x4a4bd3(0x3a4)]:{_0x58e3ef={'eventID':I[_0x4a4bd3(0x379)][_0x4a4bd3(0x3a4)]};break;}default:_0x58e3ef={'eventID':_0x112657['data'][_0x4a4bd3(0x417)]};}return JSON[_0x4a4bd3(0x136)]({'cmd':_0x112657[_0x4a4bd3(0xb9)],'routeKey':_0x112657[_0x4a4bd3(0x3cb)],'collaMsg':_0x58e3ef});}case W['JOIN']:return JSON[_0x4a4bd3(0x136)]({'cmd':_0x112657[_0x4a4bd3(0xb9)],'routeKey':_0x112657[_0x4a4bd3(0x3cb)],'joinReq':_0x112657[_0x4a4bd3(0x3a0)]});case W[_0x4a4bd3(0x394)]:return JSON[_0x4a4bd3(0x136)]({'cmd':_0x112657['cmd'],'routeKey':_0x112657['routeKey'],'leaveReq':_0x112657['data']});default:throw new Error(_0x4a4bd3(0x10e));}}var qt=Object['getOwnPropertyDescriptor'],zt=(_0x38cc39,_0x3a8e57,_0xb65cf5,_0x47ec68)=>{for(var _0x21c5ab=_0x47ec68>0x1?void 0x0:_0x47ec68?qt(_0x3a8e57,_0xb65cf5):_0x3a8e57,_0x5bedfe=_0x38cc39['length']-0x1,_0x30d3e9;_0x5bedfe>=0x0;_0x5bedfe--)(_0x30d3e9=_0x38cc39[_0x5bedfe])&&(_0x21c5ab=_0x30d3e9(_0x21c5ab)||_0x21c5ab);return _0x21c5ab;},_e=(_0x2f41d1,_0x15328d)=>(_0x12c259,_0xf0025b)=>_0x15328d(_0x12c259,_0xf0025b,_0x2f41d1);const He=a[_0x5c6280(0x1f4)]('univer-pro.collaboration-client-socket-service');function Jt(_0x5b43f1,_0x25aa38,_0x5657fe){var _0x5c5b51=_0x5c6280;return _0x5b43f1+'/'+_0x25aa38+_0x5c5b51(0x322)+_0x5657fe+_0x5c5b51(0x165);}exports[_0x5c6280(0x109)]=class extends a[_0x5c6280(0x3b0)]{constructor(_0x17775f,_0x38b3f8,_0x53599d,_0x5c1a15,_0x31c920){var _0x275a0c=_0x5c6280;super(),this[_0x275a0c(0x347)]=_0x17775f,this[_0x275a0c(0x236)]=_0x38b3f8,this[_0x275a0c(0x145)]=_0x53599d,this['_logService']=_0x5c1a15,this[_0x275a0c(0x225)]=_0x31c920;}['_doCreateSocket'](_0x79712b){var _0x20f871=_0x5c6280;const _0x588769=this[_0x20f871(0x347)][_0x20f871(0x3a7)](Y[_0x20f871(0x1ad)]);if(!_0x588769)throw new Error(_0x20f871(0x3bd));const _0x552ed1=_0x588769['createSocket'](_0x79712b);if(!_0x552ed1)throw new Error(_0x20f871(0x12c));const _0x2571f1=new a['DisposableCollection'](),_0x4ae384=new $['Subject']();_0x2571f1[_0x20f871(0x2ab)](_0x552ed1[_0x20f871(0x2d5)][_0x20f871(0x2f9)](_0x17fb54=>_0x4ae384[_0x20f871(0x134)](_0x17fb54))),_0x2571f1['add'](a[_0x20f871(0x36f)](()=>_0x4ae384['complete']()));const _0x3d16d7=new $[(_0x20f871(0x3fc))]();_0x2571f1[_0x20f871(0x2ab)](_0x552ed1[_0x20f871(0x386)][_0x20f871(0x2f9)](_0x318bac=>_0x3d16d7[_0x20f871(0x134)](_0x318bac))),_0x2571f1[_0x20f871(0x2ab)](a['toDisposable'](()=>_0x3d16d7['complete']()));const _0x3b4821=new $['Subject']();_0x2571f1['add'](_0x552ed1['message$'][_0x20f871(0x2f9)](_0x208d3f=>{var _0x1b72ba=_0x20f871;const _0x1a4202=Ct(_0x208d3f);_0x3b4821[_0x1b72ba(0x134)](_0x1a4202);})),_0x2571f1[_0x20f871(0x2ab)](a[_0x20f871(0x36f)](()=>_0x3b4821[_0x20f871(0x162)]()));let _0x4cf997;const _0x30899d=()=>{var _0x410834=_0x20f871;_0x3d16d7[_0x410834(0x134)](new Event(_0x410834(0x1e9))),_0x4ae384['next'](new Event(_0x410834(0x1e9))),_0x4cf997[_0x410834(0x3e2)]();};return _0x4cf997={'memberID':'','close$':_0x4ae384[_0x20f871(0x1c1)](),'error$':_0x3d16d7[_0x20f871(0x1c1)](),'open$':_0x552ed1[_0x20f871(0x125)],'message$':_0x3b4821[_0x20f871(0x1c1)](),'send':_0x311dce=>{var _0x1bbf94=_0x20f871;if(_0x311dce[_0x1bbf94(0xb9)]===W[_0x1bbf94(0x108)]){if(_0x311dce['data'][_0x1bbf94(0x417)]===I[_0x1bbf94(0x379)]['SUBMIT_CHANGESET']){this[_0x1bbf94(0x12d)](_0x4cf997,_0x311dce[_0x1bbf94(0x3a0)])['catch'](_0x437ab2=>{var _0x322031=_0x1bbf94;this[_0x322031(0x41f)][_0x322031(0x348)](_0x437ab2),_0x30899d();});return;}if(_0x311dce[_0x1bbf94(0x3a0)][_0x1bbf94(0x417)]===I['CollaborationEvent'][_0x1bbf94(0x113)]){const _0x4b32b2=_0x311dce[_0x1bbf94(0x3a0)];this[_0x1bbf94(0x312)](_0x4b32b2)[_0x1bbf94(0x3bb)](_0x42e47a=>{var _0x3bd519=_0x1bbf94;_0x3b4821[_0x3bd519(0x134)]({'cmd':W[_0x3bd519(0x367)],'code':oe['OK'],'routeKey':_0x4b32b2[_0x3bd519(0x3a0)]['unitID'],'routeType':'','data':{'eventID':I[_0x3bd519(0x379)][_0x3bd519(0xb1)],'data':{'changesets':_0x42e47a}}});})[_0x1bbf94(0x110)](_0x6d0115=>{var _0x3b17e5=_0x1bbf94;this[_0x3b17e5(0x41f)][_0x3b17e5(0x348)](_0x6d0115),_0x30899d();});return;}}_0x552ed1['send'](Tt(_0x311dce));},'close':()=>{var _0x1398c1=_0x20f871;_0x552ed1[_0x1398c1(0x3e2)](),_0x2571f1[_0x1398c1(0x3d1)]();}},_0x4cf997;}async[_0x5c6280(0x12d)](_0x5a4ae9,_0x404f60){var _0x513412=_0x5c6280,_0x5de3b2,_0x52396d;const {unitType:_0x2b3fd4,unitID:_0x3738b0,changeset:_0x47ea35}=_0x404f60[_0x513412(0x3a0)],_0x3fed8f={'unitID':_0x3738b0,'memberID':_0x5a4ae9['memberID'],'type':_0x2b3fd4,'changeset':I['parseChangesetToProtocol'](_0x47ea35)},_0x37e77e=this['_configService'][_0x513412(0x3ff)](pt),_0x120af8=this[_0x513412(0x145)][_0x513412(0x3ff)](K),_0x4eadb2=Jt((_0x52396d=(_0x5de3b2=_0x120af8==null?void 0x0:_0x120af8['collabSubmitChangesetUrl'])!=null?_0x5de3b2:_0x37e77e)!=null?_0x52396d:Vt,_0x2b3fd4,_0x3738b0);try{await this['_httpService'][_0x513412(0x253)](_0x4eadb2,{'body':_0x3fed8f});}catch(_0x3166e8){throw this[_0x513412(0x41f)]['error'](_0x513412(0x235),_0x513412(0x315)),_0x3166e8;}}async[_0x5c6280(0x312)](_0x451c24){var _0x66c69c=_0x5c6280;const {unitID:_0x2720b6,from:_0x3e503b,to:_0x4e00fd,unitType:_0x169095}=_0x451c24[_0x66c69c(0x3a0)];return(await this[_0x66c69c(0x225)][_0x66c69c(0x17d)]({'metadata':void 0x0},{'unitID':_0x2720b6,'type':_0x169095,'from':_0x3e503b,'to':_0x4e00fd}))[_0x66c69c(0x247)];}},exports[_0x5c6280(0x109)]=zt([_e(0x0,a[_0x5c6280(0x273)](a[_0x5c6280(0x268)])),_e(0x1,a[_0x5c6280(0x273)](Y[_0x5c6280(0x41e)])),_e(0x2,a[_0x5c6280(0x286)]),_e(0x3,a[_0x5c6280(0x126)]),_e(0x4,I[_0x5c6280(0x401)])],exports[_0x5c6280(0x109)]);const Xt=_0x5c6280(0x3e6);function Zt(_0x3560d5){var _0x3bfc1c=_0x5c6280;return JSON[_0x3bfc1c(0x136)](_0x3560d5)[_0x3bfc1c(0x19f)];}class $e{constructor(){var _0x25c529=_0x5c6280;A(this,_0x25c529(0x196),new $[(_0x25c529(0x3fc))]()),A(this,_0x25c529(0x1e1),this[_0x25c529(0x196)][_0x25c529(0x1c1)]());}[_0x5c6280(0x3ab)](_0x12786d){var _0x3f684c=_0x5c6280;this[_0x3f684c(0x196)][_0x3f684c(0x134)](_0x12786d);}}var Qt=Object[_0x5c6280(0x241)],ei=(_0x517678,_0x148bce,_0xcbe5f,_0x524a91)=>{var _0xbd2320=_0x5c6280;for(var _0x2d9e51=_0x524a91>0x1?void 0x0:_0x524a91?Qt(_0x148bce,_0xcbe5f):_0x148bce,_0x33989b=_0x517678[_0xbd2320(0x19f)]-0x1,_0x2b2222;_0x33989b>=0x0;_0x33989b--)(_0x2b2222=_0x517678[_0x33989b])&&(_0x2d9e51=_0x2b2222(_0x2d9e51)||_0x2d9e51);return _0x2d9e51;},We=(_0x5e16e3,_0x3a0c53)=>(_0x52abcb,_0x2e9241)=>_0x3a0c53(_0x52abcb,_0x2e9241,_0x5e16e3);exports[_0x5c6280(0x1fb)]=class extends a['Disposable']{constructor(_0x5324c5,_0x5e00ae){var _0x4ea5ed=_0x5c6280;super(),A(this,_0x4ea5ed(0xf3),new Map()),A(this,'_roomCreated$',new $[(_0x4ea5ed(0x3fc))]()),(this[_0x4ea5ed(0x150)]=_0x5324c5,this[_0x4ea5ed(0x41a)]=_0x5e00ae,this[_0x4ea5ed(0x3cc)]($[_0x4ea5ed(0xc4)](this[_0x4ea5ed(0x150)][_0x4ea5ed(0x26e)](a[_0x4ea5ed(0x217)]['UNIVER_SHEET'])[_0x4ea5ed(0x251)](V[_0x4ea5ed(0x2ad)](_0x2dbe00=>_0x2dbe00[_0x4ea5ed(0x1c3)]())),this[_0x4ea5ed(0x150)][_0x4ea5ed(0x26e)](a[_0x4ea5ed(0x217)][_0x4ea5ed(0x1dd)])['pipe'](V[_0x4ea5ed(0x2ad)](_0x4ef856=>_0x4ef856['getUnitId']())),this[_0x4ea5ed(0x150)][_0x4ea5ed(0x26e)](a[_0x4ea5ed(0x217)][_0x4ea5ed(0xe3)])[_0x4ea5ed(0x251)](V[_0x4ea5ed(0x2ad)](_0x5bba91=>_0x5bba91[_0x4ea5ed(0x1c3)]())))['subscribe'](_0x27f6fd=>this[_0x4ea5ed(0x155)](_0x27f6fd))));}[_0x5c6280(0x413)](_0x9d8205){var _0x110e55=_0x5c6280;return this[_0x110e55(0xf3)][_0x110e55(0x2fb)](_0x9d8205)?$['of'](this[_0x110e55(0xf3)]['get'](_0x9d8205)):this[_0x110e55(0xf6)][_0x110e55(0x251)](V[_0x110e55(0x2ad)](_0x233cdd=>{var _0x218780=_0x110e55;if(_0x233cdd===_0x9d8205)return this[_0x218780(0xf3)][_0x218780(0x3a7)](_0x233cdd);}));}[_0x5c6280(0x380)](_0x13d684){var _0x5cda81=_0x5c6280;this[_0x5cda81(0x41a)][_0x5cda81(0x380)](_0x13d684);}['getCurrentUser'](){var _0x38fdab=_0x5c6280;return this[_0x38fdab(0x41a)][_0x38fdab(0x288)]();}['updateMember'](_0x8d67cd,_0x3b6438){var _0x24db73=_0x5c6280;let _0x1e0314=this[_0x24db73(0xf3)]['get'](_0x8d67cd);_0x1e0314||(_0x1e0314=new ti(),this['_roomMembers'][_0x24db73(0x2e6)](_0x8d67cd,_0x1e0314),this[_0x24db73(0xf6)]['next'](_0x8d67cd)),_0x1e0314[_0x24db73(0x387)](_0x3b6438);}[_0x5c6280(0xae)](_0x39764d,_0x5358d8){var _0x2ab143=_0x5c6280;const _0x503f6b=this[_0x2ab143(0xf3)][_0x2ab143(0x3a7)](_0x39764d);_0x503f6b&&_0x503f6b[_0x2ab143(0xae)](_0x5358d8);}[_0x5c6280(0x299)](_0x25af58){var _0x146c34=_0x5c6280;return this[_0x146c34(0xf3)][_0x146c34(0x3a7)](_0x25af58);}['getMember'](_0x1501e7,_0x51ffd2){var _0x14d1d5=_0x5c6280;const _0x33766b=this[_0x14d1d5(0xf3)][_0x14d1d5(0x3a7)](_0x1501e7);if(_0x33766b)return _0x33766b[_0x14d1d5(0x324)](_0x51ffd2);}[_0x5c6280(0x155)](_0x3b8ab1){var _0x3c47ab=_0x5c6280;const _0x582385=this['_roomMembers']['get'](_0x3b8ab1);_0x582385&&(_0x582385[_0x3c47ab(0x3d1)](),this[_0x3c47ab(0xf3)][_0x3c47ab(0x354)](_0x3b8ab1));}[_0x5c6280(0x3d1)](){var _0x9aa5f3=_0x5c6280;this[_0x9aa5f3(0xf3)][_0x9aa5f3(0x3a8)](_0x4e0c7a=>_0x4e0c7a[_0x9aa5f3(0x3d1)]()),this[_0x9aa5f3(0xf3)][_0x9aa5f3(0x33c)](),this[_0x9aa5f3(0xf6)][_0x9aa5f3(0x162)]();}},exports[_0x5c6280(0x1fb)]=ei([We(0x0,a[_0x5c6280(0x183)]),We(0x1,a[_0x5c6280(0x273)](a[_0x5c6280(0x249)]))],exports[_0x5c6280(0x1fb)]);class ti extends a['Disposable']{constructor(){var _0x37a9ea=_0x5c6280;super(...arguments),A(this,_0x37a9ea(0x10c),new Map()),A(this,_0x37a9ea(0x3e8),new $[(_0x37a9ea(0x3d8))](this[_0x37a9ea(0x10c)])),A(this,_0x37a9ea(0x375),this[_0x37a9ea(0x3e8)][_0x37a9ea(0x1c1)]());}[_0x5c6280(0x3d1)](){var _0x2f496c=_0x5c6280;this[_0x2f496c(0x10c)][_0x2f496c(0x33c)]();}[_0x5c6280(0x387)](_0x5ed30c){var _0x4cf289=_0x5c6280;this['_members'][_0x4cf289(0x2e6)](_0x5ed30c['memberID'],_0x5ed30c),this['_emitMembers']();}[_0x5c6280(0xae)](_0xe16bb5){var _0x59a1c7=_0x5c6280;this[_0x59a1c7(0x10c)][_0x59a1c7(0x354)](_0xe16bb5);}[_0x5c6280(0x324)](_0x276e0a){var _0x30f9a8=_0x5c6280;return this['_members'][_0x30f9a8(0x3a7)](_0x276e0a);}[_0x5c6280(0x27f)](){var _0x571a74=_0x5c6280;return Array[_0x571a74(0xc0)](this[_0x571a74(0x10c)][_0x571a74(0x412)]());}[_0x5c6280(0xe8)](){var _0x401f83=_0x5c6280;this['_members$'][_0x401f83(0x134)](this[_0x401f83(0x10c)]);}}var ii=Object[_0x5c6280(0x241)],ni=(_0x3f4e99,_0x5ec3a4,_0x2895c6,_0x4eb8ab)=>{var _0x4727a2=_0x5c6280;for(var _0x59a8a1=_0x4eb8ab>0x1?void 0x0:_0x4eb8ab?ii(_0x5ec3a4,_0x2895c6):_0x5ec3a4,_0x4bcb2e=_0x3f4e99[_0x4727a2(0x19f)]-0x1,_0x585bf2;_0x4bcb2e>=0x0;_0x4bcb2e--)(_0x585bf2=_0x3f4e99[_0x4bcb2e])&&(_0x59a8a1=_0x585bf2(_0x59a8a1)||_0x59a8a1);return _0x59a8a1;},se=(_0x35be71,_0x159069)=>(_0x1e4895,_0x23730b)=>_0x159069(_0x1e4895,_0x23730b,_0x35be71),re=(_0x2785b4=>(_0x2785b4[_0x2785b4[_0x5c6280(0x1a4)]=0x0]=_0x5c6280(0x1a4),_0x2785b4[_0x2785b4[_0x5c6280(0x147)]=0x1]=_0x5c6280(0x147),_0x2785b4[_0x2785b4[_0x5c6280(0x1bf)]=0x2]='OFFLINE',_0x2785b4[_0x2785b4[_0x5c6280(0x3fd)]=0x3]=_0x5c6280(0x3fd),_0x2785b4))(re||{});const Ge={[oe[_0x5c6280(0x3e4)]]:'session.join-failed',[oe['JOIN_ROOM_FULL']]:'session.room-full',[oe[_0x5c6280(0x139)]]:_0x5c6280(0x3b6),[oe[_0x5c6280(0x1df)]]:'session.room-permission-denied',[oe[_0x5c6280(0x3aa)]]:'session.room-cnt-exceeds'};exports['CollaborationSession']=class extends a[_0x5c6280(0x285)]{constructor(_0x46180c,_0x46e0fe,_0x5199da,_0x1d7279,_0x19c333,_0x91720a,_0x16148b,_0x33f447,_0x24054a){var _0xa74501=_0x5c6280;super(),A(this,_0xa74501(0x133),new $[(_0xa74501(0x3d8))](0x0)),A(this,_0xa74501(0x2ec),this[_0xa74501(0x133)][_0xa74501(0x1c1)]()),A(this,_0xa74501(0x326),new $[(_0xa74501(0x3fc))]()),A(this,_0xa74501(0x2f0),this['_event$'][_0xa74501(0x1c1)]()),A(this,_0xa74501(0x395)),A(this,_0xa74501(0x26f)),A(this,'_collaborationTimeoutTimer'),A(this,_0xa74501(0x190),!0x1),A(this,'_telemetryInfo',null),(this[_0xa74501(0x2f5)]=_0x46180c,this[_0xa74501(0x41f)]=_0x5199da,this[_0xa74501(0x145)]=_0x1d7279,this[_0xa74501(0x3bc)]=_0x19c333,this[_0xa74501(0x103)]=_0x91720a,this[_0xa74501(0x12f)]=_0x16148b,this[_0xa74501(0x41d)]=_0x33f447,this[_0xa74501(0x3b8)]=_0x24054a,this[_0xa74501(0x190)]=!!this[_0xa74501(0x3b8)],_0x46e0fe[_0xa74501(0x251)]($[_0xa74501(0xa7)](this[_0xa74501(0x3a1)]))[_0xa74501(0x2f9)](_0x3904c2=>{var _0x33a8a0=_0xa74501,_0x13fbb9;typeof _0x3904c2>'u'||(this['_socket']=_0x3904c2,_0x3904c2?(this[_0x33a8a0(0x233)](_0x3904c2),this[_0x33a8a0(0x26f)]=_0x3904c2[_0x33a8a0(0x1e0)][_0x33a8a0(0x2f9)](_0x426067=>{var _0x173f1=_0x33a8a0;_0x426067['routeKey']===this[_0x173f1(0x2f5)]&&this[_0x173f1(0x21c)](_0x426067);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x33a8a0(0x133)]['next'](0x2),(_0x13fbb9=this[_0x33a8a0(0x26f)])==null||_0x13fbb9[_0x33a8a0(0x35d)](),this[_0x33a8a0(0x26f)]=null));}));}get[_0x5c6280(0x39d)](){var _0x27ebdd=_0x5c6280;return this[_0x27ebdd(0x133)][_0x27ebdd(0x1a1)]();}['getMemberID'](){var _0x634fdc=_0x5c6280,_0x4342dd,_0x100f21;return(_0x100f21=(_0x4342dd=this[_0x634fdc(0x395)])==null?void 0x0:_0x4342dd[_0x634fdc(0x2e3)])!=null?_0x100f21:null;}[_0x5c6280(0x3d1)](){var _0x817ed1=_0x5c6280;super[_0x817ed1(0x3d1)](),this['dispose$'][_0x817ed1(0x134)](),this[_0x817ed1(0x3a1)][_0x817ed1(0x162)]();}['close'](){var _0x597382=_0x5c6280,_0x1fab83,_0x26b603;this['_throwTelemetryCollaborationNewChangeset'](),(_0x1fab83=this[_0x597382(0x395)])==null||_0x1fab83['send']({'cmd':W[_0x597382(0x394)],'data':{'roomID':this[_0x597382(0x2f5)]}}),(_0x26b603=this['_socket'])==null||_0x26b603['close'](),this[_0x597382(0x326)][_0x597382(0x162)](),this[_0x597382(0x133)][_0x597382(0x162)](),this[_0x597382(0x3d1)]();}['_onCombEvent'](_0x468d85){_0x468d85['cmd']===W['JOIN']?this['_onJoinRoomEvent'](_0x468d85):_0x468d85['cmd']===W['RECV']&&this['_onRecvEvent'](_0x468d85);}[_0x5c6280(0x233)](_0x35584b){var _0x56a40b=_0x5c6280;this[_0x56a40b(0x133)][_0x56a40b(0x134)](0x1),_0x35584b[_0x56a40b(0x31d)]({'cmd':W['JOIN'],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x56a40b(0x2f5)]}]}});}[_0x5c6280(0x304)](_0x383793){var _0x527f66=_0x5c6280,_0x53d947;if(_0x383793[_0x527f66(0xb4)]in Ge){this[_0x527f66(0x41d)][_0x527f66(0x3df)]({'id':Z[_0x527f66(0xb6)],'data':Ge[_0x383793[_0x527f66(0xb4)]]}),this[_0x527f66(0x133)][_0x527f66(0x134)](0x2);return;}this['_sessionStatus$']['next'](0x3);const _0x3d635d=(_0x53d947=_0x383793[_0x527f66(0x3a0)][_0x527f66(0x416)][this[_0x527f66(0x2f5)]])==null?void 0x0:_0x53d947['members'];_0x3d635d&&_0x3d635d[_0x527f66(0x3a8)](_0x5a4a62=>this[_0x527f66(0x103)][_0x527f66(0x387)](this[_0x527f66(0x2f5)],_0x5a4a62));}['_onRecvEvent'](_0x2b0539){var _0xc5c20=_0x5c6280;try{const _0x20acf5=_0x2b0539[_0xc5c20(0x3a0)];switch(_0x20acf5[_0xc5c20(0x417)]){case I[_0xc5c20(0x379)][_0xc5c20(0x14e)]:this['_onUserJoin'](_0x20acf5),this[_0xc5c20(0x326)]['next'](_0x20acf5);break;case I[_0xc5c20(0x379)][_0xc5c20(0xad)]:this[_0xc5c20(0x330)](_0x20acf5),this['_event$'][_0xc5c20(0x134)](_0x20acf5);break;case I[_0xc5c20(0x379)][_0xc5c20(0xb7)]:case I[_0xc5c20(0x379)][_0xc5c20(0xda)]:this[_0xc5c20(0x1a2)](),this[_0xc5c20(0x41b)](),this[_0xc5c20(0x326)][_0xc5c20(0x134)](_0x20acf5);break;case I[_0xc5c20(0x379)][_0xc5c20(0x270)]:this[_0xc5c20(0x41f)][_0xc5c20(0x348)]('save\x20fail\x20reason\x20is\x20'+JSON[_0xc5c20(0x136)](_0x20acf5)),this[_0xc5c20(0x326)]['next'](_0x20acf5);break;case I[_0xc5c20(0x379)][_0xc5c20(0x32e)]:this[_0xc5c20(0x12f)][_0xc5c20(0x3ab)](_0x20acf5['data']),this[_0xc5c20(0x326)][_0xc5c20(0x134)](_0x20acf5);break;default:this['_event$'][_0xc5c20(0x134)](_0x20acf5);}}catch(_0x69c8da){this['_logService'][_0xc5c20(0x348)](_0x69c8da,_0x2b0539);}}['_onUserJoin'](_0x35427d){var _0xa67040=_0x5c6280;this[_0xa67040(0x103)][_0xa67040(0x387)](this['_unitID'],_0x35427d[_0xa67040(0x3a0)]);}['_onUserLeave'](_0x448a59){var _0x3444ed=_0x5c6280;this[_0x3444ed(0x103)][_0x3444ed(0xae)](this[_0x3444ed(0x2f5)],_0x448a59['data']['memberID']);}async[_0x5c6280(0x31d)](_0x458641,_0x942c6e){var _0x551fa5=_0x5c6280;if(this[_0x551fa5(0x39d)]!==0x3||!this[_0x551fa5(0x395)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x458641['eventID']===I['CollaborationEvent']['SUBMIT_CHANGESET']&&(this[_0x551fa5(0x1ab)](),this[_0x551fa5(0x2ae)](_0x458641)),this[_0x551fa5(0x395)]['send']({'cmd':W[_0x551fa5(0x108)],'routeKey':_0x942c6e,'routeType':'','data':_0x458641});}catch(_0x57cf6d){this[_0x551fa5(0x41f)][_0x551fa5(0x348)](_0x57cf6d);}}[_0x5c6280(0x1ab)](){var _0x16d25c=_0x5c6280,_0x337e1a;this[_0x16d25c(0x2d1)]=setTimeout(()=>{var _0x50c3ac=_0x16d25c;this['_collaborationTimeoutTimer']=null,this['_collaborationUIEventService'][_0x50c3ac(0x3df)]({'id':Z[_0x50c3ac(0x239)]});},(_0x337e1a=this['_configService'][_0x16d25c(0x3ff)](ke))!=null?_0x337e1a:St);}[_0x5c6280(0x41b)](){var _0x7d4d8b=_0x5c6280;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x7d4d8b(0x2d1)]),this[_0x7d4d8b(0x2d1)]=null);}[_0x5c6280(0x2ae)](_0x1dce43){var _0x45d23b=_0x5c6280;if(!this[_0x45d23b(0x190)])return;const {data:_0x57f4fc}=_0x1dce43,{unitID:_0x213ba7,changeset:_0x41a900}=_0x57f4fc,{mutations:_0x3866ef,type:_0x51c4ca}=_0x41a900;this[_0x45d23b(0x161)]={'unitId':_0x213ba7,'type':_0x51c4ca,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':Zt(_0x3866ef)};}[_0x5c6280(0x1a2)](){var _0x14807a=_0x5c6280;if(this[_0x14807a(0x190)]){if(!this[_0x14807a(0x161)]){this[_0x14807a(0x41f)][_0x14807a(0x348)](_0x14807a(0x235),_0x14807a(0x3a2));return;}this[_0x14807a(0x161)][_0x14807a(0x1b3)]=performance[_0x14807a(0x222)](),this['_telemetryInfo'][_0x14807a(0xe6)]=this[_0x14807a(0x161)][_0x14807a(0x1b3)]-this[_0x14807a(0x161)]['startTime'],this[_0x14807a(0x3b8)][_0x14807a(0x3ee)](Xt,this[_0x14807a(0x161)]),this[_0x14807a(0x161)]=null;}}[_0x5c6280(0x33f)](){var _0x356ac6=_0x5c6280;this[_0x356ac6(0x161)]=null;}},exports[_0x5c6280(0x282)]=ni([se(0x2,a['ILogService']),se(0x3,a[_0x5c6280(0x286)]),se(0x4,a[_0x5c6280(0x273)](a[_0x5c6280(0x355)])),se(0x5,a['Inject'](exports[_0x5c6280(0x1fb)])),se(0x6,a[_0x5c6280(0x273)]($e)),se(0x7,a[_0x5c6280(0x273)](ee)),se(0x8,a[_0x5c6280(0x1d5)](Pt[_0x5c6280(0x30f)]))],exports['CollaborationSession']);var ri=Object[_0x5c6280(0x241)],si=(_0x33e786,_0x877596,_0x5816d7,_0x3f77ea)=>{var _0x1c1132=_0x5c6280;for(var _0x3a6be6=_0x3f77ea>0x1?void 0x0:_0x3f77ea?ri(_0x877596,_0x5816d7):_0x877596,_0x71aafd=_0x33e786[_0x1c1132(0x19f)]-0x1,_0x15bb4d;_0x71aafd>=0x0;_0x71aafd--)(_0x15bb4d=_0x33e786[_0x71aafd])&&(_0x3a6be6=_0x15bb4d(_0x3a6be6)||_0x3a6be6);return _0x3a6be6;},he=(_0x2989be,_0x483363)=>(_0x565967,_0x37572f)=>_0x483363(_0x565967,_0x37572f,_0x2989be);exports[_0x5c6280(0x297)]=class extends a[_0x5c6280(0x3b0)]{constructor(_0x49e8b5,_0x544631,_0x1baf3c,_0x2887ed,_0x1c8141,_0x4c7423){var _0x15a465=_0x5c6280;super(),A(this,_0x15a465(0x393),new $[(_0x15a465(0x3d8))](void 0x0)),A(this,'socket$',this[_0x15a465(0x393)][_0x15a465(0x1c1)]()),A(this,_0x15a465(0xf1),null),A(this,_0x15a465(0x1b6),new Map()),A(this,'_status$',new $[(_0x15a465(0x3d8))](re['IDLE'])),A(this,_0x15a465(0xfe),this[_0x15a465(0x252)][_0x15a465(0x1c1)]()),A(this,'_socketReady',!0x1),A(this,_0x15a465(0x3f6)),A(this,'_retryCount',0x0),A(this,_0x15a465(0x29c)),A(this,_0x15a465(0x2d4)),(this['_injector']=_0x49e8b5,this[_0x15a465(0x41f)]=_0x544631,this[_0x15a465(0x145)]=_0x1baf3c,this[_0x15a465(0x10b)]=_0x2887ed,this['_collaborationUIEventService']=_0x1c8141,this[_0x15a465(0x143)]=_0x4c7423,this[_0x15a465(0x18d)]());}get[_0x5c6280(0x395)](){var _0x4f9fd2=_0x5c6280;return this[_0x4f9fd2(0x393)][_0x4f9fd2(0x1a1)]();}[_0x5c6280(0x18d)](){var _0x5ae36f=_0x5c6280;this[_0x5ae36f(0x143)]&&this[_0x5ae36f(0x3cc)](this[_0x5ae36f(0x143)][_0x5ae36f(0x220)]['subscribe'](_0xa9b2c6=>{var _0xf439d8=_0x5ae36f;_0xa9b2c6&&!this[_0xf439d8(0x395)]&&this[_0xf439d8(0x3dc)](),_0xa9b2c6||this[_0xf439d8(0x3fe)]();}));}[_0x5c6280(0x3d1)](){var _0x5c05cf=_0x5c6280;super[_0x5c05cf(0x3d1)](),this[_0x5c05cf(0x37d)](),this[_0x5c05cf(0x265)](),this[_0x5c05cf(0x24a)](),this['_sessions']['forEach'](_0x10c150=>_0x10c150[_0x5c05cf(0x3d1)]()),this[_0x5c05cf(0x1b6)]['clear'](),this['_status$'][_0x5c05cf(0x162)]();}async[_0x5c6280(0x224)](_0x5e4320){var _0x5bd0a4=_0x5c6280;if(this['_sessions']['has'](_0x5e4320))return this[_0x5bd0a4(0x1b6)][_0x5bd0a4(0x3a7)](_0x5e4320);this[_0x5bd0a4(0x1dc)]();const _0x1033f3=this[_0x5bd0a4(0x347)]['createInstance'](exports[_0x5bd0a4(0x282)],_0x5e4320,this[_0x5bd0a4(0x393)]['asObservable']());return this[_0x5bd0a4(0x1b6)][_0x5bd0a4(0x2e6)](_0x5e4320,_0x1033f3),_0x1033f3;}['closeSession'](_0x5328c6){var _0x2f08bf=_0x5c6280,_0x2cbfd9;const _0x266abd=this['_sessions']['get'](_0x5328c6);_0x266abd&&(this['_sessions'][_0x2f08bf(0x354)](_0x5328c6),_0x266abd[_0x2f08bf(0x3e2)]()),this[_0x2f08bf(0x1b6)][_0x2f08bf(0x2d9)]||(_0x2cbfd9=this[_0x2f08bf(0x395)])==null||_0x2cbfd9[_0x2f08bf(0x3e2)]();}[_0x5c6280(0x3dc)](){var _0x42428d=_0x5c6280;this[_0x42428d(0xcb)]=0x0,this[_0x42428d(0x37d)](),this[_0x42428d(0xce)]();}['_clearRetryConnectingTimer'](){var _0x2be330=_0x5c6280;this[_0x2be330(0x3f6)]!=null&&(clearTimeout(this[_0x2be330(0x3f6)]),this['_retryConnectingTimer']=null);}async[_0x5c6280(0xb2)](){var _0x3d7b99=_0x5c6280,_0x3e8893,_0x2fb234;const _0x5140af=this[_0x3d7b99(0x145)][_0x3d7b99(0x3ff)](ut),_0x48a0dd=this[_0x3d7b99(0x145)][_0x3d7b99(0x3ff)](K),_0x1cf9a7=(_0x2fb234=(_0x3e8893=_0x48a0dd==null?void 0x0:_0x48a0dd[_0x3d7b99(0x22c)])!=null?_0x3e8893:_0x5140af)!=null?_0x2fb234:dt,_0xcab2c4=await this[_0x3d7b99(0x10b)][_0x3d7b99(0x36c)](_0x1cf9a7);return this[_0x3d7b99(0xf1)]=_0xcab2c4,_0xcab2c4;}async['_tryEnsureSocket'](){var _0x25da99=_0x5c6280,_0x255ef5,_0x48520a;try{const _0x5db28d=(_0x48520a=(_0x255ef5=this[_0x25da99(0x395)])!=null?_0x255ef5:this[_0x25da99(0xf1)])!=null?_0x48520a:await this[_0x25da99(0xb2)]();if(_0x5db28d){const _0x8f03f9=_0x5db28d['send'];_0x5db28d[_0x25da99(0x31d)]=_0x2ea8bd=>(this['_rescheduleHeartbeat'](),_0x8f03f9[_0x25da99(0x2bf)](_0x5db28d,[_0x2ea8bd])),_0x5db28d[_0x25da99(0x1e0)][_0x25da99(0x2f9)](_0x489a71=>this[_0x25da99(0x406)](_0x5db28d,_0x489a71)),_0x5db28d[_0x25da99(0x386)]['pipe'](V[_0x25da99(0x37e)](0x1))[_0x25da99(0x2f9)](_0x3ea0cb=>this[_0x25da99(0x41f)][_0x25da99(0x348)](_0x25da99(0x3d6),_0x3ea0cb)),_0x5db28d['open$'][_0x25da99(0x251)](V[_0x25da99(0x37e)](0x1))[_0x25da99(0x2f9)](()=>{var _0x1e431c=_0x25da99;this[_0x1e431c(0x1d3)](_0x5db28d);}),_0x5db28d[_0x25da99(0x2d5)][_0x25da99(0x251)](V['take'](0x1))['subscribe'](_0x3f33f8=>{var _0x350078=_0x25da99;this['_logService'][_0x350078(0x3c7)](_0x350078(0x3ba),_0x350078(0x329),_0x3f33f8),this['_onConnectionFailed']();});}}catch(_0x418939){this[_0x25da99(0x41f)][_0x25da99(0x348)](_0x418939),this[_0x25da99(0x385)]();}}['_onConnectionOpen'](_0x384110){var _0x501716=_0x5c6280;this['_logService'][_0x501716(0x3c7)]('[CollaborationSessionService]',_0x501716(0x333)),_0x384110['send']({'cmd':W[_0x501716(0x1c0)]}),this[_0x501716(0x313)]();}['_onOffline'](){var _0x1742fa=_0x5c6280;this[_0x1742fa(0x29d)]=!0x1,this[_0x1742fa(0xf1)]=null,this[_0x1742fa(0x252)][_0x1742fa(0x134)](re[_0x1742fa(0x1bf)]),this[_0x1742fa(0x393)][_0x1742fa(0x134)](null),this[_0x1742fa(0x265)](),this['_clearHeartbeatTimer']();}[_0x5c6280(0x385)](){var _0x6e61ef=_0x5c6280,_0x46f134;this[_0x6e61ef(0x3fe)](),this['_retryCount']<((_0x46f134=this[_0x6e61ef(0x145)][_0x6e61ef(0x3ff)](ft))!=null?_0x46f134:jt)?(this['_collaborationUIEventService'][_0x6e61ef(0x3df)]({'id':Z['SOCKET_FAILED_RETRY']}),this['_tryReconnect']()):this[_0x6e61ef(0x41d)][_0x6e61ef(0x3df)]({'id':Z[_0x6e61ef(0x246)]});}[_0x5c6280(0xce)](){var _0x1e4276=_0x5c6280,_0xa47d52;const _0x3aa35a=this['_retryCount'],_0x30d80f=this[_0x1e4276(0x145)][_0x1e4276(0x3ff)](K),_0x4f8819=_0x3aa35a===0x0?0x0:((_0xa47d52=_0x30d80f==null?void 0x0:_0x30d80f[_0x1e4276(0xaf)])!=null?_0xa47d52:$t)*0x2**_0x3aa35a;this[_0x1e4276(0x3f6)]=setTimeout(()=>{var _0x2d01ef=_0x1e4276;clearTimeout(this[_0x2d01ef(0x3f6)]),this[_0x2d01ef(0x3f6)]=null,this[_0x2d01ef(0x1dc)]();},_0x4f8819),this[_0x1e4276(0xcb)]+=0x1;}[_0x5c6280(0x406)](_0x2284be,_0x42d76b){var _0x46c740=_0x5c6280;const {cmd:_0x14112b}=_0x42d76b;_0x14112b===W[_0x46c740(0x1c0)]&&!this[_0x46c740(0x29d)]&&(_0x2284be[_0x46c740(0x2e3)]=_0x42d76b['data'][_0x46c740(0x2e3)],this[_0x46c740(0x393)][_0x46c740(0x134)](_0x2284be),this[_0x46c740(0x252)]['next'](re['ONLINE']),this[_0x46c740(0x29d)]=!0x0,this['_candidateSocket']=null),_0x14112b===W[_0x46c740(0x357)]&&this[_0x46c740(0x265)](),this[_0x46c740(0x313)]();}[_0x5c6280(0x313)](){var _0x3cbb62=_0x5c6280,_0x511792;this[_0x3cbb62(0x24a)](),this[_0x3cbb62(0x29c)]=setTimeout(()=>this[_0x3cbb62(0x2b9)](),(_0x511792=this[_0x3cbb62(0x145)][_0x3cbb62(0x3ff)](vt))!=null?_0x511792:Ht);}[_0x5c6280(0x2b9)](){var _0x5ddcaa=_0x5c6280;this['_socket'][_0x5ddcaa(0x31d)]({'cmd':W[_0x5ddcaa(0x357)]}),this[_0x5ddcaa(0x389)]();}[_0x5c6280(0x389)](){var _0x5b9410=_0x5c6280,_0x282aa6;this[_0x5b9410(0x2d4)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x282aa6=this[_0x5b9410(0x145)][_0x5b9410(0x3ff)](ke))!=null?_0x282aa6:St);}[_0x5c6280(0x24a)](){var _0xa75e8d=_0x5c6280;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0xa75e8d(0x29c)]),this['_sendHeartbeatTimer']=null);}['_clearTimeoutTimer'](){var _0x56e515=_0x5c6280;this[_0x56e515(0x2d4)]!=null&&(clearTimeout(this[_0x56e515(0x2d4)]),this['_timeoutTimer']=null);}},exports['CollaborationSessionService']=si([he(0x0,a[_0x5c6280(0x273)](a[_0x5c6280(0x268)])),he(0x1,a[_0x5c6280(0x126)]),he(0x2,a[_0x5c6280(0x286)]),he(0x3,He),he(0x4,a['Inject'](ee)),he(0x5,a[_0x5c6280(0x1d5)](mt))],exports[_0x5c6280(0x297)]);const q=a[_0x5c6280(0x1f4)](_0x5c6280(0x38d));function oi(_0xa234db){var _0x27d850=_0x5c6280;return _0x27d850(0x250)+_0xa234db;}var ai=Object['getOwnPropertyDescriptor'],ci=(_0x529330,_0x56acd2,_0x502b45,_0x1f37f6)=>{var _0x4d9054=_0x5c6280;for(var _0x5bf30a=_0x1f37f6>0x1?void 0x0:_0x1f37f6?ai(_0x56acd2,_0x502b45):_0x56acd2,_0x362579=_0x529330[_0x4d9054(0x19f)]-0x1,_0x4160a4;_0x362579>=0x0;_0x362579--)(_0x4160a4=_0x529330[_0x362579])&&(_0x5bf30a=_0x4160a4(_0x5bf30a)||_0x5bf30a);return _0x5bf30a;},De=(_0x12875b,_0x3fe0ee)=>(_0xd83de2,_0x44907a)=>_0x3fe0ee(_0xd83de2,_0x44907a,_0x12875b);function hi(_0x364cb0){var _0x50cfbc=_0x5c6280;const {unitID:_0x5c37ee,mutations:_0x1dbc51}=_0x364cb0;return{'unitId':_0x5c37ee,'subUnitId':_0x1dbc51[0x0][_0x50cfbc(0x12b)][_0x50cfbc(0x2b4)]};}exports[_0x5c6280(0x32d)]=class{constructor(_0x25ecea,_0x5dcb15,_0x23b012){var _0x196563=_0x5c6280;this[_0x196563(0x347)]=_0x25ecea,this[_0x196563(0x388)]=_0x5dcb15,this[_0x196563(0x3d2)]=_0x23b012;}['transformSelections'](_0x1bb925){var _0x782669=_0x5c6280,_0x293a9d,_0x4a3ee7,_0x3e9e60,_0x45a1c7;const _0x57928f=this[_0x782669(0x347)]['get'](X[_0x782669(0x33e)]),{unitId:_0x1ec0bb,subUnitId:_0x420928}=hi(_0x1bb925),_0x5bc822=_0x57928f==null?void 0x0:_0x57928f[_0x782669(0x160)](_0x1ec0bb)[_0x782669(0x177)](),_0xc96876=(_0x4a3ee7=(_0x293a9d=this[_0x782669(0x3d2)]['getUnit'](_0x1ec0bb))==null?void 0x0:_0x293a9d[_0x782669(0x2b2)]())==null?void 0x0:_0x4a3ee7[_0x782669(0x33a)]();if(_0x5bc822['length']===0x0||!_0x1ec0bb||!_0x420928)return;const _0x4e0914=[{'id':X[_0x782669(0x328)]['id'],'params':{'unitId':_0x1ec0bb,'subUnitId':_0xc96876,'selections':a['Tools'][_0x782669(0x2b0)](_0x5bc822)}}],_0x35e976=this[_0x782669(0x388)][_0x782669(0x325)](_0x1bb925,_0x4e0914);if(!I[_0x782669(0x116)](_0x35e976))throw _0x35e976[_0x782669(0x348)];const _0x3c8fd4=(_0x45a1c7=(_0x3e9e60=_0x35e976[_0x782669(0x31f)][0x0])==null?void 0x0:_0x3e9e60[_0x782669(0x12b)])==null?void 0x0:_0x45a1c7[_0x782669(0x317)];if(Array['isArray'](_0x3c8fd4)&&_0x3c8fd4[_0x782669(0x19f)]){if(_0x3c8fd4['length']===_0x4e0914[0x0][_0x782669(0x12b)][_0x782669(0x317)][_0x782669(0x19f)]&&_0x3c8fd4[_0x782669(0x3a3)]((_0x346766,_0x5ef735)=>a[_0x782669(0x321)][_0x782669(0x154)](_0x346766['range'],_0x4e0914[0x0][_0x782669(0x12b)]['selections'][_0x5ef735][_0x782669(0x39c)])))return;this[_0x782669(0x347)][_0x782669(0x3a7)](a[_0x782669(0x30b)])[_0x782669(0x37c)](X['SetSelectionsOperation']['id'],{'unitId':_0x1ec0bb,'subUnitId':_0xc96876,'selections':_0x3c8fd4});}}},exports[_0x5c6280(0x32d)]=ci([De(0x0,a[_0x5c6280(0x273)](a['Injector'])),De(0x1,I[_0x5c6280(0xd6)]),De(0x2,a['IUniverInstanceService'])],exports[_0x5c6280(0x32d)]);const de=a['createIdentifier'](_0x5c6280(0x36a));var je=(_0x21c85d=>(_0x21c85d[_0x21c85d[_0x5c6280(0x20f)]=0x0]=_0x5c6280(0x20f),_0x21c85d[_0x21c85d[_0x5c6280(0x20b)]=0x1]=_0x5c6280(0x20b),_0x21c85d))(je||{});const _i=new Set([X['InsertSheetMutation']['id']]);function Ke(_0x2a944a,_0x2bdb76,_0x37a39e,_0x4d29f2,_0x220284){var _0x4cea58=_0x5c6280,_0x33c342,_0x3bfadb,_0xf763ef,_0x32ebb8;const _0x716fe8=[];for(const _0x2998b6 of _0x2a944a)if(_i['has'](_0x2998b6['id'])){if(_0x716fe8[_0x4cea58(0x19f)]>0x0)break;_0x716fe8[_0x4cea58(0x1c7)](_0x2998b6);break;}else _0x716fe8[_0x4cea58(0x1c7)](_0x2998b6);const _0x26b8b5=(_0x3bfadb=(_0x33c342=_0x220284[_0x4cea58(0x288)]())==null?void 0x0:_0x33c342[_0x4cea58(0x32c)])!=null?_0x3bfadb:'unknown',_0x6da577=(_0x32ebb8=(_0xf763ef=_0x220284['getCurrentUser']())==null?void 0x0:_0xf763ef['memberID'])!=null?_0x32ebb8:_0x4cea58(0x1ec);return{'changeset':{'unitID':_0x2bdb76,'type':I[_0x4cea58(0x35b)](_0x37a39e[_0x4cea58(0x3f5)](_0x2bdb76)),'baseRev':_0x4d29f2['getCurrentRevOfUnit'](_0x2bdb76),'revision':0x0,'userID':_0x26b8b5,'memberID':_0x6da577,'mutations':_0x716fe8},'pendingMutations':_0x2a944a[_0x4cea58(0x267)](_0x716fe8[_0x4cea58(0x19f)])};}function li(_0x3c2a29,_0x236e15,_0x261d61,_0x2cf99c,_0x3e8ed8){var _0x3c7053=_0x5c6280,_0x290a39,_0x4339de,_0x3a8262,_0x3f8282;const _0x48e109=[_0x3c2a29['reduce']((_0x136b79,_0x465aa7)=>{var _0x458d12=_0x816a,_0x1e77e1;const {id:_0x264320}=_0x136b79,{id:_0xa20d55,type:_0x291df7}=_0x465aa7,_0xbc96e2=(_0x1e77e1=_0x136b79[_0x458d12(0x12b)])!=null?_0x1e77e1:{'actions':null},_0x402517=_0x465aa7[_0x458d12(0x12b)];if(_0x264320&&_0x264320!==_0xa20d55)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x264320+'\x20-\x20'+_0xa20d55+'.');return{..._0x136b79,'id':_0xa20d55,'type':_0x291df7,'params':{'unitId':_0x402517['unitId'],'textRanges':_0x402517[_0x458d12(0x35c)],'actions':a['JSONX'][_0x458d12(0x409)](_0xbc96e2[_0x458d12(0x209)],_0x402517[_0x458d12(0x209)])}};},{})],_0x4c4223=(_0x4339de=(_0x290a39=_0x3e8ed8['getCurrentUser']())==null?void 0x0:_0x290a39['userID'])!=null?_0x4339de:_0x3c7053(0x1ec),_0x31e697=(_0x3f8282=(_0x3a8262=_0x3e8ed8[_0x3c7053(0x288)]())==null?void 0x0:_0x3a8262[_0x3c7053(0x2e3)])!=null?_0x3f8282:'unknown';return{'changeset':{'unitID':_0x236e15,'type':I[_0x3c7053(0x35b)](_0x261d61[_0x3c7053(0x3f5)](_0x236e15)),'baseRev':_0x2cf99c[_0x3c7053(0x25a)](_0x236e15),'revision':0x0,'userID':_0x4c4223,'memberID':_0x31e697,'mutations':_0x48e109},'pendingMutations':[]};}function bt(_0x120c77,_0x2225f3){var _0xef1d35=_0x5c6280;const _0x365271=new $[(_0xef1d35(0x14c))](0x1);return setTimeout(()=>_0x365271[_0xef1d35(0x134)](_0x2225f3),_0x120c77),_0x365271[_0xef1d35(0x1c1)]()[_0xef1d35(0x251)]($[_0xef1d35(0x37e)](0x1));}const ui={'id':X[_0x5c6280(0x26d)]['id'],'type':a[_0x5c6280(0x3b7)][_0x5c6280(0x16a)],'params':{}};var di=Object['getOwnPropertyDescriptor'],ae=(_0x465561,_0x352daa,_0x48f876,_0x2b3fe7)=>{for(var _0x2f8e82=_0x2b3fe7>0x1?void 0x0:_0x2b3fe7?di(_0x352daa,_0x48f876):_0x352daa,_0x66a71d=_0x465561['length']-0x1,_0x1420c4;_0x66a71d>=0x0;_0x66a71d--)(_0x1420c4=_0x465561[_0x66a71d])&&(_0x2f8e82=_0x1420c4(_0x2f8e82)||_0x2f8e82);return _0x2f8e82;},w=(_0x51a78a,_0x720fc6)=>(_0x363c46,_0x276c02)=>_0x720fc6(_0x363c46,_0x276c02,_0x51a78a),Be=(_0x213abe=>(_0x213abe[_0x5c6280(0x2a6)]='not_collab',_0x213abe[_0x5c6280(0x370)]=_0x5c6280(0x198),_0x213abe[_0x5c6280(0x3e9)]=_0x5c6280(0xe0),_0x213abe['AWAITING']=_0x5c6280(0x1b7),_0x213abe[_0x5c6280(0x17f)]=_0x5c6280(0x22b),_0x213abe[_0x5c6280(0x219)]=_0x5c6280(0x2c4),_0x213abe[_0x5c6280(0x197)]=_0x5c6280(0x18f),_0x213abe['OFFLINE']='offline',_0x213abe))(Be||{});const Rt=0xea60;class ce{constructor(_0x29f25e,_0x335f73,_0x4633ff,_0x9c9c78,_0x504052,_0x401e03,_0x497ffe,_0x2516b8,_0x3dcd1e){var _0x36a07a=_0x5c6280;A(this,_0x36a07a(0x245),null),A(this,'_pendingMutations',[]),(this[_0x36a07a(0x34a)]=_0x29f25e,this['type']=_0x335f73,this[_0x36a07a(0x36e)]=_0x504052,this['_commandService']=_0x401e03,this[_0x36a07a(0x1f7)]=_0x497ffe,this['_revisionService']=_0x2516b8,this[_0x36a07a(0x3fb)]=_0x3dcd1e,this[_0x36a07a(0x245)]=_0x4633ff,this[_0x36a07a(0x362)]=_0x9c9c78);}[_0x5c6280(0x132)](_0x3d6010){var _0x5957db=_0x5c6280;const _0x3611a0=this['_revisionService'][_0x5957db(0x25a)](this['unitID']);return _0x3d6010[_0x5957db(0x2a2)]>_0x3611a0+0x1?(this[_0x5957db(0x36e)][_0x5957db(0x27c)]({'from':_0x3611a0,'to':_0x3d6010['revision']-0x1}),!0x0):!0x1;}[_0x5c6280(0x2b6)](_0x19b91e){var _0x1a0179=_0x5c6280;this['_undoRedoService'][_0x1a0179(0x27a)](this[_0x1a0179(0x34a)],_0x19b91e);}[_0x5c6280(0x171)](_0x4a1a97){var _0x2341df=_0x5c6280,_0x49b64f,_0x5da0fd;(_0x5da0fd=(_0x49b64f=this[_0x2341df(0x36e)])['onTransformSelections'])==null||_0x5da0fd[_0x2341df(0x25e)](_0x49b64f,_0x4a1a97);}[_0x5c6280(0x38a)](_0x30fcf7){var _0x4f301a=_0x5c6280,_0x384b6a,_0x5ba92e;return(_0x5ba92e=(_0x384b6a=this[_0x4f301a(0x36e)])[_0x4f301a(0x3dd)])==null?void 0x0:_0x5ba92e[_0x4f301a(0x25e)](_0x384b6a,_0x30fcf7);}[_0x5c6280(0xe5)](_0x3b42cb){var _0x4e3089=_0x5c6280,_0x526bf5,_0x40ebe2;return(_0x40ebe2=(_0x526bf5=this[_0x4e3089(0x36e)])[_0x4e3089(0x17e)])==null?void 0x0:_0x40ebe2['call'](_0x526bf5,_0x3b42cb);}[_0x5c6280(0xa6)](_0x1435da){var _0x1b1284=_0x5c6280,_0x5961fd,_0x3f16d4,_0x14b7e6;return(_0x14b7e6=(_0x3f16d4=(_0x5961fd=this[_0x1b1284(0x36e)])[_0x1b1284(0x199)])==null?void 0x0:_0x3f16d4[_0x1b1284(0x25e)](_0x5961fd,_0x1435da))!=null?_0x14b7e6:_0x1435da;}[_0x5c6280(0x3e1)](_0x16f4ee){var _0x1cdddc=_0x5c6280,_0x4be8c4,_0x50359b,_0x24a63e;return(_0x24a63e=(_0x50359b=(_0x4be8c4=this[_0x1cdddc(0x36e)])[_0x1cdddc(0x410)])==null?void 0x0:_0x50359b['call'](_0x4be8c4,_0x16f4ee))!=null?_0x24a63e:_0x16f4ee;}[_0x5c6280(0x128)](_0x364617){var _0x5bcdc2=_0x5c6280,_0x2f3e75,_0x45353c;if(this[_0x5bcdc2(0x11a)]===J['UNIVER_DOC']){const {unitID:_0x1fb635,mutations:_0x5e0992,memberID:_0x3af242}=_0x364617,_0x5acff5=_0x5e0992[0x0][_0x5bcdc2(0x12b)][_0x5bcdc2(0x35c)];Array[_0x5bcdc2(0xb5)](_0x5acff5)&&_0x5acff5['length']>0x0&&((_0x45353c=(_0x2f3e75=this[_0x5bcdc2(0x36e)])[_0x5bcdc2(0x3af)])==null||_0x45353c[_0x5bcdc2(0x25e)](_0x2f3e75,{'unitID':_0x1fb635,'memberID':_0x3af242,'textRanges':_0x5acff5}));}}['_updateLocalCache'](){var _0x4fd413=_0x5c6280,_0x4c0a3e;(_0x4c0a3e=this[_0x4fd413(0x3fb)])==null||_0x4c0a3e[_0x4fd413(0xfb)](this[_0x4fd413(0x34a)],this[_0x4fd413(0x11a)],this[_0x4fd413(0x245)],this['_pendingMutations']);}[_0x5c6280(0xc1)](){var _0x5933cf=_0x5c6280;return this[_0x5933cf(0x172)][_0x5933cf(0x25a)](this[_0x5933cf(0x34a)]);}[_0x5c6280(0x378)](){var _0x377f73=_0x5c6280;this[_0x377f73(0x172)][_0x377f73(0x2f4)](this['unitID']);}[_0x5c6280(0x2f6)](_0x19cb09){var _0xb3ffe9=_0x5c6280,_0x57e752;let _0x11e518=this[_0xb3ffe9(0xa6)](_0x19cb09);_0x11e518=this[_0xb3ffe9(0x3e1)](_0x11e518);const _0x3526de=a[_0xb3ffe9(0x232)](_0x11e518['mutations'],this[_0xb3ffe9(0xd0)],{'fromCollab':!0x0});if(!_0x3526de[_0xb3ffe9(0x238)])throw _0x3526de[_0xb3ffe9(0x348)]instanceof Error?_0x3526de[_0xb3ffe9(0x348)]:new Error((_0x57e752=_0x3526de['error'])!=null?_0x57e752:_0xb3ffe9(0x248));this['_transformIMECache'](_0x11e518),this[_0xb3ffe9(0xe5)](_0x11e518),this[_0xb3ffe9(0x2b6)](_0x19cb09),this[_0xb3ffe9(0x171)](_0x11e518),this[_0xb3ffe9(0x128)](_0x11e518),this[_0xb3ffe9(0x378)]();}}exports[_0x5c6280(0x327)]=class extends ce{constructor(_0x2b79e6,_0x7fcaac,_0xdc31f5,_0x10d452,_0x29fde5,_0x316618,_0x93e5e4,_0x4e8b32,_0x3e335e,_0x56605f){var _0x4166f0=_0x5c6280;super(_0x2b79e6,_0x7fcaac,null,[],_0xdc31f5,_0x93e5e4,_0x316618,_0x10d452,_0x56605f),A(this,_0x4166f0(0x358),_0x4166f0(0x198)),(this[_0x4166f0(0x347)]=_0x29fde5,this[_0x4166f0(0x41f)]=_0x4e8b32,this[_0x4166f0(0x388)]=_0x3e335e,this['localCacheService']=_0x56605f);}[_0x5c6280(0x353)](_0x37ed0b){var _0x128417=_0x5c6280;const _0xf4ed20=this[_0x128417(0x347)][_0x128417(0x2c7)](exports['PendingState'],this['unitID'],this['type'],[_0x37ed0b],this[_0x128417(0x36e)]);return _0xf4ed20['_schedule'](),_0xf4ed20['_updateLocalCache'](),_0xf4ed20;}[_0x5c6280(0x418)](_0x22ea60){var _0x1a1d30=_0x5c6280;if(this[_0x1a1d30(0x132)](_0x22ea60))return this[_0x1a1d30(0x347)][_0x1a1d30(0x2c7)](exports[_0x1a1d30(0x167)],this[_0x1a1d30(0x34a)],this[_0x1a1d30(0x11a)],null,[],null,[_0x22ea60],this[_0x1a1d30(0x36e)]);try{const _0x309bcd=this[_0x1a1d30(0x388)][_0x1a1d30(0x325)](_0x22ea60,[ui]);if(I['isTransformMutationsWithChangesetSuccess'](_0x309bcd)){const {c1Prime:_0x131da5}=_0x309bcd;return this['_executeRemoteChangeset'](_0x131da5),this;}throw _0x309bcd[_0x1a1d30(0x348)];}catch(_0x187060){return this[_0x1a1d30(0x41f)]['error'](_0x187060),this['_onConflict'](!0x1);}}['_onConflict'](_0x11e7e7){var _0x1a0bb6=_0x5c6280;return this['_injector']['createInstance'](exports[_0x1a0bb6(0x151)],this[_0x1a0bb6(0x34a)],this[_0x1a0bb6(0x11a)],null,[],this[_0x1a0bb6(0x36e)],_0x11e7e7);}['onRemoteAck'](){var _0xa23a9d=_0x5c6280;throw new Error(_0xa23a9d(0x2be));}['onRemoteRej'](){var _0xdb7f4a=_0x5c6280;throw new Error(_0xdb7f4a(0x2e0));}['onRemoteRetry'](){return this;}[_0x5c6280(0x332)](){var _0xbf9770=_0x5c6280;return this['_injector'][_0xbf9770(0x2c7)](exports[_0xbf9770(0x1b4)],this[_0xbf9770(0x34a)],this[_0xbf9770(0x11a)],null,[],this[_0xbf9770(0x36e)]);}[_0x5c6280(0x365)](){return this;}[_0x5c6280(0xf8)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x5c6280(0x307)](){var _0x31cd8f=_0x5c6280;const _0x5a4ce1=this[_0x31cd8f(0x172)][_0x31cd8f(0x25a)](this[_0x31cd8f(0x34a)]);return this[_0x31cd8f(0x36e)][_0x31cd8f(0x27c)]({'from':_0x5a4ce1,'to':0x0}),this[_0x31cd8f(0x347)][_0x31cd8f(0x2c7)](exports[_0x31cd8f(0x167)],this[_0x31cd8f(0x34a)],this[_0x31cd8f(0x11a)],null,[],null,[],this['_handler']);}},exports[_0x5c6280(0x327)]=ae([w(0x3,a[_0x5c6280(0x273)](I[_0x5c6280(0x25b)])),w(0x4,a['Inject'](a['Injector'])),w(0x5,a[_0x5c6280(0x280)]),w(0x6,a[_0x5c6280(0x30b)]),w(0x7,a[_0x5c6280(0x126)]),w(0x8,I[_0x5c6280(0xd6)]),w(0x9,a[_0x5c6280(0x1d5)](q))],exports[_0x5c6280(0x327)]),exports[_0x5c6280(0x292)]=class extends ce{constructor(_0xbfc504,_0x205248,_0x590898,_0x413e08,_0x1d7163,_0x47a45e,_0x1d1358,_0x1f3269,_0xc2491e,_0x169a7b,_0xae4e00,_0x32af36,_0x2a2573,_0x34da12){var _0x1ccd18=_0x5c6280;super(_0xbfc504,_0x205248,null,_0x590898,_0x413e08,_0xc2491e,_0x2a2573,_0x47a45e,_0x34da12),A(this,_0x1ccd18(0x358),_0x1ccd18(0xe0)),A(this,_0x1ccd18(0x35e),null),A(this,_0x1ccd18(0x3c9),null),(this[_0x1ccd18(0x347)]=_0x1d7163,this[_0x1ccd18(0x103)]=_0x1d1358,this['_logService']=_0x1f3269,this[_0x1ccd18(0x145)]=_0x169a7b,this['_transformService']=_0xae4e00,this[_0x1ccd18(0x150)]=_0x32af36);}[_0x5c6280(0x353)](_0x12b1f0){var _0x2addf3=_0x5c6280;return this[_0x2addf3(0x362)][_0x2addf3(0x1c7)](_0x12b1f0),this[_0x2addf3(0xee)](),this;}[_0x5c6280(0x418)](_0x270d5b){var _0x3e6ce9=_0x5c6280;if(this[_0x3e6ce9(0x132)](_0x270d5b))return this['_clearScheduledTask'](),this[_0x3e6ce9(0x347)][_0x3e6ce9(0x2c7)](exports[_0x3e6ce9(0x167)],this[_0x3e6ce9(0x34a)],this[_0x3e6ce9(0x11a)],null,this['_pendingMutations'],null,[_0x270d5b],this[_0x3e6ce9(0x36e)]);try{const _0x4541da=this['_transformService'][_0x3e6ce9(0x325)](_0x270d5b,this[_0x3e6ce9(0x362)]);if(I[_0x3e6ce9(0x116)](_0x4541da)){const {c1Prime:_0x522596,m2Prime:_0x17c6e8}=_0x4541da;this['_executeRemoteChangeset'](_0x522596);const _0x584cf0=this[_0x3e6ce9(0x347)]['createInstance'](exports[_0x3e6ce9(0x292)],this['unitID'],this['type'],_0x17c6e8,this[_0x3e6ce9(0x36e)]);this[_0x3e6ce9(0xde)]();const _0x16aeae=new Date()[_0x3e6ce9(0x377)](),_0x59d680=this['_scheduleCompleteTimestamp']?Math[_0x3e6ce9(0xdc)](this['_scheduleCompleteTimestamp']-_0x16aeae,0x0):this[_0x3e6ce9(0x12a)]();return _0x584cf0['_schedule'](_0x59d680),_0x584cf0;}throw _0x4541da[_0x3e6ce9(0x348)];}catch(_0x3f804e){return this[_0x3e6ce9(0x41f)][_0x3e6ce9(0x348)](_0x3f804e),this['_onConflict'](!0x1);}}['onRemoteAck'](){var _0x2a5c1d=_0x5c6280;throw new Error(_0x2a5c1d(0x373));}[_0x5c6280(0x11c)](){var _0x209510=_0x5c6280;throw new Error(_0x209510(0x38b));}[_0x5c6280(0x2fe)](){return this;}[_0x5c6280(0x332)](){var _0x410dd8=_0x5c6280;return this['_clearScheduledTask'](),this[_0x410dd8(0x347)]['createInstance'](exports[_0x410dd8(0x1b4)],this[_0x410dd8(0x34a)],this[_0x410dd8(0x11a)],null,this[_0x410dd8(0x362)],this[_0x410dd8(0x36e)]);}[_0x5c6280(0x365)](){return this;}[_0x5c6280(0x2e5)](_0x393e36){var _0xdae2fa=_0x5c6280;const _0x129065=_0x393e36!=null?_0x393e36:this['_getSendChangesetTimeout']();this[_0xdae2fa(0x35e)]=new Date()[_0xdae2fa(0x377)]()+_0x129065,this[_0xdae2fa(0x3c9)]=setTimeout(()=>{var _0x46218a=_0xdae2fa;this[_0x46218a(0xde)]();let _0x4be467=null;switch(this['type']){case J['UNIVER_SHEET']:{_0x4be467=Ke(this[_0x46218a(0x362)],this['unitID'],this['_univerInstanceService'],this[_0x46218a(0x172)],this['_memberService']);break;}case J[_0x46218a(0x1dd)]:{this['_pendingMutations'][_0x46218a(0x3a3)](_0x286bfd=>_0x286bfd['id']===ht[_0x46218a(0xd2)]['id'])?_0x4be467=li(this[_0x46218a(0x362)],this[_0x46218a(0x34a)],this[_0x46218a(0x150)],this[_0x46218a(0x172)],this[_0x46218a(0x103)]):_0x4be467=Ke(this[_0x46218a(0x362)],this[_0x46218a(0x34a)],this[_0x46218a(0x150)],this[_0x46218a(0x172)],this[_0x46218a(0x103)]);break;}default:throw new Error(_0x46218a(0x231)+this['type']+_0x46218a(0x38c));}const {changeset:_0x57519c,pendingMutations:_0x155af6}=_0x4be467;this['_handler'][_0x46218a(0x159)](_0x57519c);const _0x4c97aa=_0x155af6[_0x46218a(0x19f)]?this[_0x46218a(0x347)][_0x46218a(0x2c7)](exports['AwaitingWithPendingState'],this['unitID'],this[_0x46218a(0x11a)],_0x57519c,_0x155af6,this[_0x46218a(0x36e)],void 0x0):this['_injector']['createInstance'](exports[_0x46218a(0x123)],this[_0x46218a(0x34a)],this[_0x46218a(0x11a)],_0x57519c,this['_handler']);_0x4c97aa[_0x46218a(0xee)](),this['_handler'][_0x46218a(0x1c8)](this,_0x4c97aa);},_0x129065);}['_getSendChangesetTimeout'](){var _0x38bc4e=_0x5c6280,_0xcd1ae6;const _0x547473=this[_0x38bc4e(0x145)][_0x38bc4e(0x3ff)](K);return(_0xcd1ae6=_0x547473==null?void 0x0:_0x547473[_0x38bc4e(0x399)])!=null?_0xcd1ae6:xt;}[_0x5c6280(0xf8)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearScheduledTask'](){var _0x4ed536=_0x5c6280;this[_0x4ed536(0x3c9)]!=null&&(clearTimeout(this[_0x4ed536(0x3c9)]),this[_0x4ed536(0x3c9)]=null);}[_0x5c6280(0x170)](_0x4afe77){var _0x4e5167=_0x5c6280;return this[_0x4e5167(0xde)](),this[_0x4e5167(0x347)][_0x4e5167(0x2c7)](exports[_0x4e5167(0x151)],this[_0x4e5167(0x34a)],this['type'],null,this[_0x4e5167(0x362)],this[_0x4e5167(0x36e)],_0x4afe77);}},exports[_0x5c6280(0x292)]=ae([w(0x4,a[_0x5c6280(0x273)](a[_0x5c6280(0x268)])),w(0x5,a[_0x5c6280(0x273)](I['RevisionService'])),w(0x6,a['Inject'](exports[_0x5c6280(0x1fb)])),w(0x7,a[_0x5c6280(0x126)]),w(0x8,a['ICommandService']),w(0x9,a[_0x5c6280(0x286)]),w(0xa,I[_0x5c6280(0xd6)]),w(0xb,a[_0x5c6280(0x183)]),w(0xc,a[_0x5c6280(0x280)]),w(0xd,a['Optional'](q))],exports[_0x5c6280(0x292)]),exports['AwaitingState']=class extends ce{constructor(_0x73eed3,_0x5578d4,_0x5a7d30,_0x3286ad,_0x50f38e,_0xb35ad7,_0x14d419,_0x2213e4,_0x159e34,_0x1baa2a,_0x573028){var _0x3c23a8=_0x5c6280;super(_0x73eed3,_0x5578d4,_0x5a7d30,[],_0x3286ad,_0x14d419,_0x1baa2a,_0xb35ad7,_0x573028),A(this,_0x3c23a8(0x358),'awaiting'),A(this,_0x3c23a8(0x369),0x0),A(this,_0x3c23a8(0x24f)),A(this,_0x3c23a8(0xdf)),(this[_0x3c23a8(0x347)]=_0x50f38e,this[_0x3c23a8(0x41f)]=_0x2213e4,this[_0x3c23a8(0x388)]=_0x159e34);}[_0x5c6280(0x353)](_0x341ac0){var _0xf57605=_0x5c6280;this[_0xf57605(0xde)]();const _0x37b36c=this[_0xf57605(0x347)][_0xf57605(0x2c7)](exports['AwaitingWithPendingState'],this[_0xf57605(0x34a)],this[_0xf57605(0x11a)],this[_0xf57605(0x245)],[_0x341ac0],this[_0xf57605(0x36e)],this[_0xf57605(0x24f)]);return _0x37b36c[_0xf57605(0xee)](),_0x37b36c;}[_0x5c6280(0x418)](_0x59f880){var _0x207b1a=_0x5c6280;if(this[_0x207b1a(0x132)](_0x59f880))return this[_0x207b1a(0xde)](),this[_0x207b1a(0x347)][_0x207b1a(0x2c7)](exports['FetchingMissState'],this[_0x207b1a(0x34a)],this['type'],this[_0x207b1a(0x245)],[],null,[_0x59f880],this[_0x207b1a(0x36e)]);try{const _0x41debc=this[_0x207b1a(0x388)][_0x207b1a(0x3d0)]([_0x59f880],[this[_0x207b1a(0x245)]],!0x1);if(I[_0x207b1a(0x1d6)](_0x41debc)){const {c1Prime:_0x488bc4,c2Prime:_0x3ba1eb}=_0x41debc;this[_0x207b1a(0x2f6)](_0x488bc4[0x0]),_0x3ba1eb[0x0][_0x207b1a(0x223)]=this[_0x207b1a(0xc1)](),this[_0x207b1a(0xde)]();const _0x422f92=this[_0x207b1a(0x347)][_0x207b1a(0x2c7)](exports[_0x207b1a(0x123)],this[_0x207b1a(0x34a)],this[_0x207b1a(0x11a)],_0x3ba1eb[0x0],this[_0x207b1a(0x36e)]);return _0x422f92[_0x207b1a(0xee)](),_0x422f92;}return this['_onConflict'](!0x1);}catch(_0x103a88){return this[_0x207b1a(0x41f)][_0x207b1a(0x348)](_0x103a88),this[_0x207b1a(0x170)](!0x1);}}[_0x5c6280(0x2bd)](_0x45c08e){var _0x126518=_0x5c6280;this['_clearScheduledTask']();const _0x42477e=this[_0x126518(0x172)][_0x126518(0x25a)](this['unitID']);if(_0x45c08e['revision']<_0x42477e-0x1)return this;if(this[_0x126518(0x132)](_0x45c08e))return this[_0x126518(0x347)][_0x126518(0x2c7)](exports[_0x126518(0x167)],this[_0x126518(0x34a)],this[_0x126518(0x11a)],null,[],this[_0x126518(0x245)],[],this[_0x126518(0x36e)]);this[_0x126518(0x378)]();const _0x358120=this[_0x126518(0x347)][_0x126518(0x2c7)](exports[_0x126518(0x327)],this[_0x126518(0x34a)],this[_0x126518(0x11a)],this[_0x126518(0x36e)]);return _0x358120[_0x126518(0xee)](),_0x358120;}['onRemoteRej'](_0x6076f){var _0x58f014=_0x5c6280;return this[_0x58f014(0x170)](!!(_0x6076f!=null&&_0x6076f[_0x58f014(0x2e4)]));}[_0x5c6280(0x2fe)](_0x5477a5){var _0x5cde2a=_0x5c6280;return this[_0x5cde2a(0x369)]>Rt?this['toggleOffline']():(this[_0x5cde2a(0x24f)]=bt(this['_resendTimeout'],{'timeout':this[_0x5cde2a(0x369)],'reqId':_0x5477a5[_0x5cde2a(0x310)]}),this[_0x5cde2a(0xdf)]=this['_resendTimer'][_0x5cde2a(0x2f9)](({reqId:_0x224920,timeout:_0x4a327a})=>{this['_resendWithTimeout'](_0x224920,_0x4a327a);}),this);}[_0x5c6280(0x332)](){var _0x34bb47=_0x5c6280;return this['_clearScheduledTask'](),this[_0x34bb47(0x347)]['createInstance'](exports['OfflineState'],this[_0x34bb47(0x34a)],this['type'],this[_0x34bb47(0x245)],[],this[_0x34bb47(0x36e)]);}['toggleOnline'](){return this;}['resend'](){var _0x286253=_0x5c6280;this['_handler']['onSendChangeset'](this[_0x286253(0x245)]);}[_0x5c6280(0x170)](_0x3cc998){var _0x12499d=_0x5c6280;return this[_0x12499d(0xde)](),this[_0x12499d(0x347)][_0x12499d(0x2c7)](exports[_0x12499d(0x151)],this[_0x12499d(0x34a)],this['type'],this[_0x12499d(0x245)],[],this[_0x12499d(0x36e)],_0x3cc998);}[_0x5c6280(0xaa)](_0x5e2bea,_0x24e501){var _0x4efec4=_0x5c6280,_0x27a6a2;_0x5e2bea===((_0x27a6a2=this[_0x4efec4(0x245)])==null?void 0x0:_0x27a6a2['reqId'])&&(this[_0x4efec4(0xf8)](),this[_0x4efec4(0x369)]=_0x24e501===0x0?0x3e8:_0x24e501*0x2);}['_clearScheduledTask'](){var _0x4e29f3=_0x5c6280,_0x2ae986;(_0x2ae986=this[_0x4e29f3(0xdf)])==null||_0x2ae986[_0x4e29f3(0x35d)](),this[_0x4e29f3(0x369)]=0x0;}},exports['AwaitingState']=ae([w(0x4,a[_0x5c6280(0x273)](a[_0x5c6280(0x268)])),w(0x5,a['Inject'](I[_0x5c6280(0x25b)])),w(0x6,a[_0x5c6280(0x30b)]),w(0x7,a[_0x5c6280(0x126)]),w(0x8,I['ITransformService']),w(0x9,a['IUndoRedoService']),w(0xa,a[_0x5c6280(0x1d5)](q))],exports[_0x5c6280(0x123)]),exports[_0x5c6280(0x207)]=class extends ce{constructor(_0x34d00d,_0x22573d,_0x46908f,_0x38568e,_0x2e81aa,_0x5485ae,_0x2f1e70,_0x1eb61e,_0x181e30,_0x4aeb23,_0x2ea4e4,_0x89a8a6,_0x15df3b){var _0x1e6bf4=_0x5c6280;super(_0x34d00d,_0x22573d,_0x46908f,_0x38568e,_0x2e81aa,_0x181e30,_0x89a8a6,_0x1eb61e,_0x15df3b),A(this,'status',_0x1e6bf4(0x22b)),A(this,_0x1e6bf4(0x369),0x0),A(this,_0x1e6bf4(0x24f)),A(this,_0x1e6bf4(0xdf)),(this[_0x1e6bf4(0x347)]=_0x2f1e70,this[_0x1e6bf4(0x41f)]=_0x4aeb23,this['_transformService']=_0x2ea4e4,this['localCacheService']=_0x15df3b,_0x5485ae&&(this[_0x1e6bf4(0x24f)]=_0x5485ae,this[_0x1e6bf4(0xdf)]=this['_resendTimer'][_0x1e6bf4(0x2f9)](({reqId:_0x4ec050,timeout:_0x1df5db})=>{var _0x31c1a4=_0x1e6bf4;this[_0x31c1a4(0xaa)](_0x4ec050,_0x1df5db);})));}['appendMutation'](_0x5cf18b){var _0x3efdec=_0x5c6280;return this[_0x3efdec(0x362)]['push'](_0x5cf18b),this;}[_0x5c6280(0x418)](_0x53e9b7){var _0x5f116e=_0x5c6280;if(this['_checkMissing'](_0x53e9b7))return this['_clearScheduledTask'](),this[_0x5f116e(0x347)][_0x5f116e(0x2c7)](exports[_0x5f116e(0x167)],this[_0x5f116e(0x34a)],this[_0x5f116e(0x11a)],this['_awaitingChangeset'],this[_0x5f116e(0x362)],null,[_0x53e9b7],this[_0x5f116e(0x36e)]);try{const _0x371ea0=this[_0x5f116e(0x388)]['transformChangesets']([_0x53e9b7],[this[_0x5f116e(0x245)]],!0x1);if(I[_0x5f116e(0x1d6)](_0x371ea0)){const {c1Prime:_0x1f43f8,c2Prime:_0x10e50c}=_0x371ea0,_0x278a8d=this[_0x5f116e(0x388)]['transformMutationsWithChangeset'](_0x1f43f8[0x0],this[_0x5f116e(0x362)]);if(I[_0x5f116e(0x116)](_0x278a8d)){const {c1Prime:_0x5546a3,m2Prime:_0x52392c}=_0x278a8d;return this['_executeRemoteChangeset'](_0x5546a3),_0x10e50c[0x0][_0x5f116e(0x223)]=this[_0x5f116e(0xc1)](),this['_clearScheduledTask'](),this['_injector'][_0x5f116e(0x2c7)](exports[_0x5f116e(0x207)],this[_0x5f116e(0x34a)],this[_0x5f116e(0x11a)],_0x10e50c[0x0],_0x52392c,this[_0x5f116e(0x36e)],void 0x0);}throw _0x278a8d[_0x5f116e(0x348)];}throw _0x371ea0['error'];}catch(_0x408211){return this[_0x5f116e(0x41f)][_0x5f116e(0x348)](_0x408211),this[_0x5f116e(0x170)](!0x1);}}[_0x5c6280(0x2bd)](_0x312d77){var _0x1cf92e=_0x5c6280;if(this[_0x1cf92e(0xde)](),this[_0x1cf92e(0x132)](_0x312d77))return this[_0x1cf92e(0x347)][_0x1cf92e(0x2c7)](exports[_0x1cf92e(0x167)],this[_0x1cf92e(0x34a)],this[_0x1cf92e(0x11a)],null,this[_0x1cf92e(0x362)],this['_awaitingChangeset'],[],this[_0x1cf92e(0x36e)]);this[_0x1cf92e(0x378)]();const _0x3f854c=this[_0x1cf92e(0x347)]['createInstance'](exports[_0x1cf92e(0x292)],this['unitID'],this[_0x1cf92e(0x11a)],this['_pendingMutations'],this['_handler']);return _0x3f854c['_schedule'](),_0x3f854c['_updateLocalCache'](),_0x3f854c;}[_0x5c6280(0x11c)](_0x350753){var _0x292eaa=_0x5c6280;return this[_0x292eaa(0x170)](!!(_0x350753!=null&&_0x350753[_0x292eaa(0x2e4)]));}['onRemoteRetry'](_0x3b91a6){var _0x3732a1=_0x5c6280;return this['_resendTimeout']>Rt?this[_0x3732a1(0x332)]():(this[_0x3732a1(0x24f)]=bt(this[_0x3732a1(0x369)],{'timeout':this['_resendTimeout'],'reqId':_0x3b91a6[_0x3732a1(0x310)]}),this[_0x3732a1(0xdf)]=this[_0x3732a1(0x24f)]['subscribe'](({reqId:_0x27cee5,timeout:_0x306e19})=>{var _0x10336b=_0x3732a1;this[_0x10336b(0xaa)](_0x27cee5,_0x306e19);}),this);}['toggleOffline'](){var _0x2221ec=_0x5c6280;return this[_0x2221ec(0xde)](),this[_0x2221ec(0x347)][_0x2221ec(0x2c7)](exports['OfflineState'],this['unitID'],this[_0x2221ec(0x11a)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x2221ec(0x36e)]);}[_0x5c6280(0x365)](){return this;}[_0x5c6280(0xf8)](){var _0x4ed04f=_0x5c6280;this['_handler'][_0x4ed04f(0x159)](this[_0x4ed04f(0x245)]);}[_0x5c6280(0x170)](_0x578558){var _0x15a4e2=_0x5c6280;return this['_clearScheduledTask'](),this[_0x15a4e2(0x347)][_0x15a4e2(0x2c7)](exports[_0x15a4e2(0x151)],this[_0x15a4e2(0x34a)],this[_0x15a4e2(0x11a)],null,this[_0x15a4e2(0x362)],this[_0x15a4e2(0x36e)],_0x578558);}['_resendWithTimeout'](_0x478e6c,_0x5dcee5){var _0x4942e5=_0x5c6280,_0x57e33d;_0x478e6c===((_0x57e33d=this[_0x4942e5(0x245)])==null?void 0x0:_0x57e33d['reqId'])&&(this[_0x4942e5(0xf8)](),this[_0x4942e5(0x369)]=_0x5dcee5===0x0?0x3e8:_0x5dcee5*0x2);}[_0x5c6280(0xde)](){var _0x51d018=_0x5c6280,_0x1838ee;(_0x1838ee=this[_0x51d018(0xdf)])==null||_0x1838ee[_0x51d018(0x35d)](),this[_0x51d018(0x369)]=0x0;}},exports['AwaitingWithPendingState']=ae([w(0x6,a[_0x5c6280(0x273)](a[_0x5c6280(0x268)])),w(0x7,a[_0x5c6280(0x273)](I[_0x5c6280(0x25b)])),w(0x8,a['ICommandService']),w(0x9,a[_0x5c6280(0x126)]),w(0xa,I[_0x5c6280(0xd6)]),w(0xb,a[_0x5c6280(0x280)]),w(0xc,a[_0x5c6280(0x1d5)](q))],exports['AwaitingWithPendingState']),exports['ConflictState']=class extends ce{constructor(_0x3777f7,_0x2ea489,_0x4390ab,_0x40fe60,_0x37c071,_0x1f72d5=!0x1,_0x49d117,_0x1957b9,_0x30838c,_0x59693f,_0x195e70,_0x5614f7,_0x6983f7){var _0xb3af99=_0x5c6280;super(_0x3777f7,_0x2ea489,_0x4390ab,_0x40fe60,_0x37c071,_0x1957b9,_0x30838c,_0x59693f,_0x6983f7),A(this,_0xb3af99(0x358),'conflict'),(this[_0xb3af99(0x216)]=_0x1f72d5,this['_permissionService']=_0x49d117,this['_localeService']=_0x195e70,this['_collaborationUIEventService']=_0x5614f7,this[_0xb3af99(0xd4)]=_0x6983f7,this[_0xb3af99(0x278)](),this['_clearLocalCache'](),this['_disableEditing']());}['appendMutation'](){return this;}[_0x5c6280(0x418)](){return this;}['onRemoteAck'](){return this;}['onRemoteRej'](){return this;}[_0x5c6280(0x2fe)](){return this;}[_0x5c6280(0x332)](){return this;}[_0x5c6280(0x365)](){return this;}[_0x5c6280(0xf8)](){var _0x3b6996=_0x5c6280;throw new Error(_0x3b6996(0x191));}[_0x5c6280(0xbd)](){var _0x5e4c74=_0x5c6280,_0x24dbd4;(_0x24dbd4=this[_0x5e4c74(0x3fb)])==null||_0x24dbd4[_0x5e4c74(0xfb)](this[_0x5e4c74(0x34a)],this['type'],null,[]);}[_0x5c6280(0x278)](){var _0x1194d3=_0x5c6280;this[_0x1194d3(0x216)]?this['_collaborationUIEventService'][_0x1194d3(0x3df)]({'id':Z[_0x1194d3(0x3f3)]}):this[_0x1194d3(0x41d)][_0x1194d3(0x3df)]({'id':Z[_0x1194d3(0x197)]});}[_0x5c6280(0x2fd)](){var _0x5f39d5=_0x5c6280;this[_0x5f39d5(0x13e)][_0x5f39d5(0x37f)](new X[(_0x5f39d5(0x138))](this[_0x5f39d5(0x34a)])['id'],!0x1);}},exports[_0x5c6280(0x151)]=ae([w(0x6,a[_0x5c6280(0x273)](a[_0x5c6280(0x200)])),w(0x7,a[_0x5c6280(0x30b)]),w(0x8,a['IUndoRedoService']),w(0x9,a['Inject'](I['RevisionService'])),w(0xa,a[_0x5c6280(0x273)](a['LocaleService'])),w(0xb,a['Inject'](ee)),w(0xc,a['Optional'](q))],exports[_0x5c6280(0x151)]),exports[_0x5c6280(0x1b4)]=class extends ce{constructor(_0x4f0019,_0xd63cff,_0x3b8723,_0x216cb3,_0x7fe8b1,_0x311a9a,_0x1d0747,_0x157cc7,_0x3bec7c,_0x5e11ce){var _0x53f7de=_0x5c6280;super(_0x4f0019,_0xd63cff,_0x3b8723,_0x216cb3,_0x7fe8b1,_0x157cc7,_0x3bec7c,_0x1d0747,_0x5e11ce),A(this,_0x53f7de(0x358),_0x53f7de(0x335)),this['_injector']=_0x311a9a;}[_0x5c6280(0x353)](_0x1e6418){var _0x31b179=_0x5c6280;return this['_pendingMutations'][_0x31b179(0x1c7)](_0x1e6418),this['_updateLocalCache'](),this;}[_0x5c6280(0x418)](_0x5c7fee){var _0x169c9a=_0x5c6280;throw new Error(_0x169c9a(0x1e4));}[_0x5c6280(0x2bd)](){var _0x3900ee=_0x5c6280;throw new Error(_0x3900ee(0x26b));}[_0x5c6280(0x11c)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0x5c6280(0x332)](){return this;}[_0x5c6280(0x365)](){var _0x683751=_0x5c6280;const {_injector:_0x5de11b,_pendingMutations:_0x3bd800,_awaitingChangeset:_0x5f0081,unitID:_0x58d918,_handler:_0x20b15a,type:_0x4b7fd8}=this,_0x200cfb=Ot(_0x5de11b,_0x58d918,_0x4b7fd8,_0x5f0081,_0x3bd800,_0x20b15a);return _0x200cfb instanceof exports[_0x683751(0x292)]?_0x200cfb['_schedule']():(_0x200cfb instanceof exports[_0x683751(0x207)]||_0x200cfb instanceof exports[_0x683751(0x123)])&&_0x200cfb[_0x683751(0xf8)](),_0x200cfb;}['resend'](){var _0x3e3db9=_0x5c6280;throw new Error(_0x3e3db9(0xc7));}},exports[_0x5c6280(0x1b4)]=ae([w(0x5,a[_0x5c6280(0x273)](a[_0x5c6280(0x268)])),w(0x6,a[_0x5c6280(0x273)](I[_0x5c6280(0x25b)])),w(0x7,a[_0x5c6280(0x30b)]),w(0x8,a[_0x5c6280(0x280)]),w(0x9,a[_0x5c6280(0x1d5)](q))],exports[_0x5c6280(0x1b4)]),exports[_0x5c6280(0x167)]=class extends ce{constructor(_0x5c8a61,_0x1facb3,_0x59eb5e,_0x4c2af9,_0x60ab43,_0x5cffc7,_0x594e6b,_0x2f85fd,_0x52d9ab,_0x3d09aa,_0x2db4c4,_0x22762b,_0x3df273,_0x1535c0){var _0x559db3=_0x5c6280;super(_0x5c8a61,_0x1facb3,_0x59eb5e,_0x4c2af9,_0x594e6b,_0x2db4c4,_0x22762b,_0x52d9ab,_0x1535c0),A(this,_0x559db3(0x358),_0x559db3(0x2c4)),(this[_0x559db3(0x24d)]=_0x60ab43,this[_0x559db3(0x262)]=_0x5cffc7,this[_0x559db3(0x347)]=_0x2f85fd,this[_0x559db3(0x41f)]=_0x3d09aa,this[_0x559db3(0x388)]=_0x3df273,this[_0x559db3(0xd4)]=_0x1535c0);}[_0x5c6280(0x314)](_0x57ef36){var _0x2458c0=_0x5c6280;try{const _0x19ae16=[..._0x57ef36,...this['_queuedRemoteChangesets']],_0x205cc6=[this[_0x2458c0(0x245)]||this[_0x2458c0(0x24d)]][_0x2458c0(0x23e)](_0x3f70dc=>!!_0x3f70dc);let _0x5bffc0,_0x44b15f;if(_0x205cc6[_0x2458c0(0x19f)]){const _0x6c0b4c=this[_0x2458c0(0x388)]['transformChangesets'](_0x19ae16,_0x205cc6,!0x1);if(!I[_0x2458c0(0x1d6)](_0x6c0b4c))throw _0x6c0b4c[_0x2458c0(0x348)];_0x5bffc0=_0x6c0b4c[_0x2458c0(0x3ea)],_0x44b15f=_0x6c0b4c[_0x2458c0(0x3c1)];}else _0x5bffc0=_0x19ae16,_0x44b15f=[];let _0x29ba4a=this[_0x2458c0(0x362)];_0x5bffc0['forEach'](_0xcc68d8=>{var _0x29b9b7=_0x2458c0;let _0x2089df;if(_0x29ba4a[_0x29b9b7(0x19f)]){const _0xc85f56=this[_0x29b9b7(0x388)][_0x29b9b7(0x325)](_0xcc68d8,_0x29ba4a);if(!I['isTransformMutationsWithChangesetSuccess'](_0xc85f56))throw _0xc85f56[_0x29b9b7(0x348)];_0x2089df=_0xc85f56[_0x29b9b7(0x3ea)],_0x29ba4a=_0xc85f56[_0x29b9b7(0x31f)];}else _0x2089df=_0xcc68d8;this[_0x29b9b7(0x2f6)](_0x2089df);}),this['_acknowledgedAwaitingChangeset']&&this[_0x2458c0(0x378)](),this[_0x2458c0(0x245)]&&_0x44b15f[_0x2458c0(0x19f)]&&(_0x44b15f[0x0][_0x2458c0(0x223)]=this['_getCurrentRevision']());let _0x5b9f5a;if(this['_awaitingChangeset']&&_0x29ba4a[_0x2458c0(0x19f)]!==0x0)_0x5b9f5a=this[_0x2458c0(0x347)][_0x2458c0(0x2c7)](exports[_0x2458c0(0x207)],this[_0x2458c0(0x34a)],this[_0x2458c0(0x11a)],_0x44b15f[0x0],_0x29ba4a,this[_0x2458c0(0x36e)],void 0x0);else{if(this[_0x2458c0(0x245)]&&_0x29ba4a['length']===0x0)_0x44b15f[0x0][_0x2458c0(0x223)]=this['_getCurrentRevision'](),_0x5b9f5a=this[_0x2458c0(0x347)][_0x2458c0(0x2c7)](exports['AwaitingState'],this[_0x2458c0(0x34a)],this['type'],_0x44b15f[0x0],this[_0x2458c0(0x36e)]);else{if(_0x29ba4a[_0x2458c0(0x19f)]!==0x0){const _0x6f115c=this['_injector'][_0x2458c0(0x2c7)](exports[_0x2458c0(0x292)],this[_0x2458c0(0x34a)],this[_0x2458c0(0x11a)],_0x29ba4a,this[_0x2458c0(0x36e)]);_0x6f115c[_0x2458c0(0x2e5)](),_0x5b9f5a=_0x6f115c;}else _0x5b9f5a=this['_injector'][_0x2458c0(0x2c7)](exports[_0x2458c0(0x327)],this[_0x2458c0(0x34a)],this[_0x2458c0(0x11a)],this[_0x2458c0(0x36e)]);}}return _0x5b9f5a[_0x2458c0(0xee)](),_0x5b9f5a;}catch(_0x508a19){return this['_logService'][_0x2458c0(0x348)](_0x2458c0(0x3ca),_0x2458c0(0x334),_0x508a19),this[_0x2458c0(0x347)]['createInstance'](exports[_0x2458c0(0x151)],this[_0x2458c0(0x34a)],this['type'],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x2458c0(0x36e)],!0x1);}}[_0x5c6280(0xf8)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x5c6280(0x353)](_0x250e19){var _0x1e2175=_0x5c6280;return this[_0x1e2175(0x362)][_0x1e2175(0x1c7)](_0x250e19),this;}[_0x5c6280(0x418)](_0x30e69d){var _0x499cad=_0x5c6280;return this['_queuedRemoteChangesets'][_0x499cad(0x1c7)](_0x30e69d),this;}[_0x5c6280(0x2bd)](_0x27e982){var _0x4748ea=_0x5c6280;if(this[_0x4748ea(0x245)])return this[_0x4748ea(0x24d)]=this['_awaitingChangeset'],this[_0x4748ea(0x245)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x5c6280(0x11c)](_0x391c7b){var _0x567b0a=_0x5c6280;return this[_0x567b0a(0x170)](!!(_0x391c7b!=null&&_0x391c7b[_0x567b0a(0x2e4)]));}['onRemoteRetry'](){return this;}[_0x5c6280(0x332)](){var _0x492af7=_0x5c6280;return this[_0x492af7(0x347)][_0x492af7(0x2c7)](exports['OfflineState'],this[_0x492af7(0x34a)],this[_0x492af7(0x11a)],this[_0x492af7(0x245)],this[_0x492af7(0x362)],this[_0x492af7(0x36e)]);}[_0x5c6280(0x365)](){return this;}[_0x5c6280(0x170)](_0x573892){var _0x1abee3=_0x5c6280;return this['_injector'][_0x1abee3(0x2c7)](exports[_0x1abee3(0x151)],this[_0x1abee3(0x34a)],this[_0x1abee3(0x11a)],this[_0x1abee3(0x245)],this[_0x1abee3(0x362)],this['_handler'],_0x573892);}},exports[_0x5c6280(0x167)]=ae([w(0x7,a[_0x5c6280(0x273)](a[_0x5c6280(0x268)])),w(0x8,a[_0x5c6280(0x273)](I[_0x5c6280(0x25b)])),w(0x9,a[_0x5c6280(0x126)]),w(0xa,a[_0x5c6280(0x30b)]),w(0xb,a[_0x5c6280(0x280)]),w(0xc,I[_0x5c6280(0xd6)]),w(0xd,a[_0x5c6280(0x1d5)](q))],exports['FetchingMissState']);function Ot(_0x123159,_0x56c6c5,_0x51cc66,_0x13e8de,_0x2987de,_0x572f23){var _0x4bfa9b=_0x5c6280;return _0x13e8de&&_0x2987de[_0x4bfa9b(0x19f)]?_0x123159['createInstance'](exports[_0x4bfa9b(0x207)],_0x56c6c5,_0x51cc66,_0x13e8de,_0x2987de,_0x572f23,void 0x0):_0x13e8de?_0x123159['createInstance'](exports[_0x4bfa9b(0x123)],_0x56c6c5,_0x51cc66,_0x13e8de,_0x572f23):_0x2987de[_0x4bfa9b(0x19f)]?_0x123159[_0x4bfa9b(0x2c7)](exports[_0x4bfa9b(0x292)],_0x56c6c5,_0x51cc66,_0x2987de,_0x572f23):_0x123159[_0x4bfa9b(0x2c7)](exports['SyncedState'],_0x56c6c5,_0x51cc66,_0x572f23);}var vi=Object[_0x5c6280(0x241)],Fe=(_0x1f4038,_0xaddf9d,_0x44d21b,_0x1f7c72)=>{var _0x2b540e=_0x5c6280;for(var _0x533ec5=_0x1f7c72>0x1?void 0x0:_0x1f7c72?vi(_0xaddf9d,_0x44d21b):_0xaddf9d,_0x1cbc31=_0x1f4038[_0x2b540e(0x19f)]-0x1,_0x137579;_0x1cbc31>=0x0;_0x1cbc31--)(_0x137579=_0x1f4038[_0x1cbc31])&&(_0x533ec5=_0x137579(_0x533ec5)||_0x533ec5);return _0x533ec5;},j=(_0x193550,_0x2f84a5)=>(_0x29c832,_0x4e2ca5)=>_0x2f84a5(_0x29c832,_0x4e2ca5,_0x193550);exports[_0x5c6280(0x1af)]=class extends a[_0x5c6280(0x285)]{constructor(_0x280516,_0x37126c,_0x5b424d,_0x3f98ea,_0x4eb320,_0x58a6c5,_0x4bbe62,_0xd04c28,_0x16de0a,_0x122570,_0x3f17b7,_0x263977,_0x5276b0){var _0x4561c1=_0x5c6280;super(),A(this,_0x4561c1(0x3db),new $[(_0x4561c1(0x3d8))](null)),A(this,_0x4561c1(0x2c1),this[_0x4561c1(0x3db)][_0x4561c1(0x1c1)]()),A(this,_0x4561c1(0x296)),A(this,'_collaborationPaused',!0x1),A(this,_0x4561c1(0x140),''),A(this,'_changesetReqId',0x0),A(this,'status$',this[_0x4561c1(0x2c1)][_0x4561c1(0x251)]($['map'](_0x2b7247=>_0x2b7247?_0x2b7247['status']:Be[_0x4561c1(0x1bf)]),$[_0x4561c1(0x2de)](0x1))),A(this,_0x4561c1(0x192),!0x1),A(this,_0x4561c1(0x15d),[]),(this['unitID']=_0x280516,this[_0x4561c1(0x2ea)]=_0x37126c,this[_0x4561c1(0x1e5)]=_0x5b424d,this['_injector']=_0x3f98ea,this[_0x4561c1(0xd1)]=_0x4eb320,this[_0x4561c1(0x3bc)]=_0x58a6c5,this[_0x4561c1(0x172)]=_0x4bbe62,this['_eventService']=_0xd04c28,this[_0x4561c1(0x41f)]=_0x16de0a,this[_0x4561c1(0xd0)]=_0x122570,this[_0x4561c1(0x13e)]=_0x3f17b7,this[_0x4561c1(0x226)]=_0x263977,this[_0x4561c1(0x3fb)]=_0x5276b0);}get[_0x5c6280(0x3e7)](){var _0x2a6ca2=_0x5c6280;return this[_0x2a6ca2(0x296)];}async[_0x5c6280(0x1a3)](){var _0x4833d2=_0x5c6280;if(this[_0x4833d2(0x3e7)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this['_init']();}[_0x5c6280(0xfd)](){var _0x23fdf0=_0x5c6280;return this[_0x23fdf0(0x415)]=!0x0,a[_0x23fdf0(0x36f)](()=>{var _0x4dc4bc=_0x23fdf0;this[_0x4dc4bc(0x415)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x5c6280(0x201)](_0x20478c){var _0x12e0df=_0x5c6280;this[_0x12e0df(0x276)](_0x20478c);}[_0x5c6280(0x2ba)](_0x261170){var _0xb0a575=_0x5c6280;this[_0xb0a575(0x296)]=_0x261170,this[_0xb0a575(0x3db)]['next'](_0x261170);}async['_init'](){var _0x47f56b=_0x5c6280,_0x10957a;this['_updateState'](await this[_0x47f56b(0x323)]()),this['_singleActiveUnitService']&&((_0x10957a=this['_singleActiveUnitService'])==null||_0x10957a[_0x47f56b(0x36b)](this[_0x47f56b(0x34a)]),this[_0x47f56b(0x3cc)](this[_0x47f56b(0x226)][_0x47f56b(0x175)](this['unitID'])[_0x47f56b(0x2f9)](_0x5122f6=>{var _0x5a79c3=_0x47f56b;this[_0x5a79c3(0x41f)][_0x5a79c3(0x3c7)](_0x5a79c3(0x21a),_0x5a79c3(0x2f7),_0x5122f6),_0x5122f6===je[_0x5a79c3(0x20b)]?(this['_eventService'][_0x5a79c3(0x3df)]({'id':Z[_0x5a79c3(0xbe)]}),this[_0x5a79c3(0x13e)]['updatePermissionPoint'](new X[(_0x5a79c3(0x138))](this['unitID'])['id'],!0x1),this[_0x5a79c3(0x13e)][_0x5a79c3(0x3c3)](!0x1)):(this['_permissionService']['updatePermissionPoint'](new X[(_0x5a79c3(0x138))](this[_0x5a79c3(0x34a)])['id'],!0x0),this['_permissionService'][_0x5a79c3(0x3c3)](!0x0));})));let _0x5379fc=!0x1;return this[_0x47f56b(0x3cc)](this[_0x47f56b(0x2ea)]['sessionStatus$'][_0x47f56b(0x2f9)](_0x5c1c0b=>{var _0x6e0d16=_0x47f56b;_0x5c1c0b===re[_0x6e0d16(0x3fd)]?this[_0x6e0d16(0x106)](_0x5379fc):_0x5c1c0b===re[_0x6e0d16(0x1bf)]&&(_0x5379fc=!0x0,this[_0x6e0d16(0x1cc)]());})),this[_0x47f56b(0x3cc)](this[_0x47f56b(0x2ea)][_0x47f56b(0x2f0)]['subscribe'](_0x526e75=>{var _0x5ac40f=_0x47f56b;try{switch(_0x526e75[_0x5ac40f(0x417)]){case I[_0x5ac40f(0x379)][_0x5ac40f(0x1de)]:{this[_0x5ac40f(0x237)](I['parseProtocolChangeset'](_0x526e75[_0x5ac40f(0x3a0)]));break;}case I[_0x5ac40f(0x379)][_0x5ac40f(0xb7)]:{this[_0x5ac40f(0x2f1)](_0x526e75[_0x5ac40f(0x3a0)]);break;}case I[_0x5ac40f(0x379)][_0x5ac40f(0x2d6)]:{this[_0x5ac40f(0x3d5)]();break;}case I[_0x5ac40f(0x379)][_0x5ac40f(0xda)]:{this[_0x5ac40f(0xcd)](_0x526e75[_0x5ac40f(0x3a0)]);break;}case I[_0x5ac40f(0x379)]['PSEUDO_FETCH_MISSING_RESULT']:{this['_onFetchMissResult'](_0x526e75[_0x5ac40f(0x3a0)][_0x5ac40f(0x247)][_0x5ac40f(0x2ad)](_0x4862d2=>I['parseProtocolChangeset'](_0x4862d2)));break;}case I[_0x5ac40f(0x379)][_0x5ac40f(0x169)]:{this[_0x5ac40f(0x3d5)]({'isPermissionRej':!0x0});break;}case I[_0x5ac40f(0x379)][_0x5ac40f(0x1cd)]:break;}}catch(_0x5852a9){throw console[_0x5ac40f(0x348)]('Error\x20on\x20receiving\x20event',_0x5852a9),_0x5852a9;}})),this['_state'];}[_0x5c6280(0x2fa)](){var _0x486886=_0x5c6280;this[_0x486886(0x192)]=!0x1;}['_lockTransition'](){var _0x579612=_0x5c6280;if(this[_0x579612(0x192)])throw new Error(_0x579612(0x211));this[_0x579612(0x192)]=!0x0;}[_0x5c6280(0x276)](_0x4db349){var _0x504671=_0x5c6280;this[_0x504671(0xeb)](),this[_0x504671(0x2ba)](this[_0x504671(0x296)][_0x504671(0x353)](_0x4db349)),this[_0x504671(0x2fa)]();}[_0x5c6280(0x237)](_0x3ce3c4){var _0x583cc5=_0x5c6280;if(!(_0x3ce3c4[_0x583cc5(0x2a2)]<=this[_0x583cc5(0x172)]['getCurrentRevOfUnit'](this[_0x583cc5(0x34a)]))){if(this[_0x583cc5(0x415)]){this[_0x583cc5(0x15d)][_0x583cc5(0x1c7)](_0x3ce3c4);return;}this['_applyRemoteChangeset'](_0x3ce3c4);}}['_exhaustRemoteChangesetQueue'](){var _0x16c1db=_0x5c6280;this[_0x16c1db(0x15d)][_0x16c1db(0x3a8)](_0x418f00=>this[_0x16c1db(0x157)](_0x418f00)),this[_0x16c1db(0x15d)]=[];}[_0x5c6280(0x157)](_0xf0fe2b){var _0x31c48e=_0x5c6280;const _0x4b04f7=this['_compressMutationService']['interceptor'][_0x31c48e(0x39a)](this['_compressMutationService']['interceptor'][_0x31c48e(0x1d2)]()[_0x31c48e(0x2cc)])(_0xf0fe2b['mutations'],null)||_0xf0fe2b['mutations'],_0x1beab8={..._0xf0fe2b,'mutations':_0x4b04f7};this[_0x31c48e(0xeb)](),this['_updateState'](this[_0x31c48e(0x296)][_0x31c48e(0x418)](_0x1beab8)),this[_0x31c48e(0x2fa)]();}['_onRemoteACK'](_0x340c35){var _0x2b4276=_0x5c6280;this['_lockTransition'](),this[_0x2b4276(0x2ba)](this[_0x2b4276(0x296)][_0x2b4276(0x2bd)](_0x340c35)),this['_unlockTransition']();}[_0x5c6280(0x3d5)](_0x518224){var _0xd8e0b5=_0x5c6280;this[_0xd8e0b5(0xeb)](),this[_0xd8e0b5(0x2ba)](this[_0xd8e0b5(0x296)][_0xd8e0b5(0x11c)](_0x518224)),this[_0xd8e0b5(0x2fa)]();}[_0x5c6280(0xcd)](_0x271838){var _0x493afd=_0x5c6280;this[_0x493afd(0xeb)](),this[_0x493afd(0x2ba)](this[_0x493afd(0x296)]['onRemoteRetry'](_0x271838)),this[_0x493afd(0x2fa)]();}[_0x5c6280(0x2b1)](_0x424ea7){var _0x28b97e=_0x5c6280;if(!(this[_0x28b97e(0x296)]instanceof exports[_0x28b97e(0x167)]))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x324c9a=_0x424ea7['map'](_0x43ee56=>{var _0x50aab7=_0x28b97e;const _0x2f21e9=this[_0x50aab7(0xd1)][_0x50aab7(0x396)]['fetchThroughInterceptors'](this[_0x50aab7(0xd1)][_0x50aab7(0x396)]['getInterceptPoints']()[_0x50aab7(0x2cc)])(_0x43ee56[_0x50aab7(0x2c0)],null)||_0x43ee56[_0x50aab7(0x2c0)];return{..._0x43ee56,'mutations':_0x2f21e9};});this[_0x28b97e(0xeb)](),this['_updateState'](this[_0x28b97e(0x296)][_0x28b97e(0x314)](_0x324c9a)),this['_unlockTransition']();}[_0x5c6280(0x1cc)](){var _0x6a0245=_0x5c6280;this[_0x6a0245(0xeb)](),this[_0x6a0245(0x2ba)](this[_0x6a0245(0x296)][_0x6a0245(0x332)]()),this[_0x6a0245(0x2fa)]();}[_0x5c6280(0x106)](_0x2a8a55=!0x1){var _0x3d1dcb=_0x5c6280;this['_lockTransition'](),this[_0x3d1dcb(0x2ba)](this[_0x3d1dcb(0x296)][_0x3d1dcb(0x365)]()),this[_0x3d1dcb(0x2fa)]();const _0x1b1c23=this[_0x3d1dcb(0x296)];_0x2a8a55&&_0x1b1c23 instanceof exports[_0x3d1dcb(0x327)]&&(this[_0x3d1dcb(0xeb)](),this[_0x3d1dcb(0x2ba)](_0x1b1c23['fetchMiss']()),this['_unlockTransition']());}async['_createInitialState'](){return new Promise(_0x2108b3=>{var _0x11df56=_0x816a;this['session']['sessionStatus$'][_0x11df56(0x251)]($[_0x11df56(0x37e)](0x1))[_0x11df56(0x2f9)](async _0x55ecc6=>{var _0xd9f1b7=_0x11df56;_0x2108b3(await this[_0xd9f1b7(0xbf)](_0x55ecc6===re[_0xd9f1b7(0x3fd)]));});});}[_0x5c6280(0x1a9)](){const _0x3c2153=this['unitID'];return{'onStateChange':(_0x541e3b,_0x2d187b)=>{var _0x2a4ebb=_0x816a;if(_0x541e3b!==this[_0x2a4ebb(0x296)])throw new Error(_0x2a4ebb(0xd8)+_0x541e3b[_0x2a4ebb(0x358)]+_0x2a4ebb(0x121)+_0x2d187b[_0x2a4ebb(0x358)]+'\x0aCurrent:\x20'+this['_state'][_0x2a4ebb(0x358)]);this[_0x2a4ebb(0x2ba)](_0x2d187b);},'onSendChangeset':_0x1b336a=>{var _0x780beb=_0x816a;_0x1b336a[_0x780beb(0x2b7)]||(_0x1b336a[_0x780beb(0x2b7)]=this[_0x780beb(0x140)],_0x1b336a['reqId']=++this[_0x780beb(0x2d7)]);const _0x515a02={'eventID':I[_0x780beb(0x379)]['SUBMIT_CHANGESET'],'data':{'unitID':_0x1b336a['unitID'],'unitType':this[_0x780beb(0x1e5)],'changeset':_0x1b336a,'memberID':this[_0x780beb(0x2ea)][_0x780beb(0x1aa)]()}};this['session'][_0x780beb(0x31d)](_0x515a02,this[_0x780beb(0x34a)]);},'onMissingChangesets':({from:_0x1257b9,to:_0x471835})=>{var _0x2bcd3e=_0x816a;this['_logService']['debug'](_0x2bcd3e(0x21a),'fetching\x20missing\x20changesets\x20from\x20'+_0x1257b9+'\x20to\x20'+_0x471835);const _0x4625a5={'eventID':I[_0x2bcd3e(0x379)]['FETCH_MISSING'],'data':{'unitID':_0x3c2153,'unitType':this['_type'],'from':_0x1257b9,'to':_0x471835}};this[_0x2bcd3e(0x2ea)][_0x2bcd3e(0x31d)](_0x4625a5,this[_0x2bcd3e(0x34a)]);}};}async[_0x5c6280(0xbf)](_0x26b447){var _0x9d5368=_0x5c6280,_0x4f5e60,_0x300aaf,_0x5350fc;const _0x578e42=await((_0x4f5e60=this[_0x9d5368(0x3fb)])==null?void 0x0:_0x4f5e60[_0x9d5368(0x3f9)](this[_0x9d5368(0x34a)])),_0x25d004=(_0x300aaf=_0x578e42==null?void 0x0:_0x578e42[_0x9d5368(0x2c0)])!=null?_0x300aaf:[],_0x6e0f40=(_0x5350fc=_0x578e42==null?void 0x0:_0x578e42[_0x9d5368(0x408)])!=null?_0x5350fc:null,_0x3b248f=!!(_0x6e0f40!=null&&_0x6e0f40[_0x9d5368(0x2b7)])&&!!(_0x6e0f40!=null&&_0x6e0f40[_0x9d5368(0x310)]);this[_0x9d5368(0x140)]=_0x3b248f?_0x6e0f40[_0x9d5368(0x2b7)]:I[_0x9d5368(0x34d)](),this[_0x9d5368(0x2d7)]=_0x3b248f?_0x6e0f40[_0x9d5368(0x310)]:0x0;const _0x569ddf=this['unitID'];try{this[_0x9d5368(0x3d7)](_0x6e0f40,_0x25d004);}catch(_0x534c35){this[_0x9d5368(0x41f)][_0x9d5368(0x348)](_0x534c35);}const _0x50356c=this[_0x9d5368(0x1a9)]();if(_0x26b447){const _0x22634c=Ot(this['_injector'],_0x569ddf,this[_0x9d5368(0x1e5)],_0x6e0f40,_0x25d004,_0x50356c);return _0x22634c instanceof exports[_0x9d5368(0x292)]?_0x22634c[_0x9d5368(0x2e5)]():(_0x22634c instanceof exports[_0x9d5368(0x207)]||_0x22634c instanceof exports[_0x9d5368(0x123)])&&_0x22634c['resend'](),_0x22634c;}return this['_injector'][_0x9d5368(0x2c7)](exports[_0x9d5368(0x1b4)],_0x569ddf,this[_0x9d5368(0x1e5)],_0x6e0f40,_0x25d004,_0x50356c);}['_replayCachedMutations'](_0x2217eb,_0xcfb226){var _0x550af6=_0x5c6280,_0x17ccd3,_0x59e90f;const _0x40e7b0=this[_0x550af6(0xd1)]['interceptor'][_0x550af6(0x39a)](this[_0x550af6(0xd1)][_0x550af6(0x396)][_0x550af6(0x1d2)]()['COMPRESS_MUTATION_APPLY']);(_0x17ccd3=_0x40e7b0((_0x2217eb==null?void 0x0:_0x2217eb[_0x550af6(0x2c0)])||[],null))==null||_0x17ccd3[_0x550af6(0x3a8)](_0x565616=>this[_0x550af6(0xd0)]['executeCommand'](_0x565616['id'],_0x565616[_0x550af6(0x12b)])),(_0x59e90f=_0x40e7b0(_0xcfb226||[],null))==null||_0x59e90f[_0x550af6(0x3a8)](_0x2200ab=>this[_0x550af6(0xd0)][_0x550af6(0x37c)](_0x2200ab['id'],_0x2200ab['params']));}},exports[_0x5c6280(0x1af)]=Fe([j(0x3,a[_0x5c6280(0x273)](a[_0x5c6280(0x268)])),j(0x4,a[_0x5c6280(0x273)](I[_0x5c6280(0x2af)])),j(0x5,a['Inject'](a[_0x5c6280(0x355)])),j(0x6,a[_0x5c6280(0x273)](I[_0x5c6280(0x25b)])),j(0x7,a[_0x5c6280(0x273)](ee)),j(0x8,a['ILogService']),j(0x9,a['ICommandService']),j(0xa,a[_0x5c6280(0x200)]),j(0xb,a[_0x5c6280(0x1d5)](de)),j(0xc,a[_0x5c6280(0x1d5)](q))],exports[_0x5c6280(0x1af)]),exports[_0x5c6280(0xc5)]=class extends exports[_0x5c6280(0x1af)]{constructor(_0xea80b2,_0x5b2411,_0x4df73d,_0x585a00,_0x2b85e9,_0x4a21b9,_0x991146,_0x277ff8,_0x1921fa,_0x237adb,_0x14215a,_0x770fd3,_0x29d0cc){var _0x3a0449=_0x5c6280;super(_0xea80b2,_0x4df73d,_0x5b2411,_0x585a00,_0x2b85e9,_0x4a21b9,_0x991146,_0x277ff8,_0x1921fa,_0x237adb,_0x14215a,_0x770fd3,_0x29d0cc),A(this,_0x3a0449(0xf4),null),(this[_0x3a0449(0x34a)]=_0xea80b2,this['type']=_0x5b2411);}['addHandlerCallback'](_0x54d5c6){this['_handlerCallback']=_0x54d5c6;}[_0x5c6280(0x3d1)](){var _0x2ec886=_0x5c6280;this[_0x2ec886(0xf4)]=null,super[_0x2ec886(0x3d1)]();}[_0x5c6280(0x1a9)](){var _0x5d568e=_0x5c6280;const _0x47e710=super[_0x5d568e(0x1a9)]();return _0x47e710[_0x5d568e(0x3dd)]=_0x52bf3b=>{var _0x124d37=_0x5d568e,_0x16e1e3,_0x16cd2c;return(_0x16cd2c=(_0x16e1e3=this[_0x124d37(0xf4)])==null?void 0x0:_0x16e1e3['onTransformIME'])==null?void 0x0:_0x16cd2c['call'](_0x16e1e3,_0x52bf3b);},_0x47e710[_0x5d568e(0x17e)]=_0x1d3a94=>{var _0x469e98=_0x5d568e,_0x9d5da5,_0x2eb942;return(_0x2eb942=(_0x9d5da5=this[_0x469e98(0xf4)])==null?void 0x0:_0x9d5da5[_0x469e98(0x17e)])==null?void 0x0:_0x2eb942[_0x469e98(0x25e)](_0x9d5da5,_0x1d3a94);},_0x47e710[_0x5d568e(0x3d3)]=_0x5498e5=>{var _0x198810=_0x5d568e,_0x4efc9d,_0x17ac94;return(_0x17ac94=(_0x4efc9d=this[_0x198810(0xf4)])==null?void 0x0:_0x4efc9d[_0x198810(0x3d3)])==null?void 0x0:_0x17ac94['call'](_0x4efc9d,_0x5498e5);},_0x47e710['onSyncEditingCollabCursor']=_0x1cd788=>{var _0x3fa9c4=_0x5d568e,_0x449dda,_0x33c214;return(_0x33c214=(_0x449dda=this[_0x3fa9c4(0xf4)])==null?void 0x0:_0x449dda[_0x3fa9c4(0x3af)])==null?void 0x0:_0x33c214[_0x3fa9c4(0x25e)](_0x449dda,_0x1cd788);},_0x47e710['onTransformRemoteChangesetByIMECache']=_0x2edcfa=>{var _0x4befc3=_0x5d568e,_0x259595,_0x522432,_0x2af747;if(!((_0x259595=this['_handlerCallback'])!=null&&_0x259595['onTransformRemoteChangesetByIMECache']))throw new Error(_0x4befc3(0x3ec));return(_0x2af747=(_0x522432=this[_0x4befc3(0xf4)])==null?void 0x0:_0x522432[_0x4befc3(0x199)])==null?void 0x0:_0x2af747['call'](_0x522432,_0x2edcfa);},_0x47e710[_0x5d568e(0x410)]=_0x4162c3=>{var _0x58bb38=_0x5d568e,_0x4927ee,_0xda7df1,_0x446975;if(!((_0x4927ee=this[_0x58bb38(0xf4)])!=null&&_0x4927ee[_0x58bb38(0x410)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x446975=(_0xda7df1=this[_0x58bb38(0xf4)])==null?void 0x0:_0xda7df1[_0x58bb38(0x410)])==null?void 0x0:_0x446975[_0x58bb38(0x25e)](_0xda7df1,_0x4162c3);},_0x47e710;}async[_0x5c6280(0x31e)](){var _0x192c9a=_0x5c6280;const _0x5406fb=await super[_0x192c9a(0x31e)]();return this[_0x192c9a(0x3cc)](this[_0x192c9a(0xd0)][_0x192c9a(0x26c)]((_0x304450,_0x144d67)=>{var _0x104b97=_0x192c9a;if(_0x304450[_0x104b97(0x11a)]!==a[_0x104b97(0x3b7)][_0x104b97(0x16a)]||_0x144d67!=null&&_0x144d67[_0x104b97(0x2ef)]||_0x144d67!=null&&_0x144d67[_0x104b97(0x291)]||_0x304450['id']===ht['RichTextEditingMutation']['id'])return;const _0x30360f=_0x304450[_0x104b97(0x12b)];if((_0x30360f==null?void 0x0:_0x30360f[_0x104b97(0x1a8)])!==this[_0x104b97(0x34a)])return;const _0x1558b0=_0x304450,_0x5528f5=this[_0x104b97(0xd1)][_0x104b97(0x396)]['fetchThroughInterceptors'](this[_0x104b97(0xd1)][_0x104b97(0x396)][_0x104b97(0x1d2)]()[_0x104b97(0x2c8)])([_0x1558b0],null)||[_0x1558b0];this[_0x104b97(0x276)](_0x5528f5[0x0]);})),_0x5406fb;}},exports[_0x5c6280(0xc5)]=Fe([j(0x3,a[_0x5c6280(0x273)](a['Injector'])),j(0x4,a['Inject'](I[_0x5c6280(0x2af)])),j(0x5,a['Inject'](a[_0x5c6280(0x355)])),j(0x6,a[_0x5c6280(0x273)](I[_0x5c6280(0x25b)])),j(0x7,a[_0x5c6280(0x273)](ee)),j(0x8,a[_0x5c6280(0x126)]),j(0x9,a[_0x5c6280(0x30b)]),j(0xa,a[_0x5c6280(0x200)]),j(0xb,a['Optional'](de)),j(0xc,a[_0x5c6280(0x1d5)](q))],exports[_0x5c6280(0xc5)]),exports[_0x5c6280(0x2e9)]=class extends exports['CollaborationEntity']{constructor(_0x3a8bd3,_0x139abd,_0x1dc2b1,_0x19b43d,_0x342ad6,_0x49eded,_0x52fd46,_0x1ee078,_0x34dfe6,_0x398384,_0x53fb27,_0x3b8d3c,_0x285c09,_0x4cef6c){var _0x4b6b2f=_0x5c6280;super(_0x3a8bd3,_0x1dc2b1,_0x139abd,_0x19b43d,_0x342ad6,_0x49eded,_0x52fd46,_0x34dfe6,_0x398384,_0x53fb27,_0x3b8d3c,_0x285c09,_0x4cef6c),this[_0x4b6b2f(0x34a)]=_0x3a8bd3,this[_0x4b6b2f(0x11a)]=_0x139abd,this[_0x4b6b2f(0x3f7)]=_0x1ee078;}[_0x5c6280(0x1a9)](){var _0x2dc8cb=_0x5c6280;const _0x41382e=super['_createHandler']();return _0x41382e[_0x2dc8cb(0x3d3)]=_0x152285=>this[_0x2dc8cb(0x3f7)][_0x2dc8cb(0x112)](_0x152285),_0x41382e;}async['_init'](){var _0x405826=_0x5c6280;const _0x3a2b69=await super[_0x405826(0x31e)]();return this[_0x405826(0x3cc)](this[_0x405826(0xd0)]['onCommandExecuted']((_0x1dce29,_0x10597b)=>{var _0x5c0e50=_0x405826;if(_0x1dce29[_0x5c0e50(0x11a)]!==a[_0x5c0e50(0x3b7)][_0x5c0e50(0x16a)]||_0x10597b!=null&&_0x10597b['fromCollab']||_0x10597b!=null&&_0x10597b[_0x5c0e50(0x291)])return;const _0x208958=_0x1dce29[_0x5c0e50(0x12b)];if((_0x208958==null?void 0x0:_0x208958[_0x5c0e50(0x1a8)])!==this[_0x5c0e50(0x34a)])return;const _0x1fdd39=_0x1dce29,_0x3f2323=this[_0x5c0e50(0xd1)]['interceptor'][_0x5c0e50(0x39a)](this['_compressMutationService'][_0x5c0e50(0x396)][_0x5c0e50(0x1d2)]()[_0x5c0e50(0x2c8)])([_0x1fdd39],null)||[_0x1fdd39];this[_0x5c0e50(0x276)](_0x3f2323[0x0]);})),_0x3a2b69;}},exports[_0x5c6280(0x2e9)]=Fe([j(0x3,a[_0x5c6280(0x273)](a['Injector'])),j(0x4,a[_0x5c6280(0x273)](I[_0x5c6280(0x2af)])),j(0x5,a[_0x5c6280(0x273)](a[_0x5c6280(0x355)])),j(0x6,a['Inject'](I[_0x5c6280(0x25b)])),j(0x7,a['Inject'](exports['SheetTransformSelectionsService'])),j(0x8,a['Inject'](ee)),j(0x9,a['ILogService']),j(0xa,a[_0x5c6280(0x30b)]),j(0xb,a[_0x5c6280(0x200)]),j(0xc,a[_0x5c6280(0x1d5)](de)),j(0xd,a[_0x5c6280(0x1d5)](q))],exports[_0x5c6280(0x2e9)]);var Si=Object[_0x5c6280(0x241)],fi=(_0x3ef1a2,_0x37701b,_0x8b1d95,_0x481809)=>{var _0x52912d=_0x5c6280;for(var _0x3303ef=_0x481809>0x1?void 0x0:_0x481809?Si(_0x37701b,_0x8b1d95):_0x37701b,_0xc3028d=_0x3ef1a2[_0x52912d(0x19f)]-0x1,_0x319c41;_0xc3028d>=0x0;_0xc3028d--)(_0x319c41=_0x3ef1a2[_0xc3028d])&&(_0x3303ef=_0x319c41(_0x3303ef)||_0x3303ef);return _0x3303ef;},Se=(_0xa03bb3,_0x2a13de)=>(_0x2127cb,_0x39b191)=>_0x2a13de(_0x2127cb,_0x39b191,_0xa03bb3);exports[_0x5c6280(0x3de)]=class extends a[_0x5c6280(0x285)]{constructor(_0x46f81c,_0x47b2c2,_0x2b7e64,_0x3a084c){var _0x40443d=_0x5c6280,_0x43a83c;super(),A(this,_0x40443d(0xf7),new Map()),A(this,_0x40443d(0x2d2),new $[(_0x40443d(0x3fc))]()),A(this,'entityInit$',this['_entityInit$'][_0x40443d(0x1c1)]()),(this[_0x40443d(0x347)]=_0x46f81c,this[_0x40443d(0x14f)]=_0x47b2c2,this['_configService']=_0x2b7e64,this[_0x40443d(0x150)]=_0x3a084c,((_0x43a83c=this['_configService'][_0x40443d(0x3ff)](K))==null?void 0x0:_0x43a83c['enableCollaboration'])!==!0x1&&this[_0x40443d(0x31e)]());}[_0x5c6280(0x3d1)](){var _0x2b05d0=_0x5c6280;super[_0x2b05d0(0x3d1)](),this['_entities'][_0x2b05d0(0x3a8)](_0x19816d=>_0x19816d[_0x2b05d0(0x3d1)]()),this[_0x2b05d0(0xf7)][_0x2b05d0(0x33c)]();}['getCollabEntity'](_0x1e3d72){var _0x377eaa=_0x5c6280,_0x1dac08;return(_0x1dac08=this[_0x377eaa(0xf7)][_0x377eaa(0x3a7)](_0x1e3d72))!=null?_0x1dac08:null;}['getCollabEntity$'](_0x2bec02){var _0x2499ff=_0x5c6280;const _0x3b0a0c=this[_0x2499ff(0x20d)](_0x2bec02);return _0x3b0a0c?$['of'](_0x3b0a0c):this[_0x2499ff(0x2d2)][_0x2499ff(0x251)](V['filter'](_0x53228b=>_0x53228b[_0x2499ff(0x34a)]===_0x2bec02));}[_0x5c6280(0xf0)](_0x47e428){var _0x974389=_0x5c6280;return $['firstValueFrom'](this[_0x974389(0x40d)](_0x47e428)[_0x974389(0x251)](V[_0x974389(0x2ad)](()=>{})));}[_0x5c6280(0x31e)](){var _0x39cbdd=_0x5c6280;this[_0x39cbdd(0x150)][_0x39cbdd(0xf5)](a[_0x39cbdd(0x217)]['UNIVER_SHEET'])[_0x39cbdd(0x251)]($['takeUntil'](this[_0x39cbdd(0x3a1)]),V[_0x39cbdd(0x2d8)](0x10))[_0x39cbdd(0x2f9)](async _0x1dda2e=>{var _0x11bf61=_0x39cbdd;const _0x5d749b=_0x1dda2e[_0x11bf61(0x1c3)](),_0x2df466=await this[_0x11bf61(0x1d8)](_0x5d749b,J[_0x11bf61(0x372)]);this['_entities'][_0x11bf61(0x2e6)](_0x5d749b,_0x2df466);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](a['UniverInstanceType'][_0x39cbdd(0x1dd)])[_0x39cbdd(0x251)]($['takeUntil'](this['dispose$']),V[_0x39cbdd(0x2d8)](0x10))[_0x39cbdd(0x251)](V[_0x39cbdd(0x23e)](_0x20434c=>!_0x20434c[_0x39cbdd(0x1c3)]()[_0x39cbdd(0x1d7)]('__')))['subscribe'](async _0xc7f13e=>{var _0x3122e4=_0x39cbdd;const _0xc2b173=_0xc7f13e[_0x3122e4(0x1c3)](),_0xe13809=await this[_0x3122e4(0x1d8)](_0xc2b173,J['UNIVER_DOC']);this[_0x3122e4(0xf7)][_0x3122e4(0x2e6)](_0xc2b173,_0xe13809);}),$[_0x39cbdd(0xc4)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](a[_0x39cbdd(0x217)][_0x39cbdd(0x372)]),this[_0x39cbdd(0x150)]['getTypeOfUnitDisposed$'](a[_0x39cbdd(0x217)][_0x39cbdd(0x1dd)]))[_0x39cbdd(0x251)]($[_0x39cbdd(0xa7)](this[_0x39cbdd(0x3a1)]))[_0x39cbdd(0x2f9)](_0x11b0d3=>{var _0xc77650=_0x39cbdd;const _0x48a565=_0x11b0d3[_0xc77650(0x1c3)](),_0x8a541f=this[_0xc77650(0xf7)]['get'](_0x48a565);_0x8a541f&&(_0x8a541f[_0xc77650(0x3d1)](),this[_0xc77650(0xf7)][_0xc77650(0x354)](_0x48a565));});}async[_0x5c6280(0x1d8)](_0x45230e,_0x9a0433){var _0x1c564a=_0x5c6280;const _0x342d10=await this[_0x1c564a(0x14f)]['requireSession'](_0x45230e),_0x2a417b=this[_0x1c564a(0x347)][_0x1c564a(0x2c7)](this[_0x1c564a(0x368)](_0x9a0433),_0x45230e,_0x9a0433,_0x342d10);return await _0x2a417b[_0x1c564a(0x1a3)](),this[_0x1c564a(0x2d2)][_0x1c564a(0x134)](_0x2a417b),_0x2a417b;}['_getCtorByUniverType'](_0x49026f){var _0x52e9c1=_0x5c6280;switch(_0x49026f){case J[_0x52e9c1(0x1dd)]:return exports[_0x52e9c1(0xc5)];case J['UNIVER_SHEET']:return exports[_0x52e9c1(0x2e9)];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x49026f);}}},exports['CollaborationController']=fi([Se(0x0,a[_0x5c6280(0x273)](a[_0x5c6280(0x268)])),Se(0x1,a[_0x5c6280(0x273)](exports['CollaborationSessionService'])),Se(0x2,a[_0x5c6280(0x286)]),Se(0x3,a['IUniverInstanceService'])],exports['CollaborationController']);var pi=Object[_0x5c6280(0x241)],Ii=(_0x4e0436,_0x2afed4,_0x3eee83,_0x56c700)=>{var _0x368389=_0x5c6280;for(var _0xa885fd=_0x56c700>0x1?void 0x0:_0x56c700?pi(_0x2afed4,_0x3eee83):_0x2afed4,_0x5aa4d9=_0x4e0436[_0x368389(0x19f)]-0x1,_0x3523c6;_0x5aa4d9>=0x0;_0x5aa4d9--)(_0x3523c6=_0x4e0436[_0x5aa4d9])&&(_0xa885fd=_0x3523c6(_0xa885fd)||_0xa885fd);return _0xa885fd;},Ye=(_0x572b70,_0x7f1659)=>(_0x3aa799,_0x41ccc1)=>_0x7f1659(_0x3aa799,_0x41ccc1,_0x572b70);const gi=_0x5c6280(0x305),Ei=_0x5c6280(0x19d);let xe=class extends a[_0x5c6280(0x3b0)]{constructor(_0xfc18a6,_0x2ceb81){var _0x3b121e=_0x5c6280;super(),this[_0x3b121e(0x150)]=_0xfc18a6,this[_0x3b121e(0x145)]=_0x2ceb81,this[_0x3b121e(0x31e)]();}[_0x5c6280(0x31e)](){var _0x3bc509=_0x5c6280;this[_0x3bc509(0x3cc)](this[_0x3bc509(0x150)][_0x3bc509(0x1da)][_0x3bc509(0x2f9)](()=>{var _0x231dae=_0x3bc509,_0x65df42;const _0xa20488=this[_0x231dae(0x150)]['getFocusedUnit']();let _0xada2a0=(_0x65df42=this[_0x231dae(0x145)]['getConfig'](gi))!=null?_0x65df42:Ei;_0xa20488 instanceof a[_0x231dae(0x3ac)]&&(_0xada2a0=_0xa20488[_0x231dae(0xac)]),document[_0x231dae(0x23a)]=_0xada2a0;}));}};xe=Ii([Ye(0x0,a[_0x5c6280(0x183)]),Ye(0x1,a['IConfigService'])],xe);var mi=Object[_0x5c6280(0x241)],Ci=(_0x124f7c,_0x404e1b,_0xd3c51e,_0x4ad44f)=>{var _0x20cc94=_0x5c6280;for(var _0x3502d4=_0x4ad44f>0x1?void 0x0:_0x4ad44f?mi(_0x404e1b,_0xd3c51e):_0x404e1b,_0x3fbf7b=_0x124f7c[_0x20cc94(0x19f)]-0x1,_0x13cdf6;_0x3fbf7b>=0x0;_0x3fbf7b--)(_0x13cdf6=_0x124f7c[_0x3fbf7b])&&(_0x3502d4=_0x13cdf6(_0x3502d4)||_0x3502d4);return _0x3502d4;},Ae=(_0x557078,_0xd0308a)=>(_0x5d1da7,_0x49b0df)=>_0xd0308a(_0x5d1da7,_0x49b0df,_0x557078);let ye=class{constructor(_0x4effd7,_0x4cb66d,_0x146fa8){var _0xb72d91=_0x5c6280;this['_configService']=_0x4effd7,this[_0xb72d91(0x236)]=_0x4cb66d,this[_0xb72d91(0x3f0)]=_0x146fa8,this['init']();}[_0x5c6280(0x1a3)](){var _0x2d4992=_0x5c6280;this[_0x2d4992(0x236)][_0x2d4992(0x16e)]({'priority':0x1,'interceptor':(_0x53f1db,_0x37197d)=>_0x37197d(_0x53f1db)['pipe']($[_0x2d4992(0x188)](async _0xef520=>{var _0x3db2ed=_0x2d4992;const _0x34dea8=_0xef520;if(_0x34dea8[_0x3db2ed(0x358)]===0x191){if(typeof window>'u')throw new Error(_0x3db2ed(0x255));if(window[_0x3db2ed(0x374)](this['localeService']['t'](_0x3db2ed(0x15b)))){const _0x243634=window[_0x3db2ed(0xe2)](window[_0x3db2ed(0x1f2)]['href']);window['location'][_0x3db2ed(0xbb)]=this[_0x3db2ed(0x2dc)]()+_0x3db2ed(0x174)+_0x243634;}}return _0x34dea8;}))});}['_getLoginPath'](){var _0x4b3794=_0x5c6280,_0x3983cb,_0x50a2e3;const _0x190438=this[_0x4b3794(0x145)][_0x4b3794(0x3ff)](It),_0x343d46=this[_0x4b3794(0x145)][_0x4b3794(0x3ff)](K);return(_0x50a2e3=(_0x3983cb=_0x343d46==null?void 0x0:_0x343d46[_0x4b3794(0x38f)])!=null?_0x3983cb:_0x190438)!=null?_0x50a2e3:Wt;}};ye=Ci([Ae(0x0,a[_0x5c6280(0x286)]),Ae(0x1,a[_0x5c6280(0x273)](Y[_0x5c6280(0x41e)])),Ae(0x2,a[_0x5c6280(0x273)](a['LocaleService']))],ye);var Ti=Object['getOwnPropertyDescriptor'],bi=(_0xdf66c,_0x3e528f,_0x59fe63,_0x1ebe6a)=>{var _0x342b57=_0x5c6280;for(var _0x106f7b=_0x1ebe6a>0x1?void 0x0:_0x1ebe6a?Ti(_0x3e528f,_0x59fe63):_0x3e528f,_0x4caf83=_0xdf66c[_0x342b57(0x19f)]-0x1,_0x28ebfc;_0x4caf83>=0x0;_0x4caf83--)(_0x28ebfc=_0xdf66c[_0x4caf83])&&(_0x106f7b=_0x28ebfc(_0x106f7b)||_0x106f7b);return _0x106f7b;},qe=(_0x532a6f,_0x30531d)=>(_0x205b7f,_0x10718e)=>_0x30531d(_0x205b7f,_0x10718e,_0x532a6f);const Ve=_0x5c6280(0x28b),Ri=_0x5c6280(0x23b);exports[_0x5c6280(0x23d)]=class extends a['Disposable']{constructor(_0x2d1768,_0xd9aefa){var _0x20e4c2=_0x5c6280;super(),this['_HTTPService']=_0x2d1768,this[_0x20e4c2(0x145)]=_0xd9aefa,this[_0x20e4c2(0xca)]();}[_0x5c6280(0xca)](){var _0x460ee8=_0x5c6280;const _0x53d6d0=this;this[_0x460ee8(0x3cc)](this[_0x460ee8(0x14a)][_0x460ee8(0x16e)]({'priority':0x3e7,'interceptor':Y[_0x460ee8(0x2a7)]({'isMatch'(_0x4814a2){var _0x54c5be=_0x460ee8,_0x1e47cd;if(_0x4814a2[_0x54c5be(0x144)]===_0x54c5be(0x152)&&((_0x1e47cd=_0x4814a2[_0x54c5be(0x308)])!=null&&_0x1e47cd[_0x54c5be(0x390)])){const {objectID:_0x2b3d4a,objectType:_0x8b2071}=_0x4814a2['requestParams'][_0x54c5be(0x390)]||{};if(!_0x2b3d4a||_0x8b2071===void 0x0)return!0x1;const _0x431568=_0x53d6d0['_getAPIPrefixPath']()+'/'+_0x8b2071+'/object/'+_0x2b3d4a+_0x54c5be(0x32a);if(_0x4814a2[_0x54c5be(0x1be)]===_0x431568)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x28413f){var _0x3cd34d=_0x460ee8,_0x126e1f;return(_0x126e1f=_0x28413f[_0x3cd34d(0x308)])==null?void 0x0:_0x126e1f['body'];},'mergeParamsToRequest'(_0x5ee5db,_0x516bf8){var _0x1ad40d=_0x460ee8;const _0x28daa1=_0x53d6d0[_0x1ad40d(0x11f)]()+'/-/object/-/batch_allowed',_0x53c348=_0x5ee5db[_0x1ad40d(0xe4)]((_0x166013,_0x3ff227)=>{var _0x807909=_0x1ad40d;const {unitID:_0x41c613,objectID:_0xdd94ee,objectType:_0x4c20f6,actions:_0xd790f}=_0x3ff227;return _0x166013[_0x41c613]||(_0x166013[_0x41c613]={}),_0x166013[_0x41c613][_0xdd94ee]||(_0x166013[_0x41c613][_0xdd94ee]={'objectID':_0xdd94ee,'objectType':_0x4c20f6,'actions':[]}),_0x166013[_0x41c613][_0xdd94ee][_0x807909(0x209)][_0x807909(0x1c7)](..._0xd790f),_0x166013;},{}),_0x13fd57=[];for(const _0x14ba5c in _0x53c348)for(const _0x2b26b0 in _0x53c348[_0x14ba5c]){const {actions:_0x39ee30,objectType:_0x112bfe}=_0x53c348[_0x14ba5c][_0x2b26b0],_0x2062a6=[...new Set(_0x39ee30)];_0x13fd57[_0x1ad40d(0x1c7)]({'unitID':_0x14ba5c,'objectID':_0x2b26b0,'objectType':_0x112bfe,'actions':_0x2062a6});}return new Y[(_0x1ad40d(0xc3))]('POST',_0x28daa1,{'headers':_0x516bf8[_0x1ad40d(0x15f)],'withCredentials':_0x516bf8[_0x1ad40d(0x274)],'responseType':_0x516bf8['responseType'],'body':{'requests':_0x13fd57}});}},{'distributeResult'(_0x1f4eee,_0x6334d3){var _0x32d5a4=_0x460ee8;const {objectActions:_0x55fee5}=_0x1f4eee;return _0x6334d3[_0x32d5a4(0x2ad)](_0xf2a7d8=>{var _0x3cb27e=_0x32d5a4;const {unitID:_0x271ac6,objectID:_0x55ca9f,actions:_0x29fd6f}=_0xf2a7d8,_0x44ff05=_0x55fee5[_0x3cb27e(0x13a)](_0x6212f5=>_0x6212f5[_0x3cb27e(0x34a)]===_0x271ac6&&_0x6212f5[_0x3cb27e(0x2e2)]===_0x55ca9f),_0x355961=_0x29fd6f[_0x3cb27e(0x2ad)](_0x56bb7f=>_0x44ff05==null?void 0x0:_0x44ff05[_0x3cb27e(0x209)][_0x3cb27e(0x13a)](_0x552c0a=>_0x552c0a[_0x3cb27e(0xb3)]===_0x56bb7f))[_0x3cb27e(0x23e)](_0x338ecb=>!!_0x338ecb);return{'config':_0xf2a7d8,'result':{'actions':_0x355961,'error':_0x1f4eee['error']}};});}})}));}[_0x5c6280(0x11f)](){var _0x448f00=_0x5c6280,_0x11f4a3,_0x435127;const _0x3c75b3=this[_0x448f00(0x145)][_0x448f00(0x3ff)](Ve),_0x2f4ad7=this['_configService'][_0x448f00(0x3ff)](K);return(_0x435127=(_0x11f4a3=_0x2f4ad7==null?void 0x0:_0x2f4ad7[_0x448f00(0x16c)])!=null?_0x11f4a3:_0x3c75b3)!=null?_0x435127:Ri;}async['create'](_0x1d9079){var _0x30f0b8=_0x5c6280;const _0x34b89f=this[_0x30f0b8(0x11f)]()+'/'+_0x1d9079['objectType']+'/object';return(await this['_HTTPService']['post'](_0x34b89f,{'body':_0x1d9079}))[_0x30f0b8(0x390)]['objectID']||'';}async['list'](_0x25a5df){var _0x418a03=_0x5c6280;const _0x526b87=this[_0x418a03(0x11f)]()+'/-/object/list';return(await this['_HTTPService'][_0x418a03(0x253)](_0x526b87,{'body':_0x25a5df}))['body'][_0x418a03(0x1e2)];}async[_0x5c6280(0x303)](_0x16f5c2){var _0x54c2af=_0x5c6280,_0x348bf3,_0x55fff0;const _0xc1bde6=this[_0x54c2af(0x11f)]()+'/'+_0x16f5c2[_0x54c2af(0x3d4)]+_0x54c2af(0x19c)+_0x16f5c2[_0x54c2af(0x2e2)],_0x3bbbb7=await this[_0x54c2af(0x14a)][_0x54c2af(0x2c3)](_0xc1bde6,{'body':_0x16f5c2});if(((_0x55fff0=(_0x348bf3=_0x3bbbb7==null?void 0x0:_0x3bbbb7[_0x54c2af(0x390)])==null?void 0x0:_0x348bf3[_0x54c2af(0x348)])==null?void 0x0:_0x55fff0[_0x54c2af(0xb4)])!==0x1)throw new Error(_0x54c2af(0x2f3));}async[_0x5c6280(0x187)](_0x364e2f){var _0xbe9965=_0x5c6280;const _0x496a0c=this[_0xbe9965(0x11f)]()+'/'+_0x364e2f['objectType']+_0xbe9965(0x19c)+_0x364e2f[_0xbe9965(0x2e2)]+_0xbe9965(0x32a);return(await this['_HTTPService'][_0xbe9965(0x253)](_0x496a0c,{'body':_0x364e2f}))[_0xbe9965(0x390)]['actions'];}async[_0x5c6280(0x1c2)](_0x486aa6){var _0x2eac7d=_0x5c6280;const _0x48e588=this[_0x2eac7d(0x11f)]()+_0x2eac7d(0x319);return(await this[_0x2eac7d(0x14a)][_0x2eac7d(0x253)](_0x48e588,{'body':{'requests':_0x486aa6}}))[_0x2eac7d(0x390)][_0x2eac7d(0x19e)];}async[_0x5c6280(0x290)](_0x1f2daa){var _0x758d1c=_0x5c6280;const _0x51e861=this[_0x758d1c(0x11f)]()+'/'+_0x1f2daa['objectType']+_0x758d1c(0x300),_0x5389f9=await this[_0x758d1c(0x14a)][_0x758d1c(0x253)](_0x51e861,{'body':_0x1f2daa});return{'roles':_0x5389f9[_0x758d1c(0x390)][_0x758d1c(0xab)],'actions':_0x5389f9[_0x758d1c(0x390)][_0x758d1c(0x209)]};}async['deleteCollaborator'](_0x7966f8){var _0x354e6e=_0x5c6280;const _0x8ecd0a=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x354e6e(0x14a)][_0x354e6e(0x354)](_0x8ecd0a,{'params':{'collaboratorID':_0x7966f8['collaboratorID'],'objectID':_0x7966f8[_0x354e6e(0x2e2)],'unitID':_0x7966f8['unitID']}});}async['updateCollaborator'](_0xca7ed4){var _0x55533a=_0x5c6280;const _0xa74e5=this[_0x55533a(0x11f)]()+_0x55533a(0x1e7);await this[_0x55533a(0x14a)][_0x55533a(0x1cf)](_0xa74e5,{'body':_0xca7ed4});}async[_0x5c6280(0x2c5)](_0x438e86){var _0x153f0a=_0x5c6280;const _0x311f6f=this[_0x153f0a(0x11f)]()+_0x153f0a(0x1e7);await this['_HTTPService'][_0x153f0a(0x253)](_0x311f6f,{'body':_0x438e86});}async[_0x5c6280(0xa5)](_0x488e47){var _0x11214c=_0x5c6280;const _0x3f0e8f=this[_0x11214c(0x11f)]()+'/collaborator';return(await this[_0x11214c(0x14a)]['get'](_0x3f0e8f,{'params':{'objectID':_0x488e47[_0x11214c(0x2e2)],'unitID':_0x488e47['unitID']}}))[_0x11214c(0x390)][_0x11214c(0x2eb)];}async[_0x5c6280(0x214)](_0x546331){var _0x1b4d72=_0x5c6280;const _0x24ff04=this[_0x1b4d72(0x11f)]()+_0x1b4d72(0x1e7);await this['_HTTPService'][_0x1b4d72(0x2c3)](_0x24ff04,{'body':_0x546331});}},exports[_0x5c6280(0x23d)]=bi([qe(0x0,a['Inject'](Y[_0x5c6280(0x41e)])),qe(0x1,a[_0x5c6280(0x273)](a['IConfigService']))],exports['AuthzIoHttpService']);var Pe=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ve(_0x152ab6){var _0x168175=_0x5c6280;return _0x152ab6&&_0x152ab6[_0x168175(0x2bc)]&&Object[_0x168175(0x33b)][_0x168175(0x3f1)][_0x168175(0x25e)](_0x152ab6,_0x168175(0x149))?_0x152ab6['default']:_0x152ab6;}var fe={'exports':{}};function Oi(_0x2b8629){throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x2b8629+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var pe={'exports':{}},yi=pe[_0x5c6280(0x331)],ze;function Q(){var _0x2bb97b=_0x5c6280;return ze||(ze=0x1,function(_0x2df55e,_0x4e58c0){(function(_0x2c749f,_0x360fc2){_0x2df55e['exports']=_0x360fc2();}(yi,function(){var _0x1a270f=_0x1a270f||function(_0x121c68,_0x4c3407){var _0x44f185=_0x816a,_0x2aa3e8;if(typeof window<'u'&&window[_0x44f185(0x316)]&&(_0x2aa3e8=window[_0x44f185(0x316)]),typeof self<'u'&&self['crypto']&&(_0x2aa3e8=self[_0x44f185(0x316)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x2aa3e8=globalThis[_0x44f185(0x316)]),!_0x2aa3e8&&typeof window<'u'&&window['msCrypto']&&(_0x2aa3e8=window[_0x44f185(0xd7)]),!_0x2aa3e8&&typeof Pe<'u'&&Pe[_0x44f185(0x316)]&&(_0x2aa3e8=Pe[_0x44f185(0x316)]),!_0x2aa3e8&&typeof Oi==_0x44f185(0x260))try{_0x2aa3e8=require(_0x44f185(0x316));}catch{}var _0x659b61=function(){var _0x5a10ca=_0x44f185;if(_0x2aa3e8){if(typeof _0x2aa3e8[_0x5a10ca(0x277)]==_0x5a10ca(0x260))try{return _0x2aa3e8['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x2aa3e8['randomBytes']==_0x5a10ca(0x260))try{return _0x2aa3e8['randomBytes'](0x4)[_0x5a10ca(0x178)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x22fd4c=Object[_0x44f185(0x32f)]||(function(){function _0x3775a2(){}return function(_0xa784e9){var _0x32f374=_0x816a,_0x8a6731;return _0x3775a2[_0x32f374(0x33b)]=_0xa784e9,_0x8a6731=new _0x3775a2(),_0x3775a2['prototype']=null,_0x8a6731;};}()),_0x59b71a={},_0x1e65d2=_0x59b71a[_0x44f185(0x2d3)]={},_0x1a5012=_0x1e65d2[_0x44f185(0x10f)]=(function(){return{'extend':function(_0x179113){var _0xa39e5e=_0x816a,_0xc75285=_0x22fd4c(this);return _0x179113&&_0xc75285[_0xa39e5e(0x186)](_0x179113),(!_0xc75285[_0xa39e5e(0x3f1)]('init')||this['init']===_0xc75285[_0xa39e5e(0x1a3)])&&(_0xc75285[_0xa39e5e(0x1a3)]=function(){var _0x4d3ea2=_0xa39e5e;_0xc75285[_0x4d3ea2(0x306)][_0x4d3ea2(0x1a3)][_0x4d3ea2(0x2bf)](this,arguments);}),_0xc75285['init'][_0xa39e5e(0x33b)]=_0xc75285,_0xc75285[_0xa39e5e(0x306)]=this,_0xc75285;},'create':function(){var _0x14b17d=_0x816a,_0x19b26f=this['extend']();return _0x19b26f[_0x14b17d(0x1a3)]['apply'](_0x19b26f,arguments),_0x19b26f;},'init':function(){},'mixIn':function(_0x345019){var _0x4615b2=_0x816a;for(var _0x4ac7a2 in _0x345019)_0x345019['hasOwnProperty'](_0x4ac7a2)&&(this[_0x4ac7a2]=_0x345019[_0x4ac7a2]);_0x345019['hasOwnProperty']('toString')&&(this[_0x4615b2(0xb8)]=_0x345019[_0x4615b2(0xb8)]);},'clone':function(){var _0x2f9dbb=_0x816a;return this['init'][_0x2f9dbb(0x33b)][_0x2f9dbb(0xc2)](this);}};}()),_0x27ac10=_0x1e65d2[_0x44f185(0x40b)]=_0x1a5012['extend']({'init':function(_0x48eaaa,_0x507e12){var _0x916c80=_0x44f185;_0x48eaaa=this[_0x916c80(0x19b)]=_0x48eaaa||[],_0x507e12!=_0x4c3407?this[_0x916c80(0x156)]=_0x507e12:this[_0x916c80(0x156)]=_0x48eaaa[_0x916c80(0x19f)]*0x4;},'toString':function(_0x418d27){var _0x44cd99=_0x44f185;return(_0x418d27||_0x28840c)[_0x44cd99(0x136)](this);},'concat':function(_0x7abc4){var _0x46a18f=_0x44f185,_0x2f3594=this['words'],_0x2685d9=_0x7abc4[_0x46a18f(0x19b)],_0x3cf7e6=this[_0x46a18f(0x156)],_0x226faf=_0x7abc4[_0x46a18f(0x156)];if(this['clamp'](),_0x3cf7e6%0x4)for(var _0x4e055f=0x0;_0x4e055f<_0x226faf;_0x4e055f++){var _0x2eec55=_0x2685d9[_0x4e055f>>>0x2]>>>0x18-_0x4e055f%0x4*0x8&0xff;_0x2f3594[_0x3cf7e6+_0x4e055f>>>0x2]|=_0x2eec55<<0x18-(_0x3cf7e6+_0x4e055f)%0x4*0x8;}else{for(var _0x5baca0=0x0;_0x5baca0<_0x226faf;_0x5baca0+=0x4)_0x2f3594[_0x3cf7e6+_0x5baca0>>>0x2]=_0x2685d9[_0x5baca0>>>0x2];}return this[_0x46a18f(0x156)]+=_0x226faf,this;},'clamp':function(){var _0x4ee682=_0x44f185,_0x2872f8=this[_0x4ee682(0x19b)],_0x343659=this[_0x4ee682(0x156)];_0x2872f8[_0x343659>>>0x2]&=0xffffffff<<0x20-_0x343659%0x4*0x8,_0x2872f8[_0x4ee682(0x19f)]=_0x121c68[_0x4ee682(0x3a9)](_0x343659/0x4);},'clone':function(){var _0xda7e2d=_0x44f185,_0x1e2e44=_0x1a5012[_0xda7e2d(0x230)]['call'](this);return _0x1e2e44[_0xda7e2d(0x19b)]=this[_0xda7e2d(0x19b)][_0xda7e2d(0x267)](0x0),_0x1e2e44;},'random':function(_0x424e0d){var _0x535312=_0x44f185;for(var _0x4f0050=[],_0x203dc1=0x0;_0x203dc1<_0x424e0d;_0x203dc1+=0x4)_0x4f0050['push'](_0x659b61());return new _0x27ac10[(_0x535312(0x1a3))](_0x4f0050,_0x424e0d);}}),_0x3f7914=_0x59b71a[_0x44f185(0x21d)]={},_0x28840c=_0x3f7914[_0x44f185(0x2df)]={'stringify':function(_0x4d2d8e){var _0x240b53=_0x44f185;for(var _0x1b01bd=_0x4d2d8e[_0x240b53(0x19b)],_0x8afd7e=_0x4d2d8e[_0x240b53(0x156)],_0x359da0=[],_0x219c3a=0x0;_0x219c3a<_0x8afd7e;_0x219c3a++){var _0x5abae3=_0x1b01bd[_0x219c3a>>>0x2]>>>0x18-_0x219c3a%0x4*0x8&0xff;_0x359da0[_0x240b53(0x1c7)]((_0x5abae3>>>0x4)[_0x240b53(0xb8)](0x10)),_0x359da0[_0x240b53(0x1c7)]((_0x5abae3&0xf)[_0x240b53(0xb8)](0x10));}return _0x359da0[_0x240b53(0x212)]('');},'parse':function(_0x48cd49){var _0x90dd7e=_0x44f185;for(var _0x5e6352=_0x48cd49[_0x90dd7e(0x19f)],_0xd3aa0c=[],_0x4dc94f=0x0;_0x4dc94f<_0x5e6352;_0x4dc94f+=0x2)_0xd3aa0c[_0x4dc94f>>>0x3]|=parseInt(_0x48cd49['substr'](_0x4dc94f,0x2),0x10)<<0x18-_0x4dc94f%0x8*0x4;return new _0x27ac10[(_0x90dd7e(0x1a3))](_0xd3aa0c,_0x5e6352/0x2);}},_0x1cf947=_0x3f7914[_0x44f185(0xed)]={'stringify':function(_0x275334){var _0x2f5354=_0x44f185;for(var _0x47e3ad=_0x275334[_0x2f5354(0x19b)],_0xdbec4=_0x275334[_0x2f5354(0x156)],_0x528d86=[],_0x1db9c1=0x0;_0x1db9c1<_0xdbec4;_0x1db9c1++){var _0x328cef=_0x47e3ad[_0x1db9c1>>>0x2]>>>0x18-_0x1db9c1%0x4*0x8&0xff;_0x528d86[_0x2f5354(0x1c7)](String[_0x2f5354(0x2ee)](_0x328cef));}return _0x528d86[_0x2f5354(0x212)]('');},'parse':function(_0x5c0e11){var _0x194f80=_0x44f185;for(var _0x564ad9=_0x5c0e11[_0x194f80(0x19f)],_0x2d1c87=[],_0xb6872b=0x0;_0xb6872b<_0x564ad9;_0xb6872b++)_0x2d1c87[_0xb6872b>>>0x2]|=(_0x5c0e11[_0x194f80(0x3bf)](_0xb6872b)&0xff)<<0x18-_0xb6872b%0x4*0x8;return new _0x27ac10[(_0x194f80(0x1a3))](_0x2d1c87,_0x564ad9);}},_0x1f493b=_0x3f7914['Utf8']={'stringify':function(_0x22b500){var _0x59452f=_0x44f185;try{return decodeURIComponent(escape(_0x1cf947[_0x59452f(0x136)](_0x22b500)));}catch{throw new Error(_0x59452f(0x119));}},'parse':function(_0x4f296f){var _0x5e57db=_0x44f185;return _0x1cf947[_0x5e57db(0x17a)](unescape(encodeURIComponent(_0x4f296f)));}},_0x2e4e0f=_0x1e65d2['BufferedBlockAlgorithm']=_0x1a5012[_0x44f185(0xc2)]({'reset':function(){var _0x2ae1eb=_0x44f185;this[_0x2ae1eb(0x344)]=new _0x27ac10['init'](),this[_0x2ae1eb(0x1a6)]=0x0;},'_append':function(_0x9ae13e){var _0x3fd2ee=_0x44f185;typeof _0x9ae13e==_0x3fd2ee(0x22f)&&(_0x9ae13e=_0x1f493b[_0x3fd2ee(0x17a)](_0x9ae13e)),this[_0x3fd2ee(0x344)][_0x3fd2ee(0x1d4)](_0x9ae13e),this[_0x3fd2ee(0x1a6)]+=_0x9ae13e[_0x3fd2ee(0x156)];},'_process':function(_0x3ad734){var _0x3bb611=_0x44f185,_0x27131c,_0x2ad046=this[_0x3bb611(0x344)],_0x2d5a7c=_0x2ad046[_0x3bb611(0x19b)],_0x42a3b7=_0x2ad046['sigBytes'],_0x14460f=this[_0x3bb611(0x142)],_0x3c6753=_0x14460f*0x4,_0x44ea47=_0x42a3b7/_0x3c6753;_0x3ad734?_0x44ea47=_0x121c68[_0x3bb611(0x3a9)](_0x44ea47):_0x44ea47=_0x121c68[_0x3bb611(0xdc)]((_0x44ea47|0x0)-this[_0x3bb611(0x30e)],0x0);var _0x3e61fb=_0x44ea47*_0x14460f,_0x5332d9=_0x121c68[_0x3bb611(0x18a)](_0x3e61fb*0x4,_0x42a3b7);if(_0x3e61fb){for(var _0x28829d=0x0;_0x28829d<_0x3e61fb;_0x28829d+=_0x14460f)this[_0x3bb611(0x13b)](_0x2d5a7c,_0x28829d);_0x27131c=_0x2d5a7c[_0x3bb611(0xec)](0x0,_0x3e61fb),_0x2ad046[_0x3bb611(0x156)]-=_0x5332d9;}return new _0x27ac10['init'](_0x27131c,_0x5332d9);},'clone':function(){var _0x449daf=_0x44f185,_0x33c8f=_0x1a5012['clone'][_0x449daf(0x25e)](this);return _0x33c8f[_0x449daf(0x344)]=this[_0x449daf(0x344)][_0x449daf(0x230)](),_0x33c8f;},'_minBufferSize':0x0});_0x1e65d2['Hasher']=_0x2e4e0f[_0x44f185(0xc2)]({'cfg':_0x1a5012[_0x44f185(0xc2)](),'init':function(_0x2c4da0){var _0x5ef845=_0x44f185;this[_0x5ef845(0x351)]=this[_0x5ef845(0x351)][_0x5ef845(0xc2)](_0x2c4da0),this[_0x5ef845(0x336)]();},'reset':function(){var _0x5938bd=_0x44f185;_0x2e4e0f[_0x5938bd(0x336)][_0x5938bd(0x25e)](this),this[_0x5938bd(0x28e)]();},'update':function(_0x5701cc){var _0x101634=_0x44f185;return this[_0x101634(0x17c)](_0x5701cc),this[_0x101634(0x234)](),this;},'finalize':function(_0x121f37){var _0x4a11d8=_0x44f185;_0x121f37&&this[_0x4a11d8(0x17c)](_0x121f37);var _0x1e71df=this[_0x4a11d8(0x404)]();return _0x1e71df;},'blockSize':0x10,'_createHelper':function(_0x22eb4b){return function(_0x537f0d,_0x1e1f08){var _0x449130=_0x816a;return new _0x22eb4b[(_0x449130(0x1a3))](_0x1e1f08)[_0x449130(0x14d)](_0x537f0d);};},'_createHmacHelper':function(_0x4b965b){return function(_0x23817f,_0x3896e7){var _0x632cc0=_0x816a;return new _0x1830e6[(_0x632cc0(0x345))][(_0x632cc0(0x1a3))](_0x4b965b,_0x3896e7)[_0x632cc0(0x14d)](_0x23817f);};}});var _0x1830e6=_0x59b71a[_0x44f185(0x13f)]={};return _0x59b71a;}(Math);return _0x1a270f;}));}(pe)),pe[_0x2bb97b(0x331)];}var Ie={'exports':{}},Ni=Ie[_0x5c6280(0x331)],Je;function yt(){var _0xad7006=_0x5c6280;return Je||(Je=0x1,function(_0x2710f7,_0x4cb629){(function(_0x5ac919,_0x67b17d){var _0x568331=_0x816a;_0x2710f7[_0x568331(0x331)]=_0x67b17d(Q());}(Ni,function(_0x53c12a){var _0x4e013f=_0x816a;return(function(){var _0x104e24=_0x816a,_0x329b2e=_0x53c12a,_0x1284fb=_0x329b2e[_0x104e24(0x2d3)],_0x25d3bb=_0x1284fb[_0x104e24(0x40b)],_0x14620c=_0x329b2e['enc'];_0x14620c[_0x104e24(0x20e)]={'stringify':function(_0x1ae615){var _0xc4011=_0x104e24,_0x4f7d6d=_0x1ae615['words'],_0xd9952c=_0x1ae615['sigBytes'],_0x4674c4=this[_0xc4011(0x22a)];_0x1ae615[_0xc4011(0x28d)]();for(var _0x1ccb81=[],_0x398734=0x0;_0x398734<_0xd9952c;_0x398734+=0x3)for(var _0x97576=_0x4f7d6d[_0x398734>>>0x2]>>>0x18-_0x398734%0x4*0x8&0xff,_0x29ac51=_0x4f7d6d[_0x398734+0x1>>>0x2]>>>0x18-(_0x398734+0x1)%0x4*0x8&0xff,_0xe5d225=_0x4f7d6d[_0x398734+0x2>>>0x2]>>>0x18-(_0x398734+0x2)%0x4*0x8&0xff,_0x1085a7=_0x97576<<0x10|_0x29ac51<<0x8|_0xe5d225,_0x5aa38f=0x0;_0x5aa38f<0x4&&_0x398734+_0x5aa38f*0.75<_0xd9952c;_0x5aa38f++)_0x1ccb81[_0xc4011(0x1c7)](_0x4674c4[_0xc4011(0x284)](_0x1085a7>>>0x6*(0x3-_0x5aa38f)&0x3f));var _0x1ed093=_0x4674c4[_0xc4011(0x284)](0x40);if(_0x1ed093){for(;_0x1ccb81[_0xc4011(0x19f)]%0x4;)_0x1ccb81['push'](_0x1ed093);}return _0x1ccb81[_0xc4011(0x212)]('');},'parse':function(_0x457021){var _0x252e90=_0x104e24,_0x450eb8=_0x457021[_0x252e90(0x19f)],_0x381571=this[_0x252e90(0x22a)],_0x47d9ea=this[_0x252e90(0x163)];if(!_0x47d9ea){_0x47d9ea=this[_0x252e90(0x163)]=[];for(var _0x4367cc=0x0;_0x4367cc<_0x381571[_0x252e90(0x19f)];_0x4367cc++)_0x47d9ea[_0x381571[_0x252e90(0x3bf)](_0x4367cc)]=_0x4367cc;}var _0xc010eb=_0x381571['charAt'](0x40);if(_0xc010eb){var _0xf91313=_0x457021[_0x252e90(0x20a)](_0xc010eb);_0xf91313!==-0x1&&(_0x450eb8=_0xf91313);}return _0x8d7186(_0x457021,_0x450eb8,_0x47d9ea);},'_map':_0x104e24(0x32b)};function _0x8d7186(_0x56fc79,_0x34522c,_0x30dd7b){var _0x5b86b2=_0x104e24;for(var _0xdd742d=[],_0xc3242b=0x0,_0x221721=0x0;_0x221721<_0x34522c;_0x221721++)if(_0x221721%0x4){var _0x357961=_0x30dd7b[_0x56fc79[_0x5b86b2(0x3bf)](_0x221721-0x1)]<<_0x221721%0x4*0x2,_0x28ef3d=_0x30dd7b[_0x56fc79[_0x5b86b2(0x3bf)](_0x221721)]>>>0x6-_0x221721%0x4*0x2,_0x15d071=_0x357961|_0x28ef3d;_0xdd742d[_0xc3242b>>>0x2]|=_0x15d071<<0x18-_0xc3242b%0x4*0x8,_0xc3242b++;}return _0x25d3bb['create'](_0xdd742d,_0xc3242b);}}()),_0x53c12a[_0x4e013f(0x21d)][_0x4e013f(0x20e)];}));}(Ie)),Ie[_0xad7006(0x331)];}var ge={'exports':{}},Ui=ge[_0x5c6280(0x331)],Xe;function Di(){return Xe||(Xe=0x1,function(_0x2df214,_0x339928){(function(_0x3abdf6,_0x1aee4e){var _0xeba841=_0x816a;_0x2df214[_0xeba841(0x331)]=_0x1aee4e(Q());}(Ui,function(_0x4a3815){var _0x18e9f9=_0x816a;return function(_0x16ed7e){var _0xb77a00=_0x816a,_0x2ece06=_0x4a3815,_0x35a711=_0x2ece06[_0xb77a00(0x2d3)],_0x2ed1a9=_0x35a711[_0xb77a00(0x40b)],_0x2cd351=_0x35a711['Hasher'],_0x2ca92a=_0x2ece06['algo'],_0x2c492f=[];(function(){var _0x31b873=_0xb77a00;for(var _0x58de13=0x0;_0x58de13<0x40;_0x58de13++)_0x2c492f[_0x58de13]=_0x16ed7e[_0x31b873(0xfc)](_0x16ed7e[_0x31b873(0x3c5)](_0x58de13+0x1))*0x100000000|0x0;}());var _0x14e8c3=_0x2ca92a[_0xb77a00(0x271)]=_0x2cd351[_0xb77a00(0xc2)]({'_doReset':function(){var _0x396e78=_0xb77a00;this[_0x396e78(0x3a5)]=new _0x2ed1a9['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x2e04ff,_0x26aff4){var _0x488f2a=_0xb77a00;for(var _0x460500=0x0;_0x460500<0x10;_0x460500++){var _0x45db4a=_0x26aff4+_0x460500,_0x161ed0=_0x2e04ff[_0x45db4a];_0x2e04ff[_0x45db4a]=(_0x161ed0<<0x8|_0x161ed0>>>0x18)&0xff00ff|(_0x161ed0<<0x18|_0x161ed0>>>0x8)&0xff00ff00;}var _0x135ee5=this['_hash'][_0x488f2a(0x19b)],_0x78db95=_0x2e04ff[_0x26aff4+0x0],_0x1bc920=_0x2e04ff[_0x26aff4+0x1],_0xe3cecf=_0x2e04ff[_0x26aff4+0x2],_0x1f7244=_0x2e04ff[_0x26aff4+0x3],_0x547dff=_0x2e04ff[_0x26aff4+0x4],_0x49afd9=_0x2e04ff[_0x26aff4+0x5],_0xde72dc=_0x2e04ff[_0x26aff4+0x6],_0x2daae3=_0x2e04ff[_0x26aff4+0x7],_0x4a114a=_0x2e04ff[_0x26aff4+0x8],_0x10d590=_0x2e04ff[_0x26aff4+0x9],_0x458b34=_0x2e04ff[_0x26aff4+0xa],_0x7e9610=_0x2e04ff[_0x26aff4+0xb],_0x50ae63=_0x2e04ff[_0x26aff4+0xc],_0x23f765=_0x2e04ff[_0x26aff4+0xd],_0x2ec2e0=_0x2e04ff[_0x26aff4+0xe],_0x122d49=_0x2e04ff[_0x26aff4+0xf],_0x387110=_0x135ee5[0x0],_0x363f8b=_0x135ee5[0x1],_0x1e0efa=_0x135ee5[0x2],_0x11aff9=_0x135ee5[0x3];_0x387110=_0x5c80d2(_0x387110,_0x363f8b,_0x1e0efa,_0x11aff9,_0x78db95,0x7,_0x2c492f[0x0]),_0x11aff9=_0x5c80d2(_0x11aff9,_0x387110,_0x363f8b,_0x1e0efa,_0x1bc920,0xc,_0x2c492f[0x1]),_0x1e0efa=_0x5c80d2(_0x1e0efa,_0x11aff9,_0x387110,_0x363f8b,_0xe3cecf,0x11,_0x2c492f[0x2]),_0x363f8b=_0x5c80d2(_0x363f8b,_0x1e0efa,_0x11aff9,_0x387110,_0x1f7244,0x16,_0x2c492f[0x3]),_0x387110=_0x5c80d2(_0x387110,_0x363f8b,_0x1e0efa,_0x11aff9,_0x547dff,0x7,_0x2c492f[0x4]),_0x11aff9=_0x5c80d2(_0x11aff9,_0x387110,_0x363f8b,_0x1e0efa,_0x49afd9,0xc,_0x2c492f[0x5]),_0x1e0efa=_0x5c80d2(_0x1e0efa,_0x11aff9,_0x387110,_0x363f8b,_0xde72dc,0x11,_0x2c492f[0x6]),_0x363f8b=_0x5c80d2(_0x363f8b,_0x1e0efa,_0x11aff9,_0x387110,_0x2daae3,0x16,_0x2c492f[0x7]),_0x387110=_0x5c80d2(_0x387110,_0x363f8b,_0x1e0efa,_0x11aff9,_0x4a114a,0x7,_0x2c492f[0x8]),_0x11aff9=_0x5c80d2(_0x11aff9,_0x387110,_0x363f8b,_0x1e0efa,_0x10d590,0xc,_0x2c492f[0x9]),_0x1e0efa=_0x5c80d2(_0x1e0efa,_0x11aff9,_0x387110,_0x363f8b,_0x458b34,0x11,_0x2c492f[0xa]),_0x363f8b=_0x5c80d2(_0x363f8b,_0x1e0efa,_0x11aff9,_0x387110,_0x7e9610,0x16,_0x2c492f[0xb]),_0x387110=_0x5c80d2(_0x387110,_0x363f8b,_0x1e0efa,_0x11aff9,_0x50ae63,0x7,_0x2c492f[0xc]),_0x11aff9=_0x5c80d2(_0x11aff9,_0x387110,_0x363f8b,_0x1e0efa,_0x23f765,0xc,_0x2c492f[0xd]),_0x1e0efa=_0x5c80d2(_0x1e0efa,_0x11aff9,_0x387110,_0x363f8b,_0x2ec2e0,0x11,_0x2c492f[0xe]),_0x363f8b=_0x5c80d2(_0x363f8b,_0x1e0efa,_0x11aff9,_0x387110,_0x122d49,0x16,_0x2c492f[0xf]),_0x387110=_0x2eb73a(_0x387110,_0x363f8b,_0x1e0efa,_0x11aff9,_0x1bc920,0x5,_0x2c492f[0x10]),_0x11aff9=_0x2eb73a(_0x11aff9,_0x387110,_0x363f8b,_0x1e0efa,_0xde72dc,0x9,_0x2c492f[0x11]),_0x1e0efa=_0x2eb73a(_0x1e0efa,_0x11aff9,_0x387110,_0x363f8b,_0x7e9610,0xe,_0x2c492f[0x12]),_0x363f8b=_0x2eb73a(_0x363f8b,_0x1e0efa,_0x11aff9,_0x387110,_0x78db95,0x14,_0x2c492f[0x13]),_0x387110=_0x2eb73a(_0x387110,_0x363f8b,_0x1e0efa,_0x11aff9,_0x49afd9,0x5,_0x2c492f[0x14]),_0x11aff9=_0x2eb73a(_0x11aff9,_0x387110,_0x363f8b,_0x1e0efa,_0x458b34,0x9,_0x2c492f[0x15]),_0x1e0efa=_0x2eb73a(_0x1e0efa,_0x11aff9,_0x387110,_0x363f8b,_0x122d49,0xe,_0x2c492f[0x16]),_0x363f8b=_0x2eb73a(_0x363f8b,_0x1e0efa,_0x11aff9,_0x387110,_0x547dff,0x14,_0x2c492f[0x17]),_0x387110=_0x2eb73a(_0x387110,_0x363f8b,_0x1e0efa,_0x11aff9,_0x10d590,0x5,_0x2c492f[0x18]),_0x11aff9=_0x2eb73a(_0x11aff9,_0x387110,_0x363f8b,_0x1e0efa,_0x2ec2e0,0x9,_0x2c492f[0x19]),_0x1e0efa=_0x2eb73a(_0x1e0efa,_0x11aff9,_0x387110,_0x363f8b,_0x1f7244,0xe,_0x2c492f[0x1a]),_0x363f8b=_0x2eb73a(_0x363f8b,_0x1e0efa,_0x11aff9,_0x387110,_0x4a114a,0x14,_0x2c492f[0x1b]),_0x387110=_0x2eb73a(_0x387110,_0x363f8b,_0x1e0efa,_0x11aff9,_0x23f765,0x5,_0x2c492f[0x1c]),_0x11aff9=_0x2eb73a(_0x11aff9,_0x387110,_0x363f8b,_0x1e0efa,_0xe3cecf,0x9,_0x2c492f[0x1d]),_0x1e0efa=_0x2eb73a(_0x1e0efa,_0x11aff9,_0x387110,_0x363f8b,_0x2daae3,0xe,_0x2c492f[0x1e]),_0x363f8b=_0x2eb73a(_0x363f8b,_0x1e0efa,_0x11aff9,_0x387110,_0x50ae63,0x14,_0x2c492f[0x1f]),_0x387110=_0x119959(_0x387110,_0x363f8b,_0x1e0efa,_0x11aff9,_0x49afd9,0x4,_0x2c492f[0x20]),_0x11aff9=_0x119959(_0x11aff9,_0x387110,_0x363f8b,_0x1e0efa,_0x4a114a,0xb,_0x2c492f[0x21]),_0x1e0efa=_0x119959(_0x1e0efa,_0x11aff9,_0x387110,_0x363f8b,_0x7e9610,0x10,_0x2c492f[0x22]),_0x363f8b=_0x119959(_0x363f8b,_0x1e0efa,_0x11aff9,_0x387110,_0x2ec2e0,0x17,_0x2c492f[0x23]),_0x387110=_0x119959(_0x387110,_0x363f8b,_0x1e0efa,_0x11aff9,_0x1bc920,0x4,_0x2c492f[0x24]),_0x11aff9=_0x119959(_0x11aff9,_0x387110,_0x363f8b,_0x1e0efa,_0x547dff,0xb,_0x2c492f[0x25]),_0x1e0efa=_0x119959(_0x1e0efa,_0x11aff9,_0x387110,_0x363f8b,_0x2daae3,0x10,_0x2c492f[0x26]),_0x363f8b=_0x119959(_0x363f8b,_0x1e0efa,_0x11aff9,_0x387110,_0x458b34,0x17,_0x2c492f[0x27]),_0x387110=_0x119959(_0x387110,_0x363f8b,_0x1e0efa,_0x11aff9,_0x23f765,0x4,_0x2c492f[0x28]),_0x11aff9=_0x119959(_0x11aff9,_0x387110,_0x363f8b,_0x1e0efa,_0x78db95,0xb,_0x2c492f[0x29]),_0x1e0efa=_0x119959(_0x1e0efa,_0x11aff9,_0x387110,_0x363f8b,_0x1f7244,0x10,_0x2c492f[0x2a]),_0x363f8b=_0x119959(_0x363f8b,_0x1e0efa,_0x11aff9,_0x387110,_0xde72dc,0x17,_0x2c492f[0x2b]),_0x387110=_0x119959(_0x387110,_0x363f8b,_0x1e0efa,_0x11aff9,_0x10d590,0x4,_0x2c492f[0x2c]),_0x11aff9=_0x119959(_0x11aff9,_0x387110,_0x363f8b,_0x1e0efa,_0x50ae63,0xb,_0x2c492f[0x2d]),_0x1e0efa=_0x119959(_0x1e0efa,_0x11aff9,_0x387110,_0x363f8b,_0x122d49,0x10,_0x2c492f[0x2e]),_0x363f8b=_0x119959(_0x363f8b,_0x1e0efa,_0x11aff9,_0x387110,_0xe3cecf,0x17,_0x2c492f[0x2f]),_0x387110=_0x2aae75(_0x387110,_0x363f8b,_0x1e0efa,_0x11aff9,_0x78db95,0x6,_0x2c492f[0x30]),_0x11aff9=_0x2aae75(_0x11aff9,_0x387110,_0x363f8b,_0x1e0efa,_0x2daae3,0xa,_0x2c492f[0x31]),_0x1e0efa=_0x2aae75(_0x1e0efa,_0x11aff9,_0x387110,_0x363f8b,_0x2ec2e0,0xf,_0x2c492f[0x32]),_0x363f8b=_0x2aae75(_0x363f8b,_0x1e0efa,_0x11aff9,_0x387110,_0x49afd9,0x15,_0x2c492f[0x33]),_0x387110=_0x2aae75(_0x387110,_0x363f8b,_0x1e0efa,_0x11aff9,_0x50ae63,0x6,_0x2c492f[0x34]),_0x11aff9=_0x2aae75(_0x11aff9,_0x387110,_0x363f8b,_0x1e0efa,_0x1f7244,0xa,_0x2c492f[0x35]),_0x1e0efa=_0x2aae75(_0x1e0efa,_0x11aff9,_0x387110,_0x363f8b,_0x458b34,0xf,_0x2c492f[0x36]),_0x363f8b=_0x2aae75(_0x363f8b,_0x1e0efa,_0x11aff9,_0x387110,_0x1bc920,0x15,_0x2c492f[0x37]),_0x387110=_0x2aae75(_0x387110,_0x363f8b,_0x1e0efa,_0x11aff9,_0x4a114a,0x6,_0x2c492f[0x38]),_0x11aff9=_0x2aae75(_0x11aff9,_0x387110,_0x363f8b,_0x1e0efa,_0x122d49,0xa,_0x2c492f[0x39]),_0x1e0efa=_0x2aae75(_0x1e0efa,_0x11aff9,_0x387110,_0x363f8b,_0xde72dc,0xf,_0x2c492f[0x3a]),_0x363f8b=_0x2aae75(_0x363f8b,_0x1e0efa,_0x11aff9,_0x387110,_0x23f765,0x15,_0x2c492f[0x3b]),_0x387110=_0x2aae75(_0x387110,_0x363f8b,_0x1e0efa,_0x11aff9,_0x547dff,0x6,_0x2c492f[0x3c]),_0x11aff9=_0x2aae75(_0x11aff9,_0x387110,_0x363f8b,_0x1e0efa,_0x7e9610,0xa,_0x2c492f[0x3d]),_0x1e0efa=_0x2aae75(_0x1e0efa,_0x11aff9,_0x387110,_0x363f8b,_0xe3cecf,0xf,_0x2c492f[0x3e]),_0x363f8b=_0x2aae75(_0x363f8b,_0x1e0efa,_0x11aff9,_0x387110,_0x10d590,0x15,_0x2c492f[0x3f]),_0x135ee5[0x0]=_0x135ee5[0x0]+_0x387110|0x0,_0x135ee5[0x1]=_0x135ee5[0x1]+_0x363f8b|0x0,_0x135ee5[0x2]=_0x135ee5[0x2]+_0x1e0efa|0x0,_0x135ee5[0x3]=_0x135ee5[0x3]+_0x11aff9|0x0;},'_doFinalize':function(){var _0x2d09c1=_0xb77a00,_0x584a53=this['_data'],_0x17d41d=_0x584a53[_0x2d09c1(0x19b)],_0x58cd07=this['_nDataBytes']*0x8,_0x53f5ff=_0x584a53[_0x2d09c1(0x156)]*0x8;_0x17d41d[_0x53f5ff>>>0x5]|=0x80<<0x18-_0x53f5ff%0x20;var _0x425e31=_0x16ed7e[_0x2d09c1(0x2a3)](_0x58cd07/0x100000000),_0x1e89f4=_0x58cd07;_0x17d41d[(_0x53f5ff+0x40>>>0x9<<0x4)+0xf]=(_0x425e31<<0x8|_0x425e31>>>0x18)&0xff00ff|(_0x425e31<<0x18|_0x425e31>>>0x8)&0xff00ff00,_0x17d41d[(_0x53f5ff+0x40>>>0x9<<0x4)+0xe]=(_0x1e89f4<<0x8|_0x1e89f4>>>0x18)&0xff00ff|(_0x1e89f4<<0x18|_0x1e89f4>>>0x8)&0xff00ff00,_0x584a53['sigBytes']=(_0x17d41d[_0x2d09c1(0x19f)]+0x1)*0x4,this[_0x2d09c1(0x234)]();for(var _0x5b945c=this[_0x2d09c1(0x3a5)],_0x57d55a=_0x5b945c['words'],_0x16f505=0x0;_0x16f505<0x4;_0x16f505++){var _0x304c05=_0x57d55a[_0x16f505];_0x57d55a[_0x16f505]=(_0x304c05<<0x8|_0x304c05>>>0x18)&0xff00ff|(_0x304c05<<0x18|_0x304c05>>>0x8)&0xff00ff00;}return _0x5b945c;},'clone':function(){var _0x38b085=_0xb77a00,_0x5e3189=_0x2cd351[_0x38b085(0x230)][_0x38b085(0x25e)](this);return _0x5e3189[_0x38b085(0x3a5)]=this[_0x38b085(0x3a5)][_0x38b085(0x230)](),_0x5e3189;}});function _0x5c80d2(_0x436e26,_0xf149a,_0x1d38da,_0x3227a7,_0x4cb2c7,_0x5d1702,_0x172f2f){var _0x495b1f=_0x436e26+(_0xf149a&_0x1d38da|~_0xf149a&_0x3227a7)+_0x4cb2c7+_0x172f2f;return(_0x495b1f<<_0x5d1702|_0x495b1f>>>0x20-_0x5d1702)+_0xf149a;}function _0x2eb73a(_0x2f1cf7,_0x4b6336,_0x558a2c,_0x58db2f,_0x350f48,_0x385c79,_0x27f4fe){var _0x4a8a90=_0x2f1cf7+(_0x4b6336&_0x58db2f|_0x558a2c&~_0x58db2f)+_0x350f48+_0x27f4fe;return(_0x4a8a90<<_0x385c79|_0x4a8a90>>>0x20-_0x385c79)+_0x4b6336;}function _0x119959(_0x134604,_0xb39618,_0x432407,_0x31fc87,_0x24b537,_0x42e03e,_0x3f8349){var _0x57893c=_0x134604+(_0xb39618^_0x432407^_0x31fc87)+_0x24b537+_0x3f8349;return(_0x57893c<<_0x42e03e|_0x57893c>>>0x20-_0x42e03e)+_0xb39618;}function _0x2aae75(_0x421241,_0x113b5c,_0x5c6e6f,_0x7a5c1f,_0x126f06,_0x31205,_0x4e99af){var _0x2ce9b2=_0x421241+(_0x5c6e6f^(_0x113b5c|~_0x7a5c1f))+_0x126f06+_0x4e99af;return(_0x2ce9b2<<_0x31205|_0x2ce9b2>>>0x20-_0x31205)+_0x113b5c;}_0x2ece06[_0xb77a00(0x271)]=_0x2cd351[_0xb77a00(0x122)](_0x14e8c3),_0x2ece06[_0xb77a00(0x2a1)]=_0x2cd351['_createHmacHelper'](_0x14e8c3);}(Math),_0x4a3815[_0x18e9f9(0x271)];}));}(ge)),ge['exports'];}var Ee={'exports':{}},me={'exports':{}},Ai=me[_0x5c6280(0x331)],Ze;function Pi(){var _0x2391d7=_0x5c6280;return Ze||(Ze=0x1,function(_0x46b12e,_0xfbacfb){(function(_0x5966cb,_0x4b3699){var _0x30eaa2=_0x816a;_0x46b12e[_0x30eaa2(0x331)]=_0x4b3699(Q());}(Ai,function(_0x17bb7e){var _0x43462b=_0x816a;return(function(){var _0xd4e75e=_0x816a,_0x3db6f7=_0x17bb7e,_0x3fd10b=_0x3db6f7[_0xd4e75e(0x2d3)],_0x2bcc0e=_0x3fd10b[_0xd4e75e(0x40b)],_0x249241=_0x3fd10b[_0xd4e75e(0x3e5)],_0x13941e=_0x3db6f7['algo'],_0x168088=[],_0x26ccbd=_0x13941e[_0xd4e75e(0x37b)]=_0x249241[_0xd4e75e(0xc2)]({'_doReset':function(){var _0x1857e0=_0xd4e75e;this[_0x1857e0(0x3a5)]=new _0x2bcc0e['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x4eecd0,_0x36a902){var _0x533169=_0xd4e75e;for(var _0x357d76=this[_0x533169(0x3a5)]['words'],_0x25d3ae=_0x357d76[0x0],_0x481fe8=_0x357d76[0x1],_0x145bbb=_0x357d76[0x2],_0x36053b=_0x357d76[0x3],_0x28d7d5=_0x357d76[0x4],_0x3e16cb=0x0;_0x3e16cb<0x50;_0x3e16cb++){if(_0x3e16cb<0x10)_0x168088[_0x3e16cb]=_0x4eecd0[_0x36a902+_0x3e16cb]|0x0;else{var _0x5ee035=_0x168088[_0x3e16cb-0x3]^_0x168088[_0x3e16cb-0x8]^_0x168088[_0x3e16cb-0xe]^_0x168088[_0x3e16cb-0x10];_0x168088[_0x3e16cb]=_0x5ee035<<0x1|_0x5ee035>>>0x1f;}var _0x267868=(_0x25d3ae<<0x5|_0x25d3ae>>>0x1b)+_0x28d7d5+_0x168088[_0x3e16cb];_0x3e16cb<0x14?_0x267868+=(_0x481fe8&_0x145bbb|~_0x481fe8&_0x36053b)+0x5a827999:_0x3e16cb<0x28?_0x267868+=(_0x481fe8^_0x145bbb^_0x36053b)+0x6ed9eba1:_0x3e16cb<0x3c?_0x267868+=(_0x481fe8&_0x145bbb|_0x481fe8&_0x36053b|_0x145bbb&_0x36053b)-0x70e44324:_0x267868+=(_0x481fe8^_0x145bbb^_0x36053b)-0x359d3e2a,_0x28d7d5=_0x36053b,_0x36053b=_0x145bbb,_0x145bbb=_0x481fe8<<0x1e|_0x481fe8>>>0x2,_0x481fe8=_0x25d3ae,_0x25d3ae=_0x267868;}_0x357d76[0x0]=_0x357d76[0x0]+_0x25d3ae|0x0,_0x357d76[0x1]=_0x357d76[0x1]+_0x481fe8|0x0,_0x357d76[0x2]=_0x357d76[0x2]+_0x145bbb|0x0,_0x357d76[0x3]=_0x357d76[0x3]+_0x36053b|0x0,_0x357d76[0x4]=_0x357d76[0x4]+_0x28d7d5|0x0;},'_doFinalize':function(){var _0x15fca4=_0xd4e75e,_0x57123e=this[_0x15fca4(0x344)],_0x418259=_0x57123e[_0x15fca4(0x19b)],_0x393624=this[_0x15fca4(0x1a6)]*0x8,_0x1644c3=_0x57123e[_0x15fca4(0x156)]*0x8;return _0x418259[_0x1644c3>>>0x5]|=0x80<<0x18-_0x1644c3%0x20,_0x418259[(_0x1644c3+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x393624/0x100000000),_0x418259[(_0x1644c3+0x40>>>0x9<<0x4)+0xf]=_0x393624,_0x57123e[_0x15fca4(0x156)]=_0x418259['length']*0x4,this[_0x15fca4(0x234)](),this['_hash'];},'clone':function(){var _0x624406=_0xd4e75e,_0x2ad23b=_0x249241[_0x624406(0x230)][_0x624406(0x25e)](this);return _0x2ad23b[_0x624406(0x3a5)]=this['_hash'][_0x624406(0x230)](),_0x2ad23b;}});_0x3db6f7[_0xd4e75e(0x37b)]=_0x249241[_0xd4e75e(0x122)](_0x26ccbd),_0x3db6f7[_0xd4e75e(0xf9)]=_0x249241[_0xd4e75e(0x3c6)](_0x26ccbd);}()),_0x17bb7e[_0x43462b(0x37b)];}));}(me)),me[_0x2391d7(0x331)];}var Ce={'exports':{}},wi=Ce[_0x5c6280(0x331)],Qe;function Li(){var _0x21aba7=_0x5c6280;return Qe||(Qe=0x1,function(_0x4e62e9,_0x550cf1){(function(_0x35974b,_0x395ad4){var _0x408c14=_0x816a;_0x4e62e9[_0x408c14(0x331)]=_0x395ad4(Q());}(wi,function(_0x398ad2){(function(){var _0x2e0970=_0x816a,_0x3d0e56=_0x398ad2,_0xc390bf=_0x3d0e56[_0x2e0970(0x2d3)],_0x594a22=_0xc390bf['Base'],_0x47144c=_0x3d0e56[_0x2e0970(0x21d)],_0x4a7347=_0x47144c['Utf8'],_0x238a32=_0x3d0e56[_0x2e0970(0x13f)];_0x238a32['HMAC']=_0x594a22[_0x2e0970(0xc2)]({'init':function(_0x5ea402,_0x2d3bc5){var _0x42c2f9=_0x2e0970;_0x5ea402=this[_0x42c2f9(0x3b3)]=new _0x5ea402[(_0x42c2f9(0x1a3))](),typeof _0x2d3bc5=='string'&&(_0x2d3bc5=_0x4a7347[_0x42c2f9(0x17a)](_0x2d3bc5));var _0x251fce=_0x5ea402[_0x42c2f9(0x142)],_0x232b8d=_0x251fce*0x4;_0x2d3bc5[_0x42c2f9(0x156)]>_0x232b8d&&(_0x2d3bc5=_0x5ea402['finalize'](_0x2d3bc5)),_0x2d3bc5[_0x42c2f9(0x28d)]();for(var _0x14d14a=this[_0x42c2f9(0x2c2)]=_0x2d3bc5[_0x42c2f9(0x230)](),_0x22d5c5=this[_0x42c2f9(0x289)]=_0x2d3bc5[_0x42c2f9(0x230)](),_0x31e609=_0x14d14a[_0x42c2f9(0x19b)],_0x1c172c=_0x22d5c5[_0x42c2f9(0x19b)],_0x49afe3=0x0;_0x49afe3<_0x251fce;_0x49afe3++)_0x31e609[_0x49afe3]^=0x5c5c5c5c,_0x1c172c[_0x49afe3]^=0x36363636;_0x14d14a['sigBytes']=_0x22d5c5['sigBytes']=_0x232b8d,this[_0x42c2f9(0x336)]();},'reset':function(){var _0x205d15=_0x2e0970,_0x58956c=this['_hasher'];_0x58956c[_0x205d15(0x336)](),_0x58956c[_0x205d15(0x303)](this[_0x205d15(0x289)]);},'update':function(_0x53b12a){var _0x31dda6=_0x2e0970;return this[_0x31dda6(0x3b3)]['update'](_0x53b12a),this;},'finalize':function(_0x24d35f){var _0xae687e=_0x2e0970,_0x4df032=this[_0xae687e(0x3b3)],_0x5cd97a=_0x4df032[_0xae687e(0x14d)](_0x24d35f);_0x4df032[_0xae687e(0x336)]();var _0x757c21=_0x4df032[_0xae687e(0x14d)](this[_0xae687e(0x2c2)][_0xae687e(0x230)]()[_0xae687e(0x1d4)](_0x5cd97a));return _0x757c21;}});}());}));}(Ce)),Ce[_0x21aba7(0x331)];}var Mi=Ee[_0x5c6280(0x331)],et;function Nt(){var _0xddc246=_0x5c6280;return et||(et=0x1,function(_0x3cdb5f,_0x163660){(function(_0x1bdada,_0x511da3,_0x3f011d){var _0xd1a95b=_0x816a;_0x3cdb5f[_0xd1a95b(0x331)]=_0x511da3(Q(),Pi(),Li());}(Mi,function(_0x57aa5a){var _0x3777f=_0x816a;return(function(){var _0x8458d6=_0x816a,_0x57f88b=_0x57aa5a,_0x559c88=_0x57f88b['lib'],_0xcedd00=_0x559c88[_0x8458d6(0x10f)],_0x4302d9=_0x559c88['WordArray'],_0x1f527d=_0x57f88b[_0x8458d6(0x13f)],_0x3be1ee=_0x1f527d['MD5'],_0x8bf3a0=_0x1f527d[_0x8458d6(0x2cd)]=_0xcedd00['extend']({'cfg':_0xcedd00['extend']({'keySize':0x80/0x20,'hasher':_0x3be1ee,'iterations':0x1}),'init':function(_0x2cf091){var _0x345021=_0x8458d6;this[_0x345021(0x351)]=this[_0x345021(0x351)][_0x345021(0xc2)](_0x2cf091);},'compute':function(_0x145ec7,_0x2261dc){var _0x4b45be=_0x8458d6;for(var _0x23f4d7,_0x167273=this[_0x4b45be(0x351)],_0x545040=_0x167273[_0x4b45be(0x1f9)][_0x4b45be(0x32f)](),_0x49ee10=_0x4302d9[_0x4b45be(0x32f)](),_0x18f4fb=_0x49ee10['words'],_0x525f4b=_0x167273['keySize'],_0x23e5ad=_0x167273[_0x4b45be(0x1e3)];_0x18f4fb[_0x4b45be(0x19f)]<_0x525f4b;){_0x23f4d7&&_0x545040[_0x4b45be(0x303)](_0x23f4d7),_0x23f4d7=_0x545040[_0x4b45be(0x303)](_0x145ec7)[_0x4b45be(0x14d)](_0x2261dc),_0x545040[_0x4b45be(0x336)]();for(var _0x436fa2=0x1;_0x436fa2<_0x23e5ad;_0x436fa2++)_0x23f4d7=_0x545040[_0x4b45be(0x14d)](_0x23f4d7),_0x545040[_0x4b45be(0x336)]();_0x49ee10['concat'](_0x23f4d7);}return _0x49ee10[_0x4b45be(0x156)]=_0x525f4b*0x4,_0x49ee10;}});_0x57f88b[_0x8458d6(0x2cd)]=function(_0x233190,_0x536bbb,_0x318b20){var _0x5cf2c3=_0x8458d6;return _0x8bf3a0[_0x5cf2c3(0x32f)](_0x318b20)[_0x5cf2c3(0x3b9)](_0x233190,_0x536bbb);};}()),_0x57aa5a[_0x3777f(0x2cd)];}));}(Ee)),Ee[_0xddc246(0x331)];}var Te={'exports':{}},xi=Te['exports'],tt;function Ut(){return tt||(tt=0x1,function(_0xeb659d,_0x5e88ff){(function(_0x3e4f53,_0x40fccf,_0x438b08){var _0x4fdcd7=_0x816a;_0xeb659d[_0x4fdcd7(0x331)]=_0x40fccf(Q(),Nt());}(xi,function(_0x201f59){var _0x522375=_0x816a;_0x201f59[_0x522375(0x2d3)]['Cipher']||function(_0x4c091e){var _0x3aa1ac=_0x522375,_0x3038ef=_0x201f59,_0x27f303=_0x3038ef[_0x3aa1ac(0x2d3)],_0x53fc57=_0x27f303[_0x3aa1ac(0x10f)],_0x521259=_0x27f303[_0x3aa1ac(0x40b)],_0x530c15=_0x27f303[_0x3aa1ac(0x2ac)],_0x5ab0a1=_0x3038ef['enc'];_0x5ab0a1['Utf8'];var _0x1ec4ee=_0x5ab0a1[_0x3aa1ac(0x20e)],_0x165323=_0x3038ef['algo'],_0x11c614=_0x165323[_0x3aa1ac(0x2cd)],_0x38d3f9=_0x27f303['Cipher']=_0x530c15[_0x3aa1ac(0xc2)]({'cfg':_0x53fc57['extend'](),'createEncryptor':function(_0x386ba4,_0x422817){var _0x4aa659=_0x3aa1ac;return this['create'](this[_0x4aa659(0x339)],_0x386ba4,_0x422817);},'createDecryptor':function(_0x323319,_0x2753a5){var _0x487036=_0x3aa1ac;return this[_0x487036(0x32f)](this[_0x487036(0x107)],_0x323319,_0x2753a5);},'init':function(_0x39a080,_0x5b08de,_0x7c376e){var _0x2da499=_0x3aa1ac;this['cfg']=this[_0x2da499(0x351)][_0x2da499(0xc2)](_0x7c376e),this[_0x2da499(0x228)]=_0x39a080,this['_key']=_0x5b08de,this[_0x2da499(0x336)]();},'reset':function(){var _0x430f0b=_0x3aa1ac;_0x530c15['reset'][_0x430f0b(0x25e)](this),this['_doReset']();},'process':function(_0x19ad25){return this['_append'](_0x19ad25),this['_process']();},'finalize':function(_0x5801e8){var _0x4ffb85=_0x3aa1ac;_0x5801e8&&this[_0x4ffb85(0x17c)](_0x5801e8);var _0x39318e=this[_0x4ffb85(0x404)]();return _0x39318e;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x4b7fcd(_0x8014ac){var _0x5a65d3=_0x816a;return typeof _0x8014ac==_0x5a65d3(0x22f)?_0x56e0f9:_0x5188f3;}return function(_0x5c8a26){return{'encrypt':function(_0x2ec6e0,_0x4f1784,_0x491858){var _0x56442e=_0x816a;return _0x4b7fcd(_0x4f1784)[_0x56442e(0x102)](_0x5c8a26,_0x2ec6e0,_0x4f1784,_0x491858);},'decrypt':function(_0x5f1357,_0x374997,_0x47ada1){var _0x371576=_0x816a;return _0x4b7fcd(_0x374997)[_0x371576(0x131)](_0x5c8a26,_0x5f1357,_0x374997,_0x47ada1);}};};}())});_0x27f303[_0x3aa1ac(0x364)]=_0x38d3f9[_0x3aa1ac(0xc2)]({'_doFinalize':function(){var _0x3c124c=_0x3aa1ac,_0x5c6585=this[_0x3c124c(0x234)](!0x0);return _0x5c6585;},'blockSize':0x1});var _0x5d19ac=_0x3038ef[_0x3aa1ac(0x120)]={},_0x58899d=_0x27f303['BlockCipherMode']=_0x53fc57['extend']({'createEncryptor':function(_0x44600c,_0x328c19){var _0xae9a1b=_0x3aa1ac;return this['Encryptor'][_0xae9a1b(0x32f)](_0x44600c,_0x328c19);},'createDecryptor':function(_0x3d43da,_0x5eb7a9){var _0x33e2b4=_0x3aa1ac;return this['Decryptor'][_0x33e2b4(0x32f)](_0x3d43da,_0x5eb7a9);},'init':function(_0x2183f3,_0x3b0c82){var _0x407294=_0x3aa1ac;this[_0x407294(0x2e7)]=_0x2183f3,this['_iv']=_0x3b0c82;}}),_0x115d44=_0x5d19ac[_0x3aa1ac(0x28c)]=(function(){var _0x1a3c3a=_0x3aa1ac,_0x9be2e5=_0x58899d[_0x1a3c3a(0xc2)]();_0x9be2e5['Encryptor']=_0x9be2e5[_0x1a3c3a(0xc2)]({'processBlock':function(_0x3825c6,_0xa839dc){var _0xf8da75=_0x1a3c3a,_0x14b41a=this['_cipher'],_0x3fae31=_0x14b41a[_0xf8da75(0x142)];_0x3de309[_0xf8da75(0x25e)](this,_0x3825c6,_0xa839dc,_0x3fae31),_0x14b41a[_0xf8da75(0xd9)](_0x3825c6,_0xa839dc),this['_prevBlock']=_0x3825c6[_0xf8da75(0x267)](_0xa839dc,_0xa839dc+_0x3fae31);}}),_0x9be2e5[_0x1a3c3a(0x2cb)]=_0x9be2e5[_0x1a3c3a(0xc2)]({'processBlock':function(_0x461e41,_0x53b7f6){var _0x5316a2=_0x1a3c3a,_0x48abdd=this[_0x5316a2(0x2e7)],_0x2983b1=_0x48abdd['blockSize'],_0x2d8276=_0x461e41[_0x5316a2(0x267)](_0x53b7f6,_0x53b7f6+_0x2983b1);_0x48abdd[_0x5316a2(0x3be)](_0x461e41,_0x53b7f6),_0x3de309[_0x5316a2(0x25e)](this,_0x461e41,_0x53b7f6,_0x2983b1),this[_0x5316a2(0x318)]=_0x2d8276;}});function _0x3de309(_0x1191e2,_0x4a7076,_0x4adc7f){var _0x580dd9=_0x1a3c3a,_0x4a7cc5,_0x35567a=this[_0x580dd9(0xef)];_0x35567a?(_0x4a7cc5=_0x35567a,this['_iv']=_0x4c091e):_0x4a7cc5=this['_prevBlock'];for(var _0x120d53=0x0;_0x120d53<_0x4adc7f;_0x120d53++)_0x1191e2[_0x4a7076+_0x120d53]^=_0x4a7cc5[_0x120d53];}return _0x9be2e5;}()),_0x13d32b=_0x3038ef[_0x3aa1ac(0x164)]={},_0x4886d0=_0x13d32b[_0x3aa1ac(0x35a)]={'pad':function(_0x2b39bd,_0x3f8e65){var _0x5ae9c7=_0x3aa1ac;for(var _0x191dd0=_0x3f8e65*0x4,_0x51817e=_0x191dd0-_0x2b39bd[_0x5ae9c7(0x156)]%_0x191dd0,_0x5eb2c6=_0x51817e<<0x18|_0x51817e<<0x10|_0x51817e<<0x8|_0x51817e,_0x577718=[],_0x29fd77=0x0;_0x29fd77<_0x51817e;_0x29fd77+=0x4)_0x577718['push'](_0x5eb2c6);var _0x1f808b=_0x521259[_0x5ae9c7(0x32f)](_0x577718,_0x51817e);_0x2b39bd[_0x5ae9c7(0x1d4)](_0x1f808b);},'unpad':function(_0x4f3c64){var _0x1001f7=_0x3aa1ac,_0xd77015=_0x4f3c64[_0x1001f7(0x19b)][_0x4f3c64['sigBytes']-0x1>>>0x2]&0xff;_0x4f3c64[_0x1001f7(0x156)]-=_0xd77015;}};_0x27f303[_0x3aa1ac(0x13d)]=_0x38d3f9[_0x3aa1ac(0xc2)]({'cfg':_0x38d3f9['cfg'][_0x3aa1ac(0xc2)]({'mode':_0x115d44,'padding':_0x4886d0}),'reset':function(){var _0x22df86=_0x3aa1ac,_0x4a625;_0x38d3f9['reset']['call'](this);var _0x20e23a=this[_0x22df86(0x351)],_0x41ed8f=_0x20e23a['iv'],_0x114995=_0x20e23a['mode'];this[_0x22df86(0x228)]==this[_0x22df86(0x339)]?_0x4a625=_0x114995[_0x22df86(0x37a)]:(_0x4a625=_0x114995[_0x22df86(0xdd)],this[_0x22df86(0x30e)]=0x1),this['_mode']&&this[_0x22df86(0xfa)]['__creator']==_0x4a625?this[_0x22df86(0xfa)][_0x22df86(0x1a3)](this,_0x41ed8f&&_0x41ed8f[_0x22df86(0x19b)]):(this[_0x22df86(0xfa)]=_0x4a625[_0x22df86(0x25e)](_0x114995,this,_0x41ed8f&&_0x41ed8f[_0x22df86(0x19b)]),this[_0x22df86(0xfa)][_0x22df86(0x27e)]=_0x4a625);},'_doProcessBlock':function(_0x4a0c31,_0x5b5e00){var _0x391017=_0x3aa1ac;this['_mode'][_0x391017(0x210)](_0x4a0c31,_0x5b5e00);},'_doFinalize':function(){var _0x2110ca=_0x3aa1ac,_0x375110,_0x2255f5=this[_0x2110ca(0x351)][_0x2110ca(0x397)];return this[_0x2110ca(0x228)]==this[_0x2110ca(0x339)]?(_0x2255f5[_0x2110ca(0x164)](this['_data'],this[_0x2110ca(0x142)]),_0x375110=this['_process'](!0x0)):(_0x375110=this[_0x2110ca(0x234)](!0x0),_0x2255f5[_0x2110ca(0x2ff)](_0x375110)),_0x375110;},'blockSize':0x80/0x20});var _0x2ef49c=_0x27f303[_0x3aa1ac(0x295)]=_0x53fc57[_0x3aa1ac(0xc2)]({'init':function(_0x111ace){var _0x43dd90=_0x3aa1ac;this[_0x43dd90(0x186)](_0x111ace);},'toString':function(_0x3326e6){var _0x41d872=_0x3aa1ac;return(_0x3326e6||this[_0x41d872(0x18b)])[_0x41d872(0x136)](this);}}),_0x43453f=_0x3038ef[_0x3aa1ac(0x3ae)]={},_0x294250=_0x43453f[_0x3aa1ac(0x39f)]={'stringify':function(_0x25d974){var _0x38a5bf=_0x3aa1ac,_0x421005,_0x2146e3=_0x25d974['ciphertext'],_0xb9f85f=_0x25d974[_0x38a5bf(0x2ca)];return _0xb9f85f?_0x421005=_0x521259[_0x38a5bf(0x32f)]([0x53616c74,0x65645f5f])[_0x38a5bf(0x1d4)](_0xb9f85f)[_0x38a5bf(0x1d4)](_0x2146e3):_0x421005=_0x2146e3,_0x421005['toString'](_0x1ec4ee);},'parse':function(_0x4c249e){var _0xc62b78=_0x3aa1ac,_0x1f8f5c,_0x17916d=_0x1ec4ee['parse'](_0x4c249e),_0x29f415=_0x17916d[_0xc62b78(0x19b)];return _0x29f415[0x0]==0x53616c74&&_0x29f415[0x1]==0x65645f5f&&(_0x1f8f5c=_0x521259['create'](_0x29f415[_0xc62b78(0x267)](0x2,0x4)),_0x29f415[_0xc62b78(0xec)](0x0,0x4),_0x17916d['sigBytes']-=0x10),_0x2ef49c[_0xc62b78(0x32f)]({'ciphertext':_0x17916d,'salt':_0x1f8f5c});}},_0x5188f3=_0x27f303[_0x3aa1ac(0x279)]=_0x53fc57[_0x3aa1ac(0xc2)]({'cfg':_0x53fc57['extend']({'format':_0x294250}),'encrypt':function(_0x584fb2,_0x5bed67,_0x2f2222,_0x4e1164){var _0x1d1862=_0x3aa1ac;_0x4e1164=this[_0x1d1862(0x351)][_0x1d1862(0xc2)](_0x4e1164);var _0x50b8f7=_0x584fb2[_0x1d1862(0x37a)](_0x2f2222,_0x4e1164),_0x28f0e1=_0x50b8f7['finalize'](_0x5bed67),_0x58eeb7=_0x50b8f7[_0x1d1862(0x351)];return _0x2ef49c['create']({'ciphertext':_0x28f0e1,'key':_0x2f2222,'iv':_0x58eeb7['iv'],'algorithm':_0x584fb2,'mode':_0x58eeb7['mode'],'padding':_0x58eeb7[_0x1d1862(0x397)],'blockSize':_0x584fb2[_0x1d1862(0x142)],'formatter':_0x4e1164['format']});},'decrypt':function(_0x2fb7c1,_0x3f9dc4,_0x36f90e,_0x435ac5){var _0x280d44=_0x3aa1ac;_0x435ac5=this[_0x280d44(0x351)][_0x280d44(0xc2)](_0x435ac5),_0x3f9dc4=this[_0x280d44(0x257)](_0x3f9dc4,_0x435ac5['format']);var _0x2f99c3=_0x2fb7c1['createDecryptor'](_0x36f90e,_0x435ac5)[_0x280d44(0x14d)](_0x3f9dc4[_0x280d44(0x3c4)]);return _0x2f99c3;},'_parse':function(_0x203c24,_0xd03e82){var _0x231956=_0x3aa1ac;return typeof _0x203c24==_0x231956(0x22f)?_0xd03e82[_0x231956(0x17a)](_0x203c24,this):_0x203c24;}}),_0x4beb0a=_0x3038ef[_0x3aa1ac(0x17b)]={},_0x28e681=_0x4beb0a[_0x3aa1ac(0x39f)]={'execute':function(_0x56a29f,_0x4159e9,_0x15c998,_0x435088,_0x96f53c){var _0x1c29fe=_0x3aa1ac;if(_0x435088||(_0x435088=_0x521259[_0x1c29fe(0x2cf)](0x40/0x8)),_0x96f53c)var _0x5837f2=_0x11c614[_0x1c29fe(0x32f)]({'keySize':_0x4159e9+_0x15c998,'hasher':_0x96f53c})[_0x1c29fe(0x3b9)](_0x56a29f,_0x435088);else var _0x5837f2=_0x11c614['create']({'keySize':_0x4159e9+_0x15c998})[_0x1c29fe(0x3b9)](_0x56a29f,_0x435088);var _0x3a2b2b=_0x521259[_0x1c29fe(0x32f)](_0x5837f2['words'][_0x1c29fe(0x267)](_0x4159e9),_0x15c998*0x4);return _0x5837f2[_0x1c29fe(0x156)]=_0x4159e9*0x4,_0x2ef49c[_0x1c29fe(0x32f)]({'key':_0x5837f2,'iv':_0x3a2b2b,'salt':_0x435088});}},_0x56e0f9=_0x27f303[_0x3aa1ac(0x243)]=_0x5188f3[_0x3aa1ac(0xc2)]({'cfg':_0x5188f3[_0x3aa1ac(0x351)][_0x3aa1ac(0xc2)]({'kdf':_0x28e681}),'encrypt':function(_0x215197,_0x62f22a,_0x55a1ee,_0x50e1a1){var _0x3eab04=_0x3aa1ac;_0x50e1a1=this[_0x3eab04(0x351)][_0x3eab04(0xc2)](_0x50e1a1);var _0x2d1c49=_0x50e1a1[_0x3eab04(0x17b)][_0x3eab04(0x2bb)](_0x55a1ee,_0x215197[_0x3eab04(0x343)],_0x215197[_0x3eab04(0x166)],_0x50e1a1[_0x3eab04(0x2ca)],_0x50e1a1[_0x3eab04(0x1f9)]);_0x50e1a1['iv']=_0x2d1c49['iv'];var _0x3f96c7=_0x5188f3[_0x3eab04(0x102)][_0x3eab04(0x25e)](this,_0x215197,_0x62f22a,_0x2d1c49['key'],_0x50e1a1);return _0x3f96c7[_0x3eab04(0x186)](_0x2d1c49),_0x3f96c7;},'decrypt':function(_0x26442b,_0x2823ca,_0x5c5a2f,_0x5cbd19){var _0x3ecce9=_0x3aa1ac;_0x5cbd19=this['cfg'][_0x3ecce9(0xc2)](_0x5cbd19),_0x2823ca=this[_0x3ecce9(0x257)](_0x2823ca,_0x5cbd19[_0x3ecce9(0x3ae)]);var _0x159a8c=_0x5cbd19[_0x3ecce9(0x17b)][_0x3ecce9(0x2bb)](_0x5c5a2f,_0x26442b[_0x3ecce9(0x343)],_0x26442b[_0x3ecce9(0x166)],_0x2823ca[_0x3ecce9(0x2ca)],_0x5cbd19[_0x3ecce9(0x1f9)]);_0x5cbd19['iv']=_0x159a8c['iv'];var _0x3efcce=_0x5188f3[_0x3ecce9(0x131)][_0x3ecce9(0x25e)](this,_0x26442b,_0x2823ca,_0x159a8c[_0x3ecce9(0x117)],_0x5cbd19);return _0x3efcce;}});}();}));}(Te)),Te['exports'];}var ki=fe[_0x5c6280(0x331)],it;function Hi(){var _0x2caeca=_0x5c6280;return it||(it=0x1,function(_0x2b3652,_0x17eacf){(function(_0x22f24f,_0x50c0eb,_0x4bb34c){var _0x3cb10f=_0x816a;_0x2b3652[_0x3cb10f(0x331)]=_0x50c0eb(Q(),yt(),Di(),Nt(),Ut());}(ki,function(_0x3b8485){var _0x2f3434=_0x816a;return(function(){var _0x19118c=_0x816a,_0x1ef629=_0x3b8485,_0x331eaa=_0x1ef629[_0x19118c(0x2d3)],_0x348b9f=_0x331eaa['BlockCipher'],_0x6f3bdc=_0x1ef629[_0x19118c(0x13f)],_0x41f28d=[],_0x21ef5b=[],_0x219470=[],_0x47c67a=[],_0x54c2dd=[],_0x367a63=[],_0x5cbb20=[],_0x2f82f4=[],_0x300959=[],_0x486421=[];(function(){for(var _0x59e74d=[],_0x37b352=0x0;_0x37b352<0x100;_0x37b352++)_0x37b352<0x80?_0x59e74d[_0x37b352]=_0x37b352<<0x1:_0x59e74d[_0x37b352]=_0x37b352<<0x1^0x11b;for(var _0x54d102=0x0,_0x5c17b0=0x0,_0x37b352=0x0;_0x37b352<0x100;_0x37b352++){var _0x4997c2=_0x5c17b0^_0x5c17b0<<0x1^_0x5c17b0<<0x2^_0x5c17b0<<0x3^_0x5c17b0<<0x4;_0x4997c2=_0x4997c2>>>0x8^_0x4997c2&0xff^0x63,_0x41f28d[_0x54d102]=_0x4997c2,_0x21ef5b[_0x4997c2]=_0x54d102;var _0x1b7a93=_0x59e74d[_0x54d102],_0x41c1b3=_0x59e74d[_0x1b7a93],_0x3aabee=_0x59e74d[_0x41c1b3],_0x147d34=_0x59e74d[_0x4997c2]*0x101^_0x4997c2*0x1010100;_0x219470[_0x54d102]=_0x147d34<<0x18|_0x147d34>>>0x8,_0x47c67a[_0x54d102]=_0x147d34<<0x10|_0x147d34>>>0x10,_0x54c2dd[_0x54d102]=_0x147d34<<0x8|_0x147d34>>>0x18,_0x367a63[_0x54d102]=_0x147d34;var _0x147d34=_0x3aabee*0x1010101^_0x41c1b3*0x10001^_0x1b7a93*0x101^_0x54d102*0x1010100;_0x5cbb20[_0x4997c2]=_0x147d34<<0x18|_0x147d34>>>0x8,_0x2f82f4[_0x4997c2]=_0x147d34<<0x10|_0x147d34>>>0x10,_0x300959[_0x4997c2]=_0x147d34<<0x8|_0x147d34>>>0x18,_0x486421[_0x4997c2]=_0x147d34,_0x54d102?(_0x54d102=_0x1b7a93^_0x59e74d[_0x59e74d[_0x59e74d[_0x3aabee^_0x1b7a93]]],_0x5c17b0^=_0x59e74d[_0x59e74d[_0x5c17b0]]):_0x54d102=_0x5c17b0=0x1;}}());var _0x556faa=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x108372=_0x6f3bdc[_0x19118c(0x411)]=_0x348b9f[_0x19118c(0xc2)]({'_doReset':function(){var _0x6bba83=_0x19118c,_0x54b535;if(!(this[_0x6bba83(0xa8)]&&this[_0x6bba83(0x1bd)]===this[_0x6bba83(0x272)])){for(var _0x1e5df0=this[_0x6bba83(0x1bd)]=this[_0x6bba83(0x272)],_0x1e5e8f=_0x1e5df0[_0x6bba83(0x19b)],_0x5a4e04=_0x1e5df0[_0x6bba83(0x156)]/0x4,_0x297b73=this[_0x6bba83(0xa8)]=_0x5a4e04+0x6,_0x235443=(_0x297b73+0x1)*0x4,_0x400ba5=this['_keySchedule']=[],_0x192c1b=0x0;_0x192c1b<_0x235443;_0x192c1b++)_0x192c1b<_0x5a4e04?_0x400ba5[_0x192c1b]=_0x1e5e8f[_0x192c1b]:(_0x54b535=_0x400ba5[_0x192c1b-0x1],_0x192c1b%_0x5a4e04?_0x5a4e04>0x6&&_0x192c1b%_0x5a4e04==0x4&&(_0x54b535=_0x41f28d[_0x54b535>>>0x18]<<0x18|_0x41f28d[_0x54b535>>>0x10&0xff]<<0x10|_0x41f28d[_0x54b535>>>0x8&0xff]<<0x8|_0x41f28d[_0x54b535&0xff]):(_0x54b535=_0x54b535<<0x8|_0x54b535>>>0x18,_0x54b535=_0x41f28d[_0x54b535>>>0x18]<<0x18|_0x41f28d[_0x54b535>>>0x10&0xff]<<0x10|_0x41f28d[_0x54b535>>>0x8&0xff]<<0x8|_0x41f28d[_0x54b535&0xff],_0x54b535^=_0x556faa[_0x192c1b/_0x5a4e04|0x0]<<0x18),_0x400ba5[_0x192c1b]=_0x400ba5[_0x192c1b-_0x5a4e04]^_0x54b535);for(var _0x2a2e50=this[_0x6bba83(0x40c)]=[],_0x156d57=0x0;_0x156d57<_0x235443;_0x156d57++){var _0x192c1b=_0x235443-_0x156d57;if(_0x156d57%0x4)var _0x54b535=_0x400ba5[_0x192c1b];else var _0x54b535=_0x400ba5[_0x192c1b-0x4];_0x156d57<0x4||_0x192c1b<=0x4?_0x2a2e50[_0x156d57]=_0x54b535:_0x2a2e50[_0x156d57]=_0x5cbb20[_0x41f28d[_0x54b535>>>0x18]]^_0x2f82f4[_0x41f28d[_0x54b535>>>0x10&0xff]]^_0x300959[_0x41f28d[_0x54b535>>>0x8&0xff]]^_0x486421[_0x41f28d[_0x54b535&0xff]];}}},'encryptBlock':function(_0x58b651,_0x33e32e){var _0x18f913=_0x19118c;this[_0x18f913(0x2dd)](_0x58b651,_0x33e32e,this[_0x18f913(0x1d9)],_0x219470,_0x47c67a,_0x54c2dd,_0x367a63,_0x41f28d);},'decryptBlock':function(_0xb4acd0,_0x28e0ae){var _0x40843e=_0x19118c,_0x35de0f=_0xb4acd0[_0x28e0ae+0x1];_0xb4acd0[_0x28e0ae+0x1]=_0xb4acd0[_0x28e0ae+0x3],_0xb4acd0[_0x28e0ae+0x3]=_0x35de0f,this[_0x40843e(0x2dd)](_0xb4acd0,_0x28e0ae,this[_0x40843e(0x40c)],_0x5cbb20,_0x2f82f4,_0x300959,_0x486421,_0x21ef5b);var _0x35de0f=_0xb4acd0[_0x28e0ae+0x1];_0xb4acd0[_0x28e0ae+0x1]=_0xb4acd0[_0x28e0ae+0x3],_0xb4acd0[_0x28e0ae+0x3]=_0x35de0f;},'_doCryptBlock':function(_0x157451,_0x2ddee0,_0xadb52d,_0x4de431,_0x1def8d,_0x194b8a,_0x5955b2,_0xf20c0c){for(var _0x16ad96=this['_nRounds'],_0x49a7dd=_0x157451[_0x2ddee0]^_0xadb52d[0x0],_0x1c0854=_0x157451[_0x2ddee0+0x1]^_0xadb52d[0x1],_0x1a3b0d=_0x157451[_0x2ddee0+0x2]^_0xadb52d[0x2],_0x17b931=_0x157451[_0x2ddee0+0x3]^_0xadb52d[0x3],_0x370fb4=0x4,_0x22d9ef=0x1;_0x22d9ef<_0x16ad96;_0x22d9ef++){var _0x533449=_0x4de431[_0x49a7dd>>>0x18]^_0x1def8d[_0x1c0854>>>0x10&0xff]^_0x194b8a[_0x1a3b0d>>>0x8&0xff]^_0x5955b2[_0x17b931&0xff]^_0xadb52d[_0x370fb4++],_0xca0ef4=_0x4de431[_0x1c0854>>>0x18]^_0x1def8d[_0x1a3b0d>>>0x10&0xff]^_0x194b8a[_0x17b931>>>0x8&0xff]^_0x5955b2[_0x49a7dd&0xff]^_0xadb52d[_0x370fb4++],_0x52bcb0=_0x4de431[_0x1a3b0d>>>0x18]^_0x1def8d[_0x17b931>>>0x10&0xff]^_0x194b8a[_0x49a7dd>>>0x8&0xff]^_0x5955b2[_0x1c0854&0xff]^_0xadb52d[_0x370fb4++],_0xd0be4a=_0x4de431[_0x17b931>>>0x18]^_0x1def8d[_0x49a7dd>>>0x10&0xff]^_0x194b8a[_0x1c0854>>>0x8&0xff]^_0x5955b2[_0x1a3b0d&0xff]^_0xadb52d[_0x370fb4++];_0x49a7dd=_0x533449,_0x1c0854=_0xca0ef4,_0x1a3b0d=_0x52bcb0,_0x17b931=_0xd0be4a;}var _0x533449=(_0xf20c0c[_0x49a7dd>>>0x18]<<0x18|_0xf20c0c[_0x1c0854>>>0x10&0xff]<<0x10|_0xf20c0c[_0x1a3b0d>>>0x8&0xff]<<0x8|_0xf20c0c[_0x17b931&0xff])^_0xadb52d[_0x370fb4++],_0xca0ef4=(_0xf20c0c[_0x1c0854>>>0x18]<<0x18|_0xf20c0c[_0x1a3b0d>>>0x10&0xff]<<0x10|_0xf20c0c[_0x17b931>>>0x8&0xff]<<0x8|_0xf20c0c[_0x49a7dd&0xff])^_0xadb52d[_0x370fb4++],_0x52bcb0=(_0xf20c0c[_0x1a3b0d>>>0x18]<<0x18|_0xf20c0c[_0x17b931>>>0x10&0xff]<<0x10|_0xf20c0c[_0x49a7dd>>>0x8&0xff]<<0x8|_0xf20c0c[_0x1c0854&0xff])^_0xadb52d[_0x370fb4++],_0xd0be4a=(_0xf20c0c[_0x17b931>>>0x18]<<0x18|_0xf20c0c[_0x49a7dd>>>0x10&0xff]<<0x10|_0xf20c0c[_0x1c0854>>>0x8&0xff]<<0x8|_0xf20c0c[_0x1a3b0d&0xff])^_0xadb52d[_0x370fb4++];_0x157451[_0x2ddee0]=_0x533449,_0x157451[_0x2ddee0+0x1]=_0xca0ef4,_0x157451[_0x2ddee0+0x2]=_0x52bcb0,_0x157451[_0x2ddee0+0x3]=_0xd0be4a;},'keySize':0x100/0x20});_0x1ef629['AES']=_0x348b9f['_createHelper'](_0x108372);}()),_0x3b8485[_0x2f3434(0x411)];}));}(fe)),fe[_0x2caeca(0x331)];}var $i=Hi();const ji=ve($i);var Bi=yt();const nt=ve(Bi);var be={'exports':{}},Fi=be[_0x5c6280(0x331)],rt;function Vi(){var _0x607cf7=_0x5c6280;return rt||(rt=0x1,function(_0x5bb502,_0x39bc59){(function(_0x4216a9,_0x250d20){var _0x3df12a=_0x816a;_0x5bb502[_0x3df12a(0x331)]=_0x250d20(Q());}(Fi,function(_0x38e862){var _0x6debb0=_0x816a;return _0x38e862[_0x6debb0(0x21d)][_0x6debb0(0x301)];}));}(be)),be[_0x607cf7(0x331)];}var Wi=Vi();const Gi=ve(Wi);var Re={'exports':{}},Ki=Re['exports'],st;function Yi(){var _0x14c632=_0x5c6280;return st||(st=0x1,function(_0x132b45,_0xd4e9d6){(function(_0x4e009d,_0x174c85){var _0xf1e423=_0x816a;_0x132b45[_0xf1e423(0x331)]=_0x174c85(Q());}(Ki,function(_0x28a920){var _0x515025=_0x816a;return(function(){var _0x3e07ce=_0x816a;if(typeof ArrayBuffer==_0x3e07ce(0x260)){var _0x448062=_0x28a920,_0x335eda=_0x448062[_0x3e07ce(0x2d3)],_0x110ff7=_0x335eda[_0x3e07ce(0x40b)],_0x5f3fbe=_0x110ff7[_0x3e07ce(0x1a3)],_0x17fb0b=_0x110ff7['init']=function(_0x54aba8){var _0x7bba12=_0x3e07ce;if(_0x54aba8 instanceof ArrayBuffer&&(_0x54aba8=new Uint8Array(_0x54aba8)),(_0x54aba8 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x54aba8 instanceof Uint8ClampedArray||_0x54aba8 instanceof Int16Array||_0x54aba8 instanceof Uint16Array||_0x54aba8 instanceof Int32Array||_0x54aba8 instanceof Uint32Array||_0x54aba8 instanceof Float32Array||_0x54aba8 instanceof Float64Array)&&(_0x54aba8=new Uint8Array(_0x54aba8[_0x7bba12(0xcf)],_0x54aba8[_0x7bba12(0x3fa)],_0x54aba8[_0x7bba12(0x359)])),_0x54aba8 instanceof Uint8Array){for(var _0xe3eeea=_0x54aba8[_0x7bba12(0x359)],_0x378b55=[],_0x4cf7b6=0x0;_0x4cf7b6<_0xe3eeea;_0x4cf7b6++)_0x378b55[_0x4cf7b6>>>0x2]|=_0x54aba8[_0x4cf7b6]<<0x18-_0x4cf7b6%0x4*0x8;_0x5f3fbe[_0x7bba12(0x25e)](this,_0x378b55,_0xe3eeea);}else _0x5f3fbe[_0x7bba12(0x2bf)](this,arguments);};_0x17fb0b[_0x3e07ce(0x33b)]=_0x110ff7;}}()),_0x28a920[_0x515025(0x2d3)][_0x515025(0x40b)];}));}(Re)),Re[_0x14c632(0x331)];}var qi=Yi();const zi=ve(qi);var Oe={'exports':{}},Ji=Oe[_0x5c6280(0x331)],ot;function Xi(){var _0x260fc6=_0x5c6280;return ot||(ot=0x1,function(_0x53ab85,_0x3f6fb8){(function(_0x73167c,_0x37e728,_0x137aed){_0x53ab85['exports']=_0x37e728(Q(),Ut());}(Ji,function(_0x446fd1){var _0x4e61e0=_0x816a;return _0x446fd1['pad']['NoPadding']={'pad':function(){},'unpad':function(){}},_0x446fd1[_0x4e61e0(0x164)][_0x4e61e0(0x311)];}));}(Oe)),Oe[_0x260fc6(0x331)];}var Zi=Xi();const Qi=ve(Zi);function en(_0x1a1dea,_0x10e158){var _0x377042=_0x5c6280;const _0x2e750a=_0x10e158-_0x1a1dea[_0x377042(0x19f)]%_0x10e158,_0x41f3a7=String[_0x377042(0x2ee)](_0x2e750a)[_0x377042(0x34c)](_0x2e750a);return _0x1a1dea+_0x41f3a7;}function tn(_0x4e21a9,_0x416c10){var _0x14f6c2=_0x5c6280;const _0x589e88=zi[_0x14f6c2(0x2cf)](0x10),_0x5da929=en(_0x4e21a9,0x10),_0x34e453=ji[_0x14f6c2(0x102)](Gi[_0x14f6c2(0x17a)](_0x5da929),nt[_0x14f6c2(0x17a)](_0x416c10),{'iv':_0x589e88,'padding':Qi});return _0x589e88['concat'](_0x34e453[_0x14f6c2(0x3c4)])[_0x14f6c2(0xb8)](nt);}function nn(){var _0x1c04ff=_0x5c6280;const _0x492b56=wt[_0x1c04ff(0x269)]()[_0x1c04ff(0x229)];if(_0x492b56){const _0x59c197={'time':Math[_0x1c04ff(0x2a3)](Date[_0x1c04ff(0x222)]()/0x3e8),'domain':location[_0x1c04ff(0x27d)]};return tn(JSON['stringify'](_0x59c197),_0x492b56);}}var rn=Object[_0x5c6280(0x241)],sn=(_0x1fa740,_0x6c97a0,_0x17d30b,_0x1d8047)=>{var _0x23b105=_0x5c6280;for(var _0x429c6d=_0x1d8047>0x1?void 0x0:_0x1d8047?rn(_0x6c97a0,_0x17d30b):_0x6c97a0,_0x393d6a=_0x1fa740[_0x23b105(0x19f)]-0x1,_0x54c564;_0x393d6a>=0x0;_0x393d6a--)(_0x54c564=_0x1fa740[_0x393d6a])&&(_0x429c6d=_0x54c564(_0x429c6d)||_0x429c6d);return _0x429c6d;},on=(_0x4a181b,_0x197f8a)=>(_0x59a2ed,_0x481f79)=>_0x197f8a(_0x59a2ed,_0x481f79,_0x4a181b);let Ne=class{constructor(_0x413ce0){var _0x579fdb=_0x5c6280;this[_0x579fdb(0x236)]=_0x413ce0,this[_0x579fdb(0xdb)]();}['_initRequestHeader'](){var _0x999679=_0x5c6280;this[_0x999679(0x236)][_0x999679(0x16e)]({'interceptor':(_0x2b2b18,_0x2fdbe5)=>{var _0x6a7b99=_0x999679;const _0x508251=_0x2b2b18[_0x6a7b99(0x15f)],_0x5ac910=nn();return _0x5ac910&&_0x508251[_0x6a7b99(0x2e6)](_0x6a7b99(0x3ef),_0x5ac910),_0x2fdbe5(_0x2b2b18);}});}};Ne=sn([on(0x0,a[_0x5c6280(0x273)](Y[_0x5c6280(0x41e)]))],Ne);var an=Object[_0x5c6280(0x241)],cn=(_0x4ca46d,_0x1c8c8e,_0x4b8fe4,_0x572e5c)=>{var _0x2f311e=_0x5c6280;for(var _0x7a4c89=_0x572e5c>0x1?void 0x0:_0x572e5c?an(_0x1c8c8e,_0x4b8fe4):_0x1c8c8e,_0x26553c=_0x4ca46d[_0x2f311e(0x19f)]-0x1,_0x1f6f8b;_0x26553c>=0x0;_0x26553c--)(_0x1f6f8b=_0x4ca46d[_0x26553c])&&(_0x7a4c89=_0x1f6f8b(_0x7a4c89)||_0x7a4c89);return _0x7a4c89;},we=(_0x9e89dd,_0x2f3b9e)=>(_0x53550d,_0x100c8f)=>_0x2f3b9e(_0x53550d,_0x100c8f,_0x9e89dd);exports[_0x5c6280(0x2aa)]=class extends a['RxDisposable']{constructor(_0x13ea7f,_0x3a8f57,_0x46a22b){var _0x151718=_0x5c6280;super(),A(this,_0x151718(0x21b),new $['BehaviorSubject'](null)),A(this,_0x151718(0x23c),this[_0x151718(0x21b)]['asObservable']()),(this['_logService']=_0x13ea7f,this['_snapshotService']=_0x3a8f57,this['_localCacheService']=_0x46a22b);}async[_0x5c6280(0x39b)](_0x5c0147,_0x5adf83,_0x2e41e0){var _0x1387c8=_0x5c6280;this[_0x1387c8(0x21b)][_0x1387c8(0x134)]({'unitId':_0x5c0147,'type':_0x5adf83});let _0x240b20=null;switch(_0x5adf83){case J[_0x1387c8(0x372)]:{_0x240b20=await this[_0x1387c8(0x346)][_0x1387c8(0x3cf)](_0x5c0147,_0x2e41e0);break;}case J[_0x1387c8(0x1dd)]:{_0x240b20=await this[_0x1387c8(0x346)][_0x1387c8(0x1f0)](_0x5c0147,_0x2e41e0);break;}default:{this[_0x1387c8(0x41f)]['error'](_0x1387c8(0x3d9),_0x1387c8(0x40a));break;}}return _0x240b20;}async['loadUnit'](_0x49ffce,_0x36f1c5,_0x1f513f){var _0x10d183=_0x5c6280,_0x3d46b8;this[_0x10d183(0x21b)]['next']({'unitId':_0x49ffce,'type':_0x36f1c5,'subUnitId':_0x1f513f});let _0x421c26=0x0;const _0xcb0e25=await((_0x3d46b8=this[_0x10d183(0x3fb)])==null?void 0x0:_0x3d46b8['loadOfflineData'](_0x49ffce));return _0xcb0e25&&(_0xcb0e25[_0x10d183(0x408)]||_0xcb0e25[_0x10d183(0x2c0)][_0x10d183(0x19f)]!==0x0)&&(_0x421c26=_0xcb0e25[_0x10d183(0x2e1)]),_0x421c26===0x0&&this[_0x10d183(0x41f)][_0x10d183(0x3c7)](_0x10d183(0x3d9),_0x10d183(0x1fa)),this['loadUnitOfRevision'](_0x49ffce,_0x36f1c5,_0x421c26);}},exports[_0x5c6280(0x2aa)]=cn([we(0x0,a[_0x5c6280(0x126)]),we(0x1,a[_0x5c6280(0x273)](I[_0x5c6280(0x258)])),we(0x2,a[_0x5c6280(0x1d5)](q))],exports['DataLoaderService']);var hn=Object[_0x5c6280(0x241)],_n=(_0x1c7f72,_0x1ce0d8,_0x342b20,_0x2a00ba)=>{var _0x46087c=_0x5c6280;for(var _0x231aec=_0x2a00ba>0x1?void 0x0:_0x2a00ba?hn(_0x1ce0d8,_0x342b20):_0x1ce0d8,_0x4269ef=_0x1c7f72[_0x46087c(0x19f)]-0x1,_0x1f912c;_0x4269ef>=0x0;_0x4269ef--)(_0x1f912c=_0x1c7f72[_0x4269ef])&&(_0x231aec=_0x1f912c(_0x231aec)||_0x231aec);return _0x231aec;},Le=(_0x590d42,_0x6dc6b0)=>(_0x84d288,_0x583e3b)=>_0x6dc6b0(_0x84d288,_0x583e3b,_0x590d42);function _0x816a(_0x437602,_0x4cf8d9){var _0x183520=_0x1835();return _0x816a=function(_0x816aa1,_0x36918d){_0x816aa1=_0x816aa1-0xa4;var _0x329b27=_0x183520[_0x816aa1];return _0x329b27;},_0x816a(_0x437602,_0x4cf8d9);}const ln=[_0x5c6280(0x337),_0x5c6280(0xa4),'image/jpg',_0x5c6280(0x18e),'image/bmp'],un=0x5*0x400*0x400,dn=_0x5c6280(0x383),vn=_0x5c6280(0x25f),Sn='EXCHANGE_SIGN_URL_SERVER_URL_KEY',fn='/universer-api/file/{fileID}/sign-url';exports[_0x5c6280(0x259)]=class{constructor(_0x382b1f,_0x19ad4b,_0x31b02d){var _0x509bbb=_0x5c6280;A(this,_0x509bbb(0x127),0x0),A(this,_0x509bbb(0x16d),new $[(_0x509bbb(0x3fc))]()),A(this,'change$',this[_0x509bbb(0x16d)]),A(this,_0x509bbb(0x1ca),new Map()),(this[_0x509bbb(0x236)]=_0x382b1f,this[_0x509bbb(0x145)]=_0x19ad4b,this[_0x509bbb(0x150)]=_0x31b02d);}['setWaitCount'](_0xd9786a){var _0x2f3de2=_0x5c6280;this[_0x2f3de2(0x127)]=_0xd9786a,this[_0x2f3de2(0x16d)]['next'](_0xd9786a);}[_0x5c6280(0x3f2)](_0x19cce6,_0x20a94a){var _0x51387b=_0x5c6280;if(_0x20a94a===z[_0x51387b(0x25c)]['BASE64']){const _0x451b10=new Image();return _0x451b10[_0x51387b(0xc8)]=_0x19cce6,_0x451b10;}return this[_0x51387b(0x1ca)][_0x51387b(0x3a7)](_0x19cce6);}['addImageSourceCache'](_0x149186,_0xd292f2,_0x3e7606){var _0x19e80a=_0x5c6280;_0xd292f2===z[_0x19e80a(0x25c)]['BASE64']||_0x3e7606==null||this[_0x19e80a(0x1ca)][_0x19e80a(0x2e6)](_0x149186,_0x3e7606);}async['getImage'](_0x11019f){var _0x228f1c=_0x5c6280;try{const _0x16be9b=this[_0x228f1c(0x100)](this[_0x228f1c(0x206)](),''+_0x11019f),_0x484d5d=(await this['_httpService']['get'](_0x16be9b))['body'];if(_0x484d5d[_0x228f1c(0x348)]&&_0x484d5d['error'][_0x228f1c(0xb4)]===gt['OK']){const _0x4b5a44=new URL(_0x484d5d[_0x228f1c(0x1be)],this[_0x228f1c(0x168)]())[_0x228f1c(0xb8)]();return Promise[_0x228f1c(0xb0)](_0x4b5a44);}return Promise[_0x228f1c(0x3a6)](_0x484d5d[_0x228f1c(0x348)]);}catch(_0x1a7c1d){return Promise['reject'](_0x1a7c1d);}}async[_0x5c6280(0x115)](_0x2e79a9){var _0x398e7b=_0x5c6280;let _0x2ef146='';if(!ln[_0x398e7b(0x21e)](_0x2e79a9[_0x398e7b(0x11a)]))return this[_0x398e7b(0x15c)](),Promise[_0x398e7b(0x3a6)](new Error(z[_0x398e7b(0x256)][_0x398e7b(0x215)]));if(_0x2e79a9[_0x398e7b(0x2d9)]>un)return this[_0x398e7b(0x15c)](),Promise[_0x398e7b(0x3a6)](new Error(z[_0x398e7b(0x256)][_0x398e7b(0xe1)]));try{const _0x584ef6=new FormData();_0x584ef6['append'](_0x398e7b(0x3c8),_0x2e79a9);const _0x5daa56=this[_0x398e7b(0x150)][_0x398e7b(0x205)](),_0x5e366c=_0x5daa56==null?void 0x0:_0x5daa56['getUnitId']();if(!_0x5e366c)throw new Error(_0x398e7b(0x24c));const _0x4ae5c2=this['_getUploadFileURL']()+_0x398e7b(0xba)+_0x2e79a9[_0x398e7b(0x2d9)][_0x398e7b(0xb8)]()+_0x398e7b(0x294)+Et[_0x398e7b(0x28a)]+_0x398e7b(0x1db)+encodeURIComponent(_0x5e366c),_0x564777={'body':_0x584ef6},_0x2fef6b=(await this[_0x398e7b(0x236)][_0x398e7b(0x253)](_0x4ae5c2,_0x564777))[_0x398e7b(0x390)];if(typeof _0x2fef6b[_0x398e7b(0x1f3)]!=_0x398e7b(0x22f))return this[_0x398e7b(0x15c)](),Promise[_0x398e7b(0x3a6)](new Error(z[_0x398e7b(0x256)][_0x398e7b(0x2f2)]));_0x2ef146=_0x2fef6b['FileId'];}catch{return this['_decreaseWaiting'](),Promise[_0x398e7b(0x3a6)](new Error(z['ImageUploadStatusType'][_0x398e7b(0x2f2)]));}return new Promise((_0x40be4f,_0x539f61)=>{var _0x166de2=_0x398e7b;const _0x1e9869=new FileReader();_0x1e9869[_0x166de2(0x3ad)](_0x2e79a9),_0x1e9869['onload']=_0x56b796=>{var _0x4fc496=_0x166de2,_0x4d625f;const _0x389cde=(_0x4d625f=_0x56b796[_0x4fc496(0x27b)])==null?void 0x0:_0x4d625f['result'];if(_0x389cde==null){this[_0x4fc496(0x15c)](),_0x539f61(new Error(z['ImageUploadStatusType'][_0x4fc496(0x2f2)]));return;}const _0x4d7b9d=a['Tools'][_0x4fc496(0x2ed)](0x6);_0x40be4f({'imageId':_0x4d7b9d,'imageSourceType':z[_0x4fc496(0x25c)]['UUID'],'source':_0x2ef146,'base64Cache':_0x389cde,'status':z['ImageUploadStatusType']['SUCCUSS']}),this['_decreaseWaiting']();};});}[_0x5c6280(0x275)](){var _0x17dc3e=_0x5c6280,_0x5a13d0,_0x107a47;const _0x427f73=this[_0x17dc3e(0x145)][_0x17dc3e(0x3ff)](dn),_0x829041=this[_0x17dc3e(0x145)][_0x17dc3e(0x3ff)](K);return(_0x107a47=(_0x5a13d0=_0x829041==null?void 0x0:_0x829041[_0x17dc3e(0x195)])!=null?_0x5a13d0:_0x427f73)!=null?_0x107a47:vn;}[_0x5c6280(0x206)](){var _0x513f38=_0x5c6280,_0x4a92ea,_0x1b49ce;const _0x2228e9=this[_0x513f38(0x145)][_0x513f38(0x3ff)](Sn),_0x18c9af=this[_0x513f38(0x145)][_0x513f38(0x3ff)](K);return(_0x1b49ce=(_0x4a92ea=_0x18c9af==null?void 0x0:_0x18c9af[_0x513f38(0x1bb)])!=null?_0x4a92ea:_0x2228e9)!=null?_0x1b49ce:fn;}['_getDownloadEndpointURL'](){var _0x193592=_0x5c6280,_0x273cd3;const _0x4d97d5=this[_0x193592(0x145)][_0x193592(0x3ff)](K);return(_0x273cd3=_0x4d97d5==null?void 0x0:_0x4d97d5['downloadEndpointUrl'])!=null?_0x273cd3:location[_0x193592(0x19a)];}['_replaceFileID'](_0x18fff7,_0x165d41){var _0x50e33a=_0x5c6280;return _0x18fff7[_0x50e33a(0x179)](_0x50e33a(0x173),_0x165d41);}[_0x5c6280(0x15c)](){var _0x27329d=_0x5c6280;this[_0x27329d(0x127)]-=0x1,this[_0x27329d(0x16d)][_0x27329d(0x134)](this['_waitCount']);}},exports[_0x5c6280(0x259)]=_n([Le(0x0,a[_0x5c6280(0x273)](Y[_0x5c6280(0x41e)])),Le(0x1,a[_0x5c6280(0x286)]),Le(0x2,a[_0x5c6280(0x273)](a[_0x5c6280(0x183)]))],exports[_0x5c6280(0x259)]);var pn=Object[_0x5c6280(0x241)],In=(_0x518b45,_0x418835,_0x224868,_0x2f3d8c)=>{var _0x19c760=_0x5c6280;for(var _0x1fd010=_0x2f3d8c>0x1?void 0x0:_0x2f3d8c?pn(_0x418835,_0x224868):_0x418835,_0x29c8b2=_0x518b45[_0x19c760(0x19f)]-0x1,_0xf09f84;_0x29c8b2>=0x0;_0x29c8b2--)(_0xf09f84=_0x518b45[_0x29c8b2])&&(_0x1fd010=_0xf09f84(_0x1fd010)||_0x1fd010);return _0x1fd010;},at=(_0xeb902a,_0x182ed9)=>(_0x35eed3,_0x3f0b38)=>_0x182ed9(_0x35eed3,_0x3f0b38,_0xeb902a);const gn='/universer-api/authz';exports[_0x5c6280(0x356)]=class{constructor(_0x55c6ca,_0x525d2b){var _0x2b602e=_0x5c6280;this[_0x2b602e(0x145)]=_0x55c6ca,this[_0x2b602e(0x14a)]=_0x525d2b;}[_0x5c6280(0x11f)](){var _0x383d07=_0x5c6280,_0x54bc69,_0x3b6518;const _0x2b6a25=this[_0x383d07(0x145)][_0x383d07(0x3ff)](Ve),_0x4d64e8=this[_0x383d07(0x145)]['getConfig'](K);return(_0x3b6518=(_0x54bc69=_0x4d64e8==null?void 0x0:_0x4d64e8['authzUrl'])!=null?_0x54bc69:_0x2b6a25)!=null?_0x3b6518:gn;}async[_0x5c6280(0x2a4)](_0x4810b5){var _0x202e64=_0x5c6280;const _0xaf5f8b=this[_0x202e64(0x11f)]()+_0x202e64(0x1e7);return{'list':[{'title':_0x202e64(0x244),'mentions':(await this[_0x202e64(0x14a)][_0x202e64(0x3a7)](_0xaf5f8b,{'params':{'objectID':_0x4810b5[_0x202e64(0x1a8)],'unitID':_0x4810b5[_0x202e64(0x1a8)]}}))['body'][_0x202e64(0x2eb)][_0x202e64(0x2ad)](_0x526868=>({'objectId':_0x526868['id'],'name':_0x526868[_0x202e64(0x1cb)][_0x202e64(0xac)],'metadata':{'icon':_0x526868[_0x202e64(0x1cb)][_0x202e64(0x24b)]},'label':_0x526868[_0x202e64(0x1cb)][_0x202e64(0xac)],'objectType':a[_0x202e64(0x1ff)][_0x202e64(0x185)]})),'metadata':{},'type':a[_0x202e64(0x1ff)][_0x202e64(0x185)]}]};}},exports['MentionIoHttpService']=In([at(0x0,a[_0x5c6280(0x273)](a[_0x5c6280(0x286)])),at(0x1,a['Inject'](Y[_0x5c6280(0x41e)]))],exports[_0x5c6280(0x356)]);var En=Object[_0x5c6280(0x241)],mn=(_0x2dc7f2,_0x1f170f,_0x32cfa7,_0x27941c)=>{var _0x131961=_0x5c6280;for(var _0x808199=_0x27941c>0x1?void 0x0:_0x27941c?En(_0x1f170f,_0x32cfa7):_0x1f170f,_0x4e2c64=_0x2dc7f2[_0x131961(0x19f)]-0x1,_0x3402a2;_0x4e2c64>=0x0;_0x4e2c64--)(_0x3402a2=_0x2dc7f2[_0x4e2c64])&&(_0x808199=_0x3402a2(_0x808199)||_0x808199);return _0x808199;},le=(_0x6029bf,_0x59689e)=>(_0x365a77,_0x31e197)=>_0x59689e(_0x365a77,_0x31e197,_0x6029bf);function _0x1835(){var _0x128615=['onCommandExecuted','EmptyMutation','getTypeOfUnitDisposed$','_socketMessageSubscription','MSG_FOR_ERROR','MD5','_key','Inject','withCredentials','_getUploadFileURL','_onLocalMutation','getRandomValues','_showConflictNotification','SerializableCipher','transformUndoRedo','target','onMissingChangesets','hostname','__creator','getAllMembers','IUndoRedoService','RETRY_CONNECTING_MAX_COUNT_KEY','CollaborationSession','COLLAB_SUBMIT_CHANGESET_URL_KEY','charAt','RxDisposable','IConfigService','UPDATE_CURSOR','getCurrentUser','_iKey','UnitEmbedded','AUTHZ_URL_KEY','CBC','clamp','_doReset','permissionRejEvent','listRoles','onlyLocal','PendingState','SNAPSHOT_HAS_BEEN_REMOVED','&source=','CipherParams','_state','CollaborationSessionService','UNRECOGNIZED','getRoom','COLLAB_WEB_SOCKET_URL','DEFAULT_WS_SESSION_TICKET_URL','_sendHeartbeatTimer','_socketReady','updateCursorEvent','SNAPSHOT_URL_KEY','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','HmacMD5','revision','floor','list','saveSheetBlock','NOT_COLLAB','MergeInterceptorFactory','214072AHZhgw','_updateStatus','DataLoaderService','add','BufferedBlockAlgorithm','map','_startTelemetryCollaborationNewChangeset','CompressMutationService','deepClone','_onFetchMissResult','getActiveSheet','liveShareOperation','subUnitId','ThresholdInterceptorFactory','_transformUndoredo','sid','UnitStatus','_sendHeartbeat','_updateState','execute','__esModule','onRemoteAck','[SyncedState]:\x20received\x20acknowledgement.','apply','mutations','state$','_oKey','put','fetch_missing','createCollaborator','disableLocalCache','createInstance','COMPRESS_MUTATION_SEND','YUUMI_NO_CUBOID_FOR_QUESTION','salt','Decryptor','COMPRESS_MUTATION_APPLY','EvpKDF','YUUMI_ASYNCIO_CANCELLED','random','INetworkConditionService','_collaborationTimeoutTimer','_entityInit$','lib','_timeoutTimer','close$','CHANGESET_REJ','_changesetReqId','delay','size','_getAPIPrefix','1353Tfvuzf','_getLoginPath','_doCryptBlock','shareReplay','Hex','[SyncedState]:\x20received\x20rejection.','rev','objectID','memberID','isPermissionRej','_schedule','set','_cipher','9aQITpW','SheetCollaborationEntity','session','collaborators','sessionStatus$','generateRandomId','fromCharCode','fromCollab','event$','_onRemoteACK','ERROR_IMAGE','Failed\x20to\x20update\x20permission\x20point','incrementRevOfUnit','_unitID','_executeRemoteChangeset','editing\x20status\x20changed\x20to','enableSingleActiveInstanceLock','subscribe','_unlockTransition','has','COLLAB_WEB_SOCKET_URL_KEY','_disableEditing','onRemoteRetry','unpad','/role','Utf8','getSheetBlock','update','_onJoinRoomEvent','DEFAULT_FILE_NAME','$super','fetchMiss','requestParams','symbol','YUUMI_SUBSCRIPTION_NOT_FOUND','ICommandService','leaveEvent','isInternalEditorID','_minBufferSize','ITelemetryService','reqId','NoPadding','_fetchMissChangesets','_rescheduleHeartbeat','onMissedChangesetFetched','submit\x20changeset\x20error!','crypto','selections','_prevBlock','/-/object/-/batch_allowed','/fetchmissing?from=','LICENSE_MAX_UNITS_EXCEEDED','csAckEvent','send','_init','m2Prime','TOO_MANY_REQUESTS','Rectangle','/unit/','_createInitialState','getMember','transformMutationsWithChangeset','_event$','SyncedState','SetSelectionsOperation','socket\x20close','/allowed','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','userID','SheetTransformSelectionsService','COMMENT_UPDATE','create','_onUserLeave','exports','toggleOffline','socket\x20open.','failed\x20to\x20apply\x20missed\x20changesets!','offline','reset','image/png','SnapshotServerOverHTTPService','_ENC_XFORM_MODE','getSheetId','prototype','clear','YUUMI_URL_COL_OUT_OF_RANGE','SheetsSelectionsService','_throwTelemetryCollaborationNewChangeset','infoRsp','APPLY_REVISION_CONFILICT','JOIN','keySize','_data','HMAC','_snapshotService','_injector','error','@univerjs/drawing','unitID','APPLY_DUPLICATED','repeat','uuidv4','/universer-api/snapshot/','UNIVER_COLLABORATION_CLIENT_PLUGIN','OPTIONAL','cfg','collaboration-client.config','appendMutation','delete','LocaleService','MentionIoHttpService','HEARTBEAT','status','byteLength','Pkcs7','mapDocumentTypeToUniverType','textRanges','unsubscribe','_scheduleCompleteTimestamp','YUUMI_ALL_TABLES_IS_INVALID','/universer-api/user/session-ticket','UniverCollaborationClientPlugin','_pendingMutations','WECHAT_HAS_BEEN_BOUND','StreamCipher','toggleOnline','joinEvent','RECV','_getCtorByUniverType','_resendTimeout','univer-pro.collaboration-client.single-active-unit-service','editingUnit','createSocket','joinRsp','_handler','toDisposable','SYNCED','entries','UNIVER_SHEET','[PendingState]:\x20received\x20acknowledgement.','confirm','members$','textEncoder','getTime','_incrementRevisionNumber','CollaborationEvent','createEncryptor','SHA1','executeCommand','_clearRetryConnectingTimer','take','updatePermissionPoint','setCurrentUser','IAuthzIoService','_clearRedo','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','SNAPSHOT_INVALID_SNAPSHOT','_onConnectionFailed','error$','updateMember','_transformService','_waitForHeartbeatResponse','_transformIMECache','[PendingState]:\x20received\x20rejection.','\x20in\x20_schedule.','collaboration-client.local-cache-service','CLOSE_ROOM','loginUrlKey','body','CollaborativeUndoRedoService','UniverCollaborationPlugin','_socket$','LEAVE','_socket','interceptor','padding','_initCloseConn','sendChangesetTimeout','fetchThroughInterceptors','loadUnitOfRevision','range','sessionStatus','336PgFyUR','OpenSSL','data','dispose$','telemetry\x20info\x20is\x20not\x20initialized','every','LIVESHARE_FETCH_OPERATIONS','_hash','reject','get','forEach','ceil','GLOBAL_ROOMS_CNT_EXCEEDS','onCommentUpdate','Workbook','readAsDataURL','format','onSyncEditingCollabCursor','Disposable','_substituteUndoStack','LIVESHARE_REQUEST_HOST','_hasher','UNIVER_PROJECT','JOIN_ROOM_FULL','session.room-not-exists','CommandType','_telemetryService','compute','[CollaborationSessionService]','then','_localeService','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','decryptBlock','charCodeAt','newCsEvent','c2Prime','IImageIoService','setShowComponents','ciphertext','sin','_createHmacHelper','debug','file','_sendingTimer','[FetchMissState]','routeKey','disposeWithMe','UNKNOWN_CMD','USER_NOT_INVITED_CODE','loadSheet','transformChangesets','dispose','_instanceService','onTransformSelections','objectType','_onRemoteRejected','[CollaborationSessionService]:\x20socket\x20error','_replayCachedMutations','BehaviorSubject','[DataLoaderService]','UniverNetworkPlugin','_state$','reconnect','onTransformIME','CollaborationController','emitEvent','_initDependencies','_transformRemoteChangesetByStateCache','close','setConfig','FAIL','Hasher','collaboration_new_changeset','state','_members$','PENDING','c1Prime','workbook','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','COMPLETION_FINISHED','capture','x-univer-host','localeService','hasOwnProperty','getImageSourceCache','PERMISSION_DENIED','/universer-api/uniscript','getUnitType','_retryConnectingTimer','_sheetTransformSelectionsService','_config','loadOfflineData','byteOffset','_localCacheService','Subject','ONLINE','_onOffline','getConfig','INVITE_CODE_ALREADY_BOUND','ISnapshotServerService','_registerDependencies','INTERNAL_ERROR','_doFinalize','ISingleActiveUnitService','_onMessage','IContextService','awaitingChangeset','compose','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','WordArray','_invKeySchedule','getCollabEntity$','ENSURE_SNAPSHOT_EXECUTION','732300DNsiBK','onTransformRemoteChangesetByStateCache','AES','values','waitForRoom$','getLatestCsReqIdBySid','_collaborationPaused','roomInfos','eventID','onRemoteChangeset','CollaborationUIEventId','_userManagerService','_clearCollaborationTimeoutTimer','SEND_CHANGESET_TIMEOUT','_collaborationUIEventService','HTTPService','_logService','image/jpeg','listCollaborators','_transformRemoteChangesetByIMECache','takeUntil','_nRounds','CollaborationStatus','_resendWithTimeout','roles','name','USERS_LEAVE','removeMember','retryConnectingInterval','resolve','PSEUDO_FETCH_MISSING_RESULT','_createSocket','action','code','isArray','JOIN_ROOM_FAILED','CHANGESET_ACK','toString','cmd','?size=','href','csRejEvent','_clearLocalCache','OTHER_CLIENT_EDITING','_createInitialStateImpl','from','_getCurrentRevision','extend','HTTPRequest','merge','DocCollaborationEntity','ALREADY_EXISTS','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','src','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_initMergeInterceptor','_retryCount','@univerjs-pro/license','_onRemoteRetry','_tryReconnect','buffer','_commandService','_compressMutationService','RichTextEditingMutation','encode','localCacheService','HttpExport','ITransformService','msCrypto','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','encryptBlock','CHANGESET_SHOULD_RETRY','_initRequestHeader','max','createDecryptor','_clearScheduledTask','_sender','pending','ERROR_EXCEED_SIZE','encodeURIComponent','UNIVER_SLIDE','reduce','_transformStateCache','duration','ILocalCacheService','_emitMembers','LIVESHARE_NEW_HOST','HEARTBEAT_INTERVAL_KEY','_lockTransition','splice','Latin1','_updateLocalCache','_iv','readyForCollab','_candidateSocket','Quantity','_roomMembers','_handlerCallback','getTypeOfUnitAdded$','_roomCreated$','_entities','resend','HmacSHA1','_mode','updateOfflineData','abs','pauseCollaboration','status$','refreshPermission','_replaceFileID','UNIVER_UNKNOWN','encrypt','_memberService','@univerjs/core','registerDependencies','_toggleOnline','_DEC_XFORM_MODE','INGEST','CollaborationSocketService','UserProfileImg','_socketService','_members','LocalUndoRedoService','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','Base','catch','b64DecodeUnicode','transformSelections','FETCH_MISSING','@univerjs/telemetry','saveImage','isTransformMutationsWithChangesetSuccess','key','EMAIL_HAS_BEEN_BOUND','Malformed\x20UTF-8\x20data','type','CommentService','onRemoteRej','SNAPSHOT_SERVER_URL_KEY','33QXsIuS','_getAPIPrefixPath','mode','\x0aAfter:\x20','_createHelper','AwaitingState','_getRedoStack','open$','ILogService','_waitCount','_syncEditingCollabCursor','@univerjs-pro/collaboration','_getSendChangesetTimeout','params','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_submitChangeset','SheetPermissionInitController','_commentService','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','decrypt','_checkMissing','_sessionStatus$','next','MOBILE_HAS_BEEN_BOUND','stringify','24598NfeqgS','WorkbookEditablePermission','JOIN_ROOM_NOT_EXISTS','find','_doProcessBlock','_getUndoStack','BlockCipher','_permissionService','algo','_changesetSessionId','NOT_FOUND','blockSize','_networkConditionService','method','_configService','copyFileMeta','JOINING','SOCKET_FAILED_RETRY','default','_HTTPService','_transformStack','ReplaySubject','finalize','USERS_ENTER','_collabSessionService','_univerInstanceService','ConflictState','POST','liveShareNewHost','equals','_removeRoom','sigBytes','_applyRemoteChangeset','resourceIDs','onSendChangeset','PY_RUNTIME_SCRIPT_ERROR','auth.needGotoLoginAlert','_decreaseWaiting','_remoteChangesetQueue','LIVESHARE_TERMINATE','headers','getWorkbookSelections','_telemetryInfo','complete','_reverseMap','pad','/new_changes','ivSize','FetchingMissState','_getDownloadEndpointURL','PERMISSION_REJ','MUTATION','closeSession','authzUrl','_change$','registerHTTPInterceptor','LICENSE_IMPORT_SIZE_EXCEEDED','_onConflict','_transformSelections','_revisionService','{fileID}','?url=','getUnitStatus$','getUnitOnRev','getCurrentSelections','readInt32LE','replace','parse','kdf','_append','fetchMissingChangesets','onTransformState','AWAITING_WITH_PENDING','&to=','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','Plugin','IUniverInstanceService','/universer-api/comb','PERSON','mixIn','allowed','concatMap','originalMeta','min','formatter','_clearUndo','_listenToNetworkCondition','image/gif','conflict','_shouldReportTelemetry','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_transitionLocked','APPLY_REJECT','getSnapshotAPIPath','uploadFileServerUrl','_commentUpdate$','CONFLICT','synced','onTransformRemoteChangesetByIMECache','origin','words','/object/','Univer','objectActions','length','defineProperty','getValue','_stopTelemetryCollaborationNewChangeset','init','IDLE','LOGIN_URL_KEY','_nDataBytes','_substituteRedoStack','unitId','_createHandler','getMemberID','_scheduleCollaborationTimeoutTimer','collaMsg','ISocketService','uniscriptRunEvent','CollaborationEntity','UnitSnapshot','rxjs','/block/','stopTime','OfflineState','findIndex','_sessions','awaiting','@univerjs/network','INVITE_CODE_REQUIRED','YUUMI_UNABLE_LOAD_URL','signUrlServerUrl','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_keyPriorReset','url','OFFLINE','HELLO','asObservable','batchAllowed','getUnitId','SessionStatus','/universer-api/oidc/authpage','INVITE_CODE_HAS_BEEN_UES','push','onStateChange','@univerjs/sheets','_imageSourceCache','subject','_toggleOffline','UNISCRIPT_RUN','getDeserializedSheetBlock','patch','HttpImport','updatePermissionObjEvent','getInterceptPoints','_onConnectionOpen','concat','Optional','isTransformChangesetsSuccess','startsWith','_startCollaboration','_keySchedule','focused$','&assign=','_tryEnsureSocket','UNIVER_DOC','NEW_CHANGESETS','JOIN_ROOM_PERMISSION_DENIED','message$','commentUpdate$','objects','iterations','[OfflineState]:\x20received\x20changeset.','_type','LIVESHARE_OPERATION','/collaborator','saveChangeset','connection\x20error','deserializeToCombResponse','ws://127.0.0.1:8000/universer-api/comb/connect','unknown','LICENSE_EXPORT_SIZE_EXCEEDED','IMentionIOService','INVALID_ARGUMENT','loadDoc','touchDependencies','location','FileId','createIdentifier','reverse','UNKNOWN_CODE','_undoRedoService','14790pDXdsN','hasher','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','MemberService','748540GELAco','UNAUTHENTICATED','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','MentionType','IPermissionService','onLocalMutation','HEARTBEAT_TIMEOUT_KEY','LICENSE_DISTRO_REJECTED','_initUnitPermissionChange','getFocusedUnit','_getSignURL','AwaitingWithPendingState','onStarting','actions','indexOf','OTHER_CLIENTS_EDITING','APPLY_NON_SEQUENTIAL_REVISION','getCollabEntity','Base64','NO_OTHER_CLIENTS_EDITING','processBlock','[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.','join','CHANGESET_REVISION_CONFILICT','putCollaborators','ERROR_IMAGE_TYPE','_isPermissionRej','UniverInstanceType','YUUMI_TABLE_NOT_FOUND_IN_UNIT','FETCH_MISS','[CollaborationEntity]','_unitInfo$','_onCombEvent','enc','includes','Undefined','online$','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','now','baseRev','requireSession','_snapshotServerService','_singleActiveUnitService','snapshotServerUrl','_xformMode','__Key__','_map','awaiting_with_pending','collabWebSocketUrl','SEND_CHANGESET_TIMEOUT_KEY','INVALID_INVITE_CODE','string','clone','[PendingState]:\x20unhandled\x20univer\x20type:\x20','sequenceExecute','_joinRoom','_process','[CollaborationSession]','_httpService','_onRemoteChangeset','result','SUBMIT_CHANGESET_TIMEOUT','title','/universer-api/authz','unitInfo$','AuthzIoHttpService','filter','saveSnapshot','CollaborationUIEventService','getOwnPropertyDescriptor','[CollaborationUndoRedoService]','PasswordBasedCipher','People','_awaitingChangeset','SOCKET_FAILED','changesets','[CollaborationState]:\x20apply\x20error!','UserManagerService','_clearHeartbeatTimer','avatar','unitId\x20is\x20not\x20found','_acknowledgedAwaitingChangeset','UNDEFINED','_resendTimer','unit-cache-','pipe','_status$','post','CONNECTOR_DATA_TOO_LARGE','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','ImageUploadStatusType','_parse','SnapshotService','CollaborationImageIoService','getCurrentRevOfUnit','RevisionService','ImageSourceType','312088EjZDsO','call','/universer-api/stream/file/upload','function','UPDATE_PERMISSION_OBJ','_queuedRemoteChangesets','csShouldRetryEvent','LOGIN_FAILED','_clearTimeoutTimer','mergeOverrideWithDependencies','slice','Injector','getGlobalObject','_collaborationSessionService','[OfflineState]:\x20received\x20acknowledgement.'];_0x1835=function(){return _0x128615;};return _0x1835();}let Ue=class extends a[_0x5c6280(0x285)]{constructor(_0x2f6f7a,_0x446a31,_0x327dc4,_0x59fdda,_0x181799){var _0x133c9e=_0x5c6280;super(),this[_0x133c9e(0x347)]=_0x2f6f7a,this['_univerInstanceService']=_0x446a31,this[_0x133c9e(0x13e)]=_0x327dc4,this[_0x133c9e(0x26a)]=_0x59fdda,this[_0x133c9e(0x41d)]=_0x181799,this[_0x133c9e(0x204)](),this[_0x133c9e(0x398)]();}[_0x5c6280(0x398)](){var _0x594f4a=_0x5c6280;const _0x51a3e7=async _0x25c52d=>{var _0x3dbe5f=_0x816a;(await this[_0x3dbe5f(0x26a)][_0x3dbe5f(0x224)](_0x25c52d))[_0x3dbe5f(0x2f0)][_0x3dbe5f(0x251)](V[_0x3dbe5f(0x23e)](_0x5e3fab=>_0x5e3fab['eventID']===I[_0x3dbe5f(0x379)]['SHOULD_CLOSE_CONN']),V[_0x3dbe5f(0xa7)](this['dispose$']))[_0x3dbe5f(0x2f9)](_0x6719dd=>{var _0x3e9d5=_0x3dbe5f;const _0x466822=_0x6719dd,{reason:_0x43d7f9}=_0x466822[_0x3e9d5(0x3a0)];this['_collaborationUIEventService']['emitEvent']({'id':Z[_0x3e9d5(0x38e)],'data':_0x43d7f9}),this['_permissionService']['updatePermissionPoint'](new X[(_0x3e9d5(0x138))](_0x25c52d)['id'],!0x1),this[_0x3e9d5(0x26a)][_0x3e9d5(0x16b)](_0x25c52d);});};$[_0x594f4a(0xc4)](this[_0x594f4a(0x150)][_0x594f4a(0xf5)](a[_0x594f4a(0x217)][_0x594f4a(0x372)]),this[_0x594f4a(0x150)][_0x594f4a(0xf5)](a[_0x594f4a(0x217)][_0x594f4a(0x1dd)]))[_0x594f4a(0x251)](V['map'](_0x452c28=>_0x452c28[_0x594f4a(0x1c3)]()),V[_0x594f4a(0x23e)](_0x47334b=>!a['isInternalEditorID'](_0x47334b)),V[_0x594f4a(0xa7)](this[_0x594f4a(0x3a1)]))[_0x594f4a(0x2f9)](_0x11348a=>{_0x51a3e7(_0x11348a);});}[_0x5c6280(0x204)](){var _0x817551=_0x5c6280;const _0x220a63=async _0x21f069=>{var _0x505e9d=_0x816a;const _0x522d13=await this[_0x505e9d(0x26a)][_0x505e9d(0x224)](_0x21f069),_0x14f1df=this[_0x505e9d(0x347)][_0x505e9d(0x3a7)](X[_0x505e9d(0x12e)]);_0x522d13[_0x505e9d(0x2f0)][_0x505e9d(0x251)](V[_0x505e9d(0x23e)](_0xb40a6c=>_0xb40a6c[_0x505e9d(0x417)]===I[_0x505e9d(0x379)][_0x505e9d(0x261)]),V[_0x505e9d(0xa7)](this[_0x505e9d(0x3a1)]))[_0x505e9d(0x2f9)](_0x299a11=>{var _0x18ba50=_0x505e9d;const _0x9d533d=_0x299a11,{objectId:_0x4551de}=_0x9d533d[_0x18ba50(0x3a0)];_0x4551de===_0x21f069?_0x14f1df['initWorkbookPermissionChange'](_0x21f069):_0x14f1df[_0x18ba50(0xff)](_0x21f069,_0x4551de);});};$[_0x817551(0xc4)](this['_univerInstanceService']['getTypeOfUnitAdded$'](a['UniverInstanceType'][_0x817551(0x372)]))[_0x817551(0x251)](V[_0x817551(0x2ad)](_0x5704ba=>_0x5704ba[_0x817551(0x1c3)]()),V[_0x817551(0x23e)](_0x551873=>!a[_0x817551(0x30d)](_0x551873)),V[_0x817551(0xa7)](this[_0x817551(0x3a1)]))['subscribe'](_0x2a3b10=>{_0x220a63(_0x2a3b10);});}};Ue=mn([le(0x0,a[_0x5c6280(0x273)](a['Injector'])),le(0x1,a[_0x5c6280(0x183)]),le(0x2,a[_0x5c6280(0x200)]),le(0x3,a[_0x5c6280(0x273)](exports[_0x5c6280(0x297)])),le(0x4,a['Inject'](ee))],Ue);var Cn=Object[_0x5c6280(0x241)],Tn=(_0x55e117,_0xf3a441,_0x44e6ef,_0xf71662)=>{var _0x3bde79=_0x5c6280;for(var _0x1126cd=_0xf71662>0x1?void 0x0:_0xf71662?Cn(_0xf3a441,_0x44e6ef):_0xf3a441,_0x353b7b=_0x55e117[_0x3bde79(0x19f)]-0x1,_0x58d286;_0x353b7b>=0x0;_0x353b7b--)(_0x58d286=_0x55e117[_0x353b7b])&&(_0x1126cd=_0x58d286(_0x1126cd)||_0x1126cd);return _0x1126cd;},ct=(_0x250da6,_0x46f2e2)=>(_0x40a5df,_0x10c960)=>_0x46f2e2(_0x40a5df,_0x10c960,_0x250da6);exports[_0x5c6280(0x338)]=class{constructor(_0x393472,_0x2b2592){this['_configService']=_0x393472,this['_httpService']=_0x2b2592;}async[_0x5c6280(0x176)](_0x33201e,_0x53f300){var _0x46f269=_0x5c6280,_0x3e31ec;const {unitID:_0x3bcf45,type:_0x3b1046,revision:_0x1e5133=0x0}=_0x53f300,_0x20f2d4=this[_0x46f269(0x194)]()+'/'+_0x3b1046+_0x46f269(0x322)+_0x3bcf45+'/rev/'+_0x1e5133,_0x52bb93=(await this[_0x46f269(0x236)][_0x46f269(0x3a7)](_0x20f2d4))[_0x46f269(0x390)],_0x58c182=(_0x3e31ec=_0x52bb93['snapshot'])==null?void 0x0:_0x3e31ec[_0x46f269(0x3eb)];if(_0x58c182){const _0x130118=_0x58c182==null?void 0x0:_0x58c182[_0x46f269(0x189)],_0x527763=I['textEncoder'][_0x46f269(0xd3)](I[_0x46f269(0x111)](_0x130118));_0x58c182['originalMeta']=_0x527763,Object[_0x46f269(0x371)](_0x58c182['sheets'])[_0x46f269(0x3a8)](([,_0x3f67af])=>{var _0x2b83ac=_0x46f269;const _0x44522f=_0x3f67af['originalMeta'],_0x5ef8be=I[_0x2b83ac(0x376)][_0x2b83ac(0xd3)](I[_0x2b83ac(0x111)](_0x44522f));_0x3f67af[_0x2b83ac(0x189)]=_0x5ef8be;});}return _0x52bb93;}async[_0x5c6280(0x302)](_0x36ff46,_0x1776ca){var _0x4acccd=_0x5c6280;const {unitID:_0x47326b,type:_0x436d09,blockID:_0x5abe90}=_0x1776ca,_0x14d9fe=this[_0x4acccd(0x2da)]()+'/'+_0x436d09+_0x4acccd(0x322)+_0x47326b+_0x4acccd(0x1b2)+_0x5abe90;return(await this[_0x4acccd(0x236)]['get'](_0x14d9fe))[_0x4acccd(0x390)];}async[_0x5c6280(0x1ce)](_0x38ff24,_0x28bf30){var _0x48a511=_0x5c6280;const {unitID:_0x44f5e6,type:_0xda1f66,blockID:_0x25cdff}=_0x28bf30,_0x1b1163=this[_0x48a511(0x2da)]()+'/block/'+_0xda1f66+'/unit/'+_0x44f5e6+'/block/'+_0x25cdff;return(await this[_0x48a511(0x236)][_0x48a511(0x3a7)](_0x1b1163))[_0x48a511(0x390)];}async[_0x5c6280(0x17d)](_0x157ac5,_0x192ef6){var _0x19f0f1=_0x5c6280;const {unitID:_0x13784d,type:_0x1464b8,from:_0x41a341,to:_0x517829}=_0x192ef6,_0xaaec1e=this[_0x19f0f1(0x2da)]()+'/'+_0x1464b8+_0x19f0f1(0x322)+_0x13784d+_0x19f0f1(0x31a)+_0x41a341+_0x19f0f1(0x180)+_0x517829;return(await this[_0x19f0f1(0x236)]['get'](_0xaaec1e))[_0x19f0f1(0x390)];}['getSnapshotAPIPath'](){var _0x380109=_0x5c6280,_0x4c8ffd;return(_0x4c8ffd=this[_0x380109(0x145)][_0x380109(0x3ff)](lt))!=null?_0x4c8ffd:this[_0x380109(0x2da)]();}[_0x5c6280(0x2da)](){var _0xd9d83a=_0x5c6280,_0x1a81b1,_0x1f9478;const _0x23b795=this[_0xd9d83a(0x145)]['getConfig'](_t),_0x2af8e4=this['_configService'][_0xd9d83a(0x3ff)](K);return(_0x1f9478=(_0x1a81b1=_0x2af8e4==null?void 0x0:_0x2af8e4[_0xd9d83a(0x227)])!=null?_0x1a81b1:_0x23b795)!=null?_0x1f9478:Lt;}async['getResourcesRequest'](_0x1d96fb,_0xe2c47c){var _0x46e16a=_0x5c6280;const _0x1431cf=_0x46e16a(0x34e)+_0xe2c47c[_0x46e16a(0x11a)]+_0x46e16a(0x322)+_0xe2c47c[_0x46e16a(0x34a)]+'/resources';return(await this['_httpService'][_0x46e16a(0x3a7)](_0x1431cf,{'params':{'resourceId':JSON[_0x46e16a(0x136)](_0xe2c47c[_0x46e16a(0x158)])}}))[_0x46e16a(0x390)];}[_0x5c6280(0x23f)](){var _0x3f885c=_0x5c6280;throw new Error(_0x3f885c(0x130));}['updateSnapshot'](){var _0x4d2609=_0x5c6280;throw new Error(_0x4d2609(0x130));}[_0x5c6280(0x2a5)](){var _0x51c5ab=_0x5c6280;throw new Error(_0x51c5ab(0x130));}[_0x5c6280(0x1e8)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x5c6280(0x146)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x5c6280(0x414)](){var _0x27aa6d=_0x5c6280;throw new Error(_0x27aa6d(0x130));}},exports[_0x5c6280(0x338)]=Tn([ct(0x0,a['IConfigService']),ct(0x1,a['Inject'](Y[_0x5c6280(0x41e)]))],exports[_0x5c6280(0x338)]);var bn=Object[_0x5c6280(0x241)],Rn=(_0x1dab48,_0x4a513f,_0x1c1ba9,_0x46bd93)=>{var _0x1c5c7f=_0x5c6280;for(var _0x5cdc8d=_0x46bd93>0x1?void 0x0:_0x46bd93?bn(_0x4a513f,_0x1c1ba9):_0x4a513f,_0x452737=_0x1dab48[_0x1c5c7f(0x19f)]-0x1,_0x59ce25;_0x452737>=0x0;_0x452737--)(_0x59ce25=_0x1dab48[_0x452737])&&(_0x5cdc8d=_0x59ce25(_0x5cdc8d)||_0x5cdc8d);return _0x5cdc8d;},ue=(_0x51dd9b,_0x469890)=>(_0x275bfb,_0xbc8107)=>_0x469890(_0x275bfb,_0xbc8107,_0x51dd9b);exports[_0x5c6280(0x391)]=class extends a[_0x5c6280(0x10d)]{constructor(_0x165a7c,_0xad4c07,_0x417e81,_0x17963f,_0xb6ee92){var _0x55398d=_0x5c6280;super(_0x165a7c,_0xad4c07,_0x417e81),this['_transformService']=_0x17963f,this[_0x55398d(0x41f)]=_0xb6ee92;}[_0x5c6280(0x27a)](_0x4cae3b,_0x3f02af){var _0x269929=_0x5c6280;const _0x2cc9a7=this[_0x269929(0x13c)](_0x4cae3b);if(_0x2cc9a7)try{const _0x57105b=this[_0x269929(0x14b)](_0x2cc9a7,_0x3f02af);this[_0x269929(0x3b1)](_0x4cae3b,_0x57105b);}catch(_0x4af1c8){this[_0x269929(0x41f)]['error']('[CollaborationUndoRedoService]',_0x4af1c8),this[_0x269929(0x18c)](_0x4cae3b);}const _0x4638c3=this['_getRedoStack'](_0x4cae3b);if(_0x4638c3)try{const _0x1bb514=this['_transformStack'](_0x4638c3,_0x3f02af);this['_substituteRedoStack'](_0x4cae3b,_0x1bb514);}catch(_0x1ebed6){this[_0x269929(0x41f)][_0x269929(0x348)](_0x1ebed6),this[_0x269929(0x382)](_0x4cae3b);}}[_0x5c6280(0x18c)](_0x1d4bf6){var _0x1bcc82=_0x5c6280;const _0x34da40=this[_0x1bcc82(0x13c)](_0x1d4bf6);_0x34da40&&(_0x34da40[_0x1bcc82(0x19f)]=0x0,this[_0x1bcc82(0x2a9)]());}[_0x5c6280(0x382)](_0x214337){var _0x5cc227=_0x5c6280;const _0x3ca303=this[_0x5cc227(0x124)](_0x214337);_0x3ca303&&(_0x3ca303[_0x5cc227(0x19f)]=0x0,this[_0x5cc227(0x2a9)]());}[_0x5c6280(0x3b1)](_0x4bf356,_0x4c9227){var _0x1fad1d=_0x5c6280;this['_undoStacks']['set'](_0x4bf356,_0x4c9227),this[_0x1fad1d(0x2a9)]();}[_0x5c6280(0x1a7)](_0x17c499,_0x35dbfb){var _0x312c0b=_0x5c6280;this['_redoStacks'][_0x312c0b(0x2e6)](_0x17c499,_0x35dbfb),this[_0x312c0b(0x2a9)]();}[_0x5c6280(0x14b)](_0x460dcd,_0x4e32a1){var _0x2ba66a=_0x5c6280;const _0x36b2b0=[];let _0x3ae489=_0x4e32a1,_0x27ad4b=_0x4e32a1;for(let _0x10ed26=_0x460dcd['length']-0x1;_0x10ed26>=0x0;_0x10ed26--){const {unitID:_0x511a53,undoMutations:_0x2416d8,redoMutations:_0x236344}=_0x460dcd[_0x10ed26],_0x111c7e=this[_0x2ba66a(0x388)][_0x2ba66a(0x325)](_0x3ae489,_0x2416d8),_0x510980=this['_transformService'][_0x2ba66a(0x325)](_0x27ad4b,_0x236344);if(I['isTransformMutationsWithChangesetFailure'](_0x111c7e)||I['isTransformMutationsWithChangesetFailure'](_0x510980)){this[_0x2ba66a(0x41f)][_0x2ba66a(0x348)](_0x2ba66a(0x242),'transformStack\x20failed!',_0x111c7e,_0x510980);break;}_0x3ae489=_0x111c7e[_0x2ba66a(0x3ea)],_0x27ad4b=_0x510980[_0x2ba66a(0x3ea)],_0x36b2b0[_0x2ba66a(0x1c7)]({'unitID':_0x511a53,'undoMutations':_0x111c7e[_0x2ba66a(0x31f)],'redoMutations':_0x510980[_0x2ba66a(0x31f)]});}return _0x36b2b0[_0x2ba66a(0x1f5)]();}},exports[_0x5c6280(0x391)]=Rn([ue(0x0,a[_0x5c6280(0x183)]),ue(0x1,a[_0x5c6280(0x30b)]),ue(0x2,a[_0x5c6280(0x407)]),ue(0x3,I[_0x5c6280(0xd6)]),ue(0x4,a[_0x5c6280(0x126)])],exports[_0x5c6280(0x391)]);var On=Object[_0x5c6280(0x1a0)],yn=Object[_0x5c6280(0x241)],Nn=(_0x520d0f,_0x1ae75d,_0x77e52d)=>_0x1ae75d in _0x520d0f?On(_0x520d0f,_0x1ae75d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x77e52d}):_0x520d0f[_0x1ae75d]=_0x77e52d,Un=(_0x57e3f9,_0x74fe98,_0x15b8be,_0x2d8ea1)=>{var _0x25cfdc=_0x5c6280;for(var _0x214c40=_0x2d8ea1>0x1?void 0x0:_0x2d8ea1?yn(_0x74fe98,_0x15b8be):_0x74fe98,_0x115ae2=_0x57e3f9[_0x25cfdc(0x19f)]-0x1,_0x439a74;_0x115ae2>=0x0;_0x115ae2--)(_0x439a74=_0x57e3f9[_0x115ae2])&&(_0x214c40=_0x439a74(_0x214c40)||_0x214c40);return _0x214c40;},Me=(_0xfea2ef,_0xed8fdb)=>(_0x39035a,_0x500663)=>_0xed8fdb(_0x39035a,_0x500663,_0xfea2ef),Dn=(_0x228c1a,_0x414889,_0x919121)=>Nn(_0x228c1a,_0x414889+'',_0x919121);const An=_0x5c6280(0x34f);exports[_0x5c6280(0x361)]=class extends a[_0x5c6280(0x182)]{constructor(_0x3e0f1c,_0x450c60,_0x13b188,_0x40b40f){var _0x20e8c0=_0x5c6280;super(),A(this,'_config'),(this[_0x20e8c0(0x41f)]=_0x450c60,this['_injector']=_0x13b188,this[_0x20e8c0(0x145)]=_0x40b40f);const {..._0x288933}=a[_0x20e8c0(0xc4)]({},Yt,_0x3e0f1c);if(!_0x288933['socketService'])throw new Error(_0x20e8c0(0x221));this[_0x20e8c0(0x3f8)]=_0x288933,this['_configService'][_0x20e8c0(0x3e3)](K,_0x288933);}[_0x5c6280(0x208)](){var _0x866e90=_0x5c6280;this[_0x866e90(0x402)](),this['_initDependencies']();}['_registerDependencies'](){var _0x1f1a33=_0x5c6280,_0x47ad56,_0x166d38;this[_0x1f1a33(0x347)][_0x1f1a33(0x2fb)](a[_0x1f1a33(0x280)])&&this['_logService']['error']('[UniverCollaborationClientPlugin]','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x415d3e=a[_0x1f1a33(0x266)]([[a['IUndoRedoService'],{'useClass':exports[_0x1f1a33(0x391)]}],[exports[_0x1f1a33(0x297)]],[exports['MemberService']],[exports[_0x1f1a33(0x32d)]],[ye],[Ne],[$e],[Ue],[ee],[exports['DataLoaderService']],[He,{'useClass':this[_0x1f1a33(0x3f8)]['socketService']}],[I[_0x1f1a33(0x401)],{'useClass':exports[_0x1f1a33(0x338)]}],[a[_0x1f1a33(0x381)],{'useClass':exports[_0x1f1a33(0x23d)]}],[z[_0x1f1a33(0x3c2)],{'useClass':exports[_0x1f1a33(0x259)]}],[a[_0x1f1a33(0x1ee)],{'useClass':exports['MentionIoHttpService']}],[exports[_0x1f1a33(0x3de)]],[xe]],(_0x47ad56=this[_0x1f1a33(0x3f8)])==null?void 0x0:_0x47ad56['override']);if(!((_0x166d38=this[_0x1f1a33(0x3f8)])!=null&&_0x166d38[_0x1f1a33(0x2f8)])){const _0x2a4100=_0x415d3e[_0x1f1a33(0x1b5)](([_0x1ab4cd])=>_0x1ab4cd===de);_0x2a4100!==-0x1&&_0x415d3e['splice'](_0x2a4100,0x1);}a[_0x1f1a33(0x105)](this[_0x1f1a33(0x347)],_0x415d3e);}[_0x5c6280(0x3e0)](){var _0x5459b6=_0x5c6280,_0x28245e,_0x3fab4a,_0xdf4296;this[_0x5459b6(0x347)][_0x5459b6(0x3a7)](Y['HTTPService'])[_0x5459b6(0x16e)]({'priority':0x14,'interceptor':Y[_0x5459b6(0x2b5)]({'maxParallel':0x6})}),(_0x28245e=this[_0x5459b6(0x3f8)])!=null&&_0x28245e['enableOfflineEditing']||(_0x3fab4a=this[_0x5459b6(0x347)][_0x5459b6(0x3a7)](q,a[_0x5459b6(0xf2)][_0x5459b6(0x350)]))==null||_0x3fab4a[_0x5459b6(0x2c6)](),(_0xdf4296=this[_0x5459b6(0x3f8)])!=null&&_0xdf4296['enableAuthServer']&&a[_0x5459b6(0x1f1)](this[_0x5459b6(0x347)],[[ye]]),a[_0x5459b6(0x1f1)](this['_injector'],[[Ne],[exports[_0x5459b6(0x3de)]],[Ue]]);}},Dn(exports[_0x5c6280(0x361)],'pluginName',An),exports['UniverCollaborationClientPlugin']=Un([a['DependentOn'](I[_0x5c6280(0x392)],Y[_0x5c6280(0x3da)]),Me(0x1,a[_0x5c6280(0x126)]),Me(0x2,a[_0x5c6280(0x273)](a[_0x5c6280(0x268)])),Me(0x3,a[_0x5c6280(0x286)])],exports[_0x5c6280(0x361)]),exports[_0x5c6280(0x28b)]=Ve,exports[_0x5c6280(0xc9)]=K,exports[_0x5c6280(0x283)]=pt,exports[_0x5c6280(0x2fc)]=ut,exports[_0x5c6280(0xa9)]=Be,exports[_0x5c6280(0x419)]=Z,exports[_0x5c6280(0x240)]=ee,exports[_0x5c6280(0x11b)]=$e,exports['DEFAULT_COLLAB_WEB_SOCKET_URL']=dt,exports['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT']=Kt,exports[_0x5c6280(0x29b)]=kt,exports[_0x5c6280(0xea)]=vt,exports[_0x5c6280(0x202)]=ke,exports['ICollaborationSocketService']=He,exports[_0x5c6280(0xe7)]=q,exports[_0x5c6280(0x2d0)]=mt,exports[_0x5c6280(0x405)]=de,exports['LOCAL_CACHE_INTERVAL']=Ft,exports['LOCAL_CACHE_INTERVAL_KEY']=Bt,exports[_0x5c6280(0x1a5)]=It,exports[_0x5c6280(0x181)]=Gt,exports[_0x5c6280(0x281)]=ft,exports[_0x5c6280(0x22d)]=Mt,exports[_0x5c6280(0x11d)]=_t,exports[_0x5c6280(0x29f)]=lt,exports[_0x5c6280(0x1c4)]=re,exports[_0x5c6280(0x2b8)]=je,exports[_0x5c6280(0x1ea)]=Ct,exports['getLocalCacheKey']=oi,exports['serializeCombRequest']=Tt;