@univerjs-pro/collaboration-client 0.6.0-nightly.202502201606 → 0.6.1-nightly.202502211606

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 _0x2e258d=_0x3e55;(function(_0x4b173b,_0x30a459){var _0x428b00=_0x3e55,_0x33f3c7=_0x4b173b();while(!![]){try{var _0x3acee8=parseInt(_0x428b00(0x31a))/0x1+parseInt(_0x428b00(0x37a))/0x2+-parseInt(_0x428b00(0x3fe))/0x3*(-parseInt(_0x428b00(0x340))/0x4)+-parseInt(_0x428b00(0x41d))/0x5*(-parseInt(_0x428b00(0x251))/0x6)+parseInt(_0x428b00(0x194))/0x7+-parseInt(_0x428b00(0x23c))/0x8*(-parseInt(_0x428b00(0x39f))/0x9)+-parseInt(_0x428b00(0x30d))/0xa;if(_0x3acee8===_0x30a459)break;else _0x33f3c7['push'](_0x33f3c7['shift']());}catch(_0x3ac7ba){_0x33f3c7['push'](_0x33f3c7['shift']());}}}(_0x29cc,0x4c3e0));var wt=Object['defineProperty'],Lt=(_0x5b05b1,_0x5dbf59,_0x70426)=>_0x5dbf59 in _0x5b05b1?wt(_0x5b05b1,_0x5dbf59,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x70426}):_0x5b05b1[_0x5dbf59]=_0x70426,P=(_0x454f73,_0x49a632,_0x4a34d3)=>Lt(_0x454f73,typeof _0x49a632!=_0x2e258d(0x2cf)?_0x49a632+'':_0x49a632,_0x4a34d3);Object[_0x2e258d(0x21e)](exports,Symbol[_0x2e258d(0x151)],{'value':_0x2e258d(0x450)});const a=require(_0x2e258d(0x176)),j=require(_0x2e258d(0x25e)),W=require(_0x2e258d(0x246)),g=require(_0x2e258d(0x168)),q=require(_0x2e258d(0x466)),Mt=require(_0x2e258d(0x25d)),ut=require(_0x2e258d(0x385)),Z=require(_0x2e258d(0x1df)),J=require(_0x2e258d(0x18d)),xt=require(_0x2e258d(0x3c2)),dt=_0x2e258d(0x390),kt='/universer-api/snapshot',vt='SNAPSHOT_URL_KEY',Ht='SEND_CHANGESET_TIMEOUT',jt=0x7d0,St=_0x2e258d(0x15e),ft=_0x2e258d(0x267),$t=_0x2e258d(0x22b),pt=_0x2e258d(0x255),Bt=0x7530,je=_0x2e258d(0x3be),gt=0x4e20,Ft=0x4e20,mt='RETRY_CONNECTING_MAX_COUNT',Wt=0x3,Gt=_0x2e258d(0x3aa),Vt=0x3e8,It='COLLAB_SUBMIT_CHANGESET_URL',Kt=_0x2e258d(0x38e),Et=_0x2e258d(0x186),Yt=_0x2e258d(0x23f),qt=_0x2e258d(0x3e4),zt='/universer-api/uniscript';var Ct=(_0x52ca0b=>(_0x52ca0b[_0x52ca0b[_0x2e258d(0x3c6)]=0x0]=_0x2e258d(0x3c6),_0x52ca0b[_0x52ca0b['OK']=0x1]='OK',_0x52ca0b[_0x52ca0b['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x52ca0b[_0x52ca0b[_0x2e258d(0x31d)]=0x3]=_0x2e258d(0x31d),_0x52ca0b[_0x52ca0b[_0x2e258d(0x42e)]=0x4]=_0x2e258d(0x42e),_0x52ca0b[_0x52ca0b[_0x2e258d(0x301)]=0x5]=_0x2e258d(0x301),_0x52ca0b[_0x52ca0b['ALREADY_EXISTS']=0x6]=_0x2e258d(0x36c),_0x52ca0b[_0x52ca0b[_0x2e258d(0x38b)]=0x7]='INVALID_ARGUMENT',_0x52ca0b[_0x52ca0b['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x52ca0b[_0x52ca0b['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x52ca0b[_0x52ca0b[_0x2e258d(0x2fc)]=0x1389]=_0x2e258d(0x2fc),_0x52ca0b[_0x52ca0b[_0x2e258d(0x148)]=0x1771]=_0x2e258d(0x148),_0x52ca0b[_0x52ca0b[_0x2e258d(0x38c)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x52ca0b[_0x52ca0b['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x2e258d(0x449),_0x52ca0b[_0x52ca0b[_0x2e258d(0x336)]=0x1b59]=_0x2e258d(0x336),_0x52ca0b[_0x52ca0b['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x2e258d(0x2d8),_0x52ca0b[_0x52ca0b[_0x2e258d(0x287)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x52ca0b[_0x52ca0b[_0x2e258d(0x288)]=0x1b5c]=_0x2e258d(0x288),_0x52ca0b[_0x52ca0b[_0x2e258d(0x269)]=0x1b5d]=_0x2e258d(0x269),_0x52ca0b[_0x52ca0b[_0x2e258d(0x3d4)]=0x1f41]=_0x2e258d(0x3d4),_0x52ca0b[_0x52ca0b[_0x2e258d(0x2fa)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x52ca0b[_0x52ca0b[_0x2e258d(0x2df)]=0x232a]=_0x2e258d(0x2df),_0x52ca0b[_0x52ca0b['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x2e258d(0x1ad),_0x52ca0b[_0x52ca0b['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x2e258d(0x1a8),_0x52ca0b[_0x52ca0b[_0x2e258d(0x16c)]=0x232d]=_0x2e258d(0x16c),_0x52ca0b[_0x52ca0b[_0x2e258d(0x196)]=0x2711]=_0x2e258d(0x196),_0x52ca0b[_0x52ca0b[_0x2e258d(0x32d)]=0x2712]=_0x2e258d(0x32d),_0x52ca0b[_0x52ca0b[_0x2e258d(0x2ff)]=0x2713]=_0x2e258d(0x2ff),_0x52ca0b[_0x52ca0b[_0x2e258d(0x225)]=0x2714]=_0x2e258d(0x225),_0x52ca0b[_0x52ca0b['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x52ca0b[_0x52ca0b[_0x2e258d(0x14e)]=-0x1]='UNRECOGNIZED',_0x52ca0b))(Ct||{}),X=(_0xfb17d1=>(_0xfb17d1[_0xfb17d1[_0x2e258d(0x26a)]=0x0]=_0x2e258d(0x26a),_0xfb17d1[_0xfb17d1[_0x2e258d(0x2fb)]=0x1]='UNIVER_DOC',_0xfb17d1[_0xfb17d1['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0xfb17d1[_0xfb17d1[_0x2e258d(0x329)]=0x3]=_0x2e258d(0x329),_0xfb17d1[_0xfb17d1[_0x2e258d(0x388)]=0x4]=_0x2e258d(0x388),_0xfb17d1[_0xfb17d1[_0x2e258d(0x14e)]=-0x1]=_0x2e258d(0x14e),_0xfb17d1))(X||{}),G=(_0x59246b=>(_0x59246b[_0x59246b[_0x2e258d(0x24e)]=0x0]=_0x2e258d(0x24e),_0x59246b[_0x59246b[_0x2e258d(0x3cb)]=0x1]=_0x2e258d(0x3cb),_0x59246b[_0x59246b[_0x2e258d(0x27a)]=0x2]=_0x2e258d(0x27a),_0x59246b[_0x59246b['LEAVE']=0x3]=_0x2e258d(0x198),_0x59246b[_0x59246b[_0x2e258d(0x338)]=0x4]=_0x2e258d(0x338),_0x59246b[_0x59246b['HEARTBEAT']=0x5]=_0x2e258d(0x277),_0x59246b[_0x59246b[_0x2e258d(0x157)]=0x6]=_0x2e258d(0x157),_0x59246b[_0x59246b[_0x2e258d(0x14e)]=-0x1]='UNRECOGNIZED',_0x59246b))(G||{}),ae=(_0x287c72=>(_0x287c72[_0x287c72['UNKNOWN_CODE']=0x0]='UNKNOWN_CODE',_0x287c72[_0x287c72['OK']=0x1]='OK',_0x287c72[_0x287c72[_0x2e258d(0x1de)]=0x2]=_0x2e258d(0x1de),_0x287c72[_0x287c72[_0x2e258d(0x359)]=0x3e9]='JOIN_ROOM_FULL',_0x287c72[_0x287c72['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x2e258d(0x233),_0x287c72[_0x287c72[_0x2e258d(0x292)]=0x3eb]=_0x2e258d(0x292),_0x287c72[_0x287c72[_0x2e258d(0x1f9)]=0x3ec]=_0x2e258d(0x1f9),_0x287c72[_0x287c72[_0x2e258d(0x14e)]=-0x1]=_0x2e258d(0x14e),_0x287c72))(ae||{}),Tt=(_0xbef21d=>(_0xbef21d[_0xbef21d['Undefined']=0x0]='Undefined',_0xbef21d[_0xbef21d[_0x2e258d(0x2bf)]=0x1]=_0x2e258d(0x2bf),_0xbef21d[_0xbef21d['HttpExport']=0x2]='HttpExport',_0xbef21d[_0xbef21d[_0x2e258d(0x280)]=0x3]=_0x2e258d(0x280),_0xbef21d[_0xbef21d[_0x2e258d(0x2c9)]=0x4]='UnitSnapshot',_0xbef21d[_0xbef21d['UNRECOGNIZED']=-0x1]=_0x2e258d(0x14e),_0xbef21d))(Tt||{});const Y=_0x2e258d(0x2a7),Jt={};var Q=(_0x184281=>(_0x184281[_0x2e258d(0x160)]=_0x2e258d(0x160),_0x184281[_0x2e258d(0x31d)]=_0x2e258d(0x31d),_0x184281[_0x2e258d(0x1e6)]=_0x2e258d(0x1e6),_0x184281['CLOSE_ROOM']='CLOSE_ROOM',_0x184281[_0x2e258d(0x1c4)]=_0x2e258d(0x1c4),_0x184281['SOCKET_FAILED_RETRY']=_0x2e258d(0x1da),_0x184281[_0x2e258d(0x3f2)]='SOCKET_FAILED',_0x184281[_0x2e258d(0x2d4)]='SUBMIT_CHANGESET_TIMEOUT',_0x184281))(Q||{});class te{constructor(){var _0x528178=_0x2e258d;P(this,_0x528178(0x2de),new j['Subject']()),P(this,'event$',this[_0x528178(0x2de)][_0x528178(0x158)]());}[_0x2e258d(0x1d3)](_0x36ae27){var _0x4e26d5=_0x2e258d;this[_0x4e26d5(0x2de)][_0x4e26d5(0x46b)](_0x36ae27);}}const bt=a['createIdentifier'](_0x2e258d(0x476));function Rt(_0x44eaef){var _0x4e3219=_0x2e258d,_0x298f70,_0x455872,_0x4a456f,_0x423ced,_0x183d3e;const _0x4c7662=_0x44eaef['data'],_0x59af38=JSON[_0x4e3219(0x1fe)](_0x4c7662);switch(_0x59af38[_0x4e3219(0x2c7)]){case G[_0x4e3219(0x277)]:case G[_0x4e3219(0x3cb)]:{const _0x485384=_0x59af38[_0x4e3219(0x191)];return{..._0x59af38,'data':_0x485384,'cmd':_0x59af38['cmd']};}case G[_0x4e3219(0x27a)]:{const _0x1529fe=_0x59af38['joinRsp'];return{..._0x59af38,'data':_0x1529fe,'cmd':_0x59af38[_0x4e3219(0x2c7)]};}case G['RECV']:{const _0x5e5a8d=_0x59af38[_0x4e3219(0x11c)];switch(_0x5e5a8d[_0x4e3219(0x260)]){case g[_0x4e3219(0x26b)]['PERMISSION_REJ']:return{..._0x59af38,'data':{..._0x5e5a8d,'data':(_0x298f70=_0x5e5a8d[_0x4e3219(0x3f6)])==null?void 0x0:_0x298f70['cs']},'cmd':_0x59af38[_0x4e3219(0x2c7)]};case g[_0x4e3219(0x26b)][_0x4e3219(0x1d2)]:return{..._0x59af38,'data':{..._0x5e5a8d,'data':(_0x455872=_0x5e5a8d[_0x4e3219(0x228)])==null?void 0x0:_0x455872['cs']},'cmd':_0x59af38[_0x4e3219(0x2c7)]};case g[_0x4e3219(0x26b)][_0x4e3219(0x17f)]:return{..._0x59af38,'data':{..._0x5e5a8d,'data':(_0x4a456f=_0x5e5a8d['newCsEvent'])==null?void 0x0:_0x4a456f['cs']},'cmd':_0x59af38[_0x4e3219(0x2c7)]};case g['CollaborationEvent']['CHANGESET_REJ']:return{..._0x59af38,'data':{..._0x5e5a8d,'data':(_0x423ced=_0x5e5a8d[_0x4e3219(0x26f)])==null?void 0x0:_0x423ced['cs']},'cmd':_0x59af38['cmd']};case g[_0x4e3219(0x26b)][_0x4e3219(0x409)]:return{..._0x59af38,'data':{..._0x5e5a8d,'data':(_0x183d3e=_0x5e5a8d[_0x4e3219(0x237)])==null?void 0x0:_0x183d3e['cs']},'cmd':_0x59af38[_0x4e3219(0x2c7)]};case g[_0x4e3219(0x26b)][_0x4e3219(0x14b)]:return{..._0x59af38,'data':{..._0x5e5a8d,'data':_0x5e5a8d[_0x4e3219(0x130)]},'cmd':_0x59af38[_0x4e3219(0x2c7)]};case g[_0x4e3219(0x26b)][_0x4e3219(0x22a)]:return{..._0x59af38,'data':{..._0x5e5a8d,'data':_0x5e5a8d['joinEvent']},'cmd':_0x59af38[_0x4e3219(0x2c7)]};case g[_0x4e3219(0x26b)][_0x4e3219(0x396)]:return{..._0x59af38,'data':{..._0x5e5a8d,'data':_0x5e5a8d['leaveEvent']},'cmd':_0x59af38[_0x4e3219(0x2c7)]};case g[_0x4e3219(0x26b)][_0x4e3219(0x177)]:return{..._0x59af38,'data':{..._0x5e5a8d,'data':_0x5e5a8d[_0x4e3219(0x451)]},'cmd':_0x59af38[_0x4e3219(0x2c7)]};case g[_0x4e3219(0x26b)][_0x4e3219(0x360)]:case g[_0x4e3219(0x26b)][_0x4e3219(0x322)]:return{..._0x59af38,'data':{..._0x5e5a8d,'data':_0x5e5a8d[_0x4e3219(0x252)]},'cmd':_0x59af38[_0x4e3219(0x2c7)]};case g['CollaborationEvent'][_0x4e3219(0x266)]:return{..._0x59af38,'data':{..._0x5e5a8d,'data':_0x5e5a8d[_0x4e3219(0x451)]},'cmd':_0x59af38[_0x4e3219(0x2c7)]};case g[_0x4e3219(0x26b)]['MSG_FOR_ERROR']:return{..._0x59af38,'data':_0x5e5a8d,'cmd':_0x59af38[_0x4e3219(0x2c7)]};case g[_0x4e3219(0x26b)][_0x4e3219(0x1a7)]:return{..._0x59af38,'data':{..._0x5e5a8d,'data':_0x5e5a8d['commentUpdateEvent']},'cmd':_0x59af38[_0x4e3219(0x2c7)]};case g[_0x4e3219(0x26b)][_0x4e3219(0x155)]:return{..._0x59af38,'data':{..._0x5e5a8d,'data':_0x5e5a8d[_0x4e3219(0x3d3)]},'cmd':_0x59af38[_0x4e3219(0x2c7)]};case g['CollaborationEvent'][_0x4e3219(0x479)]:return{..._0x59af38,'data':{..._0x5e5a8d,'data':_0x5e5a8d[_0x4e3219(0x34b)]},'cmd':_0x59af38[_0x4e3219(0x2c7)]};case g[_0x4e3219(0x26b)][_0x4e3219(0x326)]:return{..._0x59af38,'data':{..._0x5e5a8d,'data':_0x5e5a8d[_0x4e3219(0x2c0)]},'cmd':_0x59af38[_0x4e3219(0x2c7)]};default:return _0x59af38;}}default:return _0x59af38;}}function yt(_0x473e82){var _0xf616e2=_0x2e258d;switch(_0x473e82['cmd']){case G['HEARTBEAT']:case G['HELLO']:return JSON[_0xf616e2(0x200)]({'cmd':_0x473e82[_0xf616e2(0x2c7)],'routeKey':_0x473e82['routeKey']});case G[_0xf616e2(0x338)]:{let _0xa9ab8e;switch(_0x473e82[_0xf616e2(0x229)][_0xf616e2(0x260)]){case g[_0xf616e2(0x26b)][_0xf616e2(0x14b)]:{_0xa9ab8e={'eventID':g[_0xf616e2(0x26b)][_0xf616e2(0x14b)],'updateCursorEvent':_0x473e82[_0xf616e2(0x229)][_0xf616e2(0x229)]};break;}case g[_0xf616e2(0x26b)][_0xf616e2(0x396)]:{_0xa9ab8e={'eventID':g[_0xf616e2(0x26b)][_0xf616e2(0x396)],'leaveEvent':_0x473e82['data']['data']};break;}case g[_0xf616e2(0x26b)][_0xf616e2(0x22a)]:{_0xa9ab8e={'eventID':g[_0xf616e2(0x26b)][_0xf616e2(0x22a)],'joinEvent':_0x473e82[_0xf616e2(0x229)][_0xf616e2(0x229)]};break;}case g[_0xf616e2(0x26b)][_0xf616e2(0x177)]:{_0xa9ab8e={'eventID':g[_0xf616e2(0x26b)][_0xf616e2(0x177)],'liveShareNewHost':_0x473e82['data'][_0xf616e2(0x229)]};break;}case g[_0xf616e2(0x26b)][_0xf616e2(0x322)]:{_0xa9ab8e={'eventID':g[_0xf616e2(0x26b)][_0xf616e2(0x322)],'liveShareOperation':_0x473e82[_0xf616e2(0x229)][_0xf616e2(0x229)]};break;}case g[_0xf616e2(0x26b)]['LIVESHARE_TERMINATE']:{_0xa9ab8e={'eventID':g['CollaborationEvent'][_0xf616e2(0x266)],'liveShareTerminate':_0x473e82[_0xf616e2(0x229)][_0xf616e2(0x229)]};break;}case g[_0xf616e2(0x26b)]['LIVESHARE_REQUEST_HOST']:{_0xa9ab8e={'eventID':g[_0xf616e2(0x26b)][_0xf616e2(0x3ff)],'liveShareRequestHost':_0x473e82[_0xf616e2(0x229)][_0xf616e2(0x229)]};break;}case g['CollaborationEvent']['LIVESHARE_FETCH_OPERATIONS']:{_0xa9ab8e={'eventID':g[_0xf616e2(0x26b)][_0xf616e2(0x360)]};break;}default:_0xa9ab8e={'eventID':_0x473e82[_0xf616e2(0x229)][_0xf616e2(0x260)]};}return JSON[_0xf616e2(0x200)]({'cmd':_0x473e82[_0xf616e2(0x2c7)],'routeKey':_0x473e82[_0xf616e2(0x1a6)],'collaMsg':_0xa9ab8e});}case G[_0xf616e2(0x27a)]:return JSON[_0xf616e2(0x200)]({'cmd':_0x473e82[_0xf616e2(0x2c7)],'routeKey':_0x473e82[_0xf616e2(0x1a6)],'joinReq':_0x473e82[_0xf616e2(0x229)]});case G[_0xf616e2(0x198)]:return JSON[_0xf616e2(0x200)]({'cmd':_0x473e82[_0xf616e2(0x2c7)],'routeKey':_0x473e82['routeKey'],'leaveReq':_0x473e82[_0xf616e2(0x229)]});default:throw new Error(_0xf616e2(0x33b));}}var Xt=Object['getOwnPropertyDescriptor'],Zt=(_0x47d4c1,_0x3c8092,_0x26af87,_0xb69f7b)=>{var _0x4e23e7=_0x2e258d;for(var _0x550d69=_0xb69f7b>0x1?void 0x0:_0xb69f7b?Xt(_0x3c8092,_0x26af87):_0x3c8092,_0x203505=_0x47d4c1[_0x4e23e7(0x27e)]-0x1,_0x20d504;_0x203505>=0x0;_0x203505--)(_0x20d504=_0x47d4c1[_0x203505])&&(_0x550d69=_0x20d504(_0x550d69)||_0x550d69);return _0x550d69;},_e=(_0x53981e,_0x5a81df)=>(_0x3a0e55,_0x4a0fd5)=>_0x5a81df(_0x3a0e55,_0x4a0fd5,_0x53981e);const $e=a['createIdentifier'](_0x2e258d(0x28b));function Qt(_0x14bcf0,_0x1fc84b,_0x200041){var _0x470d0b=_0x2e258d;return _0x14bcf0+'/'+_0x1fc84b+'/unit/'+_0x200041+_0x470d0b(0x153);}exports[_0x2e258d(0x1cc)]=class extends a[_0x2e258d(0x147)]{constructor(_0x58397e,_0x2f4314,_0x4d3673,_0x5db1d3,_0x3bf149){var _0x25966c=_0x2e258d;super(),this[_0x25966c(0x2b7)]=_0x58397e,this[_0x25966c(0x3d1)]=_0x2f4314,this['_configService']=_0x4d3673,this[_0x25966c(0x355)]=_0x5db1d3,this[_0x25966c(0x1f5)]=_0x3bf149;}['_doCreateSocket'](_0xa24acd){var _0x4553f9=_0x2e258d;const _0x29e6a9=this[_0x4553f9(0x2b7)]['get'](q[_0x4553f9(0x209)]);if(!_0x29e6a9)throw new Error(_0x4553f9(0x35a));const _0x37136a=_0x29e6a9[_0x4553f9(0x16d)](_0xa24acd);if(!_0x37136a)throw new Error(_0x4553f9(0x411));const _0x30274a=new a[(_0x4553f9(0x2a3))](),_0x1349ab=new j[(_0x4553f9(0x154))]();_0x30274a['add'](_0x37136a[_0x4553f9(0x459)]['subscribe'](_0x565611=>_0x1349ab[_0x4553f9(0x46b)](_0x565611))),_0x30274a[_0x4553f9(0x3a9)](a[_0x4553f9(0x474)](()=>_0x1349ab[_0x4553f9(0x30b)]()));const _0x3edce4=new j['Subject']();_0x30274a[_0x4553f9(0x3a9)](_0x37136a['error$'][_0x4553f9(0x174)](_0x58c40c=>_0x3edce4[_0x4553f9(0x46b)](_0x58c40c))),_0x30274a[_0x4553f9(0x3a9)](a[_0x4553f9(0x474)](()=>_0x3edce4[_0x4553f9(0x30b)]()));const _0xf0c975=new j[(_0x4553f9(0x154))]();_0x30274a[_0x4553f9(0x3a9)](_0x37136a[_0x4553f9(0x1fc)][_0x4553f9(0x174)](_0x2514a4=>{var _0x2cdc4d=_0x4553f9;const _0x6c01a7=Rt(_0x2514a4);_0xf0c975[_0x2cdc4d(0x46b)](_0x6c01a7);})),_0x30274a[_0x4553f9(0x3a9)](a[_0x4553f9(0x474)](()=>_0xf0c975[_0x4553f9(0x30b)]()));let _0x22c98a;const _0x205d84=()=>{var _0x548219=_0x4553f9;_0x3edce4[_0x548219(0x46b)](new Event(_0x548219(0x3d2))),_0x1349ab[_0x548219(0x46b)](new Event(_0x548219(0x3d2))),_0x22c98a[_0x548219(0x3ea)]();};return _0x22c98a={'memberID':'','close$':_0x1349ab[_0x4553f9(0x158)](),'error$':_0x3edce4[_0x4553f9(0x158)](),'open$':_0x37136a[_0x4553f9(0x1dd)],'message$':_0xf0c975[_0x4553f9(0x158)](),'send':_0x12ac4a=>{var _0x1169be=_0x4553f9;if(_0x12ac4a[_0x1169be(0x2c7)]===G[_0x1169be(0x338)]){if(_0x12ac4a[_0x1169be(0x229)][_0x1169be(0x260)]===g[_0x1169be(0x26b)]['SUBMIT_CHANGESET']){this['_submitChangeset'](_0x22c98a,_0x12ac4a[_0x1169be(0x229)])[_0x1169be(0x1b9)](_0x4d88a4=>{var _0x3d1557=_0x1169be;this[_0x3d1557(0x355)][_0x3d1557(0x376)](_0x4d88a4),_0x205d84();});return;}if(_0x12ac4a[_0x1169be(0x229)][_0x1169be(0x260)]===g['CollaborationEvent'][_0x1169be(0x3ac)]){const _0x2d5914=_0x12ac4a[_0x1169be(0x229)];this[_0x1169be(0x333)](_0x2d5914)['then'](_0x2d83df=>{var _0x612d76=_0x1169be;_0xf0c975[_0x612d76(0x46b)]({'cmd':G[_0x612d76(0x157)],'code':ae['OK'],'routeKey':_0x2d5914['data'][_0x612d76(0x3af)],'routeType':'','data':{'eventID':g[_0x612d76(0x26b)][_0x612d76(0x1ab)],'data':{'changesets':_0x2d83df}}});})[_0x1169be(0x1b9)](_0x40256f=>{var _0x5274dd=_0x1169be;this[_0x5274dd(0x355)]['error'](_0x40256f),_0x205d84();});return;}}_0x37136a[_0x1169be(0x25c)](yt(_0x12ac4a));},'close':()=>{var _0x3c0fe5=_0x4553f9;_0x37136a['close'](),_0x30274a[_0x3c0fe5(0x1eb)]();}},_0x22c98a;}async['_submitChangeset'](_0x5d9934,_0x3a1362){var _0x290fad=_0x2e258d,_0x4bc21d,_0x25116c;const {unitType:_0x33a396,unitID:_0x3d5f78,changeset:_0x28a78f}=_0x3a1362[_0x290fad(0x229)],_0x2de1d3={'unitID':_0x3d5f78,'memberID':_0x5d9934['memberID'],'type':_0x33a396,'changeset':g[_0x290fad(0x298)](_0x28a78f)},_0x328cc9=this[_0x290fad(0x42b)][_0x290fad(0x34d)](It),_0x2b0048=this[_0x290fad(0x42b)][_0x290fad(0x34d)](Y),_0xa980ce=Qt((_0x25116c=(_0x4bc21d=_0x2b0048==null?void 0x0:_0x2b0048['collabSubmitChangesetUrl'])!=null?_0x4bc21d:_0x328cc9)!=null?_0x25116c:Kt,_0x33a396,_0x3d5f78);try{await this['_httpService'][_0x290fad(0x190)](_0xa980ce,{'body':_0x2de1d3});}catch(_0xc1f0ff){throw this['_logService']['error']('[CollaborationSession]',_0x290fad(0x1ef)),_0xc1f0ff;}}async[_0x2e258d(0x333)](_0x5054bd){var _0x4e4783=_0x2e258d;const {unitID:_0x506a8c,from:_0x3b151e,to:_0x35b3d,unitType:_0x4d4f54}=_0x5054bd[_0x4e4783(0x229)];return(await this[_0x4e4783(0x1f5)][_0x4e4783(0x20d)]({'metadata':void 0x0},{'unitID':_0x506a8c,'type':_0x4d4f54,'from':_0x3b151e,'to':_0x35b3d}))['changesets'];}},exports['CollaborationSocketService']=Zt([_e(0x0,a[_0x2e258d(0x22d)](a[_0x2e258d(0x349)])),_e(0x1,a[_0x2e258d(0x22d)](q['HTTPService'])),_e(0x2,a[_0x2e258d(0x1c9)]),_e(0x3,a[_0x2e258d(0x461)]),_e(0x4,g[_0x2e258d(0x2e4)])],exports[_0x2e258d(0x1cc)]);const ei=_0x2e258d(0x261);function ti(_0x360246){var _0x213f1e=_0x2e258d;return JSON[_0x213f1e(0x200)](_0x360246)[_0x213f1e(0x27e)];}class Be{constructor(){var _0x5a7c49=_0x2e258d;P(this,'_commentUpdate$',new j['Subject']()),P(this,_0x5a7c49(0x3c3),this['_commentUpdate$'][_0x5a7c49(0x158)]());}[_0x2e258d(0x419)](_0x16c356){var _0x39acfa=_0x2e258d;this[_0x39acfa(0x164)][_0x39acfa(0x46b)](_0x16c356);}}var ii=Object[_0x2e258d(0x3c4)],ni=(_0xd478b3,_0x134d8f,_0x1ccb03,_0x58cb72)=>{var _0xec2c8b=_0x2e258d;for(var _0x58426d=_0x58cb72>0x1?void 0x0:_0x58cb72?ii(_0x134d8f,_0x1ccb03):_0x134d8f,_0x26a6de=_0xd478b3[_0xec2c8b(0x27e)]-0x1,_0x773e9c;_0x26a6de>=0x0;_0x26a6de--)(_0x773e9c=_0xd478b3[_0x26a6de])&&(_0x58426d=_0x773e9c(_0x58426d)||_0x58426d);return _0x58426d;},Ke=(_0x2d41e3,_0x232d67)=>(_0x2531f3,_0x2bf568)=>_0x232d67(_0x2531f3,_0x2bf568,_0x2d41e3);exports['MemberService']=class extends a[_0x2e258d(0x147)]{constructor(_0x2ad3f4,_0x2b45a9){var _0x47c7a4=_0x2e258d;super(),P(this,_0x47c7a4(0x2e8),new Map()),P(this,_0x47c7a4(0x1f6),new j[(_0x47c7a4(0x154))]()),(this[_0x47c7a4(0x380)]=_0x2ad3f4,this[_0x47c7a4(0x2f9)]=_0x2b45a9,this[_0x47c7a4(0x295)](j[_0x47c7a4(0x3fa)](this[_0x47c7a4(0x380)]['getTypeOfUnitDisposed$'](a[_0x47c7a4(0x162)][_0x47c7a4(0x1e8)])[_0x47c7a4(0x24a)](W[_0x47c7a4(0x202)](_0x471975=>_0x471975[_0x47c7a4(0x35b)]())),this[_0x47c7a4(0x380)][_0x47c7a4(0x13e)](a[_0x47c7a4(0x162)][_0x47c7a4(0x2fb)])[_0x47c7a4(0x24a)](W[_0x47c7a4(0x202)](_0x541fcd=>_0x541fcd[_0x47c7a4(0x35b)]())),this['_univerInstanceService'][_0x47c7a4(0x13e)](a[_0x47c7a4(0x162)][_0x47c7a4(0x329)])['pipe'](W[_0x47c7a4(0x202)](_0x2b6e60=>_0x2b6e60['getUnitId']())))[_0x47c7a4(0x174)](_0x4edbcc=>this[_0x47c7a4(0x3dc)](_0x4edbcc))));}[_0x2e258d(0x244)](_0x1333d){var _0x3608bc=_0x2e258d;return this['_roomMembers'][_0x3608bc(0x1e2)](_0x1333d)?j['of'](this[_0x3608bc(0x2e8)]['get'](_0x1333d)):this[_0x3608bc(0x1f6)][_0x3608bc(0x24a)](W[_0x3608bc(0x202)](_0x3d2b58=>{var _0x565bd2=_0x3608bc;if(_0x3d2b58===_0x1333d)return this[_0x565bd2(0x2e8)]['get'](_0x3d2b58);}));}[_0x2e258d(0x3e3)](_0x1ef817){var _0x174243=_0x2e258d;this['_userManagerService'][_0x174243(0x3e3)](_0x1ef817);}[_0x2e258d(0x13c)](){var _0x24aad6=_0x2e258d;return this['_userManagerService'][_0x24aad6(0x13c)]();}[_0x2e258d(0x44a)](_0x4fdc62,_0x1d09fc){var _0x175454=_0x2e258d;let _0x10850c=this[_0x175454(0x2e8)][_0x175454(0x2f4)](_0x4fdc62);_0x10850c||(_0x10850c=new ri(),this[_0x175454(0x2e8)][_0x175454(0x127)](_0x4fdc62,_0x10850c),this[_0x175454(0x1f6)]['next'](_0x4fdc62)),_0x10850c['updateMember'](_0x1d09fc);}[_0x2e258d(0x2b2)](_0x1dc4fb,_0xe484fb){var _0x440093=_0x2e258d;const _0x5665de=this[_0x440093(0x2e8)][_0x440093(0x2f4)](_0x1dc4fb);_0x5665de&&_0x5665de[_0x440093(0x2b2)](_0xe484fb);}[_0x2e258d(0x12f)](_0x321cbd){var _0x1099f1=_0x2e258d;return this[_0x1099f1(0x2e8)][_0x1099f1(0x2f4)](_0x321cbd);}[_0x2e258d(0x3b8)](_0x326dea,_0x330724){var _0x48b229=_0x2e258d;const _0x9b32f=this[_0x48b229(0x2e8)]['get'](_0x326dea);if(_0x9b32f)return _0x9b32f[_0x48b229(0x3b8)](_0x330724);}[_0x2e258d(0x3dc)](_0x48d0cc){var _0x1b71bb=_0x2e258d;const _0x3c8147=this[_0x1b71bb(0x2e8)][_0x1b71bb(0x2f4)](_0x48d0cc);_0x3c8147&&(_0x3c8147[_0x1b71bb(0x1eb)](),this[_0x1b71bb(0x2e8)][_0x1b71bb(0x35e)](_0x48d0cc));}[_0x2e258d(0x1eb)](){var _0x408952=_0x2e258d;this[_0x408952(0x2e8)][_0x408952(0x270)](_0x1bf45c=>_0x1bf45c[_0x408952(0x1eb)]()),this['_roomMembers']['clear'](),this[_0x408952(0x1f6)][_0x408952(0x30b)]();}},exports[_0x2e258d(0x241)]=ni([Ke(0x0,a[_0x2e258d(0x308)]),Ke(0x1,a[_0x2e258d(0x22d)](a[_0x2e258d(0x16a)]))],exports[_0x2e258d(0x241)]);class ri extends a[_0x2e258d(0x147)]{constructor(){var _0x508210=_0x2e258d;super(...arguments),P(this,'_members',new Map()),P(this,_0x508210(0x1d7),new j[(_0x508210(0x34f))](this[_0x508210(0x2e2)])),P(this,_0x508210(0x139),this['_members$'][_0x508210(0x158)]());}[_0x2e258d(0x1eb)](){var _0x241cc3=_0x2e258d;this['_members'][_0x241cc3(0x2cc)]();}[_0x2e258d(0x44a)](_0x4b7486){var _0xa0892e=_0x2e258d;this[_0xa0892e(0x2e2)][_0xa0892e(0x127)](_0x4b7486[_0xa0892e(0x3c9)],_0x4b7486),this[_0xa0892e(0x132)]();}[_0x2e258d(0x2b2)](_0x34299f){var _0x18028c=_0x2e258d;this[_0x18028c(0x2e2)][_0x18028c(0x35e)](_0x34299f);}[_0x2e258d(0x3b8)](_0x46a308){var _0x306096=_0x2e258d;return this['_members'][_0x306096(0x2f4)](_0x46a308);}[_0x2e258d(0x29b)](){var _0x274e8c=_0x2e258d;return Array[_0x274e8c(0x296)](this['_members'][_0x274e8c(0x323)]());}[_0x2e258d(0x132)](){var _0x430555=_0x2e258d;this['_members$'][_0x430555(0x46b)](this['_members']);}}var si=Object[_0x2e258d(0x3c4)],oi=(_0x118b53,_0x1cac5a,_0x48efd1,_0x36dae5)=>{var _0x27434e=_0x2e258d;for(var _0x5dce7a=_0x36dae5>0x1?void 0x0:_0x36dae5?si(_0x1cac5a,_0x48efd1):_0x1cac5a,_0xab0d52=_0x118b53[_0x27434e(0x27e)]-0x1,_0x557386;_0xab0d52>=0x0;_0xab0d52--)(_0x557386=_0x118b53[_0xab0d52])&&(_0x5dce7a=_0x557386(_0x5dce7a)||_0x5dce7a);return _0x5dce7a;},oe=(_0x42cc58,_0xc10382)=>(_0x1fe5b1,_0x475c5b)=>_0xc10382(_0x1fe5b1,_0x475c5b,_0x42cc58),se=(_0x7c0c58=>(_0x7c0c58[_0x7c0c58[_0x2e258d(0x3c7)]=0x0]=_0x2e258d(0x3c7),_0x7c0c58[_0x7c0c58['JOINING']=0x1]=_0x2e258d(0x456),_0x7c0c58[_0x7c0c58[_0x2e258d(0x35d)]=0x2]='OFFLINE',_0x7c0c58[_0x7c0c58[_0x2e258d(0x24b)]=0x3]='ONLINE',_0x7c0c58))(se||{});const Ye={[ae[_0x2e258d(0x1de)]]:_0x2e258d(0x1bd),[ae[_0x2e258d(0x359)]]:_0x2e258d(0x2ca),[ae[_0x2e258d(0x233)]]:_0x2e258d(0x444),[ae[_0x2e258d(0x292)]]:_0x2e258d(0x26c),[ae['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x2e258d(0x3e0)};exports[_0x2e258d(0x39d)]=class extends a[_0x2e258d(0x410)]{constructor(_0x4b1024,_0x50dd05,_0x18cbd2,_0x141778,_0x1336a9,_0x4b7a2a,_0x4728a2,_0x54f11b,_0x1adc8a){var _0x24558a=_0x2e258d;super(),P(this,_0x24558a(0x242),new j[(_0x24558a(0x34f))](0x0)),P(this,'sessionStatus$',this[_0x24558a(0x242)][_0x24558a(0x158)]()),P(this,_0x24558a(0x2de),new j[(_0x24558a(0x154))]()),P(this,_0x24558a(0x3fd),this['_event$'][_0x24558a(0x158)]()),P(this,_0x24558a(0x317)),P(this,_0x24558a(0x3f4)),P(this,_0x24558a(0x2b8)),P(this,_0x24558a(0x1af),!0x1),P(this,_0x24558a(0x2e0),null),(this[_0x24558a(0x43a)]=_0x4b1024,this[_0x24558a(0x355)]=_0x18cbd2,this[_0x24558a(0x42b)]=_0x141778,this[_0x24558a(0x437)]=_0x1336a9,this[_0x24558a(0x40b)]=_0x4b7a2a,this['_commentService']=_0x4728a2,this[_0x24558a(0x15c)]=_0x54f11b,this[_0x24558a(0x467)]=_0x1adc8a,this['_shouldReportTelemetry']=!!this[_0x24558a(0x467)],_0x50dd05['pipe'](j[_0x24558a(0x33e)](this[_0x24558a(0x1f4)]))[_0x24558a(0x174)](_0x5b1323=>{var _0x15cab0=_0x24558a,_0xf09421;typeof _0x5b1323>'u'||(this[_0x15cab0(0x317)]=_0x5b1323,_0x5b1323?(this['_joinRoom'](_0x5b1323),this[_0x15cab0(0x3f4)]=_0x5b1323[_0x15cab0(0x1fc)]['subscribe'](_0x17499a=>{var _0x146ec1=_0x15cab0;_0x17499a[_0x146ec1(0x1a6)]===this[_0x146ec1(0x43a)]&&this[_0x146ec1(0x1b4)](_0x17499a);})):(this[_0x15cab0(0x182)](),this[_0x15cab0(0x242)]['next'](0x2),(_0xf09421=this[_0x15cab0(0x3f4)])==null||_0xf09421[_0x15cab0(0x1a3)](),this[_0x15cab0(0x3f4)]=null));}));}get['sessionStatus'](){var _0x4d5a6d=_0x2e258d;return this[_0x4d5a6d(0x242)]['getValue']();}[_0x2e258d(0x144)](){var _0x23bd9b=_0x2e258d,_0x49ef16,_0x50a45c;return(_0x50a45c=(_0x49ef16=this[_0x23bd9b(0x317)])==null?void 0x0:_0x49ef16[_0x23bd9b(0x3c9)])!=null?_0x50a45c:null;}[_0x2e258d(0x1eb)](){var _0x2da781=_0x2e258d;super[_0x2da781(0x1eb)](),this[_0x2da781(0x1f4)]['next'](),this['dispose$']['complete']();}[_0x2e258d(0x3ea)](){var _0x12238b=_0x2e258d,_0x317654,_0x5f2095;this[_0x12238b(0x182)](),(_0x317654=this[_0x12238b(0x317)])==null||_0x317654[_0x12238b(0x25c)]({'cmd':G[_0x12238b(0x198)],'data':{'roomID':this[_0x12238b(0x43a)]}}),(_0x5f2095=this[_0x12238b(0x317)])==null||_0x5f2095[_0x12238b(0x3ea)](),this[_0x12238b(0x2de)]['complete'](),this[_0x12238b(0x242)][_0x12238b(0x30b)](),this[_0x12238b(0x1eb)]();}[_0x2e258d(0x1b4)](_0x20615a){var _0x4789c6=_0x2e258d;_0x20615a[_0x4789c6(0x2c7)]===G[_0x4789c6(0x27a)]?this[_0x4789c6(0x44b)](_0x20615a):_0x20615a[_0x4789c6(0x2c7)]===G['RECV']&&this[_0x4789c6(0x3a6)](_0x20615a);}[_0x2e258d(0x354)](_0x18e749){var _0x4b5892=_0x2e258d;this[_0x4b5892(0x242)][_0x4b5892(0x46b)](0x1),_0x18e749[_0x4b5892(0x25c)]({'cmd':G['JOIN'],'routeKey':this[_0x4b5892(0x43a)],'routeType':'','data':{'rooms':[{'roomID':this[_0x4b5892(0x43a)]}]}});}[_0x2e258d(0x44b)](_0x22381f){var _0x5aeda6=_0x2e258d,_0x2b1bbc;if(_0x22381f[_0x5aeda6(0x275)]in Ye){this[_0x5aeda6(0x15c)]['emitEvent']({'id':Q[_0x5aeda6(0x1c4)],'data':Ye[_0x22381f[_0x5aeda6(0x275)]]}),this[_0x5aeda6(0x242)][_0x5aeda6(0x46b)](0x2);return;}this[_0x5aeda6(0x242)]['next'](0x3);const _0x497ce6=(_0x2b1bbc=_0x22381f[_0x5aeda6(0x229)]['roomInfos'][this[_0x5aeda6(0x43a)]])==null?void 0x0:_0x2b1bbc[_0x5aeda6(0x134)];_0x497ce6&&_0x497ce6[_0x5aeda6(0x270)](_0xd04488=>this['_memberService']['updateMember'](this[_0x5aeda6(0x43a)],_0xd04488));}['_onRecvEvent'](_0x3567a2){var _0x55c229=_0x2e258d;try{const _0x46bef2=_0x3567a2[_0x55c229(0x229)];switch(_0x46bef2[_0x55c229(0x260)]){case g[_0x55c229(0x26b)][_0x55c229(0x22a)]:this['_onUserJoin'](_0x46bef2),this['_event$']['next'](_0x46bef2);break;case g[_0x55c229(0x26b)][_0x55c229(0x396)]:this['_onUserLeave'](_0x46bef2),this[_0x55c229(0x2de)][_0x55c229(0x46b)](_0x46bef2);break;case g[_0x55c229(0x26b)][_0x55c229(0x1d2)]:case g[_0x55c229(0x26b)][_0x55c229(0x409)]:this[_0x55c229(0x265)](),this[_0x55c229(0x21b)](),this[_0x55c229(0x2de)][_0x55c229(0x46b)](_0x46bef2);break;case g[_0x55c229(0x26b)][_0x55c229(0x427)]:this[_0x55c229(0x355)][_0x55c229(0x376)](_0x55c229(0x372)+JSON[_0x55c229(0x200)](_0x46bef2)),this[_0x55c229(0x2de)]['next'](_0x46bef2);break;case g[_0x55c229(0x26b)][_0x55c229(0x1a7)]:this['_commentService']['onCommentUpdate'](_0x46bef2[_0x55c229(0x229)]),this[_0x55c229(0x2de)][_0x55c229(0x46b)](_0x46bef2);break;default:this[_0x55c229(0x2de)]['next'](_0x46bef2);}}catch(_0x531d91){this[_0x55c229(0x355)][_0x55c229(0x376)](_0x531d91,_0x3567a2);}}[_0x2e258d(0x179)](_0xb3cb71){var _0x6642c=_0x2e258d;this[_0x6642c(0x40b)][_0x6642c(0x44a)](this[_0x6642c(0x43a)],_0xb3cb71[_0x6642c(0x229)]);}[_0x2e258d(0x470)](_0x59b73e){var _0x5c5238=_0x2e258d;this[_0x5c5238(0x40b)][_0x5c5238(0x2b2)](this[_0x5c5238(0x43a)],_0x59b73e[_0x5c5238(0x229)][_0x5c5238(0x3c9)]);}async[_0x2e258d(0x25c)](_0x33a2dd,_0x3b83c5){var _0x1e82a8=_0x2e258d;if(this[_0x1e82a8(0x1fd)]!==0x3||!this['_socket'])throw new Error(_0x1e82a8(0x271));try{_0x33a2dd['eventID']===g[_0x1e82a8(0x26b)][_0x1e82a8(0x12a)]&&(this[_0x1e82a8(0x405)](),this[_0x1e82a8(0x20f)](_0x33a2dd)),this[_0x1e82a8(0x317)][_0x1e82a8(0x25c)]({'cmd':G[_0x1e82a8(0x338)],'routeKey':_0x3b83c5,'routeType':'','data':_0x33a2dd});}catch(_0x141167){this['_logService'][_0x1e82a8(0x376)](_0x141167);}}['_scheduleCollaborationTimeoutTimer'](){var _0x3e37e7=_0x2e258d,_0x1d69e0;this[_0x3e37e7(0x2b8)]=setTimeout(()=>{var _0x9876ea=_0x3e37e7;this[_0x9876ea(0x2b8)]=null,this[_0x9876ea(0x15c)][_0x9876ea(0x1d3)]({'id':Q['SUBMIT_CHANGESET_TIMEOUT']});},(_0x1d69e0=this['_configService'][_0x3e37e7(0x34d)](je))!=null?_0x1d69e0:gt);}[_0x2e258d(0x21b)](){var _0x53e390=_0x2e258d;this['_collaborationTimeoutTimer']&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x53e390(0x2b8)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x1f920c){var _0x57c315=_0x2e258d;if(!this[_0x57c315(0x1af)])return;const {data:_0xbece35}=_0x1f920c,{unitID:_0x2a3e88,changeset:_0x28321d}=_0xbece35,{mutations:_0x3b507c,type:_0x178d56}=_0x28321d;this[_0x57c315(0x2e0)]={'unitId':_0x2a3e88,'type':_0x178d56,'startTime':performance[_0x57c315(0x392)](),'stopTime':0x0,'duration':0x0,'size':ti(_0x3b507c)};}[_0x2e258d(0x265)](){var _0xbd4db=_0x2e258d;if(this[_0xbd4db(0x1af)]){if(!this['_telemetryInfo']){this[_0xbd4db(0x355)][_0xbd4db(0x376)](_0xbd4db(0x2a2),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0xbd4db(0x2e0)][_0xbd4db(0x232)]=performance['now'](),this[_0xbd4db(0x2e0)][_0xbd4db(0x29e)]=this[_0xbd4db(0x2e0)][_0xbd4db(0x232)]-this['_telemetryInfo']['startTime'],this['_telemetryService'][_0xbd4db(0x3cf)](ei,this['_telemetryInfo']),this['_telemetryInfo']=null;}}[_0x2e258d(0x182)](){var _0x11abfc=_0x2e258d;this[_0x11abfc(0x2e0)]=null;}},exports[_0x2e258d(0x39d)]=oi([oe(0x2,a[_0x2e258d(0x461)]),oe(0x3,a[_0x2e258d(0x1c9)]),oe(0x4,a[_0x2e258d(0x22d)](a[_0x2e258d(0x152)])),oe(0x5,a[_0x2e258d(0x22d)](exports['MemberService'])),oe(0x6,a[_0x2e258d(0x22d)](Be)),oe(0x7,a[_0x2e258d(0x22d)](te)),oe(0x8,a['Optional'](Mt[_0x2e258d(0x33c)]))],exports['CollaborationSession']);var ai=Object[_0x2e258d(0x3c4)],ci=(_0x258e9b,_0x423b6e,_0x4ff72d,_0x1f2677)=>{for(var _0x280e9e=_0x1f2677>0x1?void 0x0:_0x1f2677?ai(_0x423b6e,_0x4ff72d):_0x423b6e,_0x4b1194=_0x258e9b['length']-0x1,_0x1a38ea;_0x4b1194>=0x0;_0x4b1194--)(_0x1a38ea=_0x258e9b[_0x4b1194])&&(_0x280e9e=_0x1a38ea(_0x280e9e)||_0x280e9e);return _0x280e9e;},le=(_0x3cff18,_0x376fd9)=>(_0x221ac6,_0x578625)=>_0x376fd9(_0x221ac6,_0x578625,_0x3cff18);function _0x3e55(_0xf42def,_0x481f6a){var _0x29cc18=_0x29cc();return _0x3e55=function(_0x3e55de,_0x251b13){_0x3e55de=_0x3e55de-0x10f;var _0x475e36=_0x29cc18[_0x3e55de];return _0x475e36;},_0x3e55(_0xf42def,_0x481f6a);}function _0x29cc(){var _0x251f62=['SNAPSHOT_SERVER_URL_KEY','_executeRemoteChangeset','now','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','_replaceFileID','awaiting_with_pending','USERS_LEAVE','transformChangesets','isTransformMutationsWithChangesetFailure','_clearHeartbeatTimer','_retryCount','_onConnectionFailed','byteLength','CollaborationSession','entityInit$','2961UDjnbL','__Key__','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','equals','createIdentifier','failed\x20to\x20apply\x20missed\x20changesets!','[CollaborationSessionService]','_onRecvEvent','StreamCipher','getCurrentRevOfUnit','add','LOCAL_CACHE_INTERVAL','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','FETCH_MISSING','BlockCipher','_transformStateCache','unitID','mutations','_transformService','list','finalize','_listenToNetworkCondition','SheetCollaborationEntity','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','awaitingChangeset','getMember','_redoStacks','_iKey','fetching\x20missing\x20changesets\x20from\x20','[DataLoaderService]','ConflictState','HEARTBEAT_TIMEOUT','_key','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','createEncryptor','@univerjs-pro/license','commentUpdate$','getOwnPropertyDescriptor','hasOwnProperty','UNDEFINED','IDLE','_process','memberID','OfflineState','HELLO','_updateStatus','_toggleOffline','repeat','capture','result','_httpService','connection\x20error','updatePermissionObjEvent','CONNECTOR_DATA_TOO_LARGE','_entities','cfg','algo','[SyncedState]:\x20received\x20acknowledgement.','&assign=','onTransformRemoteChangesetByStateCache','createInstance','_removeRoom','AWAITING','localeService','_scheduleCompleteTimestamp','session.room-cnt-exceeds','listCollaborators','Rectangle','setCurrentUser','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','localCacheService','getInterceptPoints','EmptyMutation','onSyncEditingCollabCursor','subUnitId','close','sigBytes','unitInfo$','onRemoteAck','LocalUndoRedoService','deepClone','image/png','AwaitingState','SOCKET_FAILED','fetchThroughInterceptors','_socketMessageSubscription','transformUndoRedo','permissionRejEvent','_init','_transformRemoteChangesetByStateCache','sequenceExecute','merge','WorkbookEditablePermission','BufferedBlockAlgorithm','event$','762xWpDAm','LIVESHARE_REQUEST_HOST','EvpKDF','collaboratorID','/unit/','CollaborativeUndoRedoService','lib','_scheduleCollaborationTimeoutTimer','status','_handler','collabWebSocketUrl','CHANGESET_SHOULD_RETRY','_onOffline','_memberService','state$','_registerDependencies','_handlerCallback','OTHER_CLIENTS_EDITING','RxDisposable','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_unitInfo$','[PendingState]:\x20received\x20rejection.','_state$','socket$','image/bmp','json','replace','onCommentUpdate','substr','_keySchedule','CollaborationUIEventId','95lPBcxg','enableAuthServer','x-univer-host','collaboration-client.local-cache-service','_undoStacks','NOT_COLLAB','serializeCombRequest','pluginName','string','_instanceService','MSG_FOR_ERROR','_createHandler','Workbook','MentionIoHttpService','_configService','_getRedoStack','updateOfflineData','NOT_FOUND','_clearRetryConnectingTimer','_onMessage','/object','_resendTimer','CollaborationController','_getCtorByUniverType','_substituteRedoStack','patch','_localeService','Encryptor','_entityInit$','_unitID','ICollaborationSocketService','_syncEditingCollabCursor','_getUploadFileURL','reqId','randomBytes','unitId','BlockCipherMode','_collaborationPaused','subject','session.room-not-exists','_status$','_queuedRemoteChangesets','floor','addHandlerCallback','ENSURE_SNAPSHOT_EXECUTION','updateMember','_onJoinRoomEvent','Optional','baseRev','SerializableCipher','SyncedState','Module','liveShareNewHost','firstValueFrom','Hex','getUnitOnRev','slice','JOINING','onMissingChangesets','IMentionIOService','close$','_reverseMap','UniverNetworkPlugin','objectType','_resendTimeout','CompressMutationService','buffer','indexOf','ILogService','_sendHeartbeatTimer','Malformed\x20UTF-8\x20data','_schedule','body','@univerjs/network','_telemetryService','_createInitialState','[CollaborationUndoRedoService]','executeCommand','next','_transformStack','_type','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_showConflictNotification','_onUserLeave','[OfflineState]:\x20received\x20changeset.','originalMeta','isInternalEditorID','toDisposable','getTypeOfUnitAdded$','univer-pro.collaboration-client.network-condition.service','roles','onTransformState','SHOULD_CLOSE_CONN','workbook','getImage','withCredentials','AuthzIoHttpService','getLatestCsReqIdBySid','__creator','_getAPIPrefix','_changesetSessionId','Error\x20on\x20receiving\x20event','onCommandExecuted','decrypt','AUTHZ_URL_KEY','[CollaborationState]:\x20apply\x20error!','online$','HmacMD5','collaMsg','\x20-\x20','_tryEnsureSocket','encryptBlock','refreshPermission','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','find','requireSession','words','putCollaborators','toggleOffline','set','_waitForHeartbeatResponse','_localCacheService','SUBMIT_CHANGESET','function','charAt','RETRY_CONNECTING_MAX_COUNT_KEY','concatMap','getRoom','updateCursorEvent','sin','_emitMembers','/object/','members','_onConnectionOpen','_sendingTimer','univer-pro.collaboration-client.single-active-unit-service','_getSignURL','members$','getDeserializedSheetBlock','editing\x20status\x20changed\x20to','getCurrentUser','deserializeToCombResponse','getTypeOfUnitDisposed$','_initDependencies','_append','createCollaborator','action','concat','getMemberID','ImageUploadStatusType','COLLAB_SUBMIT_CHANGESET_URL_KEY','Disposable','SNAPSHOT_INVALID_SNAPSHOT','iterations','SnapshotService','UPDATE_CURSOR','location','actions','UNRECOGNIZED','unknown','COMPRESS_MUTATION_APPLY','toStringTag','LocaleService','/new_changes','Subject','UPDATE_PERMISSION_OBJ','update','RECV','asObservable','put','_getCurrentRevision','session','_collaborationUIEventService','encode','COLLAB_WEB_SOCKET_URL','UniverCollaborationClientPlugin','OTHER_CLIENT_EDITING','_retryConnectingTimer','UniverInstanceType','prototype','_commentUpdate$','[CollaborationSessionService]:\x20socket\x20error','keySize','c1Prime','@univerjs-pro/collaboration','signUrlServerUrl','UserManagerService','getUnit','LICENSE_DISTRO_REJECTED','createSocket','HTTPService','responseType','selections','status$','saveSheetBlock','mapDocumentTypeToUniverType','subscribe','_clearScheduledTask','@univerjs/core','LIVESHARE_NEW_HOST','_sender','_onUserJoin','createDecryptor','_doProcessBlock','_disableEditing','_revisionService','$super','NEW_CHANGESETS','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','socket\x20close','_throwTelemetryCollaborationNewChangeset','_unlockTransition','includes','IUndoRedoService','LOGIN_URL_KEY','NoPadding','_hash','appendMutation','ITransformService','params','CollaborationEntity','@univerjs/drawing','encrypt','/allowed','post','infoRsp','getTime','_candidateSocket','2432241gayLrv','SessionStatus','YUUMI_UNABLE_LOAD_URL','apply','LEAVE','DEFAULT_WS_SESSION_TICKET_URL','_undoRedoService','_doCryptBlock','/collaborator','onSendChangeset','_doReset','MentionType','_clearLocalCache','AwaitingWithPendingState','startsWith','unsubscribe','BASE64','_config','routeKey','COMMENT_UPDATE','LICENSE_EXPORT_SIZE_EXCEEDED','MergeInterceptorFactory','addImageSourceCache','PSEUDO_FETCH_MISSING_RESULT','_lockTransition','LICENSE_IMPORT_SIZE_EXCEEDED','shareReplay','_shouldReportTelemetry','_onRemoteRetry','\x0aCurrent:\x20','transformMutationsWithChangeset','FETCH_MISS','_onCombEvent','MUTATION','_HTTPService','onRemoteRetry','mergeOverrideWithDependencies','catch','enc','debug','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','session.join-failed','/universer-api/authz','_createHmacHelper','src','Utf8','HMAC','DocCollaborationEntity','JOIN_ROOM_FAILED','ciphertext','_hasher','_acknowledgedAwaitingChangeset','blockSize','IConfigService','_isPermissionRej','_compressMutationService','CollaborationSocketService','reject','_timeoutTimer','min','size','randomUUID','CHANGESET_ACK','emitEvent','state','DataLoaderService','take','_members$','_socketService','rng','SOCKET_FAILED_RETRY','ERROR_IMAGE','rev','open$','FAIL','@univerjs/sheets','transformSelections','processBlock','has','FetchingMissState','_snapshotService','getCollabEntity','CONFLICT','getLocalCacheKey','UNIVER_SHEET','socket\x20open.','_remoteChangesetQueue','dispose','Tools','userID','name','submit\x20changeset\x20error!','revision','_change$','&to=','interceptor','dispose$','_snapshotServerService','_roomCreated$','objectID','IPermissionService','GLOBAL_ROOMS_CNT_EXCEEDS','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','pending','message$','sessionStatus','parse','EXCHANGE_SIGN_URL_SERVER_URL_KEY','stringify','ImageSourceType','map','CollaborationUIEventService','_changesetReqId','_networkConditionService','Univer','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_imageSourceCache','ISocketService','m2Prime','closeSession','[FetchMissState]','fetchMissingChangesets','[CollaborationEntity]','_startTelemetryCollaborationNewChangeset','getRandomValues','_getSendChangesetTimeout','AWAITING_WITH_PENDING','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_resendWithTimeout','decryptBlock','_clearUndo','_map','toggleOnline','ReplaySubject','focused$','_clearCollaborationTimeoutTimer','CollaborationStatus','execute','defineProperty','offline','IImageIoService','getSheetBlock','random','_applyRemoteChangeset','SheetsSelectionsService','YUUMI_SUBSCRIPTION_NOT_FOUND','UNIVER_COLLABORATION_CLIENT_PLUGIN','_invKeySchedule','csAckEvent','data','USERS_ENTER','/universer-api/user/session-ticket','charCodeAt','Inject','getResourcesRequest','exports','CollaborationSessionService','init','stopTime','JOIN_ROOM_NOT_EXISTS','_parse','SYNCED','onMissedChangesetFetched','csShouldRetryEvent','editingUnit','getGlobalObject','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','IContextService','8912JpKOyK','PERSON','RevisionService','/universer-api/oidc/authpage','salt','MemberService','_sessionStatus$','authzUrl','waitForRoom$','registerHTTPInterceptor','rxjs/operators','_pendingMutations','onTransformSelections','append','pipe','ONLINE','ivSize','fromCollab','UNKNOWN_CMD','textRanges','resourceIDs','174066ADQGLn','liveShareOperation','LOCAL_CACHE_INTERVAL_KEY','_transformSelections','HEARTBEAT_INTERVAL','_state','getImageSourceCache','MD5','_getUndoStack','_getLoginPath','snapshotServerUrl','send','@univerjs/telemetry','rxjs','readInt32LE','eventID','collaboration_new_changeset','bind','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_waitCount','_stopTelemetryCollaborationNewChangeset','LIVESHARE_TERMINATE','ws://127.0.0.1:8000/universer-api/comb/connect','_sendHeartbeat','APPLY_DUPLICATED','UNIVER_UNKNOWN','CollaborationEvent','session.room-permission-denied','loadOfflineData','onRemoteRej','csRejEvent','forEach','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','CommentService','resend','getUnitType','code','crypto','HEARTBEAT','SHA1','_initCloseConn','JOIN','disableLocalCache','People','_onConflict','length','resolve','UnitEmbedded','FileId','reduce','_transitionLocked','_ENC_XFORM_MODE','batchAllowed','SetSelectionsOperation','APPLY_REVISION_CONFILICT','APPLY_PERMISSION_DENIED','_substituteUndoStack','create','univer-pro.collaboration-client-socket-service','sid','key','/rev/','fetch_missing','_decreaseWaiting','fetchMiss','JOIN_ROOM_PERMISSION_DENIED','push','_createSocket','disposeWithMe','from','_onLocalMutation','parseChangesetToProtocol','_checkMissing','uploadFileServerUrl','getAllMembers','onRemoteChangeset','mode','duration','onlyLocal','max','changesets','[CollaborationSession]','DisposableCollection','call','_createHelper','unit-cache-','collaboration-client.config','ERROR_IMAGE_TYPE','JSONX','getCurrentSelections','_DEC_XFORM_MODE','UnitStatus','format','_transformUndoredo','target','isTransformMutationsWithChangesetSuccess','_socketReady','removeMember','Hasher','requestParams','_cipher','_exhaustRemoteChangesetQueue','_injector','_collaborationTimeoutTimer','_collabSessionService','_mode','getCollabEntity$','UniverCollaborationPlugin','Base','pad','HttpImport','uniscriptRunEvent','onTransformIME','saveChangeset','toLowerCase','/role','compose','CommandType','cmd','Could\x20not\x20dynamically\x20require\x20\x22','UnitSnapshot','session.room-full','join','clear','getActiveSheet','auth.needGotoLoginAlert','symbol','clone','onLocalMutation','_updateState','updatePermissionPoint','SUBMIT_CHANGESET_TIMEOUT','DEFAULT_FILE_NAME','isPermissionRej','sendChangesetTimeout','APPLY_NON_SEQUENTIAL_REVISION','_awaitingChangeset','method','range','_clearRedo','abs','_event$','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_telemetryInfo','override','_members','_singleActiveUnitService','ISnapshotServerService','COMPRESS_MUTATION_SEND','_commandService','_getDownloadEndpointURL','_roomMembers','encodeURIComponent','_updateLocalCache','ISingleActiveUnitService','_clearTimeoutTimer','image/gif','filter','getFocusedUnit','OpenSSL','_toggleOnline','SnapshotServerOverHTTPService','_transformIMECache','get','[OfflineState]:\x20received\x20acknowledgement.','_eventService','type','_oKey','_userManagerService','LICENSE_MAX_UNITS_EXCEEDED','UNIVER_DOC','CHANGESET_REVISION_CONFILICT','href','_tryReconnect','YUUMI_RATE_OVER_LIMIT','msCrypto','UNAUTHENTICATED','COLLAB_WEB_SOCKET_URL_KEY','Decryptor','saveImage','_nDataBytes','_incrementRevisionNumber','Quantity','IUniverInstanceService','not_collab','_doFinalize','complete','toString','13850880TVAdzj','INetworkConditionService','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','RichTextEditingMutation','SNAPSHOT_URL_KEY','hasher','[OfflineState]:\x20received\x20rejection.','_nRounds','findIndex','_socket$','_socket','/universer-api/file/{fileID}/sign-url','_keyPriorReset','164337tokzCz','_loadDoc','WordArray','PERMISSION_DENIED','enableSingleActiveInstanceLock','updateCollaborator','?url=','_startCollaboration','LIVESHARE_OPERATION','values','_sessions','isTransformChangesetsSuccess','UNISCRIPT_RUN','hostname','b64DecodeUnicode','UNIVER_SLIDE','/fetchmissing?from=','HTTPRequest','_onRemoteACK','YUUMI_URL_COL_OUT_OF_RANGE','awaiting','_collaborationSessionService','ERROR_EXCEED_SIZE','setShowComponents','padding','_fetchMissChangesets','_minBufferSize','PENDING','APPLY_REJECT','[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.','INGEST','_initMergeInterceptor','&source=','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','ITelemetryService','_initRequestHeader','takeUntil','_sheetTransformSelectionsService','4204cMmPUC','Cipher','isArray','_transformRemoteChangesetByIMECache','copyFileMeta','POST','kdf','_permissionService','_data','Injector','url','shouldCloseConn','_onRemoteRejected','getConfig','setWaitCount','BehaviorSubject','SheetTransformSelectionsService','AES','CHANGESET_REJ','/block/','_joinRoom','_logService','delay','formatter','PendingState','JOIN_ROOM_FULL','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','getUnitId','listRoles','OFFLINE','delete','_iv','LIVESHARE_FETCH_OPERATIONS','mixIn','default','_xformMode','[UniverCollaborationClientPlugin]','_getAPIPrefixPath','allowed','entries','headers','/universer-api/stream/file/upload','_prevBlock','onTransformRemoteChangesetByIMECache','ALREADY_EXISTS','saveSnapshot','ICommandService','SEND_CHANGESET_TIMEOUT_KEY','socketService','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','save\x20fail\x20reason\x20is\x20','_createInitialStateImpl','CLOSE_ROOM','clamp','error','SUCCUSS','collaborators','extend','1814AYghMc','CollaborationImageIoService','transformStack\x20failed!','loadSheet','reset','?size=','_univerInstanceService','Base64','c2Prime','HEARTBEAT_TIMEOUT_KEY','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','@univerjs/docs','compute','_rescheduleHeartbeat','UNIVER_PROJECT','every','reconnect','INVALID_ARGUMENT','SNAPSHOT_HAS_BEEN_REMOVED','splice','/universer-api/comb','parseProtocolChangeset'];_0x29cc=function(){return _0x251f62;};return _0x29cc();}exports[_0x2e258d(0x230)]=class extends a[_0x2e258d(0x147)]{constructor(_0x3557d0,_0x406dae,_0x2b7b04,_0x3476c9,_0x42e4e2,_0x4846d7){var _0x3992f3=_0x2e258d;super(),P(this,'_socket$',new j['BehaviorSubject'](void 0x0)),P(this,_0x3992f3(0x415),this[_0x3992f3(0x316)]['asObservable']()),P(this,_0x3992f3(0x193),null),P(this,'_sessions',new Map()),P(this,'_status$',new j[(_0x3992f3(0x34f))](se['IDLE'])),P(this,_0x3992f3(0x171),this['_status$']['asObservable']()),P(this,_0x3992f3(0x2b1),!0x1),P(this,'_retryConnectingTimer'),P(this,_0x3992f3(0x39a),0x0),P(this,_0x3992f3(0x462)),P(this,_0x3992f3(0x1ce)),(this[_0x3992f3(0x2b7)]=_0x3557d0,this[_0x3992f3(0x355)]=_0x406dae,this[_0x3992f3(0x42b)]=_0x2b7b04,this[_0x3992f3(0x1d8)]=_0x3476c9,this['_collaborationUIEventService']=_0x42e4e2,this[_0x3992f3(0x205)]=_0x4846d7,this[_0x3992f3(0x3b4)]());}get[_0x2e258d(0x317)](){var _0x262186=_0x2e258d;return this[_0x262186(0x316)]['getValue']();}[_0x2e258d(0x3b4)](){var _0x28bec9=_0x2e258d;this[_0x28bec9(0x205)]&&this['disposeWithMe'](this['_networkConditionService'][_0x28bec9(0x11a)]['subscribe'](_0x2dd4fc=>{var _0x2952f5=_0x28bec9;_0x2dd4fc&&!this[_0x2952f5(0x317)]&&this[_0x2952f5(0x38a)](),_0x2dd4fc||this[_0x2952f5(0x40a)]();}));}['dispose'](){var _0x5cf932=_0x2e258d;super[_0x5cf932(0x1eb)](),this[_0x5cf932(0x42f)](),this[_0x5cf932(0x2ec)](),this[_0x5cf932(0x399)](),this[_0x5cf932(0x324)][_0x5cf932(0x270)](_0x19ce6a=>_0x19ce6a[_0x5cf932(0x1eb)]()),this[_0x5cf932(0x324)]['clear'](),this[_0x5cf932(0x445)][_0x5cf932(0x30b)]();}async[_0x2e258d(0x123)](_0x782c8a){var _0x57c23f=_0x2e258d;if(this[_0x57c23f(0x324)][_0x57c23f(0x1e2)](_0x782c8a))return this[_0x57c23f(0x324)][_0x57c23f(0x2f4)](_0x782c8a);this[_0x57c23f(0x11e)]();const _0x5eb773=this[_0x57c23f(0x2b7)]['createInstance'](exports[_0x57c23f(0x39d)],_0x782c8a,this[_0x57c23f(0x316)]['asObservable']());return this['_sessions']['set'](_0x782c8a,_0x5eb773),_0x5eb773;}[_0x2e258d(0x20b)](_0x5b2b78){var _0x20a495=_0x2e258d,_0x3940ec;const _0x2d8270=this[_0x20a495(0x324)][_0x20a495(0x2f4)](_0x5b2b78);_0x2d8270&&(this[_0x20a495(0x324)][_0x20a495(0x35e)](_0x5b2b78),_0x2d8270[_0x20a495(0x3ea)]()),this[_0x20a495(0x324)][_0x20a495(0x1d0)]||(_0x3940ec=this[_0x20a495(0x317)])==null||_0x3940ec[_0x20a495(0x3ea)]();}[_0x2e258d(0x38a)](){var _0x141d68=_0x2e258d;this[_0x141d68(0x39a)]=0x0,this[_0x141d68(0x42f)](),this['_tryReconnect']();}[_0x2e258d(0x42f)](){var _0x3ab8a8=_0x2e258d;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x3ab8a8(0x161)]),this[_0x3ab8a8(0x161)]=null);}async[_0x2e258d(0x294)](){var _0x25812b=_0x2e258d,_0x2398c3,_0x25b2bf;const _0x57dd6d=this['_configService'][_0x25812b(0x34d)](St),_0x563168=this['_configService'][_0x25812b(0x34d)](Y),_0x4e0559=(_0x25b2bf=(_0x2398c3=_0x563168==null?void 0x0:_0x563168[_0x25812b(0x408)])!=null?_0x2398c3:_0x57dd6d)!=null?_0x25b2bf:ft,_0xd70785=await this[_0x25812b(0x1d8)][_0x25812b(0x16d)](_0x4e0559);return this['_candidateSocket']=_0xd70785,_0xd70785;}async['_tryEnsureSocket'](){var _0x496616=_0x2e258d,_0x51bd2b,_0x295b6e;try{const _0xe95f5d=(_0x295b6e=(_0x51bd2b=this['_socket'])!=null?_0x51bd2b:this[_0x496616(0x193)])!=null?_0x295b6e:await this['_createSocket']();if(_0xe95f5d){const _0x145ce8=_0xe95f5d[_0x496616(0x25c)];_0xe95f5d[_0x496616(0x25c)]=_0x5504b1=>(this[_0x496616(0x387)](),_0x145ce8[_0x496616(0x197)](_0xe95f5d,[_0x5504b1])),_0xe95f5d[_0x496616(0x1fc)][_0x496616(0x174)](_0x10aea8=>this[_0x496616(0x430)](_0xe95f5d,_0x10aea8)),_0xe95f5d['error$']['pipe'](W['take'](0x1))[_0x496616(0x174)](_0x404c34=>this[_0x496616(0x355)][_0x496616(0x376)](_0x496616(0x165),_0x404c34)),_0xe95f5d[_0x496616(0x1dd)]['pipe'](W[_0x496616(0x1d6)](0x1))[_0x496616(0x174)](()=>{var _0x19ad97=_0x496616;this[_0x19ad97(0x135)](_0xe95f5d);}),_0xe95f5d['close$'][_0x496616(0x24a)](W[_0x496616(0x1d6)](0x1))['subscribe'](_0x52e4e4=>{var _0x1cb794=_0x496616;this[_0x1cb794(0x355)]['debug'](_0x1cb794(0x3a5),_0x1cb794(0x181),_0x52e4e4),this[_0x1cb794(0x39b)]();});}}catch(_0x501da1){this[_0x496616(0x355)][_0x496616(0x376)](_0x501da1),this[_0x496616(0x39b)]();}}[_0x2e258d(0x135)](_0x5bb573){var _0x525ff3=_0x2e258d;this['_logService']['debug']('[CollaborationSessionService]',_0x525ff3(0x1e9)),_0x5bb573[_0x525ff3(0x25c)]({'cmd':G[_0x525ff3(0x3cb)]}),this[_0x525ff3(0x387)]();}[_0x2e258d(0x40a)](){var _0xf471ce=_0x2e258d;this['_socketReady']=!0x1,this[_0xf471ce(0x193)]=null,this[_0xf471ce(0x445)]['next'](se[_0xf471ce(0x35d)]),this[_0xf471ce(0x316)][_0xf471ce(0x46b)](null),this[_0xf471ce(0x2ec)](),this[_0xf471ce(0x399)]();}[_0x2e258d(0x39b)](){var _0x38617d=_0x2e258d,_0x2475cd;this['_onOffline'](),this[_0x38617d(0x39a)]<((_0x2475cd=this[_0x38617d(0x42b)][_0x38617d(0x34d)](mt))!=null?_0x2475cd:Wt)?(this[_0x38617d(0x15c)][_0x38617d(0x1d3)]({'id':Q[_0x38617d(0x1da)]}),this[_0x38617d(0x2fe)]()):this[_0x38617d(0x15c)]['emitEvent']({'id':Q['SOCKET_FAILED']});}['_tryReconnect'](){var _0x5c0d58=_0x2e258d,_0x1b8c62;const _0x2fadca=this[_0x5c0d58(0x39a)],_0x358f7c=this[_0x5c0d58(0x42b)]['getConfig'](Y),_0x56d9ab=_0x2fadca===0x0?0x0:((_0x1b8c62=_0x358f7c==null?void 0x0:_0x358f7c['retryConnectingInterval'])!=null?_0x1b8c62:Ft)*0x2**_0x2fadca;this[_0x5c0d58(0x161)]=setTimeout(()=>{var _0x3d2e29=_0x5c0d58;clearTimeout(this[_0x3d2e29(0x161)]),this[_0x3d2e29(0x161)]=null,this[_0x3d2e29(0x11e)]();},_0x56d9ab),this[_0x5c0d58(0x39a)]+=0x1;}['_onMessage'](_0x1dacc3,_0x185ca4){var _0x24c2e4=_0x2e258d;const {cmd:_0x14523f}=_0x185ca4;_0x14523f===G[_0x24c2e4(0x3cb)]&&!this['_socketReady']&&(_0x1dacc3[_0x24c2e4(0x3c9)]=_0x185ca4['data'][_0x24c2e4(0x3c9)],this[_0x24c2e4(0x316)]['next'](_0x1dacc3),this[_0x24c2e4(0x445)][_0x24c2e4(0x46b)](se[_0x24c2e4(0x24b)]),this[_0x24c2e4(0x2b1)]=!0x0,this[_0x24c2e4(0x193)]=null),_0x14523f===G[_0x24c2e4(0x277)]&&this['_clearTimeoutTimer'](),this[_0x24c2e4(0x387)]();}[_0x2e258d(0x387)](){var _0x3f53ad=_0x2e258d,_0x4d70ab;this[_0x3f53ad(0x399)](),this[_0x3f53ad(0x462)]=setTimeout(()=>this['_sendHeartbeat'](),(_0x4d70ab=this['_configService']['getConfig'](pt))!=null?_0x4d70ab:Bt);}[_0x2e258d(0x268)](){var _0x31380f=_0x2e258d;this[_0x31380f(0x317)][_0x31380f(0x25c)]({'cmd':G['HEARTBEAT']}),this[_0x31380f(0x128)]();}[_0x2e258d(0x128)](){var _0x4a4ee4=_0x2e258d,_0x57500a;this[_0x4a4ee4(0x1ce)]=setTimeout(()=>this[_0x4a4ee4(0x39b)](),(_0x57500a=this[_0x4a4ee4(0x42b)]['getConfig'](je))!=null?_0x57500a:gt);}[_0x2e258d(0x399)](){var _0x2e61a0=_0x2e258d;this[_0x2e61a0(0x462)]!=null&&(clearTimeout(this[_0x2e61a0(0x462)]),this[_0x2e61a0(0x462)]=null);}[_0x2e258d(0x2ec)](){var _0x3e1180=_0x2e258d;this[_0x3e1180(0x1ce)]!=null&&(clearTimeout(this['_timeoutTimer']),this['_timeoutTimer']=null);}},exports[_0x2e258d(0x230)]=ci([le(0x0,a['Inject'](a[_0x2e258d(0x349)])),le(0x1,a[_0x2e258d(0x461)]),le(0x2,a[_0x2e258d(0x1c9)]),le(0x3,$e),le(0x4,a[_0x2e258d(0x22d)](te)),le(0x5,a['Optional'](bt))],exports[_0x2e258d(0x230)]);const V=[];for(let n=0x0;n<0x100;++n)V['push']((n+0x100)['toString'](0x10)['slice'](0x1));function hi(_0x1e420b,_0x1dd842=0x0){var _0x328b6d=_0x2e258d;return(V[_0x1e420b[_0x1dd842+0x0]]+V[_0x1e420b[_0x1dd842+0x1]]+V[_0x1e420b[_0x1dd842+0x2]]+V[_0x1e420b[_0x1dd842+0x3]]+'-'+V[_0x1e420b[_0x1dd842+0x4]]+V[_0x1e420b[_0x1dd842+0x5]]+'-'+V[_0x1e420b[_0x1dd842+0x6]]+V[_0x1e420b[_0x1dd842+0x7]]+'-'+V[_0x1e420b[_0x1dd842+0x8]]+V[_0x1e420b[_0x1dd842+0x9]]+'-'+V[_0x1e420b[_0x1dd842+0xa]]+V[_0x1e420b[_0x1dd842+0xb]]+V[_0x1e420b[_0x1dd842+0xc]]+V[_0x1e420b[_0x1dd842+0xd]]+V[_0x1e420b[_0x1dd842+0xe]]+V[_0x1e420b[_0x1dd842+0xf]])[_0x328b6d(0x2c3)]();}let Ue;const li=new Uint8Array(0x10);function _i(){var _0x5aec9c=_0x2e258d;if(!Ue){if(typeof crypto>'u'||!crypto[_0x5aec9c(0x210)])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');Ue=crypto[_0x5aec9c(0x210)][_0x5aec9c(0x262)](crypto);}return Ue(li);}const ui=typeof crypto<'u'&&crypto[_0x2e258d(0x1d1)]&&crypto[_0x2e258d(0x1d1)]['bind'](crypto),qe={'randomUUID':ui};function di(_0x5199c8,_0x4dec4a,_0x1e9795){var _0x31dfc9=_0x2e258d,_0x2815a2,_0x3dde4c,_0x3c2dd7;if(qe[_0x31dfc9(0x1d1)]&&!_0x5199c8)return qe['randomUUID']();_0x5199c8=_0x5199c8||{};const _0x4822aa=(_0x3c2dd7=(_0x3dde4c=_0x5199c8['random'])!=null?_0x3dde4c:(_0x2815a2=_0x5199c8[_0x31dfc9(0x1d9)])==null?void 0x0:_0x2815a2[_0x31dfc9(0x2a4)](_0x5199c8))!=null?_0x3c2dd7:_i();if(_0x4822aa['length']<0x10)throw new Error(_0x31dfc9(0x393));return _0x4822aa[0x6]=_0x4822aa[0x6]&0xf|0x40,_0x4822aa[0x8]=_0x4822aa[0x8]&0x3f|0x80,hi(_0x4822aa);}const z=a[_0x2e258d(0x3a3)](_0x2e258d(0x420));function vi(_0x43b3df){var _0x2f539d=_0x2e258d;return _0x2f539d(0x2a6)+_0x43b3df;}var Si=Object['getOwnPropertyDescriptor'],fi=(_0x428f43,_0x55fac0,_0x15f94b,_0x3d19ec)=>{var _0x415dbd=_0x2e258d;for(var _0xae738a=_0x3d19ec>0x1?void 0x0:_0x3d19ec?Si(_0x55fac0,_0x15f94b):_0x55fac0,_0x41eefb=_0x428f43[_0x415dbd(0x27e)]-0x1,_0x4ef5e8;_0x41eefb>=0x0;_0x41eefb--)(_0x4ef5e8=_0x428f43[_0x41eefb])&&(_0xae738a=_0x4ef5e8(_0xae738a)||_0xae738a);return _0xae738a;},Pe=(_0x526557,_0xbf81d8)=>(_0x323626,_0x14dc9b)=>_0xbf81d8(_0x323626,_0x14dc9b,_0x526557);function pi(_0x126ff6){var _0x3a9629=_0x2e258d;const {unitID:_0x17fed3,mutations:_0x1f5a8b}=_0x126ff6;return{'unitId':_0x17fed3,'subUnitId':_0x1f5a8b[0x0][_0x3a9629(0x18b)][_0x3a9629(0x3e9)]};}exports[_0x2e258d(0x350)]=class{constructor(_0x128b0a,_0x4d40bb,_0x17b647){var _0xf5f6c5=_0x2e258d;this['_injector']=_0x128b0a,this[_0xf5f6c5(0x3b1)]=_0x4d40bb,this[_0xf5f6c5(0x426)]=_0x17b647;}[_0x2e258d(0x1e0)](_0x1f49e6){var _0x4feecc=_0x2e258d,_0x5810ed,_0x35e72a,_0x4e8fc9,_0x5cccfc;const _0x203930=this[_0x4feecc(0x2b7)][_0x4feecc(0x2f4)](Z[_0x4feecc(0x224)]),{unitId:_0x2a1982,subUnitId:_0x3dc50c}=pi(_0x1f49e6),_0x15462b=_0x203930==null?void 0x0:_0x203930['getWorkbookSelections'](_0x2a1982)[_0x4feecc(0x2aa)](),_0x44b948=(_0x35e72a=(_0x5810ed=this['_instanceService'][_0x4feecc(0x16b)](_0x2a1982))==null?void 0x0:_0x5810ed[_0x4feecc(0x2cd)]())==null?void 0x0:_0x35e72a['getSheetId']();if(_0x15462b[_0x4feecc(0x27e)]===0x0||!_0x2a1982||!_0x3dc50c)return;const _0x2b4f8a=[{'id':Z[_0x4feecc(0x286)]['id'],'params':{'unitId':_0x2a1982,'subUnitId':_0x44b948,'selections':a['Tools'][_0x4feecc(0x3ef)](_0x15462b)}}],_0x57a866=this['_transformService'][_0x4feecc(0x1b2)](_0x1f49e6,_0x2b4f8a);if(!g[_0x4feecc(0x2b0)](_0x57a866))throw _0x57a866[_0x4feecc(0x376)];const _0xb71517=(_0x5cccfc=(_0x4e8fc9=_0x57a866[_0x4feecc(0x20a)][0x0])==null?void 0x0:_0x4e8fc9['params'])==null?void 0x0:_0x5cccfc[_0x4feecc(0x170)];if(Array['isArray'](_0xb71517)&&_0xb71517[_0x4feecc(0x27e)]){if(_0xb71517['length']===_0x2b4f8a[0x0][_0x4feecc(0x18b)][_0x4feecc(0x170)][_0x4feecc(0x27e)]&&_0xb71517[_0x4feecc(0x389)]((_0x2711a2,_0x3899c2)=>a[_0x4feecc(0x3e2)][_0x4feecc(0x3a2)](_0x2711a2[_0x4feecc(0x2db)],_0x2b4f8a[0x0][_0x4feecc(0x18b)][_0x4feecc(0x170)][_0x3899c2][_0x4feecc(0x2db)])))return;this[_0x4feecc(0x2b7)][_0x4feecc(0x2f4)](a[_0x4feecc(0x36e)])['executeCommand'](Z[_0x4feecc(0x286)]['id'],{'unitId':_0x2a1982,'subUnitId':_0x44b948,'selections':_0xb71517});}}},exports[_0x2e258d(0x350)]=fi([Pe(0x0,a[_0x2e258d(0x22d)](a['Injector'])),Pe(0x1,g['ITransformService']),Pe(0x2,a['IUniverInstanceService'])],exports['SheetTransformSelectionsService']);const ve=a[_0x2e258d(0x3a3)](_0x2e258d(0x137));var Fe=(_0x56a63d=>(_0x56a63d[_0x56a63d['NO_OTHER_CLIENTS_EDITING']=0x0]='NO_OTHER_CLIENTS_EDITING',_0x56a63d[_0x56a63d[_0x2e258d(0x40f)]=0x1]='OTHER_CLIENTS_EDITING',_0x56a63d))(Fe||{});const gi=new Set([Z['InsertSheetMutation']['id']]);function ze(_0x10b339,_0x141e52,_0x47f644,_0x599d22,_0x12ef3b){var _0x4b4bc2=_0x2e258d,_0x4d47b0,_0x7acae3,_0x348000,_0x4dd6dc;const _0x4dbd7f=[];for(const _0x3614e2 of _0x10b339)if(gi[_0x4b4bc2(0x1e2)](_0x3614e2['id'])){if(_0x4dbd7f['length']>0x0)break;_0x4dbd7f['push'](_0x3614e2);break;}else _0x4dbd7f[_0x4b4bc2(0x293)](_0x3614e2);const _0x3ca8d8=(_0x7acae3=(_0x4d47b0=_0x12ef3b[_0x4b4bc2(0x13c)]())==null?void 0x0:_0x4d47b0[_0x4b4bc2(0x1ed)])!=null?_0x7acae3:_0x4b4bc2(0x14f),_0xbd718=(_0x4dd6dc=(_0x348000=_0x12ef3b['getCurrentUser']())==null?void 0x0:_0x348000['memberID'])!=null?_0x4dd6dc:_0x4b4bc2(0x14f);return{'changeset':{'unitID':_0x141e52,'type':g[_0x4b4bc2(0x173)](_0x47f644[_0x4b4bc2(0x274)](_0x141e52)),'baseRev':_0x599d22[_0x4b4bc2(0x3a8)](_0x141e52),'revision':0x0,'userID':_0x3ca8d8,'memberID':_0xbd718,'mutations':_0x4dbd7f},'pendingMutations':_0x10b339[_0x4b4bc2(0x455)](_0x4dbd7f['length'])};}function mi(_0x16af90,_0x5a5203,_0x31e19a,_0x2e3f22,_0x5be01a){var _0x37a2c7=_0x2e258d,_0x438810,_0x1724aa,_0xaefea3,_0x53a5cc;const _0x55ebfd=[_0x16af90[_0x37a2c7(0x282)]((_0x5304ce,_0x35ec46)=>{var _0x445211=_0x37a2c7,_0x365637;const {id:_0x2ad4d5}=_0x5304ce,{id:_0x1ba4eb,type:_0x31ffd0}=_0x35ec46,_0x220ca3=(_0x365637=_0x5304ce[_0x445211(0x18b)])!=null?_0x365637:{'actions':null},_0x272b76=_0x35ec46[_0x445211(0x18b)];if(_0x2ad4d5&&_0x2ad4d5!==_0x1ba4eb)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x2ad4d5+_0x445211(0x11d)+_0x1ba4eb+'.');return{..._0x5304ce,'id':_0x1ba4eb,'type':_0x31ffd0,'params':{'unitId':_0x272b76[_0x445211(0x440)],'textRanges':_0x272b76[_0x445211(0x24f)],'actions':a[_0x445211(0x2a9)][_0x445211(0x2c5)](_0x220ca3[_0x445211(0x14d)],_0x272b76['actions'])}};},{})],_0x487eec=(_0x1724aa=(_0x438810=_0x5be01a[_0x37a2c7(0x13c)]())==null?void 0x0:_0x438810['userID'])!=null?_0x1724aa:'unknown',_0x4f5ca8=(_0x53a5cc=(_0xaefea3=_0x5be01a[_0x37a2c7(0x13c)]())==null?void 0x0:_0xaefea3[_0x37a2c7(0x3c9)])!=null?_0x53a5cc:_0x37a2c7(0x14f);return{'changeset':{'unitID':_0x5a5203,'type':g[_0x37a2c7(0x173)](_0x31e19a[_0x37a2c7(0x274)](_0x5a5203)),'baseRev':_0x2e3f22[_0x37a2c7(0x3a8)](_0x5a5203),'revision':0x0,'userID':_0x487eec,'memberID':_0x4f5ca8,'mutations':_0x55ebfd},'pendingMutations':[]};}function Ot(_0x396933,_0x15265a){var _0x759f07=_0x2e258d;const _0x2040a4=new j[(_0x759f07(0x219))](0x1);return setTimeout(()=>_0x2040a4[_0x759f07(0x46b)](_0x15265a),_0x396933),_0x2040a4[_0x759f07(0x158)]()['pipe'](j[_0x759f07(0x1d6)](0x1));}const Ii={'id':Z[_0x2e258d(0x3e7)]['id'],'type':a['CommandType'][_0x2e258d(0x1b5)],'params':{}};var Ei=Object['getOwnPropertyDescriptor'],ce=(_0x535466,_0xd5bed8,_0x4f09d6,_0x35e573)=>{var _0x2f2268=_0x2e258d;for(var _0x42b837=_0x35e573>0x1?void 0x0:_0x35e573?Ei(_0xd5bed8,_0x4f09d6):_0xd5bed8,_0x5809d3=_0x535466[_0x2f2268(0x27e)]-0x1,_0x5096bc;_0x5809d3>=0x0;_0x5809d3--)(_0x5096bc=_0x535466[_0x5809d3])&&(_0x42b837=_0x5096bc(_0x42b837)||_0x42b837);return _0x42b837;},w=(_0x188f47,_0x11329d)=>(_0x133cd2,_0x1a414d)=>_0x11329d(_0x133cd2,_0x1a414d,_0x188f47),We=(_0x142bc8=>(_0x142bc8[_0x2e258d(0x422)]=_0x2e258d(0x309),_0x142bc8[_0x2e258d(0x235)]='synced',_0x142bc8[_0x2e258d(0x335)]=_0x2e258d(0x1fb),_0x142bc8[_0x2e258d(0x3dd)]=_0x2e258d(0x32e),_0x142bc8[_0x2e258d(0x212)]=_0x2e258d(0x395),_0x142bc8[_0x2e258d(0x1b3)]='fetch_missing',_0x142bc8[_0x2e258d(0x1e6)]='conflict',_0x142bc8[_0x2e258d(0x35d)]=_0x2e258d(0x21f),_0x142bc8))(We||{});const Nt=0xea60;class he{constructor(_0x3c646a,_0x1e7da2,_0x40dcc3,_0x525327,_0x4bc1a3,_0x38b169,_0x2cb325,_0x214994,_0x5a2547){var _0x2d9847=_0x2e258d;P(this,'_awaitingChangeset',null),P(this,_0x2d9847(0x247),[]),(this['unitID']=_0x3c646a,this[_0x2d9847(0x2f7)]=_0x1e7da2,this[_0x2d9847(0x407)]=_0x4bc1a3,this[_0x2d9847(0x2e6)]=_0x38b169,this[_0x2d9847(0x19a)]=_0x2cb325,this['_revisionService']=_0x214994,this[_0x2d9847(0x129)]=_0x5a2547,this['_awaitingChangeset']=_0x40dcc3,this[_0x2d9847(0x247)]=_0x525327);}[_0x2e258d(0x299)](_0xeb544e){var _0x55298e=_0x2e258d;const _0x2c67f4=this[_0x55298e(0x17d)][_0x55298e(0x3a8)](this[_0x55298e(0x3af)]);return _0xeb544e[_0x55298e(0x1f0)]>_0x2c67f4+0x1?(this[_0x55298e(0x407)][_0x55298e(0x457)]({'from':_0x2c67f4,'to':_0xeb544e[_0x55298e(0x1f0)]-0x1}),!0x0):!0x1;}[_0x2e258d(0x2ae)](_0x31cd8b){var _0x26e075=_0x2e258d;this[_0x26e075(0x19a)][_0x26e075(0x3f5)](this[_0x26e075(0x3af)],_0x31cd8b);}[_0x2e258d(0x254)](_0x403d62){var _0x23c1ae=_0x2e258d,_0x52867c,_0x118334;(_0x118334=(_0x52867c=this[_0x23c1ae(0x407)])[_0x23c1ae(0x248)])==null||_0x118334[_0x23c1ae(0x2a4)](_0x52867c,_0x403d62);}[_0x2e258d(0x2f3)](_0x4c8e20){var _0x1e2823=_0x2e258d,_0x31f204,_0xa1b92c;return(_0xa1b92c=(_0x31f204=this['_handler'])[_0x1e2823(0x2c1)])==null?void 0x0:_0xa1b92c[_0x1e2823(0x2a4)](_0x31f204,_0x4c8e20);}[_0x2e258d(0x3ae)](_0x3f0045){var _0x21db94=_0x2e258d,_0x5a8f9e,_0x857ba5;return(_0x857ba5=(_0x5a8f9e=this[_0x21db94(0x407)])[_0x21db94(0x478)])==null?void 0x0:_0x857ba5[_0x21db94(0x2a4)](_0x5a8f9e,_0x3f0045);}[_0x2e258d(0x343)](_0x419787){var _0x268cd1=_0x2e258d,_0x3e4d44,_0x15ceb7,_0x5c5c8e;return(_0x5c5c8e=(_0x15ceb7=(_0x3e4d44=this['_handler'])[_0x268cd1(0x36b)])==null?void 0x0:_0x15ceb7[_0x268cd1(0x2a4)](_0x3e4d44,_0x419787))!=null?_0x5c5c8e:_0x419787;}['_transformRemoteChangesetByStateCache'](_0x518fb6){var _0x27e356=_0x2e258d,_0x3624d7,_0x44cd45,_0x11e294;return(_0x11e294=(_0x44cd45=(_0x3624d7=this['_handler'])[_0x27e356(0x3da)])==null?void 0x0:_0x44cd45['call'](_0x3624d7,_0x518fb6))!=null?_0x11e294:_0x518fb6;}[_0x2e258d(0x43c)](_0x14cfda){var _0x168e4d=_0x2e258d,_0x43fd93,_0x1e34e7;if(this[_0x168e4d(0x2f7)]===X['UNIVER_DOC']){const {unitID:_0x4174a1,mutations:_0x39f3dc,memberID:_0x1333c3}=_0x14cfda,_0x1a6f09=_0x39f3dc[0x0][_0x168e4d(0x18b)][_0x168e4d(0x24f)];Array[_0x168e4d(0x342)](_0x1a6f09)&&_0x1a6f09[_0x168e4d(0x27e)]>0x0&&((_0x1e34e7=(_0x43fd93=this[_0x168e4d(0x407)])[_0x168e4d(0x3e8)])==null||_0x1e34e7[_0x168e4d(0x2a4)](_0x43fd93,{'unitID':_0x4174a1,'memberID':_0x1333c3,'textRanges':_0x1a6f09}));}}[_0x2e258d(0x2ea)](){var _0x4ba4c6=_0x2e258d,_0x54bc89;(_0x54bc89=this['_localCacheService'])==null||_0x54bc89['updateOfflineData'](this[_0x4ba4c6(0x3af)],this[_0x4ba4c6(0x2f7)],this[_0x4ba4c6(0x2d9)],this[_0x4ba4c6(0x247)]);}[_0x2e258d(0x15a)](){var _0x15c734=_0x2e258d;return this[_0x15c734(0x17d)][_0x15c734(0x3a8)](this[_0x15c734(0x3af)]);}['_incrementRevisionNumber'](){var _0x4be663=_0x2e258d;this[_0x4be663(0x17d)]['incrementRevOfUnit'](this['unitID']);}['_executeRemoteChangeset'](_0x5d6b95){var _0x39d4f2=_0x2e258d,_0x53f4fc;let _0x302a02=this[_0x39d4f2(0x343)](_0x5d6b95);_0x302a02=this[_0x39d4f2(0x3f8)](_0x302a02);const _0x4bc183=a[_0x39d4f2(0x3f9)](_0x302a02[_0x39d4f2(0x3b0)],this[_0x39d4f2(0x2e6)],{'fromCollab':!0x0});if(!_0x4bc183[_0x39d4f2(0x3d0)])throw _0x4bc183[_0x39d4f2(0x376)]instanceof Error?_0x4bc183['error']:new Error((_0x53f4fc=_0x4bc183[_0x39d4f2(0x376)])!=null?_0x53f4fc:_0x39d4f2(0x119));this['_transformIMECache'](_0x302a02),this[_0x39d4f2(0x3ae)](_0x302a02),this[_0x39d4f2(0x2ae)](_0x5d6b95),this[_0x39d4f2(0x254)](_0x302a02),this[_0x39d4f2(0x43c)](_0x302a02),this['_incrementRevisionNumber']();}}exports[_0x2e258d(0x44f)]=class extends he{constructor(_0x2cb0fa,_0x400c83,_0x1f37f5,_0x629df5,_0x1af2d3,_0x5572da,_0x27b322,_0x4097b4,_0x359076,_0x54db76){var _0x2ce271=_0x2e258d;super(_0x2cb0fa,_0x400c83,null,[],_0x1f37f5,_0x27b322,_0x5572da,_0x629df5,_0x54db76),P(this,_0x2ce271(0x406),'synced'),(this[_0x2ce271(0x2b7)]=_0x1af2d3,this['_logService']=_0x4097b4,this[_0x2ce271(0x3b1)]=_0x359076,this[_0x2ce271(0x3e5)]=_0x54db76);}[_0x2e258d(0x189)](_0x267646){var _0x29381f=_0x2e258d;const _0x3ae1cd=this['_injector'][_0x29381f(0x3db)](exports['PendingState'],this['unitID'],this[_0x29381f(0x2f7)],[_0x267646],this['_handler']);return _0x3ae1cd['_schedule'](),_0x3ae1cd[_0x29381f(0x2ea)](),_0x3ae1cd;}[_0x2e258d(0x29c)](_0x4808d0){var _0x59d2cc=_0x2e258d;if(this['_checkMissing'](_0x4808d0))return this[_0x59d2cc(0x2b7)][_0x59d2cc(0x3db)](exports['FetchingMissState'],this[_0x59d2cc(0x3af)],this[_0x59d2cc(0x2f7)],null,[],null,[_0x4808d0],this[_0x59d2cc(0x407)]);try{const _0x1384a8=this[_0x59d2cc(0x3b1)][_0x59d2cc(0x1b2)](_0x4808d0,[Ii]);if(g[_0x59d2cc(0x2b0)](_0x1384a8)){const {c1Prime:_0x5b76f2}=_0x1384a8;return this[_0x59d2cc(0x391)](_0x5b76f2),this;}throw _0x1384a8['error'];}catch(_0x3196ad){return this[_0x59d2cc(0x355)][_0x59d2cc(0x376)](_0x3196ad),this['_onConflict'](!0x1);}}[_0x2e258d(0x27d)](_0x2f90a4){var _0x56977e=_0x2e258d;return this[_0x56977e(0x2b7)][_0x56977e(0x3db)](exports[_0x56977e(0x3bd)],this[_0x56977e(0x3af)],this[_0x56977e(0x2f7)],null,[],this[_0x56977e(0x407)],_0x2f90a4);}[_0x2e258d(0x3ed)](){var _0x268a6b=_0x2e258d;throw new Error(_0x268a6b(0x3d8));}[_0x2e258d(0x26e)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x2e258d(0x1b7)](){return this;}[_0x2e258d(0x126)](){var _0x22a76a=_0x2e258d;return this['_injector']['createInstance'](exports[_0x22a76a(0x3ca)],this[_0x22a76a(0x3af)],this[_0x22a76a(0x2f7)],null,[],this[_0x22a76a(0x407)]);}[_0x2e258d(0x218)](){return this;}[_0x2e258d(0x273)](){var _0x10e50e=_0x2e258d;throw new Error(_0x10e50e(0x30f));}[_0x2e258d(0x291)](){var _0x467c8f=_0x2e258d;const _0x2ab057=this[_0x467c8f(0x17d)]['getCurrentRevOfUnit'](this[_0x467c8f(0x3af)]);return this[_0x467c8f(0x407)][_0x467c8f(0x457)]({'from':_0x2ab057,'to':0x0}),this[_0x467c8f(0x2b7)][_0x467c8f(0x3db)](exports['FetchingMissState'],this[_0x467c8f(0x3af)],this[_0x467c8f(0x2f7)],null,[],null,[],this[_0x467c8f(0x407)]);}},exports[_0x2e258d(0x44f)]=ce([w(0x3,a[_0x2e258d(0x22d)](g[_0x2e258d(0x23e)])),w(0x4,a[_0x2e258d(0x22d)](a['Injector'])),w(0x5,a['IUndoRedoService']),w(0x6,a[_0x2e258d(0x36e)]),w(0x7,a[_0x2e258d(0x461)]),w(0x8,g[_0x2e258d(0x18a)]),w(0x9,a['Optional'](z))],exports['SyncedState']),exports['PendingState']=class extends he{constructor(_0x18ee87,_0x4b43be,_0xe5cc01,_0x5f070d,_0x52e59a,_0x2d7abd,_0x3e8f41,_0x39cc1d,_0x29b621,_0x245edb,_0x157a79,_0x50669a,_0x365fd5,_0x59a062){var _0x4e7d2d=_0x2e258d;super(_0x18ee87,_0x4b43be,null,_0xe5cc01,_0x5f070d,_0x29b621,_0x365fd5,_0x2d7abd,_0x59a062),P(this,_0x4e7d2d(0x406),_0x4e7d2d(0x1fb)),P(this,_0x4e7d2d(0x3df),null),P(this,_0x4e7d2d(0x136),null),(this[_0x4e7d2d(0x2b7)]=_0x52e59a,this['_memberService']=_0x3e8f41,this[_0x4e7d2d(0x355)]=_0x39cc1d,this[_0x4e7d2d(0x42b)]=_0x245edb,this['_transformService']=_0x157a79,this[_0x4e7d2d(0x380)]=_0x50669a);}['appendMutation'](_0x50e29e){var _0xe809a0=_0x2e258d;return this[_0xe809a0(0x247)]['push'](_0x50e29e),this[_0xe809a0(0x2ea)](),this;}[_0x2e258d(0x29c)](_0x5aee6a){var _0x5e97d1=_0x2e258d;if(this[_0x5e97d1(0x299)](_0x5aee6a))return this['_clearScheduledTask'](),this['_injector'][_0x5e97d1(0x3db)](exports[_0x5e97d1(0x1e3)],this['unitID'],this[_0x5e97d1(0x2f7)],null,this[_0x5e97d1(0x247)],null,[_0x5aee6a],this['_handler']);try{const _0xf43bdf=this[_0x5e97d1(0x3b1)][_0x5e97d1(0x1b2)](_0x5aee6a,this['_pendingMutations']);if(g[_0x5e97d1(0x2b0)](_0xf43bdf)){const {c1Prime:_0x43fd71,m2Prime:_0x295a1a}=_0xf43bdf;this[_0x5e97d1(0x391)](_0x43fd71);const _0x286df8=this[_0x5e97d1(0x2b7)]['createInstance'](exports[_0x5e97d1(0x358)],this[_0x5e97d1(0x3af)],this[_0x5e97d1(0x2f7)],_0x295a1a,this[_0x5e97d1(0x407)]);this[_0x5e97d1(0x175)]();const _0x2d564f=new Date()[_0x5e97d1(0x192)](),_0x45aa68=this[_0x5e97d1(0x3df)]?Math[_0x5e97d1(0x2a0)](this['_scheduleCompleteTimestamp']-_0x2d564f,0x0):this[_0x5e97d1(0x211)]();return _0x286df8[_0x5e97d1(0x464)](_0x45aa68),_0x286df8;}throw _0xf43bdf[_0x5e97d1(0x376)];}catch(_0x4bae70){return this['_logService']['error'](_0x4bae70),this['_onConflict'](!0x1);}}[_0x2e258d(0x3ed)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){var _0x108b50=_0x2e258d;throw new Error(_0x108b50(0x413));}[_0x2e258d(0x1b7)](){return this;}[_0x2e258d(0x126)](){var _0x25ec13=_0x2e258d;return this['_clearScheduledTask'](),this[_0x25ec13(0x2b7)][_0x25ec13(0x3db)](exports[_0x25ec13(0x3ca)],this[_0x25ec13(0x3af)],this[_0x25ec13(0x2f7)],null,this[_0x25ec13(0x247)],this[_0x25ec13(0x407)]);}[_0x2e258d(0x218)](){return this;}[_0x2e258d(0x464)](_0x5a0cb9){var _0x1cc98d=_0x2e258d;const _0x5ba042=_0x5a0cb9!=null?_0x5a0cb9:this[_0x1cc98d(0x211)]();this[_0x1cc98d(0x3df)]=new Date()[_0x1cc98d(0x192)]()+_0x5ba042,this[_0x1cc98d(0x136)]=setTimeout(()=>{var _0x20bccf=_0x1cc98d;this[_0x20bccf(0x175)]();let _0x1e2f0c=null;switch(this[_0x20bccf(0x2f7)]){case X[_0x20bccf(0x1e8)]:{_0x1e2f0c=ze(this[_0x20bccf(0x247)],this[_0x20bccf(0x3af)],this['_univerInstanceService'],this[_0x20bccf(0x17d)],this['_memberService']);break;}case X['UNIVER_DOC']:{this[_0x20bccf(0x247)]['every'](_0x3b0941=>_0x3b0941['id']===ut[_0x20bccf(0x310)]['id'])?_0x1e2f0c=mi(this[_0x20bccf(0x247)],this[_0x20bccf(0x3af)],this[_0x20bccf(0x380)],this[_0x20bccf(0x17d)],this[_0x20bccf(0x40b)]):_0x1e2f0c=ze(this['_pendingMutations'],this['unitID'],this[_0x20bccf(0x380)],this[_0x20bccf(0x17d)],this[_0x20bccf(0x40b)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x20bccf(0x2f7)]+'\x20in\x20_schedule.');}const {changeset:_0x3ff910,pendingMutations:_0x1f2d2c}=_0x1e2f0c;this[_0x20bccf(0x407)]['onSendChangeset'](_0x3ff910);const _0x18906f=_0x1f2d2c[_0x20bccf(0x27e)]?this[_0x20bccf(0x2b7)][_0x20bccf(0x3db)](exports[_0x20bccf(0x1a1)],this[_0x20bccf(0x3af)],this[_0x20bccf(0x2f7)],_0x3ff910,_0x1f2d2c,this[_0x20bccf(0x407)],void 0x0):this[_0x20bccf(0x2b7)][_0x20bccf(0x3db)](exports[_0x20bccf(0x3f1)],this[_0x20bccf(0x3af)],this['type'],_0x3ff910,this[_0x20bccf(0x407)]);_0x18906f[_0x20bccf(0x2ea)](),this[_0x20bccf(0x407)]['onStateChange'](this,_0x18906f);},_0x5ba042);}[_0x2e258d(0x211)](){var _0x42dfae=_0x2e258d,_0x876297;const _0x39b9f3=this['_configService'][_0x42dfae(0x34d)](Y);return(_0x876297=_0x39b9f3==null?void 0x0:_0x39b9f3[_0x42dfae(0x2d7)])!=null?_0x876297:jt;}[_0x2e258d(0x273)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x2e258d(0x175)](){var _0x2386b6=_0x2e258d;this[_0x2386b6(0x136)]!=null&&(clearTimeout(this[_0x2386b6(0x136)]),this[_0x2386b6(0x136)]=null);}['_onConflict'](_0x26f0a1){var _0x14b119=_0x2e258d;return this[_0x14b119(0x175)](),this[_0x14b119(0x2b7)]['createInstance'](exports[_0x14b119(0x3bd)],this[_0x14b119(0x3af)],this[_0x14b119(0x2f7)],null,this[_0x14b119(0x247)],this['_handler'],_0x26f0a1);}},exports['PendingState']=ce([w(0x4,a['Inject'](a['Injector'])),w(0x5,a['Inject'](g['RevisionService'])),w(0x6,a[_0x2e258d(0x22d)](exports[_0x2e258d(0x241)])),w(0x7,a['ILogService']),w(0x8,a[_0x2e258d(0x36e)]),w(0x9,a[_0x2e258d(0x1c9)]),w(0xa,g[_0x2e258d(0x18a)]),w(0xb,a[_0x2e258d(0x308)]),w(0xc,a[_0x2e258d(0x185)]),w(0xd,a[_0x2e258d(0x44c)](z))],exports[_0x2e258d(0x358)]),exports[_0x2e258d(0x3f1)]=class extends he{constructor(_0x5a73f6,_0x38987f,_0x45ed37,_0x463a1b,_0x5ad540,_0x5cfd0a,_0x13cd14,_0x4743ec,_0x588828,_0x2175f9,_0x13a1e7){var _0x4b5082=_0x2e258d;super(_0x5a73f6,_0x38987f,_0x45ed37,[],_0x463a1b,_0x13cd14,_0x2175f9,_0x5cfd0a,_0x13a1e7),P(this,_0x4b5082(0x406),'awaiting'),P(this,'_resendTimeout',0x0),P(this,_0x4b5082(0x432)),P(this,_0x4b5082(0x178)),(this[_0x4b5082(0x2b7)]=_0x5ad540,this['_logService']=_0x4743ec,this[_0x4b5082(0x3b1)]=_0x588828);}[_0x2e258d(0x189)](_0x39d6e2){var _0x5072b1=_0x2e258d;this[_0x5072b1(0x175)]();const _0x4af7c2=this[_0x5072b1(0x2b7)][_0x5072b1(0x3db)](exports[_0x5072b1(0x1a1)],this[_0x5072b1(0x3af)],this[_0x5072b1(0x2f7)],this['_awaitingChangeset'],[_0x39d6e2],this[_0x5072b1(0x407)],this[_0x5072b1(0x432)]);return _0x4af7c2['_updateLocalCache'](),_0x4af7c2;}['onRemoteChangeset'](_0x28c0aa){var _0x249b75=_0x2e258d;if(this[_0x249b75(0x299)](_0x28c0aa))return this[_0x249b75(0x175)](),this[_0x249b75(0x2b7)]['createInstance'](exports[_0x249b75(0x1e3)],this[_0x249b75(0x3af)],this['type'],this[_0x249b75(0x2d9)],[],null,[_0x28c0aa],this[_0x249b75(0x407)]);try{const _0x2f214d=this[_0x249b75(0x3b1)][_0x249b75(0x397)]([_0x28c0aa],[this['_awaitingChangeset']],!0x1);if(g[_0x249b75(0x325)](_0x2f214d)){const {c1Prime:_0x31390e,c2Prime:_0x2af7c1}=_0x2f214d;this['_executeRemoteChangeset'](_0x31390e[0x0]),_0x2af7c1[0x0][_0x249b75(0x44d)]=this[_0x249b75(0x15a)](),this['_clearScheduledTask']();const _0x14fbbf=this['_injector'][_0x249b75(0x3db)](exports[_0x249b75(0x3f1)],this[_0x249b75(0x3af)],this[_0x249b75(0x2f7)],_0x2af7c1[0x0],this[_0x249b75(0x407)]);return _0x14fbbf['_updateLocalCache'](),_0x14fbbf;}return this[_0x249b75(0x27d)](!0x1);}catch(_0x513b37){return this[_0x249b75(0x355)][_0x249b75(0x376)](_0x513b37),this[_0x249b75(0x27d)](!0x1);}}['onRemoteAck'](_0x26350d){var _0x16b6cc=_0x2e258d;this[_0x16b6cc(0x175)]();const _0x15e7ef=this['_revisionService'][_0x16b6cc(0x3a8)](this[_0x16b6cc(0x3af)]);if(_0x26350d[_0x16b6cc(0x1f0)]<_0x15e7ef-0x1)return this;if(this['_checkMissing'](_0x26350d))return this['_injector'][_0x16b6cc(0x3db)](exports[_0x16b6cc(0x1e3)],this['unitID'],this['type'],null,[],this['_awaitingChangeset'],[],this[_0x16b6cc(0x407)]);this['_incrementRevisionNumber']();const _0x4f0d51=this[_0x16b6cc(0x2b7)][_0x16b6cc(0x3db)](exports[_0x16b6cc(0x44f)],this[_0x16b6cc(0x3af)],this[_0x16b6cc(0x2f7)],this[_0x16b6cc(0x407)]);return _0x4f0d51['_updateLocalCache'](),_0x4f0d51;}['onRemoteRej'](_0x59a07b){var _0x48975f=_0x2e258d;return this[_0x48975f(0x27d)](!!(_0x59a07b!=null&&_0x59a07b[_0x48975f(0x2d6)]));}['onRemoteRetry'](_0x5609cb){var _0x39c55e=_0x2e258d;return this[_0x39c55e(0x45d)]>Nt?this[_0x39c55e(0x126)]():(this[_0x39c55e(0x432)]=Ot(this[_0x39c55e(0x45d)],{'timeout':this['_resendTimeout'],'reqId':_0x5609cb[_0x39c55e(0x43e)]}),this['_sender']=this[_0x39c55e(0x432)][_0x39c55e(0x174)](({reqId:_0x2f8b59,timeout:_0x33c4fa})=>{var _0x570ff3=_0x39c55e;this[_0x570ff3(0x214)](_0x2f8b59,_0x33c4fa);}),this);}[_0x2e258d(0x126)](){var _0x20ec2b=_0x2e258d;return this['_clearScheduledTask'](),this['_injector'][_0x20ec2b(0x3db)](exports[_0x20ec2b(0x3ca)],this[_0x20ec2b(0x3af)],this[_0x20ec2b(0x2f7)],this[_0x20ec2b(0x2d9)],[],this[_0x20ec2b(0x407)]);}[_0x2e258d(0x218)](){return this;}['resend'](){var _0x39da27=_0x2e258d;this['_handler'][_0x39da27(0x19d)](this['_awaitingChangeset']);}['_onConflict'](_0xc1d1e1){var _0x320faf=_0x2e258d;return this[_0x320faf(0x175)](),this[_0x320faf(0x2b7)][_0x320faf(0x3db)](exports['ConflictState'],this[_0x320faf(0x3af)],this[_0x320faf(0x2f7)],this[_0x320faf(0x2d9)],[],this[_0x320faf(0x407)],_0xc1d1e1);}[_0x2e258d(0x214)](_0x146bea,_0x45d3ab){var _0x1c41ce=_0x2e258d,_0x5e66e8;_0x146bea===((_0x5e66e8=this['_awaitingChangeset'])==null?void 0x0:_0x5e66e8[_0x1c41ce(0x43e)])&&(this[_0x1c41ce(0x273)](),this[_0x1c41ce(0x45d)]=_0x45d3ab===0x0?0x3e8:_0x45d3ab*0x2);}['_clearScheduledTask'](){var _0xb4d052=_0x2e258d,_0x2baaf8;(_0x2baaf8=this['_sender'])==null||_0x2baaf8[_0xb4d052(0x1a3)](),this['_resendTimeout']=0x0;}},exports['AwaitingState']=ce([w(0x4,a[_0x2e258d(0x22d)](a[_0x2e258d(0x349)])),w(0x5,a['Inject'](g[_0x2e258d(0x23e)])),w(0x6,a[_0x2e258d(0x36e)]),w(0x7,a[_0x2e258d(0x461)]),w(0x8,g[_0x2e258d(0x18a)]),w(0x9,a[_0x2e258d(0x185)]),w(0xa,a['Optional'](z))],exports[_0x2e258d(0x3f1)]),exports[_0x2e258d(0x1a1)]=class extends he{constructor(_0x56cbc8,_0x20e3b5,_0x5bc282,_0x28dc25,_0x86e670,_0x207bde,_0x3615b6,_0x4847d2,_0x29cf0d,_0x3f637c,_0x3e0a5b,_0x5ea122,_0x4a6c01){var _0x1fcf5a=_0x2e258d;super(_0x56cbc8,_0x20e3b5,_0x5bc282,_0x28dc25,_0x86e670,_0x29cf0d,_0x5ea122,_0x4847d2,_0x4a6c01),P(this,_0x1fcf5a(0x406),'awaiting_with_pending'),P(this,_0x1fcf5a(0x45d),0x0),P(this,_0x1fcf5a(0x432)),P(this,'_sender'),(this['_injector']=_0x3615b6,this[_0x1fcf5a(0x355)]=_0x3f637c,this[_0x1fcf5a(0x3b1)]=_0x3e0a5b,this['localCacheService']=_0x4a6c01,_0x207bde&&(this[_0x1fcf5a(0x432)]=_0x207bde,this[_0x1fcf5a(0x178)]=this[_0x1fcf5a(0x432)]['subscribe'](({reqId:_0x38f3f7,timeout:_0x10200b})=>{this['_resendWithTimeout'](_0x38f3f7,_0x10200b);})));}[_0x2e258d(0x189)](_0x1dc3e8){var _0x425c14=_0x2e258d;return this[_0x425c14(0x247)][_0x425c14(0x293)](_0x1dc3e8),this;}[_0x2e258d(0x29c)](_0x588ca2){var _0x2774de=_0x2e258d;if(this['_checkMissing'](_0x588ca2))return this[_0x2774de(0x175)](),this['_injector'][_0x2774de(0x3db)](exports[_0x2774de(0x1e3)],this[_0x2774de(0x3af)],this['type'],this[_0x2774de(0x2d9)],this['_pendingMutations'],null,[_0x588ca2],this[_0x2774de(0x407)]);try{const _0x18ab52=this[_0x2774de(0x3b1)][_0x2774de(0x397)]([_0x588ca2],[this[_0x2774de(0x2d9)]],!0x1);if(g['isTransformChangesetsSuccess'](_0x18ab52)){const {c1Prime:_0x290f10,c2Prime:_0x160379}=_0x18ab52,_0x11b31b=this['_transformService'][_0x2774de(0x1b2)](_0x290f10[0x0],this[_0x2774de(0x247)]);if(g['isTransformMutationsWithChangesetSuccess'](_0x11b31b)){const {c1Prime:_0x35de41,m2Prime:_0xa1f12}=_0x11b31b;return this[_0x2774de(0x391)](_0x35de41),_0x160379[0x0][_0x2774de(0x44d)]=this[_0x2774de(0x15a)](),this[_0x2774de(0x175)](),this[_0x2774de(0x2b7)][_0x2774de(0x3db)](exports['AwaitingWithPendingState'],this[_0x2774de(0x3af)],this[_0x2774de(0x2f7)],_0x160379[0x0],_0xa1f12,this[_0x2774de(0x407)],void 0x0);}throw _0x11b31b['error'];}throw _0x18ab52['error'];}catch(_0x5c6435){return this[_0x2774de(0x355)][_0x2774de(0x376)](_0x5c6435),this[_0x2774de(0x27d)](!0x1);}}[_0x2e258d(0x3ed)](_0x358cd6){var _0x3516e6=_0x2e258d;if(this[_0x3516e6(0x175)](),this[_0x3516e6(0x299)](_0x358cd6))return this['_injector'][_0x3516e6(0x3db)](exports['FetchingMissState'],this[_0x3516e6(0x3af)],this[_0x3516e6(0x2f7)],null,this[_0x3516e6(0x247)],this[_0x3516e6(0x2d9)],[],this[_0x3516e6(0x407)]);this[_0x3516e6(0x306)]();const _0x2ea8ca=this['_injector']['createInstance'](exports[_0x3516e6(0x358)],this[_0x3516e6(0x3af)],this['type'],this['_pendingMutations'],this[_0x3516e6(0x407)]);return _0x2ea8ca['_schedule'](),_0x2ea8ca['_updateLocalCache'](),_0x2ea8ca;}[_0x2e258d(0x26e)](_0x361cb7){var _0x5a04b6=_0x2e258d;return this['_onConflict'](!!(_0x361cb7!=null&&_0x361cb7[_0x5a04b6(0x2d6)]));}[_0x2e258d(0x1b7)](_0x5d2d69){var _0x131e25=_0x2e258d;return this['_resendTimeout']>Nt?this[_0x131e25(0x126)]():(this[_0x131e25(0x432)]=Ot(this[_0x131e25(0x45d)],{'timeout':this[_0x131e25(0x45d)],'reqId':_0x5d2d69[_0x131e25(0x43e)]}),this[_0x131e25(0x178)]=this[_0x131e25(0x432)][_0x131e25(0x174)](({reqId:_0x16ae87,timeout:_0x35f244})=>{var _0x2f96d9=_0x131e25;this[_0x2f96d9(0x214)](_0x16ae87,_0x35f244);}),this);}[_0x2e258d(0x126)](){var _0x33f638=_0x2e258d;return this[_0x33f638(0x175)](),this[_0x33f638(0x2b7)][_0x33f638(0x3db)](exports[_0x33f638(0x3ca)],this[_0x33f638(0x3af)],this[_0x33f638(0x2f7)],this['_awaitingChangeset'],this[_0x33f638(0x247)],this[_0x33f638(0x407)]);}[_0x2e258d(0x218)](){return this;}[_0x2e258d(0x273)](){var _0x476435=_0x2e258d;this['_handler'][_0x476435(0x19d)](this[_0x476435(0x2d9)]);}['_onConflict'](_0x1bd929){var _0x37e640=_0x2e258d;return this[_0x37e640(0x175)](),this[_0x37e640(0x2b7)][_0x37e640(0x3db)](exports[_0x37e640(0x3bd)],this[_0x37e640(0x3af)],this[_0x37e640(0x2f7)],null,this[_0x37e640(0x247)],this[_0x37e640(0x407)],_0x1bd929);}[_0x2e258d(0x214)](_0x3aaf7d,_0x37017d){var _0xb907c0=_0x2e258d,_0x1e0ae1;_0x3aaf7d===((_0x1e0ae1=this[_0xb907c0(0x2d9)])==null?void 0x0:_0x1e0ae1[_0xb907c0(0x43e)])&&(this[_0xb907c0(0x273)](),this['_resendTimeout']=_0x37017d===0x0?0x3e8:_0x37017d*0x2);}['_clearScheduledTask'](){var _0x4ccb41=_0x2e258d,_0x5604d7;(_0x5604d7=this[_0x4ccb41(0x178)])==null||_0x5604d7[_0x4ccb41(0x1a3)](),this['_resendTimeout']=0x0;}},exports['AwaitingWithPendingState']=ce([w(0x6,a[_0x2e258d(0x22d)](a[_0x2e258d(0x349)])),w(0x7,a[_0x2e258d(0x22d)](g[_0x2e258d(0x23e)])),w(0x8,a['ICommandService']),w(0x9,a[_0x2e258d(0x461)]),w(0xa,g[_0x2e258d(0x18a)]),w(0xb,a['IUndoRedoService']),w(0xc,a['Optional'](z))],exports[_0x2e258d(0x1a1)]),exports[_0x2e258d(0x3bd)]=class extends he{constructor(_0x305277,_0x43b370,_0x2f742a,_0x1853ae,_0x3a84d3,_0x2a2f7d=!0x1,_0x3dcdad,_0x43e600,_0x220b99,_0x17a637,_0x1f9579,_0x3ffeaf,_0x12d2ff){var _0x13d155=_0x2e258d;super(_0x305277,_0x43b370,_0x2f742a,_0x1853ae,_0x3a84d3,_0x43e600,_0x220b99,_0x17a637,_0x12d2ff),P(this,_0x13d155(0x406),'conflict'),(this[_0x13d155(0x1ca)]=_0x2a2f7d,this[_0x13d155(0x347)]=_0x3dcdad,this[_0x13d155(0x437)]=_0x1f9579,this[_0x13d155(0x15c)]=_0x3ffeaf,this[_0x13d155(0x3e5)]=_0x12d2ff,this[_0x13d155(0x46f)](),this['_clearLocalCache'](),this[_0x13d155(0x17c)]());}[_0x2e258d(0x189)](){return this;}[_0x2e258d(0x29c)](){return this;}['onRemoteAck'](){return this;}[_0x2e258d(0x26e)](){return this;}['onRemoteRetry'](){return this;}[_0x2e258d(0x126)](){return this;}[_0x2e258d(0x218)](){return this;}['resend'](){var _0x591457=_0x2e258d;throw new Error(_0x591457(0x3c0));}[_0x2e258d(0x1a0)](){var _0x288eb8=_0x2e258d,_0xa4a068;(_0xa4a068=this['_localCacheService'])==null||_0xa4a068[_0x288eb8(0x42d)](this[_0x288eb8(0x3af)],this[_0x288eb8(0x2f7)],null,[]);}[_0x2e258d(0x46f)](){var _0x18a3c8=_0x2e258d;this['_isPermissionRej']?this[_0x18a3c8(0x15c)][_0x18a3c8(0x1d3)]({'id':Q[_0x18a3c8(0x31d)]}):this[_0x18a3c8(0x15c)][_0x18a3c8(0x1d3)]({'id':Q['CONFLICT']});}['_disableEditing'](){var _0x1c968f=_0x2e258d;this['_permissionService']['updatePermissionPoint'](new Z[(_0x1c968f(0x3fb))](this[_0x1c968f(0x3af)])['id'],!0x1);}},exports['ConflictState']=ce([w(0x6,a[_0x2e258d(0x22d)](a[_0x2e258d(0x1f8)])),w(0x7,a['ICommandService']),w(0x8,a[_0x2e258d(0x185)]),w(0x9,a[_0x2e258d(0x22d)](g[_0x2e258d(0x23e)])),w(0xa,a['Inject'](a[_0x2e258d(0x152)])),w(0xb,a[_0x2e258d(0x22d)](te)),w(0xc,a['Optional'](z))],exports[_0x2e258d(0x3bd)]),exports['OfflineState']=class extends he{constructor(_0x234ffa,_0x216a34,_0x27b498,_0x2ee15c,_0x7429b,_0x158f91,_0x1eb63c,_0x4c8a68,_0x10dec5,_0x45e36a){var _0x3f2dc9=_0x2e258d;super(_0x234ffa,_0x216a34,_0x27b498,_0x2ee15c,_0x7429b,_0x4c8a68,_0x10dec5,_0x1eb63c,_0x45e36a),P(this,_0x3f2dc9(0x406),_0x3f2dc9(0x21f)),this[_0x3f2dc9(0x2b7)]=_0x158f91;}[_0x2e258d(0x189)](_0x592e0d){var _0x519062=_0x2e258d;return this[_0x519062(0x247)][_0x519062(0x293)](_0x592e0d),this[_0x519062(0x2ea)](),this;}[_0x2e258d(0x29c)](_0x3509dc){var _0x232b8c=_0x2e258d;throw new Error(_0x232b8c(0x471));}[_0x2e258d(0x3ed)](){var _0xd9b1fa=_0x2e258d;throw new Error(_0xd9b1fa(0x2f5));}[_0x2e258d(0x26e)](){var _0x564871=_0x2e258d;throw new Error(_0x564871(0x313));}['onRemoteRetry'](){return this;}[_0x2e258d(0x126)](){return this;}[_0x2e258d(0x218)](){var _0x4508ee=_0x2e258d;const {_injector:_0x2b5ac2,_pendingMutations:_0x356174,_awaitingChangeset:_0x3bb592,unitID:_0x16cf72,_handler:_0x38bf6d,type:_0x21df0d}=this,_0x408044=Dt(_0x2b5ac2,_0x16cf72,_0x21df0d,_0x3bb592,_0x356174,_0x38bf6d);return _0x408044 instanceof exports[_0x4508ee(0x358)]?_0x408044[_0x4508ee(0x464)]():(_0x408044 instanceof exports[_0x4508ee(0x1a1)]||_0x408044 instanceof exports[_0x4508ee(0x3f1)])&&_0x408044[_0x4508ee(0x273)](),_0x408044;}[_0x2e258d(0x273)](){var _0x4e909e=_0x2e258d;throw new Error(_0x4e909e(0x263));}},exports[_0x2e258d(0x3ca)]=ce([w(0x5,a[_0x2e258d(0x22d)](a['Injector'])),w(0x6,a['Inject'](g[_0x2e258d(0x23e)])),w(0x7,a[_0x2e258d(0x36e)]),w(0x8,a[_0x2e258d(0x185)]),w(0x9,a['Optional'](z))],exports['OfflineState']),exports[_0x2e258d(0x1e3)]=class extends he{constructor(_0x92577a,_0x1bc186,_0x5323b6,_0x43093d,_0x5dc78b,_0x3b64f1,_0x2b5630,_0x319f56,_0x2a67df,_0x310649,_0x5140e5,_0x59fc4a,_0x1adff2,_0x13b5f9){var _0x2d8929=_0x2e258d;super(_0x92577a,_0x1bc186,_0x5323b6,_0x43093d,_0x2b5630,_0x5140e5,_0x59fc4a,_0x2a67df,_0x13b5f9),P(this,_0x2d8929(0x406),_0x2d8929(0x28f)),(this['_acknowledgedAwaitingChangeset']=_0x5dc78b,this[_0x2d8929(0x446)]=_0x3b64f1,this[_0x2d8929(0x2b7)]=_0x319f56,this[_0x2d8929(0x355)]=_0x310649,this[_0x2d8929(0x3b1)]=_0x1adff2,this['localCacheService']=_0x13b5f9);}[_0x2e258d(0x236)](_0xc7f3de){var _0x369f3f=_0x2e258d;try{const _0x2593d3=[..._0xc7f3de,...this['_queuedRemoteChangesets']],_0x48e89e=[this[_0x369f3f(0x2d9)]||this[_0x369f3f(0x1c7)]]['filter'](_0x16b6c9=>!!_0x16b6c9);let _0x48f0f2,_0x26d9a2;if(_0x48e89e['length']){const _0x2ad87a=this['_transformService']['transformChangesets'](_0x2593d3,_0x48e89e,!0x1);if(!g[_0x369f3f(0x325)](_0x2ad87a))throw _0x2ad87a[_0x369f3f(0x376)];_0x48f0f2=_0x2ad87a[_0x369f3f(0x167)],_0x26d9a2=_0x2ad87a[_0x369f3f(0x382)];}else _0x48f0f2=_0x2593d3,_0x26d9a2=[];let _0xfbbe41=this[_0x369f3f(0x247)];_0x48f0f2['forEach'](_0x5ced7e=>{var _0x4d5ac3=_0x369f3f;let _0xf215dc;if(_0xfbbe41[_0x4d5ac3(0x27e)]){const _0x26e3cd=this[_0x4d5ac3(0x3b1)][_0x4d5ac3(0x1b2)](_0x5ced7e,_0xfbbe41);if(!g[_0x4d5ac3(0x2b0)](_0x26e3cd))throw _0x26e3cd[_0x4d5ac3(0x376)];_0xf215dc=_0x26e3cd[_0x4d5ac3(0x167)],_0xfbbe41=_0x26e3cd['m2Prime'];}else _0xf215dc=_0x5ced7e;this[_0x4d5ac3(0x391)](_0xf215dc);}),this[_0x369f3f(0x1c7)]&&this[_0x369f3f(0x306)](),this[_0x369f3f(0x2d9)]&&_0x26d9a2[_0x369f3f(0x27e)]&&(_0x26d9a2[0x0][_0x369f3f(0x44d)]=this['_getCurrentRevision']());let _0x5baf3b;if(this[_0x369f3f(0x2d9)]&&_0xfbbe41[_0x369f3f(0x27e)]!==0x0)_0x5baf3b=this[_0x369f3f(0x2b7)][_0x369f3f(0x3db)](exports[_0x369f3f(0x1a1)],this[_0x369f3f(0x3af)],this['type'],_0x26d9a2[0x0],_0xfbbe41,this[_0x369f3f(0x407)],void 0x0);else{if(this['_awaitingChangeset']&&_0xfbbe41[_0x369f3f(0x27e)]===0x0)_0x26d9a2[0x0]['baseRev']=this['_getCurrentRevision'](),_0x5baf3b=this[_0x369f3f(0x2b7)]['createInstance'](exports[_0x369f3f(0x3f1)],this[_0x369f3f(0x3af)],this['type'],_0x26d9a2[0x0],this[_0x369f3f(0x407)]);else{if(_0xfbbe41[_0x369f3f(0x27e)]!==0x0){const _0x592e69=this[_0x369f3f(0x2b7)][_0x369f3f(0x3db)](exports[_0x369f3f(0x358)],this['unitID'],this[_0x369f3f(0x2f7)],_0xfbbe41,this[_0x369f3f(0x407)]);_0x592e69['_schedule'](),_0x5baf3b=_0x592e69;}else _0x5baf3b=this[_0x369f3f(0x2b7)][_0x369f3f(0x3db)](exports[_0x369f3f(0x44f)],this['unitID'],this[_0x369f3f(0x2f7)],this['_handler']);}}return _0x5baf3b[_0x369f3f(0x2ea)](),_0x5baf3b;}catch(_0x4cd065){return this['_logService']['error'](_0x369f3f(0x20c),_0x369f3f(0x3a4),_0x4cd065),this[_0x369f3f(0x2b7)][_0x369f3f(0x3db)](exports['ConflictState'],this['unitID'],this[_0x369f3f(0x2f7)],this[_0x369f3f(0x2d9)],this[_0x369f3f(0x247)],this[_0x369f3f(0x407)],!0x1);}}['resend'](){var _0x2e4632=_0x2e258d;throw new Error(_0x2e4632(0x1bc));}[_0x2e258d(0x189)](_0x2a8414){var _0x1e67f7=_0x2e258d;return this[_0x1e67f7(0x247)][_0x1e67f7(0x293)](_0x2a8414),this;}[_0x2e258d(0x29c)](_0x4a330a){var _0x520985=_0x2e258d;return this[_0x520985(0x446)][_0x520985(0x293)](_0x4a330a),this;}['onRemoteAck'](_0x8350ae){var _0x52b583=_0x2e258d;if(this[_0x52b583(0x2d9)])return this['_acknowledgedAwaitingChangeset']=this['_awaitingChangeset'],this['_awaitingChangeset']=null,this;throw new Error(_0x52b583(0x1fa));}[_0x2e258d(0x26e)](_0x166565){return this['_onConflict'](!!(_0x166565!=null&&_0x166565['isPermissionRej']));}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x478afa=_0x2e258d;return this[_0x478afa(0x2b7)]['createInstance'](exports['OfflineState'],this[_0x478afa(0x3af)],this[_0x478afa(0x2f7)],this[_0x478afa(0x2d9)],this[_0x478afa(0x247)],this['_handler']);}[_0x2e258d(0x218)](){return this;}['_onConflict'](_0x129a04){var _0x59150a=_0x2e258d;return this[_0x59150a(0x2b7)]['createInstance'](exports[_0x59150a(0x3bd)],this[_0x59150a(0x3af)],this[_0x59150a(0x2f7)],this[_0x59150a(0x2d9)],this['_pendingMutations'],this['_handler'],_0x129a04);}},exports[_0x2e258d(0x1e3)]=ce([w(0x7,a[_0x2e258d(0x22d)](a[_0x2e258d(0x349)])),w(0x8,a[_0x2e258d(0x22d)](g[_0x2e258d(0x23e)])),w(0x9,a['ILogService']),w(0xa,a[_0x2e258d(0x36e)]),w(0xb,a['IUndoRedoService']),w(0xc,g[_0x2e258d(0x18a)]),w(0xd,a['Optional'](z))],exports['FetchingMissState']);function Dt(_0x5a6725,_0x334eee,_0x4b6a29,_0x5d0265,_0x116ecc,_0x529372){var _0x4535c7=_0x2e258d;return _0x5d0265&&_0x116ecc[_0x4535c7(0x27e)]?_0x5a6725[_0x4535c7(0x3db)](exports[_0x4535c7(0x1a1)],_0x334eee,_0x4b6a29,_0x5d0265,_0x116ecc,_0x529372,void 0x0):_0x5d0265?_0x5a6725[_0x4535c7(0x3db)](exports[_0x4535c7(0x3f1)],_0x334eee,_0x4b6a29,_0x5d0265,_0x529372):_0x116ecc[_0x4535c7(0x27e)]?_0x5a6725['createInstance'](exports['PendingState'],_0x334eee,_0x4b6a29,_0x116ecc,_0x529372):_0x5a6725[_0x4535c7(0x3db)](exports['SyncedState'],_0x334eee,_0x4b6a29,_0x529372);}var Ci=Object[_0x2e258d(0x3c4)],Ge=(_0x26565d,_0x517a96,_0x2d905e,_0xad0788)=>{for(var _0x4e82f8=_0xad0788>0x1?void 0x0:_0xad0788?Ci(_0x517a96,_0x2d905e):_0x517a96,_0x329ba8=_0x26565d['length']-0x1,_0x451990;_0x329ba8>=0x0;_0x329ba8--)(_0x451990=_0x26565d[_0x329ba8])&&(_0x4e82f8=_0x451990(_0x4e82f8)||_0x4e82f8);return _0x4e82f8;},$=(_0x45fd3d,_0x1be207)=>(_0x4d37fb,_0x165441)=>_0x1be207(_0x4d37fb,_0x165441,_0x45fd3d);exports[_0x2e258d(0x18c)]=class extends a[_0x2e258d(0x410)]{constructor(_0x13d017,_0x421f78,_0x4c4da8,_0x511771,_0x556f9a,_0x30ce88,_0x1cd1f0,_0xa38763,_0x34b879,_0x2e6e30,_0x1f8dd3,_0x5945e0,_0x5ee93a){var _0x1895e5=_0x2e258d;super(),P(this,'_state$',new j[(_0x1895e5(0x34f))](null)),P(this,'state$',this[_0x1895e5(0x414)]['asObservable']()),P(this,'_state'),P(this,_0x1895e5(0x442),!0x1),P(this,_0x1895e5(0x114),''),P(this,'_changesetReqId',0x0),P(this,_0x1895e5(0x171),this[_0x1895e5(0x40c)][_0x1895e5(0x24a)](j['map'](_0x316496=>_0x316496?_0x316496['status']:We['OFFLINE']),j[_0x1895e5(0x1ae)](0x1))),P(this,_0x1895e5(0x283),!0x1),P(this,_0x1895e5(0x1ea),[]),(this[_0x1895e5(0x3af)]=_0x13d017,this['session']=_0x421f78,this[_0x1895e5(0x46d)]=_0x4c4da8,this[_0x1895e5(0x2b7)]=_0x511771,this[_0x1895e5(0x1cb)]=_0x556f9a,this[_0x1895e5(0x437)]=_0x30ce88,this[_0x1895e5(0x17d)]=_0x1cd1f0,this[_0x1895e5(0x2f6)]=_0xa38763,this[_0x1895e5(0x355)]=_0x34b879,this[_0x1895e5(0x2e6)]=_0x2e6e30,this[_0x1895e5(0x347)]=_0x1f8dd3,this['_singleActiveUnitService']=_0x5945e0,this['_localCacheService']=_0x5ee93a);}get[_0x2e258d(0x1d4)](){var _0x4950b4=_0x2e258d;return this[_0x4950b4(0x256)];}async[_0x2e258d(0x231)](){var _0x39733f=_0x2e258d;if(this['state'])throw new Error(_0x39733f(0x46e));await this[_0x39733f(0x3f7)]();}['pauseCollaboration'](){var _0x382569=_0x2e258d;return this[_0x382569(0x442)]=!0x0,a['toDisposable'](()=>{var _0x36d8f0=_0x382569;this[_0x36d8f0(0x442)]=!0x1,this[_0x36d8f0(0x2b6)]();});}[_0x2e258d(0x2d1)](_0x382fc9){var _0x3c5668=_0x2e258d;this[_0x3c5668(0x297)](_0x382fc9);}[_0x2e258d(0x2d2)](_0x2d7bae){var _0x4fcd6a=_0x2e258d;this[_0x4fcd6a(0x256)]=_0x2d7bae,this[_0x4fcd6a(0x414)][_0x4fcd6a(0x46b)](_0x2d7bae);}async['_init'](){var _0x5e8d0a=_0x2e258d,_0x3d19b2;this['_updateState'](await this[_0x5e8d0a(0x468)]()),this[_0x5e8d0a(0x2e3)]&&((_0x3d19b2=this[_0x5e8d0a(0x2e3)])==null||_0x3d19b2[_0x5e8d0a(0x238)](this[_0x5e8d0a(0x3af)]),this[_0x5e8d0a(0x295)](this[_0x5e8d0a(0x2e3)]['getUnitStatus$'](this['unitID'])['subscribe'](_0x29f622=>{var _0x1fe791=_0x5e8d0a;this[_0x1fe791(0x355)][_0x1fe791(0x1bb)](_0x1fe791(0x20e),_0x1fe791(0x13b),_0x29f622),_0x29f622===Fe['OTHER_CLIENTS_EDITING']?(this[_0x1fe791(0x2f6)][_0x1fe791(0x1d3)]({'id':Q['OTHER_CLIENT_EDITING']}),this[_0x1fe791(0x347)]['updatePermissionPoint'](new Z[(_0x1fe791(0x3fb))](this[_0x1fe791(0x3af)])['id'],!0x1),this['_permissionService'][_0x1fe791(0x331)](!0x1)):(this[_0x1fe791(0x347)][_0x1fe791(0x2d3)](new Z['WorkbookEditablePermission'](this['unitID'])['id'],!0x0),this[_0x1fe791(0x347)][_0x1fe791(0x331)](!0x0));})));let _0x47e69d=!0x1;return this['disposeWithMe'](this[_0x5e8d0a(0x15b)]['sessionStatus$'][_0x5e8d0a(0x174)](_0x8746e0=>{var _0x44fc9b=_0x5e8d0a;_0x8746e0===se['ONLINE']?this[_0x44fc9b(0x2f1)](_0x47e69d):_0x8746e0===se['OFFLINE']&&(_0x47e69d=!0x0,this[_0x44fc9b(0x3cd)]());})),this[_0x5e8d0a(0x295)](this[_0x5e8d0a(0x15b)][_0x5e8d0a(0x3fd)][_0x5e8d0a(0x174)](_0x125347=>{var _0x343a60=_0x5e8d0a;try{switch(_0x125347['eventID']){case g[_0x343a60(0x26b)][_0x343a60(0x17f)]:{this['_onRemoteChangeset'](g[_0x343a60(0x38f)](_0x125347[_0x343a60(0x229)]));break;}case g[_0x343a60(0x26b)][_0x343a60(0x1d2)]:{this[_0x343a60(0x32c)](_0x125347[_0x343a60(0x229)]);break;}case g[_0x343a60(0x26b)][_0x343a60(0x352)]:{this[_0x343a60(0x34c)]();break;}case g[_0x343a60(0x26b)][_0x343a60(0x409)]:{this[_0x343a60(0x1b0)](_0x125347[_0x343a60(0x229)]);break;}case g[_0x343a60(0x26b)][_0x343a60(0x1ab)]:{this['_onFetchMissResult'](_0x125347['data'][_0x343a60(0x2a1)]['map'](_0xe3a67=>g[_0x343a60(0x38f)](_0xe3a67)));break;}case g[_0x343a60(0x26b)]['PERMISSION_REJ']:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case g[_0x343a60(0x26b)][_0x343a60(0x326)]:break;}}catch(_0x1e9d27){throw console[_0x343a60(0x376)](_0x343a60(0x115),_0x1e9d27),_0x1e9d27;}})),this[_0x5e8d0a(0x256)];}[_0x2e258d(0x183)](){var _0x12f4f5=_0x2e258d;this[_0x12f4f5(0x283)]=!0x1;}[_0x2e258d(0x1ac)](){var _0x4e3faf=_0x2e258d;if(this[_0x4e3faf(0x283)])throw new Error(_0x4e3faf(0x337));this[_0x4e3faf(0x283)]=!0x0;}[_0x2e258d(0x297)](_0x539910){var _0x23440e=_0x2e258d;this[_0x23440e(0x1ac)](),this[_0x23440e(0x2d2)](this[_0x23440e(0x256)][_0x23440e(0x189)](_0x539910)),this['_unlockTransition']();}['_onRemoteChangeset'](_0xb5226b){var _0x3676ee=_0x2e258d;if(!(_0xb5226b['revision']<=this[_0x3676ee(0x17d)][_0x3676ee(0x3a8)](this[_0x3676ee(0x3af)]))){if(this[_0x3676ee(0x442)]){this['_remoteChangesetQueue']['push'](_0xb5226b);return;}this[_0x3676ee(0x223)](_0xb5226b);}}[_0x2e258d(0x2b6)](){var _0xe08bda=_0x2e258d;this[_0xe08bda(0x1ea)][_0xe08bda(0x270)](_0x2f05bc=>this[_0xe08bda(0x223)](_0x2f05bc)),this[_0xe08bda(0x1ea)]=[];}['_applyRemoteChangeset'](_0x35dc7c){var _0x3bbf6b=_0x2e258d;const _0x356f9e=this[_0x3bbf6b(0x1cb)][_0x3bbf6b(0x1f3)][_0x3bbf6b(0x3f3)](this[_0x3bbf6b(0x1cb)]['interceptor'][_0x3bbf6b(0x3e6)]()[_0x3bbf6b(0x150)])(_0x35dc7c[_0x3bbf6b(0x3b0)],null)||_0x35dc7c[_0x3bbf6b(0x3b0)],_0x422bf6={..._0x35dc7c,'mutations':_0x356f9e};this[_0x3bbf6b(0x1ac)](),this[_0x3bbf6b(0x2d2)](this[_0x3bbf6b(0x256)][_0x3bbf6b(0x29c)](_0x422bf6)),this[_0x3bbf6b(0x183)]();}['_onRemoteACK'](_0x3a2d20){var _0x286a2d=_0x2e258d;this[_0x286a2d(0x1ac)](),this[_0x286a2d(0x2d2)](this[_0x286a2d(0x256)][_0x286a2d(0x3ed)](_0x3a2d20)),this[_0x286a2d(0x183)]();}[_0x2e258d(0x34c)](_0x1603d5){var _0x5a91a2=_0x2e258d;this[_0x5a91a2(0x1ac)](),this[_0x5a91a2(0x2d2)](this[_0x5a91a2(0x256)][_0x5a91a2(0x26e)](_0x1603d5)),this['_unlockTransition']();}['_onRemoteRetry'](_0x3ae87c){var _0x24f684=_0x2e258d;this[_0x24f684(0x1ac)](),this[_0x24f684(0x2d2)](this[_0x24f684(0x256)][_0x24f684(0x1b7)](_0x3ae87c)),this[_0x24f684(0x183)]();}['_onFetchMissResult'](_0x449b11){var _0x30d12f=_0x2e258d;if(!(this[_0x30d12f(0x256)]instanceof exports['FetchingMissState']))throw new TypeError(_0x30d12f(0x3ab));const _0x208c2b=_0x449b11[_0x30d12f(0x202)](_0x415b39=>{var _0x446b83=_0x30d12f;const _0x475d82=this[_0x446b83(0x1cb)]['interceptor'][_0x446b83(0x3f3)](this['_compressMutationService'][_0x446b83(0x1f3)][_0x446b83(0x3e6)]()[_0x446b83(0x150)])(_0x415b39[_0x446b83(0x3b0)],null)||_0x415b39[_0x446b83(0x3b0)];return{..._0x415b39,'mutations':_0x475d82};});this[_0x30d12f(0x1ac)](),this[_0x30d12f(0x2d2)](this[_0x30d12f(0x256)]['onMissedChangesetFetched'](_0x208c2b)),this[_0x30d12f(0x183)]();}[_0x2e258d(0x3cd)](){var _0xc45edf=_0x2e258d;this[_0xc45edf(0x1ac)](),this[_0xc45edf(0x2d2)](this[_0xc45edf(0x256)][_0xc45edf(0x126)]()),this[_0xc45edf(0x183)]();}[_0x2e258d(0x2f1)](_0x123319=!0x1){var _0xb2b4e3=_0x2e258d;this[_0xb2b4e3(0x1ac)](),this[_0xb2b4e3(0x2d2)](this[_0xb2b4e3(0x256)][_0xb2b4e3(0x218)]()),this[_0xb2b4e3(0x183)]();const _0x631f40=this[_0xb2b4e3(0x256)];_0x123319&&_0x631f40 instanceof exports[_0xb2b4e3(0x44f)]&&(this[_0xb2b4e3(0x1ac)](),this['_updateState'](_0x631f40[_0xb2b4e3(0x291)]()),this[_0xb2b4e3(0x183)]());}async[_0x2e258d(0x468)](){return new Promise(_0x35cf4d=>{var _0x931054=_0x3e55;this[_0x931054(0x15b)]['sessionStatus$']['pipe'](j[_0x931054(0x1d6)](0x1))['subscribe'](async _0x118a85=>{var _0x56edee=_0x931054;_0x35cf4d(await this['_createInitialStateImpl'](_0x118a85===se[_0x56edee(0x24b)]));});});}[_0x2e258d(0x428)](){var _0x2bbee6=_0x2e258d;const _0x26d832=this[_0x2bbee6(0x3af)];return{'onStateChange':(_0x3f4209,_0x4fde53)=>{var _0x283bdc=_0x2bbee6;if(_0x3f4209!==this[_0x283bdc(0x256)])throw new Error(_0x283bdc(0x121)+_0x3f4209[_0x283bdc(0x406)]+'\x0aAfter:\x20'+_0x4fde53[_0x283bdc(0x406)]+_0x283bdc(0x1b1)+this[_0x283bdc(0x256)]['status']);this[_0x283bdc(0x2d2)](_0x4fde53);},'onSendChangeset':_0x1f2c04=>{var _0x49296b=_0x2bbee6;_0x1f2c04[_0x49296b(0x28c)]||(_0x1f2c04[_0x49296b(0x28c)]=this[_0x49296b(0x114)],_0x1f2c04[_0x49296b(0x43e)]=++this[_0x49296b(0x204)]);const _0x3f4404={'eventID':g[_0x49296b(0x26b)][_0x49296b(0x12a)],'data':{'unitID':_0x1f2c04[_0x49296b(0x3af)],'unitType':this[_0x49296b(0x46d)],'changeset':_0x1f2c04,'memberID':this['session'][_0x49296b(0x144)]()}};this[_0x49296b(0x15b)]['send'](_0x3f4404,this[_0x49296b(0x3af)]);},'onMissingChangesets':({from:_0x465707,to:_0x47525d})=>{var _0x994fae=_0x2bbee6;this['_logService'][_0x994fae(0x1bb)](_0x994fae(0x20e),_0x994fae(0x3bb)+_0x465707+'\x20to\x20'+_0x47525d);const _0xd9ce09={'eventID':g[_0x994fae(0x26b)][_0x994fae(0x3ac)],'data':{'unitID':_0x26d832,'unitType':this[_0x994fae(0x46d)],'from':_0x465707,'to':_0x47525d}};this[_0x994fae(0x15b)][_0x994fae(0x25c)](_0xd9ce09,this[_0x994fae(0x3af)]);}};}async[_0x2e258d(0x373)](_0x41938d){var _0x3b89ab=_0x2e258d,_0x46483a,_0x291650,_0x486bec;const _0x2639a1=await((_0x46483a=this[_0x3b89ab(0x129)])==null?void 0x0:_0x46483a[_0x3b89ab(0x26d)](this[_0x3b89ab(0x3af)])),_0x1fbdad=(_0x291650=_0x2639a1==null?void 0x0:_0x2639a1[_0x3b89ab(0x3b0)])!=null?_0x291650:[],_0x49be5c=(_0x486bec=_0x2639a1==null?void 0x0:_0x2639a1['awaitingChangeset'])!=null?_0x486bec:null,_0x16353b=!!(_0x49be5c!=null&&_0x49be5c[_0x3b89ab(0x28c)])&&!!(_0x49be5c!=null&&_0x49be5c[_0x3b89ab(0x43e)]);this['_changesetSessionId']=_0x16353b?_0x49be5c['sid']:di(),this[_0x3b89ab(0x204)]=_0x16353b?_0x49be5c[_0x3b89ab(0x43e)]:0x0;const _0x326331=this[_0x3b89ab(0x3af)];try{this['_replayCachedMutations'](_0x49be5c,_0x1fbdad);}catch(_0x7da2d3){this[_0x3b89ab(0x355)][_0x3b89ab(0x376)](_0x7da2d3);}const _0x446ca6=this[_0x3b89ab(0x428)]();if(_0x41938d){const _0x3871df=Dt(this[_0x3b89ab(0x2b7)],_0x326331,this[_0x3b89ab(0x46d)],_0x49be5c,_0x1fbdad,_0x446ca6);return _0x3871df instanceof exports[_0x3b89ab(0x358)]?_0x3871df[_0x3b89ab(0x464)]():(_0x3871df instanceof exports['AwaitingWithPendingState']||_0x3871df instanceof exports[_0x3b89ab(0x3f1)])&&_0x3871df[_0x3b89ab(0x273)](),_0x3871df;}return this[_0x3b89ab(0x2b7)][_0x3b89ab(0x3db)](exports['OfflineState'],_0x326331,this[_0x3b89ab(0x46d)],_0x49be5c,_0x1fbdad,_0x446ca6);}['_replayCachedMutations'](_0x49f559,_0xb10881){var _0x58a486=_0x2e258d,_0x11b738,_0x215639;const _0x5b5b9e=this[_0x58a486(0x1cb)]['interceptor']['fetchThroughInterceptors'](this[_0x58a486(0x1cb)]['interceptor'][_0x58a486(0x3e6)]()['COMPRESS_MUTATION_APPLY']);(_0x11b738=_0x5b5b9e((_0x49f559==null?void 0x0:_0x49f559['mutations'])||[],null))==null||_0x11b738[_0x58a486(0x270)](_0xf4b2b4=>this[_0x58a486(0x2e6)][_0x58a486(0x46a)](_0xf4b2b4['id'],_0xf4b2b4[_0x58a486(0x18b)])),(_0x215639=_0x5b5b9e(_0xb10881||[],null))==null||_0x215639[_0x58a486(0x270)](_0x53f109=>this[_0x58a486(0x2e6)]['executeCommand'](_0x53f109['id'],_0x53f109[_0x58a486(0x18b)]));}},exports['CollaborationEntity']=Ge([$(0x3,a['Inject'](a['Injector'])),$(0x4,a['Inject'](g[_0x2e258d(0x45e)])),$(0x5,a[_0x2e258d(0x22d)](a['LocaleService'])),$(0x6,a['Inject'](g[_0x2e258d(0x23e)])),$(0x7,a[_0x2e258d(0x22d)](te)),$(0x8,a['ILogService']),$(0x9,a['ICommandService']),$(0xa,a[_0x2e258d(0x1f8)]),$(0xb,a['Optional'](ve)),$(0xc,a[_0x2e258d(0x44c)](z))],exports[_0x2e258d(0x18c)]),exports[_0x2e258d(0x1c3)]=class extends exports[_0x2e258d(0x18c)]{constructor(_0x109957,_0x4b5613,_0x2f84e8,_0x2b5b12,_0x50d724,_0x27c006,_0x4e1f71,_0x237a1b,_0x3b44b3,_0x2e18a3,_0x13ee1d,_0x46d339,_0xbf012a){var _0x5ef66c=_0x2e258d;super(_0x109957,_0x2f84e8,_0x4b5613,_0x2b5b12,_0x50d724,_0x27c006,_0x4e1f71,_0x237a1b,_0x3b44b3,_0x2e18a3,_0x13ee1d,_0x46d339,_0xbf012a),P(this,_0x5ef66c(0x40e),null),(this[_0x5ef66c(0x3af)]=_0x109957,this[_0x5ef66c(0x2f7)]=_0x4b5613);}[_0x2e258d(0x448)](_0x5bff6d){var _0x3dc338=_0x2e258d;this[_0x3dc338(0x40e)]=_0x5bff6d;}[_0x2e258d(0x1eb)](){this['_handlerCallback']=null,super['dispose']();}[_0x2e258d(0x428)](){var _0x4eff78=_0x2e258d;const _0x4565c5=super[_0x4eff78(0x428)]();return _0x4565c5['onTransformIME']=_0x12a624=>{var _0x57bebc=_0x4eff78,_0x3505e1,_0x20471f;return(_0x20471f=(_0x3505e1=this['_handlerCallback'])==null?void 0x0:_0x3505e1[_0x57bebc(0x2c1)])==null?void 0x0:_0x20471f[_0x57bebc(0x2a4)](_0x3505e1,_0x12a624);},_0x4565c5[_0x4eff78(0x478)]=_0x534ac7=>{var _0x37ba66=_0x4eff78,_0x133c12,_0x4b25a8;return(_0x4b25a8=(_0x133c12=this['_handlerCallback'])==null?void 0x0:_0x133c12['onTransformState'])==null?void 0x0:_0x4b25a8[_0x37ba66(0x2a4)](_0x133c12,_0x534ac7);},_0x4565c5[_0x4eff78(0x248)]=_0xa99d2d=>{var _0x4ec17e=_0x4eff78,_0x2f2417,_0xaea0cd;return(_0xaea0cd=(_0x2f2417=this[_0x4ec17e(0x40e)])==null?void 0x0:_0x2f2417[_0x4ec17e(0x248)])==null?void 0x0:_0xaea0cd[_0x4ec17e(0x2a4)](_0x2f2417,_0xa99d2d);},_0x4565c5[_0x4eff78(0x3e8)]=_0xafc819=>{var _0x6e318e=_0x4eff78,_0xd9e4c5,_0x11b604;return(_0x11b604=(_0xd9e4c5=this[_0x6e318e(0x40e)])==null?void 0x0:_0xd9e4c5['onSyncEditingCollabCursor'])==null?void 0x0:_0x11b604[_0x6e318e(0x2a4)](_0xd9e4c5,_0xafc819);},_0x4565c5[_0x4eff78(0x36b)]=_0x23cf09=>{var _0x26a334=_0x4eff78,_0x5cb5e5,_0x5cf34c,_0x3ac1f8;if(!((_0x5cb5e5=this[_0x26a334(0x40e)])!=null&&_0x5cb5e5['onTransformRemoteChangesetByIMECache']))throw new Error(_0x26a334(0x23a));return(_0x3ac1f8=(_0x5cf34c=this['_handlerCallback'])==null?void 0x0:_0x5cf34c[_0x26a334(0x36b)])==null?void 0x0:_0x3ac1f8[_0x26a334(0x2a4)](_0x5cf34c,_0x23cf09);},_0x4565c5['onTransformRemoteChangesetByStateCache']=_0x4ac75e=>{var _0x332229=_0x4eff78,_0x471d88,_0xf3aa30,_0x191c4c;if(!((_0x471d88=this[_0x332229(0x40e)])!=null&&_0x471d88[_0x332229(0x3da)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x191c4c=(_0xf3aa30=this['_handlerCallback'])==null?void 0x0:_0xf3aa30[_0x332229(0x3da)])==null?void 0x0:_0x191c4c[_0x332229(0x2a4)](_0xf3aa30,_0x4ac75e);},_0x4565c5;}async[_0x2e258d(0x3f7)](){var _0x23472e=_0x2e258d;const _0x58bd47=await super['_init']();return this[_0x23472e(0x295)](this['_commandService'][_0x23472e(0x116)]((_0x748b52,_0x26dc68)=>{var _0x813b2c=_0x23472e;if(_0x748b52[_0x813b2c(0x2f7)]!==a['CommandType']['MUTATION']||_0x26dc68!=null&&_0x26dc68[_0x813b2c(0x24d)]||_0x26dc68!=null&&_0x26dc68[_0x813b2c(0x29f)]||_0x748b52['id']===ut['RichTextEditingMutation']['id'])return;const _0x5e1be4=_0x748b52[_0x813b2c(0x18b)];if((_0x5e1be4==null?void 0x0:_0x5e1be4[_0x813b2c(0x440)])!==this[_0x813b2c(0x3af)])return;const _0xf5b47d=_0x748b52,_0x5dae22=this[_0x813b2c(0x1cb)][_0x813b2c(0x1f3)][_0x813b2c(0x3f3)](this[_0x813b2c(0x1cb)][_0x813b2c(0x1f3)][_0x813b2c(0x3e6)]()[_0x813b2c(0x2e5)])([_0xf5b47d],null)||[_0xf5b47d];this[_0x813b2c(0x297)](_0x5dae22[0x0]);})),_0x58bd47;}},exports[_0x2e258d(0x1c3)]=Ge([$(0x3,a[_0x2e258d(0x22d)](a['Injector'])),$(0x4,a[_0x2e258d(0x22d)](g[_0x2e258d(0x45e)])),$(0x5,a[_0x2e258d(0x22d)](a[_0x2e258d(0x152)])),$(0x6,a['Inject'](g['RevisionService'])),$(0x7,a[_0x2e258d(0x22d)](te)),$(0x8,a[_0x2e258d(0x461)]),$(0x9,a[_0x2e258d(0x36e)]),$(0xa,a['IPermissionService']),$(0xb,a[_0x2e258d(0x44c)](ve)),$(0xc,a[_0x2e258d(0x44c)](z))],exports[_0x2e258d(0x1c3)]),exports[_0x2e258d(0x3b5)]=class extends exports['CollaborationEntity']{constructor(_0x5db02c,_0x31bfe0,_0x36ec3a,_0x2a70d5,_0x53cb5b,_0x37a109,_0x29edff,_0x14a470,_0x5d4c7b,_0x279783,_0x4eb3ac,_0x4beaf8,_0x54d32e,_0x5a4ac7){var _0x2328e7=_0x2e258d;super(_0x5db02c,_0x36ec3a,_0x31bfe0,_0x2a70d5,_0x53cb5b,_0x37a109,_0x29edff,_0x5d4c7b,_0x279783,_0x4eb3ac,_0x4beaf8,_0x54d32e,_0x5a4ac7),this['unitID']=_0x5db02c,this[_0x2328e7(0x2f7)]=_0x31bfe0,this[_0x2328e7(0x33f)]=_0x14a470;}[_0x2e258d(0x428)](){var _0x1cce51=_0x2e258d;const _0x145e8f=super['_createHandler']();return _0x145e8f[_0x1cce51(0x248)]=_0x1bb2ed=>this[_0x1cce51(0x33f)][_0x1cce51(0x1e0)](_0x1bb2ed),_0x145e8f;}async[_0x2e258d(0x3f7)](){var _0x17f7e8=_0x2e258d;const _0x47b873=await super['_init']();return this[_0x17f7e8(0x295)](this[_0x17f7e8(0x2e6)][_0x17f7e8(0x116)]((_0x13de12,_0x476c59)=>{var _0x7da95e=_0x17f7e8;if(_0x13de12['type']!==a[_0x7da95e(0x2c6)][_0x7da95e(0x1b5)]||_0x476c59!=null&&_0x476c59[_0x7da95e(0x24d)]||_0x476c59!=null&&_0x476c59[_0x7da95e(0x29f)])return;const _0xc5e97b=_0x13de12[_0x7da95e(0x18b)];if((_0xc5e97b==null?void 0x0:_0xc5e97b[_0x7da95e(0x440)])!==this[_0x7da95e(0x3af)])return;const _0x4ed753=_0x13de12,_0x474f3e=this[_0x7da95e(0x1cb)][_0x7da95e(0x1f3)][_0x7da95e(0x3f3)](this[_0x7da95e(0x1cb)][_0x7da95e(0x1f3)][_0x7da95e(0x3e6)]()[_0x7da95e(0x2e5)])([_0x4ed753],null)||[_0x4ed753];this[_0x7da95e(0x297)](_0x474f3e[0x0]);})),_0x47b873;}},exports[_0x2e258d(0x3b5)]=Ge([$(0x3,a['Inject'](a['Injector'])),$(0x4,a[_0x2e258d(0x22d)](g[_0x2e258d(0x45e)])),$(0x5,a['Inject'](a['LocaleService'])),$(0x6,a[_0x2e258d(0x22d)](g['RevisionService'])),$(0x7,a[_0x2e258d(0x22d)](exports['SheetTransformSelectionsService'])),$(0x8,a[_0x2e258d(0x22d)](te)),$(0x9,a[_0x2e258d(0x461)]),$(0xa,a[_0x2e258d(0x36e)]),$(0xb,a[_0x2e258d(0x1f8)]),$(0xc,a['Optional'](ve)),$(0xd,a[_0x2e258d(0x44c)](z))],exports[_0x2e258d(0x3b5)]);var Ti=Object[_0x2e258d(0x3c4)],bi=(_0x443691,_0x29996f,_0x330a84,_0x41e29c)=>{var _0x1f4407=_0x2e258d;for(var _0x4e70c0=_0x41e29c>0x1?void 0x0:_0x41e29c?Ti(_0x29996f,_0x330a84):_0x29996f,_0x25c92c=_0x443691[_0x1f4407(0x27e)]-0x1,_0x1073fc;_0x25c92c>=0x0;_0x25c92c--)(_0x1073fc=_0x443691[_0x25c92c])&&(_0x4e70c0=_0x1073fc(_0x4e70c0)||_0x4e70c0);return _0x4e70c0;},Ae=(_0x48f9f3,_0x3075f4)=>(_0x492fbf,_0x176b7c)=>_0x3075f4(_0x492fbf,_0x176b7c,_0x48f9f3);exports[_0x2e258d(0x433)]=class extends a[_0x2e258d(0x410)]{constructor(_0x1c15d7,_0x1e5a8e,_0x87d708){var _0x442a19=_0x2e258d;super(),P(this,_0x442a19(0x3d5),new Map()),P(this,_0x442a19(0x439),new j[(_0x442a19(0x154))]()),P(this,_0x442a19(0x39e),this[_0x442a19(0x439)][_0x442a19(0x158)]()),(this[_0x442a19(0x2b7)]=_0x1c15d7,this[_0x442a19(0x2b9)]=_0x1e5a8e,this[_0x442a19(0x380)]=_0x87d708,this[_0x442a19(0x3f7)]());}[_0x2e258d(0x1eb)](){var _0x5ac74b=_0x2e258d;super[_0x5ac74b(0x1eb)](),this[_0x5ac74b(0x3d5)][_0x5ac74b(0x270)](_0x49df2d=>_0x49df2d[_0x5ac74b(0x1eb)]()),this[_0x5ac74b(0x3d5)][_0x5ac74b(0x2cc)]();}[_0x2e258d(0x1e5)](_0x330afd){var _0x3f8314=_0x2e258d,_0x49558d;return(_0x49558d=this[_0x3f8314(0x3d5)][_0x3f8314(0x2f4)](_0x330afd))!=null?_0x49558d:null;}[_0x2e258d(0x2bb)](_0x2f08d4){var _0x322e67=_0x2e258d;const _0x3d06df=this[_0x322e67(0x1e5)](_0x2f08d4);return _0x3d06df?j['of'](_0x3d06df):this[_0x322e67(0x439)]['pipe'](W[_0x322e67(0x2ee)](_0xd85ddd=>_0xd85ddd[_0x322e67(0x3af)]===_0x2f08d4));}['readyForCollab'](_0x597e24){var _0x3ce816=_0x2e258d;return j[_0x3ce816(0x452)](this[_0x3ce816(0x2bb)](_0x597e24)[_0x3ce816(0x24a)](W['map'](()=>{})));}[_0x2e258d(0x3f7)](){var _0x36a9ef=_0x2e258d;this[_0x36a9ef(0x380)]['getTypeOfUnitAdded$'](a[_0x36a9ef(0x162)]['UNIVER_SHEET'])[_0x36a9ef(0x24a)](j[_0x36a9ef(0x33e)](this['dispose$']),W[_0x36a9ef(0x356)](0x10))[_0x36a9ef(0x174)](async _0x4cd0cb=>{var _0x48f9dd=_0x36a9ef;const _0x266063=_0x4cd0cb[_0x48f9dd(0x35b)](),_0x42fe7d=await this[_0x48f9dd(0x321)](_0x266063,X[_0x48f9dd(0x1e8)]);this[_0x48f9dd(0x3d5)][_0x48f9dd(0x127)](_0x266063,_0x42fe7d);}),this['_univerInstanceService'][_0x36a9ef(0x475)](a[_0x36a9ef(0x162)][_0x36a9ef(0x2fb)])[_0x36a9ef(0x24a)](j['takeUntil'](this[_0x36a9ef(0x1f4)]),W[_0x36a9ef(0x356)](0x10))[_0x36a9ef(0x24a)](W[_0x36a9ef(0x2ee)](_0x13247c=>!_0x13247c['getUnitId']()[_0x36a9ef(0x1a2)]('__')))[_0x36a9ef(0x174)](async _0x120e77=>{var _0x591375=_0x36a9ef;const _0x4bac44=_0x120e77[_0x591375(0x35b)](),_0x1af176=await this[_0x591375(0x321)](_0x4bac44,X[_0x591375(0x2fb)]);this[_0x591375(0x3d5)]['set'](_0x4bac44,_0x1af176);}),j[_0x36a9ef(0x3fa)](this[_0x36a9ef(0x380)][_0x36a9ef(0x13e)](a[_0x36a9ef(0x162)]['UNIVER_SHEET']),this[_0x36a9ef(0x380)]['getTypeOfUnitDisposed$'](a[_0x36a9ef(0x162)]['UNIVER_DOC']))[_0x36a9ef(0x24a)](j[_0x36a9ef(0x33e)](this[_0x36a9ef(0x1f4)]))[_0x36a9ef(0x174)](_0x120d3=>{var _0x27db28=_0x36a9ef;const _0x47d8b8=_0x120d3[_0x27db28(0x35b)](),_0x5efda7=this[_0x27db28(0x3d5)]['get'](_0x47d8b8);_0x5efda7&&(_0x5efda7[_0x27db28(0x1eb)](),this['_entities']['delete'](_0x47d8b8));});}async[_0x2e258d(0x321)](_0x2ad3e8,_0x1bd67a){var _0x2c1e72=_0x2e258d;const _0x4b1fba=await this[_0x2c1e72(0x2b9)][_0x2c1e72(0x123)](_0x2ad3e8),_0x1606b9=this['_injector']['createInstance'](this[_0x2c1e72(0x434)](_0x1bd67a),_0x2ad3e8,_0x1bd67a,_0x4b1fba);return await _0x1606b9['init'](),this[_0x2c1e72(0x439)][_0x2c1e72(0x46b)](_0x1606b9),_0x1606b9;}['_getCtorByUniverType'](_0x22f872){var _0x40e96d=_0x2e258d;switch(_0x22f872){case X[_0x40e96d(0x2fb)]:return exports[_0x40e96d(0x1c3)];case X[_0x40e96d(0x1e8)]:return exports[_0x40e96d(0x3b5)];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x22f872);}}},exports[_0x2e258d(0x433)]=bi([Ae(0x0,a[_0x2e258d(0x22d)](a[_0x2e258d(0x349)])),Ae(0x1,a['Inject'](exports[_0x2e258d(0x230)])),Ae(0x2,a['IUniverInstanceService'])],exports[_0x2e258d(0x433)]);var Ri=Object[_0x2e258d(0x3c4)],yi=(_0x56aea3,_0x1136a3,_0x56e4ee,_0xb1df1b)=>{var _0x350f2d=_0x2e258d;for(var _0x4ce404=_0xb1df1b>0x1?void 0x0:_0xb1df1b?Ri(_0x1136a3,_0x56e4ee):_0x1136a3,_0x4c535e=_0x56aea3[_0x350f2d(0x27e)]-0x1,_0x41e0f6;_0x4c535e>=0x0;_0x4c535e--)(_0x41e0f6=_0x56aea3[_0x4c535e])&&(_0x4ce404=_0x41e0f6(_0x4ce404)||_0x4ce404);return _0x4ce404;},Je=(_0x4de3ed,_0x1f8215)=>(_0x4403bd,_0x2cf0da)=>_0x1f8215(_0x4403bd,_0x2cf0da,_0x4de3ed);const Oi=_0x2e258d(0x2d5),Ni=_0x2e258d(0x206);let He=class extends a[_0x2e258d(0x147)]{constructor(_0x13d4bd,_0x2e2d41){var _0x2d0a3f=_0x2e258d;super(),this[_0x2d0a3f(0x380)]=_0x13d4bd,this[_0x2d0a3f(0x42b)]=_0x2e2d41,this[_0x2d0a3f(0x3f7)]();}[_0x2e258d(0x3f7)](){var _0x406ba5=_0x2e258d;this[_0x406ba5(0x295)](this[_0x406ba5(0x380)][_0x406ba5(0x21a)]['subscribe'](()=>{var _0x2c5039=_0x406ba5,_0x5a2017;const _0x2fc18d=this[_0x2c5039(0x380)][_0x2c5039(0x2ef)]();let _0x1fae18=(_0x5a2017=this[_0x2c5039(0x42b)][_0x2c5039(0x34d)](Oi))!=null?_0x5a2017:Ni;_0x2fc18d instanceof a[_0x2c5039(0x429)]&&(_0x1fae18=_0x2fc18d[_0x2c5039(0x1ee)]),document['title']=_0x1fae18;}));}};He=yi([Je(0x0,a[_0x2e258d(0x308)]),Je(0x1,a[_0x2e258d(0x1c9)])],He);var Di=Object[_0x2e258d(0x3c4)],Ui=(_0x17e43d,_0x2b5efb,_0x3e731f,_0x3c986b)=>{var _0xcce3d4=_0x2e258d;for(var _0x1f96dd=_0x3c986b>0x1?void 0x0:_0x3c986b?Di(_0x2b5efb,_0x3e731f):_0x2b5efb,_0x95c1b1=_0x17e43d[_0xcce3d4(0x27e)]-0x1,_0x5a1416;_0x95c1b1>=0x0;_0x95c1b1--)(_0x5a1416=_0x17e43d[_0x95c1b1])&&(_0x1f96dd=_0x5a1416(_0x1f96dd)||_0x1f96dd);return _0x1f96dd;},we=(_0x1d9482,_0x295504)=>(_0x276d26,_0x1c939c)=>_0x295504(_0x276d26,_0x1c939c,_0x1d9482);let Oe=class{constructor(_0x2e5f9a,_0x3263ff,_0x3050f1){var _0x1b0c57=_0x2e258d;this[_0x1b0c57(0x42b)]=_0x2e5f9a,this['_httpService']=_0x3263ff,this[_0x1b0c57(0x3de)]=_0x3050f1,this[_0x1b0c57(0x231)]();}[_0x2e258d(0x231)](){var _0x70e34e=_0x2e258d;this[_0x70e34e(0x3d1)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x13dded,_0x51169c)=>_0x51169c(_0x13dded)[_0x70e34e(0x24a)](j[_0x70e34e(0x12e)](async _0xa0dff9=>{var _0x3b8faf=_0x70e34e;const _0x187fcc=_0xa0dff9;if(_0x187fcc[_0x3b8faf(0x406)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window['confirm'](this['localeService']['t'](_0x3b8faf(0x2ce)))){const _0x39bdb2=window[_0x3b8faf(0x2e9)](window['location'][_0x3b8faf(0x2fd)]);window[_0x3b8faf(0x14c)]['href']=this['_getLoginPath']()+_0x3b8faf(0x320)+_0x39bdb2;}}return _0x187fcc;}))});}[_0x2e258d(0x25a)](){var _0x3919f8=_0x2e258d,_0x158a94,_0x47bc66;const _0x5e671f=this['_configService']['getConfig'](Et),_0x3a1583=this[_0x3919f8(0x42b)][_0x3919f8(0x34d)](Y);return(_0x47bc66=(_0x158a94=_0x3a1583==null?void 0x0:_0x3a1583['loginUrlKey'])!=null?_0x158a94:_0x5e671f)!=null?_0x47bc66:Yt;}};Oe=Ui([we(0x0,a[_0x2e258d(0x1c9)]),we(0x1,a[_0x2e258d(0x22d)](q[_0x2e258d(0x16e)])),we(0x2,a[_0x2e258d(0x22d)](a[_0x2e258d(0x152)]))],Oe);var Pi=Object[_0x2e258d(0x3c4)],Ai=(_0x1e8b74,_0x440903,_0x53b03c,_0x328b4b)=>{for(var _0x4035e5=_0x328b4b>0x1?void 0x0:_0x328b4b?Pi(_0x440903,_0x53b03c):_0x440903,_0x382e9a=_0x1e8b74['length']-0x1,_0x5316b7;_0x382e9a>=0x0;_0x382e9a--)(_0x5316b7=_0x1e8b74[_0x382e9a])&&(_0x4035e5=_0x5316b7(_0x4035e5)||_0x4035e5);return _0x4035e5;},Xe=(_0x872a4f,_0x36efa8)=>(_0x1808a6,_0x59c8a2)=>_0x36efa8(_0x1808a6,_0x59c8a2,_0x872a4f);const Ve=_0x2e258d(0x118),wi='/universer-api/authz';exports['AuthzIoHttpService']=class extends a[_0x2e258d(0x147)]{constructor(_0x53f30b,_0x3c754f){var _0x14b171=_0x2e258d;super(),this[_0x14b171(0x1b6)]=_0x53f30b,this['_configService']=_0x3c754f,this[_0x14b171(0x339)]();}['_initMergeInterceptor'](){var _0x2b06be=_0x2e258d;const _0x1ec738=this;this[_0x2b06be(0x295)](this[_0x2b06be(0x1b6)][_0x2b06be(0x245)]({'priority':0x3e7,'interceptor':q[_0x2b06be(0x1a9)]({'isMatch'(_0x4a083a){var _0x1d4e66=_0x2b06be,_0x375292;if(_0x4a083a[_0x1d4e66(0x2da)]===_0x1d4e66(0x345)&&((_0x375292=_0x4a083a['requestParams'])!=null&&_0x375292['body'])){const {objectID:_0x544f4a,objectType:_0x2138db}=_0x4a083a[_0x1d4e66(0x2b4)][_0x1d4e66(0x465)]||{};if(!_0x544f4a||_0x2138db===void 0x0)return!0x1;const _0x57eaff=_0x1ec738['_getAPIPrefixPath']()+'/'+_0x2138db+'/object/'+_0x544f4a+_0x1d4e66(0x18f);if(_0x4a083a[_0x1d4e66(0x34a)]===_0x57eaff)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x5460b8){var _0x12a068=_0x2b06be,_0x290f49;return(_0x290f49=_0x5460b8['requestParams'])==null?void 0x0:_0x290f49[_0x12a068(0x465)];},'mergeParamsToRequest'(_0x30023,_0x3d1553){var _0x2c1480=_0x2b06be;const _0x35c755=_0x1ec738['_getAPIPrefixPath']()+'/-/object/-/batch_allowed',_0x14ac36=_0x30023[_0x2c1480(0x282)]((_0x57c808,_0x556808)=>{var _0x764a12=_0x2c1480;const {unitID:_0x562f82,objectID:_0x57dcd7,objectType:_0x16ba0f,actions:_0x3b6be6}=_0x556808;return _0x57c808[_0x562f82]||(_0x57c808[_0x562f82]={}),_0x57c808[_0x562f82][_0x57dcd7]||(_0x57c808[_0x562f82][_0x57dcd7]={'objectID':_0x57dcd7,'objectType':_0x16ba0f,'actions':[]}),_0x57c808[_0x562f82][_0x57dcd7]['actions'][_0x764a12(0x293)](..._0x3b6be6),_0x57c808;},{}),_0x404a01=[];for(const _0x54fee7 in _0x14ac36)for(const _0x458429 in _0x14ac36[_0x54fee7]){const {actions:_0x318916,objectType:_0x43402e}=_0x14ac36[_0x54fee7][_0x458429],_0x1a4b02=[...new Set(_0x318916)];_0x404a01['push']({'unitID':_0x54fee7,'objectID':_0x458429,'objectType':_0x43402e,'actions':_0x1a4b02});}return new q[(_0x2c1480(0x32b))](_0x2c1480(0x345),_0x35c755,{'headers':_0x3d1553[_0x2c1480(0x368)],'withCredentials':_0x3d1553[_0x2c1480(0x10f)],'responseType':_0x3d1553[_0x2c1480(0x16f)],'body':{'requests':_0x404a01}});}},{'distributeResult'(_0x1a2f6b,_0x5c18ea){var _0x217f44=_0x2b06be;const {objectActions:_0x1cff21}=_0x1a2f6b;return _0x5c18ea[_0x217f44(0x202)](_0x36ed0e=>{var _0x501b1c=_0x217f44;const {unitID:_0xc00690,objectID:_0xad90e3,actions:_0x22c884}=_0x36ed0e,_0x434905=_0x1cff21['find'](_0x1592f7=>_0x1592f7['unitID']===_0xc00690&&_0x1592f7[_0x501b1c(0x1f7)]===_0xad90e3),_0x280597=_0x22c884[_0x501b1c(0x202)](_0x1d52a3=>_0x434905==null?void 0x0:_0x434905[_0x501b1c(0x14d)][_0x501b1c(0x122)](_0x22c44f=>_0x22c44f[_0x501b1c(0x142)]===_0x1d52a3))[_0x501b1c(0x2ee)](_0x4a1e27=>!!_0x4a1e27);return{'config':_0x36ed0e,'result':{'actions':_0x280597,'error':_0x1a2f6b[_0x501b1c(0x376)]}};});}})}));}[_0x2e258d(0x365)](){var _0x2409a0=_0x2e258d,_0x325748,_0x4e09be;const _0x1e8ea3=this[_0x2409a0(0x42b)]['getConfig'](Ve),_0x2abff9=this[_0x2409a0(0x42b)]['getConfig'](Y);return(_0x4e09be=(_0x325748=_0x2abff9==null?void 0x0:_0x2abff9[_0x2409a0(0x243)])!=null?_0x325748:_0x1e8ea3)!=null?_0x4e09be:wi;}async[_0x2e258d(0x28a)](_0x2cd1b1){var _0x2d278d=_0x2e258d;const _0x15be29=this['_getAPIPrefixPath']()+'/'+_0x2cd1b1['objectType']+_0x2d278d(0x431);return(await this[_0x2d278d(0x1b6)][_0x2d278d(0x190)](_0x15be29,{'body':_0x2cd1b1}))[_0x2d278d(0x465)]['objectID']||'';}async[_0x2e258d(0x3b2)](_0x11904a){var _0x234fbf=_0x2e258d;const _0x4ed288=this[_0x234fbf(0x365)]()+'/-/object/list';return(await this['_HTTPService']['post'](_0x4ed288,{'body':_0x11904a}))['body']['objects'];}async[_0x2e258d(0x156)](_0x22e60a){var _0x15b25a=_0x2e258d;const _0x123e68=this[_0x15b25a(0x365)]()+'/'+_0x22e60a['objectType']+'/object/'+_0x22e60a[_0x15b25a(0x1f7)];await this['_HTTPService'][_0x15b25a(0x159)](_0x123e68,{'body':_0x22e60a});}async[_0x2e258d(0x366)](_0x3161fe){var _0x572a05=_0x2e258d;const _0x3cf21c=this[_0x572a05(0x365)]()+'/'+_0x3161fe[_0x572a05(0x45c)]+_0x572a05(0x133)+_0x3161fe[_0x572a05(0x1f7)]+_0x572a05(0x18f);return(await this[_0x572a05(0x1b6)][_0x572a05(0x190)](_0x3cf21c,{'body':_0x3161fe}))[_0x572a05(0x465)][_0x572a05(0x14d)];}async[_0x2e258d(0x285)](_0x3dc82f){var _0x17a82b=_0x2e258d;const _0x124b24=this[_0x17a82b(0x365)]()+'/-/object/-/batch_allowed';return(await this[_0x17a82b(0x1b6)]['post'](_0x124b24,{'body':{'requests':_0x3dc82f}}))[_0x17a82b(0x465)]['objectActions'];}async[_0x2e258d(0x35c)](_0x23bbc5){var _0x4dc16c=_0x2e258d;const _0x46b00=this[_0x4dc16c(0x365)]()+'/'+_0x23bbc5['objectType']+_0x4dc16c(0x2c4),_0x474603=await this[_0x4dc16c(0x1b6)]['post'](_0x46b00,{'body':_0x23bbc5});return{'roles':_0x474603[_0x4dc16c(0x465)][_0x4dc16c(0x477)],'actions':_0x474603[_0x4dc16c(0x465)]['actions']};}async['deleteCollaborator'](_0x250e48){var _0x5bb654=_0x2e258d;const _0x2d3117=this[_0x5bb654(0x365)]()+'/collaborator';await this['_HTTPService'][_0x5bb654(0x35e)](_0x2d3117,{'params':{'collaboratorID':_0x250e48[_0x5bb654(0x401)],'objectID':_0x250e48['objectID'],'unitID':_0x250e48[_0x5bb654(0x3af)]}});}async[_0x2e258d(0x31f)](_0x84329b){var _0x58097d=_0x2e258d;const _0x30793e=this[_0x58097d(0x365)]()+_0x58097d(0x19c);await this['_HTTPService'][_0x58097d(0x436)](_0x30793e,{'body':_0x84329b});}async[_0x2e258d(0x141)](_0x51d00c){var _0x249239=_0x2e258d;const _0xbdb5af=this[_0x249239(0x365)]()+_0x249239(0x19c);await this['_HTTPService'][_0x249239(0x190)](_0xbdb5af,{'body':_0x51d00c});}async[_0x2e258d(0x3e1)](_0x444ca4){var _0xe26edc=_0x2e258d;const _0x414929=this['_getAPIPrefixPath']()+_0xe26edc(0x19c);return(await this[_0xe26edc(0x1b6)][_0xe26edc(0x2f4)](_0x414929,{'params':{'objectID':_0x444ca4[_0xe26edc(0x1f7)],'unitID':_0x444ca4[_0xe26edc(0x3af)]}}))[_0xe26edc(0x465)][_0xe26edc(0x378)];}async[_0x2e258d(0x125)](_0x3e7d15){var _0xbe8529=_0x2e258d;const _0x29d415=this['_getAPIPrefixPath']()+_0xbe8529(0x19c);await this['_HTTPService'][_0xbe8529(0x159)](_0x29d415,{'body':_0x3e7d15});}},exports['AuthzIoHttpService']=Ai([Xe(0x0,a[_0x2e258d(0x22d)](q[_0x2e258d(0x16e)])),Xe(0x1,a[_0x2e258d(0x22d)](a[_0x2e258d(0x1c9)]))],exports[_0x2e258d(0x110)]);var Le=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function Se(_0xa4efe2){var _0x5d95af=_0x2e258d;return _0xa4efe2&&_0xa4efe2['__esModule']&&Object['prototype']['hasOwnProperty'][_0x5d95af(0x2a4)](_0xa4efe2,'default')?_0xa4efe2[_0x5d95af(0x362)]:_0xa4efe2;}var fe={'exports':{}};function Li(_0x5dd35b){var _0x37a2e5=_0x2e258d;throw new Error(_0x37a2e5(0x2c8)+_0x5dd35b+_0x37a2e5(0x3a1));}var pe={'exports':{}},Mi=pe[_0x2e258d(0x22f)],Ze;function ee(){return Ze||(Ze=0x1,function(_0xdce864,_0x27ee9a){(function(_0x26db6b,_0x3ae18a){_0xdce864['exports']=_0x3ae18a();}(Mi,function(){var _0x39ec20=_0x39ec20||function(_0x35028e,_0x25645e){var _0x242b41=_0x3e55,_0x2b4ae5;if(typeof window<'u'&&window[_0x242b41(0x276)]&&(_0x2b4ae5=window[_0x242b41(0x276)]),typeof self<'u'&&self[_0x242b41(0x276)]&&(_0x2b4ae5=self['crypto']),typeof globalThis<'u'&&globalThis['crypto']&&(_0x2b4ae5=globalThis[_0x242b41(0x276)]),!_0x2b4ae5&&typeof window<'u'&&window[_0x242b41(0x300)]&&(_0x2b4ae5=window[_0x242b41(0x300)]),!_0x2b4ae5&&typeof Le<'u'&&Le[_0x242b41(0x276)]&&(_0x2b4ae5=Le[_0x242b41(0x276)]),!_0x2b4ae5&&typeof Li==_0x242b41(0x12b))try{_0x2b4ae5=require(_0x242b41(0x276));}catch{}var _0x5ba331=function(){var _0x152cb8=_0x242b41;if(_0x2b4ae5){if(typeof _0x2b4ae5['getRandomValues']=='function')try{return _0x2b4ae5[_0x152cb8(0x210)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x2b4ae5[_0x152cb8(0x43f)]=='function')try{return _0x2b4ae5[_0x152cb8(0x43f)](0x4)[_0x152cb8(0x25f)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x4591bb=Object[_0x242b41(0x28a)]||(function(){function _0x25421a(){}return function(_0x5422db){var _0x10a654=_0x3e55,_0x4cdf25;return _0x25421a[_0x10a654(0x163)]=_0x5422db,_0x4cdf25=new _0x25421a(),_0x25421a[_0x10a654(0x163)]=null,_0x4cdf25;};}()),_0x1b4b34={},_0x499dae=_0x1b4b34[_0x242b41(0x404)]={},_0x40a656=_0x499dae[_0x242b41(0x2bd)]=(function(){return{'extend':function(_0x482314){var _0x22ea1d=_0x3e55,_0x4e102e=_0x4591bb(this);return _0x482314&&_0x4e102e[_0x22ea1d(0x361)](_0x482314),(!_0x4e102e[_0x22ea1d(0x3c5)](_0x22ea1d(0x231))||this[_0x22ea1d(0x231)]===_0x4e102e[_0x22ea1d(0x231)])&&(_0x4e102e['init']=function(){var _0x4229de=_0x22ea1d;_0x4e102e[_0x4229de(0x17e)][_0x4229de(0x231)]['apply'](this,arguments);}),_0x4e102e['init']['prototype']=_0x4e102e,_0x4e102e['$super']=this,_0x4e102e;},'create':function(){var _0x4c6f38=_0x3e55,_0x269da6=this[_0x4c6f38(0x379)]();return _0x269da6['init']['apply'](_0x269da6,arguments),_0x269da6;},'init':function(){},'mixIn':function(_0x554805){var _0x170bc3=_0x3e55;for(var _0x2407a0 in _0x554805)_0x554805['hasOwnProperty'](_0x2407a0)&&(this[_0x2407a0]=_0x554805[_0x2407a0]);_0x554805['hasOwnProperty'](_0x170bc3(0x30c))&&(this['toString']=_0x554805['toString']);},'clone':function(){var _0x4a3b51=_0x3e55;return this[_0x4a3b51(0x231)][_0x4a3b51(0x163)][_0x4a3b51(0x379)](this);}};}()),_0x2635c1=_0x499dae[_0x242b41(0x31c)]=_0x40a656[_0x242b41(0x379)]({'init':function(_0x53913c,_0x4f5281){var _0x1c878f=_0x242b41;_0x53913c=this[_0x1c878f(0x124)]=_0x53913c||[],_0x4f5281!=_0x25645e?this[_0x1c878f(0x3eb)]=_0x4f5281:this[_0x1c878f(0x3eb)]=_0x53913c[_0x1c878f(0x27e)]*0x4;},'toString':function(_0x2d0c72){var _0x102fea=_0x242b41;return(_0x2d0c72||_0x52fbdc)[_0x102fea(0x200)](this);},'concat':function(_0x14c45e){var _0x1ff386=_0x242b41,_0x4ed40a=this[_0x1ff386(0x124)],_0x1f418c=_0x14c45e['words'],_0x554163=this[_0x1ff386(0x3eb)],_0x33b432=_0x14c45e['sigBytes'];if(this[_0x1ff386(0x375)](),_0x554163%0x4)for(var _0x9ec31a=0x0;_0x9ec31a<_0x33b432;_0x9ec31a++){var _0x1a65ad=_0x1f418c[_0x9ec31a>>>0x2]>>>0x18-_0x9ec31a%0x4*0x8&0xff;_0x4ed40a[_0x554163+_0x9ec31a>>>0x2]|=_0x1a65ad<<0x18-(_0x554163+_0x9ec31a)%0x4*0x8;}else{for(var _0x2a95fd=0x0;_0x2a95fd<_0x33b432;_0x2a95fd+=0x4)_0x4ed40a[_0x554163+_0x2a95fd>>>0x2]=_0x1f418c[_0x2a95fd>>>0x2];}return this[_0x1ff386(0x3eb)]+=_0x33b432,this;},'clamp':function(){var _0x473ba3=_0x242b41,_0x81dee8=this['words'],_0x4388aa=this['sigBytes'];_0x81dee8[_0x4388aa>>>0x2]&=0xffffffff<<0x20-_0x4388aa%0x4*0x8,_0x81dee8[_0x473ba3(0x27e)]=_0x35028e['ceil'](_0x4388aa/0x4);},'clone':function(){var _0x458a49=_0x242b41,_0x303c47=_0x40a656['clone']['call'](this);return _0x303c47[_0x458a49(0x124)]=this['words'][_0x458a49(0x455)](0x0),_0x303c47;},'random':function(_0x42f4ec){var _0x2d1c90=_0x242b41;for(var _0x2d8b98=[],_0x9a3e70=0x0;_0x9a3e70<_0x42f4ec;_0x9a3e70+=0x4)_0x2d8b98[_0x2d1c90(0x293)](_0x5ba331());return new _0x2635c1[(_0x2d1c90(0x231))](_0x2d8b98,_0x42f4ec);}}),_0x36ab2f=_0x1b4b34[_0x242b41(0x1ba)]={},_0x52fbdc=_0x36ab2f[_0x242b41(0x453)]={'stringify':function(_0x2de533){var _0x37bd00=_0x242b41;for(var _0xbcbd79=_0x2de533[_0x37bd00(0x124)],_0x1698f1=_0x2de533[_0x37bd00(0x3eb)],_0x14c164=[],_0xd5d5f4=0x0;_0xd5d5f4<_0x1698f1;_0xd5d5f4++){var _0x64686d=_0xbcbd79[_0xd5d5f4>>>0x2]>>>0x18-_0xd5d5f4%0x4*0x8&0xff;_0x14c164[_0x37bd00(0x293)]((_0x64686d>>>0x4)[_0x37bd00(0x30c)](0x10)),_0x14c164[_0x37bd00(0x293)]((_0x64686d&0xf)[_0x37bd00(0x30c)](0x10));}return _0x14c164[_0x37bd00(0x2cb)]('');},'parse':function(_0x37acf1){var _0x5124b9=_0x242b41;for(var _0x17fabe=_0x37acf1[_0x5124b9(0x27e)],_0xa7f886=[],_0x1088f4=0x0;_0x1088f4<_0x17fabe;_0x1088f4+=0x2)_0xa7f886[_0x1088f4>>>0x3]|=parseInt(_0x37acf1[_0x5124b9(0x41a)](_0x1088f4,0x2),0x10)<<0x18-_0x1088f4%0x8*0x4;return new _0x2635c1[(_0x5124b9(0x231))](_0xa7f886,_0x17fabe/0x2);}},_0x45bd5b=_0x36ab2f['Latin1']={'stringify':function(_0xb91079){var _0x52469c=_0x242b41;for(var _0x1a5809=_0xb91079['words'],_0x236193=_0xb91079[_0x52469c(0x3eb)],_0x2304ba=[],_0x45690b=0x0;_0x45690b<_0x236193;_0x45690b++){var _0x54c780=_0x1a5809[_0x45690b>>>0x2]>>>0x18-_0x45690b%0x4*0x8&0xff;_0x2304ba[_0x52469c(0x293)](String['fromCharCode'](_0x54c780));}return _0x2304ba[_0x52469c(0x2cb)]('');},'parse':function(_0x31c299){var _0x254b35=_0x242b41;for(var _0x23b90b=_0x31c299['length'],_0x4ebfe9=[],_0x5b80ca=0x0;_0x5b80ca<_0x23b90b;_0x5b80ca++)_0x4ebfe9[_0x5b80ca>>>0x2]|=(_0x31c299[_0x254b35(0x22c)](_0x5b80ca)&0xff)<<0x18-_0x5b80ca%0x4*0x8;return new _0x2635c1[(_0x254b35(0x231))](_0x4ebfe9,_0x23b90b);}},_0x27f92c=_0x36ab2f['Utf8']={'stringify':function(_0x2b8b72){var _0x2873bd=_0x242b41;try{return decodeURIComponent(escape(_0x45bd5b[_0x2873bd(0x200)](_0x2b8b72)));}catch{throw new Error(_0x2873bd(0x463));}},'parse':function(_0x42681b){return _0x45bd5b['parse'](unescape(encodeURIComponent(_0x42681b)));}},_0x106ffc=_0x499dae[_0x242b41(0x3fc)]=_0x40a656[_0x242b41(0x379)]({'reset':function(){var _0x59cb5a=_0x242b41;this[_0x59cb5a(0x348)]=new _0x2635c1[(_0x59cb5a(0x231))](),this['_nDataBytes']=0x0;},'_append':function(_0x5f5128){var _0x4239c6=_0x242b41;typeof _0x5f5128==_0x4239c6(0x425)&&(_0x5f5128=_0x27f92c[_0x4239c6(0x1fe)](_0x5f5128)),this[_0x4239c6(0x348)][_0x4239c6(0x143)](_0x5f5128),this[_0x4239c6(0x305)]+=_0x5f5128['sigBytes'];},'_process':function(_0x31affd){var _0x27a6cd=_0x242b41,_0x2c9b44,_0x4be7bf=this[_0x27a6cd(0x348)],_0x3f2305=_0x4be7bf[_0x27a6cd(0x124)],_0x6c9711=_0x4be7bf['sigBytes'],_0x5add07=this[_0x27a6cd(0x1c8)],_0x5af2a3=_0x5add07*0x4,_0x5de159=_0x6c9711/_0x5af2a3;_0x31affd?_0x5de159=_0x35028e['ceil'](_0x5de159):_0x5de159=_0x35028e[_0x27a6cd(0x2a0)]((_0x5de159|0x0)-this[_0x27a6cd(0x334)],0x0);var _0x5acca2=_0x5de159*_0x5add07,_0x214458=_0x35028e[_0x27a6cd(0x1cf)](_0x5acca2*0x4,_0x6c9711);if(_0x5acca2){for(var _0x504c9e=0x0;_0x504c9e<_0x5acca2;_0x504c9e+=_0x5add07)this[_0x27a6cd(0x17b)](_0x3f2305,_0x504c9e);_0x2c9b44=_0x3f2305[_0x27a6cd(0x38d)](0x0,_0x5acca2),_0x4be7bf[_0x27a6cd(0x3eb)]-=_0x214458;}return new _0x2635c1[(_0x27a6cd(0x231))](_0x2c9b44,_0x214458);},'clone':function(){var _0x4824eb=_0x242b41,_0x55b5a9=_0x40a656[_0x4824eb(0x2d0)]['call'](this);return _0x55b5a9['_data']=this[_0x4824eb(0x348)][_0x4824eb(0x2d0)](),_0x55b5a9;},'_minBufferSize':0x0});_0x499dae['Hasher']=_0x106ffc[_0x242b41(0x379)]({'cfg':_0x40a656[_0x242b41(0x379)](),'init':function(_0x433639){var _0xd978cd=_0x242b41;this[_0xd978cd(0x3d6)]=this[_0xd978cd(0x3d6)][_0xd978cd(0x379)](_0x433639),this['reset']();},'reset':function(){var _0x457fb9=_0x242b41;_0x106ffc[_0x457fb9(0x37e)]['call'](this),this['_doReset']();},'update':function(_0x5c80ae){var _0x23fd37=_0x242b41;return this[_0x23fd37(0x140)](_0x5c80ae),this[_0x23fd37(0x3c8)](),this;},'finalize':function(_0x560de9){var _0x2d85f1=_0x242b41;_0x560de9&&this['_append'](_0x560de9);var _0x24e597=this[_0x2d85f1(0x30a)]();return _0x24e597;},'blockSize':0x10,'_createHelper':function(_0x11356d){return function(_0x55b7d8,_0x561154){var _0xea79f4=_0x3e55;return new _0x11356d[(_0xea79f4(0x231))](_0x561154)[_0xea79f4(0x3b3)](_0x55b7d8);};},'_createHmacHelper':function(_0xd760c5){return function(_0x18ccb9,_0x389f4a){var _0x73b691=_0x3e55;return new _0x4ed6e6[(_0x73b691(0x1c2))][(_0x73b691(0x231))](_0xd760c5,_0x389f4a)[_0x73b691(0x3b3)](_0x18ccb9);};}});var _0x4ed6e6=_0x1b4b34[_0x242b41(0x3d7)]={};return _0x1b4b34;}(Math);return _0x39ec20;}));}(pe)),pe['exports'];}var ge={'exports':{}},xi=ge['exports'],Qe;function Ut(){var _0x58b93a=_0x2e258d;return Qe||(Qe=0x1,function(_0x204608,_0x385980){(function(_0xc79ff4,_0x2fa207){var _0x9ba2e=_0x3e55;_0x204608[_0x9ba2e(0x22f)]=_0x2fa207(ee());}(xi,function(_0x289c51){var _0xcc752=_0x3e55;return(function(){var _0x5cabc5=_0x3e55,_0x4cfae3=_0x289c51,_0x1ef2de=_0x4cfae3[_0x5cabc5(0x404)],_0x38f602=_0x1ef2de[_0x5cabc5(0x31c)],_0x49ca38=_0x4cfae3['enc'];_0x49ca38['Base64']={'stringify':function(_0x597bca){var _0x52e557=_0x5cabc5,_0x484979=_0x597bca['words'],_0x1c06d2=_0x597bca[_0x52e557(0x3eb)],_0x215977=this[_0x52e557(0x217)];_0x597bca[_0x52e557(0x375)]();for(var _0x1cdbe3=[],_0x59c1d0=0x0;_0x59c1d0<_0x1c06d2;_0x59c1d0+=0x3)for(var _0x3b7940=_0x484979[_0x59c1d0>>>0x2]>>>0x18-_0x59c1d0%0x4*0x8&0xff,_0x57b556=_0x484979[_0x59c1d0+0x1>>>0x2]>>>0x18-(_0x59c1d0+0x1)%0x4*0x8&0xff,_0x13e80f=_0x484979[_0x59c1d0+0x2>>>0x2]>>>0x18-(_0x59c1d0+0x2)%0x4*0x8&0xff,_0x3b6ef7=_0x3b7940<<0x10|_0x57b556<<0x8|_0x13e80f,_0x131f4f=0x0;_0x131f4f<0x4&&_0x59c1d0+_0x131f4f*0.75<_0x1c06d2;_0x131f4f++)_0x1cdbe3[_0x52e557(0x293)](_0x215977[_0x52e557(0x12c)](_0x3b6ef7>>>0x6*(0x3-_0x131f4f)&0x3f));var _0x56b4c4=_0x215977[_0x52e557(0x12c)](0x40);if(_0x56b4c4){for(;_0x1cdbe3[_0x52e557(0x27e)]%0x4;)_0x1cdbe3['push'](_0x56b4c4);}return _0x1cdbe3[_0x52e557(0x2cb)]('');},'parse':function(_0x163efc){var _0x2c3803=_0x5cabc5,_0x321ddf=_0x163efc['length'],_0x2d6eda=this['_map'],_0x45c451=this['_reverseMap'];if(!_0x45c451){_0x45c451=this[_0x2c3803(0x45a)]=[];for(var _0xeaeeb4=0x0;_0xeaeeb4<_0x2d6eda[_0x2c3803(0x27e)];_0xeaeeb4++)_0x45c451[_0x2d6eda['charCodeAt'](_0xeaeeb4)]=_0xeaeeb4;}var _0xb28423=_0x2d6eda['charAt'](0x40);if(_0xb28423){var _0xe97ec8=_0x163efc[_0x2c3803(0x460)](_0xb28423);_0xe97ec8!==-0x1&&(_0x321ddf=_0xe97ec8);}return _0x40e818(_0x163efc,_0x321ddf,_0x45c451);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x40e818(_0xc658e0,_0x90d93c,_0x114187){var _0x357882=_0x5cabc5;for(var _0x42c077=[],_0x529a29=0x0,_0x2c01a2=0x0;_0x2c01a2<_0x90d93c;_0x2c01a2++)if(_0x2c01a2%0x4){var _0x5e1fb8=_0x114187[_0xc658e0[_0x357882(0x22c)](_0x2c01a2-0x1)]<<_0x2c01a2%0x4*0x2,_0x25ab9d=_0x114187[_0xc658e0['charCodeAt'](_0x2c01a2)]>>>0x6-_0x2c01a2%0x4*0x2,_0x34fdf6=_0x5e1fb8|_0x25ab9d;_0x42c077[_0x529a29>>>0x2]|=_0x34fdf6<<0x18-_0x529a29%0x4*0x8,_0x529a29++;}return _0x38f602[_0x357882(0x28a)](_0x42c077,_0x529a29);}}()),_0x289c51[_0xcc752(0x1ba)]['Base64'];}));}(ge)),ge[_0x58b93a(0x22f)];}var me={'exports':{}},ki=me['exports'],et;function Hi(){var _0x2abbc2=_0x2e258d;return et||(et=0x1,function(_0x10d980,_0x4e2edd){(function(_0x526f1f,_0x2a9eb0){var _0x3368ac=_0x3e55;_0x10d980[_0x3368ac(0x22f)]=_0x2a9eb0(ee());}(ki,function(_0x27efe4){var _0x53b523=_0x3e55;return function(_0x1b0199){var _0x17828e=_0x3e55,_0x4762a1=_0x27efe4,_0x43fe9b=_0x4762a1['lib'],_0x221171=_0x43fe9b[_0x17828e(0x31c)],_0x135090=_0x43fe9b[_0x17828e(0x2b3)],_0x2840b2=_0x4762a1[_0x17828e(0x3d7)],_0x416101=[];(function(){var _0x32fa24=_0x17828e;for(var _0x3684b5=0x0;_0x3684b5<0x40;_0x3684b5++)_0x416101[_0x3684b5]=_0x1b0199[_0x32fa24(0x2dd)](_0x1b0199[_0x32fa24(0x131)](_0x3684b5+0x1))*0x100000000|0x0;}());var _0x5c501c=_0x2840b2['MD5']=_0x135090[_0x17828e(0x379)]({'_doReset':function(){var _0x3772de=_0x17828e;this[_0x3772de(0x188)]=new _0x221171[(_0x3772de(0x231))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x161adb,_0x3d73da){var _0x39f6ad=_0x17828e;for(var _0x17e936=0x0;_0x17e936<0x10;_0x17e936++){var _0x4ffeac=_0x3d73da+_0x17e936,_0xcecb40=_0x161adb[_0x4ffeac];_0x161adb[_0x4ffeac]=(_0xcecb40<<0x8|_0xcecb40>>>0x18)&0xff00ff|(_0xcecb40<<0x18|_0xcecb40>>>0x8)&0xff00ff00;}var _0x647800=this['_hash'][_0x39f6ad(0x124)],_0x274dda=_0x161adb[_0x3d73da+0x0],_0x24889e=_0x161adb[_0x3d73da+0x1],_0x51228e=_0x161adb[_0x3d73da+0x2],_0x164470=_0x161adb[_0x3d73da+0x3],_0x56c2bc=_0x161adb[_0x3d73da+0x4],_0x59cec3=_0x161adb[_0x3d73da+0x5],_0x21a360=_0x161adb[_0x3d73da+0x6],_0x325c09=_0x161adb[_0x3d73da+0x7],_0x29f3d4=_0x161adb[_0x3d73da+0x8],_0x1b63e9=_0x161adb[_0x3d73da+0x9],_0x1b4574=_0x161adb[_0x3d73da+0xa],_0x1dd330=_0x161adb[_0x3d73da+0xb],_0x290ce9=_0x161adb[_0x3d73da+0xc],_0x2dc658=_0x161adb[_0x3d73da+0xd],_0x3bd1f2=_0x161adb[_0x3d73da+0xe],_0x92d98d=_0x161adb[_0x3d73da+0xf],_0x3dcbd0=_0x647800[0x0],_0x45a21b=_0x647800[0x1],_0x1c439c=_0x647800[0x2],_0x3f8248=_0x647800[0x3];_0x3dcbd0=_0x434504(_0x3dcbd0,_0x45a21b,_0x1c439c,_0x3f8248,_0x274dda,0x7,_0x416101[0x0]),_0x3f8248=_0x434504(_0x3f8248,_0x3dcbd0,_0x45a21b,_0x1c439c,_0x24889e,0xc,_0x416101[0x1]),_0x1c439c=_0x434504(_0x1c439c,_0x3f8248,_0x3dcbd0,_0x45a21b,_0x51228e,0x11,_0x416101[0x2]),_0x45a21b=_0x434504(_0x45a21b,_0x1c439c,_0x3f8248,_0x3dcbd0,_0x164470,0x16,_0x416101[0x3]),_0x3dcbd0=_0x434504(_0x3dcbd0,_0x45a21b,_0x1c439c,_0x3f8248,_0x56c2bc,0x7,_0x416101[0x4]),_0x3f8248=_0x434504(_0x3f8248,_0x3dcbd0,_0x45a21b,_0x1c439c,_0x59cec3,0xc,_0x416101[0x5]),_0x1c439c=_0x434504(_0x1c439c,_0x3f8248,_0x3dcbd0,_0x45a21b,_0x21a360,0x11,_0x416101[0x6]),_0x45a21b=_0x434504(_0x45a21b,_0x1c439c,_0x3f8248,_0x3dcbd0,_0x325c09,0x16,_0x416101[0x7]),_0x3dcbd0=_0x434504(_0x3dcbd0,_0x45a21b,_0x1c439c,_0x3f8248,_0x29f3d4,0x7,_0x416101[0x8]),_0x3f8248=_0x434504(_0x3f8248,_0x3dcbd0,_0x45a21b,_0x1c439c,_0x1b63e9,0xc,_0x416101[0x9]),_0x1c439c=_0x434504(_0x1c439c,_0x3f8248,_0x3dcbd0,_0x45a21b,_0x1b4574,0x11,_0x416101[0xa]),_0x45a21b=_0x434504(_0x45a21b,_0x1c439c,_0x3f8248,_0x3dcbd0,_0x1dd330,0x16,_0x416101[0xb]),_0x3dcbd0=_0x434504(_0x3dcbd0,_0x45a21b,_0x1c439c,_0x3f8248,_0x290ce9,0x7,_0x416101[0xc]),_0x3f8248=_0x434504(_0x3f8248,_0x3dcbd0,_0x45a21b,_0x1c439c,_0x2dc658,0xc,_0x416101[0xd]),_0x1c439c=_0x434504(_0x1c439c,_0x3f8248,_0x3dcbd0,_0x45a21b,_0x3bd1f2,0x11,_0x416101[0xe]),_0x45a21b=_0x434504(_0x45a21b,_0x1c439c,_0x3f8248,_0x3dcbd0,_0x92d98d,0x16,_0x416101[0xf]),_0x3dcbd0=_0xd310f6(_0x3dcbd0,_0x45a21b,_0x1c439c,_0x3f8248,_0x24889e,0x5,_0x416101[0x10]),_0x3f8248=_0xd310f6(_0x3f8248,_0x3dcbd0,_0x45a21b,_0x1c439c,_0x21a360,0x9,_0x416101[0x11]),_0x1c439c=_0xd310f6(_0x1c439c,_0x3f8248,_0x3dcbd0,_0x45a21b,_0x1dd330,0xe,_0x416101[0x12]),_0x45a21b=_0xd310f6(_0x45a21b,_0x1c439c,_0x3f8248,_0x3dcbd0,_0x274dda,0x14,_0x416101[0x13]),_0x3dcbd0=_0xd310f6(_0x3dcbd0,_0x45a21b,_0x1c439c,_0x3f8248,_0x59cec3,0x5,_0x416101[0x14]),_0x3f8248=_0xd310f6(_0x3f8248,_0x3dcbd0,_0x45a21b,_0x1c439c,_0x1b4574,0x9,_0x416101[0x15]),_0x1c439c=_0xd310f6(_0x1c439c,_0x3f8248,_0x3dcbd0,_0x45a21b,_0x92d98d,0xe,_0x416101[0x16]),_0x45a21b=_0xd310f6(_0x45a21b,_0x1c439c,_0x3f8248,_0x3dcbd0,_0x56c2bc,0x14,_0x416101[0x17]),_0x3dcbd0=_0xd310f6(_0x3dcbd0,_0x45a21b,_0x1c439c,_0x3f8248,_0x1b63e9,0x5,_0x416101[0x18]),_0x3f8248=_0xd310f6(_0x3f8248,_0x3dcbd0,_0x45a21b,_0x1c439c,_0x3bd1f2,0x9,_0x416101[0x19]),_0x1c439c=_0xd310f6(_0x1c439c,_0x3f8248,_0x3dcbd0,_0x45a21b,_0x164470,0xe,_0x416101[0x1a]),_0x45a21b=_0xd310f6(_0x45a21b,_0x1c439c,_0x3f8248,_0x3dcbd0,_0x29f3d4,0x14,_0x416101[0x1b]),_0x3dcbd0=_0xd310f6(_0x3dcbd0,_0x45a21b,_0x1c439c,_0x3f8248,_0x2dc658,0x5,_0x416101[0x1c]),_0x3f8248=_0xd310f6(_0x3f8248,_0x3dcbd0,_0x45a21b,_0x1c439c,_0x51228e,0x9,_0x416101[0x1d]),_0x1c439c=_0xd310f6(_0x1c439c,_0x3f8248,_0x3dcbd0,_0x45a21b,_0x325c09,0xe,_0x416101[0x1e]),_0x45a21b=_0xd310f6(_0x45a21b,_0x1c439c,_0x3f8248,_0x3dcbd0,_0x290ce9,0x14,_0x416101[0x1f]),_0x3dcbd0=_0x5da838(_0x3dcbd0,_0x45a21b,_0x1c439c,_0x3f8248,_0x59cec3,0x4,_0x416101[0x20]),_0x3f8248=_0x5da838(_0x3f8248,_0x3dcbd0,_0x45a21b,_0x1c439c,_0x29f3d4,0xb,_0x416101[0x21]),_0x1c439c=_0x5da838(_0x1c439c,_0x3f8248,_0x3dcbd0,_0x45a21b,_0x1dd330,0x10,_0x416101[0x22]),_0x45a21b=_0x5da838(_0x45a21b,_0x1c439c,_0x3f8248,_0x3dcbd0,_0x3bd1f2,0x17,_0x416101[0x23]),_0x3dcbd0=_0x5da838(_0x3dcbd0,_0x45a21b,_0x1c439c,_0x3f8248,_0x24889e,0x4,_0x416101[0x24]),_0x3f8248=_0x5da838(_0x3f8248,_0x3dcbd0,_0x45a21b,_0x1c439c,_0x56c2bc,0xb,_0x416101[0x25]),_0x1c439c=_0x5da838(_0x1c439c,_0x3f8248,_0x3dcbd0,_0x45a21b,_0x325c09,0x10,_0x416101[0x26]),_0x45a21b=_0x5da838(_0x45a21b,_0x1c439c,_0x3f8248,_0x3dcbd0,_0x1b4574,0x17,_0x416101[0x27]),_0x3dcbd0=_0x5da838(_0x3dcbd0,_0x45a21b,_0x1c439c,_0x3f8248,_0x2dc658,0x4,_0x416101[0x28]),_0x3f8248=_0x5da838(_0x3f8248,_0x3dcbd0,_0x45a21b,_0x1c439c,_0x274dda,0xb,_0x416101[0x29]),_0x1c439c=_0x5da838(_0x1c439c,_0x3f8248,_0x3dcbd0,_0x45a21b,_0x164470,0x10,_0x416101[0x2a]),_0x45a21b=_0x5da838(_0x45a21b,_0x1c439c,_0x3f8248,_0x3dcbd0,_0x21a360,0x17,_0x416101[0x2b]),_0x3dcbd0=_0x5da838(_0x3dcbd0,_0x45a21b,_0x1c439c,_0x3f8248,_0x1b63e9,0x4,_0x416101[0x2c]),_0x3f8248=_0x5da838(_0x3f8248,_0x3dcbd0,_0x45a21b,_0x1c439c,_0x290ce9,0xb,_0x416101[0x2d]),_0x1c439c=_0x5da838(_0x1c439c,_0x3f8248,_0x3dcbd0,_0x45a21b,_0x92d98d,0x10,_0x416101[0x2e]),_0x45a21b=_0x5da838(_0x45a21b,_0x1c439c,_0x3f8248,_0x3dcbd0,_0x51228e,0x17,_0x416101[0x2f]),_0x3dcbd0=_0x557b82(_0x3dcbd0,_0x45a21b,_0x1c439c,_0x3f8248,_0x274dda,0x6,_0x416101[0x30]),_0x3f8248=_0x557b82(_0x3f8248,_0x3dcbd0,_0x45a21b,_0x1c439c,_0x325c09,0xa,_0x416101[0x31]),_0x1c439c=_0x557b82(_0x1c439c,_0x3f8248,_0x3dcbd0,_0x45a21b,_0x3bd1f2,0xf,_0x416101[0x32]),_0x45a21b=_0x557b82(_0x45a21b,_0x1c439c,_0x3f8248,_0x3dcbd0,_0x59cec3,0x15,_0x416101[0x33]),_0x3dcbd0=_0x557b82(_0x3dcbd0,_0x45a21b,_0x1c439c,_0x3f8248,_0x290ce9,0x6,_0x416101[0x34]),_0x3f8248=_0x557b82(_0x3f8248,_0x3dcbd0,_0x45a21b,_0x1c439c,_0x164470,0xa,_0x416101[0x35]),_0x1c439c=_0x557b82(_0x1c439c,_0x3f8248,_0x3dcbd0,_0x45a21b,_0x1b4574,0xf,_0x416101[0x36]),_0x45a21b=_0x557b82(_0x45a21b,_0x1c439c,_0x3f8248,_0x3dcbd0,_0x24889e,0x15,_0x416101[0x37]),_0x3dcbd0=_0x557b82(_0x3dcbd0,_0x45a21b,_0x1c439c,_0x3f8248,_0x29f3d4,0x6,_0x416101[0x38]),_0x3f8248=_0x557b82(_0x3f8248,_0x3dcbd0,_0x45a21b,_0x1c439c,_0x92d98d,0xa,_0x416101[0x39]),_0x1c439c=_0x557b82(_0x1c439c,_0x3f8248,_0x3dcbd0,_0x45a21b,_0x21a360,0xf,_0x416101[0x3a]),_0x45a21b=_0x557b82(_0x45a21b,_0x1c439c,_0x3f8248,_0x3dcbd0,_0x2dc658,0x15,_0x416101[0x3b]),_0x3dcbd0=_0x557b82(_0x3dcbd0,_0x45a21b,_0x1c439c,_0x3f8248,_0x56c2bc,0x6,_0x416101[0x3c]),_0x3f8248=_0x557b82(_0x3f8248,_0x3dcbd0,_0x45a21b,_0x1c439c,_0x1dd330,0xa,_0x416101[0x3d]),_0x1c439c=_0x557b82(_0x1c439c,_0x3f8248,_0x3dcbd0,_0x45a21b,_0x51228e,0xf,_0x416101[0x3e]),_0x45a21b=_0x557b82(_0x45a21b,_0x1c439c,_0x3f8248,_0x3dcbd0,_0x1b63e9,0x15,_0x416101[0x3f]),_0x647800[0x0]=_0x647800[0x0]+_0x3dcbd0|0x0,_0x647800[0x1]=_0x647800[0x1]+_0x45a21b|0x0,_0x647800[0x2]=_0x647800[0x2]+_0x1c439c|0x0,_0x647800[0x3]=_0x647800[0x3]+_0x3f8248|0x0;},'_doFinalize':function(){var _0x2bff1f=_0x17828e,_0x11c859=this[_0x2bff1f(0x348)],_0x27d10b=_0x11c859[_0x2bff1f(0x124)],_0x31147c=this[_0x2bff1f(0x305)]*0x8,_0x274a2d=_0x11c859[_0x2bff1f(0x3eb)]*0x8;_0x27d10b[_0x274a2d>>>0x5]|=0x80<<0x18-_0x274a2d%0x20;var _0x31ac30=_0x1b0199[_0x2bff1f(0x447)](_0x31147c/0x100000000),_0x132720=_0x31147c;_0x27d10b[(_0x274a2d+0x40>>>0x9<<0x4)+0xf]=(_0x31ac30<<0x8|_0x31ac30>>>0x18)&0xff00ff|(_0x31ac30<<0x18|_0x31ac30>>>0x8)&0xff00ff00,_0x27d10b[(_0x274a2d+0x40>>>0x9<<0x4)+0xe]=(_0x132720<<0x8|_0x132720>>>0x18)&0xff00ff|(_0x132720<<0x18|_0x132720>>>0x8)&0xff00ff00,_0x11c859[_0x2bff1f(0x3eb)]=(_0x27d10b[_0x2bff1f(0x27e)]+0x1)*0x4,this[_0x2bff1f(0x3c8)]();for(var _0x221963=this['_hash'],_0x17349d=_0x221963[_0x2bff1f(0x124)],_0x2eb2e6=0x0;_0x2eb2e6<0x4;_0x2eb2e6++){var _0x1a6391=_0x17349d[_0x2eb2e6];_0x17349d[_0x2eb2e6]=(_0x1a6391<<0x8|_0x1a6391>>>0x18)&0xff00ff|(_0x1a6391<<0x18|_0x1a6391>>>0x8)&0xff00ff00;}return _0x221963;},'clone':function(){var _0x2be4b2=_0x17828e,_0x18b920=_0x135090['clone'][_0x2be4b2(0x2a4)](this);return _0x18b920[_0x2be4b2(0x188)]=this[_0x2be4b2(0x188)][_0x2be4b2(0x2d0)](),_0x18b920;}});function _0x434504(_0x59f0ec,_0x1d363b,_0xd90bbf,_0x45e142,_0x53323e,_0x49cabe,_0x91fef2){var _0x3ef16f=_0x59f0ec+(_0x1d363b&_0xd90bbf|~_0x1d363b&_0x45e142)+_0x53323e+_0x91fef2;return(_0x3ef16f<<_0x49cabe|_0x3ef16f>>>0x20-_0x49cabe)+_0x1d363b;}function _0xd310f6(_0x3f7bec,_0x55543e,_0x25c3b7,_0x153af1,_0x18f8f4,_0x55458f,_0x1a20ed){var _0x52a2ca=_0x3f7bec+(_0x55543e&_0x153af1|_0x25c3b7&~_0x153af1)+_0x18f8f4+_0x1a20ed;return(_0x52a2ca<<_0x55458f|_0x52a2ca>>>0x20-_0x55458f)+_0x55543e;}function _0x5da838(_0x17e926,_0x31ff52,_0xb860c0,_0x475e00,_0x119095,_0x34408d,_0x576c21){var _0x35b090=_0x17e926+(_0x31ff52^_0xb860c0^_0x475e00)+_0x119095+_0x576c21;return(_0x35b090<<_0x34408d|_0x35b090>>>0x20-_0x34408d)+_0x31ff52;}function _0x557b82(_0x12d811,_0x57c3d4,_0x1d4bc2,_0x5e9c3c,_0x37a920,_0x463a8a,_0x4139b9){var _0xda09ec=_0x12d811+(_0x1d4bc2^(_0x57c3d4|~_0x5e9c3c))+_0x37a920+_0x4139b9;return(_0xda09ec<<_0x463a8a|_0xda09ec>>>0x20-_0x463a8a)+_0x57c3d4;}_0x4762a1[_0x17828e(0x258)]=_0x135090['_createHelper'](_0x5c501c),_0x4762a1[_0x17828e(0x11b)]=_0x135090[_0x17828e(0x1bf)](_0x5c501c);}(Math),_0x27efe4[_0x53b523(0x258)];}));}(me)),me[_0x2abbc2(0x22f)];}var Ie={'exports':{}},Ee={'exports':{}},ji=Ee['exports'],tt;function $i(){var _0x204aa1=_0x2e258d;return tt||(tt=0x1,function(_0x483ff7,_0x502272){(function(_0x1a30a1,_0x448b2f){var _0x4a4b3a=_0x3e55;_0x483ff7[_0x4a4b3a(0x22f)]=_0x448b2f(ee());}(ji,function(_0x25d5ad){var _0x1768ed=_0x3e55;return(function(){var _0x37aa13=_0x3e55,_0x2aeb5d=_0x25d5ad,_0x55ecf7=_0x2aeb5d['lib'],_0x338fed=_0x55ecf7[_0x37aa13(0x31c)],_0x1b8c81=_0x55ecf7[_0x37aa13(0x2b3)],_0x7faebd=_0x2aeb5d['algo'],_0x1f626e=[],_0x2923df=_0x7faebd[_0x37aa13(0x278)]=_0x1b8c81[_0x37aa13(0x379)]({'_doReset':function(){var _0x3f0538=_0x37aa13;this['_hash']=new _0x338fed[(_0x3f0538(0x231))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x312b95,_0x89cf5e){var _0x5c8640=_0x37aa13;for(var _0x18b738=this[_0x5c8640(0x188)][_0x5c8640(0x124)],_0x410c42=_0x18b738[0x0],_0x2cf60a=_0x18b738[0x1],_0x1f9600=_0x18b738[0x2],_0x42a60a=_0x18b738[0x3],_0xa10bd5=_0x18b738[0x4],_0x29bbf9=0x0;_0x29bbf9<0x50;_0x29bbf9++){if(_0x29bbf9<0x10)_0x1f626e[_0x29bbf9]=_0x312b95[_0x89cf5e+_0x29bbf9]|0x0;else{var _0x32e5f3=_0x1f626e[_0x29bbf9-0x3]^_0x1f626e[_0x29bbf9-0x8]^_0x1f626e[_0x29bbf9-0xe]^_0x1f626e[_0x29bbf9-0x10];_0x1f626e[_0x29bbf9]=_0x32e5f3<<0x1|_0x32e5f3>>>0x1f;}var _0x11c1a7=(_0x410c42<<0x5|_0x410c42>>>0x1b)+_0xa10bd5+_0x1f626e[_0x29bbf9];_0x29bbf9<0x14?_0x11c1a7+=(_0x2cf60a&_0x1f9600|~_0x2cf60a&_0x42a60a)+0x5a827999:_0x29bbf9<0x28?_0x11c1a7+=(_0x2cf60a^_0x1f9600^_0x42a60a)+0x6ed9eba1:_0x29bbf9<0x3c?_0x11c1a7+=(_0x2cf60a&_0x1f9600|_0x2cf60a&_0x42a60a|_0x1f9600&_0x42a60a)-0x70e44324:_0x11c1a7+=(_0x2cf60a^_0x1f9600^_0x42a60a)-0x359d3e2a,_0xa10bd5=_0x42a60a,_0x42a60a=_0x1f9600,_0x1f9600=_0x2cf60a<<0x1e|_0x2cf60a>>>0x2,_0x2cf60a=_0x410c42,_0x410c42=_0x11c1a7;}_0x18b738[0x0]=_0x18b738[0x0]+_0x410c42|0x0,_0x18b738[0x1]=_0x18b738[0x1]+_0x2cf60a|0x0,_0x18b738[0x2]=_0x18b738[0x2]+_0x1f9600|0x0,_0x18b738[0x3]=_0x18b738[0x3]+_0x42a60a|0x0,_0x18b738[0x4]=_0x18b738[0x4]+_0xa10bd5|0x0;},'_doFinalize':function(){var _0x1353c5=_0x37aa13,_0x5aded8=this[_0x1353c5(0x348)],_0x35d7b6=_0x5aded8[_0x1353c5(0x124)],_0x454aad=this[_0x1353c5(0x305)]*0x8,_0x195d98=_0x5aded8['sigBytes']*0x8;return _0x35d7b6[_0x195d98>>>0x5]|=0x80<<0x18-_0x195d98%0x20,_0x35d7b6[(_0x195d98+0x40>>>0x9<<0x4)+0xe]=Math[_0x1353c5(0x447)](_0x454aad/0x100000000),_0x35d7b6[(_0x195d98+0x40>>>0x9<<0x4)+0xf]=_0x454aad,_0x5aded8[_0x1353c5(0x3eb)]=_0x35d7b6['length']*0x4,this[_0x1353c5(0x3c8)](),this[_0x1353c5(0x188)];},'clone':function(){var _0x23644a=_0x37aa13,_0x2a0e23=_0x1b8c81[_0x23644a(0x2d0)][_0x23644a(0x2a4)](this);return _0x2a0e23[_0x23644a(0x188)]=this[_0x23644a(0x188)][_0x23644a(0x2d0)](),_0x2a0e23;}});_0x2aeb5d[_0x37aa13(0x278)]=_0x1b8c81['_createHelper'](_0x2923df),_0x2aeb5d['HmacSHA1']=_0x1b8c81[_0x37aa13(0x1bf)](_0x2923df);}()),_0x25d5ad[_0x1768ed(0x278)];}));}(Ee)),Ee[_0x204aa1(0x22f)];}var Ce={'exports':{}},Bi=Ce['exports'],it;function Fi(){return it||(it=0x1,function(_0x3c45e3,_0x36cd1d){(function(_0x75fc11,_0x3e3a63){var _0x269fd1=_0x3e55;_0x3c45e3[_0x269fd1(0x22f)]=_0x3e3a63(ee());}(Bi,function(_0x12b6f9){(function(){var _0x4c5d06=_0x3e55,_0x3ce145=_0x12b6f9,_0x256e3d=_0x3ce145[_0x4c5d06(0x404)],_0x183f30=_0x256e3d['Base'],_0x210aea=_0x3ce145[_0x4c5d06(0x1ba)],_0x39fe7f=_0x210aea[_0x4c5d06(0x1c1)],_0x177fbd=_0x3ce145[_0x4c5d06(0x3d7)];_0x177fbd[_0x4c5d06(0x1c2)]=_0x183f30['extend']({'init':function(_0xab600b,_0x19c157){var _0x30fbf5=_0x4c5d06;_0xab600b=this['_hasher']=new _0xab600b[(_0x30fbf5(0x231))](),typeof _0x19c157==_0x30fbf5(0x425)&&(_0x19c157=_0x39fe7f['parse'](_0x19c157));var _0xe118aa=_0xab600b[_0x30fbf5(0x1c8)],_0x1b610f=_0xe118aa*0x4;_0x19c157[_0x30fbf5(0x3eb)]>_0x1b610f&&(_0x19c157=_0xab600b['finalize'](_0x19c157)),_0x19c157[_0x30fbf5(0x375)]();for(var _0x136858=this['_oKey']=_0x19c157[_0x30fbf5(0x2d0)](),_0x7916f9=this[_0x30fbf5(0x3ba)]=_0x19c157[_0x30fbf5(0x2d0)](),_0x1189d1=_0x136858[_0x30fbf5(0x124)],_0x2fd27d=_0x7916f9[_0x30fbf5(0x124)],_0x2e5736=0x0;_0x2e5736<_0xe118aa;_0x2e5736++)_0x1189d1[_0x2e5736]^=0x5c5c5c5c,_0x2fd27d[_0x2e5736]^=0x36363636;_0x136858['sigBytes']=_0x7916f9[_0x30fbf5(0x3eb)]=_0x1b610f,this['reset']();},'reset':function(){var _0x37833b=_0x4c5d06,_0x5f2c1b=this[_0x37833b(0x1c6)];_0x5f2c1b['reset'](),_0x5f2c1b['update'](this[_0x37833b(0x3ba)]);},'update':function(_0x498658){var _0x88eb38=_0x4c5d06;return this[_0x88eb38(0x1c6)][_0x88eb38(0x156)](_0x498658),this;},'finalize':function(_0x454540){var _0x14335e=_0x4c5d06,_0x88b6c1=this[_0x14335e(0x1c6)],_0x1818d5=_0x88b6c1[_0x14335e(0x3b3)](_0x454540);_0x88b6c1[_0x14335e(0x37e)]();var _0x273938=_0x88b6c1[_0x14335e(0x3b3)](this[_0x14335e(0x2f8)][_0x14335e(0x2d0)]()[_0x14335e(0x143)](_0x1818d5));return _0x273938;}});}());}));}(Ce)),Ce['exports'];}var Wi=Ie[_0x2e258d(0x22f)],nt;function Pt(){return nt||(nt=0x1,function(_0x45f93d,_0x17fd01){(function(_0x4fdc79,_0x30e883,_0x37ee4f){var _0x367fdb=_0x3e55;_0x45f93d[_0x367fdb(0x22f)]=_0x30e883(ee(),$i(),Fi());}(Wi,function(_0x4cb211){var _0x3866ca=_0x3e55;return(function(){var _0x3d77ba=_0x3e55,_0x58514b=_0x4cb211,_0x471a95=_0x58514b[_0x3d77ba(0x404)],_0x29be8b=_0x471a95[_0x3d77ba(0x2bd)],_0x221b8a=_0x471a95[_0x3d77ba(0x31c)],_0x102085=_0x58514b['algo'],_0xe48d62=_0x102085['MD5'],_0x2b0496=_0x102085[_0x3d77ba(0x400)]=_0x29be8b['extend']({'cfg':_0x29be8b[_0x3d77ba(0x379)]({'keySize':0x80/0x20,'hasher':_0xe48d62,'iterations':0x1}),'init':function(_0xcd0759){var _0x239e8f=_0x3d77ba;this['cfg']=this[_0x239e8f(0x3d6)][_0x239e8f(0x379)](_0xcd0759);},'compute':function(_0x45c873,_0x3d63c0){var _0x203786=_0x3d77ba;for(var _0x3b8bd0,_0x86dfa8=this[_0x203786(0x3d6)],_0x3ae080=_0x86dfa8[_0x203786(0x312)][_0x203786(0x28a)](),_0x10dba2=_0x221b8a[_0x203786(0x28a)](),_0x114f99=_0x10dba2[_0x203786(0x124)],_0x52c9d5=_0x86dfa8[_0x203786(0x166)],_0x211dfa=_0x86dfa8[_0x203786(0x149)];_0x114f99[_0x203786(0x27e)]<_0x52c9d5;){_0x3b8bd0&&_0x3ae080[_0x203786(0x156)](_0x3b8bd0),_0x3b8bd0=_0x3ae080[_0x203786(0x156)](_0x45c873)[_0x203786(0x3b3)](_0x3d63c0),_0x3ae080['reset']();for(var _0x39d485=0x1;_0x39d485<_0x211dfa;_0x39d485++)_0x3b8bd0=_0x3ae080['finalize'](_0x3b8bd0),_0x3ae080[_0x203786(0x37e)]();_0x10dba2['concat'](_0x3b8bd0);}return _0x10dba2[_0x203786(0x3eb)]=_0x52c9d5*0x4,_0x10dba2;}});_0x58514b[_0x3d77ba(0x400)]=function(_0x509fca,_0x39a409,_0x3ba941){var _0x5c8d97=_0x3d77ba;return _0x2b0496[_0x5c8d97(0x28a)](_0x3ba941)[_0x5c8d97(0x386)](_0x509fca,_0x39a409);};}()),_0x4cb211[_0x3866ca(0x400)];}));}(Ie)),Ie['exports'];}var Te={'exports':{}},Gi=Te[_0x2e258d(0x22f)],rt;function At(){var _0x370658=_0x2e258d;return rt||(rt=0x1,function(_0x2705f9,_0x16882d){(function(_0x27c85e,_0x252676,_0x218589){var _0xc4507a=_0x3e55;_0x2705f9[_0xc4507a(0x22f)]=_0x252676(ee(),Pt());}(Gi,function(_0x45497e){var _0x550c37=_0x3e55;_0x45497e[_0x550c37(0x404)][_0x550c37(0x341)]||function(_0x5ec179){var _0x586d8f=_0x550c37,_0x3792e7=_0x45497e,_0x11ec6e=_0x3792e7[_0x586d8f(0x404)],_0x566003=_0x11ec6e[_0x586d8f(0x2bd)],_0x3d16c=_0x11ec6e['WordArray'],_0x2be504=_0x11ec6e[_0x586d8f(0x3fc)],_0x4548f5=_0x3792e7[_0x586d8f(0x1ba)];_0x4548f5['Utf8'];var _0x56413d=_0x4548f5[_0x586d8f(0x381)],_0x5078e5=_0x3792e7[_0x586d8f(0x3d7)],_0x253bdf=_0x5078e5[_0x586d8f(0x400)],_0x118d1b=_0x11ec6e['Cipher']=_0x2be504[_0x586d8f(0x379)]({'cfg':_0x566003[_0x586d8f(0x379)](),'createEncryptor':function(_0x2f9adb,_0x5636a3){var _0x2301a3=_0x586d8f;return this[_0x2301a3(0x28a)](this[_0x2301a3(0x284)],_0x2f9adb,_0x5636a3);},'createDecryptor':function(_0x1b0a05,_0x277f1e){var _0x40c883=_0x586d8f;return this['create'](this[_0x40c883(0x2ab)],_0x1b0a05,_0x277f1e);},'init':function(_0x50c846,_0x3d42e0,_0x44c9a0){var _0x25e5c1=_0x586d8f;this[_0x25e5c1(0x3d6)]=this[_0x25e5c1(0x3d6)]['extend'](_0x44c9a0),this[_0x25e5c1(0x363)]=_0x50c846,this[_0x25e5c1(0x3bf)]=_0x3d42e0,this[_0x25e5c1(0x37e)]();},'reset':function(){var _0x2ab9a0=_0x586d8f;_0x2be504[_0x2ab9a0(0x37e)]['call'](this),this[_0x2ab9a0(0x19e)]();},'process':function(_0x51c551){var _0x139a6d=_0x586d8f;return this['_append'](_0x51c551),this[_0x139a6d(0x3c8)]();},'finalize':function(_0x4301bb){var _0xcffc71=_0x586d8f;_0x4301bb&&this['_append'](_0x4301bb);var _0xab225d=this[_0xcffc71(0x30a)]();return _0xab225d;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x3b895a(_0x345f7d){var _0x54c51b=_0x3e55;return typeof _0x345f7d==_0x54c51b(0x425)?_0x4711af:_0x44e956;}return function(_0x51f1b0){return{'encrypt':function(_0x500189,_0x6c4f17,_0x1bd410){var _0x5650a1=_0x3e55;return _0x3b895a(_0x6c4f17)[_0x5650a1(0x18e)](_0x51f1b0,_0x500189,_0x6c4f17,_0x1bd410);},'decrypt':function(_0x50e2e5,_0x35cd9,_0x159880){var _0x456dac=_0x3e55;return _0x3b895a(_0x35cd9)[_0x456dac(0x117)](_0x51f1b0,_0x50e2e5,_0x35cd9,_0x159880);}};};}())});_0x11ec6e[_0x586d8f(0x3a7)]=_0x118d1b['extend']({'_doFinalize':function(){var _0x285461=_0x586d8f,_0x1c2d08=this[_0x285461(0x3c8)](!0x0);return _0x1c2d08;},'blockSize':0x1});var _0x49a641=_0x3792e7[_0x586d8f(0x29d)]={},_0x43657a=_0x11ec6e[_0x586d8f(0x441)]=_0x566003[_0x586d8f(0x379)]({'createEncryptor':function(_0x1d7c98,_0x342e96){var _0x276dd9=_0x586d8f;return this[_0x276dd9(0x438)]['create'](_0x1d7c98,_0x342e96);},'createDecryptor':function(_0x20215a,_0x131c67){var _0x1e2160=_0x586d8f;return this[_0x1e2160(0x303)][_0x1e2160(0x28a)](_0x20215a,_0x131c67);},'init':function(_0xca6d08,_0xf7f0db){var _0x41d31f=_0x586d8f;this[_0x41d31f(0x2b5)]=_0xca6d08,this[_0x41d31f(0x35f)]=_0xf7f0db;}}),_0x332fb3=_0x49a641['CBC']=(function(){var _0x508d27=_0x586d8f,_0xc4f63=_0x43657a['extend']();_0xc4f63['Encryptor']=_0xc4f63['extend']({'processBlock':function(_0x40a6e2,_0x1ba802){var _0x4afe30=_0x3e55,_0x3bcd38=this['_cipher'],_0x361b8e=_0x3bcd38['blockSize'];_0x1fb562['call'](this,_0x40a6e2,_0x1ba802,_0x361b8e),_0x3bcd38[_0x4afe30(0x11f)](_0x40a6e2,_0x1ba802),this['_prevBlock']=_0x40a6e2['slice'](_0x1ba802,_0x1ba802+_0x361b8e);}}),_0xc4f63[_0x508d27(0x303)]=_0xc4f63['extend']({'processBlock':function(_0x242cd5,_0x179a70){var _0x2338d7=_0x508d27,_0x377fa0=this['_cipher'],_0x4579e6=_0x377fa0[_0x2338d7(0x1c8)],_0x13e0ac=_0x242cd5[_0x2338d7(0x455)](_0x179a70,_0x179a70+_0x4579e6);_0x377fa0[_0x2338d7(0x215)](_0x242cd5,_0x179a70),_0x1fb562[_0x2338d7(0x2a4)](this,_0x242cd5,_0x179a70,_0x4579e6),this[_0x2338d7(0x36a)]=_0x13e0ac;}});function _0x1fb562(_0x70aa71,_0x3d705b,_0x41d9da){var _0x3c0c79=_0x508d27,_0x6a0721,_0x2b7a02=this['_iv'];_0x2b7a02?(_0x6a0721=_0x2b7a02,this[_0x3c0c79(0x35f)]=_0x5ec179):_0x6a0721=this['_prevBlock'];for(var _0x3ae311=0x0;_0x3ae311<_0x41d9da;_0x3ae311++)_0x70aa71[_0x3d705b+_0x3ae311]^=_0x6a0721[_0x3ae311];}return _0xc4f63;}()),_0x419719=_0x3792e7[_0x586d8f(0x2be)]={},_0x345ef4=_0x419719['Pkcs7']={'pad':function(_0x52af9b,_0x3f043e){var _0x518f8c=_0x586d8f;for(var _0x5d182a=_0x3f043e*0x4,_0x21133b=_0x5d182a-_0x52af9b[_0x518f8c(0x3eb)]%_0x5d182a,_0x1701d9=_0x21133b<<0x18|_0x21133b<<0x10|_0x21133b<<0x8|_0x21133b,_0x258a1d=[],_0x494ac4=0x0;_0x494ac4<_0x21133b;_0x494ac4+=0x4)_0x258a1d[_0x518f8c(0x293)](_0x1701d9);var _0x914fd1=_0x3d16c['create'](_0x258a1d,_0x21133b);_0x52af9b[_0x518f8c(0x143)](_0x914fd1);},'unpad':function(_0x3f000a){var _0x3f583a=_0x586d8f,_0xea0f7e=_0x3f000a[_0x3f583a(0x124)][_0x3f000a['sigBytes']-0x1>>>0x2]&0xff;_0x3f000a[_0x3f583a(0x3eb)]-=_0xea0f7e;}};_0x11ec6e[_0x586d8f(0x3ad)]=_0x118d1b['extend']({'cfg':_0x118d1b[_0x586d8f(0x3d6)][_0x586d8f(0x379)]({'mode':_0x332fb3,'padding':_0x345ef4}),'reset':function(){var _0x4f7882=_0x586d8f,_0x19932e;_0x118d1b[_0x4f7882(0x37e)][_0x4f7882(0x2a4)](this);var _0x4c2236=this[_0x4f7882(0x3d6)],_0x2c1729=_0x4c2236['iv'],_0x38d3d5=_0x4c2236[_0x4f7882(0x29d)];this[_0x4f7882(0x363)]==this[_0x4f7882(0x284)]?_0x19932e=_0x38d3d5[_0x4f7882(0x3c1)]:(_0x19932e=_0x38d3d5[_0x4f7882(0x17a)],this[_0x4f7882(0x334)]=0x1),this[_0x4f7882(0x2ba)]&&this[_0x4f7882(0x2ba)][_0x4f7882(0x112)]==_0x19932e?this[_0x4f7882(0x2ba)][_0x4f7882(0x231)](this,_0x2c1729&&_0x2c1729['words']):(this['_mode']=_0x19932e['call'](_0x38d3d5,this,_0x2c1729&&_0x2c1729[_0x4f7882(0x124)]),this['_mode'][_0x4f7882(0x112)]=_0x19932e);},'_doProcessBlock':function(_0x557d81,_0x4f4ff0){var _0x49681f=_0x586d8f;this['_mode'][_0x49681f(0x1e1)](_0x557d81,_0x4f4ff0);},'_doFinalize':function(){var _0x7916e7=_0x586d8f,_0x4619fb,_0x35532e=this[_0x7916e7(0x3d6)][_0x7916e7(0x332)];return this[_0x7916e7(0x363)]==this[_0x7916e7(0x284)]?(_0x35532e[_0x7916e7(0x2be)](this[_0x7916e7(0x348)],this[_0x7916e7(0x1c8)]),_0x4619fb=this[_0x7916e7(0x3c8)](!0x0)):(_0x4619fb=this[_0x7916e7(0x3c8)](!0x0),_0x35532e['unpad'](_0x4619fb)),_0x4619fb;},'blockSize':0x80/0x20});var _0x3cab4b=_0x11ec6e['CipherParams']=_0x566003[_0x586d8f(0x379)]({'init':function(_0x57e54b){var _0x37afba=_0x586d8f;this[_0x37afba(0x361)](_0x57e54b);},'toString':function(_0x5eafa2){var _0x58ce36=_0x586d8f;return(_0x5eafa2||this[_0x58ce36(0x357)])['stringify'](this);}}),_0x5dc23b=_0x3792e7[_0x586d8f(0x2ad)]={},_0x2dfde5=_0x5dc23b[_0x586d8f(0x2f0)]={'stringify':function(_0x5d16bd){var _0x3e3126=_0x586d8f,_0xf6dc5e,_0x2d01d5=_0x5d16bd['ciphertext'],_0x3d127c=_0x5d16bd[_0x3e3126(0x240)];return _0x3d127c?_0xf6dc5e=_0x3d16c[_0x3e3126(0x28a)]([0x53616c74,0x65645f5f])[_0x3e3126(0x143)](_0x3d127c)[_0x3e3126(0x143)](_0x2d01d5):_0xf6dc5e=_0x2d01d5,_0xf6dc5e[_0x3e3126(0x30c)](_0x56413d);},'parse':function(_0x285d18){var _0x49a6d9=_0x586d8f,_0x531989,_0x19363e=_0x56413d[_0x49a6d9(0x1fe)](_0x285d18),_0x1bb899=_0x19363e['words'];return _0x1bb899[0x0]==0x53616c74&&_0x1bb899[0x1]==0x65645f5f&&(_0x531989=_0x3d16c[_0x49a6d9(0x28a)](_0x1bb899[_0x49a6d9(0x455)](0x2,0x4)),_0x1bb899[_0x49a6d9(0x38d)](0x0,0x4),_0x19363e[_0x49a6d9(0x3eb)]-=0x10),_0x3cab4b[_0x49a6d9(0x28a)]({'ciphertext':_0x19363e,'salt':_0x531989});}},_0x44e956=_0x11ec6e[_0x586d8f(0x44e)]=_0x566003[_0x586d8f(0x379)]({'cfg':_0x566003[_0x586d8f(0x379)]({'format':_0x2dfde5}),'encrypt':function(_0x3db20d,_0x1b23a9,_0x550f98,_0x223903){var _0x43b412=_0x586d8f;_0x223903=this[_0x43b412(0x3d6)][_0x43b412(0x379)](_0x223903);var _0x425b04=_0x3db20d[_0x43b412(0x3c1)](_0x550f98,_0x223903),_0x24279e=_0x425b04['finalize'](_0x1b23a9),_0x5e454d=_0x425b04[_0x43b412(0x3d6)];return _0x3cab4b[_0x43b412(0x28a)]({'ciphertext':_0x24279e,'key':_0x550f98,'iv':_0x5e454d['iv'],'algorithm':_0x3db20d,'mode':_0x5e454d[_0x43b412(0x29d)],'padding':_0x5e454d[_0x43b412(0x332)],'blockSize':_0x3db20d[_0x43b412(0x1c8)],'formatter':_0x223903[_0x43b412(0x2ad)]});},'decrypt':function(_0x55222a,_0x5ba6a7,_0x4f30ce,_0x214662){var _0x24cbd4=_0x586d8f;_0x214662=this[_0x24cbd4(0x3d6)][_0x24cbd4(0x379)](_0x214662),_0x5ba6a7=this['_parse'](_0x5ba6a7,_0x214662[_0x24cbd4(0x2ad)]);var _0x359e6f=_0x55222a[_0x24cbd4(0x17a)](_0x4f30ce,_0x214662)[_0x24cbd4(0x3b3)](_0x5ba6a7[_0x24cbd4(0x1c5)]);return _0x359e6f;},'_parse':function(_0x573cf0,_0x20bfc4){var _0x304bce=_0x586d8f;return typeof _0x573cf0==_0x304bce(0x425)?_0x20bfc4[_0x304bce(0x1fe)](_0x573cf0,this):_0x573cf0;}}),_0x5dd5ea=_0x3792e7[_0x586d8f(0x346)]={},_0x29e8fb=_0x5dd5ea['OpenSSL']={'execute':function(_0x25da8f,_0x2c484b,_0x4f60b8,_0x543f2b,_0x5a5ffa){var _0x5dd9f2=_0x586d8f;if(_0x543f2b||(_0x543f2b=_0x3d16c[_0x5dd9f2(0x222)](0x40/0x8)),_0x5a5ffa)var _0x179d93=_0x253bdf[_0x5dd9f2(0x28a)]({'keySize':_0x2c484b+_0x4f60b8,'hasher':_0x5a5ffa})[_0x5dd9f2(0x386)](_0x25da8f,_0x543f2b);else var _0x179d93=_0x253bdf[_0x5dd9f2(0x28a)]({'keySize':_0x2c484b+_0x4f60b8})[_0x5dd9f2(0x386)](_0x25da8f,_0x543f2b);var _0x59bbaa=_0x3d16c[_0x5dd9f2(0x28a)](_0x179d93[_0x5dd9f2(0x124)][_0x5dd9f2(0x455)](_0x2c484b),_0x4f60b8*0x4);return _0x179d93[_0x5dd9f2(0x3eb)]=_0x2c484b*0x4,_0x3cab4b['create']({'key':_0x179d93,'iv':_0x59bbaa,'salt':_0x543f2b});}},_0x4711af=_0x11ec6e['PasswordBasedCipher']=_0x44e956[_0x586d8f(0x379)]({'cfg':_0x44e956[_0x586d8f(0x3d6)]['extend']({'kdf':_0x29e8fb}),'encrypt':function(_0xf15e36,_0x2e0ba3,_0x188901,_0x33e97f){var _0x2bc8f4=_0x586d8f;_0x33e97f=this['cfg']['extend'](_0x33e97f);var _0x1415fa=_0x33e97f[_0x2bc8f4(0x346)][_0x2bc8f4(0x21d)](_0x188901,_0xf15e36['keySize'],_0xf15e36['ivSize'],_0x33e97f[_0x2bc8f4(0x240)],_0x33e97f[_0x2bc8f4(0x312)]);_0x33e97f['iv']=_0x1415fa['iv'];var _0x31dd80=_0x44e956[_0x2bc8f4(0x18e)]['call'](this,_0xf15e36,_0x2e0ba3,_0x1415fa[_0x2bc8f4(0x28d)],_0x33e97f);return _0x31dd80[_0x2bc8f4(0x361)](_0x1415fa),_0x31dd80;},'decrypt':function(_0x46b5b0,_0x1969b3,_0x40f7aa,_0x1ea581){var _0x43e5a0=_0x586d8f;_0x1ea581=this[_0x43e5a0(0x3d6)]['extend'](_0x1ea581),_0x1969b3=this[_0x43e5a0(0x234)](_0x1969b3,_0x1ea581[_0x43e5a0(0x2ad)]);var _0x5df1aa=_0x1ea581[_0x43e5a0(0x346)][_0x43e5a0(0x21d)](_0x40f7aa,_0x46b5b0[_0x43e5a0(0x166)],_0x46b5b0[_0x43e5a0(0x24c)],_0x1969b3[_0x43e5a0(0x240)],_0x1ea581[_0x43e5a0(0x312)]);_0x1ea581['iv']=_0x5df1aa['iv'];var _0x1a8e0e=_0x44e956[_0x43e5a0(0x117)][_0x43e5a0(0x2a4)](this,_0x46b5b0,_0x1969b3,_0x5df1aa[_0x43e5a0(0x28d)],_0x1ea581);return _0x1a8e0e;}});}();}));}(Te)),Te[_0x370658(0x22f)];}var Vi=fe[_0x2e258d(0x22f)],st;function Ki(){return st||(st=0x1,function(_0x5de2e2,_0x24bb29){(function(_0x52cfe2,_0x1f30c9,_0x376cff){var _0x5486cc=_0x3e55;_0x5de2e2[_0x5486cc(0x22f)]=_0x1f30c9(ee(),Ut(),Hi(),Pt(),At());}(Vi,function(_0x3c784d){return(function(){var _0x18cbba=_0x3e55,_0x3428dc=_0x3c784d,_0x29b521=_0x3428dc[_0x18cbba(0x404)],_0x967e1d=_0x29b521['BlockCipher'],_0x1c0b93=_0x3428dc[_0x18cbba(0x3d7)],_0x12b781=[],_0x5128e4=[],_0x121a68=[],_0x325fe1=[],_0x4a2a98=[],_0x364f2b=[],_0x5d3ea6=[],_0x57c7fb=[],_0x36d128=[],_0x4c17ca=[];(function(){for(var _0x19f431=[],_0x548b85=0x0;_0x548b85<0x100;_0x548b85++)_0x548b85<0x80?_0x19f431[_0x548b85]=_0x548b85<<0x1:_0x19f431[_0x548b85]=_0x548b85<<0x1^0x11b;for(var _0x5d1897=0x0,_0x554ee1=0x0,_0x548b85=0x0;_0x548b85<0x100;_0x548b85++){var _0x13159e=_0x554ee1^_0x554ee1<<0x1^_0x554ee1<<0x2^_0x554ee1<<0x3^_0x554ee1<<0x4;_0x13159e=_0x13159e>>>0x8^_0x13159e&0xff^0x63,_0x12b781[_0x5d1897]=_0x13159e,_0x5128e4[_0x13159e]=_0x5d1897;var _0x5d8adb=_0x19f431[_0x5d1897],_0x231667=_0x19f431[_0x5d8adb],_0x50b050=_0x19f431[_0x231667],_0x29b2c4=_0x19f431[_0x13159e]*0x101^_0x13159e*0x1010100;_0x121a68[_0x5d1897]=_0x29b2c4<<0x18|_0x29b2c4>>>0x8,_0x325fe1[_0x5d1897]=_0x29b2c4<<0x10|_0x29b2c4>>>0x10,_0x4a2a98[_0x5d1897]=_0x29b2c4<<0x8|_0x29b2c4>>>0x18,_0x364f2b[_0x5d1897]=_0x29b2c4;var _0x29b2c4=_0x50b050*0x1010101^_0x231667*0x10001^_0x5d8adb*0x101^_0x5d1897*0x1010100;_0x5d3ea6[_0x13159e]=_0x29b2c4<<0x18|_0x29b2c4>>>0x8,_0x57c7fb[_0x13159e]=_0x29b2c4<<0x10|_0x29b2c4>>>0x10,_0x36d128[_0x13159e]=_0x29b2c4<<0x8|_0x29b2c4>>>0x18,_0x4c17ca[_0x13159e]=_0x29b2c4,_0x5d1897?(_0x5d1897=_0x5d8adb^_0x19f431[_0x19f431[_0x19f431[_0x50b050^_0x5d8adb]]],_0x554ee1^=_0x19f431[_0x19f431[_0x554ee1]]):_0x5d1897=_0x554ee1=0x1;}}());var _0x2a7b6b=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x4cd13d=_0x1c0b93[_0x18cbba(0x351)]=_0x967e1d[_0x18cbba(0x379)]({'_doReset':function(){var _0x2231ad=_0x18cbba,_0x90b683;if(!(this[_0x2231ad(0x314)]&&this[_0x2231ad(0x319)]===this[_0x2231ad(0x3bf)])){for(var _0x36aad5=this[_0x2231ad(0x319)]=this[_0x2231ad(0x3bf)],_0x5825b4=_0x36aad5[_0x2231ad(0x124)],_0x1069aa=_0x36aad5[_0x2231ad(0x3eb)]/0x4,_0x3b01cd=this['_nRounds']=_0x1069aa+0x6,_0x1192f6=(_0x3b01cd+0x1)*0x4,_0x49e5bf=this[_0x2231ad(0x41b)]=[],_0x2d52c1=0x0;_0x2d52c1<_0x1192f6;_0x2d52c1++)_0x2d52c1<_0x1069aa?_0x49e5bf[_0x2d52c1]=_0x5825b4[_0x2d52c1]:(_0x90b683=_0x49e5bf[_0x2d52c1-0x1],_0x2d52c1%_0x1069aa?_0x1069aa>0x6&&_0x2d52c1%_0x1069aa==0x4&&(_0x90b683=_0x12b781[_0x90b683>>>0x18]<<0x18|_0x12b781[_0x90b683>>>0x10&0xff]<<0x10|_0x12b781[_0x90b683>>>0x8&0xff]<<0x8|_0x12b781[_0x90b683&0xff]):(_0x90b683=_0x90b683<<0x8|_0x90b683>>>0x18,_0x90b683=_0x12b781[_0x90b683>>>0x18]<<0x18|_0x12b781[_0x90b683>>>0x10&0xff]<<0x10|_0x12b781[_0x90b683>>>0x8&0xff]<<0x8|_0x12b781[_0x90b683&0xff],_0x90b683^=_0x2a7b6b[_0x2d52c1/_0x1069aa|0x0]<<0x18),_0x49e5bf[_0x2d52c1]=_0x49e5bf[_0x2d52c1-_0x1069aa]^_0x90b683);for(var _0x4d6245=this[_0x2231ad(0x227)]=[],_0x4d55e4=0x0;_0x4d55e4<_0x1192f6;_0x4d55e4++){var _0x2d52c1=_0x1192f6-_0x4d55e4;if(_0x4d55e4%0x4)var _0x90b683=_0x49e5bf[_0x2d52c1];else var _0x90b683=_0x49e5bf[_0x2d52c1-0x4];_0x4d55e4<0x4||_0x2d52c1<=0x4?_0x4d6245[_0x4d55e4]=_0x90b683:_0x4d6245[_0x4d55e4]=_0x5d3ea6[_0x12b781[_0x90b683>>>0x18]]^_0x57c7fb[_0x12b781[_0x90b683>>>0x10&0xff]]^_0x36d128[_0x12b781[_0x90b683>>>0x8&0xff]]^_0x4c17ca[_0x12b781[_0x90b683&0xff]];}}},'encryptBlock':function(_0x3d5508,_0x3e2f78){var _0x57f279=_0x18cbba;this[_0x57f279(0x19b)](_0x3d5508,_0x3e2f78,this[_0x57f279(0x41b)],_0x121a68,_0x325fe1,_0x4a2a98,_0x364f2b,_0x12b781);},'decryptBlock':function(_0x197d37,_0x2d38e6){var _0x555f8a=_0x18cbba,_0x336848=_0x197d37[_0x2d38e6+0x1];_0x197d37[_0x2d38e6+0x1]=_0x197d37[_0x2d38e6+0x3],_0x197d37[_0x2d38e6+0x3]=_0x336848,this[_0x555f8a(0x19b)](_0x197d37,_0x2d38e6,this[_0x555f8a(0x227)],_0x5d3ea6,_0x57c7fb,_0x36d128,_0x4c17ca,_0x5128e4);var _0x336848=_0x197d37[_0x2d38e6+0x1];_0x197d37[_0x2d38e6+0x1]=_0x197d37[_0x2d38e6+0x3],_0x197d37[_0x2d38e6+0x3]=_0x336848;},'_doCryptBlock':function(_0x5794b1,_0x10c87c,_0x230e69,_0x183adc,_0x4bf517,_0x3cf7b4,_0x1db022,_0x30967e){var _0x37edf2=_0x18cbba;for(var _0x54b5c=this[_0x37edf2(0x314)],_0x38e24b=_0x5794b1[_0x10c87c]^_0x230e69[0x0],_0xeca403=_0x5794b1[_0x10c87c+0x1]^_0x230e69[0x1],_0x928efb=_0x5794b1[_0x10c87c+0x2]^_0x230e69[0x2],_0x24bc2f=_0x5794b1[_0x10c87c+0x3]^_0x230e69[0x3],_0xa889b9=0x4,_0x3c3144=0x1;_0x3c3144<_0x54b5c;_0x3c3144++){var _0xae70c=_0x183adc[_0x38e24b>>>0x18]^_0x4bf517[_0xeca403>>>0x10&0xff]^_0x3cf7b4[_0x928efb>>>0x8&0xff]^_0x1db022[_0x24bc2f&0xff]^_0x230e69[_0xa889b9++],_0x1c5f31=_0x183adc[_0xeca403>>>0x18]^_0x4bf517[_0x928efb>>>0x10&0xff]^_0x3cf7b4[_0x24bc2f>>>0x8&0xff]^_0x1db022[_0x38e24b&0xff]^_0x230e69[_0xa889b9++],_0x41af18=_0x183adc[_0x928efb>>>0x18]^_0x4bf517[_0x24bc2f>>>0x10&0xff]^_0x3cf7b4[_0x38e24b>>>0x8&0xff]^_0x1db022[_0xeca403&0xff]^_0x230e69[_0xa889b9++],_0x79a947=_0x183adc[_0x24bc2f>>>0x18]^_0x4bf517[_0x38e24b>>>0x10&0xff]^_0x3cf7b4[_0xeca403>>>0x8&0xff]^_0x1db022[_0x928efb&0xff]^_0x230e69[_0xa889b9++];_0x38e24b=_0xae70c,_0xeca403=_0x1c5f31,_0x928efb=_0x41af18,_0x24bc2f=_0x79a947;}var _0xae70c=(_0x30967e[_0x38e24b>>>0x18]<<0x18|_0x30967e[_0xeca403>>>0x10&0xff]<<0x10|_0x30967e[_0x928efb>>>0x8&0xff]<<0x8|_0x30967e[_0x24bc2f&0xff])^_0x230e69[_0xa889b9++],_0x1c5f31=(_0x30967e[_0xeca403>>>0x18]<<0x18|_0x30967e[_0x928efb>>>0x10&0xff]<<0x10|_0x30967e[_0x24bc2f>>>0x8&0xff]<<0x8|_0x30967e[_0x38e24b&0xff])^_0x230e69[_0xa889b9++],_0x41af18=(_0x30967e[_0x928efb>>>0x18]<<0x18|_0x30967e[_0x24bc2f>>>0x10&0xff]<<0x10|_0x30967e[_0x38e24b>>>0x8&0xff]<<0x8|_0x30967e[_0xeca403&0xff])^_0x230e69[_0xa889b9++],_0x79a947=(_0x30967e[_0x24bc2f>>>0x18]<<0x18|_0x30967e[_0x38e24b>>>0x10&0xff]<<0x10|_0x30967e[_0xeca403>>>0x8&0xff]<<0x8|_0x30967e[_0x928efb&0xff])^_0x230e69[_0xa889b9++];_0x5794b1[_0x10c87c]=_0xae70c,_0x5794b1[_0x10c87c+0x1]=_0x1c5f31,_0x5794b1[_0x10c87c+0x2]=_0x41af18,_0x5794b1[_0x10c87c+0x3]=_0x79a947;},'keySize':0x100/0x20});_0x3428dc[_0x18cbba(0x351)]=_0x967e1d[_0x18cbba(0x2a5)](_0x4cd13d);}()),_0x3c784d['AES'];}));}(fe)),fe['exports'];}var Yi=Ki();const qi=Se(Yi);var zi=Ut();const ot=Se(zi);var be={'exports':{}},Ji=be[_0x2e258d(0x22f)],at;function Xi(){return at||(at=0x1,function(_0x132d24,_0x5999fa){(function(_0x156a04,_0x3670b9){var _0x5d81f8=_0x3e55;_0x132d24[_0x5d81f8(0x22f)]=_0x3670b9(ee());}(Ji,function(_0x7a2ef4){return _0x7a2ef4['enc']['Utf8'];}));}(be)),be['exports'];}var Zi=Xi();const Qi=Se(Zi);var Re={'exports':{}},en=Re[_0x2e258d(0x22f)],ct;function tn(){var _0x46d1ca=_0x2e258d;return ct||(ct=0x1,function(_0x18efd5,_0x3a61c3){(function(_0x46f0ee,_0x2b205b){var _0x24e52e=_0x3e55;_0x18efd5[_0x24e52e(0x22f)]=_0x2b205b(ee());}(en,function(_0x23166f){var _0x1646dc=_0x3e55;return(function(){var _0x3d9327=_0x3e55;if(typeof ArrayBuffer=='function'){var _0xd0e95e=_0x23166f,_0x486263=_0xd0e95e['lib'],_0x1d9a1b=_0x486263[_0x3d9327(0x31c)],_0x1798f2=_0x1d9a1b[_0x3d9327(0x231)],_0x12aa7f=_0x1d9a1b[_0x3d9327(0x231)]=function(_0x11e163){var _0x51fb10=_0x3d9327;if(_0x11e163 instanceof ArrayBuffer&&(_0x11e163=new Uint8Array(_0x11e163)),(_0x11e163 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x11e163 instanceof Uint8ClampedArray||_0x11e163 instanceof Int16Array||_0x11e163 instanceof Uint16Array||_0x11e163 instanceof Int32Array||_0x11e163 instanceof Uint32Array||_0x11e163 instanceof Float32Array||_0x11e163 instanceof Float64Array)&&(_0x11e163=new Uint8Array(_0x11e163[_0x51fb10(0x45f)],_0x11e163['byteOffset'],_0x11e163[_0x51fb10(0x39c)])),_0x11e163 instanceof Uint8Array){for(var _0x3425da=_0x11e163[_0x51fb10(0x39c)],_0xc5ce82=[],_0x528d70=0x0;_0x528d70<_0x3425da;_0x528d70++)_0xc5ce82[_0x528d70>>>0x2]|=_0x11e163[_0x528d70]<<0x18-_0x528d70%0x4*0x8;_0x1798f2[_0x51fb10(0x2a4)](this,_0xc5ce82,_0x3425da);}else _0x1798f2[_0x51fb10(0x197)](this,arguments);};_0x12aa7f[_0x3d9327(0x163)]=_0x1d9a1b;}}()),_0x23166f[_0x1646dc(0x404)][_0x1646dc(0x31c)];}));}(Re)),Re[_0x46d1ca(0x22f)];}var nn=tn();const rn=Se(nn);var ye={'exports':{}},sn=ye[_0x2e258d(0x22f)],ht;function on(){var _0x48ede1=_0x2e258d;return ht||(ht=0x1,function(_0x3e10b2,_0x36aa7f){(function(_0x56c7f7,_0x1ac72d,_0x1b5140){var _0x4283f3=_0x3e55;_0x3e10b2[_0x4283f3(0x22f)]=_0x1ac72d(ee(),At());}(sn,function(_0x1181ee){var _0x5aeba7=_0x3e55;return _0x1181ee[_0x5aeba7(0x2be)][_0x5aeba7(0x187)]={'pad':function(){},'unpad':function(){}},_0x1181ee[_0x5aeba7(0x2be)][_0x5aeba7(0x187)];}));}(ye)),ye[_0x48ede1(0x22f)];}var an=on();const cn=Se(an);function hn(_0xc0d29c,_0x23229d){var _0x2ab142=_0x2e258d;const _0x2fe0bc=_0x23229d-_0xc0d29c['length']%_0x23229d,_0x3b5222=String['fromCharCode'](_0x2fe0bc)[_0x2ab142(0x3ce)](_0x2fe0bc);return _0xc0d29c+_0x3b5222;}function ln(_0x1351c9,_0x4d414e){var _0x265895=_0x2e258d;const _0x16d975=rn[_0x265895(0x222)](0x10),_0x219d5f=hn(_0x1351c9,0x10),_0x511c01=qi[_0x265895(0x18e)](Qi[_0x265895(0x1fe)](_0x219d5f),ot[_0x265895(0x1fe)](_0x4d414e),{'iv':_0x16d975,'padding':cn});return _0x16d975[_0x265895(0x143)](_0x511c01[_0x265895(0x1c5)])[_0x265895(0x30c)](ot);}function _n(){var _0x480afb=_0x2e258d;const _0x31d76e=xt[_0x480afb(0x239)]()[_0x480afb(0x3a0)];if(_0x31d76e){const _0x90164c={'time':Math[_0x480afb(0x447)](Date[_0x480afb(0x392)]()/0x3e8),'domain':location[_0x480afb(0x327)]};return ln(JSON[_0x480afb(0x200)](_0x90164c),_0x31d76e);}}var un=Object['getOwnPropertyDescriptor'],dn=(_0x3eda3a,_0x337ec8,_0x296192,_0x183c57)=>{var _0x57dcee=_0x2e258d;for(var _0x5ab613=_0x183c57>0x1?void 0x0:_0x183c57?un(_0x337ec8,_0x296192):_0x337ec8,_0x5b6e41=_0x3eda3a[_0x57dcee(0x27e)]-0x1,_0x542c85;_0x5b6e41>=0x0;_0x5b6e41--)(_0x542c85=_0x3eda3a[_0x5b6e41])&&(_0x5ab613=_0x542c85(_0x5ab613)||_0x5ab613);return _0x5ab613;},vn=(_0x2a75c8,_0x213cb3)=>(_0x12f646,_0x42d7b7)=>_0x213cb3(_0x12f646,_0x42d7b7,_0x2a75c8);let Ne=class{constructor(_0x564f60){var _0x3b0187=_0x2e258d;this['_httpService']=_0x564f60,this[_0x3b0187(0x33d)]();}['_initRequestHeader'](){var _0x5ea3a9=_0x2e258d;this[_0x5ea3a9(0x3d1)][_0x5ea3a9(0x245)]({'interceptor':(_0x1e27c8,_0x290ba6)=>{var _0x4a444e=_0x5ea3a9;const _0x400006=_0x1e27c8['headers'],_0x156c06=_n();return _0x156c06&&_0x400006[_0x4a444e(0x127)](_0x4a444e(0x41f),_0x156c06),_0x290ba6(_0x1e27c8);}});}};Ne=dn([vn(0x0,a[_0x2e258d(0x22d)](q[_0x2e258d(0x16e)]))],Ne);var Sn=Object['getOwnPropertyDescriptor'],fn=(_0x449248,_0x584d3f,_0x4145a2,_0x4a2563)=>{var _0x26936b=_0x2e258d;for(var _0x4a6971=_0x4a2563>0x1?void 0x0:_0x4a2563?Sn(_0x584d3f,_0x4145a2):_0x584d3f,_0x15263b=_0x449248[_0x26936b(0x27e)]-0x1,_0x4f9b35;_0x15263b>=0x0;_0x15263b--)(_0x4f9b35=_0x449248[_0x15263b])&&(_0x4a6971=_0x4f9b35(_0x4a6971)||_0x4a6971);return _0x4a6971;},Me=(_0x168d5e,_0x493887)=>(_0x558d28,_0x576618)=>_0x493887(_0x558d28,_0x576618,_0x168d5e);exports[_0x2e258d(0x1d5)]=class extends a[_0x2e258d(0x410)]{constructor(_0x486fa6,_0x3b3cf8,_0x100854){var _0x3602bc=_0x2e258d;super(),P(this,_0x3602bc(0x412),new j[(_0x3602bc(0x34f))](null)),P(this,_0x3602bc(0x3ec),this[_0x3602bc(0x412)]['asObservable']()),(this[_0x3602bc(0x355)]=_0x486fa6,this[_0x3602bc(0x1e4)]=_0x3b3cf8,this['_localCacheService']=_0x100854);}async['loadUnit'](_0x3f5a49,_0x5b567f,_0x113267){var _0x20b0a5=_0x2e258d;this[_0x20b0a5(0x412)]['next']({'unitId':_0x3f5a49,'type':_0x5b567f,'subUnitId':_0x113267});let _0x2f8e0f=null;switch(_0x5b567f){case X['UNIVER_SHEET']:{_0x2f8e0f=await this['_loadSheet'](_0x3f5a49);break;}case X[_0x20b0a5(0x2fb)]:{_0x2f8e0f=await this[_0x20b0a5(0x31b)](_0x3f5a49);break;}default:{this['_logService'][_0x20b0a5(0x376)](_0x20b0a5(0x3bc),_0x20b0a5(0x3b6));break;}}return _0x2f8e0f;}async['_loadSheet'](_0x2544ac){var _0x4b5802=_0x2e258d,_0x15d2fc;let _0x1b3807=0x0;const _0x4a4bde=await((_0x15d2fc=this[_0x4b5802(0x129)])==null?void 0x0:_0x15d2fc[_0x4b5802(0x26d)](_0x2544ac));return _0x4a4bde&&(_0x4a4bde[_0x4b5802(0x3b7)]||_0x4a4bde[_0x4b5802(0x3b0)][_0x4b5802(0x27e)]!==0x0)&&(_0x1b3807=_0x4a4bde[_0x4b5802(0x1dc)]),_0x1b3807===0x0&&this[_0x4b5802(0x355)][_0x4b5802(0x1bb)](_0x4b5802(0x3bc),_0x4b5802(0x180)),this[_0x4b5802(0x1e4)][_0x4b5802(0x37d)](_0x2544ac,_0x1b3807);}async['_loadDoc'](_0x3ee9be){var _0x34b7f1=_0x2e258d,_0xfc92cd;let _0x42491c=0x0;const _0x53dc74=await((_0xfc92cd=this[_0x34b7f1(0x129)])==null?void 0x0:_0xfc92cd[_0x34b7f1(0x26d)](_0x3ee9be));return _0x53dc74&&(_0x53dc74[_0x34b7f1(0x3b7)]||_0x53dc74[_0x34b7f1(0x3b0)][_0x34b7f1(0x27e)]!==0x0)&&(_0x42491c=_0x53dc74['rev']),_0x42491c===0x0&&this[_0x34b7f1(0x355)][_0x34b7f1(0x1bb)](_0x34b7f1(0x3bc),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x34b7f1(0x1e4)]['loadDoc'](_0x3ee9be,_0x42491c);}},exports['DataLoaderService']=fn([Me(0x0,a[_0x2e258d(0x461)]),Me(0x1,a[_0x2e258d(0x22d)](g[_0x2e258d(0x14a)])),Me(0x2,a['Optional'](z))],exports[_0x2e258d(0x1d5)]);var pn=Object[_0x2e258d(0x3c4)],gn=(_0x344332,_0x3de6c1,_0x3c56ff,_0x55f526)=>{for(var _0x45cfea=_0x55f526>0x1?void 0x0:_0x55f526?pn(_0x3de6c1,_0x3c56ff):_0x3de6c1,_0x4c8773=_0x344332['length']-0x1,_0x38480a;_0x4c8773>=0x0;_0x4c8773--)(_0x38480a=_0x344332[_0x4c8773])&&(_0x45cfea=_0x38480a(_0x45cfea)||_0x45cfea);return _0x45cfea;},xe=(_0x48d613,_0x212361)=>(_0x1f03e4,_0x57043e)=>_0x212361(_0x1f03e4,_0x57043e,_0x48d613);const mn=[_0x2e258d(0x3f0),'image/jpeg','image/jpg',_0x2e258d(0x2ed),_0x2e258d(0x416)],In=0x5*0x400*0x400,En=_0x2e258d(0x371),Cn=_0x2e258d(0x369),Tn=_0x2e258d(0x1ff),bn=_0x2e258d(0x318);exports[_0x2e258d(0x37b)]=class{constructor(_0x5ef2ee,_0x464257,_0x1fd4de){var _0x57d0b8=_0x2e258d;P(this,_0x57d0b8(0x264),0x0),P(this,'_change$',new j[(_0x57d0b8(0x154))]()),P(this,'change$',this[_0x57d0b8(0x1f1)]),P(this,_0x57d0b8(0x208),new Map()),(this[_0x57d0b8(0x3d1)]=_0x5ef2ee,this['_configService']=_0x464257,this[_0x57d0b8(0x380)]=_0x1fd4de);}[_0x2e258d(0x34e)](_0x5c76c1){var _0x356fc3=_0x2e258d;this[_0x356fc3(0x264)]=_0x5c76c1,this[_0x356fc3(0x1f1)][_0x356fc3(0x46b)](_0x5c76c1);}[_0x2e258d(0x257)](_0x12ae2d,_0x489df2){var _0xb6d940=_0x2e258d;if(_0x489df2===J['ImageSourceType'][_0xb6d940(0x1a4)]){const _0x2c84fd=new Image();return _0x2c84fd[_0xb6d940(0x1c0)]=_0x12ae2d,_0x2c84fd;}return this[_0xb6d940(0x208)]['get'](_0x12ae2d);}[_0x2e258d(0x1aa)](_0x10dd1c,_0x27d462,_0x118232){var _0x3d1b24=_0x2e258d;_0x27d462===J[_0x3d1b24(0x201)][_0x3d1b24(0x1a4)]||_0x118232==null||this[_0x3d1b24(0x208)][_0x3d1b24(0x127)](_0x10dd1c,_0x118232);}async[_0x2e258d(0x47b)](_0x51a4f7){var _0x551301=_0x2e258d;try{const _0x399633=this[_0x551301(0x394)](this[_0x551301(0x138)](),''+_0x51a4f7),_0x21a781=(await this[_0x551301(0x3d1)][_0x551301(0x2f4)](_0x399633))[_0x551301(0x465)];if(_0x21a781[_0x551301(0x376)]&&_0x21a781['error'][_0x551301(0x275)]===Ct['OK']){const _0x23a7eb=new URL(_0x21a781[_0x551301(0x34a)],this[_0x551301(0x2e7)]())[_0x551301(0x30c)]();return Promise[_0x551301(0x27f)](_0x23a7eb);}return Promise[_0x551301(0x1cd)](_0x21a781[_0x551301(0x376)]);}catch(_0x1b8d63){return Promise[_0x551301(0x1cd)](_0x1b8d63);}}async[_0x2e258d(0x304)](_0x213731){var _0x103f8f=_0x2e258d;let _0x50378b='';if(!mn[_0x103f8f(0x184)](_0x213731['type']))return this[_0x103f8f(0x290)](),Promise['reject'](new Error(J['ImageUploadStatusType'][_0x103f8f(0x2a8)]));if(_0x213731['size']>In)return this[_0x103f8f(0x290)](),Promise[_0x103f8f(0x1cd)](new Error(J[_0x103f8f(0x145)][_0x103f8f(0x330)]));try{const _0x572598=new FormData();_0x572598[_0x103f8f(0x249)]('file',_0x213731);const _0x51dbdd=this[_0x103f8f(0x380)]['getFocusedUnit'](),_0x65ca38=_0x51dbdd==null?void 0x0:_0x51dbdd['getUnitId']();if(!_0x65ca38)throw new Error('unitId\x20is\x20not\x20found');const _0x1d2598=this[_0x103f8f(0x43d)]()+_0x103f8f(0x37f)+_0x213731['size'][_0x103f8f(0x30c)]()+_0x103f8f(0x33a)+Tt['UnitEmbedded']+_0x103f8f(0x3d9)+encodeURIComponent(_0x65ca38),_0x176877=await(await fetch(_0x1d2598,{'method':_0x103f8f(0x345),'body':_0x572598}))[_0x103f8f(0x417)]();if(typeof _0x176877[_0x103f8f(0x281)]!=_0x103f8f(0x425))return this['_decreaseWaiting'](),Promise[_0x103f8f(0x1cd)](new Error(J[_0x103f8f(0x145)]['ERROR_IMAGE']));_0x50378b=_0x176877[_0x103f8f(0x281)];}catch{return this[_0x103f8f(0x290)](),Promise[_0x103f8f(0x1cd)](new Error(J[_0x103f8f(0x145)]['ERROR_IMAGE']));}return new Promise((_0x4483ac,_0x98242b)=>{const _0x15d917=new FileReader();_0x15d917['readAsDataURL'](_0x213731),_0x15d917['onload']=_0x12d121=>{var _0xb32908=_0x3e55,_0x5979d0;const _0x2c9d6b=(_0x5979d0=_0x12d121[_0xb32908(0x2af)])==null?void 0x0:_0x5979d0['result'];if(_0x2c9d6b==null){this['_decreaseWaiting'](),_0x98242b(new Error(J['ImageUploadStatusType'][_0xb32908(0x1db)]));return;}const _0x29f6bd=a[_0xb32908(0x1ec)]['generateRandomId'](0x6);_0x4483ac({'imageId':_0x29f6bd,'imageSourceType':J['ImageSourceType']['UUID'],'source':_0x50378b,'base64Cache':_0x2c9d6b,'status':J[_0xb32908(0x145)][_0xb32908(0x377)]}),this[_0xb32908(0x290)]();};});}['_getUploadFileURL'](){var _0xe15d7d=_0x2e258d,_0x32c19e,_0x48b3e8;const _0x47c866=this[_0xe15d7d(0x42b)][_0xe15d7d(0x34d)](En),_0x150047=this[_0xe15d7d(0x42b)][_0xe15d7d(0x34d)](Y);return(_0x48b3e8=(_0x32c19e=_0x150047==null?void 0x0:_0x150047[_0xe15d7d(0x29a)])!=null?_0x32c19e:_0x47c866)!=null?_0x48b3e8:Cn;}['_getSignURL'](){var _0x3e0981=_0x2e258d,_0x229f41,_0x22b9db;const _0x1b3729=this[_0x3e0981(0x42b)][_0x3e0981(0x34d)](Tn),_0x1e5c64=this[_0x3e0981(0x42b)]['getConfig'](Y);return(_0x22b9db=(_0x229f41=_0x1e5c64==null?void 0x0:_0x1e5c64[_0x3e0981(0x169)])!=null?_0x229f41:_0x1b3729)!=null?_0x22b9db:bn;}[_0x2e258d(0x2e7)](){var _0x113389=_0x2e258d,_0x49deba;const _0x407171=this[_0x113389(0x42b)][_0x113389(0x34d)](Y);return(_0x49deba=_0x407171==null?void 0x0:_0x407171['downloadEndpointUrl'])!=null?_0x49deba:location['origin'];}[_0x2e258d(0x394)](_0x1e109d,_0x58a2b4){var _0x27fd27=_0x2e258d;return _0x1e109d[_0x27fd27(0x418)]('{fileID}',_0x58a2b4);}['_decreaseWaiting'](){this['_waitCount']-=0x1,this['_change$']['next'](this['_waitCount']);}},exports['CollaborationImageIoService']=gn([xe(0x0,a['Inject'](q[_0x2e258d(0x16e)])),xe(0x1,a[_0x2e258d(0x1c9)]),xe(0x2,a[_0x2e258d(0x22d)](a['IUniverInstanceService']))],exports[_0x2e258d(0x37b)]);var Rn=Object['getOwnPropertyDescriptor'],yn=(_0x1633d2,_0xa6d0bb,_0x128c5d,_0x1d5b24)=>{var _0x3fb0ef=_0x2e258d;for(var _0x11d9e4=_0x1d5b24>0x1?void 0x0:_0x1d5b24?Rn(_0xa6d0bb,_0x128c5d):_0xa6d0bb,_0x473978=_0x1633d2[_0x3fb0ef(0x27e)]-0x1,_0x34f91c;_0x473978>=0x0;_0x473978--)(_0x34f91c=_0x1633d2[_0x473978])&&(_0x11d9e4=_0x34f91c(_0x11d9e4)||_0x11d9e4);return _0x11d9e4;},lt=(_0x45df9c,_0x9aba6a)=>(_0x346689,_0x43f68d)=>_0x9aba6a(_0x346689,_0x43f68d,_0x45df9c);const On=_0x2e258d(0x1be);exports[_0x2e258d(0x42a)]=class{constructor(_0x17392d,_0x4f15df){var _0x26f07a=_0x2e258d;this[_0x26f07a(0x42b)]=_0x17392d,this[_0x26f07a(0x1b6)]=_0x4f15df;}[_0x2e258d(0x365)](){var _0x2f25d5=_0x2e258d,_0x464e69,_0x56c553;const _0x26a3d8=this['_configService']['getConfig'](Ve),_0x221838=this['_configService']['getConfig'](Y);return(_0x56c553=(_0x464e69=_0x221838==null?void 0x0:_0x221838[_0x2f25d5(0x243)])!=null?_0x464e69:_0x26a3d8)!=null?_0x56c553:On;}async[_0x2e258d(0x3b2)](_0x49eb8a){var _0x5e77c8=_0x2e258d;const _0x275dce=this[_0x5e77c8(0x365)]()+_0x5e77c8(0x19c);return{'list':[{'title':_0x5e77c8(0x27c),'mentions':(await this[_0x5e77c8(0x1b6)][_0x5e77c8(0x2f4)](_0x275dce,{'params':{'objectID':_0x49eb8a['unitId'],'unitID':_0x49eb8a[_0x5e77c8(0x440)]}}))[_0x5e77c8(0x465)][_0x5e77c8(0x378)][_0x5e77c8(0x202)](_0x4cfcb4=>({'objectId':_0x4cfcb4['id'],'name':_0x4cfcb4[_0x5e77c8(0x443)][_0x5e77c8(0x1ee)],'metadata':{'icon':_0x4cfcb4[_0x5e77c8(0x443)]['avatar']},'label':_0x4cfcb4['subject'][_0x5e77c8(0x1ee)],'objectType':a[_0x5e77c8(0x19f)]['PERSON']})),'metadata':{},'type':a['MentionType'][_0x5e77c8(0x23d)]}]};}},exports['MentionIoHttpService']=yn([lt(0x0,a[_0x2e258d(0x22d)](a[_0x2e258d(0x1c9)])),lt(0x1,a[_0x2e258d(0x22d)](q[_0x2e258d(0x16e)]))],exports[_0x2e258d(0x42a)]);var Nn=Object['getOwnPropertyDescriptor'],Dn=(_0x19de0c,_0x11e3b9,_0x271e3e,_0x4295a8)=>{var _0x304ea1=_0x2e258d;for(var _0x47a8fa=_0x4295a8>0x1?void 0x0:_0x4295a8?Nn(_0x11e3b9,_0x271e3e):_0x11e3b9,_0x48e0f2=_0x19de0c[_0x304ea1(0x27e)]-0x1,_0x2e1c20;_0x48e0f2>=0x0;_0x48e0f2--)(_0x2e1c20=_0x19de0c[_0x48e0f2])&&(_0x47a8fa=_0x2e1c20(_0x47a8fa)||_0x47a8fa);return _0x47a8fa;},ue=(_0x491566,_0x22c97d)=>(_0x43fe59,_0x35667f)=>_0x22c97d(_0x43fe59,_0x35667f,_0x491566);let De=class extends a[_0x2e258d(0x410)]{constructor(_0x4fa10f,_0x3fcf23,_0x47377d,_0x1367c3,_0x49b1c2){var _0x5635e3=_0x2e258d;super(),this[_0x5635e3(0x2b7)]=_0x4fa10f,this[_0x5635e3(0x380)]=_0x3fcf23,this[_0x5635e3(0x347)]=_0x47377d,this[_0x5635e3(0x32f)]=_0x1367c3,this[_0x5635e3(0x15c)]=_0x49b1c2,this['_initUnitPermissionChange'](),this[_0x5635e3(0x279)]();}['_initCloseConn'](){var _0x47d703=_0x2e258d;const _0x3ff37f=async _0x5c06c4=>{var _0x2c8e73=_0x3e55;(await this[_0x2c8e73(0x32f)]['requireSession'](_0x5c06c4))[_0x2c8e73(0x3fd)][_0x2c8e73(0x24a)](W['filter'](_0x4cba49=>_0x4cba49[_0x2c8e73(0x260)]===g[_0x2c8e73(0x26b)][_0x2c8e73(0x479)]),W[_0x2c8e73(0x33e)](this[_0x2c8e73(0x1f4)]))[_0x2c8e73(0x174)](_0x42d1e6=>{var _0x1d1ad9=_0x2c8e73;const _0x1a71da=_0x42d1e6,{reason:_0x38ae39}=_0x1a71da[_0x1d1ad9(0x229)];this['_collaborationUIEventService']['emitEvent']({'id':Q[_0x1d1ad9(0x374)],'data':_0x38ae39}),this[_0x1d1ad9(0x347)][_0x1d1ad9(0x2d3)](new Z[(_0x1d1ad9(0x3fb))](_0x5c06c4)['id'],!0x1),this[_0x1d1ad9(0x32f)][_0x1d1ad9(0x20b)](_0x5c06c4);});};j[_0x47d703(0x3fa)](this[_0x47d703(0x380)][_0x47d703(0x475)](a[_0x47d703(0x162)]['UNIVER_SHEET']),this['_univerInstanceService'][_0x47d703(0x475)](a[_0x47d703(0x162)][_0x47d703(0x2fb)]))[_0x47d703(0x24a)](W[_0x47d703(0x202)](_0x5737fd=>_0x5737fd['getUnitId']()),W['filter'](_0x5ad6b8=>!a[_0x47d703(0x473)](_0x5ad6b8)),W['takeUntil'](this[_0x47d703(0x1f4)]))[_0x47d703(0x174)](_0xc58134=>{_0x3ff37f(_0xc58134);});}['_initUnitPermissionChange'](){var _0x149ca6=_0x2e258d;const _0xb6aeca=async _0x5aaf30=>{var _0x5d3161=_0x3e55;const _0x1b78fe=await this[_0x5d3161(0x32f)][_0x5d3161(0x123)](_0x5aaf30),_0x2850fd=this[_0x5d3161(0x2b7)][_0x5d3161(0x2f4)](Z['SheetPermissionInitController']);_0x1b78fe['event$'][_0x5d3161(0x24a)](W[_0x5d3161(0x2ee)](_0x19bca4=>_0x19bca4[_0x5d3161(0x260)]===g[_0x5d3161(0x26b)][_0x5d3161(0x155)]),W[_0x5d3161(0x33e)](this[_0x5d3161(0x1f4)]))['subscribe'](_0x1c8105=>{var _0x9c8e1f=_0x5d3161;const _0x5c0525=_0x1c8105,{objectId:_0x4f8e9f}=_0x5c0525[_0x9c8e1f(0x229)];_0x4f8e9f===_0x5aaf30?_0x2850fd['initWorkbookPermissionChange'](_0x5aaf30):_0x2850fd[_0x9c8e1f(0x120)](_0x5aaf30,_0x4f8e9f);});};j[_0x149ca6(0x3fa)](this[_0x149ca6(0x380)][_0x149ca6(0x475)](a[_0x149ca6(0x162)][_0x149ca6(0x1e8)]))[_0x149ca6(0x24a)](W[_0x149ca6(0x202)](_0xed4640=>_0xed4640[_0x149ca6(0x35b)]()),W[_0x149ca6(0x2ee)](_0x2a7e83=>!a['isInternalEditorID'](_0x2a7e83)),W[_0x149ca6(0x33e)](this[_0x149ca6(0x1f4)]))[_0x149ca6(0x174)](_0x28f320=>{_0xb6aeca(_0x28f320);});}};De=Dn([ue(0x0,a[_0x2e258d(0x22d)](a[_0x2e258d(0x349)])),ue(0x1,a[_0x2e258d(0x308)]),ue(0x2,a[_0x2e258d(0x1f8)]),ue(0x3,a[_0x2e258d(0x22d)](exports[_0x2e258d(0x230)])),ue(0x4,a[_0x2e258d(0x22d)](te))],De);var Un=Object[_0x2e258d(0x3c4)],Pn=(_0x502c59,_0x42dd4d,_0x60fc9a,_0x45765e)=>{var _0x89530c=_0x2e258d;for(var _0x36d0cd=_0x45765e>0x1?void 0x0:_0x45765e?Un(_0x42dd4d,_0x60fc9a):_0x42dd4d,_0x3e1574=_0x502c59[_0x89530c(0x27e)]-0x1,_0x3ef665;_0x3e1574>=0x0;_0x3e1574--)(_0x3ef665=_0x502c59[_0x3e1574])&&(_0x36d0cd=_0x3ef665(_0x36d0cd)||_0x36d0cd);return _0x36d0cd;},_t=(_0x3d075c,_0x7e5929)=>(_0x40fb70,_0x3b90e0)=>_0x7e5929(_0x40fb70,_0x3b90e0,_0x3d075c);exports['SnapshotServerOverHTTPService']=class{constructor(_0xcd1c70,_0xf54317){var _0x3873f7=_0x2e258d;this[_0x3873f7(0x42b)]=_0xcd1c70,this[_0x3873f7(0x3d1)]=_0xf54317;}async[_0x2e258d(0x454)](_0x118be8,_0xd7d8eb){var _0x253265=_0x2e258d,_0x334dac;const {unitID:_0x1633f4,type:_0xa52b1e,revision:_0x5b2a24=0x0}=_0xd7d8eb,_0x104d62=this['getSnapshotAPIPath']()+'/'+_0xa52b1e+_0x253265(0x402)+_0x1633f4+_0x253265(0x28e)+_0x5b2a24,_0x4c5dcb=(await this[_0x253265(0x3d1)][_0x253265(0x2f4)](_0x104d62))[_0x253265(0x465)],_0x12ee33=(_0x334dac=_0x4c5dcb['snapshot'])==null?void 0x0:_0x334dac[_0x253265(0x47a)];if(_0x12ee33){const _0x2bc26=_0x12ee33==null?void 0x0:_0x12ee33[_0x253265(0x472)],_0xb1aaf3=g['textEncoder'][_0x253265(0x15d)](g['b64DecodeUnicode'](_0x2bc26));_0x12ee33[_0x253265(0x472)]=_0xb1aaf3,Object[_0x253265(0x367)](_0x12ee33['sheets'])['forEach'](([,_0x6d63df])=>{var _0x4214b1=_0x253265;const _0x26a975=_0x6d63df[_0x4214b1(0x472)],_0x14b91e=g['textEncoder'][_0x4214b1(0x15d)](g[_0x4214b1(0x328)](_0x26a975));_0x6d63df['originalMeta']=_0x14b91e;});}return _0x4c5dcb;}async[_0x2e258d(0x221)](_0x7ab58,_0x3db9fe){var _0x220b62=_0x2e258d;const {unitID:_0x29e84c,type:_0x5bca40,blockID:_0x19ac96}=_0x3db9fe,_0x43488f=this[_0x220b62(0x113)]()+'/'+_0x5bca40+_0x220b62(0x402)+_0x29e84c+_0x220b62(0x353)+_0x19ac96;return(await this['_httpService'][_0x220b62(0x2f4)](_0x43488f))[_0x220b62(0x465)];}async[_0x2e258d(0x13a)](_0x26d9ba,_0x20a807){var _0x28e8b2=_0x2e258d;const {unitID:_0x22aaec,type:_0x3a1480,blockID:_0x2b10c0}=_0x20a807,_0x34d352=this['_getAPIPrefix']()+_0x28e8b2(0x353)+_0x3a1480+_0x28e8b2(0x402)+_0x22aaec+_0x28e8b2(0x353)+_0x2b10c0;return(await this[_0x28e8b2(0x3d1)][_0x28e8b2(0x2f4)](_0x34d352))['body'];}async[_0x2e258d(0x20d)](_0xe2ae98,_0x1b678e){var _0x43bef7=_0x2e258d;const {unitID:_0xdeb19a,type:_0x26bf3e,from:_0x395762,to:_0x18ea2e}=_0x1b678e,_0x41437c=this[_0x43bef7(0x113)]()+'/'+_0x26bf3e+'/unit/'+_0xdeb19a+_0x43bef7(0x32a)+_0x395762+_0x43bef7(0x1f2)+_0x18ea2e;return(await this[_0x43bef7(0x3d1)][_0x43bef7(0x2f4)](_0x41437c))[_0x43bef7(0x465)];}['getSnapshotAPIPath'](){var _0x4f0be9=_0x2e258d,_0x2184b6;return(_0x2184b6=this['_configService'][_0x4f0be9(0x34d)](vt))!=null?_0x2184b6:this[_0x4f0be9(0x113)]();}[_0x2e258d(0x113)](){var _0x4e7e38=_0x2e258d,_0x317ff0,_0x46e8cf;const _0x291035=this['_configService'][_0x4e7e38(0x34d)](dt),_0x1fd7d8=this[_0x4e7e38(0x42b)][_0x4e7e38(0x34d)](Y);return(_0x46e8cf=(_0x317ff0=_0x1fd7d8==null?void 0x0:_0x1fd7d8[_0x4e7e38(0x25b)])!=null?_0x317ff0:_0x291035)!=null?_0x46e8cf:kt;}async[_0x2e258d(0x22e)](_0xb03835,_0x555690){var _0x42bda1=_0x2e258d;const _0x5132f7='/universer-api/snapshot/'+_0x555690[_0x42bda1(0x2f7)]+_0x42bda1(0x402)+_0x555690[_0x42bda1(0x3af)]+'/resources';return(await this['_httpService'][_0x42bda1(0x2f4)](_0x5132f7,{'params':{'resourceId':JSON['stringify'](_0x555690[_0x42bda1(0x250)])}}))[_0x42bda1(0x465)];}[_0x2e258d(0x36d)](){var _0x1f9050=_0x2e258d;throw new Error(_0x1f9050(0x207));}[_0x2e258d(0x172)](){var _0x43b533=_0x2e258d;throw new Error(_0x43b533(0x207));}[_0x2e258d(0x2c2)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x2e258d(0x344)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x2e258d(0x111)](){var _0x169305=_0x2e258d;throw new Error(_0x169305(0x207));}},exports['SnapshotServerOverHTTPService']=Pn([_t(0x0,a[_0x2e258d(0x1c9)]),_t(0x1,a[_0x2e258d(0x22d)](q['HTTPService']))],exports[_0x2e258d(0x2f2)]);var An=Object[_0x2e258d(0x3c4)],wn=(_0x319b1e,_0x5ab910,_0x3bf3bf,_0x922748)=>{var _0x5e739d=_0x2e258d;for(var _0x39f69f=_0x922748>0x1?void 0x0:_0x922748?An(_0x5ab910,_0x3bf3bf):_0x5ab910,_0x4eba21=_0x319b1e[_0x5e739d(0x27e)]-0x1,_0x159b9c;_0x4eba21>=0x0;_0x4eba21--)(_0x159b9c=_0x319b1e[_0x4eba21])&&(_0x39f69f=_0x159b9c(_0x39f69f)||_0x39f69f);return _0x39f69f;},de=(_0x37af57,_0x394b52)=>(_0x1a4209,_0x2df00a)=>_0x394b52(_0x1a4209,_0x2df00a,_0x37af57);exports['CollaborativeUndoRedoService']=class extends a[_0x2e258d(0x3ee)]{constructor(_0x122166,_0x2bcc53,_0x24be38,_0x210883,_0x1af38f){var _0x2c2679=_0x2e258d;super(_0x122166,_0x2bcc53,_0x24be38),this[_0x2c2679(0x3b1)]=_0x210883,this[_0x2c2679(0x355)]=_0x1af38f;}['transformUndoRedo'](_0x48404f,_0x289d9f){var _0x45c7b9=_0x2e258d;const _0x484f50=this[_0x45c7b9(0x259)](_0x48404f);if(_0x484f50)try{const _0x270e80=this['_transformStack'](_0x484f50,_0x289d9f);this['_substituteUndoStack'](_0x48404f,_0x270e80);}catch(_0x1fbeb1){this[_0x45c7b9(0x355)][_0x45c7b9(0x376)](_0x45c7b9(0x469),_0x1fbeb1),this[_0x45c7b9(0x216)](_0x48404f);}const _0x44f38d=this[_0x45c7b9(0x42c)](_0x48404f);if(_0x44f38d)try{const _0x859a3f=this[_0x45c7b9(0x46c)](_0x44f38d,_0x289d9f);this[_0x45c7b9(0x435)](_0x48404f,_0x859a3f);}catch(_0x4e6a3e){this['_logService'][_0x45c7b9(0x376)](_0x4e6a3e),this[_0x45c7b9(0x2dc)](_0x48404f);}}[_0x2e258d(0x216)](_0x21279e){var _0x442ab3=_0x2e258d;const _0x2e635b=this[_0x442ab3(0x259)](_0x21279e);_0x2e635b&&(_0x2e635b[_0x442ab3(0x27e)]=0x0,this[_0x442ab3(0x3cc)]());}[_0x2e258d(0x2dc)](_0x3e3432){var _0x1d54f9=_0x2e258d;const _0x180334=this[_0x1d54f9(0x42c)](_0x3e3432);_0x180334&&(_0x180334[_0x1d54f9(0x27e)]=0x0,this[_0x1d54f9(0x3cc)]());}[_0x2e258d(0x289)](_0x25845d,_0x979fbf){var _0x14c3de=_0x2e258d;this[_0x14c3de(0x421)]['set'](_0x25845d,_0x979fbf),this[_0x14c3de(0x3cc)]();}['_substituteRedoStack'](_0x309b4a,_0x5bd60b){var _0x457060=_0x2e258d;this[_0x457060(0x3b9)]['set'](_0x309b4a,_0x5bd60b),this[_0x457060(0x3cc)]();}['_transformStack'](_0x3ba0a5,_0x5c592a){var _0x2151a7=_0x2e258d;const _0x51076e=[];let _0x189912=_0x5c592a,_0x3bb73a=_0x5c592a;for(let _0x40a895=_0x3ba0a5[_0x2151a7(0x27e)]-0x1;_0x40a895>=0x0;_0x40a895--){const {unitID:_0x28eafb,undoMutations:_0x3dd62d,redoMutations:_0x2cd55c}=_0x3ba0a5[_0x40a895],_0x1339f9=this['_transformService'][_0x2151a7(0x1b2)](_0x189912,_0x3dd62d),_0x57e8be=this[_0x2151a7(0x3b1)][_0x2151a7(0x1b2)](_0x3bb73a,_0x2cd55c);if(g[_0x2151a7(0x398)](_0x1339f9)||g[_0x2151a7(0x398)](_0x57e8be)){this[_0x2151a7(0x355)][_0x2151a7(0x376)]('[CollaborationUndoRedoService]',_0x2151a7(0x37c),_0x1339f9,_0x57e8be);break;}_0x189912=_0x1339f9[_0x2151a7(0x167)],_0x3bb73a=_0x57e8be[_0x2151a7(0x167)],_0x51076e[_0x2151a7(0x293)]({'unitID':_0x28eafb,'undoMutations':_0x1339f9[_0x2151a7(0x20a)],'redoMutations':_0x57e8be[_0x2151a7(0x20a)]});}return _0x51076e['reverse']();}},exports[_0x2e258d(0x403)]=wn([de(0x0,a[_0x2e258d(0x308)]),de(0x1,a[_0x2e258d(0x36e)]),de(0x2,a[_0x2e258d(0x23b)]),de(0x3,g[_0x2e258d(0x18a)]),de(0x4,a[_0x2e258d(0x461)])],exports[_0x2e258d(0x403)]);var Ln=Object[_0x2e258d(0x21e)],Mn=Object[_0x2e258d(0x3c4)],xn=(_0x1df2ae,_0x3cd6d4,_0x2b09aa)=>_0x3cd6d4 in _0x1df2ae?Ln(_0x1df2ae,_0x3cd6d4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2b09aa}):_0x1df2ae[_0x3cd6d4]=_0x2b09aa,kn=(_0x57d950,_0x240e3a,_0x587170,_0x23d4d0)=>{var _0x5a0008=_0x2e258d;for(var _0x26a63e=_0x23d4d0>0x1?void 0x0:_0x23d4d0?Mn(_0x240e3a,_0x587170):_0x240e3a,_0x2e5f38=_0x57d950[_0x5a0008(0x27e)]-0x1,_0x1d2ce4;_0x2e5f38>=0x0;_0x2e5f38--)(_0x1d2ce4=_0x57d950[_0x2e5f38])&&(_0x26a63e=_0x1d2ce4(_0x26a63e)||_0x26a63e);return _0x26a63e;},ke=(_0x171228,_0x460b7b)=>(_0xcd40c6,_0x430d9d)=>_0x460b7b(_0xcd40c6,_0x430d9d,_0x171228),Hn=(_0x1a43e5,_0x521373,_0x2f6d31)=>xn(_0x1a43e5,_0x521373+'',_0x2f6d31);const jn=_0x2e258d(0x226);exports[_0x2e258d(0x15f)]=class extends a['Plugin']{constructor(_0x13d3a3,_0x8e4a24,_0xeb3770,_0x2cb0c0){var _0x4e80bc=_0x2e258d;super(),P(this,_0x4e80bc(0x1a5)),(this[_0x4e80bc(0x355)]=_0x8e4a24,this[_0x4e80bc(0x2b7)]=_0xeb3770,this[_0x4e80bc(0x42b)]=_0x2cb0c0);const {..._0x3b9222}=a[_0x4e80bc(0x3fa)]({},Jt,_0x13d3a3);if(!_0x3b9222['socketService'])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this['_config']=_0x3b9222,this[_0x4e80bc(0x42b)]['setConfig'](Y,_0x3b9222);}['onStarting'](){this['_registerDependencies'](),this['_initDependencies']();}[_0x2e258d(0x40d)](){var _0x4c9eec=_0x2e258d,_0x29f8ee,_0x369159;this[_0x4c9eec(0x2b7)][_0x4c9eec(0x1e2)](a[_0x4c9eec(0x185)])&&this[_0x4c9eec(0x355)][_0x4c9eec(0x376)](_0x4c9eec(0x364),_0x4c9eec(0x213));const _0x3fcdf1=a[_0x4c9eec(0x1b8)]([[a['IUndoRedoService'],{'useClass':exports[_0x4c9eec(0x403)]}],[exports[_0x4c9eec(0x230)]],[exports[_0x4c9eec(0x241)]],[exports['SheetTransformSelectionsService']],[Oe],[Ne],[Be],[De],[te],[exports[_0x4c9eec(0x1d5)]],[$e,{'useClass':this[_0x4c9eec(0x1a5)][_0x4c9eec(0x370)]}],[g[_0x4c9eec(0x2e4)],{'useClass':exports[_0x4c9eec(0x2f2)]}],[a['IAuthzIoService'],{'useClass':exports[_0x4c9eec(0x110)]}],[J[_0x4c9eec(0x220)],{'useClass':exports['CollaborationImageIoService']}],[a[_0x4c9eec(0x458)],{'useClass':exports[_0x4c9eec(0x42a)]}],[exports[_0x4c9eec(0x433)]],[He]],(_0x29f8ee=this[_0x4c9eec(0x1a5)])==null?void 0x0:_0x29f8ee[_0x4c9eec(0x2e1)]);if(!((_0x369159=this[_0x4c9eec(0x1a5)])!=null&&_0x369159[_0x4c9eec(0x31e)])){const _0x1e3151=_0x3fcdf1[_0x4c9eec(0x315)](([_0x3a1f6e])=>_0x3a1f6e===ve);_0x1e3151!==-0x1&&_0x3fcdf1[_0x4c9eec(0x38d)](_0x1e3151,0x1);}a['registerDependencies'](this[_0x4c9eec(0x2b7)],_0x3fcdf1);}[_0x2e258d(0x13f)](){var _0x2b23c0=_0x2e258d,_0x578148,_0x4b19b7,_0x36ba04;this[_0x2b23c0(0x2b7)][_0x2b23c0(0x2f4)](q[_0x2b23c0(0x16e)])[_0x2b23c0(0x245)]({'priority':0x14,'interceptor':q['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x578148=this[_0x2b23c0(0x1a5)])!=null&&_0x578148['enableOfflineEditing']||(_0x4b19b7=this[_0x2b23c0(0x2b7)][_0x2b23c0(0x2f4)](z,a[_0x2b23c0(0x307)]['OPTIONAL']))==null||_0x4b19b7[_0x2b23c0(0x27b)](),(_0x36ba04=this[_0x2b23c0(0x1a5)])!=null&&_0x36ba04[_0x2b23c0(0x41e)]&&a['touchDependencies'](this['_injector'],[[Oe]]),a['touchDependencies'](this[_0x2b23c0(0x2b7)],[[Ne],[exports[_0x2b23c0(0x433)]],[De]]);}},Hn(exports[_0x2e258d(0x15f)],_0x2e258d(0x424),jn),exports[_0x2e258d(0x15f)]=kn([a['DependentOn'](g[_0x2e258d(0x2bc)],q[_0x2e258d(0x45b)]),ke(0x1,a['ILogService']),ke(0x2,a[_0x2e258d(0x22d)](a[_0x2e258d(0x349)])),ke(0x3,a[_0x2e258d(0x1c9)])],exports[_0x2e258d(0x15f)]),exports['AUTHZ_URL_KEY']=Ve,exports['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']=Y,exports[_0x2e258d(0x146)]=It,exports[_0x2e258d(0x302)]=St,exports[_0x2e258d(0x21c)]=We,exports[_0x2e258d(0x41c)]=Q,exports[_0x2e258d(0x203)]=te,exports[_0x2e258d(0x272)]=Be,exports['DEFAULT_COLLAB_WEB_SOCKET_URL']=ft,exports['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT']=zt,exports[_0x2e258d(0x199)]=$t,exports['HEARTBEAT_INTERVAL_KEY']=pt,exports[_0x2e258d(0x383)]=je,exports[_0x2e258d(0x43b)]=$e,exports['ILocalCacheService']=z,exports[_0x2e258d(0x30e)]=bt,exports[_0x2e258d(0x2eb)]=ve,exports[_0x2e258d(0x3aa)]=Vt,exports[_0x2e258d(0x253)]=Gt,exports[_0x2e258d(0x186)]=Et,exports[_0x2e258d(0x384)]=qt,exports[_0x2e258d(0x12d)]=mt,exports[_0x2e258d(0x36f)]=Ht,exports[_0x2e258d(0x390)]=dt,exports[_0x2e258d(0x311)]=vt,exports[_0x2e258d(0x195)]=se,exports[_0x2e258d(0x2ac)]=Fe,exports[_0x2e258d(0x13d)]=Rt,exports[_0x2e258d(0x1e7)]=vi,exports[_0x2e258d(0x423)]=yt;
1
+ 'use strict';var _0x5efac8=_0x54da;(function(_0x183a6e,_0x4711c1){var _0x4ca598=_0x54da,_0x3e9019=_0x183a6e();while(!![]){try{var _0x2e659b=parseInt(_0x4ca598(0x3c7))/0x1+parseInt(_0x4ca598(0xa5))/0x2+-parseInt(_0x4ca598(0x9d))/0x3*(parseInt(_0x4ca598(0xd0))/0x4)+parseInt(_0x4ca598(0x395))/0x5*(-parseInt(_0x4ca598(0x240))/0x6)+parseInt(_0x4ca598(0x2c0))/0x7*(parseInt(_0x4ca598(0x1be))/0x8)+-parseInt(_0x4ca598(0xb3))/0x9*(parseInt(_0x4ca598(0x32e))/0xa)+parseInt(_0x4ca598(0x367))/0xb*(-parseInt(_0x4ca598(0x331))/0xc);if(_0x2e659b===_0x4711c1)break;else _0x3e9019['push'](_0x3e9019['shift']());}catch(_0x2bf615){_0x3e9019['push'](_0x3e9019['shift']());}}}(_0x5aba,0xb5b3b));var wt=Object['defineProperty'],Lt=(_0x3e2940,_0x152acc,_0x2af428)=>_0x152acc in _0x3e2940?wt(_0x3e2940,_0x152acc,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2af428}):_0x3e2940[_0x152acc]=_0x2af428,P=(_0x349843,_0x3e0bd7,_0x3ce03b)=>Lt(_0x349843,typeof _0x3e0bd7!=_0x5efac8(0x248)?_0x3e0bd7+'':_0x3e0bd7,_0x3ce03b);Object['defineProperty'](exports,Symbol[_0x5efac8(0x294)],{'value':_0x5efac8(0x28d)});const a=require(_0x5efac8(0x1a7)),j=require(_0x5efac8(0x2be)),W=require('rxjs/operators'),g=require('@univerjs-pro/collaboration'),q=require(_0x5efac8(0x377)),Mt=require(_0x5efac8(0xb9)),ut=require(_0x5efac8(0x24a)),Z=require('@univerjs/sheets'),J=require('@univerjs/drawing'),xt=require(_0x5efac8(0x3bf)),dt=_0x5efac8(0x1ff),kt=_0x5efac8(0x38c),vt=_0x5efac8(0x14f),Ht=_0x5efac8(0x1c3),jt=0x7d0,St=_0x5efac8(0x27e),ft='ws://127.0.0.1:8000/universer-api/comb/connect',$t='/universer-api/user/session-ticket',pt=_0x5efac8(0x320),Bt=0x7530,je=_0x5efac8(0xa6),gt=0x4e20,Ft=0x4e20,mt=_0x5efac8(0x37d),Wt=0x3,Gt='LOCAL_CACHE_INTERVAL',Vt=0x3e8,It=_0x5efac8(0x347),Kt='/universer-api/comb',Et=_0x5efac8(0x2ff),Yt='/universer-api/oidc/authpage',qt=_0x5efac8(0x148),zt=_0x5efac8(0x233);var Ct=(_0x4df767=>(_0x4df767[_0x4df767[_0x5efac8(0x3ed)]=0x0]=_0x5efac8(0x3ed),_0x4df767[_0x4df767['OK']=0x1]='OK',_0x4df767[_0x4df767[_0x5efac8(0x2ab)]=0x2]=_0x5efac8(0x2ab),_0x4df767[_0x4df767['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x4df767[_0x4df767[_0x5efac8(0x1a6)]=0x4]='NOT_FOUND',_0x4df767[_0x4df767[_0x5efac8(0x26a)]=0x5]=_0x5efac8(0x26a),_0x4df767[_0x4df767[_0x5efac8(0x3e5)]=0x6]=_0x5efac8(0x3e5),_0x4df767[_0x4df767['INVALID_ARGUMENT']=0x7]=_0x5efac8(0x2db),_0x4df767[_0x4df767['TOO_MANY_REQUESTS']=0x8]=_0x5efac8(0x237),_0x4df767[_0x4df767[_0x5efac8(0x17e)]=0x9]='COMPLETION_FINISHED',_0x4df767[_0x4df767[_0x5efac8(0x22f)]=0x1389]=_0x5efac8(0x22f),_0x4df767[_0x4df767['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x5efac8(0x22a),_0x4df767[_0x4df767[_0x5efac8(0x282)]=0x1772]=_0x5efac8(0x282),_0x4df767[_0x4df767['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x4df767[_0x4df767['APPLY_REJECT']=0x1b59]=_0x5efac8(0xd7),_0x4df767[_0x4df767['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x5efac8(0x125),_0x4df767[_0x4df767['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x5efac8(0x17f),_0x4df767[_0x4df767[_0x5efac8(0x1e3)]=0x1b5c]=_0x5efac8(0x1e3),_0x4df767[_0x4df767[_0x5efac8(0x1e2)]=0x1b5d]=_0x5efac8(0x1e2),_0x4df767[_0x4df767[_0x5efac8(0x13f)]=0x1f41]=_0x5efac8(0x13f),_0x4df767[_0x4df767[_0x5efac8(0x31f)]=0x2329]=_0x5efac8(0x31f),_0x4df767[_0x4df767[_0x5efac8(0x1c5)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x4df767[_0x4df767[_0x5efac8(0x145)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x4df767[_0x4df767[_0x5efac8(0x3e8)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x4df767[_0x4df767[_0x5efac8(0x135)]=0x232d]=_0x5efac8(0x135),_0x4df767[_0x4df767[_0x5efac8(0xe7)]=0x2711]=_0x5efac8(0xe7),_0x4df767[_0x4df767[_0x5efac8(0x13c)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x4df767[_0x4df767['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x5efac8(0xe6),_0x4df767[_0x4df767[_0x5efac8(0x314)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x4df767[_0x4df767[_0x5efac8(0xd2)]=0x2af9]=_0x5efac8(0xd2),_0x4df767[_0x4df767[_0x5efac8(0x244)]=-0x1]=_0x5efac8(0x244),_0x4df767))(Ct||{}),X=(_0x26da43=>(_0x26da43[_0x26da43['UNIVER_UNKNOWN']=0x0]=_0x5efac8(0x146),_0x26da43[_0x26da43['UNIVER_DOC']=0x1]=_0x5efac8(0x175),_0x26da43[_0x26da43[_0x5efac8(0x379)]=0x2]=_0x5efac8(0x379),_0x26da43[_0x26da43[_0x5efac8(0x113)]=0x3]='UNIVER_SLIDE',_0x26da43[_0x26da43[_0x5efac8(0x15d)]=0x4]='UNIVER_PROJECT',_0x26da43[_0x26da43[_0x5efac8(0x244)]=-0x1]=_0x5efac8(0x244),_0x26da43))(X||{}),G=(_0x225712=>(_0x225712[_0x225712[_0x5efac8(0x170)]=0x0]=_0x5efac8(0x170),_0x225712[_0x225712[_0x5efac8(0x39f)]=0x1]='HELLO',_0x225712[_0x225712[_0x5efac8(0x393)]=0x2]=_0x5efac8(0x393),_0x225712[_0x225712['LEAVE']=0x3]=_0x5efac8(0x3cb),_0x225712[_0x225712[_0x5efac8(0x3ca)]=0x4]=_0x5efac8(0x3ca),_0x225712[_0x225712['HEARTBEAT']=0x5]='HEARTBEAT',_0x225712[_0x225712['RECV']=0x6]='RECV',_0x225712[_0x225712[_0x5efac8(0x244)]=-0x1]=_0x5efac8(0x244),_0x225712))(G||{}),ae=(_0x4d74a5=>(_0x4d74a5[_0x4d74a5[_0x5efac8(0x112)]=0x0]=_0x5efac8(0x112),_0x4d74a5[_0x4d74a5['OK']=0x1]='OK',_0x4d74a5[_0x4d74a5[_0x5efac8(0x1f4)]=0x2]=_0x5efac8(0x1f4),_0x4d74a5[_0x4d74a5[_0x5efac8(0x24b)]=0x3e9]=_0x5efac8(0x24b),_0x4d74a5[_0x4d74a5[_0x5efac8(0x3e7)]=0x3ea]=_0x5efac8(0x3e7),_0x4d74a5[_0x4d74a5['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0x5efac8(0x256),_0x4d74a5[_0x4d74a5[_0x5efac8(0x2ef)]=0x3ec]=_0x5efac8(0x2ef),_0x4d74a5[_0x4d74a5[_0x5efac8(0x244)]=-0x1]=_0x5efac8(0x244),_0x4d74a5))(ae||{}),Tt=(_0x163eea=>(_0x163eea[_0x163eea['Undefined']=0x0]=_0x5efac8(0xdd),_0x163eea[_0x163eea['HttpImport']=0x1]=_0x5efac8(0x25e),_0x163eea[_0x163eea['HttpExport']=0x2]=_0x5efac8(0x1a5),_0x163eea[_0x163eea[_0x5efac8(0xbb)]=0x3]=_0x5efac8(0xbb),_0x163eea[_0x163eea[_0x5efac8(0xdc)]=0x4]=_0x5efac8(0xdc),_0x163eea[_0x163eea['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x163eea))(Tt||{});const Y=_0x5efac8(0x1c7),Jt={};var Q=(_0x1cf09d=>(_0x1cf09d['OTHER_CLIENT_EDITING']=_0x5efac8(0x27c),_0x1cf09d[_0x5efac8(0x3cf)]=_0x5efac8(0x3cf),_0x1cf09d[_0x5efac8(0x21f)]=_0x5efac8(0x21f),_0x1cf09d[_0x5efac8(0x402)]='CLOSE_ROOM',_0x1cf09d['JOIN_ROOM_FAILED']=_0x5efac8(0x21d),_0x1cf09d[_0x5efac8(0x2ce)]=_0x5efac8(0x2ce),_0x1cf09d[_0x5efac8(0xad)]='SOCKET_FAILED',_0x1cf09d[_0x5efac8(0x220)]=_0x5efac8(0x220),_0x1cf09d))(Q||{});class te{constructor(){var _0x17fb1e=_0x5efac8;P(this,_0x17fb1e(0x3ba),new j['Subject']()),P(this,_0x17fb1e(0x345),this[_0x17fb1e(0x3ba)][_0x17fb1e(0x153)]());}[_0x5efac8(0x36f)](_0x2e8d5d){var _0x5b9a08=_0x5efac8;this[_0x5b9a08(0x3ba)][_0x5b9a08(0xaa)](_0x2e8d5d);}}const bt=a['createIdentifier']('univer-pro.collaboration-client.network-condition.service');function Rt(_0x3400c3){var _0x236a8f=_0x5efac8,_0x418981,_0x5f3381,_0x669271,_0x12d99d,_0xb81dda;const _0x6dfd29=_0x3400c3[_0x236a8f(0x3f9)],_0x1b3c39=JSON[_0x236a8f(0x2ed)](_0x6dfd29);switch(_0x1b3c39[_0x236a8f(0xb5)]){case G[_0x236a8f(0x1c4)]:case G[_0x236a8f(0x39f)]:{const _0x2fea67=_0x1b3c39['infoRsp'];return{..._0x1b3c39,'data':_0x2fea67,'cmd':_0x1b3c39['cmd']};}case G['JOIN']:{const _0x1d5325=_0x1b3c39[_0x236a8f(0x134)];return{..._0x1b3c39,'data':_0x1d5325,'cmd':_0x1b3c39[_0x236a8f(0xb5)]};}case G[_0x236a8f(0x19e)]:{const _0x26f0ce=_0x1b3c39[_0x236a8f(0x16f)];switch(_0x26f0ce[_0x236a8f(0x3dd)]){case g[_0x236a8f(0x25b)]['PERMISSION_REJ']:return{..._0x1b3c39,'data':{..._0x26f0ce,'data':(_0x418981=_0x26f0ce[_0x236a8f(0x16a)])==null?void 0x0:_0x418981['cs']},'cmd':_0x1b3c39[_0x236a8f(0xb5)]};case g['CollaborationEvent'][_0x236a8f(0x3ec)]:return{..._0x1b3c39,'data':{..._0x26f0ce,'data':(_0x5f3381=_0x26f0ce[_0x236a8f(0x22b)])==null?void 0x0:_0x5f3381['cs']},'cmd':_0x1b3c39['cmd']};case g[_0x236a8f(0x25b)][_0x236a8f(0x116)]:return{..._0x1b3c39,'data':{..._0x26f0ce,'data':(_0x669271=_0x26f0ce[_0x236a8f(0x317)])==null?void 0x0:_0x669271['cs']},'cmd':_0x1b3c39[_0x236a8f(0xb5)]};case g[_0x236a8f(0x25b)][_0x236a8f(0x14e)]:return{..._0x1b3c39,'data':{..._0x26f0ce,'data':(_0x12d99d=_0x26f0ce[_0x236a8f(0x144)])==null?void 0x0:_0x12d99d['cs']},'cmd':_0x1b3c39[_0x236a8f(0xb5)]};case g[_0x236a8f(0x25b)][_0x236a8f(0x161)]:return{..._0x1b3c39,'data':{..._0x26f0ce,'data':(_0xb81dda=_0x26f0ce[_0x236a8f(0x2e6)])==null?void 0x0:_0xb81dda['cs']},'cmd':_0x1b3c39['cmd']};case g[_0x236a8f(0x25b)][_0x236a8f(0x3b0)]:return{..._0x1b3c39,'data':{..._0x26f0ce,'data':_0x26f0ce[_0x236a8f(0x20d)]},'cmd':_0x1b3c39[_0x236a8f(0xb5)]};case g[_0x236a8f(0x25b)][_0x236a8f(0x293)]:return{..._0x1b3c39,'data':{..._0x26f0ce,'data':_0x26f0ce[_0x236a8f(0x31a)]},'cmd':_0x1b3c39[_0x236a8f(0xb5)]};case g[_0x236a8f(0x25b)][_0x236a8f(0x1a8)]:return{..._0x1b3c39,'data':{..._0x26f0ce,'data':_0x26f0ce[_0x236a8f(0x20a)]},'cmd':_0x1b3c39[_0x236a8f(0xb5)]};case g[_0x236a8f(0x25b)]['LIVESHARE_NEW_HOST']:return{..._0x1b3c39,'data':{..._0x26f0ce,'data':_0x26f0ce[_0x236a8f(0x332)]},'cmd':_0x1b3c39[_0x236a8f(0xb5)]};case g[_0x236a8f(0x25b)]['LIVESHARE_FETCH_OPERATIONS']:case g['CollaborationEvent'][_0x236a8f(0x21e)]:return{..._0x1b3c39,'data':{..._0x26f0ce,'data':_0x26f0ce[_0x236a8f(0x338)]},'cmd':_0x1b3c39[_0x236a8f(0xb5)]};case g[_0x236a8f(0x25b)][_0x236a8f(0x103)]:return{..._0x1b3c39,'data':{..._0x26f0ce,'data':_0x26f0ce[_0x236a8f(0x332)]},'cmd':_0x1b3c39['cmd']};case g[_0x236a8f(0x25b)]['MSG_FOR_ERROR']:return{..._0x1b3c39,'data':_0x26f0ce,'cmd':_0x1b3c39[_0x236a8f(0xb5)]};case g[_0x236a8f(0x25b)][_0x236a8f(0x40a)]:return{..._0x1b3c39,'data':{..._0x26f0ce,'data':_0x26f0ce['commentUpdateEvent']},'cmd':_0x1b3c39['cmd']};case g[_0x236a8f(0x25b)][_0x236a8f(0x276)]:return{..._0x1b3c39,'data':{..._0x26f0ce,'data':_0x26f0ce[_0x236a8f(0x196)]},'cmd':_0x1b3c39['cmd']};case g[_0x236a8f(0x25b)][_0x236a8f(0x18f)]:return{..._0x1b3c39,'data':{..._0x26f0ce,'data':_0x26f0ce[_0x236a8f(0x29e)]},'cmd':_0x1b3c39[_0x236a8f(0xb5)]};case g['CollaborationEvent']['UNISCRIPT_RUN']:return{..._0x1b3c39,'data':{..._0x26f0ce,'data':_0x26f0ce['uniscriptRunEvent']},'cmd':_0x1b3c39[_0x236a8f(0xb5)]};default:return _0x1b3c39;}}default:return _0x1b3c39;}}function yt(_0x11799e){var _0x4533d5=_0x5efac8;switch(_0x11799e[_0x4533d5(0xb5)]){case G[_0x4533d5(0x1c4)]:case G[_0x4533d5(0x39f)]:return JSON['stringify']({'cmd':_0x11799e[_0x4533d5(0xb5)],'routeKey':_0x11799e[_0x4533d5(0x195)]});case G[_0x4533d5(0x3ca)]:{let _0x299417;switch(_0x11799e['data']['eventID']){case g['CollaborationEvent'][_0x4533d5(0x3b0)]:{_0x299417={'eventID':g[_0x4533d5(0x25b)][_0x4533d5(0x3b0)],'updateCursorEvent':_0x11799e[_0x4533d5(0x3f9)]['data']};break;}case g[_0x4533d5(0x25b)]['USERS_LEAVE']:{_0x299417={'eventID':g[_0x4533d5(0x25b)]['USERS_LEAVE'],'leaveEvent':_0x11799e[_0x4533d5(0x3f9)][_0x4533d5(0x3f9)]};break;}case g['CollaborationEvent']['USERS_ENTER']:{_0x299417={'eventID':g[_0x4533d5(0x25b)][_0x4533d5(0x293)],'joinEvent':_0x11799e['data'][_0x4533d5(0x3f9)]};break;}case g[_0x4533d5(0x25b)][_0x4533d5(0x151)]:{_0x299417={'eventID':g[_0x4533d5(0x25b)][_0x4533d5(0x151)],'liveShareNewHost':_0x11799e[_0x4533d5(0x3f9)][_0x4533d5(0x3f9)]};break;}case g[_0x4533d5(0x25b)][_0x4533d5(0x21e)]:{_0x299417={'eventID':g[_0x4533d5(0x25b)]['LIVESHARE_OPERATION'],'liveShareOperation':_0x11799e[_0x4533d5(0x3f9)][_0x4533d5(0x3f9)]};break;}case g[_0x4533d5(0x25b)][_0x4533d5(0x103)]:{_0x299417={'eventID':g[_0x4533d5(0x25b)][_0x4533d5(0x103)],'liveShareTerminate':_0x11799e[_0x4533d5(0x3f9)][_0x4533d5(0x3f9)]};break;}case g[_0x4533d5(0x25b)]['LIVESHARE_REQUEST_HOST']:{_0x299417={'eventID':g[_0x4533d5(0x25b)][_0x4533d5(0x346)],'liveShareRequestHost':_0x11799e[_0x4533d5(0x3f9)][_0x4533d5(0x3f9)]};break;}case g['CollaborationEvent'][_0x4533d5(0x2a3)]:{_0x299417={'eventID':g[_0x4533d5(0x25b)][_0x4533d5(0x2a3)]};break;}default:_0x299417={'eventID':_0x11799e['data'][_0x4533d5(0x3dd)]};}return JSON[_0x4533d5(0x17d)]({'cmd':_0x11799e[_0x4533d5(0xb5)],'routeKey':_0x11799e[_0x4533d5(0x195)],'collaMsg':_0x299417});}case G[_0x4533d5(0x393)]:return JSON[_0x4533d5(0x17d)]({'cmd':_0x11799e[_0x4533d5(0xb5)],'routeKey':_0x11799e[_0x4533d5(0x195)],'joinReq':_0x11799e[_0x4533d5(0x3f9)]});case G[_0x4533d5(0x3cb)]:return JSON[_0x4533d5(0x17d)]({'cmd':_0x11799e[_0x4533d5(0xb5)],'routeKey':_0x11799e[_0x4533d5(0x195)],'leaveReq':_0x11799e[_0x4533d5(0x3f9)]});default:throw new Error(_0x4533d5(0xf8));}}var Xt=Object[_0x5efac8(0x227)],Zt=(_0xec29d8,_0x177b7f,_0x22f72d,_0x524eb5)=>{var _0x2e8841=_0x5efac8;for(var _0x261ecf=_0x524eb5>0x1?void 0x0:_0x524eb5?Xt(_0x177b7f,_0x22f72d):_0x177b7f,_0x4e79bc=_0xec29d8[_0x2e8841(0xec)]-0x1,_0x4b93bc;_0x4e79bc>=0x0;_0x4e79bc--)(_0x4b93bc=_0xec29d8[_0x4e79bc])&&(_0x261ecf=_0x4b93bc(_0x261ecf)||_0x261ecf);return _0x261ecf;},_e=(_0x41784a,_0x13a580)=>(_0x1ac763,_0x6ff8fa)=>_0x13a580(_0x1ac763,_0x6ff8fa,_0x41784a);const $e=a[_0x5efac8(0x9c)](_0x5efac8(0x271));function Qt(_0x3411cf,_0xb6b973,_0x561cc5){var _0x53c8c7=_0x5efac8;return _0x3411cf+'/'+_0xb6b973+_0x53c8c7(0x3a8)+_0x561cc5+_0x53c8c7(0x308);}exports[_0x5efac8(0x15a)]=class extends a[_0x5efac8(0x3a7)]{constructor(_0x5451cb,_0x1246f6,_0x19d814,_0x194e43,_0x138079){var _0x220083=_0x5efac8;super(),this['_injector']=_0x5451cb,this[_0x220083(0x102)]=_0x1246f6,this['_configService']=_0x19d814,this['_logService']=_0x194e43,this[_0x220083(0x2a1)]=_0x138079;}[_0x5efac8(0x37e)](_0x1cb1be){var _0x10ab00=_0x5efac8;const _0x547001=this[_0x10ab00(0xca)]['get'](q['ISocketService']);if(!_0x547001)throw new Error(_0x10ab00(0x1ad));const _0x2421c4=_0x547001[_0x10ab00(0x241)](_0x1cb1be);if(!_0x2421c4)throw new Error(_0x10ab00(0x17a));const _0x3aa27c=new a['DisposableCollection'](),_0x9dced7=new j['Subject']();_0x3aa27c[_0x10ab00(0x22e)](_0x2421c4[_0x10ab00(0xf0)]['subscribe'](_0x14969a=>_0x9dced7[_0x10ab00(0xaa)](_0x14969a))),_0x3aa27c[_0x10ab00(0x22e)](a[_0x10ab00(0x3bc)](()=>_0x9dced7['complete']()));const _0x24d61c=new j[(_0x10ab00(0x1c8))]();_0x3aa27c[_0x10ab00(0x22e)](_0x2421c4[_0x10ab00(0x3e2)][_0x10ab00(0xef)](_0x3f2ada=>_0x24d61c['next'](_0x3f2ada))),_0x3aa27c[_0x10ab00(0x22e)](a[_0x10ab00(0x3bc)](()=>_0x24d61c[_0x10ab00(0x268)]()));const _0x4f86ad=new j[(_0x10ab00(0x1c8))]();_0x3aa27c[_0x10ab00(0x22e)](_0x2421c4[_0x10ab00(0x1af)][_0x10ab00(0xef)](_0x53af56=>{var _0x455e3b=_0x10ab00;const _0x11c6e0=Rt(_0x53af56);_0x4f86ad[_0x455e3b(0xaa)](_0x11c6e0);})),_0x3aa27c['add'](a[_0x10ab00(0x3bc)](()=>_0x4f86ad[_0x10ab00(0x268)]()));let _0x43c402;const _0x1991cf=()=>{var _0x5cdc41=_0x10ab00;_0x24d61c[_0x5cdc41(0xaa)](new Event(_0x5cdc41(0x15c))),_0x9dced7[_0x5cdc41(0xaa)](new Event('connection\x20error')),_0x43c402[_0x5cdc41(0xdf)]();};return _0x43c402={'memberID':'','close$':_0x9dced7['asObservable'](),'error$':_0x24d61c[_0x10ab00(0x153)](),'open$':_0x2421c4[_0x10ab00(0x11a)],'message$':_0x4f86ad[_0x10ab00(0x153)](),'send':_0x56a43d=>{var _0x129c55=_0x10ab00;if(_0x56a43d['cmd']===G[_0x129c55(0x3ca)]){if(_0x56a43d[_0x129c55(0x3f9)][_0x129c55(0x3dd)]===g[_0x129c55(0x25b)]['SUBMIT_CHANGESET']){this[_0x129c55(0xee)](_0x43c402,_0x56a43d[_0x129c55(0x3f9)])['catch'](_0xf618f5=>{var _0x2f1968=_0x129c55;this[_0x2f1968(0x29f)][_0x2f1968(0x10b)](_0xf618f5),_0x1991cf();});return;}if(_0x56a43d[_0x129c55(0x3f9)][_0x129c55(0x3dd)]===g[_0x129c55(0x25b)][_0x129c55(0x3b3)]){const _0x3c002c=_0x56a43d[_0x129c55(0x3f9)];this[_0x129c55(0x265)](_0x3c002c)[_0x129c55(0xe8)](_0x1af4a3=>{var _0x25cd50=_0x129c55;_0x4f86ad[_0x25cd50(0xaa)]({'cmd':G['RECV'],'code':ae['OK'],'routeKey':_0x3c002c[_0x25cd50(0x3f9)][_0x25cd50(0x1e5)],'routeType':'','data':{'eventID':g[_0x25cd50(0x25b)][_0x25cd50(0x169)],'data':{'changesets':_0x1af4a3}}});})[_0x129c55(0xb4)](_0x534622=>{this['_logService']['error'](_0x534622),_0x1991cf();});return;}}_0x2421c4[_0x129c55(0x399)](yt(_0x56a43d));},'close':()=>{var _0x2de43c=_0x10ab00;_0x2421c4[_0x2de43c(0xdf)](),_0x3aa27c[_0x2de43c(0x246)]();}},_0x43c402;}async[_0x5efac8(0xee)](_0x40f00d,_0x245e7c){var _0x5a35b6=_0x5efac8,_0x21f503,_0x5e5fa3;const {unitType:_0x386332,unitID:_0x554b5c,changeset:_0x2100ac}=_0x245e7c[_0x5a35b6(0x3f9)],_0x43c27a={'unitID':_0x554b5c,'memberID':_0x40f00d['memberID'],'type':_0x386332,'changeset':g['parseChangesetToProtocol'](_0x2100ac)},_0x3e66f8=this[_0x5a35b6(0x18c)][_0x5a35b6(0x1ef)](It),_0x172bdb=this[_0x5a35b6(0x18c)]['getConfig'](Y),_0x4595f5=Qt((_0x5e5fa3=(_0x21f503=_0x172bdb==null?void 0x0:_0x172bdb[_0x5a35b6(0xfb)])!=null?_0x21f503:_0x3e66f8)!=null?_0x5e5fa3:Kt,_0x386332,_0x554b5c);try{await this[_0x5a35b6(0x102)][_0x5a35b6(0xf4)](_0x4595f5,{'body':_0x43c27a});}catch(_0x459d14){throw this['_logService'][_0x5a35b6(0x10b)]('[CollaborationSession]',_0x5a35b6(0xf3)),_0x459d14;}}async[_0x5efac8(0x265)](_0x274ad2){var _0x532390=_0x5efac8;const {unitID:_0x5de305,from:_0x1a2e88,to:_0x128500,unitType:_0x1a111a}=_0x274ad2[_0x532390(0x3f9)];return(await this[_0x532390(0x2a1)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x5de305,'type':_0x1a111a,'from':_0x1a2e88,'to':_0x128500}))[_0x532390(0x3de)];}},exports[_0x5efac8(0x15a)]=Zt([_e(0x0,a[_0x5efac8(0x388)](a[_0x5efac8(0x173)])),_e(0x1,a['Inject'](q[_0x5efac8(0x30b)])),_e(0x2,a[_0x5efac8(0x108)]),_e(0x3,a[_0x5efac8(0x319)]),_e(0x4,g[_0x5efac8(0x2f0)])],exports[_0x5efac8(0x15a)]);const ei='collaboration_new_changeset';function ti(_0x46d85d){var _0x39ac8a=_0x5efac8;return JSON[_0x39ac8a(0x17d)](_0x46d85d)['length'];}class Be{constructor(){var _0x4a3a0b=_0x5efac8;P(this,_0x4a3a0b(0x2e8),new j[(_0x4a3a0b(0x1c8))]()),P(this,'commentUpdate$',this[_0x4a3a0b(0x2e8)][_0x4a3a0b(0x153)]());}[_0x5efac8(0x350)](_0x11bdb6){var _0x1cc765=_0x5efac8;this[_0x1cc765(0x2e8)]['next'](_0x11bdb6);}}var ii=Object[_0x5efac8(0x227)],ni=(_0x46b426,_0x469638,_0x402720,_0x5c3171)=>{for(var _0x4317dc=_0x5c3171>0x1?void 0x0:_0x5c3171?ii(_0x469638,_0x402720):_0x469638,_0x8483f1=_0x46b426['length']-0x1,_0x368708;_0x8483f1>=0x0;_0x8483f1--)(_0x368708=_0x46b426[_0x8483f1])&&(_0x4317dc=_0x368708(_0x4317dc)||_0x4317dc);return _0x4317dc;},Ke=(_0x1e80ef,_0x246e42)=>(_0x5010e6,_0x24be44)=>_0x246e42(_0x5010e6,_0x24be44,_0x1e80ef);exports['MemberService']=class extends a[_0x5efac8(0x3a7)]{constructor(_0x112ff8,_0x4d7ca2){var _0xebb061=_0x5efac8;super(),P(this,_0xebb061(0x128),new Map()),P(this,'_roomCreated$',new j[(_0xebb061(0x1c8))]()),(this[_0xebb061(0x17c)]=_0x112ff8,this['_userManagerService']=_0x4d7ca2,this[_0xebb061(0x203)](j['merge'](this[_0xebb061(0x17c)][_0xebb061(0x1f9)](a[_0xebb061(0x330)][_0xebb061(0x379)])[_0xebb061(0x36a)](W[_0xebb061(0x378)](_0x264136=>_0x264136[_0xebb061(0x31b)]())),this['_univerInstanceService'][_0xebb061(0x1f9)](a[_0xebb061(0x330)][_0xebb061(0x175)])['pipe'](W[_0xebb061(0x378)](_0x557ce0=>_0x557ce0['getUnitId']())),this[_0xebb061(0x17c)][_0xebb061(0x1f9)](a[_0xebb061(0x330)][_0xebb061(0x113)])[_0xebb061(0x36a)](W[_0xebb061(0x378)](_0x121ac3=>_0x121ac3[_0xebb061(0x31b)]())))[_0xebb061(0xef)](_0x271a59=>this[_0xebb061(0xce)](_0x271a59))));}[_0x5efac8(0xab)](_0x46be18){var _0x16be3d=_0x5efac8;return this[_0x16be3d(0x128)][_0x16be3d(0x2a9)](_0x46be18)?j['of'](this['_roomMembers'][_0x16be3d(0x38a)](_0x46be18)):this[_0x16be3d(0x3fc)][_0x16be3d(0x36a)](W[_0x16be3d(0x378)](_0x5abdf7=>{if(_0x5abdf7===_0x46be18)return this['_roomMembers']['get'](_0x5abdf7);}));}['setCurrentUser'](_0x2730af){var _0x43154c=_0x5efac8;this['_userManagerService'][_0x43154c(0x337)](_0x2730af);}[_0x5efac8(0x3b4)](){var _0x32d381=_0x5efac8;return this[_0x32d381(0x32c)][_0x32d381(0x3b4)]();}[_0x5efac8(0x1d5)](_0x4e7c2e,_0x30a191){var _0x52760b=_0x5efac8;let _0x250e74=this[_0x52760b(0x128)]['get'](_0x4e7c2e);_0x250e74||(_0x250e74=new ri(),this[_0x52760b(0x128)][_0x52760b(0x269)](_0x4e7c2e,_0x250e74),this[_0x52760b(0x3fc)]['next'](_0x4e7c2e)),_0x250e74[_0x52760b(0x1d5)](_0x30a191);}[_0x5efac8(0x254)](_0x423bd4,_0x2cb7f0){var _0x4eb1ff=_0x5efac8;const _0x2e37a2=this[_0x4eb1ff(0x128)][_0x4eb1ff(0x38a)](_0x423bd4);_0x2e37a2&&_0x2e37a2[_0x4eb1ff(0x254)](_0x2cb7f0);}[_0x5efac8(0x3c0)](_0x54ea1a){var _0x27243a=_0x5efac8;return this[_0x27243a(0x128)][_0x27243a(0x38a)](_0x54ea1a);}[_0x5efac8(0xf5)](_0xdcd2de,_0x2d6989){var _0xd87f9f=_0x5efac8;const _0x1c4570=this[_0xd87f9f(0x128)]['get'](_0xdcd2de);if(_0x1c4570)return _0x1c4570[_0xd87f9f(0xf5)](_0x2d6989);}[_0x5efac8(0xce)](_0x2fcd3b){var _0x4cf6df=_0x5efac8;const _0x20e847=this[_0x4cf6df(0x128)][_0x4cf6df(0x38a)](_0x2fcd3b);_0x20e847&&(_0x20e847['dispose'](),this[_0x4cf6df(0x128)][_0x4cf6df(0x228)](_0x2fcd3b));}[_0x5efac8(0x246)](){var _0x497442=_0x5efac8;this[_0x497442(0x128)]['forEach'](_0x44eb7d=>_0x44eb7d[_0x497442(0x246)]()),this[_0x497442(0x128)][_0x497442(0x37b)](),this[_0x497442(0x3fc)][_0x497442(0x268)]();}},exports[_0x5efac8(0x9f)]=ni([Ke(0x0,a[_0x5efac8(0x1ba)]),Ke(0x1,a[_0x5efac8(0x388)](a[_0x5efac8(0x2bc)]))],exports[_0x5efac8(0x9f)]);class ri extends a['Disposable']{constructor(){var _0x18e5ab=_0x5efac8;super(...arguments),P(this,'_members',new Map()),P(this,_0x18e5ab(0x1c0),new j[(_0x18e5ab(0x155))](this[_0x18e5ab(0x3bd)])),P(this,_0x18e5ab(0x3da),this[_0x18e5ab(0x1c0)]['asObservable']());}[_0x5efac8(0x246)](){var _0x16c2bc=_0x5efac8;this['_members'][_0x16c2bc(0x37b)]();}['updateMember'](_0x55125e){var _0x30464a=_0x5efac8;this[_0x30464a(0x3bd)][_0x30464a(0x269)](_0x55125e[_0x30464a(0x124)],_0x55125e),this[_0x30464a(0x25a)]();}[_0x5efac8(0x254)](_0x4ecc0d){var _0x42b21c=_0x5efac8;this[_0x42b21c(0x3bd)][_0x42b21c(0x228)](_0x4ecc0d);}[_0x5efac8(0xf5)](_0x30255f){var _0x3f7320=_0x5efac8;return this[_0x3f7320(0x3bd)]['get'](_0x30255f);}['getAllMembers'](){var _0x22d926=_0x5efac8;return Array[_0x22d926(0x1c9)](this[_0x22d926(0x3bd)][_0x22d926(0x3d2)]());}[_0x5efac8(0x25a)](){var _0x17f4b6=_0x5efac8;this[_0x17f4b6(0x1c0)]['next'](this[_0x17f4b6(0x3bd)]);}}var si=Object[_0x5efac8(0x227)],oi=(_0x570889,_0x1c8e36,_0x494ed7,_0x295da5)=>{var _0x4b4972=_0x5efac8;for(var _0x5d6099=_0x295da5>0x1?void 0x0:_0x295da5?si(_0x1c8e36,_0x494ed7):_0x1c8e36,_0x1d7089=_0x570889[_0x4b4972(0xec)]-0x1,_0x4b3487;_0x1d7089>=0x0;_0x1d7089--)(_0x4b3487=_0x570889[_0x1d7089])&&(_0x5d6099=_0x4b3487(_0x5d6099)||_0x5d6099);return _0x5d6099;},oe=(_0x2114cc,_0x5c9234)=>(_0x228de9,_0x4acf26)=>_0x5c9234(_0x228de9,_0x4acf26,_0x2114cc),se=(_0x1b01fc=>(_0x1b01fc[_0x1b01fc[_0x5efac8(0xd3)]=0x0]=_0x5efac8(0xd3),_0x1b01fc[_0x1b01fc[_0x5efac8(0x342)]=0x1]=_0x5efac8(0x342),_0x1b01fc[_0x1b01fc['OFFLINE']=0x2]='OFFLINE',_0x1b01fc[_0x1b01fc[_0x5efac8(0x224)]=0x3]=_0x5efac8(0x224),_0x1b01fc))(se||{});const Ye={[ae['FAIL']]:_0x5efac8(0xd4),[ae[_0x5efac8(0x24b)]]:_0x5efac8(0x2a4),[ae[_0x5efac8(0x3e7)]]:_0x5efac8(0x35b),[ae[_0x5efac8(0x256)]]:_0x5efac8(0x324),[ae[_0x5efac8(0x2ef)]]:'session.room-cnt-exceeds'};exports[_0x5efac8(0x109)]=class extends a['RxDisposable']{constructor(_0x3a49c0,_0x536088,_0x1bc844,_0x53420a,_0x1509ce,_0x50cb5d,_0x5595f2,_0x4b118c,_0x9b2417){var _0x25ad2d=_0x5efac8;super(),P(this,'_sessionStatus$',new j['BehaviorSubject'](0x0)),P(this,_0x25ad2d(0x2ad),this[_0x25ad2d(0x2e1)][_0x25ad2d(0x153)]()),P(this,_0x25ad2d(0x3ba),new j[(_0x25ad2d(0x1c8))]()),P(this,_0x25ad2d(0x345),this[_0x25ad2d(0x3ba)][_0x25ad2d(0x153)]()),P(this,_0x25ad2d(0x126)),P(this,_0x25ad2d(0x1f7)),P(this,_0x25ad2d(0x10a)),P(this,_0x25ad2d(0x3fe),!0x1),P(this,_0x25ad2d(0x3a1),null),(this['_unitID']=_0x3a49c0,this[_0x25ad2d(0x29f)]=_0x1bc844,this[_0x25ad2d(0x18c)]=_0x53420a,this[_0x25ad2d(0x1f8)]=_0x1509ce,this[_0x25ad2d(0x16e)]=_0x50cb5d,this[_0x25ad2d(0x1a3)]=_0x5595f2,this[_0x25ad2d(0x130)]=_0x4b118c,this[_0x25ad2d(0x2b7)]=_0x9b2417,this[_0x25ad2d(0x3fe)]=!!this[_0x25ad2d(0x2b7)],_0x536088['pipe'](j['takeUntil'](this[_0x25ad2d(0x1ca)]))[_0x25ad2d(0xef)](_0x2977a3=>{var _0x3ab6f6=_0x25ad2d,_0x4152ec;typeof _0x2977a3>'u'||(this[_0x3ab6f6(0x126)]=_0x2977a3,_0x2977a3?(this[_0x3ab6f6(0x187)](_0x2977a3),this[_0x3ab6f6(0x1f7)]=_0x2977a3['message$'][_0x3ab6f6(0xef)](_0x5a6be6=>{var _0x1563e9=_0x3ab6f6;_0x5a6be6[_0x1563e9(0x195)]===this[_0x1563e9(0x2fd)]&&this[_0x1563e9(0x147)](_0x5a6be6);})):(this[_0x3ab6f6(0x31d)](),this[_0x3ab6f6(0x2e1)][_0x3ab6f6(0xaa)](0x2),(_0x4152ec=this[_0x3ab6f6(0x1f7)])==null||_0x4152ec[_0x3ab6f6(0x306)](),this[_0x3ab6f6(0x1f7)]=null));}));}get['sessionStatus'](){var _0x43deed=_0x5efac8;return this[_0x43deed(0x2e1)]['getValue']();}[_0x5efac8(0x3e9)](){var _0x5972f1=_0x5efac8,_0xca697b,_0x2a085a;return(_0x2a085a=(_0xca697b=this[_0x5972f1(0x126)])==null?void 0x0:_0xca697b[_0x5972f1(0x124)])!=null?_0x2a085a:null;}[_0x5efac8(0x246)](){var _0x1c1fe9=_0x5efac8;super[_0x1c1fe9(0x246)](),this[_0x1c1fe9(0x1ca)][_0x1c1fe9(0xaa)](),this['dispose$'][_0x1c1fe9(0x268)]();}[_0x5efac8(0xdf)](){var _0x427830=_0x5efac8,_0x3c51ad,_0x47105c;this[_0x427830(0x31d)](),(_0x3c51ad=this[_0x427830(0x126)])==null||_0x3c51ad['send']({'cmd':G[_0x427830(0x3cb)],'data':{'roomID':this[_0x427830(0x2fd)]}}),(_0x47105c=this[_0x427830(0x126)])==null||_0x47105c['close'](),this[_0x427830(0x3ba)][_0x427830(0x268)](),this['_sessionStatus$'][_0x427830(0x268)](),this['dispose']();}[_0x5efac8(0x147)](_0x269884){var _0x5dad16=_0x5efac8;_0x269884[_0x5dad16(0xb5)]===G[_0x5dad16(0x393)]?this[_0x5dad16(0x1b6)](_0x269884):_0x269884['cmd']===G[_0x5dad16(0x19e)]&&this['_onRecvEvent'](_0x269884);}[_0x5efac8(0x187)](_0x566feb){var _0x382021=_0x5efac8;this['_sessionStatus$'][_0x382021(0xaa)](0x1),_0x566feb['send']({'cmd':G[_0x382021(0x393)],'routeKey':this[_0x382021(0x2fd)],'routeType':'','data':{'rooms':[{'roomID':this[_0x382021(0x2fd)]}]}});}[_0x5efac8(0x1b6)](_0x4320bf){var _0xf2f2f=_0x5efac8,_0x147fd1;if(_0x4320bf[_0xf2f2f(0x375)]in Ye){this['_collaborationUIEventService'][_0xf2f2f(0x36f)]({'id':Q['JOIN_ROOM_FAILED'],'data':Ye[_0x4320bf[_0xf2f2f(0x375)]]}),this[_0xf2f2f(0x2e1)]['next'](0x2);return;}this[_0xf2f2f(0x2e1)][_0xf2f2f(0xaa)](0x3);const _0x479d26=(_0x147fd1=_0x4320bf[_0xf2f2f(0x3f9)][_0xf2f2f(0x323)][this[_0xf2f2f(0x2fd)]])==null?void 0x0:_0x147fd1['members'];_0x479d26&&_0x479d26['forEach'](_0x3a95e2=>this[_0xf2f2f(0x16e)][_0xf2f2f(0x1d5)](this[_0xf2f2f(0x2fd)],_0x3a95e2));}[_0x5efac8(0xa0)](_0x422693){var _0x3f53b0=_0x5efac8;try{const _0x4f6247=_0x422693['data'];switch(_0x4f6247[_0x3f53b0(0x3dd)]){case g[_0x3f53b0(0x25b)]['USERS_ENTER']:this['_onUserJoin'](_0x4f6247),this[_0x3f53b0(0x3ba)][_0x3f53b0(0xaa)](_0x4f6247);break;case g[_0x3f53b0(0x25b)]['USERS_LEAVE']:this[_0x3f53b0(0xbf)](_0x4f6247),this[_0x3f53b0(0x3ba)][_0x3f53b0(0xaa)](_0x4f6247);break;case g[_0x3f53b0(0x25b)]['CHANGESET_ACK']:case g[_0x3f53b0(0x25b)]['CHANGESET_SHOULD_RETRY']:this[_0x3f53b0(0x312)](),this[_0x3f53b0(0x3c9)](),this[_0x3f53b0(0x3ba)][_0x3f53b0(0xaa)](_0x4f6247);break;case g[_0x3f53b0(0x25b)][_0x3f53b0(0x273)]:this[_0x3f53b0(0x29f)][_0x3f53b0(0x10b)](_0x3f53b0(0x10d)+JSON['stringify'](_0x4f6247)),this[_0x3f53b0(0x3ba)][_0x3f53b0(0xaa)](_0x4f6247);break;case g[_0x3f53b0(0x25b)][_0x3f53b0(0x40a)]:this[_0x3f53b0(0x1a3)]['onCommentUpdate'](_0x4f6247[_0x3f53b0(0x3f9)]),this[_0x3f53b0(0x3ba)][_0x3f53b0(0xaa)](_0x4f6247);break;default:this[_0x3f53b0(0x3ba)][_0x3f53b0(0xaa)](_0x4f6247);}}catch(_0x44ec55){this[_0x3f53b0(0x29f)][_0x3f53b0(0x10b)](_0x44ec55,_0x422693);}}[_0x5efac8(0x1d7)](_0x40de50){var _0x342b3c=_0x5efac8;this[_0x342b3c(0x16e)][_0x342b3c(0x1d5)](this[_0x342b3c(0x2fd)],_0x40de50[_0x342b3c(0x3f9)]);}[_0x5efac8(0xbf)](_0x5879d8){var _0xa872c1=_0x5efac8;this['_memberService'][_0xa872c1(0x254)](this[_0xa872c1(0x2fd)],_0x5879d8[_0xa872c1(0x3f9)]['memberID']);}async[_0x5efac8(0x399)](_0x1fb66e,_0x353e5d){var _0x1e414d=_0x5efac8;if(this[_0x1e414d(0xf2)]!==0x3||!this[_0x1e414d(0x126)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x1fb66e[_0x1e414d(0x3dd)]===g[_0x1e414d(0x25b)][_0x1e414d(0x101)]&&(this[_0x1e414d(0x302)](),this['_startTelemetryCollaborationNewChangeset'](_0x1fb66e)),this[_0x1e414d(0x126)][_0x1e414d(0x399)]({'cmd':G[_0x1e414d(0x3ca)],'routeKey':_0x353e5d,'routeType':'','data':_0x1fb66e});}catch(_0x53945e){this[_0x1e414d(0x29f)][_0x1e414d(0x10b)](_0x53945e);}}['_scheduleCollaborationTimeoutTimer'](){var _0x1485db=_0x5efac8,_0x175f54;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x267577=_0x54da;this[_0x267577(0x10a)]=null,this['_collaborationUIEventService'][_0x267577(0x36f)]({'id':Q[_0x267577(0x220)]});},(_0x175f54=this[_0x1485db(0x18c)][_0x1485db(0x1ef)](je))!=null?_0x175f54:gt);}[_0x5efac8(0x3c9)](){var _0x4a496a=_0x5efac8;this[_0x4a496a(0x10a)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x4a496a(0x10a)]=null);}[_0x5efac8(0x364)](_0xf0c34f){var _0x66bd7b=_0x5efac8;if(!this[_0x66bd7b(0x3fe)])return;const {data:_0x16a37f}=_0xf0c34f,{unitID:_0x127131,changeset:_0x36c352}=_0x16a37f,{mutations:_0x998422,type:_0x307ac1}=_0x36c352;this[_0x66bd7b(0x3a1)]={'unitId':_0x127131,'type':_0x307ac1,'startTime':performance[_0x66bd7b(0x284)](),'stopTime':0x0,'duration':0x0,'size':ti(_0x998422)};}[_0x5efac8(0x312)](){var _0x3015f3=_0x5efac8;if(this[_0x3015f3(0x3fe)]){if(!this['_telemetryInfo']){this[_0x3015f3(0x29f)][_0x3015f3(0x10b)](_0x3015f3(0x30f),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x3015f3(0x3a1)]['stopTime']=performance[_0x3015f3(0x284)](),this['_telemetryInfo'][_0x3015f3(0x3c8)]=this[_0x3015f3(0x3a1)][_0x3015f3(0xe1)]-this[_0x3015f3(0x3a1)]['startTime'],this[_0x3015f3(0x2b7)][_0x3015f3(0x27a)](ei,this['_telemetryInfo']),this['_telemetryInfo']=null;}}[_0x5efac8(0x31d)](){var _0x5f26bb=_0x5efac8;this[_0x5f26bb(0x3a1)]=null;}},exports[_0x5efac8(0x109)]=oi([oe(0x2,a[_0x5efac8(0x319)]),oe(0x3,a[_0x5efac8(0x108)]),oe(0x4,a[_0x5efac8(0x388)](a[_0x5efac8(0x94)])),oe(0x5,a['Inject'](exports[_0x5efac8(0x9f)])),oe(0x6,a[_0x5efac8(0x388)](Be)),oe(0x7,a['Inject'](te)),oe(0x8,a[_0x5efac8(0xae)](Mt[_0x5efac8(0x3d7)]))],exports[_0x5efac8(0x109)]);var ai=Object['getOwnPropertyDescriptor'],ci=(_0x1f6dce,_0x50e596,_0x4b7d33,_0x303ce3)=>{var _0x279cfc=_0x5efac8;for(var _0x1de8d2=_0x303ce3>0x1?void 0x0:_0x303ce3?ai(_0x50e596,_0x4b7d33):_0x50e596,_0x1b09cb=_0x1f6dce[_0x279cfc(0xec)]-0x1,_0x315be4;_0x1b09cb>=0x0;_0x1b09cb--)(_0x315be4=_0x1f6dce[_0x1b09cb])&&(_0x1de8d2=_0x315be4(_0x1de8d2)||_0x1de8d2);return _0x1de8d2;},le=(_0x57fcb0,_0x303f75)=>(_0x43292b,_0x51cee3)=>_0x303f75(_0x43292b,_0x51cee3,_0x57fcb0);exports[_0x5efac8(0x215)]=class extends a[_0x5efac8(0x3a7)]{constructor(_0x154c79,_0x2d1124,_0x5676f0,_0x1fede4,_0x13a2f7,_0x23c42e){var _0x807026=_0x5efac8;super(),P(this,_0x807026(0x18e),new j[(_0x807026(0x155))](void 0x0)),P(this,_0x807026(0x19b),this[_0x807026(0x18e)][_0x807026(0x153)]()),P(this,_0x807026(0x1a1),null),P(this,_0x807026(0x19d),new Map()),P(this,_0x807026(0x26b),new j[(_0x807026(0x155))](se[_0x807026(0xd3)])),P(this,'status$',this[_0x807026(0x26b)][_0x807026(0x153)]()),P(this,_0x807026(0x2aa),!0x1),P(this,_0x807026(0x1f2)),P(this,_0x807026(0x211),0x0),P(this,_0x807026(0x357)),P(this,'_timeoutTimer'),(this[_0x807026(0xca)]=_0x154c79,this[_0x807026(0x29f)]=_0x2d1124,this[_0x807026(0x18c)]=_0x5676f0,this[_0x807026(0x31c)]=_0x1fede4,this[_0x807026(0x130)]=_0x13a2f7,this[_0x807026(0x2f1)]=_0x23c42e,this[_0x807026(0xd1)]());}get[_0x5efac8(0x126)](){var _0x48f349=_0x5efac8;return this[_0x48f349(0x18e)]['getValue']();}[_0x5efac8(0xd1)](){var _0x5b8d8d=_0x5efac8;this[_0x5b8d8d(0x2f1)]&&this[_0x5b8d8d(0x203)](this[_0x5b8d8d(0x2f1)][_0x5b8d8d(0x3bb)]['subscribe'](_0x5d887d=>{var _0x18827a=_0x5b8d8d;_0x5d887d&&!this['_socket']&&this[_0x18827a(0x304)](),_0x5d887d||this[_0x18827a(0xe2)]();}));}[_0x5efac8(0x246)](){var _0x5a1a3a=_0x5efac8;super[_0x5a1a3a(0x246)](),this[_0x5a1a3a(0x115)](),this[_0x5a1a3a(0x3f4)](),this[_0x5a1a3a(0x11e)](),this['_sessions'][_0x5a1a3a(0x297)](_0x16ef58=>_0x16ef58[_0x5a1a3a(0x246)]()),this[_0x5a1a3a(0x19d)][_0x5a1a3a(0x37b)](),this['_status$']['complete']();}async[_0x5efac8(0x2bf)](_0x199a59){var _0x2efd25=_0x5efac8;if(this[_0x2efd25(0x19d)][_0x2efd25(0x2a9)](_0x199a59))return this[_0x2efd25(0x19d)][_0x2efd25(0x38a)](_0x199a59);this[_0x2efd25(0x14c)]();const _0x52c67c=this[_0x2efd25(0xca)][_0x2efd25(0x34c)](exports[_0x2efd25(0x109)],_0x199a59,this['_socket$'][_0x2efd25(0x153)]());return this[_0x2efd25(0x19d)][_0x2efd25(0x269)](_0x199a59,_0x52c67c),_0x52c67c;}['closeSession'](_0x5e29a6){var _0x2859fa=_0x5efac8,_0x11b2e5;const _0x4a335b=this[_0x2859fa(0x19d)][_0x2859fa(0x38a)](_0x5e29a6);_0x4a335b&&(this['_sessions'][_0x2859fa(0x228)](_0x5e29a6),_0x4a335b[_0x2859fa(0xdf)]()),this[_0x2859fa(0x19d)][_0x2859fa(0x310)]||(_0x11b2e5=this[_0x2859fa(0x126)])==null||_0x11b2e5[_0x2859fa(0xdf)]();}[_0x5efac8(0x304)](){var _0x6e5652=_0x5efac8;this['_retryCount']=0x0,this[_0x6e5652(0x115)](),this[_0x6e5652(0x2fa)]();}[_0x5efac8(0x115)](){var _0x5801be=_0x5efac8;this[_0x5801be(0x1f2)]!=null&&(clearTimeout(this[_0x5801be(0x1f2)]),this[_0x5801be(0x1f2)]=null);}async[_0x5efac8(0x3ef)](){var _0x4d9a89=_0x5efac8,_0x563f2b,_0x1751b1;const _0x8c7b76=this[_0x4d9a89(0x18c)][_0x4d9a89(0x1ef)](St),_0x4f44a2=this[_0x4d9a89(0x18c)][_0x4d9a89(0x1ef)](Y),_0x38e742=(_0x1751b1=(_0x563f2b=_0x4f44a2==null?void 0x0:_0x4f44a2['collabWebSocketUrl'])!=null?_0x563f2b:_0x8c7b76)!=null?_0x1751b1:ft,_0x573d19=await this[_0x4d9a89(0x31c)][_0x4d9a89(0x241)](_0x38e742);return this[_0x4d9a89(0x1a1)]=_0x573d19,_0x573d19;}async[_0x5efac8(0x14c)](){var _0x4065e9=_0x5efac8,_0x398856,_0x216736;try{const _0x5c05a3=(_0x216736=(_0x398856=this[_0x4065e9(0x126)])!=null?_0x398856:this[_0x4065e9(0x1a1)])!=null?_0x216736:await this[_0x4065e9(0x3ef)]();if(_0x5c05a3){const _0x4b37df=_0x5c05a3[_0x4065e9(0x399)];_0x5c05a3[_0x4065e9(0x399)]=_0x5d7f80=>(this['_rescheduleHeartbeat'](),_0x4b37df[_0x4065e9(0x370)](_0x5c05a3,[_0x5d7f80])),_0x5c05a3['message$'][_0x4065e9(0xef)](_0x8cd23a=>this['_onMessage'](_0x5c05a3,_0x8cd23a)),_0x5c05a3[_0x4065e9(0x3e2)]['pipe'](W['take'](0x1))['subscribe'](_0x4a47e1=>this['_logService'][_0x4065e9(0x10b)](_0x4065e9(0xda),_0x4a47e1)),_0x5c05a3['open$'][_0x4065e9(0x36a)](W[_0x4065e9(0x183)](0x1))[_0x4065e9(0xef)](()=>{var _0xe19bae=_0x4065e9;this[_0xe19bae(0x3d9)](_0x5c05a3);}),_0x5c05a3['close$'][_0x4065e9(0x36a)](W['take'](0x1))[_0x4065e9(0xef)](_0x296a23=>{var _0x66d52b=_0x4065e9;this[_0x66d52b(0x29f)]['debug'](_0x66d52b(0x2d4),_0x66d52b(0x3a2),_0x296a23),this[_0x66d52b(0x35a)]();});}}catch(_0x565782){this[_0x4065e9(0x29f)][_0x4065e9(0x10b)](_0x565782),this['_onConnectionFailed']();}}[_0x5efac8(0x3d9)](_0x5bf8fd){var _0x3ec58e=_0x5efac8;this[_0x3ec58e(0x29f)][_0x3ec58e(0x23f)](_0x3ec58e(0x2d4),'socket\x20open.'),_0x5bf8fd['send']({'cmd':G[_0x3ec58e(0x39f)]}),this[_0x3ec58e(0x38e)]();}[_0x5efac8(0xe2)](){var _0x3b683c=_0x5efac8;this[_0x3b683c(0x2aa)]=!0x1,this[_0x3b683c(0x1a1)]=null,this[_0x3b683c(0x26b)]['next'](se[_0x3b683c(0x2b8)]),this[_0x3b683c(0x18e)][_0x3b683c(0xaa)](null),this[_0x3b683c(0x3f4)](),this[_0x3b683c(0x11e)]();}[_0x5efac8(0x35a)](){var _0x28c378=_0x5efac8,_0xbd032;this[_0x28c378(0xe2)](),this[_0x28c378(0x211)]<((_0xbd032=this[_0x28c378(0x18c)]['getConfig'](mt))!=null?_0xbd032:Wt)?(this[_0x28c378(0x130)][_0x28c378(0x36f)]({'id':Q['SOCKET_FAILED_RETRY']}),this[_0x28c378(0x2fa)]()):this[_0x28c378(0x130)][_0x28c378(0x36f)]({'id':Q[_0x28c378(0xad)]});}['_tryReconnect'](){var _0xc5f54e=_0x5efac8,_0x4eb084;const _0x5db65f=this[_0xc5f54e(0x211)],_0x436d61=this[_0xc5f54e(0x18c)][_0xc5f54e(0x1ef)](Y),_0x4b07e4=_0x5db65f===0x0?0x0:((_0x4eb084=_0x436d61==null?void 0x0:_0x436d61[_0xc5f54e(0x1f3)])!=null?_0x4eb084:Ft)*0x2**_0x5db65f;this['_retryConnectingTimer']=setTimeout(()=>{var _0xc6a50d=_0xc5f54e;clearTimeout(this[_0xc6a50d(0x1f2)]),this[_0xc6a50d(0x1f2)]=null,this[_0xc6a50d(0x14c)]();},_0x4b07e4),this[_0xc5f54e(0x211)]+=0x1;}[_0x5efac8(0x394)](_0x20ab6d,_0xd54a3e){var _0x5f4b2d=_0x5efac8;const {cmd:_0x1193d5}=_0xd54a3e;_0x1193d5===G[_0x5f4b2d(0x39f)]&&!this[_0x5f4b2d(0x2aa)]&&(_0x20ab6d[_0x5f4b2d(0x124)]=_0xd54a3e[_0x5f4b2d(0x3f9)]['memberID'],this[_0x5f4b2d(0x18e)][_0x5f4b2d(0xaa)](_0x20ab6d),this[_0x5f4b2d(0x26b)][_0x5f4b2d(0xaa)](se[_0x5f4b2d(0x224)]),this[_0x5f4b2d(0x2aa)]=!0x0,this[_0x5f4b2d(0x1a1)]=null),_0x1193d5===G[_0x5f4b2d(0x1c4)]&&this[_0x5f4b2d(0x3f4)](),this['_rescheduleHeartbeat']();}['_rescheduleHeartbeat'](){var _0x407a46=_0x5efac8,_0x5ad652;this[_0x407a46(0x11e)](),this[_0x407a46(0x357)]=setTimeout(()=>this[_0x407a46(0x1aa)](),(_0x5ad652=this[_0x407a46(0x18c)][_0x407a46(0x1ef)](pt))!=null?_0x5ad652:Bt);}[_0x5efac8(0x1aa)](){var _0x563847=_0x5efac8;this[_0x563847(0x126)][_0x563847(0x399)]({'cmd':G[_0x563847(0x1c4)]}),this[_0x563847(0x154)]();}[_0x5efac8(0x154)](){var _0x1e8069=_0x5efac8,_0x3f2cca;this[_0x1e8069(0x29b)]=setTimeout(()=>this[_0x1e8069(0x35a)](),(_0x3f2cca=this[_0x1e8069(0x18c)][_0x1e8069(0x1ef)](je))!=null?_0x3f2cca:gt);}['_clearHeartbeatTimer'](){var _0x45121d=_0x5efac8;this[_0x45121d(0x357)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x45121d(0x357)]=null);}[_0x5efac8(0x3f4)](){var _0x220190=_0x5efac8;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x220190(0x29b)]),this['_timeoutTimer']=null);}},exports[_0x5efac8(0x215)]=ci([le(0x0,a[_0x5efac8(0x388)](a[_0x5efac8(0x173)])),le(0x1,a['ILogService']),le(0x2,a[_0x5efac8(0x108)]),le(0x3,$e),le(0x4,a['Inject'](te)),le(0x5,a['Optional'](bt))],exports[_0x5efac8(0x215)]);const V=[];for(let n=0x0;n<0x100;++n)V[_0x5efac8(0x1e4)]((n+0x100)['toString'](0x10)[_0x5efac8(0x133)](0x1));function hi(_0x426027,_0x2dc508=0x0){return(V[_0x426027[_0x2dc508+0x0]]+V[_0x426027[_0x2dc508+0x1]]+V[_0x426027[_0x2dc508+0x2]]+V[_0x426027[_0x2dc508+0x3]]+'-'+V[_0x426027[_0x2dc508+0x4]]+V[_0x426027[_0x2dc508+0x5]]+'-'+V[_0x426027[_0x2dc508+0x6]]+V[_0x426027[_0x2dc508+0x7]]+'-'+V[_0x426027[_0x2dc508+0x8]]+V[_0x426027[_0x2dc508+0x9]]+'-'+V[_0x426027[_0x2dc508+0xa]]+V[_0x426027[_0x2dc508+0xb]]+V[_0x426027[_0x2dc508+0xc]]+V[_0x426027[_0x2dc508+0xd]]+V[_0x426027[_0x2dc508+0xe]]+V[_0x426027[_0x2dc508+0xf]])['toLowerCase']();}let Ue;const li=new Uint8Array(0x10);function _i(){var _0x2b37ba=_0x5efac8;if(!Ue){if(typeof crypto>'u'||!crypto[_0x2b37ba(0x143)])throw new Error(_0x2b37ba(0x174));Ue=crypto[_0x2b37ba(0x143)][_0x2b37ba(0xc0)](crypto);}return Ue(li);}const ui=typeof crypto<'u'&&crypto[_0x5efac8(0x249)]&&crypto['randomUUID'][_0x5efac8(0xc0)](crypto),qe={'randomUUID':ui};function di(_0x5b6750,_0x44d575,_0x4f8352){var _0x161a44=_0x5efac8,_0x1519fa,_0x3a9215,_0xc1ad96;if(qe[_0x161a44(0x249)]&&!_0x5b6750)return qe['randomUUID']();_0x5b6750=_0x5b6750||{};const _0x4732f8=(_0xc1ad96=(_0x3a9215=_0x5b6750[_0x161a44(0x160)])!=null?_0x3a9215:(_0x1519fa=_0x5b6750['rng'])==null?void 0x0:_0x1519fa['call'](_0x5b6750))!=null?_0xc1ad96:_i();if(_0x4732f8[_0x161a44(0xec)]<0x10)throw new Error(_0x161a44(0x110));return _0x4732f8[0x6]=_0x4732f8[0x6]&0xf|0x40,_0x4732f8[0x8]=_0x4732f8[0x8]&0x3f|0x80,hi(_0x4732f8);}const z=a['createIdentifier']('collaboration-client.local-cache-service');function vi(_0x32771f){var _0xf4719f=_0x5efac8;return _0xf4719f(0x225)+_0x32771f;}var Si=Object[_0x5efac8(0x227)],fi=(_0x465d42,_0x49b365,_0x14a075,_0x3c33d3)=>{for(var _0x460523=_0x3c33d3>0x1?void 0x0:_0x3c33d3?Si(_0x49b365,_0x14a075):_0x49b365,_0x439134=_0x465d42['length']-0x1,_0x255dce;_0x439134>=0x0;_0x439134--)(_0x255dce=_0x465d42[_0x439134])&&(_0x460523=_0x255dce(_0x460523)||_0x460523);return _0x460523;},Pe=(_0x1cadbb,_0x329cb2)=>(_0x6d9c32,_0x2b1caf)=>_0x329cb2(_0x6d9c32,_0x2b1caf,_0x1cadbb);function pi(_0x3f9945){const {unitID:_0x161eab,mutations:_0xa6a317}=_0x3f9945;return{'unitId':_0x161eab,'subUnitId':_0xa6a317[0x0]['params']['subUnitId']};}exports[_0x5efac8(0x1d6)]=class{constructor(_0x5edb1d,_0x3d357a,_0x1ed368){var _0x1e6f0f=_0x5efac8;this[_0x1e6f0f(0xca)]=_0x5edb1d,this[_0x1e6f0f(0x27b)]=_0x3d357a,this['_instanceService']=_0x1ed368;}[_0x5efac8(0x12c)](_0x234cc1){var _0x3fd90d=_0x5efac8,_0x1ef808,_0x4f051c,_0x640e40,_0x2e2b46;const _0x3ef92a=this['_injector'][_0x3fd90d(0x38a)](Z[_0x3fd90d(0x336)]),{unitId:_0x1ae863,subUnitId:_0x3be22b}=pi(_0x234cc1),_0x65bf1a=_0x3ef92a==null?void 0x0:_0x3ef92a[_0x3fd90d(0x329)](_0x1ae863)['getCurrentSelections'](),_0x467555=(_0x4f051c=(_0x1ef808=this[_0x3fd90d(0x152)][_0x3fd90d(0x355)](_0x1ae863))==null?void 0x0:_0x1ef808[_0x3fd90d(0x335)]())==null?void 0x0:_0x4f051c[_0x3fd90d(0x96)]();if(_0x65bf1a[_0x3fd90d(0xec)]===0x0||!_0x1ae863||!_0x3be22b)return;const _0x455a99=[{'id':Z[_0x3fd90d(0x16b)]['id'],'params':{'unitId':_0x1ae863,'subUnitId':_0x467555,'selections':a[_0x3fd90d(0x23d)]['deepClone'](_0x65bf1a)}}],_0x526d06=this[_0x3fd90d(0x27b)][_0x3fd90d(0x1b2)](_0x234cc1,_0x455a99);if(!g[_0x3fd90d(0x3f1)](_0x526d06))throw _0x526d06[_0x3fd90d(0x10b)];const _0x19c649=(_0x2e2b46=(_0x640e40=_0x526d06[_0x3fd90d(0x201)][0x0])==null?void 0x0:_0x640e40[_0x3fd90d(0x3f8)])==null?void 0x0:_0x2e2b46[_0x3fd90d(0x409)];if(Array[_0x3fd90d(0x3db)](_0x19c649)&&_0x19c649[_0x3fd90d(0xec)]){if(_0x19c649['length']===_0x455a99[0x0][_0x3fd90d(0x3f8)][_0x3fd90d(0x409)]['length']&&_0x19c649[_0x3fd90d(0x3b1)]((_0x5a0c55,_0x18ff46)=>a[_0x3fd90d(0x300)][_0x3fd90d(0x2b2)](_0x5a0c55[_0x3fd90d(0x234)],_0x455a99[0x0]['params'][_0x3fd90d(0x409)][_0x18ff46][_0x3fd90d(0x234)])))return;this[_0x3fd90d(0xca)][_0x3fd90d(0x38a)](a[_0x3fd90d(0x1cc)])[_0x3fd90d(0x258)](Z[_0x3fd90d(0x16b)]['id'],{'unitId':_0x1ae863,'subUnitId':_0x467555,'selections':_0x19c649});}}},exports[_0x5efac8(0x1d6)]=fi([Pe(0x0,a[_0x5efac8(0x388)](a['Injector'])),Pe(0x1,g['ITransformService']),Pe(0x2,a['IUniverInstanceService'])],exports[_0x5efac8(0x1d6)]);const ve=a[_0x5efac8(0x9c)](_0x5efac8(0x23e));var Fe=(_0x4aaa30=>(_0x4aaa30[_0x4aaa30[_0x5efac8(0x12d)]=0x0]=_0x5efac8(0x12d),_0x4aaa30[_0x4aaa30['OTHER_CLIENTS_EDITING']=0x1]=_0x5efac8(0x24f),_0x4aaa30))(Fe||{});const gi=new Set([Z['InsertSheetMutation']['id']]);function ze(_0x191ea5,_0x367807,_0x50d00e,_0x4ac030,_0x3d2864){var _0x279052=_0x5efac8,_0x649c5a,_0x274102,_0x17df11,_0x313304;const _0x1075cf=[];for(const _0x407758 of _0x191ea5)if(gi[_0x279052(0x2a9)](_0x407758['id'])){if(_0x1075cf[_0x279052(0xec)]>0x0)break;_0x1075cf[_0x279052(0x1e4)](_0x407758);break;}else _0x1075cf[_0x279052(0x1e4)](_0x407758);const _0x3b8f82=(_0x274102=(_0x649c5a=_0x3d2864[_0x279052(0x3b4)]())==null?void 0x0:_0x649c5a[_0x279052(0x2b5)])!=null?_0x274102:_0x279052(0x2ac),_0x2cf74b=(_0x313304=(_0x17df11=_0x3d2864[_0x279052(0x3b4)]())==null?void 0x0:_0x17df11[_0x279052(0x124)])!=null?_0x313304:_0x279052(0x2ac);return{'changeset':{'unitID':_0x367807,'type':g[_0x279052(0x1ea)](_0x50d00e[_0x279052(0xa4)](_0x367807)),'baseRev':_0x4ac030['getCurrentRevOfUnit'](_0x367807),'revision':0x0,'userID':_0x3b8f82,'memberID':_0x2cf74b,'mutations':_0x1075cf},'pendingMutations':_0x191ea5[_0x279052(0x133)](_0x1075cf[_0x279052(0xec)])};}function mi(_0x35b38d,_0x298f97,_0x2d9472,_0x2518d2,_0x22e2f7){var _0x382819=_0x5efac8,_0x3b4205,_0x19b750,_0x31c54c,_0xa79066;const _0xfafc49=[_0x35b38d['reduce']((_0x5ec190,_0x3478b8)=>{var _0x5a8237=_0x54da,_0x50442a;const {id:_0x1b20aa}=_0x5ec190,{id:_0x3653ca,type:_0x48c101}=_0x3478b8,_0x15c842=(_0x50442a=_0x5ec190[_0x5a8237(0x3f8)])!=null?_0x50442a:{'actions':null},_0x4d5dc0=_0x3478b8[_0x5a8237(0x3f8)];if(_0x1b20aa&&_0x1b20aa!==_0x3653ca)throw new Error(_0x5a8237(0x334)+_0x1b20aa+_0x5a8237(0x405)+_0x3653ca+'.');return{..._0x5ec190,'id':_0x3653ca,'type':_0x48c101,'params':{'unitId':_0x4d5dc0[_0x5a8237(0x191)],'textRanges':_0x4d5dc0[_0x5a8237(0x18a)],'actions':a[_0x5a8237(0x222)][_0x5a8237(0x11c)](_0x15c842[_0x5a8237(0x100)],_0x4d5dc0['actions'])}};},{})],_0x506db4=(_0x19b750=(_0x3b4205=_0x22e2f7[_0x382819(0x3b4)]())==null?void 0x0:_0x3b4205[_0x382819(0x2b5)])!=null?_0x19b750:_0x382819(0x2ac),_0x21b6b0=(_0xa79066=(_0x31c54c=_0x22e2f7['getCurrentUser']())==null?void 0x0:_0x31c54c[_0x382819(0x124)])!=null?_0xa79066:_0x382819(0x2ac);return{'changeset':{'unitID':_0x298f97,'type':g['mapDocumentTypeToUniverType'](_0x2d9472[_0x382819(0xa4)](_0x298f97)),'baseRev':_0x2518d2[_0x382819(0x14b)](_0x298f97),'revision':0x0,'userID':_0x506db4,'memberID':_0x21b6b0,'mutations':_0xfafc49},'pendingMutations':[]};}function Ot(_0x893a6,_0x33fa44){var _0x32b29c=_0x5efac8;const _0x2204a4=new j['ReplaySubject'](0x1);return setTimeout(()=>_0x2204a4[_0x32b29c(0xaa)](_0x33fa44),_0x893a6),_0x2204a4[_0x32b29c(0x153)]()[_0x32b29c(0x36a)](j[_0x32b29c(0x183)](0x1));}const Ii={'id':Z[_0x5efac8(0x37f)]['id'],'type':a[_0x5efac8(0x1b7)][_0x5efac8(0x34b)],'params':{}};var Ei=Object['getOwnPropertyDescriptor'],ce=(_0xc6a179,_0x59ddc9,_0xab11a9,_0x1c4d84)=>{var _0x64dbc3=_0x5efac8;for(var _0x1b362a=_0x1c4d84>0x1?void 0x0:_0x1c4d84?Ei(_0x59ddc9,_0xab11a9):_0x59ddc9,_0x1f6323=_0xc6a179[_0x64dbc3(0xec)]-0x1,_0x255955;_0x1f6323>=0x0;_0x1f6323--)(_0x255955=_0xc6a179[_0x1f6323])&&(_0x1b362a=_0x255955(_0x1b362a)||_0x1b362a);return _0x1b362a;},w=(_0x2136b5,_0x600267)=>(_0x50a017,_0x4ab73e)=>_0x600267(_0x50a017,_0x4ab73e,_0x2136b5),We=(_0x3d4ee0=>(_0x3d4ee0[_0x5efac8(0x9e)]=_0x5efac8(0x270),_0x3d4ee0[_0x5efac8(0x371)]='synced',_0x3d4ee0[_0x5efac8(0x296)]=_0x5efac8(0x307),_0x3d4ee0[_0x5efac8(0x2d3)]=_0x5efac8(0xea),_0x3d4ee0[_0x5efac8(0x309)]='awaiting_with_pending',_0x3d4ee0[_0x5efac8(0x199)]=_0x5efac8(0x239),_0x3d4ee0['CONFLICT']=_0x5efac8(0x1d0),_0x3d4ee0[_0x5efac8(0x2b8)]=_0x5efac8(0x2d6),_0x3d4ee0))(We||{});const Nt=0xea60;class he{constructor(_0x57fc79,_0x335a82,_0x5710fd,_0x10d6bc,_0x36b9d4,_0x3c5c1d,_0x4a9f33,_0xc48649,_0x38ad64){var _0x58436c=_0x5efac8;P(this,_0x58436c(0x214),null),P(this,_0x58436c(0x16c),[]),(this['unitID']=_0x57fc79,this[_0x58436c(0x1bf)]=_0x335a82,this[_0x58436c(0x36d)]=_0x36b9d4,this['_commandService']=_0x3c5c1d,this[_0x58436c(0x3f2)]=_0x4a9f33,this[_0x58436c(0x3b9)]=_0xc48649,this[_0x58436c(0x242)]=_0x38ad64,this['_awaitingChangeset']=_0x5710fd,this[_0x58436c(0x16c)]=_0x10d6bc);}[_0x5efac8(0x36c)](_0x1b69a){var _0x4e3351=_0x5efac8;const _0x508e5c=this[_0x4e3351(0x3b9)][_0x4e3351(0x14b)](this[_0x4e3351(0x1e5)]);return _0x1b69a[_0x4e3351(0x180)]>_0x508e5c+0x1?(this[_0x4e3351(0x36d)][_0x4e3351(0x20b)]({'from':_0x508e5c,'to':_0x1b69a[_0x4e3351(0x180)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x41c4c7){var _0x436439=_0x5efac8;this[_0x436439(0x3f2)][_0x436439(0x2a8)](this[_0x436439(0x1e5)],_0x41c4c7);}[_0x5efac8(0x36b)](_0x1555a1){var _0x152d59=_0x5efac8,_0x121856,_0x24ebe2;(_0x24ebe2=(_0x121856=this[_0x152d59(0x36d)])['onTransformSelections'])==null||_0x24ebe2[_0x152d59(0x181)](_0x121856,_0x1555a1);}[_0x5efac8(0x30e)](_0x388b75){var _0x4897b0=_0x5efac8,_0x6d64ec,_0x492b74;return(_0x492b74=(_0x6d64ec=this['_handler'])['onTransformIME'])==null?void 0x0:_0x492b74[_0x4897b0(0x181)](_0x6d64ec,_0x388b75);}['_transformStateCache'](_0x3251e7){var _0x5e3948=_0x5efac8,_0x41e346,_0x1a789f;return(_0x1a789f=(_0x41e346=this[_0x5e3948(0x36d)])[_0x5e3948(0x407)])==null?void 0x0:_0x1a789f[_0x5e3948(0x181)](_0x41e346,_0x3251e7);}[_0x5efac8(0x25f)](_0x43c915){var _0x485a4b=_0x5efac8,_0x53dabf,_0x2740ad,_0x483abd;return(_0x483abd=(_0x2740ad=(_0x53dabf=this[_0x485a4b(0x36d)])[_0x485a4b(0x23a)])==null?void 0x0:_0x2740ad[_0x485a4b(0x181)](_0x53dabf,_0x43c915))!=null?_0x483abd:_0x43c915;}[_0x5efac8(0x3be)](_0x5c70ca){var _0x1d8f0b=_0x5efac8,_0x5edf05,_0x55fa8b,_0xbc0701;return(_0xbc0701=(_0x55fa8b=(_0x5edf05=this[_0x1d8f0b(0x36d)])[_0x1d8f0b(0x23b)])==null?void 0x0:_0x55fa8b[_0x1d8f0b(0x181)](_0x5edf05,_0x5c70ca))!=null?_0xbc0701:_0x5c70ca;}[_0x5efac8(0x2af)](_0x2d6db5){var _0x7e8b3=_0x5efac8,_0x4c7d20,_0x3fa56c;if(this['type']===X[_0x7e8b3(0x175)]){const {unitID:_0xa2af57,mutations:_0x569b99,memberID:_0x300233}=_0x2d6db5,_0x9d5271=_0x569b99[0x0][_0x7e8b3(0x3f8)][_0x7e8b3(0x18a)];Array[_0x7e8b3(0x3db)](_0x9d5271)&&_0x9d5271[_0x7e8b3(0xec)]>0x0&&((_0x3fa56c=(_0x4c7d20=this['_handler'])['onSyncEditingCollabCursor'])==null||_0x3fa56c[_0x7e8b3(0x181)](_0x4c7d20,{'unitID':_0xa2af57,'memberID':_0x300233,'textRanges':_0x9d5271}));}}[_0x5efac8(0x2f5)](){var _0x48fe57=_0x5efac8,_0x4d13b1;(_0x4d13b1=this['_localCacheService'])==null||_0x4d13b1[_0x48fe57(0xd8)](this['unitID'],this[_0x48fe57(0x1bf)],this[_0x48fe57(0x214)],this[_0x48fe57(0x16c)]);}[_0x5efac8(0x3ea)](){var _0x29af04=_0x5efac8;return this[_0x29af04(0x3b9)][_0x29af04(0x14b)](this[_0x29af04(0x1e5)]);}[_0x5efac8(0x159)](){var _0x10255e=_0x5efac8;this[_0x10255e(0x3b9)][_0x10255e(0xcd)](this[_0x10255e(0x1e5)]);}[_0x5efac8(0x136)](_0x1d6245){var _0x2ca2d4=_0x5efac8,_0x46bb68;let _0x40f983=this[_0x2ca2d4(0x25f)](_0x1d6245);_0x40f983=this['_transformRemoteChangesetByStateCache'](_0x40f983);const _0xd4c5dd=a[_0x2ca2d4(0x1ed)](_0x40f983['mutations'],this[_0x2ca2d4(0x2d1)],{'fromCollab':!0x0});if(!_0xd4c5dd[_0x2ca2d4(0x107)])throw _0xd4c5dd[_0x2ca2d4(0x10b)]instanceof Error?_0xd4c5dd[_0x2ca2d4(0x10b)]:new Error((_0x46bb68=_0xd4c5dd[_0x2ca2d4(0x10b)])!=null?_0x46bb68:_0x2ca2d4(0x3c6));this['_transformIMECache'](_0x40f983),this[_0x2ca2d4(0x2f3)](_0x40f983),this[_0x2ca2d4(0x15f)](_0x1d6245),this[_0x2ca2d4(0x36b)](_0x40f983),this[_0x2ca2d4(0x2af)](_0x40f983),this['_incrementRevisionNumber']();}}exports[_0x5efac8(0x2ca)]=class extends he{constructor(_0x1d697f,_0x7bd5be,_0x141312,_0x62b59a,_0x3c7550,_0x3410d1,_0x5442b8,_0x737c6a,_0x464012,_0x58289c){var _0x10e492=_0x5efac8;super(_0x1d697f,_0x7bd5be,null,[],_0x141312,_0x5442b8,_0x3410d1,_0x62b59a,_0x58289c),P(this,'status',_0x10e492(0xba)),(this[_0x10e492(0xca)]=_0x3c7550,this[_0x10e492(0x29f)]=_0x737c6a,this['_transformService']=_0x464012,this[_0x10e492(0x2fe)]=_0x58289c);}[_0x5efac8(0x1ac)](_0x12845d){var _0x19d2ea=_0x5efac8;const _0x44663c=this[_0x19d2ea(0xca)]['createInstance'](exports[_0x19d2ea(0xe0)],this[_0x19d2ea(0x1e5)],this[_0x19d2ea(0x1bf)],[_0x12845d],this['_handler']);return _0x44663c[_0x19d2ea(0x277)](),_0x44663c[_0x19d2ea(0x2f5)](),_0x44663c;}[_0x5efac8(0x3b7)](_0x10aa5a){var _0x3c60b1=_0x5efac8;if(this[_0x3c60b1(0x36c)](_0x10aa5a))return this[_0x3c60b1(0xca)][_0x3c60b1(0x34c)](exports[_0x3c60b1(0x373)],this[_0x3c60b1(0x1e5)],this[_0x3c60b1(0x1bf)],null,[],null,[_0x10aa5a],this['_handler']);try{const _0x207239=this['_transformService'][_0x3c60b1(0x1b2)](_0x10aa5a,[Ii]);if(g[_0x3c60b1(0x3f1)](_0x207239)){const {c1Prime:_0x1509fd}=_0x207239;return this[_0x3c60b1(0x136)](_0x1509fd),this;}throw _0x207239[_0x3c60b1(0x10b)];}catch(_0x4859a6){return this[_0x3c60b1(0x29f)]['error'](_0x4859a6),this['_onConflict'](!0x1);}}[_0x5efac8(0x406)](_0x4eafd7){var _0x32a369=_0x5efac8;return this['_injector']['createInstance'](exports[_0x32a369(0x127)],this[_0x32a369(0x1e5)],this['type'],null,[],this['_handler'],_0x4eafd7);}['onRemoteAck'](){var _0x389de6=_0x5efac8;throw new Error(_0x389de6(0xa7));}[_0x5efac8(0x255)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x5efac8(0x2a2)](){return this;}[_0x5efac8(0x1d8)](){var _0x19aa9e=_0x5efac8;return this[_0x19aa9e(0xca)][_0x19aa9e(0x34c)](exports[_0x19aa9e(0x1b8)],this[_0x19aa9e(0x1e5)],this[_0x19aa9e(0x1bf)],null,[],this[_0x19aa9e(0x36d)]);}[_0x5efac8(0x3c1)](){return this;}[_0x5efac8(0x38f)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x5efac8(0x193)](){var _0x399f9d=_0x5efac8;const _0x20e108=this['_revisionService'][_0x399f9d(0x14b)](this[_0x399f9d(0x1e5)]);return this[_0x399f9d(0x36d)][_0x399f9d(0x20b)]({'from':_0x20e108,'to':0x0}),this[_0x399f9d(0xca)][_0x399f9d(0x34c)](exports[_0x399f9d(0x373)],this[_0x399f9d(0x1e5)],this['type'],null,[],null,[],this[_0x399f9d(0x36d)]);}},exports[_0x5efac8(0x2ca)]=ce([w(0x3,a[_0x5efac8(0x388)](g[_0x5efac8(0x22d)])),w(0x4,a[_0x5efac8(0x388)](a[_0x5efac8(0x173)])),w(0x5,a['IUndoRedoService']),w(0x6,a[_0x5efac8(0x1cc)]),w(0x7,a[_0x5efac8(0x319)]),w(0x8,g[_0x5efac8(0x3aa)]),w(0x9,a[_0x5efac8(0xae)](z))],exports['SyncedState']),exports[_0x5efac8(0xe0)]=class extends he{constructor(_0x39e4ab,_0x1999e3,_0x5638ae,_0x586cad,_0x3ae67b,_0x3a7eac,_0x508038,_0x23309d,_0x5c7c3a,_0x2a746f,_0x4cb400,_0x2a9b53,_0x34223d,_0x5df41d){var _0xad473d=_0x5efac8;super(_0x39e4ab,_0x1999e3,null,_0x5638ae,_0x586cad,_0x5c7c3a,_0x34223d,_0x3a7eac,_0x5df41d),P(this,_0xad473d(0x97),_0xad473d(0x307)),P(this,_0xad473d(0x14d),null),P(this,_0xad473d(0x20c),null),(this[_0xad473d(0xca)]=_0x3ae67b,this[_0xad473d(0x16e)]=_0x508038,this[_0xad473d(0x29f)]=_0x23309d,this[_0xad473d(0x18c)]=_0x2a746f,this[_0xad473d(0x27b)]=_0x4cb400,this[_0xad473d(0x17c)]=_0x2a9b53);}[_0x5efac8(0x1ac)](_0x2bd610){var _0x708b2e=_0x5efac8;return this[_0x708b2e(0x16c)][_0x708b2e(0x1e4)](_0x2bd610),this[_0x708b2e(0x2f5)](),this;}['onRemoteChangeset'](_0x31b94f){var _0x52a02b=_0x5efac8;if(this['_checkMissing'](_0x31b94f))return this[_0x52a02b(0xc1)](),this[_0x52a02b(0xca)][_0x52a02b(0x34c)](exports[_0x52a02b(0x373)],this[_0x52a02b(0x1e5)],this[_0x52a02b(0x1bf)],null,this['_pendingMutations'],null,[_0x31b94f],this['_handler']);try{const _0x416034=this[_0x52a02b(0x27b)][_0x52a02b(0x1b2)](_0x31b94f,this[_0x52a02b(0x16c)]);if(g[_0x52a02b(0x3f1)](_0x416034)){const {c1Prime:_0x2e7591,m2Prime:_0x460055}=_0x416034;this[_0x52a02b(0x136)](_0x2e7591);const _0x546d47=this[_0x52a02b(0xca)]['createInstance'](exports['PendingState'],this['unitID'],this['type'],_0x460055,this[_0x52a02b(0x36d)]);this['_clearScheduledTask']();const _0x2e995c=new Date()[_0x52a02b(0x3d5)](),_0x17cfdc=this[_0x52a02b(0x14d)]?Math['max'](this[_0x52a02b(0x14d)]-_0x2e995c,0x0):this[_0x52a02b(0x1ec)]();return _0x546d47[_0x52a02b(0x277)](_0x17cfdc),_0x546d47;}throw _0x416034[_0x52a02b(0x10b)];}catch(_0x3774d2){return this[_0x52a02b(0x29f)][_0x52a02b(0x10b)](_0x3774d2),this[_0x52a02b(0x406)](!0x1);}}[_0x5efac8(0x207)](){var _0x3831c8=_0x5efac8;throw new Error(_0x3831c8(0x12f));}[_0x5efac8(0x255)](){var _0x5cce27=_0x5efac8;throw new Error(_0x5cce27(0x1e7));}[_0x5efac8(0x2a2)](){return this;}['toggleOffline'](){var _0x514719=_0x5efac8;return this[_0x514719(0xc1)](),this['_injector'][_0x514719(0x34c)](exports[_0x514719(0x1b8)],this['unitID'],this[_0x514719(0x1bf)],null,this['_pendingMutations'],this[_0x514719(0x36d)]);}[_0x5efac8(0x3c1)](){return this;}[_0x5efac8(0x277)](_0x1c0312){var _0xddc756=_0x5efac8;const _0x41dcdd=_0x1c0312!=null?_0x1c0312:this[_0xddc756(0x1ec)]();this[_0xddc756(0x14d)]=new Date()[_0xddc756(0x3d5)]()+_0x41dcdd,this[_0xddc756(0x20c)]=setTimeout(()=>{var _0x2110c2=_0xddc756;this[_0x2110c2(0xc1)]();let _0x1a70d7=null;switch(this[_0x2110c2(0x1bf)]){case X[_0x2110c2(0x379)]:{_0x1a70d7=ze(this[_0x2110c2(0x16c)],this[_0x2110c2(0x1e5)],this[_0x2110c2(0x17c)],this['_revisionService'],this[_0x2110c2(0x16e)]);break;}case X['UNIVER_DOC']:{this['_pendingMutations'][_0x2110c2(0x3b1)](_0x1c3dea=>_0x1c3dea['id']===ut['RichTextEditingMutation']['id'])?_0x1a70d7=mi(this[_0x2110c2(0x16c)],this['unitID'],this[_0x2110c2(0x17c)],this['_revisionService'],this[_0x2110c2(0x16e)]):_0x1a70d7=ze(this[_0x2110c2(0x16c)],this[_0x2110c2(0x1e5)],this['_univerInstanceService'],this[_0x2110c2(0x3b9)],this['_memberService']);break;}default:throw new Error(_0x2110c2(0x274)+this['type']+'\x20in\x20_schedule.');}const {changeset:_0x3f7038,pendingMutations:_0x4eb772}=_0x1a70d7;this[_0x2110c2(0x36d)][_0x2110c2(0x142)](_0x3f7038);const _0x5f5af9=_0x4eb772[_0x2110c2(0xec)]?this[_0x2110c2(0xca)][_0x2110c2(0x34c)](exports[_0x2110c2(0xcb)],this[_0x2110c2(0x1e5)],this['type'],_0x3f7038,_0x4eb772,this[_0x2110c2(0x36d)],void 0x0):this[_0x2110c2(0xca)][_0x2110c2(0x34c)](exports[_0x2110c2(0x3a0)],this[_0x2110c2(0x1e5)],this[_0x2110c2(0x1bf)],_0x3f7038,this[_0x2110c2(0x36d)]);_0x5f5af9[_0x2110c2(0x2f5)](),this['_handler'][_0x2110c2(0x200)](this,_0x5f5af9);},_0x41dcdd);}[_0x5efac8(0x1ec)](){var _0x1d7cf8=_0x5efac8,_0x4c41bf;const _0x8b7463=this[_0x1d7cf8(0x18c)][_0x1d7cf8(0x1ef)](Y);return(_0x4c41bf=_0x8b7463==null?void 0x0:_0x8b7463[_0x1d7cf8(0x177)])!=null?_0x4c41bf:jt;}['resend'](){var _0x3b3967=_0x5efac8;throw new Error(_0x3b3967(0xcf));}[_0x5efac8(0xc1)](){var _0xecdec1=_0x5efac8;this['_sendingTimer']!=null&&(clearTimeout(this[_0xecdec1(0x20c)]),this[_0xecdec1(0x20c)]=null);}[_0x5efac8(0x406)](_0x2d1501){var _0x486f86=_0x5efac8;return this[_0x486f86(0xc1)](),this[_0x486f86(0xca)]['createInstance'](exports[_0x486f86(0x127)],this[_0x486f86(0x1e5)],this[_0x486f86(0x1bf)],null,this[_0x486f86(0x16c)],this[_0x486f86(0x36d)],_0x2d1501);}},exports[_0x5efac8(0xe0)]=ce([w(0x4,a[_0x5efac8(0x388)](a[_0x5efac8(0x173)])),w(0x5,a[_0x5efac8(0x388)](g['RevisionService'])),w(0x6,a[_0x5efac8(0x388)](exports[_0x5efac8(0x9f)])),w(0x7,a[_0x5efac8(0x319)]),w(0x8,a[_0x5efac8(0x1cc)]),w(0x9,a['IConfigService']),w(0xa,g[_0x5efac8(0x3aa)]),w(0xb,a[_0x5efac8(0x1ba)]),w(0xc,a[_0x5efac8(0x24c)]),w(0xd,a[_0x5efac8(0xae)](z))],exports[_0x5efac8(0xe0)]),exports[_0x5efac8(0x3a0)]=class extends he{constructor(_0x1e75e9,_0x4f8791,_0x10e9fb,_0x26cf54,_0x3df2df,_0x37643a,_0x391ef3,_0x2c0c58,_0x36d03d,_0x416a1b,_0x3f6bbe){var _0x156a36=_0x5efac8;super(_0x1e75e9,_0x4f8791,_0x10e9fb,[],_0x26cf54,_0x391ef3,_0x416a1b,_0x37643a,_0x3f6bbe),P(this,_0x156a36(0x97),_0x156a36(0xea)),P(this,_0x156a36(0x150),0x0),P(this,_0x156a36(0x1ab)),P(this,_0x156a36(0x1cf)),(this[_0x156a36(0xca)]=_0x3df2df,this[_0x156a36(0x29f)]=_0x2c0c58,this['_transformService']=_0x36d03d);}['appendMutation'](_0x46d3d5){var _0x3c9551=_0x5efac8;this['_clearScheduledTask']();const _0x14a440=this[_0x3c9551(0xca)][_0x3c9551(0x34c)](exports['AwaitingWithPendingState'],this[_0x3c9551(0x1e5)],this['type'],this[_0x3c9551(0x214)],[_0x46d3d5],this[_0x3c9551(0x36d)],this[_0x3c9551(0x1ab)]);return _0x14a440['_updateLocalCache'](),_0x14a440;}['onRemoteChangeset'](_0x11eeb2){var _0x3c9fe4=_0x5efac8;if(this['_checkMissing'](_0x11eeb2))return this[_0x3c9fe4(0xc1)](),this[_0x3c9fe4(0xca)][_0x3c9fe4(0x34c)](exports['FetchingMissState'],this[_0x3c9fe4(0x1e5)],this[_0x3c9fe4(0x1bf)],this[_0x3c9fe4(0x214)],[],null,[_0x11eeb2],this['_handler']);try{const _0x2ce31e=this[_0x3c9fe4(0x27b)][_0x3c9fe4(0x2c5)]([_0x11eeb2],[this[_0x3c9fe4(0x214)]],!0x1);if(g[_0x3c9fe4(0x2f7)](_0x2ce31e)){const {c1Prime:_0x12f57c,c2Prime:_0x5223ce}=_0x2ce31e;this[_0x3c9fe4(0x136)](_0x12f57c[0x0]),_0x5223ce[0x0]['baseRev']=this[_0x3c9fe4(0x3ea)](),this['_clearScheduledTask']();const _0x202e3e=this[_0x3c9fe4(0xca)]['createInstance'](exports[_0x3c9fe4(0x3a0)],this['unitID'],this[_0x3c9fe4(0x1bf)],_0x5223ce[0x0],this[_0x3c9fe4(0x36d)]);return _0x202e3e[_0x3c9fe4(0x2f5)](),_0x202e3e;}return this[_0x3c9fe4(0x406)](!0x1);}catch(_0x407a61){return this[_0x3c9fe4(0x29f)][_0x3c9fe4(0x10b)](_0x407a61),this[_0x3c9fe4(0x406)](!0x1);}}[_0x5efac8(0x207)](_0xa28c6c){var _0x10842e=_0x5efac8;this[_0x10842e(0xc1)]();const _0x46956c=this[_0x10842e(0x3b9)][_0x10842e(0x14b)](this['unitID']);if(_0xa28c6c[_0x10842e(0x180)]<_0x46956c-0x1)return this;if(this[_0x10842e(0x36c)](_0xa28c6c))return this[_0x10842e(0xca)]['createInstance'](exports['FetchingMissState'],this[_0x10842e(0x1e5)],this['type'],null,[],this[_0x10842e(0x214)],[],this[_0x10842e(0x36d)]);this['_incrementRevisionNumber']();const _0x108ad5=this['_injector'][_0x10842e(0x34c)](exports[_0x10842e(0x2ca)],this['unitID'],this[_0x10842e(0x1bf)],this[_0x10842e(0x36d)]);return _0x108ad5[_0x10842e(0x2f5)](),_0x108ad5;}[_0x5efac8(0x255)](_0x356629){return this['_onConflict'](!!(_0x356629!=null&&_0x356629['isPermissionRej']));}[_0x5efac8(0x2a2)](_0x2c5b80){var _0x3ff4e1=_0x5efac8;return this[_0x3ff4e1(0x150)]>Nt?this[_0x3ff4e1(0x1d8)]():(this[_0x3ff4e1(0x1ab)]=Ot(this[_0x3ff4e1(0x150)],{'timeout':this[_0x3ff4e1(0x150)],'reqId':_0x2c5b80[_0x3ff4e1(0x1e8)]}),this['_sender']=this[_0x3ff4e1(0x1ab)][_0x3ff4e1(0xef)](({reqId:_0x3218b1,timeout:_0x3b801b})=>{var _0x4b1970=_0x3ff4e1;this[_0x4b1970(0x1b9)](_0x3218b1,_0x3b801b);}),this);}[_0x5efac8(0x1d8)](){var _0x253d65=_0x5efac8;return this[_0x253d65(0xc1)](),this[_0x253d65(0xca)][_0x253d65(0x34c)](exports[_0x253d65(0x1b8)],this[_0x253d65(0x1e5)],this['type'],this['_awaitingChangeset'],[],this['_handler']);}['toggleOnline'](){return this;}[_0x5efac8(0x38f)](){var _0x66a863=_0x5efac8;this[_0x66a863(0x36d)][_0x66a863(0x142)](this[_0x66a863(0x214)]);}['_onConflict'](_0x842720){var _0x30da0f=_0x5efac8;return this['_clearScheduledTask'](),this['_injector'][_0x30da0f(0x34c)](exports[_0x30da0f(0x127)],this[_0x30da0f(0x1e5)],this[_0x30da0f(0x1bf)],this['_awaitingChangeset'],[],this[_0x30da0f(0x36d)],_0x842720);}['_resendWithTimeout'](_0x15e330,_0x685b8f){var _0x256100=_0x5efac8,_0x5c31bd;_0x15e330===((_0x5c31bd=this[_0x256100(0x214)])==null?void 0x0:_0x5c31bd[_0x256100(0x1e8)])&&(this[_0x256100(0x38f)](),this[_0x256100(0x150)]=_0x685b8f===0x0?0x3e8:_0x685b8f*0x2);}[_0x5efac8(0xc1)](){var _0x5a0103=_0x5efac8,_0x3f005c;(_0x3f005c=this[_0x5a0103(0x1cf)])==null||_0x3f005c[_0x5a0103(0x306)](),this[_0x5a0103(0x150)]=0x0;}},exports[_0x5efac8(0x3a0)]=ce([w(0x4,a[_0x5efac8(0x388)](a['Injector'])),w(0x5,a['Inject'](g['RevisionService'])),w(0x6,a['ICommandService']),w(0x7,a[_0x5efac8(0x319)]),w(0x8,g[_0x5efac8(0x3aa)]),w(0x9,a[_0x5efac8(0x24c)]),w(0xa,a[_0x5efac8(0xae)](z))],exports[_0x5efac8(0x3a0)]),exports['AwaitingWithPendingState']=class extends he{constructor(_0x50216f,_0x2b3be7,_0x2cd500,_0x2564c6,_0x17f1dd,_0x552d52,_0x554048,_0x20bdc1,_0x41547f,_0x6ec76d,_0x21aeaa,_0x92a62b,_0x5a4bff){var _0x346a69=_0x5efac8;super(_0x50216f,_0x2b3be7,_0x2cd500,_0x2564c6,_0x17f1dd,_0x41547f,_0x92a62b,_0x20bdc1,_0x5a4bff),P(this,_0x346a69(0x97),'awaiting_with_pending'),P(this,_0x346a69(0x150),0x0),P(this,_0x346a69(0x1ab)),P(this,_0x346a69(0x1cf)),(this['_injector']=_0x554048,this[_0x346a69(0x29f)]=_0x6ec76d,this['_transformService']=_0x21aeaa,this[_0x346a69(0x2fe)]=_0x5a4bff,_0x552d52&&(this[_0x346a69(0x1ab)]=_0x552d52,this['_sender']=this['_resendTimer'][_0x346a69(0xef)](({reqId:_0x3a98dd,timeout:_0x47fc06})=>{var _0x5c19cb=_0x346a69;this[_0x5c19cb(0x1b9)](_0x3a98dd,_0x47fc06);})));}['appendMutation'](_0x1eb579){var _0x47ec3c=_0x5efac8;return this['_pendingMutations'][_0x47ec3c(0x1e4)](_0x1eb579),this;}[_0x5efac8(0x3b7)](_0x4b100f){var _0x127eab=_0x5efac8;if(this['_checkMissing'](_0x4b100f))return this[_0x127eab(0xc1)](),this[_0x127eab(0xca)]['createInstance'](exports[_0x127eab(0x373)],this[_0x127eab(0x1e5)],this[_0x127eab(0x1bf)],this[_0x127eab(0x214)],this[_0x127eab(0x16c)],null,[_0x4b100f],this[_0x127eab(0x36d)]);try{const _0x3562e2=this[_0x127eab(0x27b)][_0x127eab(0x2c5)]([_0x4b100f],[this[_0x127eab(0x214)]],!0x1);if(g[_0x127eab(0x2f7)](_0x3562e2)){const {c1Prime:_0x3471b5,c2Prime:_0x4fb549}=_0x3562e2,_0x18c3f0=this[_0x127eab(0x27b)][_0x127eab(0x1b2)](_0x3471b5[0x0],this[_0x127eab(0x16c)]);if(g[_0x127eab(0x3f1)](_0x18c3f0)){const {c1Prime:_0x45ed76,m2Prime:_0x2935fe}=_0x18c3f0;return this[_0x127eab(0x136)](_0x45ed76),_0x4fb549[0x0][_0x127eab(0xf6)]=this[_0x127eab(0x3ea)](),this['_clearScheduledTask'](),this[_0x127eab(0xca)]['createInstance'](exports[_0x127eab(0xcb)],this['unitID'],this[_0x127eab(0x1bf)],_0x4fb549[0x0],_0x2935fe,this[_0x127eab(0x36d)],void 0x0);}throw _0x18c3f0['error'];}throw _0x3562e2['error'];}catch(_0x41b360){return this['_logService']['error'](_0x41b360),this[_0x127eab(0x406)](!0x1);}}[_0x5efac8(0x207)](_0x3c9a95){var _0x2900ac=_0x5efac8;if(this[_0x2900ac(0xc1)](),this[_0x2900ac(0x36c)](_0x3c9a95))return this[_0x2900ac(0xca)]['createInstance'](exports[_0x2900ac(0x373)],this[_0x2900ac(0x1e5)],this['type'],null,this[_0x2900ac(0x16c)],this[_0x2900ac(0x214)],[],this[_0x2900ac(0x36d)]);this[_0x2900ac(0x159)]();const _0x4409f4=this[_0x2900ac(0xca)]['createInstance'](exports[_0x2900ac(0xe0)],this[_0x2900ac(0x1e5)],this[_0x2900ac(0x1bf)],this['_pendingMutations'],this[_0x2900ac(0x36d)]);return _0x4409f4[_0x2900ac(0x277)](),_0x4409f4[_0x2900ac(0x2f5)](),_0x4409f4;}[_0x5efac8(0x255)](_0x96d90e){var _0x234de8=_0x5efac8;return this[_0x234de8(0x406)](!!(_0x96d90e!=null&&_0x96d90e[_0x234de8(0x186)]));}[_0x5efac8(0x2a2)](_0x2cb52b){var _0x2eb014=_0x5efac8;return this[_0x2eb014(0x150)]>Nt?this[_0x2eb014(0x1d8)]():(this[_0x2eb014(0x1ab)]=Ot(this[_0x2eb014(0x150)],{'timeout':this['_resendTimeout'],'reqId':_0x2cb52b['reqId']}),this[_0x2eb014(0x1cf)]=this[_0x2eb014(0x1ab)][_0x2eb014(0xef)](({reqId:_0x2c316e,timeout:_0x2da8db})=>{var _0x44a993=_0x2eb014;this[_0x44a993(0x1b9)](_0x2c316e,_0x2da8db);}),this);}['toggleOffline'](){var _0x422495=_0x5efac8;return this[_0x422495(0xc1)](),this['_injector'][_0x422495(0x34c)](exports[_0x422495(0x1b8)],this[_0x422495(0x1e5)],this[_0x422495(0x1bf)],this[_0x422495(0x214)],this[_0x422495(0x16c)],this[_0x422495(0x36d)]);}['toggleOnline'](){return this;}[_0x5efac8(0x38f)](){var _0x42d186=_0x5efac8;this[_0x42d186(0x36d)][_0x42d186(0x142)](this[_0x42d186(0x214)]);}['_onConflict'](_0x47ec52){var _0x5dea93=_0x5efac8;return this[_0x5dea93(0xc1)](),this[_0x5dea93(0xca)][_0x5dea93(0x34c)](exports[_0x5dea93(0x127)],this[_0x5dea93(0x1e5)],this[_0x5dea93(0x1bf)],null,this[_0x5dea93(0x16c)],this['_handler'],_0x47ec52);}[_0x5efac8(0x1b9)](_0x47db32,_0x28a30b){var _0xe8b68c=_0x5efac8,_0x4dd21a;_0x47db32===((_0x4dd21a=this[_0xe8b68c(0x214)])==null?void 0x0:_0x4dd21a[_0xe8b68c(0x1e8)])&&(this[_0xe8b68c(0x38f)](),this['_resendTimeout']=_0x28a30b===0x0?0x3e8:_0x28a30b*0x2);}[_0x5efac8(0xc1)](){var _0x3475d3=_0x5efac8,_0xff88ff;(_0xff88ff=this[_0x3475d3(0x1cf)])==null||_0xff88ff[_0x3475d3(0x306)](),this[_0x3475d3(0x150)]=0x0;}},exports['AwaitingWithPendingState']=ce([w(0x6,a[_0x5efac8(0x388)](a[_0x5efac8(0x173)])),w(0x7,a[_0x5efac8(0x388)](g[_0x5efac8(0x22d)])),w(0x8,a[_0x5efac8(0x1cc)]),w(0x9,a[_0x5efac8(0x319)]),w(0xa,g[_0x5efac8(0x3aa)]),w(0xb,a[_0x5efac8(0x24c)]),w(0xc,a[_0x5efac8(0xae)](z))],exports[_0x5efac8(0xcb)]),exports['ConflictState']=class extends he{constructor(_0x46eec2,_0x35293f,_0x3fb4de,_0x3c0e26,_0x4eaa2e,_0x4940ad=!0x1,_0x3be083,_0x560e4d,_0x3b6faf,_0x2cbd01,_0x533f5a,_0x325077,_0x212dfc){var _0x38eb79=_0x5efac8;super(_0x46eec2,_0x35293f,_0x3fb4de,_0x3c0e26,_0x4eaa2e,_0x560e4d,_0x3b6faf,_0x2cbd01,_0x212dfc),P(this,_0x38eb79(0x97),_0x38eb79(0x1d0)),(this['_isPermissionRej']=_0x4940ad,this[_0x38eb79(0x156)]=_0x3be083,this['_localeService']=_0x533f5a,this[_0x38eb79(0x130)]=_0x325077,this[_0x38eb79(0x2fe)]=_0x212dfc,this[_0x38eb79(0xc9)](),this[_0x38eb79(0xe4)](),this[_0x38eb79(0x22c)]());}[_0x5efac8(0x1ac)](){return this;}['onRemoteChangeset'](){return this;}[_0x5efac8(0x207)](){return this;}[_0x5efac8(0x255)](){return this;}[_0x5efac8(0x2a2)](){return this;}[_0x5efac8(0x1d8)](){return this;}[_0x5efac8(0x3c1)](){return this;}[_0x5efac8(0x38f)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x5efac8(0xe4)](){var _0x3a5b65=_0x5efac8,_0x5b6cf5;(_0x5b6cf5=this[_0x3a5b65(0x242)])==null||_0x5b6cf5['updateOfflineData'](this[_0x3a5b65(0x1e5)],this[_0x3a5b65(0x1bf)],null,[]);}[_0x5efac8(0xc9)](){var _0xc55e5c=_0x5efac8;this[_0xc55e5c(0x361)]?this[_0xc55e5c(0x130)][_0xc55e5c(0x36f)]({'id':Q[_0xc55e5c(0x3cf)]}):this[_0xc55e5c(0x130)][_0xc55e5c(0x36f)]({'id':Q[_0xc55e5c(0x21f)]});}[_0x5efac8(0x22c)](){var _0x31f099=_0x5efac8;this['_permissionService'][_0x31f099(0x1e1)](new Z['WorkbookEditablePermission'](this[_0x31f099(0x1e5)])['id'],!0x1);}},exports['ConflictState']=ce([w(0x6,a[_0x5efac8(0x388)](a[_0x5efac8(0x165)])),w(0x7,a[_0x5efac8(0x1cc)]),w(0x8,a['IUndoRedoService']),w(0x9,a[_0x5efac8(0x388)](g[_0x5efac8(0x22d)])),w(0xa,a[_0x5efac8(0x388)](a[_0x5efac8(0x94)])),w(0xb,a['Inject'](te)),w(0xc,a[_0x5efac8(0xae)](z))],exports[_0x5efac8(0x127)]),exports[_0x5efac8(0x1b8)]=class extends he{constructor(_0x31a9eb,_0x3dd1f5,_0x424718,_0x120d5d,_0x3bab2e,_0x1879d7,_0x15462c,_0x552c05,_0x5ed23a,_0x1ec0b2){var _0x1ff456=_0x5efac8;super(_0x31a9eb,_0x3dd1f5,_0x424718,_0x120d5d,_0x3bab2e,_0x552c05,_0x5ed23a,_0x15462c,_0x1ec0b2),P(this,_0x1ff456(0x97),'offline'),this[_0x1ff456(0xca)]=_0x1879d7;}[_0x5efac8(0x1ac)](_0x5932a3){var _0x1df4c1=_0x5efac8;return this[_0x1df4c1(0x16c)][_0x1df4c1(0x1e4)](_0x5932a3),this[_0x1df4c1(0x2f5)](),this;}[_0x5efac8(0x3b7)](_0x7d3f78){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x5efac8(0x207)](){var _0x54df8b=_0x5efac8;throw new Error(_0x54df8b(0x171));}['onRemoteRej'](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x5efac8(0x2a2)](){return this;}[_0x5efac8(0x1d8)](){return this;}[_0x5efac8(0x3c1)](){var _0x405e3d=_0x5efac8;const {_injector:_0xc2f2b1,_pendingMutations:_0x18f111,_awaitingChangeset:_0x2de7d6,unitID:_0x258a34,_handler:_0x144841,type:_0x1abc38}=this,_0x47e75c=Dt(_0xc2f2b1,_0x258a34,_0x1abc38,_0x2de7d6,_0x18f111,_0x144841);return _0x47e75c instanceof exports[_0x405e3d(0xe0)]?_0x47e75c[_0x405e3d(0x277)]():(_0x47e75c instanceof exports[_0x405e3d(0xcb)]||_0x47e75c instanceof exports[_0x405e3d(0x3a0)])&&_0x47e75c['resend'](),_0x47e75c;}[_0x5efac8(0x38f)](){var _0x200adf=_0x5efac8;throw new Error(_0x200adf(0x260));}},exports[_0x5efac8(0x1b8)]=ce([w(0x5,a[_0x5efac8(0x388)](a[_0x5efac8(0x173)])),w(0x6,a[_0x5efac8(0x388)](g['RevisionService'])),w(0x7,a[_0x5efac8(0x1cc)]),w(0x8,a[_0x5efac8(0x24c)]),w(0x9,a['Optional'](z))],exports['OfflineState']),exports['FetchingMissState']=class extends he{constructor(_0x395901,_0xc5f75f,_0x415b97,_0xb02135,_0x4c9002,_0x20fd25,_0x1211f4,_0x103897,_0x4e9dfa,_0x4cf9f6,_0x391c0b,_0x591473,_0x44f989,_0x38f8ae){var _0xb82cbd=_0x5efac8;super(_0x395901,_0xc5f75f,_0x415b97,_0xb02135,_0x1211f4,_0x391c0b,_0x591473,_0x4e9dfa,_0x38f8ae),P(this,_0xb82cbd(0x97),_0xb82cbd(0x239)),(this[_0xb82cbd(0x122)]=_0x4c9002,this[_0xb82cbd(0x1b3)]=_0x20fd25,this[_0xb82cbd(0xca)]=_0x103897,this[_0xb82cbd(0x29f)]=_0x4cf9f6,this[_0xb82cbd(0x27b)]=_0x44f989,this[_0xb82cbd(0x2fe)]=_0x38f8ae);}[_0x5efac8(0x1d1)](_0x31bf62){var _0x4ed164=_0x5efac8;try{const _0x285b3b=[..._0x31bf62,...this[_0x4ed164(0x1b3)]],_0x580fe8=[this[_0x4ed164(0x214)]||this['_acknowledgedAwaitingChangeset']]['filter'](_0x33dc4e=>!!_0x33dc4e);let _0x4d532f,_0x8127fd;if(_0x580fe8[_0x4ed164(0xec)]){const _0x5c6c16=this['_transformService'][_0x4ed164(0x2c5)](_0x285b3b,_0x580fe8,!0x1);if(!g['isTransformChangesetsSuccess'](_0x5c6c16))throw _0x5c6c16['error'];_0x4d532f=_0x5c6c16[_0x4ed164(0x3ee)],_0x8127fd=_0x5c6c16[_0x4ed164(0x28b)];}else _0x4d532f=_0x285b3b,_0x8127fd=[];let _0xd4fb4f=this[_0x4ed164(0x16c)];_0x4d532f['forEach'](_0x30036d=>{var _0x2ceb83=_0x4ed164;let _0x56af6b;if(_0xd4fb4f[_0x2ceb83(0xec)]){const _0x2c3ef=this['_transformService'][_0x2ceb83(0x1b2)](_0x30036d,_0xd4fb4f);if(!g['isTransformMutationsWithChangesetSuccess'](_0x2c3ef))throw _0x2c3ef['error'];_0x56af6b=_0x2c3ef['c1Prime'],_0xd4fb4f=_0x2c3ef[_0x2ceb83(0x201)];}else _0x56af6b=_0x30036d;this[_0x2ceb83(0x136)](_0x56af6b);}),this['_acknowledgedAwaitingChangeset']&&this[_0x4ed164(0x159)](),this[_0x4ed164(0x214)]&&_0x8127fd['length']&&(_0x8127fd[0x0][_0x4ed164(0xf6)]=this[_0x4ed164(0x3ea)]());let _0x21f059;if(this[_0x4ed164(0x214)]&&_0xd4fb4f[_0x4ed164(0xec)]!==0x0)_0x21f059=this['_injector'][_0x4ed164(0x34c)](exports[_0x4ed164(0xcb)],this[_0x4ed164(0x1e5)],this[_0x4ed164(0x1bf)],_0x8127fd[0x0],_0xd4fb4f,this[_0x4ed164(0x36d)],void 0x0);else{if(this[_0x4ed164(0x214)]&&_0xd4fb4f[_0x4ed164(0xec)]===0x0)_0x8127fd[0x0][_0x4ed164(0xf6)]=this[_0x4ed164(0x3ea)](),_0x21f059=this[_0x4ed164(0xca)]['createInstance'](exports[_0x4ed164(0x3a0)],this[_0x4ed164(0x1e5)],this['type'],_0x8127fd[0x0],this['_handler']);else{if(_0xd4fb4f[_0x4ed164(0xec)]!==0x0){const _0x2af77c=this[_0x4ed164(0xca)][_0x4ed164(0x34c)](exports[_0x4ed164(0xe0)],this['unitID'],this[_0x4ed164(0x1bf)],_0xd4fb4f,this['_handler']);_0x2af77c[_0x4ed164(0x277)](),_0x21f059=_0x2af77c;}else _0x21f059=this[_0x4ed164(0xca)][_0x4ed164(0x34c)](exports[_0x4ed164(0x2ca)],this[_0x4ed164(0x1e5)],this[_0x4ed164(0x1bf)],this[_0x4ed164(0x36d)]);}}return _0x21f059['_updateLocalCache'](),_0x21f059;}catch(_0xa884e){return this[_0x4ed164(0x29f)][_0x4ed164(0x10b)]('[FetchMissState]',_0x4ed164(0xed),_0xa884e),this[_0x4ed164(0xca)]['createInstance'](exports[_0x4ed164(0x127)],this[_0x4ed164(0x1e5)],this[_0x4ed164(0x1bf)],this[_0x4ed164(0x214)],this[_0x4ed164(0x16c)],this[_0x4ed164(0x36d)],!0x1);}}[_0x5efac8(0x38f)](){var _0x1febb2=_0x5efac8;throw new Error(_0x1febb2(0x25d));}[_0x5efac8(0x1ac)](_0x408eef){var _0x44e63f=_0x5efac8;return this[_0x44e63f(0x16c)][_0x44e63f(0x1e4)](_0x408eef),this;}['onRemoteChangeset'](_0x32a013){var _0x19f36b=_0x5efac8;return this['_queuedRemoteChangesets'][_0x19f36b(0x1e4)](_0x32a013),this;}['onRemoteAck'](_0xc4491e){var _0x37076b=_0x5efac8;if(this[_0x37076b(0x214)])return this['_acknowledgedAwaitingChangeset']=this[_0x37076b(0x214)],this['_awaitingChangeset']=null,this;throw new Error(_0x37076b(0x376));}[_0x5efac8(0x255)](_0x10d0df){var _0x315174=_0x5efac8;return this[_0x315174(0x406)](!!(_0x10d0df!=null&&_0x10d0df[_0x315174(0x186)]));}['onRemoteRetry'](){return this;}[_0x5efac8(0x1d8)](){var _0x10d225=_0x5efac8;return this[_0x10d225(0xca)][_0x10d225(0x34c)](exports[_0x10d225(0x1b8)],this[_0x10d225(0x1e5)],this['type'],this[_0x10d225(0x214)],this[_0x10d225(0x16c)],this[_0x10d225(0x36d)]);}[_0x5efac8(0x3c1)](){return this;}[_0x5efac8(0x406)](_0x976ee0){var _0x3d1045=_0x5efac8;return this['_injector'][_0x3d1045(0x34c)](exports[_0x3d1045(0x127)],this[_0x3d1045(0x1e5)],this[_0x3d1045(0x1bf)],this[_0x3d1045(0x214)],this[_0x3d1045(0x16c)],this[_0x3d1045(0x36d)],_0x976ee0);}},exports['FetchingMissState']=ce([w(0x7,a[_0x5efac8(0x388)](a['Injector'])),w(0x8,a[_0x5efac8(0x388)](g[_0x5efac8(0x22d)])),w(0x9,a[_0x5efac8(0x319)]),w(0xa,a[_0x5efac8(0x1cc)]),w(0xb,a[_0x5efac8(0x24c)]),w(0xc,g['ITransformService']),w(0xd,a[_0x5efac8(0xae)](z))],exports[_0x5efac8(0x373)]);function Dt(_0x1d97ca,_0x3d9189,_0x33b71a,_0x4e61d5,_0x487f7c,_0x4bf16e){var _0xfe09e=_0x5efac8;return _0x4e61d5&&_0x487f7c[_0xfe09e(0xec)]?_0x1d97ca['createInstance'](exports[_0xfe09e(0xcb)],_0x3d9189,_0x33b71a,_0x4e61d5,_0x487f7c,_0x4bf16e,void 0x0):_0x4e61d5?_0x1d97ca[_0xfe09e(0x34c)](exports['AwaitingState'],_0x3d9189,_0x33b71a,_0x4e61d5,_0x4bf16e):_0x487f7c[_0xfe09e(0xec)]?_0x1d97ca[_0xfe09e(0x34c)](exports['PendingState'],_0x3d9189,_0x33b71a,_0x487f7c,_0x4bf16e):_0x1d97ca['createInstance'](exports['SyncedState'],_0x3d9189,_0x33b71a,_0x4bf16e);}var Ci=Object['getOwnPropertyDescriptor'],Ge=(_0x91a7ea,_0x198f5e,_0xa5cfbf,_0x447da8)=>{var _0x1d5529=_0x5efac8;for(var _0x348630=_0x447da8>0x1?void 0x0:_0x447da8?Ci(_0x198f5e,_0xa5cfbf):_0x198f5e,_0x2bcce6=_0x91a7ea[_0x1d5529(0xec)]-0x1,_0x38de97;_0x2bcce6>=0x0;_0x2bcce6--)(_0x38de97=_0x91a7ea[_0x2bcce6])&&(_0x348630=_0x38de97(_0x348630)||_0x348630);return _0x348630;},$=(_0x295654,_0x5885be)=>(_0x2f6ffc,_0x15fbc3)=>_0x5885be(_0x2f6ffc,_0x15fbc3,_0x295654);exports[_0x5efac8(0x1f5)]=class extends a['RxDisposable']{constructor(_0x52ef11,_0x28c88c,_0x3a2655,_0xd90830,_0x519080,_0x345af2,_0x1118b3,_0x3a919e,_0x16dba1,_0x27b023,_0x10e6dc,_0x264f6e,_0x532849){var _0x302eda=_0x5efac8;super(),P(this,_0x302eda(0x352),new j[(_0x302eda(0x155))](null)),P(this,'state$',this[_0x302eda(0x352)][_0x302eda(0x153)]()),P(this,'_state'),P(this,_0x302eda(0x106),!0x1),P(this,'_changesetSessionId',''),P(this,'_changesetReqId',0x0),P(this,_0x302eda(0x167),this['state$'][_0x302eda(0x36a)](j[_0x302eda(0x378)](_0x486598=>_0x486598?_0x486598['status']:We[_0x302eda(0x2b8)]),j[_0x302eda(0x1dd)](0x1))),P(this,_0x302eda(0x3fa),!0x1),P(this,_0x302eda(0x34f),[]),(this[_0x302eda(0x1e5)]=_0x52ef11,this[_0x302eda(0xd9)]=_0x28c88c,this['_type']=_0x3a2655,this[_0x302eda(0xca)]=_0xd90830,this[_0x302eda(0x305)]=_0x519080,this['_localeService']=_0x345af2,this[_0x302eda(0x3b9)]=_0x1118b3,this[_0x302eda(0x157)]=_0x3a919e,this[_0x302eda(0x29f)]=_0x16dba1,this['_commandService']=_0x27b023,this['_permissionService']=_0x10e6dc,this[_0x302eda(0x11b)]=_0x264f6e,this[_0x302eda(0x242)]=_0x532849);}get[_0x5efac8(0x349)](){var _0x55bd98=_0x5efac8;return this[_0x55bd98(0x2c7)];}async[_0x5efac8(0xf9)](){var _0x7d5265=_0x5efac8;if(this['state'])throw new Error(_0x7d5265(0x2b1));await this[_0x7d5265(0x1df)]();}[_0x5efac8(0x369)](){var _0x5dc26c=_0x5efac8;return this[_0x5dc26c(0x106)]=!0x0,a['toDisposable'](()=>{var _0x203ab7=_0x5dc26c;this[_0x203ab7(0x106)]=!0x1,this[_0x203ab7(0x20e)]();});}[_0x5efac8(0x3ff)](_0x3cc6c8){this['_onLocalMutation'](_0x3cc6c8);}[_0x5efac8(0x192)](_0x50b78f){var _0x4e5ceb=_0x5efac8;this[_0x4e5ceb(0x2c7)]=_0x50b78f,this[_0x4e5ceb(0x352)][_0x4e5ceb(0xaa)](_0x50b78f);}async[_0x5efac8(0x1df)](){var _0x33b3ef=_0x5efac8,_0x1e7ce0;this[_0x33b3ef(0x192)](await this['_createInitialState']()),this[_0x33b3ef(0x11b)]&&((_0x1e7ce0=this[_0x33b3ef(0x11b)])==null||_0x1e7ce0[_0x33b3ef(0x139)](this[_0x33b3ef(0x1e5)]),this[_0x33b3ef(0x203)](this[_0x33b3ef(0x11b)][_0x33b3ef(0x250)](this[_0x33b3ef(0x1e5)])[_0x33b3ef(0xef)](_0x59e164=>{var _0x5db313=_0x33b3ef;this['_logService'][_0x5db313(0x23f)](_0x5db313(0x209),_0x5db313(0x2e5),_0x59e164),_0x59e164===Fe[_0x5db313(0x24f)]?(this[_0x5db313(0x157)]['emitEvent']({'id':Q[_0x5db313(0x27c)]}),this[_0x5db313(0x156)]['updatePermissionPoint'](new Z[(_0x5db313(0x261))](this['unitID'])['id'],!0x1),this[_0x5db313(0x156)][_0x5db313(0x2df)](!0x1)):(this[_0x5db313(0x156)][_0x5db313(0x1e1)](new Z[(_0x5db313(0x261))](this[_0x5db313(0x1e5)])['id'],!0x0),this['_permissionService'][_0x5db313(0x2df)](!0x0));})));let _0x31bbb3=!0x1;return this['disposeWithMe'](this['session'][_0x33b3ef(0x2ad)]['subscribe'](_0x4cf5a3=>{var _0x443b94=_0x33b3ef;_0x4cf5a3===se[_0x443b94(0x224)]?this[_0x443b94(0x28a)](_0x31bbb3):_0x4cf5a3===se[_0x443b94(0x2b8)]&&(_0x31bbb3=!0x0,this[_0x443b94(0x238)]());})),this[_0x33b3ef(0x203)](this['session'][_0x33b3ef(0x345)][_0x33b3ef(0xef)](_0x380e41=>{var _0x5b14bb=_0x33b3ef;try{switch(_0x380e41[_0x5b14bb(0x3dd)]){case g[_0x5b14bb(0x25b)][_0x5b14bb(0x116)]:{this[_0x5b14bb(0xb0)](g[_0x5b14bb(0x325)](_0x380e41['data']));break;}case g[_0x5b14bb(0x25b)][_0x5b14bb(0x3ec)]:{this[_0x5b14bb(0x230)](_0x380e41[_0x5b14bb(0x3f9)]);break;}case g[_0x5b14bb(0x25b)][_0x5b14bb(0x14e)]:{this['_onRemoteRejected']();break;}case g[_0x5b14bb(0x25b)][_0x5b14bb(0x161)]:{this['_onRemoteRetry'](_0x380e41[_0x5b14bb(0x3f9)]);break;}case g[_0x5b14bb(0x25b)][_0x5b14bb(0x169)]:{this[_0x5b14bb(0x1a9)](_0x380e41[_0x5b14bb(0x3f9)][_0x5b14bb(0x3de)][_0x5b14bb(0x378)](_0x1fea28=>g[_0x5b14bb(0x325)](_0x1fea28)));break;}case g[_0x5b14bb(0x25b)][_0x5b14bb(0x13a)]:{this[_0x5b14bb(0xfd)]({'isPermissionRej':!0x0});break;}case g[_0x5b14bb(0x25b)][_0x5b14bb(0x398)]:break;}}catch(_0x4f51ae){throw console['error'](_0x5b14bb(0x34e),_0x4f51ae),_0x4f51ae;}})),this[_0x33b3ef(0x2c7)];}[_0x5efac8(0x1b1)](){this['_transitionLocked']=!0x1;}[_0x5efac8(0x382)](){var _0x98a269=_0x5efac8;if(this['_transitionLocked'])throw new Error(_0x98a269(0x384));this[_0x98a269(0x3fa)]=!0x0;}['_onLocalMutation'](_0x18c23f){var _0x327115=_0x5efac8;this['_lockTransition'](),this[_0x327115(0x192)](this['_state'][_0x327115(0x1ac)](_0x18c23f)),this[_0x327115(0x1b1)]();}[_0x5efac8(0xb0)](_0x28d782){var _0x128903=_0x5efac8;if(!(_0x28d782[_0x128903(0x180)]<=this[_0x128903(0x3b9)][_0x128903(0x14b)](this[_0x128903(0x1e5)]))){if(this[_0x128903(0x106)]){this[_0x128903(0x34f)]['push'](_0x28d782);return;}this[_0x128903(0x34d)](_0x28d782);}}[_0x5efac8(0x20e)](){var _0x566e42=_0x5efac8;this[_0x566e42(0x34f)][_0x566e42(0x297)](_0x6e175=>this[_0x566e42(0x34d)](_0x6e175)),this[_0x566e42(0x34f)]=[];}[_0x5efac8(0x34d)](_0x504ccc){var _0x1d144d=_0x5efac8;const _0x5a384c=this[_0x1d144d(0x305)]['interceptor']['fetchThroughInterceptors'](this[_0x1d144d(0x305)][_0x1d144d(0x267)][_0x1d144d(0x198)]()[_0x1d144d(0x19f)])(_0x504ccc[_0x1d144d(0x129)],null)||_0x504ccc['mutations'],_0x1d994f={..._0x504ccc,'mutations':_0x5a384c};this[_0x1d144d(0x382)](),this[_0x1d144d(0x192)](this[_0x1d144d(0x2c7)][_0x1d144d(0x3b7)](_0x1d994f)),this[_0x1d144d(0x1b1)]();}[_0x5efac8(0x230)](_0x34df05){var _0x15508c=_0x5efac8;this[_0x15508c(0x382)](),this[_0x15508c(0x192)](this[_0x15508c(0x2c7)]['onRemoteAck'](_0x34df05)),this[_0x15508c(0x1b1)]();}['_onRemoteRejected'](_0x384a32){var _0x28015e=_0x5efac8;this[_0x28015e(0x382)](),this[_0x28015e(0x192)](this['_state'][_0x28015e(0x255)](_0x384a32)),this[_0x28015e(0x1b1)]();}['_onRemoteRetry'](_0x4c3d62){var _0x4efeb3=_0x5efac8;this[_0x4efeb3(0x382)](),this[_0x4efeb3(0x192)](this['_state'][_0x4efeb3(0x2a2)](_0x4c3d62)),this[_0x4efeb3(0x1b1)]();}[_0x5efac8(0x1a9)](_0x5e3813){var _0x336d85=_0x5efac8;if(!(this[_0x336d85(0x2c7)]instanceof exports['FetchingMissState']))throw new TypeError(_0x336d85(0x163));const _0x5d3957=_0x5e3813[_0x336d85(0x378)](_0x5832ca=>{var _0x3b2ed9=_0x336d85;const _0x1452b3=this['_compressMutationService'][_0x3b2ed9(0x267)][_0x3b2ed9(0x1a4)](this[_0x3b2ed9(0x305)][_0x3b2ed9(0x267)][_0x3b2ed9(0x198)]()[_0x3b2ed9(0x19f)])(_0x5832ca[_0x3b2ed9(0x129)],null)||_0x5832ca[_0x3b2ed9(0x129)];return{..._0x5832ca,'mutations':_0x1452b3};});this[_0x336d85(0x382)](),this[_0x336d85(0x192)](this[_0x336d85(0x2c7)][_0x336d85(0x1d1)](_0x5d3957)),this[_0x336d85(0x1b1)]();}['_toggleOffline'](){var _0x299e29=_0x5efac8;this['_lockTransition'](),this[_0x299e29(0x192)](this[_0x299e29(0x2c7)][_0x299e29(0x1d8)]()),this['_unlockTransition']();}[_0x5efac8(0x28a)](_0x1d7f7c=!0x1){var _0x14e473=_0x5efac8;this[_0x14e473(0x382)](),this['_updateState'](this[_0x14e473(0x2c7)][_0x14e473(0x3c1)]()),this['_unlockTransition']();const _0x245af5=this['_state'];_0x1d7f7c&&_0x245af5 instanceof exports[_0x14e473(0x2ca)]&&(this[_0x14e473(0x382)](),this[_0x14e473(0x192)](_0x245af5[_0x14e473(0x193)]()),this['_unlockTransition']());}async[_0x5efac8(0x31e)](){return new Promise(_0x300452=>{var _0x53ad41=_0x54da;this[_0x53ad41(0xd9)][_0x53ad41(0x2ad)]['pipe'](j['take'](0x1))[_0x53ad41(0xef)](async _0x1bb4c8=>{var _0x20f4ff=_0x53ad41;_0x300452(await this[_0x20f4ff(0x1de)](_0x1bb4c8===se[_0x20f4ff(0x224)]));});});}['_createHandler'](){var _0x3c72bf=_0x5efac8;const _0x176e7e=this[_0x3c72bf(0x1e5)];return{'onStateChange':(_0xef716,_0x18fcbe)=>{var _0x490a41=_0x3c72bf;if(_0xef716!==this[_0x490a41(0x2c7)])throw new Error(_0x490a41(0x365)+_0xef716['status']+_0x490a41(0x123)+_0x18fcbe[_0x490a41(0x97)]+_0x490a41(0x33f)+this[_0x490a41(0x2c7)][_0x490a41(0x97)]);this[_0x490a41(0x192)](_0x18fcbe);},'onSendChangeset':_0x3ac21a=>{var _0x466390=_0x3c72bf;_0x3ac21a['sid']||(_0x3ac21a['sid']=this[_0x466390(0x212)],_0x3ac21a[_0x466390(0x1e8)]=++this['_changesetReqId']);const _0x4777b9={'eventID':g[_0x466390(0x25b)][_0x466390(0x101)],'data':{'unitID':_0x3ac21a[_0x466390(0x1e5)],'unitType':this[_0x466390(0x340)],'changeset':_0x3ac21a,'memberID':this[_0x466390(0xd9)]['getMemberID']()}};this[_0x466390(0xd9)][_0x466390(0x399)](_0x4777b9,this[_0x466390(0x1e5)]);},'onMissingChangesets':({from:_0xda63,to:_0x2501ce})=>{var _0x41ee57=_0x3c72bf;this[_0x41ee57(0x29f)][_0x41ee57(0x23f)]('[CollaborationEntity]','fetching\x20missing\x20changesets\x20from\x20'+_0xda63+_0x41ee57(0x1e0)+_0x2501ce);const _0x66d009={'eventID':g[_0x41ee57(0x25b)]['FETCH_MISSING'],'data':{'unitID':_0x176e7e,'unitType':this['_type'],'from':_0xda63,'to':_0x2501ce}};this[_0x41ee57(0xd9)][_0x41ee57(0x399)](_0x66d009,this[_0x41ee57(0x1e5)]);}};}async['_createInitialStateImpl'](_0x1fcfd0){var _0x57d4a3=_0x5efac8,_0x1d1907,_0x38dc8c,_0x56cd00;const _0x27fb04=await((_0x1d1907=this['_localCacheService'])==null?void 0x0:_0x1d1907['loadOfflineData'](this[_0x57d4a3(0x1e5)])),_0x371b33=(_0x38dc8c=_0x27fb04==null?void 0x0:_0x27fb04[_0x57d4a3(0x129)])!=null?_0x38dc8c:[],_0x3ebc29=(_0x56cd00=_0x27fb04==null?void 0x0:_0x27fb04[_0x57d4a3(0x247)])!=null?_0x56cd00:null,_0x360e2d=!!(_0x3ebc29!=null&&_0x3ebc29[_0x57d4a3(0xc2)])&&!!(_0x3ebc29!=null&&_0x3ebc29[_0x57d4a3(0x1e8)]);this[_0x57d4a3(0x212)]=_0x360e2d?_0x3ebc29[_0x57d4a3(0xc2)]:di(),this[_0x57d4a3(0x2dd)]=_0x360e2d?_0x3ebc29[_0x57d4a3(0x1e8)]:0x0;const _0x3a2eca=this['unitID'];try{this[_0x57d4a3(0x30c)](_0x3ebc29,_0x371b33);}catch(_0x45bbf7){this[_0x57d4a3(0x29f)][_0x57d4a3(0x10b)](_0x45bbf7);}const _0x11f9ff=this[_0x57d4a3(0x1d3)]();if(_0x1fcfd0){const _0x3b2694=Dt(this[_0x57d4a3(0xca)],_0x3a2eca,this['_type'],_0x3ebc29,_0x371b33,_0x11f9ff);return _0x3b2694 instanceof exports[_0x57d4a3(0xe0)]?_0x3b2694[_0x57d4a3(0x277)]():(_0x3b2694 instanceof exports[_0x57d4a3(0xcb)]||_0x3b2694 instanceof exports['AwaitingState'])&&_0x3b2694[_0x57d4a3(0x38f)](),_0x3b2694;}return this[_0x57d4a3(0xca)][_0x57d4a3(0x34c)](exports['OfflineState'],_0x3a2eca,this[_0x57d4a3(0x340)],_0x3ebc29,_0x371b33,_0x11f9ff);}[_0x5efac8(0x30c)](_0x139122,_0x29dc8f){var _0x52529b=_0x5efac8,_0x21d863,_0x36f97b;const _0x366104=this[_0x52529b(0x305)]['interceptor'][_0x52529b(0x1a4)](this[_0x52529b(0x305)]['interceptor'][_0x52529b(0x198)]()['COMPRESS_MUTATION_APPLY']);(_0x21d863=_0x366104((_0x139122==null?void 0x0:_0x139122['mutations'])||[],null))==null||_0x21d863[_0x52529b(0x297)](_0xf72445=>this[_0x52529b(0x2d1)][_0x52529b(0x258)](_0xf72445['id'],_0xf72445[_0x52529b(0x3f8)])),(_0x36f97b=_0x366104(_0x29dc8f||[],null))==null||_0x36f97b[_0x52529b(0x297)](_0x5eabec=>this[_0x52529b(0x2d1)][_0x52529b(0x258)](_0x5eabec['id'],_0x5eabec[_0x52529b(0x3f8)]));}},exports[_0x5efac8(0x1f5)]=Ge([$(0x3,a['Inject'](a[_0x5efac8(0x173)])),$(0x4,a[_0x5efac8(0x388)](g[_0x5efac8(0x13e)])),$(0x5,a['Inject'](a[_0x5efac8(0x94)])),$(0x6,a[_0x5efac8(0x388)](g[_0x5efac8(0x22d)])),$(0x7,a['Inject'](te)),$(0x8,a[_0x5efac8(0x319)]),$(0x9,a['ICommandService']),$(0xa,a[_0x5efac8(0x165)]),$(0xb,a[_0x5efac8(0xae)](ve)),$(0xc,a[_0x5efac8(0xae)](z))],exports[_0x5efac8(0x1f5)]),exports[_0x5efac8(0x235)]=class extends exports[_0x5efac8(0x1f5)]{constructor(_0x36e9d8,_0x499369,_0x401a03,_0x5a318c,_0x29f1d0,_0x19fbe6,_0x1ff923,_0x356021,_0x37d203,_0x46a050,_0x43c85a,_0x1706db,_0x1b22ce){var _0x281941=_0x5efac8;super(_0x36e9d8,_0x401a03,_0x499369,_0x5a318c,_0x29f1d0,_0x19fbe6,_0x1ff923,_0x356021,_0x37d203,_0x46a050,_0x43c85a,_0x1706db,_0x1b22ce),P(this,_0x281941(0xb1),null),(this[_0x281941(0x1e5)]=_0x36e9d8,this[_0x281941(0x1bf)]=_0x499369);}['addHandlerCallback'](_0x2a6cea){var _0x10c348=_0x5efac8;this[_0x10c348(0xb1)]=_0x2a6cea;}[_0x5efac8(0x246)](){var _0x265747=_0x5efac8;this[_0x265747(0xb1)]=null,super[_0x265747(0x246)]();}[_0x5efac8(0x1d3)](){var _0x122a1c=_0x5efac8;const _0x880872=super[_0x122a1c(0x1d3)]();return _0x880872['onTransformIME']=_0x5c5bb5=>{var _0x1a7c59=_0x122a1c,_0x434507,_0x121ea2;return(_0x121ea2=(_0x434507=this['_handlerCallback'])==null?void 0x0:_0x434507[_0x1a7c59(0x216)])==null?void 0x0:_0x121ea2['call'](_0x434507,_0x5c5bb5);},_0x880872['onTransformState']=_0x3ed683=>{var _0x162d08=_0x122a1c,_0x3989f5,_0x5e33d1;return(_0x5e33d1=(_0x3989f5=this[_0x162d08(0xb1)])==null?void 0x0:_0x3989f5[_0x162d08(0x407)])==null?void 0x0:_0x5e33d1[_0x162d08(0x181)](_0x3989f5,_0x3ed683);},_0x880872[_0x122a1c(0x359)]=_0x335819=>{var _0x677978=_0x122a1c,_0x28ee1d,_0x11ab05;return(_0x11ab05=(_0x28ee1d=this['_handlerCallback'])==null?void 0x0:_0x28ee1d[_0x677978(0x359)])==null?void 0x0:_0x11ab05[_0x677978(0x181)](_0x28ee1d,_0x335819);},_0x880872['onSyncEditingCollabCursor']=_0x150106=>{var _0x32461a=_0x122a1c,_0x2a4d1f,_0xa9aa15;return(_0xa9aa15=(_0x2a4d1f=this['_handlerCallback'])==null?void 0x0:_0x2a4d1f['onSyncEditingCollabCursor'])==null?void 0x0:_0xa9aa15[_0x32461a(0x181)](_0x2a4d1f,_0x150106);},_0x880872[_0x122a1c(0x23a)]=_0x271736=>{var _0x144aba=_0x122a1c,_0x563437,_0x4afec2,_0x108c48;if(!((_0x563437=this[_0x144aba(0xb1)])!=null&&_0x563437[_0x144aba(0x23a)]))throw new Error(_0x144aba(0x2cc));return(_0x108c48=(_0x4afec2=this['_handlerCallback'])==null?void 0x0:_0x4afec2[_0x144aba(0x23a)])==null?void 0x0:_0x108c48[_0x144aba(0x181)](_0x4afec2,_0x271736);},_0x880872[_0x122a1c(0x23b)]=_0x108cf1=>{var _0x5d4b12=_0x122a1c,_0x292281,_0x1f5389,_0x2514ac;if(!((_0x292281=this[_0x5d4b12(0xb1)])!=null&&_0x292281[_0x5d4b12(0x23b)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x2514ac=(_0x1f5389=this[_0x5d4b12(0xb1)])==null?void 0x0:_0x1f5389[_0x5d4b12(0x23b)])==null?void 0x0:_0x2514ac[_0x5d4b12(0x181)](_0x1f5389,_0x108cf1);},_0x880872;}async['_init'](){const _0x518d9f=await super['_init']();return this['disposeWithMe'](this['_commandService']['onCommandExecuted']((_0x12a021,_0x2a83fe)=>{var _0x4a2a31=_0x54da;if(_0x12a021[_0x4a2a31(0x1bf)]!==a[_0x4a2a31(0x1b7)][_0x4a2a31(0x34b)]||_0x2a83fe!=null&&_0x2a83fe[_0x4a2a31(0x98)]||_0x2a83fe!=null&&_0x2a83fe['onlyLocal']||_0x12a021['id']===ut[_0x4a2a31(0x1cb)]['id'])return;const _0x1ed558=_0x12a021[_0x4a2a31(0x3f8)];if((_0x1ed558==null?void 0x0:_0x1ed558[_0x4a2a31(0x191)])!==this['unitID'])return;const _0x3e8712=_0x12a021,_0x1f548a=this[_0x4a2a31(0x305)]['interceptor'][_0x4a2a31(0x1a4)](this[_0x4a2a31(0x305)][_0x4a2a31(0x267)][_0x4a2a31(0x198)]()['COMPRESS_MUTATION_SEND'])([_0x3e8712],null)||[_0x3e8712];this[_0x4a2a31(0x184)](_0x1f548a[0x0]);})),_0x518d9f;}},exports[_0x5efac8(0x235)]=Ge([$(0x3,a['Inject'](a[_0x5efac8(0x173)])),$(0x4,a['Inject'](g[_0x5efac8(0x13e)])),$(0x5,a[_0x5efac8(0x388)](a['LocaleService'])),$(0x6,a[_0x5efac8(0x388)](g[_0x5efac8(0x22d)])),$(0x7,a[_0x5efac8(0x388)](te)),$(0x8,a[_0x5efac8(0x319)]),$(0x9,a[_0x5efac8(0x1cc)]),$(0xa,a['IPermissionService']),$(0xb,a[_0x5efac8(0xae)](ve)),$(0xc,a[_0x5efac8(0xae)](z))],exports['DocCollaborationEntity']),exports[_0x5efac8(0x383)]=class extends exports['CollaborationEntity']{constructor(_0x79e946,_0xb352f5,_0xd04eaa,_0x5c253d,_0x19e4da,_0x51895c,_0x1d6d02,_0x48efda,_0x5d327b,_0xa8f7aa,_0x3e8f5e,_0x4bdf57,_0x3b1122,_0x427d15){var _0x36de13=_0x5efac8;super(_0x79e946,_0xd04eaa,_0xb352f5,_0x5c253d,_0x19e4da,_0x51895c,_0x1d6d02,_0x5d327b,_0xa8f7aa,_0x3e8f5e,_0x4bdf57,_0x3b1122,_0x427d15),this[_0x36de13(0x1e5)]=_0x79e946,this[_0x36de13(0x1bf)]=_0xb352f5,this[_0x36de13(0x2b6)]=_0x48efda;}[_0x5efac8(0x1d3)](){var _0x15502b=_0x5efac8;const _0x8b37fb=super[_0x15502b(0x1d3)]();return _0x8b37fb['onTransformSelections']=_0x457509=>this[_0x15502b(0x2b6)][_0x15502b(0x12c)](_0x457509),_0x8b37fb;}async['_init'](){var _0x2b17bd=_0x5efac8;const _0x4ade4d=await super[_0x2b17bd(0x1df)]();return this['disposeWithMe'](this['_commandService'][_0x2b17bd(0xf7)]((_0x14515e,_0xe2b620)=>{var _0x36d86d=_0x2b17bd;if(_0x14515e['type']!==a['CommandType'][_0x36d86d(0x34b)]||_0xe2b620!=null&&_0xe2b620['fromCollab']||_0xe2b620!=null&&_0xe2b620[_0x36d86d(0xe9)])return;const _0x8f4e70=_0x14515e[_0x36d86d(0x3f8)];if((_0x8f4e70==null?void 0x0:_0x8f4e70[_0x36d86d(0x191)])!==this[_0x36d86d(0x1e5)])return;const _0x5eaa83=_0x14515e,_0x52a054=this[_0x36d86d(0x305)][_0x36d86d(0x267)][_0x36d86d(0x1a4)](this['_compressMutationService']['interceptor'][_0x36d86d(0x198)]()[_0x36d86d(0x327)])([_0x5eaa83],null)||[_0x5eaa83];this[_0x36d86d(0x184)](_0x52a054[0x0]);})),_0x4ade4d;}},exports[_0x5efac8(0x383)]=Ge([$(0x3,a[_0x5efac8(0x388)](a[_0x5efac8(0x173)])),$(0x4,a[_0x5efac8(0x388)](g[_0x5efac8(0x13e)])),$(0x5,a[_0x5efac8(0x388)](a[_0x5efac8(0x94)])),$(0x6,a[_0x5efac8(0x388)](g[_0x5efac8(0x22d)])),$(0x7,a['Inject'](exports[_0x5efac8(0x1d6)])),$(0x8,a['Inject'](te)),$(0x9,a[_0x5efac8(0x319)]),$(0xa,a[_0x5efac8(0x1cc)]),$(0xb,a['IPermissionService']),$(0xc,a['Optional'](ve)),$(0xd,a[_0x5efac8(0xae)](z))],exports[_0x5efac8(0x383)]);var Ti=Object['getOwnPropertyDescriptor'],bi=(_0x5eded0,_0xfa0ea2,_0xd1a988,_0x51f7cb)=>{for(var _0x1e544e=_0x51f7cb>0x1?void 0x0:_0x51f7cb?Ti(_0xfa0ea2,_0xd1a988):_0xfa0ea2,_0x54d803=_0x5eded0['length']-0x1,_0x2811e;_0x54d803>=0x0;_0x54d803--)(_0x2811e=_0x5eded0[_0x54d803])&&(_0x1e544e=_0x2811e(_0x1e544e)||_0x1e544e);return _0x1e544e;},Ae=(_0x4675b9,_0x2c84e)=>(_0xbf5b48,_0x4e755a)=>_0x2c84e(_0xbf5b48,_0x4e755a,_0x4675b9);exports[_0x5efac8(0x3fd)]=class extends a[_0x5efac8(0x1c1)]{constructor(_0x217f68,_0x528689,_0x55eb1b){var _0x55d023=_0x5efac8;super(),P(this,'_entities',new Map()),P(this,_0x55d023(0x29d),new j[(_0x55d023(0x1c8))]()),P(this,'entityInit$',this[_0x55d023(0x29d)][_0x55d023(0x153)]()),(this[_0x55d023(0xca)]=_0x217f68,this[_0x55d023(0x292)]=_0x528689,this[_0x55d023(0x17c)]=_0x55eb1b,this['_init']());}['dispose'](){var _0x41103a=_0x5efac8;super[_0x41103a(0x246)](),this[_0x41103a(0x3ab)]['forEach'](_0x220672=>_0x220672[_0x41103a(0x246)]()),this[_0x41103a(0x3ab)][_0x41103a(0x37b)]();}[_0x5efac8(0x120)](_0x55b4dd){var _0x40e70a=_0x5efac8,_0x490481;return(_0x490481=this[_0x40e70a(0x3ab)][_0x40e70a(0x38a)](_0x55b4dd))!=null?_0x490481:null;}[_0x5efac8(0xb6)](_0x48ec1f){var _0x349b89=_0x5efac8;const _0x341083=this[_0x349b89(0x120)](_0x48ec1f);return _0x341083?j['of'](_0x341083):this[_0x349b89(0x29d)][_0x349b89(0x36a)](W[_0x349b89(0x3cc)](_0x4b9218=>_0x4b9218[_0x349b89(0x1e5)]===_0x48ec1f));}[_0x5efac8(0x38b)](_0xc7274a){var _0x3e4495=_0x5efac8;return j[_0x3e4495(0x3b5)](this['getCollabEntity$'](_0xc7274a)[_0x3e4495(0x36a)](W['map'](()=>{})));}[_0x5efac8(0x1df)](){var _0x523dc5=_0x5efac8;this[_0x523dc5(0x17c)][_0x523dc5(0x197)](a[_0x523dc5(0x330)][_0x523dc5(0x379)])[_0x523dc5(0x36a)](j[_0x523dc5(0x208)](this[_0x523dc5(0x1ca)]),W[_0x523dc5(0x3a4)](0x10))[_0x523dc5(0xef)](async _0x20c8d5=>{var _0x3590ba=_0x523dc5;const _0x23b6f3=_0x20c8d5[_0x3590ba(0x31b)](),_0x41e435=await this['_startCollaboration'](_0x23b6f3,X[_0x3590ba(0x379)]);this[_0x3590ba(0x3ab)][_0x3590ba(0x269)](_0x23b6f3,_0x41e435);}),this['_univerInstanceService'][_0x523dc5(0x197)](a['UniverInstanceType'][_0x523dc5(0x175)])[_0x523dc5(0x36a)](j[_0x523dc5(0x208)](this[_0x523dc5(0x1ca)]),W[_0x523dc5(0x3a4)](0x10))['pipe'](W[_0x523dc5(0x3cc)](_0x40e247=>!_0x40e247['getUnitId']()[_0x523dc5(0x285)]('__')))['subscribe'](async _0x4fd302=>{var _0x1bf128=_0x523dc5;const _0x578bf6=_0x4fd302[_0x1bf128(0x31b)](),_0x11db91=await this[_0x1bf128(0x3e0)](_0x578bf6,X[_0x1bf128(0x175)]);this[_0x1bf128(0x3ab)][_0x1bf128(0x269)](_0x578bf6,_0x11db91);}),j['merge'](this['_univerInstanceService'][_0x523dc5(0x1f9)](a[_0x523dc5(0x330)][_0x523dc5(0x379)]),this[_0x523dc5(0x17c)]['getTypeOfUnitDisposed$'](a[_0x523dc5(0x330)][_0x523dc5(0x175)]))[_0x523dc5(0x36a)](j['takeUntil'](this[_0x523dc5(0x1ca)]))[_0x523dc5(0xef)](_0x55bd9b=>{var _0x3ea542=_0x523dc5;const _0xabb5a9=_0x55bd9b[_0x3ea542(0x31b)](),_0x2ba6a8=this[_0x3ea542(0x3ab)]['get'](_0xabb5a9);_0x2ba6a8&&(_0x2ba6a8[_0x3ea542(0x246)](),this[_0x3ea542(0x3ab)]['delete'](_0xabb5a9));});}async[_0x5efac8(0x3e0)](_0x42f00f,_0x30f562){var _0x39ee92=_0x5efac8;const _0x164a52=await this[_0x39ee92(0x292)]['requireSession'](_0x42f00f),_0x463819=this[_0x39ee92(0xca)][_0x39ee92(0x34c)](this[_0x39ee92(0x33a)](_0x30f562),_0x42f00f,_0x30f562,_0x164a52);return await _0x463819[_0x39ee92(0xf9)](),this[_0x39ee92(0x29d)][_0x39ee92(0xaa)](_0x463819),_0x463819;}[_0x5efac8(0x33a)](_0x51d9c1){var _0x1960ab=_0x5efac8;switch(_0x51d9c1){case X[_0x1960ab(0x175)]:return exports['DocCollaborationEntity'];case X[_0x1960ab(0x379)]:return exports[_0x1960ab(0x383)];default:throw new Error(_0x1960ab(0x299)+_0x51d9c1);}}},exports[_0x5efac8(0x3fd)]=bi([Ae(0x0,a[_0x5efac8(0x388)](a['Injector'])),Ae(0x1,a['Inject'](exports[_0x5efac8(0x215)])),Ae(0x2,a[_0x5efac8(0x1ba)])],exports[_0x5efac8(0x3fd)]);var Ri=Object[_0x5efac8(0x227)],yi=(_0x5204d1,_0x3995b7,_0x580a97,_0x4f1ab1)=>{var _0x17f26b=_0x5efac8;for(var _0xd7fc0f=_0x4f1ab1>0x1?void 0x0:_0x4f1ab1?Ri(_0x3995b7,_0x580a97):_0x3995b7,_0x23b99d=_0x5204d1[_0x17f26b(0xec)]-0x1,_0x2f74a3;_0x23b99d>=0x0;_0x23b99d--)(_0x2f74a3=_0x5204d1[_0x23b99d])&&(_0xd7fc0f=_0x2f74a3(_0xd7fc0f)||_0xd7fc0f);return _0xd7fc0f;},Je=(_0x3fc338,_0x20972f)=>(_0x965522,_0xcfbaff)=>_0x20972f(_0x965522,_0xcfbaff,_0x3fc338);const Oi=_0x5efac8(0x404),Ni=_0x5efac8(0x9a);let He=class extends a[_0x5efac8(0x3a7)]{constructor(_0x2bc339,_0x4f71f9){var _0x5f3046=_0x5efac8;super(),this['_univerInstanceService']=_0x2bc339,this[_0x5f3046(0x18c)]=_0x4f71f9,this[_0x5f3046(0x1df)]();}['_init'](){var _0x561806=_0x5efac8;this['disposeWithMe'](this[_0x561806(0x17c)][_0x561806(0x3c4)]['subscribe'](()=>{var _0x559af5=_0x561806,_0x3c5b5d;const _0x81c30=this[_0x559af5(0x17c)][_0x559af5(0x275)]();let _0x5d114e=(_0x3c5b5d=this[_0x559af5(0x18c)][_0x559af5(0x1ef)](Oi))!=null?_0x3c5b5d:Ni;_0x81c30 instanceof a[_0x559af5(0x2d5)]&&(_0x5d114e=_0x81c30[_0x559af5(0x2ae)]),document[_0x559af5(0xaf)]=_0x5d114e;}));}};He=yi([Je(0x0,a[_0x5efac8(0x1ba)]),Je(0x1,a[_0x5efac8(0x108)])],He);var Di=Object['getOwnPropertyDescriptor'],Ui=(_0x5c68f4,_0xf0221c,_0x4cad96,_0x434cbf)=>{var _0x59852f=_0x5efac8;for(var _0x2c098f=_0x434cbf>0x1?void 0x0:_0x434cbf?Di(_0xf0221c,_0x4cad96):_0xf0221c,_0x4d72b0=_0x5c68f4[_0x59852f(0xec)]-0x1,_0x2f5418;_0x4d72b0>=0x0;_0x4d72b0--)(_0x2f5418=_0x5c68f4[_0x4d72b0])&&(_0x2c098f=_0x2f5418(_0x2c098f)||_0x2c098f);return _0x2c098f;},we=(_0x3cc737,_0x17eb27)=>(_0x225bb7,_0x4eba02)=>_0x17eb27(_0x225bb7,_0x4eba02,_0x3cc737);let Oe=class{constructor(_0x1616f8,_0x2fa87f,_0x509801){var _0x5e9867=_0x5efac8;this[_0x5e9867(0x18c)]=_0x1616f8,this[_0x5e9867(0x102)]=_0x2fa87f,this[_0x5e9867(0x35c)]=_0x509801,this['init']();}[_0x5efac8(0xf9)](){var _0x1631ae=_0x5efac8;this['_httpService']['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x91b715,_0x2c388e)=>_0x2c388e(_0x91b715)[_0x1631ae(0x36a)](j['concatMap'](async _0x1f8592=>{var _0x5d953c=_0x1631ae;const _0x29693b=_0x1f8592;if(_0x29693b['status']===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x5d953c(0x2c8)](this[_0x5d953c(0x35c)]['t']('auth.needGotoLoginAlert'))){const _0x12f673=window['encodeURIComponent'](window[_0x5d953c(0xa3)][_0x5d953c(0x149)]);window['location'][_0x5d953c(0x149)]=this['_getLoginPath']()+_0x5d953c(0x3fb)+_0x12f673;}}return _0x29693b;}))});}[_0x5efac8(0x2cf)](){var _0x48f7a0=_0x5efac8,_0x2a7630,_0x2f7bc6;const _0x46d485=this[_0x48f7a0(0x18c)][_0x48f7a0(0x1ef)](Et),_0x5d3f70=this['_configService']['getConfig'](Y);return(_0x2f7bc6=(_0x2a7630=_0x5d3f70==null?void 0x0:_0x5d3f70[_0x48f7a0(0x2e9)])!=null?_0x2a7630:_0x46d485)!=null?_0x2f7bc6:Yt;}};Oe=Ui([we(0x0,a['IConfigService']),we(0x1,a[_0x5efac8(0x388)](q['HTTPService'])),we(0x2,a['Inject'](a[_0x5efac8(0x94)]))],Oe);function _0x54da(_0x55706c,_0x2f6529){var _0x5aba44=_0x5aba();return _0x54da=function(_0x54da26,_0x3c64d1){_0x54da26=_0x54da26-0x93;var _0x1cbf9b=_0x5aba44[_0x54da26];return _0x1cbf9b;},_0x54da(_0x55706c,_0x2f6529);}var Pi=Object[_0x5efac8(0x227)],Ai=(_0x54f7f6,_0x206ad5,_0x3cd794,_0x2e6508)=>{var _0x4277a9=_0x5efac8;for(var _0x55f744=_0x2e6508>0x1?void 0x0:_0x2e6508?Pi(_0x206ad5,_0x3cd794):_0x206ad5,_0x5cd684=_0x54f7f6[_0x4277a9(0xec)]-0x1,_0x3564da;_0x5cd684>=0x0;_0x5cd684--)(_0x3564da=_0x54f7f6[_0x5cd684])&&(_0x55f744=_0x3564da(_0x55f744)||_0x55f744);return _0x55f744;},Xe=(_0x47ff32,_0x1e3f0d)=>(_0x2cc022,_0x11650e)=>_0x1e3f0d(_0x2cc022,_0x11650e,_0x47ff32);const Ve=_0x5efac8(0x39a),wi=_0x5efac8(0x32b);exports[_0x5efac8(0x1f1)]=class extends a['Disposable']{constructor(_0x59584b,_0x36764b){var _0x39c736=_0x5efac8;super(),this[_0x39c736(0xa2)]=_0x59584b,this[_0x39c736(0x18c)]=_0x36764b,this[_0x39c736(0x2c2)]();}[_0x5efac8(0x2c2)](){var _0x57f53b=_0x5efac8;const _0x4e423d=this;this[_0x57f53b(0x203)](this['_HTTPService'][_0x57f53b(0x362)]({'priority':0x3e7,'interceptor':q[_0x57f53b(0x380)]({'isMatch'(_0x523fd){var _0xfbcf97=_0x57f53b,_0x5401a8;if(_0x523fd['method']===_0xfbcf97(0x2e4)&&((_0x5401a8=_0x523fd[_0xfbcf97(0x15b)])!=null&&_0x5401a8['body'])){const {objectID:_0x2d935c,objectType:_0x30099f}=_0x523fd[_0xfbcf97(0x15b)][_0xfbcf97(0x236)]||{};if(!_0x2d935c||_0x30099f===void 0x0)return!0x1;const _0x45b77d=_0x4e423d['_getAPIPrefixPath']()+'/'+_0x30099f+_0xfbcf97(0x232)+_0x2d935c+_0xfbcf97(0x33e);if(_0x523fd['url']===_0x45b77d)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x1cabfc){var _0x1ec591;return(_0x1ec591=_0x1cabfc['requestParams'])==null?void 0x0:_0x1ec591['body'];},'mergeParamsToRequest'(_0x5363c1,_0x5948d1){var _0x245c34=_0x57f53b;const _0x5a24a7=_0x4e423d[_0x245c34(0x2ee)]()+_0x245c34(0x2a5),_0x5575b9=_0x5363c1[_0x245c34(0x3f3)]((_0x224d49,_0x714447)=>{var _0x2ad54a=_0x245c34;const {unitID:_0xee41df,objectID:_0x549870,objectType:_0x57b23f,actions:_0x1bb310}=_0x714447;return _0x224d49[_0xee41df]||(_0x224d49[_0xee41df]={}),_0x224d49[_0xee41df][_0x549870]||(_0x224d49[_0xee41df][_0x549870]={'objectID':_0x549870,'objectType':_0x57b23f,'actions':[]}),_0x224d49[_0xee41df][_0x549870][_0x2ad54a(0x100)][_0x2ad54a(0x1e4)](..._0x1bb310),_0x224d49;},{}),_0x25691f=[];for(const _0x46fd19 in _0x5575b9)for(const _0x1ca533 in _0x5575b9[_0x46fd19]){const {actions:_0x4853eb,objectType:_0x450263}=_0x5575b9[_0x46fd19][_0x1ca533],_0x275fb8=[...new Set(_0x4853eb)];_0x25691f[_0x245c34(0x1e4)]({'unitID':_0x46fd19,'objectID':_0x1ca533,'objectType':_0x450263,'actions':_0x275fb8});}return new q['HTTPRequest']('POST',_0x5a24a7,{'headers':_0x5948d1[_0x245c34(0x2b9)],'withCredentials':_0x5948d1[_0x245c34(0x3f7)],'responseType':_0x5948d1['responseType'],'body':{'requests':_0x25691f}});}},{'distributeResult'(_0x4196d6,_0x2ff9ff){var _0x2ed645=_0x57f53b;const {objectActions:_0x437157}=_0x4196d6;return _0x2ff9ff[_0x2ed645(0x378)](_0x293621=>{var _0x1523f1=_0x2ed645;const {unitID:_0x261561,objectID:_0x5aacd6,actions:_0x3308b2}=_0x293621,_0x29dcb5=_0x437157[_0x1523f1(0xf1)](_0x3fbb81=>_0x3fbb81[_0x1523f1(0x1e5)]===_0x261561&&_0x3fbb81[_0x1523f1(0x158)]===_0x5aacd6),_0x1ace4b=_0x3308b2[_0x1523f1(0x378)](_0x567d2c=>_0x29dcb5==null?void 0x0:_0x29dcb5[_0x1523f1(0x100)][_0x1523f1(0xf1)](_0xcd39cd=>_0xcd39cd['action']===_0x567d2c))[_0x1523f1(0x3cc)](_0x443fd3=>!!_0x443fd3);return{'config':_0x293621,'result':{'actions':_0x1ace4b,'error':_0x4196d6[_0x1523f1(0x10b)]}};});}})}));}['_getAPIPrefixPath'](){var _0x4bf030=_0x5efac8,_0x2eada4,_0x309d9a;const _0x47ed9c=this[_0x4bf030(0x18c)]['getConfig'](Ve),_0x20db7a=this[_0x4bf030(0x18c)]['getConfig'](Y);return(_0x309d9a=(_0x2eada4=_0x20db7a==null?void 0x0:_0x20db7a[_0x4bf030(0x262)])!=null?_0x2eada4:_0x47ed9c)!=null?_0x309d9a:wi;}async[_0x5efac8(0x185)](_0x3dd493){var _0x244045=_0x5efac8;const _0x2c160d=this['_getAPIPrefixPath']()+'/'+_0x3dd493[_0x244045(0x1ae)]+_0x244045(0x1d4);return(await this[_0x244045(0xa2)]['post'](_0x2c160d,{'body':_0x3dd493}))['body'][_0x244045(0x158)]||'';}async['list'](_0x3db381){var _0x295553=_0x5efac8;const _0x1ad6f3=this[_0x295553(0x2ee)]()+_0x295553(0x1fa);return(await this[_0x295553(0xa2)][_0x295553(0xf4)](_0x1ad6f3,{'body':_0x3db381}))['body'][_0x295553(0x326)];}async[_0x5efac8(0x2f8)](_0x408542){var _0x496d9c=_0x5efac8;const _0x45e074=this[_0x496d9c(0x2ee)]()+'/'+_0x408542[_0x496d9c(0x1ae)]+_0x496d9c(0x232)+_0x408542[_0x496d9c(0x158)];await this[_0x496d9c(0xa2)][_0x496d9c(0x114)](_0x45e074,{'body':_0x408542});}async[_0x5efac8(0x29c)](_0x15763f){var _0xf67e7=_0x5efac8;const _0x50adca=this[_0xf67e7(0x2ee)]()+'/'+_0x15763f[_0xf67e7(0x1ae)]+_0xf67e7(0x232)+_0x15763f['objectID']+_0xf67e7(0x33e);return(await this[_0xf67e7(0xa2)]['post'](_0x50adca,{'body':_0x15763f}))['body']['actions'];}async['batchAllowed'](_0x4b4369){var _0x59bb34=_0x5efac8;const _0x234744=this[_0x59bb34(0x2ee)]()+_0x59bb34(0x2a5);return(await this['_HTTPService']['post'](_0x234744,{'body':{'requests':_0x4b4369}}))['body']['objectActions'];}async[_0x5efac8(0x2a7)](_0x457f9b){var _0x5837fa=_0x5efac8;const _0x4f3b2=this[_0x5837fa(0x2ee)]()+'/'+_0x457f9b['objectType']+_0x5837fa(0x321),_0x271143=await this[_0x5837fa(0xa2)]['post'](_0x4f3b2,{'body':_0x457f9b});return{'roles':_0x271143[_0x5837fa(0x236)][_0x5837fa(0x401)],'actions':_0x271143[_0x5837fa(0x236)]['actions']};}async[_0x5efac8(0x21c)](_0x2b77ce){var _0xb77948=_0x5efac8;const _0x58b440=this[_0xb77948(0x2ee)]()+'/collaborator';await this[_0xb77948(0xa2)][_0xb77948(0x228)](_0x58b440,{'params':{'collaboratorID':_0x2b77ce['collaboratorID'],'objectID':_0x2b77ce['objectID'],'unitID':_0x2b77ce[_0xb77948(0x1e5)]}});}async['updateCollaborator'](_0xfbf04f){var _0x161625=_0x5efac8;const _0x3bb48a=this[_0x161625(0x2ee)]()+_0x161625(0x10f);await this[_0x161625(0xa2)]['patch'](_0x3bb48a,{'body':_0xfbf04f});}async[_0x5efac8(0x2c6)](_0x55d6a2){var _0x35f801=_0x5efac8;const _0x551e78=this[_0x35f801(0x2ee)]()+_0x35f801(0x10f);await this[_0x35f801(0xa2)]['post'](_0x551e78,{'body':_0x55d6a2});}async[_0x5efac8(0x26c)](_0x5780c7){var _0x46e712=_0x5efac8;const _0x2ca87e=this[_0x46e712(0x2ee)]()+_0x46e712(0x10f);return(await this['_HTTPService'][_0x46e712(0x38a)](_0x2ca87e,{'params':{'objectID':_0x5780c7[_0x46e712(0x158)],'unitID':_0x5780c7[_0x46e712(0x1e5)]}}))[_0x46e712(0x236)]['collaborators'];}async[_0x5efac8(0x295)](_0x16c34e){var _0x5baa69=_0x5efac8;const _0x2c0359=this[_0x5baa69(0x2ee)]()+_0x5baa69(0x10f);await this[_0x5baa69(0xa2)][_0x5baa69(0x114)](_0x2c0359,{'body':_0x16c34e});}},exports[_0x5efac8(0x1f1)]=Ai([Xe(0x0,a[_0x5efac8(0x388)](q[_0x5efac8(0x30b)])),Xe(0x1,a[_0x5efac8(0x388)](a[_0x5efac8(0x108)]))],exports[_0x5efac8(0x1f1)]);var Le=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function Se(_0xf19c5){var _0x568f4d=_0x5efac8;return _0xf19c5&&_0xf19c5[_0x568f4d(0x322)]&&Object['prototype'][_0x568f4d(0x2cd)]['call'](_0xf19c5,'default')?_0xf19c5['default']:_0xf19c5;}var fe={'exports':{}};function Li(_0x3a58b9){var _0x11b89f=_0x5efac8;throw new Error(_0x11b89f(0x121)+_0x3a58b9+_0x11b89f(0x226));}var pe={'exports':{}},Mi=pe[_0x5efac8(0x168)],Ze;function ee(){var _0x65581f=_0x5efac8;return Ze||(Ze=0x1,function(_0x264718,_0x17bcd4){(function(_0x3c1705,_0x1be3bd){var _0x31ef8e=_0x54da;_0x264718[_0x31ef8e(0x168)]=_0x1be3bd();}(Mi,function(){var _0x1a65f1=_0x1a65f1||function(_0x4510db,_0x1b1b4f){var _0x30ee26=_0x54da,_0x27d0e8;if(typeof window<'u'&&window[_0x30ee26(0x266)]&&(_0x27d0e8=window[_0x30ee26(0x266)]),typeof self<'u'&&self[_0x30ee26(0x266)]&&(_0x27d0e8=self[_0x30ee26(0x266)]),typeof globalThis<'u'&&globalThis[_0x30ee26(0x266)]&&(_0x27d0e8=globalThis[_0x30ee26(0x266)]),!_0x27d0e8&&typeof window<'u'&&window[_0x30ee26(0x341)]&&(_0x27d0e8=window[_0x30ee26(0x341)]),!_0x27d0e8&&typeof Le<'u'&&Le[_0x30ee26(0x266)]&&(_0x27d0e8=Le['crypto']),!_0x27d0e8&&typeof Li==_0x30ee26(0x281))try{_0x27d0e8=require(_0x30ee26(0x266));}catch{}var _0x17963c=function(){var _0x1fe684=_0x30ee26;if(_0x27d0e8){if(typeof _0x27d0e8[_0x1fe684(0x143)]==_0x1fe684(0x281))try{return _0x27d0e8[_0x1fe684(0x143)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x27d0e8[_0x1fe684(0x37a)]=='function')try{return _0x27d0e8['randomBytes'](0x4)[_0x1fe684(0x231)]();}catch{}}throw new Error(_0x1fe684(0x366));},_0x1c17fe=Object[_0x30ee26(0x185)]||(function(){function _0x3c62fa(){}return function(_0x2c6417){var _0x2a86ea=_0x54da,_0x2b4175;return _0x3c62fa[_0x2a86ea(0x3e3)]=_0x2c6417,_0x2b4175=new _0x3c62fa(),_0x3c62fa[_0x2a86ea(0x3e3)]=null,_0x2b4175;};}()),_0x7499d7={},_0x1c8763=_0x7499d7[_0x30ee26(0x387)]={},_0x14e917=_0x1c8763[_0x30ee26(0x318)]=(function(){return{'extend':function(_0x3ba65a){var _0x403c98=_0x54da,_0x5a2504=_0x1c17fe(this);return _0x3ba65a&&_0x5a2504[_0x403c98(0x2fb)](_0x3ba65a),(!_0x5a2504[_0x403c98(0x2cd)](_0x403c98(0xf9))||this['init']===_0x5a2504[_0x403c98(0xf9)])&&(_0x5a2504['init']=function(){var _0x5f626e=_0x403c98;_0x5a2504[_0x5f626e(0x3eb)]['init'][_0x5f626e(0x370)](this,arguments);}),_0x5a2504[_0x403c98(0xf9)][_0x403c98(0x3e3)]=_0x5a2504,_0x5a2504['$super']=this,_0x5a2504;},'create':function(){var _0x2f5a0d=_0x54da,_0x24368c=this['extend']();return _0x24368c[_0x2f5a0d(0xf9)][_0x2f5a0d(0x370)](_0x24368c,arguments),_0x24368c;},'init':function(){},'mixIn':function(_0x362231){var _0x11332d=_0x54da;for(var _0x3151b7 in _0x362231)_0x362231[_0x11332d(0x2cd)](_0x3151b7)&&(this[_0x3151b7]=_0x362231[_0x3151b7]);_0x362231['hasOwnProperty'](_0x11332d(0x205))&&(this[_0x11332d(0x205)]=_0x362231[_0x11332d(0x205)]);},'clone':function(){var _0x12b3bd=_0x54da;return this[_0x12b3bd(0xf9)][_0x12b3bd(0x3e3)][_0x12b3bd(0x363)](this);}};}()),_0x47d661=_0x1c8763[_0x30ee26(0x219)]=_0x14e917[_0x30ee26(0x363)]({'init':function(_0x3a72b6,_0x25fba4){var _0x22569b=_0x30ee26;_0x3a72b6=this['words']=_0x3a72b6||[],_0x25fba4!=_0x1b1b4f?this[_0x22569b(0x252)]=_0x25fba4:this['sigBytes']=_0x3a72b6['length']*0x4;},'toString':function(_0x562afb){var _0x4f9322=_0x30ee26;return(_0x562afb||_0x7e4184)[_0x4f9322(0x17d)](this);},'concat':function(_0x535209){var _0x647b2=_0x30ee26,_0x3ba6c6=this[_0x647b2(0x2e2)],_0x5487c8=_0x535209[_0x647b2(0x2e2)],_0x46dabf=this[_0x647b2(0x252)],_0x349e4c=_0x535209[_0x647b2(0x252)];if(this[_0x647b2(0x2ea)](),_0x46dabf%0x4)for(var _0x21da13=0x0;_0x21da13<_0x349e4c;_0x21da13++){var _0x30dafc=_0x5487c8[_0x21da13>>>0x2]>>>0x18-_0x21da13%0x4*0x8&0xff;_0x3ba6c6[_0x46dabf+_0x21da13>>>0x2]|=_0x30dafc<<0x18-(_0x46dabf+_0x21da13)%0x4*0x8;}else{for(var _0xa2e5fc=0x0;_0xa2e5fc<_0x349e4c;_0xa2e5fc+=0x4)_0x3ba6c6[_0x46dabf+_0xa2e5fc>>>0x2]=_0x5487c8[_0xa2e5fc>>>0x2];}return this[_0x647b2(0x252)]+=_0x349e4c,this;},'clamp':function(){var _0x9f8606=_0x30ee26,_0x3c850a=this[_0x9f8606(0x2e2)],_0x5828c4=this['sigBytes'];_0x3c850a[_0x5828c4>>>0x2]&=0xffffffff<<0x20-_0x5828c4%0x4*0x8,_0x3c850a[_0x9f8606(0xec)]=_0x4510db[_0x9f8606(0x368)](_0x5828c4/0x4);},'clone':function(){var _0x4b32f6=_0x30ee26,_0x1025f0=_0x14e917[_0x4b32f6(0x3c2)][_0x4b32f6(0x181)](this);return _0x1025f0['words']=this[_0x4b32f6(0x2e2)][_0x4b32f6(0x133)](0x0),_0x1025f0;},'random':function(_0x37053b){var _0x2337c3=_0x30ee26;for(var _0x32237c=[],_0x5864a9=0x0;_0x5864a9<_0x37053b;_0x5864a9+=0x4)_0x32237c[_0x2337c3(0x1e4)](_0x17963c());return new _0x47d661['init'](_0x32237c,_0x37053b);}}),_0x17c6c7=_0x7499d7[_0x30ee26(0x2da)]={},_0x7e4184=_0x17c6c7[_0x30ee26(0x1e9)]={'stringify':function(_0x13a15f){var _0x309bbc=_0x30ee26;for(var _0x34dd15=_0x13a15f[_0x309bbc(0x2e2)],_0x79986b=_0x13a15f[_0x309bbc(0x252)],_0x273058=[],_0x3c782d=0x0;_0x3c782d<_0x79986b;_0x3c782d++){var _0x2dceb0=_0x34dd15[_0x3c782d>>>0x2]>>>0x18-_0x3c782d%0x4*0x8&0xff;_0x273058[_0x309bbc(0x1e4)]((_0x2dceb0>>>0x4)['toString'](0x10)),_0x273058[_0x309bbc(0x1e4)]((_0x2dceb0&0xf)[_0x309bbc(0x205)](0x10));}return _0x273058[_0x309bbc(0x259)]('');},'parse':function(_0x4cd443){var _0x4635e5=_0x30ee26;for(var _0x20129b=_0x4cd443[_0x4635e5(0xec)],_0x212363=[],_0x2111e6=0x0;_0x2111e6<_0x20129b;_0x2111e6+=0x2)_0x212363[_0x2111e6>>>0x3]|=parseInt(_0x4cd443[_0x4635e5(0x188)](_0x2111e6,0x2),0x10)<<0x18-_0x2111e6%0x8*0x4;return new _0x47d661['init'](_0x212363,_0x20129b/0x2);}},_0x555266=_0x17c6c7[_0x30ee26(0x18b)]={'stringify':function(_0x411074){var _0x5da2f8=_0x30ee26;for(var _0x451fe3=_0x411074[_0x5da2f8(0x2e2)],_0x330057=_0x411074[_0x5da2f8(0x252)],_0x3a29a0=[],_0x43edde=0x0;_0x43edde<_0x330057;_0x43edde++){var _0x381d17=_0x451fe3[_0x43edde>>>0x2]>>>0x18-_0x43edde%0x4*0x8&0xff;_0x3a29a0[_0x5da2f8(0x1e4)](String[_0x5da2f8(0x3ad)](_0x381d17));}return _0x3a29a0[_0x5da2f8(0x259)]('');},'parse':function(_0x3b403b){var _0x518ff9=_0x30ee26;for(var _0x592b58=_0x3b403b[_0x518ff9(0xec)],_0xd30de4=[],_0x1de595=0x0;_0x1de595<_0x592b58;_0x1de595++)_0xd30de4[_0x1de595>>>0x2]|=(_0x3b403b['charCodeAt'](_0x1de595)&0xff)<<0x18-_0x1de595%0x4*0x8;return new _0x47d661[(_0x518ff9(0xf9))](_0xd30de4,_0x592b58);}},_0x19b9aa=_0x17c6c7[_0x30ee26(0x358)]={'stringify':function(_0x584755){var _0x338b7b=_0x30ee26;try{return decodeURIComponent(escape(_0x555266['stringify'](_0x584755)));}catch{throw new Error(_0x338b7b(0x288));}},'parse':function(_0x358925){var _0x2e54b9=_0x30ee26;return _0x555266[_0x2e54b9(0x2ed)](unescape(encodeURIComponent(_0x358925)));}},_0x31ce36=_0x1c8763[_0x30ee26(0x316)]=_0x14e917[_0x30ee26(0x363)]({'reset':function(){var _0x4a5c64=_0x30ee26;this[_0x4a5c64(0xfa)]=new _0x47d661['init'](),this[_0x4a5c64(0x210)]=0x0;},'_append':function(_0x52ca43){var _0x4f2f1b=_0x30ee26;typeof _0x52ca43=='string'&&(_0x52ca43=_0x19b9aa[_0x4f2f1b(0x2ed)](_0x52ca43)),this[_0x4f2f1b(0xfa)][_0x4f2f1b(0x3b6)](_0x52ca43),this[_0x4f2f1b(0x210)]+=_0x52ca43[_0x4f2f1b(0x252)];},'_process':function(_0x2405bc){var _0x47c519=_0x30ee26,_0x3e6906,_0x1d21b3=this['_data'],_0x28a631=_0x1d21b3['words'],_0x779760=_0x1d21b3[_0x47c519(0x252)],_0x5cfb34=this[_0x47c519(0xbd)],_0x138934=_0x5cfb34*0x4,_0x124622=_0x779760/_0x138934;_0x2405bc?_0x124622=_0x4510db[_0x47c519(0x368)](_0x124622):_0x124622=_0x4510db[_0x47c519(0x24d)]((_0x124622|0x0)-this[_0x47c519(0x2b3)],0x0);var _0x5dcb52=_0x124622*_0x5cfb34,_0x4b42cb=_0x4510db['min'](_0x5dcb52*0x4,_0x779760);if(_0x5dcb52){for(var _0x588b9a=0x0;_0x588b9a<_0x5dcb52;_0x588b9a+=_0x5cfb34)this[_0x47c519(0x264)](_0x28a631,_0x588b9a);_0x3e6906=_0x28a631[_0x47c519(0x11d)](0x0,_0x5dcb52),_0x1d21b3[_0x47c519(0x252)]-=_0x4b42cb;}return new _0x47d661[(_0x47c519(0xf9))](_0x3e6906,_0x4b42cb);},'clone':function(){var _0x57c4ed=_0x30ee26,_0xced4ea=_0x14e917[_0x57c4ed(0x3c2)][_0x57c4ed(0x181)](this);return _0xced4ea['_data']=this[_0x57c4ed(0xfa)][_0x57c4ed(0x3c2)](),_0xced4ea;},'_minBufferSize':0x0});_0x1c8763[_0x30ee26(0x137)]=_0x31ce36[_0x30ee26(0x363)]({'cfg':_0x14e917[_0x30ee26(0x363)](),'init':function(_0x20be16){var _0x4de91c=_0x30ee26;this[_0x4de91c(0x2c9)]=this[_0x4de91c(0x2c9)][_0x4de91c(0x363)](_0x20be16),this[_0x4de91c(0x2de)]();},'reset':function(){var _0xb0f3d7=_0x30ee26;_0x31ce36[_0xb0f3d7(0x2de)][_0xb0f3d7(0x181)](this),this['_doReset']();},'update':function(_0x46a3bc){var _0x1ee6b7=_0x30ee26;return this[_0x1ee6b7(0x1d9)](_0x46a3bc),this[_0x1ee6b7(0x3b2)](),this;},'finalize':function(_0x4b8001){var _0x369b0c=_0x30ee26;_0x4b8001&&this[_0x369b0c(0x1d9)](_0x4b8001);var _0x222d7a=this['_doFinalize']();return _0x222d7a;},'blockSize':0x10,'_createHelper':function(_0x15ba68){return function(_0x47228f,_0x501233){var _0x359ad3=_0x54da;return new _0x15ba68[(_0x359ad3(0xf9))](_0x501233)['finalize'](_0x47228f);};},'_createHmacHelper':function(_0x25dd15){return function(_0x5d29ef,_0x48954f){var _0x557388=_0x54da;return new _0x28e187['HMAC'][(_0x557388(0xf9))](_0x25dd15,_0x48954f)['finalize'](_0x5d29ef);};}});var _0x28e187=_0x7499d7['algo']={};return _0x7499d7;}(Math);return _0x1a65f1;}));}(pe)),pe[_0x65581f(0x168)];}var ge={'exports':{}},xi=ge[_0x5efac8(0x168)],Qe;function Ut(){var _0xd77758=_0x5efac8;return Qe||(Qe=0x1,function(_0x2a6a0a,_0x21b3cf){(function(_0x2ef9e1,_0x1b5538){var _0x3ac2e8=_0x54da;_0x2a6a0a[_0x3ac2e8(0x168)]=_0x1b5538(ee());}(xi,function(_0x45759a){var _0x597f66=_0x54da;return(function(){var _0x92e991=_0x54da,_0x35ab32=_0x45759a,_0x31da20=_0x35ab32[_0x92e991(0x387)],_0x513a69=_0x31da20[_0x92e991(0x219)],_0x12c4d9=_0x35ab32[_0x92e991(0x2da)];_0x12c4d9[_0x92e991(0x33b)]={'stringify':function(_0x3a610f){var _0x515a74=_0x92e991,_0x2f0353=_0x3a610f[_0x515a74(0x2e2)],_0x3b97ca=_0x3a610f[_0x515a74(0x252)],_0x4b8687=this[_0x515a74(0x39c)];_0x3a610f['clamp']();for(var _0x25291f=[],_0x4bed76=0x0;_0x4bed76<_0x3b97ca;_0x4bed76+=0x3)for(var _0xed2ccb=_0x2f0353[_0x4bed76>>>0x2]>>>0x18-_0x4bed76%0x4*0x8&0xff,_0x57577f=_0x2f0353[_0x4bed76+0x1>>>0x2]>>>0x18-(_0x4bed76+0x1)%0x4*0x8&0xff,_0x21866d=_0x2f0353[_0x4bed76+0x2>>>0x2]>>>0x18-(_0x4bed76+0x2)%0x4*0x8&0xff,_0x33441d=_0xed2ccb<<0x10|_0x57577f<<0x8|_0x21866d,_0x32889f=0x0;_0x32889f<0x4&&_0x4bed76+_0x32889f*0.75<_0x3b97ca;_0x32889f++)_0x25291f[_0x515a74(0x1e4)](_0x4b8687[_0x515a74(0x118)](_0x33441d>>>0x6*(0x3-_0x32889f)&0x3f));var _0x17c3ec=_0x4b8687['charAt'](0x40);if(_0x17c3ec){for(;_0x25291f[_0x515a74(0xec)]%0x4;)_0x25291f[_0x515a74(0x1e4)](_0x17c3ec);}return _0x25291f[_0x515a74(0x259)]('');},'parse':function(_0x477be4){var _0x2458c2=_0x92e991,_0xb18830=_0x477be4[_0x2458c2(0xec)],_0x3d976c=this['_map'],_0x275da3=this['_reverseMap'];if(!_0x275da3){_0x275da3=this[_0x2458c2(0x3dc)]=[];for(var _0x129924=0x0;_0x129924<_0x3d976c[_0x2458c2(0xec)];_0x129924++)_0x275da3[_0x3d976c[_0x2458c2(0x291)](_0x129924)]=_0x129924;}var _0x123954=_0x3d976c['charAt'](0x40);if(_0x123954){var _0x3a5222=_0x477be4[_0x2458c2(0x131)](_0x123954);_0x3a5222!==-0x1&&(_0xb18830=_0x3a5222);}return _0x2c2259(_0x477be4,_0xb18830,_0x275da3);},'_map':_0x92e991(0xff)};function _0x2c2259(_0x106244,_0x2c1ae6,_0x454f8e){var _0x37b72a=_0x92e991;for(var _0x168f8e=[],_0x905e65=0x0,_0x25bb06=0x0;_0x25bb06<_0x2c1ae6;_0x25bb06++)if(_0x25bb06%0x4){var _0x3faf40=_0x454f8e[_0x106244[_0x37b72a(0x291)](_0x25bb06-0x1)]<<_0x25bb06%0x4*0x2,_0x1407e8=_0x454f8e[_0x106244[_0x37b72a(0x291)](_0x25bb06)]>>>0x6-_0x25bb06%0x4*0x2,_0x213e72=_0x3faf40|_0x1407e8;_0x168f8e[_0x905e65>>>0x2]|=_0x213e72<<0x18-_0x905e65%0x4*0x8,_0x905e65++;}return _0x513a69[_0x37b72a(0x185)](_0x168f8e,_0x905e65);}}()),_0x45759a[_0x597f66(0x2da)]['Base64'];}));}(ge)),ge[_0xd77758(0x168)];}var me={'exports':{}},ki=me[_0x5efac8(0x168)],et;function Hi(){var _0x18bcd3=_0x5efac8;return et||(et=0x1,function(_0x145d60,_0xba3b67){(function(_0x164e6c,_0x792992){var _0x30b9ff=_0x54da;_0x145d60[_0x30b9ff(0x168)]=_0x792992(ee());}(ki,function(_0x18681d){var _0x1815b4=_0x54da;return function(_0x3f32b9){var _0x8241c7=_0x54da,_0x3a02af=_0x18681d,_0x576985=_0x3a02af[_0x8241c7(0x387)],_0x2849ab=_0x576985[_0x8241c7(0x219)],_0x191119=_0x576985[_0x8241c7(0x137)],_0x409c04=_0x3a02af[_0x8241c7(0x36e)],_0x3b6140=[];(function(){var _0x52a95b=_0x8241c7;for(var _0x286b83=0x0;_0x286b83<0x40;_0x286b83++)_0x3b6140[_0x286b83]=_0x3f32b9[_0x52a95b(0x391)](_0x3f32b9[_0x52a95b(0x119)](_0x286b83+0x1))*0x100000000|0x0;}());var _0x491db0=_0x409c04['MD5']=_0x191119['extend']({'_doReset':function(){var _0xb07625=_0x8241c7;this[_0xb07625(0x10c)]=new _0x2849ab[(_0xb07625(0xf9))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x907fa1,_0x34a1e7){var _0x457e63=_0x8241c7;for(var _0x6c3ced=0x0;_0x6c3ced<0x10;_0x6c3ced++){var _0x3794c6=_0x34a1e7+_0x6c3ced,_0x285dfe=_0x907fa1[_0x3794c6];_0x907fa1[_0x3794c6]=(_0x285dfe<<0x8|_0x285dfe>>>0x18)&0xff00ff|(_0x285dfe<<0x18|_0x285dfe>>>0x8)&0xff00ff00;}var _0x5d45dd=this[_0x457e63(0x10c)]['words'],_0x511b98=_0x907fa1[_0x34a1e7+0x0],_0xe97e52=_0x907fa1[_0x34a1e7+0x1],_0x37cac8=_0x907fa1[_0x34a1e7+0x2],_0x565c76=_0x907fa1[_0x34a1e7+0x3],_0x27b563=_0x907fa1[_0x34a1e7+0x4],_0x4bce27=_0x907fa1[_0x34a1e7+0x5],_0x258eb3=_0x907fa1[_0x34a1e7+0x6],_0x3e6572=_0x907fa1[_0x34a1e7+0x7],_0x325e32=_0x907fa1[_0x34a1e7+0x8],_0x19627b=_0x907fa1[_0x34a1e7+0x9],_0x659ac2=_0x907fa1[_0x34a1e7+0xa],_0xd96ee2=_0x907fa1[_0x34a1e7+0xb],_0x3e3b61=_0x907fa1[_0x34a1e7+0xc],_0x5eec67=_0x907fa1[_0x34a1e7+0xd],_0x285381=_0x907fa1[_0x34a1e7+0xe],_0x5c30da=_0x907fa1[_0x34a1e7+0xf],_0x37653d=_0x5d45dd[0x0],_0x422c5e=_0x5d45dd[0x1],_0x39aa87=_0x5d45dd[0x2],_0x2c5372=_0x5d45dd[0x3];_0x37653d=_0x37f0b9(_0x37653d,_0x422c5e,_0x39aa87,_0x2c5372,_0x511b98,0x7,_0x3b6140[0x0]),_0x2c5372=_0x37f0b9(_0x2c5372,_0x37653d,_0x422c5e,_0x39aa87,_0xe97e52,0xc,_0x3b6140[0x1]),_0x39aa87=_0x37f0b9(_0x39aa87,_0x2c5372,_0x37653d,_0x422c5e,_0x37cac8,0x11,_0x3b6140[0x2]),_0x422c5e=_0x37f0b9(_0x422c5e,_0x39aa87,_0x2c5372,_0x37653d,_0x565c76,0x16,_0x3b6140[0x3]),_0x37653d=_0x37f0b9(_0x37653d,_0x422c5e,_0x39aa87,_0x2c5372,_0x27b563,0x7,_0x3b6140[0x4]),_0x2c5372=_0x37f0b9(_0x2c5372,_0x37653d,_0x422c5e,_0x39aa87,_0x4bce27,0xc,_0x3b6140[0x5]),_0x39aa87=_0x37f0b9(_0x39aa87,_0x2c5372,_0x37653d,_0x422c5e,_0x258eb3,0x11,_0x3b6140[0x6]),_0x422c5e=_0x37f0b9(_0x422c5e,_0x39aa87,_0x2c5372,_0x37653d,_0x3e6572,0x16,_0x3b6140[0x7]),_0x37653d=_0x37f0b9(_0x37653d,_0x422c5e,_0x39aa87,_0x2c5372,_0x325e32,0x7,_0x3b6140[0x8]),_0x2c5372=_0x37f0b9(_0x2c5372,_0x37653d,_0x422c5e,_0x39aa87,_0x19627b,0xc,_0x3b6140[0x9]),_0x39aa87=_0x37f0b9(_0x39aa87,_0x2c5372,_0x37653d,_0x422c5e,_0x659ac2,0x11,_0x3b6140[0xa]),_0x422c5e=_0x37f0b9(_0x422c5e,_0x39aa87,_0x2c5372,_0x37653d,_0xd96ee2,0x16,_0x3b6140[0xb]),_0x37653d=_0x37f0b9(_0x37653d,_0x422c5e,_0x39aa87,_0x2c5372,_0x3e3b61,0x7,_0x3b6140[0xc]),_0x2c5372=_0x37f0b9(_0x2c5372,_0x37653d,_0x422c5e,_0x39aa87,_0x5eec67,0xc,_0x3b6140[0xd]),_0x39aa87=_0x37f0b9(_0x39aa87,_0x2c5372,_0x37653d,_0x422c5e,_0x285381,0x11,_0x3b6140[0xe]),_0x422c5e=_0x37f0b9(_0x422c5e,_0x39aa87,_0x2c5372,_0x37653d,_0x5c30da,0x16,_0x3b6140[0xf]),_0x37653d=_0x5dbc7b(_0x37653d,_0x422c5e,_0x39aa87,_0x2c5372,_0xe97e52,0x5,_0x3b6140[0x10]),_0x2c5372=_0x5dbc7b(_0x2c5372,_0x37653d,_0x422c5e,_0x39aa87,_0x258eb3,0x9,_0x3b6140[0x11]),_0x39aa87=_0x5dbc7b(_0x39aa87,_0x2c5372,_0x37653d,_0x422c5e,_0xd96ee2,0xe,_0x3b6140[0x12]),_0x422c5e=_0x5dbc7b(_0x422c5e,_0x39aa87,_0x2c5372,_0x37653d,_0x511b98,0x14,_0x3b6140[0x13]),_0x37653d=_0x5dbc7b(_0x37653d,_0x422c5e,_0x39aa87,_0x2c5372,_0x4bce27,0x5,_0x3b6140[0x14]),_0x2c5372=_0x5dbc7b(_0x2c5372,_0x37653d,_0x422c5e,_0x39aa87,_0x659ac2,0x9,_0x3b6140[0x15]),_0x39aa87=_0x5dbc7b(_0x39aa87,_0x2c5372,_0x37653d,_0x422c5e,_0x5c30da,0xe,_0x3b6140[0x16]),_0x422c5e=_0x5dbc7b(_0x422c5e,_0x39aa87,_0x2c5372,_0x37653d,_0x27b563,0x14,_0x3b6140[0x17]),_0x37653d=_0x5dbc7b(_0x37653d,_0x422c5e,_0x39aa87,_0x2c5372,_0x19627b,0x5,_0x3b6140[0x18]),_0x2c5372=_0x5dbc7b(_0x2c5372,_0x37653d,_0x422c5e,_0x39aa87,_0x285381,0x9,_0x3b6140[0x19]),_0x39aa87=_0x5dbc7b(_0x39aa87,_0x2c5372,_0x37653d,_0x422c5e,_0x565c76,0xe,_0x3b6140[0x1a]),_0x422c5e=_0x5dbc7b(_0x422c5e,_0x39aa87,_0x2c5372,_0x37653d,_0x325e32,0x14,_0x3b6140[0x1b]),_0x37653d=_0x5dbc7b(_0x37653d,_0x422c5e,_0x39aa87,_0x2c5372,_0x5eec67,0x5,_0x3b6140[0x1c]),_0x2c5372=_0x5dbc7b(_0x2c5372,_0x37653d,_0x422c5e,_0x39aa87,_0x37cac8,0x9,_0x3b6140[0x1d]),_0x39aa87=_0x5dbc7b(_0x39aa87,_0x2c5372,_0x37653d,_0x422c5e,_0x3e6572,0xe,_0x3b6140[0x1e]),_0x422c5e=_0x5dbc7b(_0x422c5e,_0x39aa87,_0x2c5372,_0x37653d,_0x3e3b61,0x14,_0x3b6140[0x1f]),_0x37653d=_0x3fabab(_0x37653d,_0x422c5e,_0x39aa87,_0x2c5372,_0x4bce27,0x4,_0x3b6140[0x20]),_0x2c5372=_0x3fabab(_0x2c5372,_0x37653d,_0x422c5e,_0x39aa87,_0x325e32,0xb,_0x3b6140[0x21]),_0x39aa87=_0x3fabab(_0x39aa87,_0x2c5372,_0x37653d,_0x422c5e,_0xd96ee2,0x10,_0x3b6140[0x22]),_0x422c5e=_0x3fabab(_0x422c5e,_0x39aa87,_0x2c5372,_0x37653d,_0x285381,0x17,_0x3b6140[0x23]),_0x37653d=_0x3fabab(_0x37653d,_0x422c5e,_0x39aa87,_0x2c5372,_0xe97e52,0x4,_0x3b6140[0x24]),_0x2c5372=_0x3fabab(_0x2c5372,_0x37653d,_0x422c5e,_0x39aa87,_0x27b563,0xb,_0x3b6140[0x25]),_0x39aa87=_0x3fabab(_0x39aa87,_0x2c5372,_0x37653d,_0x422c5e,_0x3e6572,0x10,_0x3b6140[0x26]),_0x422c5e=_0x3fabab(_0x422c5e,_0x39aa87,_0x2c5372,_0x37653d,_0x659ac2,0x17,_0x3b6140[0x27]),_0x37653d=_0x3fabab(_0x37653d,_0x422c5e,_0x39aa87,_0x2c5372,_0x5eec67,0x4,_0x3b6140[0x28]),_0x2c5372=_0x3fabab(_0x2c5372,_0x37653d,_0x422c5e,_0x39aa87,_0x511b98,0xb,_0x3b6140[0x29]),_0x39aa87=_0x3fabab(_0x39aa87,_0x2c5372,_0x37653d,_0x422c5e,_0x565c76,0x10,_0x3b6140[0x2a]),_0x422c5e=_0x3fabab(_0x422c5e,_0x39aa87,_0x2c5372,_0x37653d,_0x258eb3,0x17,_0x3b6140[0x2b]),_0x37653d=_0x3fabab(_0x37653d,_0x422c5e,_0x39aa87,_0x2c5372,_0x19627b,0x4,_0x3b6140[0x2c]),_0x2c5372=_0x3fabab(_0x2c5372,_0x37653d,_0x422c5e,_0x39aa87,_0x3e3b61,0xb,_0x3b6140[0x2d]),_0x39aa87=_0x3fabab(_0x39aa87,_0x2c5372,_0x37653d,_0x422c5e,_0x5c30da,0x10,_0x3b6140[0x2e]),_0x422c5e=_0x3fabab(_0x422c5e,_0x39aa87,_0x2c5372,_0x37653d,_0x37cac8,0x17,_0x3b6140[0x2f]),_0x37653d=_0x43ac3a(_0x37653d,_0x422c5e,_0x39aa87,_0x2c5372,_0x511b98,0x6,_0x3b6140[0x30]),_0x2c5372=_0x43ac3a(_0x2c5372,_0x37653d,_0x422c5e,_0x39aa87,_0x3e6572,0xa,_0x3b6140[0x31]),_0x39aa87=_0x43ac3a(_0x39aa87,_0x2c5372,_0x37653d,_0x422c5e,_0x285381,0xf,_0x3b6140[0x32]),_0x422c5e=_0x43ac3a(_0x422c5e,_0x39aa87,_0x2c5372,_0x37653d,_0x4bce27,0x15,_0x3b6140[0x33]),_0x37653d=_0x43ac3a(_0x37653d,_0x422c5e,_0x39aa87,_0x2c5372,_0x3e3b61,0x6,_0x3b6140[0x34]),_0x2c5372=_0x43ac3a(_0x2c5372,_0x37653d,_0x422c5e,_0x39aa87,_0x565c76,0xa,_0x3b6140[0x35]),_0x39aa87=_0x43ac3a(_0x39aa87,_0x2c5372,_0x37653d,_0x422c5e,_0x659ac2,0xf,_0x3b6140[0x36]),_0x422c5e=_0x43ac3a(_0x422c5e,_0x39aa87,_0x2c5372,_0x37653d,_0xe97e52,0x15,_0x3b6140[0x37]),_0x37653d=_0x43ac3a(_0x37653d,_0x422c5e,_0x39aa87,_0x2c5372,_0x325e32,0x6,_0x3b6140[0x38]),_0x2c5372=_0x43ac3a(_0x2c5372,_0x37653d,_0x422c5e,_0x39aa87,_0x5c30da,0xa,_0x3b6140[0x39]),_0x39aa87=_0x43ac3a(_0x39aa87,_0x2c5372,_0x37653d,_0x422c5e,_0x258eb3,0xf,_0x3b6140[0x3a]),_0x422c5e=_0x43ac3a(_0x422c5e,_0x39aa87,_0x2c5372,_0x37653d,_0x5eec67,0x15,_0x3b6140[0x3b]),_0x37653d=_0x43ac3a(_0x37653d,_0x422c5e,_0x39aa87,_0x2c5372,_0x27b563,0x6,_0x3b6140[0x3c]),_0x2c5372=_0x43ac3a(_0x2c5372,_0x37653d,_0x422c5e,_0x39aa87,_0xd96ee2,0xa,_0x3b6140[0x3d]),_0x39aa87=_0x43ac3a(_0x39aa87,_0x2c5372,_0x37653d,_0x422c5e,_0x37cac8,0xf,_0x3b6140[0x3e]),_0x422c5e=_0x43ac3a(_0x422c5e,_0x39aa87,_0x2c5372,_0x37653d,_0x19627b,0x15,_0x3b6140[0x3f]),_0x5d45dd[0x0]=_0x5d45dd[0x0]+_0x37653d|0x0,_0x5d45dd[0x1]=_0x5d45dd[0x1]+_0x422c5e|0x0,_0x5d45dd[0x2]=_0x5d45dd[0x2]+_0x39aa87|0x0,_0x5d45dd[0x3]=_0x5d45dd[0x3]+_0x2c5372|0x0;},'_doFinalize':function(){var _0x1fcbac=_0x8241c7,_0x339198=this['_data'],_0x439ca3=_0x339198[_0x1fcbac(0x2e2)],_0x154b13=this[_0x1fcbac(0x210)]*0x8,_0x2b5c7c=_0x339198[_0x1fcbac(0x252)]*0x8;_0x439ca3[_0x2b5c7c>>>0x5]|=0x80<<0x18-_0x2b5c7c%0x20;var _0x38953f=_0x3f32b9[_0x1fcbac(0x3d1)](_0x154b13/0x100000000),_0x338b76=_0x154b13;_0x439ca3[(_0x2b5c7c+0x40>>>0x9<<0x4)+0xf]=(_0x38953f<<0x8|_0x38953f>>>0x18)&0xff00ff|(_0x38953f<<0x18|_0x38953f>>>0x8)&0xff00ff00,_0x439ca3[(_0x2b5c7c+0x40>>>0x9<<0x4)+0xe]=(_0x338b76<<0x8|_0x338b76>>>0x18)&0xff00ff|(_0x338b76<<0x18|_0x338b76>>>0x8)&0xff00ff00,_0x339198[_0x1fcbac(0x252)]=(_0x439ca3['length']+0x1)*0x4,this[_0x1fcbac(0x3b2)]();for(var _0x32205a=this['_hash'],_0x249c06=_0x32205a[_0x1fcbac(0x2e2)],_0xefd824=0x0;_0xefd824<0x4;_0xefd824++){var _0x31fa06=_0x249c06[_0xefd824];_0x249c06[_0xefd824]=(_0x31fa06<<0x8|_0x31fa06>>>0x18)&0xff00ff|(_0x31fa06<<0x18|_0x31fa06>>>0x8)&0xff00ff00;}return _0x32205a;},'clone':function(){var _0x3741b7=_0x8241c7,_0x26b342=_0x191119[_0x3741b7(0x3c2)][_0x3741b7(0x181)](this);return _0x26b342[_0x3741b7(0x10c)]=this[_0x3741b7(0x10c)][_0x3741b7(0x3c2)](),_0x26b342;}});function _0x37f0b9(_0x75ffcc,_0x20babe,_0x4c2ee2,_0x4e6e0f,_0x43b0c6,_0x1830a8,_0x82c4e0){var _0x52611b=_0x75ffcc+(_0x20babe&_0x4c2ee2|~_0x20babe&_0x4e6e0f)+_0x43b0c6+_0x82c4e0;return(_0x52611b<<_0x1830a8|_0x52611b>>>0x20-_0x1830a8)+_0x20babe;}function _0x5dbc7b(_0x8e3be6,_0x1e8cd4,_0x138b93,_0x556cd6,_0x470000,_0x18fce6,_0x463277){var _0x302005=_0x8e3be6+(_0x1e8cd4&_0x556cd6|_0x138b93&~_0x556cd6)+_0x470000+_0x463277;return(_0x302005<<_0x18fce6|_0x302005>>>0x20-_0x18fce6)+_0x1e8cd4;}function _0x3fabab(_0x5a06fb,_0x1abbe0,_0xa18de2,_0x37d42d,_0x42345f,_0x3722ee,_0x3bdd77){var _0x4df5c9=_0x5a06fb+(_0x1abbe0^_0xa18de2^_0x37d42d)+_0x42345f+_0x3bdd77;return(_0x4df5c9<<_0x3722ee|_0x4df5c9>>>0x20-_0x3722ee)+_0x1abbe0;}function _0x43ac3a(_0x24f0f7,_0x50f23b,_0x1e15ca,_0x47f2a0,_0x548dc2,_0x105fdb,_0x3dc026){var _0x1bfd87=_0x24f0f7+(_0x1e15ca^(_0x50f23b|~_0x47f2a0))+_0x548dc2+_0x3dc026;return(_0x1bfd87<<_0x105fdb|_0x1bfd87>>>0x20-_0x105fdb)+_0x50f23b;}_0x3a02af['MD5']=_0x191119[_0x8241c7(0xe5)](_0x491db0),_0x3a02af[_0x8241c7(0x2e3)]=_0x191119[_0x8241c7(0x12e)](_0x491db0);}(Math),_0x18681d[_0x1815b4(0x2d2)];}));}(me)),me[_0x18bcd3(0x168)];}var Ie={'exports':{}},Ee={'exports':{}},ji=Ee[_0x5efac8(0x168)],tt;function $i(){var _0x82cdd8=_0x5efac8;return tt||(tt=0x1,function(_0x116870,_0x5062c2){(function(_0x14e24f,_0x2550c4){var _0x5d90dd=_0x54da;_0x116870[_0x5d90dd(0x168)]=_0x2550c4(ee());}(ji,function(_0x3bfa75){var _0x51546b=_0x54da;return(function(){var _0x1490e9=_0x54da,_0xd94559=_0x3bfa75,_0x4e5fc2=_0xd94559[_0x1490e9(0x387)],_0xc3a979=_0x4e5fc2[_0x1490e9(0x219)],_0x1bd97f=_0x4e5fc2['Hasher'],_0x2c2251=_0xd94559['algo'],_0x22ff99=[],_0x3566d0=_0x2c2251[_0x1490e9(0x381)]=_0x1bd97f['extend']({'_doReset':function(){var _0x2b1d14=_0x1490e9;this[_0x2b1d14(0x10c)]=new _0xc3a979[(_0x2b1d14(0xf9))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x17122d,_0x1a6b76){var _0x17ccae=_0x1490e9;for(var _0x58d954=this['_hash'][_0x17ccae(0x2e2)],_0x1a1e82=_0x58d954[0x0],_0x361413=_0x58d954[0x1],_0x5159c5=_0x58d954[0x2],_0x2a3dc9=_0x58d954[0x3],_0x56af3c=_0x58d954[0x4],_0x16257c=0x0;_0x16257c<0x50;_0x16257c++){if(_0x16257c<0x10)_0x22ff99[_0x16257c]=_0x17122d[_0x1a6b76+_0x16257c]|0x0;else{var _0x559dbd=_0x22ff99[_0x16257c-0x3]^_0x22ff99[_0x16257c-0x8]^_0x22ff99[_0x16257c-0xe]^_0x22ff99[_0x16257c-0x10];_0x22ff99[_0x16257c]=_0x559dbd<<0x1|_0x559dbd>>>0x1f;}var _0xd5129c=(_0x1a1e82<<0x5|_0x1a1e82>>>0x1b)+_0x56af3c+_0x22ff99[_0x16257c];_0x16257c<0x14?_0xd5129c+=(_0x361413&_0x5159c5|~_0x361413&_0x2a3dc9)+0x5a827999:_0x16257c<0x28?_0xd5129c+=(_0x361413^_0x5159c5^_0x2a3dc9)+0x6ed9eba1:_0x16257c<0x3c?_0xd5129c+=(_0x361413&_0x5159c5|_0x361413&_0x2a3dc9|_0x5159c5&_0x2a3dc9)-0x70e44324:_0xd5129c+=(_0x361413^_0x5159c5^_0x2a3dc9)-0x359d3e2a,_0x56af3c=_0x2a3dc9,_0x2a3dc9=_0x5159c5,_0x5159c5=_0x361413<<0x1e|_0x361413>>>0x2,_0x361413=_0x1a1e82,_0x1a1e82=_0xd5129c;}_0x58d954[0x0]=_0x58d954[0x0]+_0x1a1e82|0x0,_0x58d954[0x1]=_0x58d954[0x1]+_0x361413|0x0,_0x58d954[0x2]=_0x58d954[0x2]+_0x5159c5|0x0,_0x58d954[0x3]=_0x58d954[0x3]+_0x2a3dc9|0x0,_0x58d954[0x4]=_0x58d954[0x4]+_0x56af3c|0x0;},'_doFinalize':function(){var _0x5caa82=_0x1490e9,_0x2d8f05=this['_data'],_0x5397f3=_0x2d8f05[_0x5caa82(0x2e2)],_0x34822a=this[_0x5caa82(0x210)]*0x8,_0xf25a9a=_0x2d8f05['sigBytes']*0x8;return _0x5397f3[_0xf25a9a>>>0x5]|=0x80<<0x18-_0xf25a9a%0x20,_0x5397f3[(_0xf25a9a+0x40>>>0x9<<0x4)+0xe]=Math[_0x5caa82(0x3d1)](_0x34822a/0x100000000),_0x5397f3[(_0xf25a9a+0x40>>>0x9<<0x4)+0xf]=_0x34822a,_0x2d8f05[_0x5caa82(0x252)]=_0x5397f3[_0x5caa82(0xec)]*0x4,this[_0x5caa82(0x3b2)](),this[_0x5caa82(0x10c)];},'clone':function(){var _0x3056d7=_0x1490e9,_0x45c0e0=_0x1bd97f['clone'][_0x3056d7(0x181)](this);return _0x45c0e0[_0x3056d7(0x10c)]=this[_0x3056d7(0x10c)][_0x3056d7(0x3c2)](),_0x45c0e0;}});_0xd94559[_0x1490e9(0x381)]=_0x1bd97f[_0x1490e9(0xe5)](_0x3566d0),_0xd94559[_0x1490e9(0x1dc)]=_0x1bd97f[_0x1490e9(0x12e)](_0x3566d0);}()),_0x3bfa75[_0x51546b(0x381)];}));}(Ee)),Ee[_0x82cdd8(0x168)];}var Ce={'exports':{}},Bi=Ce['exports'],it;function Fi(){return it||(it=0x1,function(_0x3ada49,_0x58aee7){(function(_0x4df196,_0x596309){_0x3ada49['exports']=_0x596309(ee());}(Bi,function(_0x414877){(function(){var _0x3fe964=_0x54da,_0x279d79=_0x414877,_0x3c35bd=_0x279d79[_0x3fe964(0x387)],_0x32546c=_0x3c35bd[_0x3fe964(0x318)],_0x176829=_0x279d79[_0x3fe964(0x2da)],_0x18196b=_0x176829[_0x3fe964(0x358)],_0x31f5e1=_0x279d79['algo'];_0x31f5e1[_0x3fe964(0x353)]=_0x32546c[_0x3fe964(0x363)]({'init':function(_0x565bb9,_0x40a408){var _0x1deb3a=_0x3fe964;_0x565bb9=this[_0x1deb3a(0x218)]=new _0x565bb9['init'](),typeof _0x40a408=='string'&&(_0x40a408=_0x18196b[_0x1deb3a(0x2ed)](_0x40a408));var _0x42e28c=_0x565bb9[_0x1deb3a(0xbd)],_0x3ea03c=_0x42e28c*0x4;_0x40a408[_0x1deb3a(0x252)]>_0x3ea03c&&(_0x40a408=_0x565bb9[_0x1deb3a(0x16d)](_0x40a408)),_0x40a408[_0x1deb3a(0x2ea)]();for(var _0x19f2f8=this['_oKey']=_0x40a408[_0x1deb3a(0x3c2)](),_0x5b9980=this[_0x1deb3a(0x3e6)]=_0x40a408[_0x1deb3a(0x3c2)](),_0x5a6693=_0x19f2f8[_0x1deb3a(0x2e2)],_0x438e33=_0x5b9980[_0x1deb3a(0x2e2)],_0xdeee1a=0x0;_0xdeee1a<_0x42e28c;_0xdeee1a++)_0x5a6693[_0xdeee1a]^=0x5c5c5c5c,_0x438e33[_0xdeee1a]^=0x36363636;_0x19f2f8[_0x1deb3a(0x252)]=_0x5b9980[_0x1deb3a(0x252)]=_0x3ea03c,this[_0x1deb3a(0x2de)]();},'reset':function(){var _0x22d68c=_0x3fe964,_0x4768c6=this['_hasher'];_0x4768c6['reset'](),_0x4768c6[_0x22d68c(0x2f8)](this[_0x22d68c(0x3e6)]);},'update':function(_0x272a7f){var _0x51efa1=_0x3fe964;return this[_0x51efa1(0x218)][_0x51efa1(0x2f8)](_0x272a7f),this;},'finalize':function(_0x57b1cf){var _0x5516a0=_0x3fe964,_0x43dceb=this[_0x5516a0(0x218)],_0x8dc870=_0x43dceb['finalize'](_0x57b1cf);_0x43dceb['reset']();var _0x390901=_0x43dceb[_0x5516a0(0x16d)](this[_0x5516a0(0x311)][_0x5516a0(0x3c2)]()[_0x5516a0(0x3b6)](_0x8dc870));return _0x390901;}});}());}));}(Ce)),Ce['exports'];}var Wi=Ie[_0x5efac8(0x168)],nt;function Pt(){return nt||(nt=0x1,function(_0x564ec7,_0x3ee4a6){(function(_0x3983b5,_0x2cbe45,_0x296eb1){var _0x3c7eb9=_0x54da;_0x564ec7[_0x3c7eb9(0x168)]=_0x2cbe45(ee(),$i(),Fi());}(Wi,function(_0x6ce0b){var _0x179bbe=_0x54da;return(function(){var _0x5c4697=_0x54da,_0x55ff3f=_0x6ce0b,_0x1de133=_0x55ff3f[_0x5c4697(0x387)],_0x183770=_0x1de133[_0x5c4697(0x318)],_0x1ed420=_0x1de133[_0x5c4697(0x219)],_0x599122=_0x55ff3f[_0x5c4697(0x36e)],_0x1f98a7=_0x599122[_0x5c4697(0x2d2)],_0x22a222=_0x599122[_0x5c4697(0xb8)]=_0x183770[_0x5c4697(0x363)]({'cfg':_0x183770['extend']({'keySize':0x80/0x20,'hasher':_0x1f98a7,'iterations':0x1}),'init':function(_0x55d05c){var _0x132555=_0x5c4697;this[_0x132555(0x2c9)]=this[_0x132555(0x2c9)][_0x132555(0x363)](_0x55d05c);},'compute':function(_0x3f685d,_0x1bf803){var _0x222a8b=_0x5c4697;for(var _0x53dcf9,_0x3a97f9=this['cfg'],_0x1340e3=_0x3a97f9[_0x222a8b(0x13b)]['create'](),_0x1f2477=_0x1ed420['create'](),_0x5e0374=_0x1f2477[_0x222a8b(0x2e2)],_0x3c94b4=_0x3a97f9[_0x222a8b(0x3d4)],_0x1af4dc=_0x3a97f9['iterations'];_0x5e0374[_0x222a8b(0xec)]<_0x3c94b4;){_0x53dcf9&&_0x1340e3[_0x222a8b(0x2f8)](_0x53dcf9),_0x53dcf9=_0x1340e3[_0x222a8b(0x2f8)](_0x3f685d)[_0x222a8b(0x16d)](_0x1bf803),_0x1340e3[_0x222a8b(0x2de)]();for(var _0x3c2fc4=0x1;_0x3c2fc4<_0x1af4dc;_0x3c2fc4++)_0x53dcf9=_0x1340e3[_0x222a8b(0x16d)](_0x53dcf9),_0x1340e3[_0x222a8b(0x2de)]();_0x1f2477['concat'](_0x53dcf9);}return _0x1f2477[_0x222a8b(0x252)]=_0x3c94b4*0x4,_0x1f2477;}});_0x55ff3f[_0x5c4697(0xb8)]=function(_0x1aa06d,_0x5e4024,_0x2352e4){var _0x3fdb73=_0x5c4697;return _0x22a222[_0x3fdb73(0x185)](_0x2352e4)[_0x3fdb73(0x372)](_0x1aa06d,_0x5e4024);};}()),_0x6ce0b[_0x179bbe(0xb8)];}));}(Ie)),Ie['exports'];}var Te={'exports':{}},Gi=Te[_0x5efac8(0x168)],rt;function At(){var _0xf167b6=_0x5efac8;return rt||(rt=0x1,function(_0x80d0f9,_0x13752c){(function(_0x4527fb,_0x276a3a,_0x6ac334){var _0x51cf9b=_0x54da;_0x80d0f9[_0x51cf9b(0x168)]=_0x276a3a(ee(),Pt());}(Gi,function(_0x21ce59){var _0x2bab3c=_0x54da;_0x21ce59[_0x2bab3c(0x387)][_0x2bab3c(0x2a6)]||function(_0x363b43){var _0x38aefb=_0x2bab3c,_0x461a19=_0x21ce59,_0x52b5f3=_0x461a19[_0x38aefb(0x387)],_0x297eb4=_0x52b5f3[_0x38aefb(0x318)],_0x40e5aa=_0x52b5f3['WordArray'],_0x4b0202=_0x52b5f3[_0x38aefb(0x316)],_0x32f152=_0x461a19['enc'];_0x32f152['Utf8'];var _0x2c179d=_0x32f152[_0x38aefb(0x33b)],_0xc5cf0b=_0x461a19[_0x38aefb(0x36e)],_0x46e0a8=_0xc5cf0b['EvpKDF'],_0x5f03a8=_0x52b5f3[_0x38aefb(0x2a6)]=_0x4b0202[_0x38aefb(0x363)]({'cfg':_0x297eb4[_0x38aefb(0x363)](),'createEncryptor':function(_0x390b7e,_0x15893b){return this['create'](this['_ENC_XFORM_MODE'],_0x390b7e,_0x15893b);},'createDecryptor':function(_0x1ec62e,_0xbb915){var _0x331367=_0x38aefb;return this[_0x331367(0x185)](this['_DEC_XFORM_MODE'],_0x1ec62e,_0xbb915);},'init':function(_0x1a5c6f,_0x56bcdb,_0x1ff253){var _0x378ab7=_0x38aefb;this[_0x378ab7(0x2c9)]=this[_0x378ab7(0x2c9)][_0x378ab7(0x363)](_0x1ff253),this[_0x378ab7(0x245)]=_0x1a5c6f,this[_0x378ab7(0x26e)]=_0x56bcdb,this[_0x378ab7(0x2de)]();},'reset':function(){var _0x209fe6=_0x38aefb;_0x4b0202['reset'][_0x209fe6(0x181)](this),this[_0x209fe6(0x189)]();},'process':function(_0x565edf){var _0x58fe50=_0x38aefb;return this['_append'](_0x565edf),this[_0x58fe50(0x3b2)]();},'finalize':function(_0x3cfe28){var _0x281edf=_0x38aefb;_0x3cfe28&&this[_0x281edf(0x1d9)](_0x3cfe28);var _0x202ee5=this[_0x281edf(0xc4)]();return _0x202ee5;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x1a9c48(_0x5940a3){var _0x5224fb=_0x54da;return typeof _0x5940a3==_0x5224fb(0x1b4)?_0x39c4bd:_0x478907;}return function(_0x33fbff){return{'encrypt':function(_0xb2b6b4,_0x1ab494,_0x1e63cc){return _0x1a9c48(_0x1ab494)['encrypt'](_0x33fbff,_0xb2b6b4,_0x1ab494,_0x1e63cc);},'decrypt':function(_0x13a37a,_0x16ee66,_0x4344d7){var _0x4570d5=_0x54da;return _0x1a9c48(_0x16ee66)[_0x4570d5(0x2b0)](_0x33fbff,_0x13a37a,_0x16ee66,_0x4344d7);}};};}())});_0x52b5f3[_0x38aefb(0x3f6)]=_0x5f03a8[_0x38aefb(0x363)]({'_doFinalize':function(){var _0x5e43fb=this['_process'](!0x0);return _0x5e43fb;},'blockSize':0x1});var _0x112c82=_0x461a19[_0x38aefb(0x290)]={},_0x56b9ab=_0x52b5f3['BlockCipherMode']=_0x297eb4[_0x38aefb(0x363)]({'createEncryptor':function(_0x1be106,_0x2b285c){var _0x1ec1c7=_0x38aefb;return this['Encryptor'][_0x1ec1c7(0x185)](_0x1be106,_0x2b285c);},'createDecryptor':function(_0x4586d5,_0x3ec07f){var _0x2aea89=_0x38aefb;return this['Decryptor'][_0x2aea89(0x185)](_0x4586d5,_0x3ec07f);},'init':function(_0x3dc048,_0x1f4ba3){var _0xe5cdc5=_0x38aefb;this[_0xe5cdc5(0x140)]=_0x3dc048,this[_0xe5cdc5(0xc7)]=_0x1f4ba3;}}),_0x2e6149=_0x112c82['CBC']=(function(){var _0x530ad9=_0x38aefb,_0x2bcdbc=_0x56b9ab[_0x530ad9(0x363)]();_0x2bcdbc['Encryptor']=_0x2bcdbc[_0x530ad9(0x363)]({'processBlock':function(_0x233fc5,_0x548ad4){var _0x4e3b21=_0x530ad9,_0x7fd66a=this[_0x4e3b21(0x140)],_0x572cc2=_0x7fd66a[_0x4e3b21(0xbd)];_0x23e87b['call'](this,_0x233fc5,_0x548ad4,_0x572cc2),_0x7fd66a[_0x4e3b21(0xd5)](_0x233fc5,_0x548ad4),this[_0x4e3b21(0x12a)]=_0x233fc5['slice'](_0x548ad4,_0x548ad4+_0x572cc2);}}),_0x2bcdbc[_0x530ad9(0x27d)]=_0x2bcdbc[_0x530ad9(0x363)]({'processBlock':function(_0x5536f0,_0x1d456d){var _0x31ecf3=_0x530ad9,_0x6b3b0b=this['_cipher'],_0xc2a991=_0x6b3b0b[_0x31ecf3(0xbd)],_0x435e35=_0x5536f0[_0x31ecf3(0x133)](_0x1d456d,_0x1d456d+_0xc2a991);_0x6b3b0b[_0x31ecf3(0xfe)](_0x5536f0,_0x1d456d),_0x23e87b['call'](this,_0x5536f0,_0x1d456d,_0xc2a991),this['_prevBlock']=_0x435e35;}});function _0x23e87b(_0x5c50aa,_0x298174,_0x4f6430){var _0x48515a=_0x530ad9,_0x3ba9b0,_0x1a9d09=this[_0x48515a(0xc7)];_0x1a9d09?(_0x3ba9b0=_0x1a9d09,this[_0x48515a(0xc7)]=_0x363b43):_0x3ba9b0=this[_0x48515a(0x12a)];for(var _0x11ede5=0x0;_0x11ede5<_0x4f6430;_0x11ede5++)_0x5c50aa[_0x298174+_0x11ede5]^=_0x3ba9b0[_0x11ede5];}return _0x2bcdbc;}()),_0x316a7a=_0x461a19[_0x38aefb(0x1fd)]={},_0x50e8c4=_0x316a7a['Pkcs7']={'pad':function(_0x46e117,_0x367f60){var _0x5c7b23=_0x38aefb;for(var _0x4e4ac8=_0x367f60*0x4,_0xed4ecd=_0x4e4ac8-_0x46e117[_0x5c7b23(0x252)]%_0x4e4ac8,_0x543e07=_0xed4ecd<<0x18|_0xed4ecd<<0x10|_0xed4ecd<<0x8|_0xed4ecd,_0x3286d9=[],_0x17db1a=0x0;_0x17db1a<_0xed4ecd;_0x17db1a+=0x4)_0x3286d9['push'](_0x543e07);var _0x4ca9cd=_0x40e5aa['create'](_0x3286d9,_0xed4ecd);_0x46e117['concat'](_0x4ca9cd);},'unpad':function(_0x3f7d19){var _0x360d76=_0x3f7d19['words'][_0x3f7d19['sigBytes']-0x1>>>0x2]&0xff;_0x3f7d19['sigBytes']-=_0x360d76;}};_0x52b5f3[_0x38aefb(0x182)]=_0x5f03a8[_0x38aefb(0x363)]({'cfg':_0x5f03a8[_0x38aefb(0x2c9)][_0x38aefb(0x363)]({'mode':_0x2e6149,'padding':_0x50e8c4}),'reset':function(){var _0x1428f7=_0x38aefb,_0xb6e7f6;_0x5f03a8[_0x1428f7(0x2de)][_0x1428f7(0x181)](this);var _0x19346a=this[_0x1428f7(0x2c9)],_0x5558a8=_0x19346a['iv'],_0x487f67=_0x19346a[_0x1428f7(0x290)];this[_0x1428f7(0x245)]==this[_0x1428f7(0x32f)]?_0xb6e7f6=_0x487f67[_0x1428f7(0x263)]:(_0xb6e7f6=_0x487f67[_0x1428f7(0x2dc)],this['_minBufferSize']=0x1),this[_0x1428f7(0x30d)]&&this['_mode'][_0x1428f7(0x2bb)]==_0xb6e7f6?this[_0x1428f7(0x30d)][_0x1428f7(0xf9)](this,_0x5558a8&&_0x5558a8[_0x1428f7(0x2e2)]):(this['_mode']=_0xb6e7f6[_0x1428f7(0x181)](_0x487f67,this,_0x5558a8&&_0x5558a8[_0x1428f7(0x2e2)]),this['_mode']['__creator']=_0xb6e7f6);},'_doProcessBlock':function(_0x55e800,_0x47c237){var _0x2eee50=_0x38aefb;this[_0x2eee50(0x30d)][_0x2eee50(0x10e)](_0x55e800,_0x47c237);},'_doFinalize':function(){var _0x95a17b=_0x38aefb,_0x27410e,_0x123da2=this[_0x95a17b(0x2c9)]['padding'];return this[_0x95a17b(0x245)]==this[_0x95a17b(0x32f)]?(_0x123da2[_0x95a17b(0x1fd)](this['_data'],this[_0x95a17b(0xbd)]),_0x27410e=this[_0x95a17b(0x3b2)](!0x0)):(_0x27410e=this[_0x95a17b(0x3b2)](!0x0),_0x123da2['unpad'](_0x27410e)),_0x27410e;},'blockSize':0x80/0x20});var _0x38fc9f=_0x52b5f3[_0x38aefb(0x1bc)]=_0x297eb4[_0x38aefb(0x363)]({'init':function(_0x1e4f39){var _0x442c05=_0x38aefb;this[_0x442c05(0x2fb)](_0x1e4f39);},'toString':function(_0x404368){var _0x33ec2a=_0x38aefb;return(_0x404368||this['formatter'])[_0x33ec2a(0x17d)](this);}}),_0x587ccc=_0x461a19[_0x38aefb(0x301)]={},_0x4d0b39=_0x587ccc[_0x38aefb(0x286)]={'stringify':function(_0x22b553){var _0x40cc58=_0x38aefb,_0x35d2a9,_0x173156=_0x22b553[_0x40cc58(0x1da)],_0x2541af=_0x22b553[_0x40cc58(0x21b)];return _0x2541af?_0x35d2a9=_0x40e5aa[_0x40cc58(0x185)]([0x53616c74,0x65645f5f])[_0x40cc58(0x3b6)](_0x2541af)[_0x40cc58(0x3b6)](_0x173156):_0x35d2a9=_0x173156,_0x35d2a9['toString'](_0x2c179d);},'parse':function(_0x5d7ee7){var _0x4e7f5b=_0x38aefb,_0x11642d,_0x1fa45e=_0x2c179d[_0x4e7f5b(0x2ed)](_0x5d7ee7),_0x20e336=_0x1fa45e[_0x4e7f5b(0x2e2)];return _0x20e336[0x0]==0x53616c74&&_0x20e336[0x1]==0x65645f5f&&(_0x11642d=_0x40e5aa[_0x4e7f5b(0x185)](_0x20e336[_0x4e7f5b(0x133)](0x2,0x4)),_0x20e336['splice'](0x0,0x4),_0x1fa45e[_0x4e7f5b(0x252)]-=0x10),_0x38fc9f[_0x4e7f5b(0x185)]({'ciphertext':_0x1fa45e,'salt':_0x11642d});}},_0x478907=_0x52b5f3[_0x38aefb(0x3a3)]=_0x297eb4[_0x38aefb(0x363)]({'cfg':_0x297eb4[_0x38aefb(0x363)]({'format':_0x4d0b39}),'encrypt':function(_0x5ddead,_0x222c86,_0x49a4fd,_0x55cca3){var _0x20ed54=_0x38aefb;_0x55cca3=this['cfg']['extend'](_0x55cca3);var _0x15386c=_0x5ddead['createEncryptor'](_0x49a4fd,_0x55cca3),_0x17ae07=_0x15386c[_0x20ed54(0x16d)](_0x222c86),_0x33ee07=_0x15386c['cfg'];return _0x38fc9f[_0x20ed54(0x185)]({'ciphertext':_0x17ae07,'key':_0x49a4fd,'iv':_0x33ee07['iv'],'algorithm':_0x5ddead,'mode':_0x33ee07[_0x20ed54(0x290)],'padding':_0x33ee07[_0x20ed54(0x1bd)],'blockSize':_0x5ddead['blockSize'],'formatter':_0x55cca3['format']});},'decrypt':function(_0x376071,_0x50a196,_0x5d1227,_0x306ea5){var _0x47073f=_0x38aefb;_0x306ea5=this[_0x47073f(0x2c9)][_0x47073f(0x363)](_0x306ea5),_0x50a196=this['_parse'](_0x50a196,_0x306ea5['format']);var _0x3a93b3=_0x376071['createDecryptor'](_0x5d1227,_0x306ea5)['finalize'](_0x50a196[_0x47073f(0x1da)]);return _0x3a93b3;},'_parse':function(_0x17e042,_0x2ee1e1){var _0x21492c=_0x38aefb;return typeof _0x17e042==_0x21492c(0x1b4)?_0x2ee1e1[_0x21492c(0x2ed)](_0x17e042,this):_0x17e042;}}),_0x2f8298=_0x461a19[_0x38aefb(0xa9)]={},_0x308e9c=_0x2f8298[_0x38aefb(0x286)]={'execute':function(_0x2157e7,_0x5c9efc,_0x51e775,_0x29b522,_0x8794c5){var _0x51ef9a=_0x38aefb;if(_0x29b522||(_0x29b522=_0x40e5aa['random'](0x40/0x8)),_0x8794c5)var _0x530072=_0x46e0a8['create']({'keySize':_0x5c9efc+_0x51e775,'hasher':_0x8794c5})[_0x51ef9a(0x372)](_0x2157e7,_0x29b522);else var _0x530072=_0x46e0a8[_0x51ef9a(0x185)]({'keySize':_0x5c9efc+_0x51e775})[_0x51ef9a(0x372)](_0x2157e7,_0x29b522);var _0x551ad2=_0x40e5aa[_0x51ef9a(0x185)](_0x530072[_0x51ef9a(0x2e2)][_0x51ef9a(0x133)](_0x5c9efc),_0x51e775*0x4);return _0x530072['sigBytes']=_0x5c9efc*0x4,_0x38fc9f[_0x51ef9a(0x185)]({'key':_0x530072,'iv':_0x551ad2,'salt':_0x29b522});}},_0x39c4bd=_0x52b5f3[_0x38aefb(0x339)]=_0x478907[_0x38aefb(0x363)]({'cfg':_0x478907[_0x38aefb(0x2c9)][_0x38aefb(0x363)]({'kdf':_0x308e9c}),'encrypt':function(_0x218c44,_0x224b1f,_0x47e34d,_0x4120e9){var _0x4d5c40=_0x38aefb;_0x4120e9=this[_0x4d5c40(0x2c9)][_0x4d5c40(0x363)](_0x4120e9);var _0x244b7b=_0x4120e9[_0x4d5c40(0xa9)][_0x4d5c40(0xc5)](_0x47e34d,_0x218c44[_0x4d5c40(0x3d4)],_0x218c44[_0x4d5c40(0x30a)],_0x4120e9[_0x4d5c40(0x21b)],_0x4120e9[_0x4d5c40(0x13b)]);_0x4120e9['iv']=_0x244b7b['iv'];var _0x340517=_0x478907[_0x4d5c40(0x3cd)][_0x4d5c40(0x181)](this,_0x218c44,_0x224b1f,_0x244b7b[_0x4d5c40(0xb2)],_0x4120e9);return _0x340517['mixIn'](_0x244b7b),_0x340517;},'decrypt':function(_0xc6482d,_0x20ac7e,_0x3d137c,_0x3246e1){var _0x1a1229=_0x38aefb;_0x3246e1=this[_0x1a1229(0x2c9)]['extend'](_0x3246e1),_0x20ac7e=this[_0x1a1229(0x35e)](_0x20ac7e,_0x3246e1[_0x1a1229(0x301)]);var _0x2a3369=_0x3246e1['kdf'][_0x1a1229(0xc5)](_0x3d137c,_0xc6482d[_0x1a1229(0x3d4)],_0xc6482d['ivSize'],_0x20ac7e[_0x1a1229(0x21b)],_0x3246e1['hasher']);_0x3246e1['iv']=_0x2a3369['iv'];var _0x300fa0=_0x478907[_0x1a1229(0x2b0)][_0x1a1229(0x181)](this,_0xc6482d,_0x20ac7e,_0x2a3369['key'],_0x3246e1);return _0x300fa0;}});}();}));}(Te)),Te[_0xf167b6(0x168)];}var Vi=fe['exports'],st;function Ki(){return st||(st=0x1,function(_0x17fcf5,_0x4e7813){(function(_0x2bea01,_0x5439b5,_0x36808b){var _0x397e13=_0x54da;_0x17fcf5[_0x397e13(0x168)]=_0x5439b5(ee(),Ut(),Hi(),Pt(),At());}(Vi,function(_0x1760be){var _0x3072f4=_0x54da;return(function(){var _0x33c7ea=_0x54da,_0x5c07c2=_0x1760be,_0x1cd21f=_0x5c07c2[_0x33c7ea(0x387)],_0x538ac9=_0x1cd21f['BlockCipher'],_0x1c34b5=_0x5c07c2[_0x33c7ea(0x36e)],_0x58995d=[],_0x2be5b2=[],_0x295973=[],_0x29d78e=[],_0x56605d=[],_0x78d8c6=[],_0x416102=[],_0x43b202=[],_0x4e28ba=[],_0x23adee=[];(function(){for(var _0x112415=[],_0x454c1e=0x0;_0x454c1e<0x100;_0x454c1e++)_0x454c1e<0x80?_0x112415[_0x454c1e]=_0x454c1e<<0x1:_0x112415[_0x454c1e]=_0x454c1e<<0x1^0x11b;for(var _0x10d1db=0x0,_0xa76808=0x0,_0x454c1e=0x0;_0x454c1e<0x100;_0x454c1e++){var _0x59f80e=_0xa76808^_0xa76808<<0x1^_0xa76808<<0x2^_0xa76808<<0x3^_0xa76808<<0x4;_0x59f80e=_0x59f80e>>>0x8^_0x59f80e&0xff^0x63,_0x58995d[_0x10d1db]=_0x59f80e,_0x2be5b2[_0x59f80e]=_0x10d1db;var _0x362072=_0x112415[_0x10d1db],_0x2b1a4f=_0x112415[_0x362072],_0x436a41=_0x112415[_0x2b1a4f],_0x5f138e=_0x112415[_0x59f80e]*0x101^_0x59f80e*0x1010100;_0x295973[_0x10d1db]=_0x5f138e<<0x18|_0x5f138e>>>0x8,_0x29d78e[_0x10d1db]=_0x5f138e<<0x10|_0x5f138e>>>0x10,_0x56605d[_0x10d1db]=_0x5f138e<<0x8|_0x5f138e>>>0x18,_0x78d8c6[_0x10d1db]=_0x5f138e;var _0x5f138e=_0x436a41*0x1010101^_0x2b1a4f*0x10001^_0x362072*0x101^_0x10d1db*0x1010100;_0x416102[_0x59f80e]=_0x5f138e<<0x18|_0x5f138e>>>0x8,_0x43b202[_0x59f80e]=_0x5f138e<<0x10|_0x5f138e>>>0x10,_0x4e28ba[_0x59f80e]=_0x5f138e<<0x8|_0x5f138e>>>0x18,_0x23adee[_0x59f80e]=_0x5f138e,_0x10d1db?(_0x10d1db=_0x362072^_0x112415[_0x112415[_0x112415[_0x436a41^_0x362072]]],_0xa76808^=_0x112415[_0x112415[_0xa76808]]):_0x10d1db=_0xa76808=0x1;}}());var _0x41c907=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x2c34f4=_0x1c34b5[_0x33c7ea(0xeb)]=_0x538ac9[_0x33c7ea(0x363)]({'_doReset':function(){var _0x17d7cc=_0x33c7ea,_0x5b94bd;if(!(this[_0x17d7cc(0x217)]&&this[_0x17d7cc(0x176)]===this[_0x17d7cc(0x26e)])){for(var _0x337222=this[_0x17d7cc(0x176)]=this['_key'],_0x95555f=_0x337222[_0x17d7cc(0x2e2)],_0x2d21c4=_0x337222[_0x17d7cc(0x252)]/0x4,_0x46cf50=this['_nRounds']=_0x2d21c4+0x6,_0x3a09c5=(_0x46cf50+0x1)*0x4,_0x41ddea=this[_0x17d7cc(0x1cd)]=[],_0x97197=0x0;_0x97197<_0x3a09c5;_0x97197++)_0x97197<_0x2d21c4?_0x41ddea[_0x97197]=_0x95555f[_0x97197]:(_0x5b94bd=_0x41ddea[_0x97197-0x1],_0x97197%_0x2d21c4?_0x2d21c4>0x6&&_0x97197%_0x2d21c4==0x4&&(_0x5b94bd=_0x58995d[_0x5b94bd>>>0x18]<<0x18|_0x58995d[_0x5b94bd>>>0x10&0xff]<<0x10|_0x58995d[_0x5b94bd>>>0x8&0xff]<<0x8|_0x58995d[_0x5b94bd&0xff]):(_0x5b94bd=_0x5b94bd<<0x8|_0x5b94bd>>>0x18,_0x5b94bd=_0x58995d[_0x5b94bd>>>0x18]<<0x18|_0x58995d[_0x5b94bd>>>0x10&0xff]<<0x10|_0x58995d[_0x5b94bd>>>0x8&0xff]<<0x8|_0x58995d[_0x5b94bd&0xff],_0x5b94bd^=_0x41c907[_0x97197/_0x2d21c4|0x0]<<0x18),_0x41ddea[_0x97197]=_0x41ddea[_0x97197-_0x2d21c4]^_0x5b94bd);for(var _0x9987ff=this[_0x17d7cc(0xe3)]=[],_0x51f9ef=0x0;_0x51f9ef<_0x3a09c5;_0x51f9ef++){var _0x97197=_0x3a09c5-_0x51f9ef;if(_0x51f9ef%0x4)var _0x5b94bd=_0x41ddea[_0x97197];else var _0x5b94bd=_0x41ddea[_0x97197-0x4];_0x51f9ef<0x4||_0x97197<=0x4?_0x9987ff[_0x51f9ef]=_0x5b94bd:_0x9987ff[_0x51f9ef]=_0x416102[_0x58995d[_0x5b94bd>>>0x18]]^_0x43b202[_0x58995d[_0x5b94bd>>>0x10&0xff]]^_0x4e28ba[_0x58995d[_0x5b94bd>>>0x8&0xff]]^_0x23adee[_0x58995d[_0x5b94bd&0xff]];}}},'encryptBlock':function(_0x3ac2c5,_0x3c5775){var _0x109a1f=_0x33c7ea;this[_0x109a1f(0x19a)](_0x3ac2c5,_0x3c5775,this[_0x109a1f(0x1cd)],_0x295973,_0x29d78e,_0x56605d,_0x78d8c6,_0x58995d);},'decryptBlock':function(_0x71db24,_0x1106a5){var _0x17d0c1=_0x33c7ea,_0x20a43c=_0x71db24[_0x1106a5+0x1];_0x71db24[_0x1106a5+0x1]=_0x71db24[_0x1106a5+0x3],_0x71db24[_0x1106a5+0x3]=_0x20a43c,this['_doCryptBlock'](_0x71db24,_0x1106a5,this[_0x17d0c1(0xe3)],_0x416102,_0x43b202,_0x4e28ba,_0x23adee,_0x2be5b2);var _0x20a43c=_0x71db24[_0x1106a5+0x1];_0x71db24[_0x1106a5+0x1]=_0x71db24[_0x1106a5+0x3],_0x71db24[_0x1106a5+0x3]=_0x20a43c;},'_doCryptBlock':function(_0x5868c9,_0x378803,_0xdac0c2,_0x1650d7,_0x5839ee,_0x55ed16,_0x40bc69,_0x50dc28){var _0x105ffc=_0x33c7ea;for(var _0x1626d7=this[_0x105ffc(0x217)],_0xe4d41a=_0x5868c9[_0x378803]^_0xdac0c2[0x0],_0x108531=_0x5868c9[_0x378803+0x1]^_0xdac0c2[0x1],_0x5915d=_0x5868c9[_0x378803+0x2]^_0xdac0c2[0x2],_0x41c9b8=_0x5868c9[_0x378803+0x3]^_0xdac0c2[0x3],_0x57f8bb=0x4,_0x50c0c5=0x1;_0x50c0c5<_0x1626d7;_0x50c0c5++){var _0x508db0=_0x1650d7[_0xe4d41a>>>0x18]^_0x5839ee[_0x108531>>>0x10&0xff]^_0x55ed16[_0x5915d>>>0x8&0xff]^_0x40bc69[_0x41c9b8&0xff]^_0xdac0c2[_0x57f8bb++],_0x3857bb=_0x1650d7[_0x108531>>>0x18]^_0x5839ee[_0x5915d>>>0x10&0xff]^_0x55ed16[_0x41c9b8>>>0x8&0xff]^_0x40bc69[_0xe4d41a&0xff]^_0xdac0c2[_0x57f8bb++],_0x43d7b0=_0x1650d7[_0x5915d>>>0x18]^_0x5839ee[_0x41c9b8>>>0x10&0xff]^_0x55ed16[_0xe4d41a>>>0x8&0xff]^_0x40bc69[_0x108531&0xff]^_0xdac0c2[_0x57f8bb++],_0x1faf77=_0x1650d7[_0x41c9b8>>>0x18]^_0x5839ee[_0xe4d41a>>>0x10&0xff]^_0x55ed16[_0x108531>>>0x8&0xff]^_0x40bc69[_0x5915d&0xff]^_0xdac0c2[_0x57f8bb++];_0xe4d41a=_0x508db0,_0x108531=_0x3857bb,_0x5915d=_0x43d7b0,_0x41c9b8=_0x1faf77;}var _0x508db0=(_0x50dc28[_0xe4d41a>>>0x18]<<0x18|_0x50dc28[_0x108531>>>0x10&0xff]<<0x10|_0x50dc28[_0x5915d>>>0x8&0xff]<<0x8|_0x50dc28[_0x41c9b8&0xff])^_0xdac0c2[_0x57f8bb++],_0x3857bb=(_0x50dc28[_0x108531>>>0x18]<<0x18|_0x50dc28[_0x5915d>>>0x10&0xff]<<0x10|_0x50dc28[_0x41c9b8>>>0x8&0xff]<<0x8|_0x50dc28[_0xe4d41a&0xff])^_0xdac0c2[_0x57f8bb++],_0x43d7b0=(_0x50dc28[_0x5915d>>>0x18]<<0x18|_0x50dc28[_0x41c9b8>>>0x10&0xff]<<0x10|_0x50dc28[_0xe4d41a>>>0x8&0xff]<<0x8|_0x50dc28[_0x108531&0xff])^_0xdac0c2[_0x57f8bb++],_0x1faf77=(_0x50dc28[_0x41c9b8>>>0x18]<<0x18|_0x50dc28[_0xe4d41a>>>0x10&0xff]<<0x10|_0x50dc28[_0x108531>>>0x8&0xff]<<0x8|_0x50dc28[_0x5915d&0xff])^_0xdac0c2[_0x57f8bb++];_0x5868c9[_0x378803]=_0x508db0,_0x5868c9[_0x378803+0x1]=_0x3857bb,_0x5868c9[_0x378803+0x2]=_0x43d7b0,_0x5868c9[_0x378803+0x3]=_0x1faf77;},'keySize':0x100/0x20});_0x5c07c2[_0x33c7ea(0xeb)]=_0x538ac9[_0x33c7ea(0xe5)](_0x2c34f4);}()),_0x1760be[_0x3072f4(0xeb)];}));}(fe)),fe['exports'];}var Yi=Ki();const qi=Se(Yi);var zi=Ut();const ot=Se(zi);var be={'exports':{}},Ji=be[_0x5efac8(0x168)],at;function Xi(){var _0x16858d=_0x5efac8;return at||(at=0x1,function(_0x1f4fbe,_0x2c8051){(function(_0x4771d1,_0x40a140){var _0x39002f=_0x54da;_0x1f4fbe[_0x39002f(0x168)]=_0x40a140(ee());}(Ji,function(_0x3c15cf){var _0x1ca072=_0x54da;return _0x3c15cf[_0x1ca072(0x2da)][_0x1ca072(0x358)];}));}(be)),be[_0x16858d(0x168)];}var Zi=Xi();const Qi=Se(Zi);var Re={'exports':{}},en=Re[_0x5efac8(0x168)],ct;function tn(){var _0x26caf4=_0x5efac8;return ct||(ct=0x1,function(_0x2bdd6a,_0x2a5d8e){(function(_0x2d1e26,_0x503166){_0x2bdd6a['exports']=_0x503166(ee());}(en,function(_0x2780f5){var _0x395571=_0x54da;return(function(){var _0x592432=_0x54da;if(typeof ArrayBuffer==_0x592432(0x281)){var _0x4af847=_0x2780f5,_0x1650c1=_0x4af847[_0x592432(0x387)],_0x950e5b=_0x1650c1['WordArray'],_0x563325=_0x950e5b[_0x592432(0xf9)],_0xbf3c9f=_0x950e5b['init']=function(_0x139312){var _0x436b0e=_0x592432;if(_0x139312 instanceof ArrayBuffer&&(_0x139312=new Uint8Array(_0x139312)),(_0x139312 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x139312 instanceof Uint8ClampedArray||_0x139312 instanceof Int16Array||_0x139312 instanceof Uint16Array||_0x139312 instanceof Int32Array||_0x139312 instanceof Uint32Array||_0x139312 instanceof Float32Array||_0x139312 instanceof Float64Array)&&(_0x139312=new Uint8Array(_0x139312['buffer'],_0x139312['byteOffset'],_0x139312['byteLength'])),_0x139312 instanceof Uint8Array){for(var _0x2271f4=_0x139312['byteLength'],_0x4c3894=[],_0x1d39b7=0x0;_0x1d39b7<_0x2271f4;_0x1d39b7++)_0x4c3894[_0x1d39b7>>>0x2]|=_0x139312[_0x1d39b7]<<0x18-_0x1d39b7%0x4*0x8;_0x563325[_0x436b0e(0x181)](this,_0x4c3894,_0x2271f4);}else _0x563325['apply'](this,arguments);};_0xbf3c9f['prototype']=_0x950e5b;}}()),_0x2780f5['lib'][_0x395571(0x219)];}));}(Re)),Re[_0x26caf4(0x168)];}var nn=tn();const rn=Se(nn);var ye={'exports':{}},sn=ye['exports'],ht;function on(){var _0x4d60ef=_0x5efac8;return ht||(ht=0x1,function(_0x568e0e,_0x2a7d1c){(function(_0x43a96d,_0x331d2c,_0x3d17a6){var _0x16928d=_0x54da;_0x568e0e[_0x16928d(0x168)]=_0x331d2c(ee(),At());}(sn,function(_0x27cced){var _0x251eeb=_0x54da;return _0x27cced[_0x251eeb(0x1fd)][_0x251eeb(0x280)]={'pad':function(){},'unpad':function(){}},_0x27cced['pad']['NoPadding'];}));}(ye)),ye[_0x4d60ef(0x168)];}var an=on();const cn=Se(an);function hn(_0x166e66,_0x7119e1){var _0xb2ff9d=_0x5efac8;const _0x4d2041=_0x7119e1-_0x166e66[_0xb2ff9d(0xec)]%_0x7119e1,_0x150163=String[_0xb2ff9d(0x3ad)](_0x4d2041)[_0xb2ff9d(0x3df)](_0x4d2041);return _0x166e66+_0x150163;}function ln(_0x577836,_0x5a545f){var _0x558f2b=_0x5efac8;const _0x1b9ab1=rn['random'](0x10),_0x8949e2=hn(_0x577836,0x10),_0x1f2852=qi['encrypt'](Qi[_0x558f2b(0x2ed)](_0x8949e2),ot[_0x558f2b(0x2ed)](_0x5a545f),{'iv':_0x1b9ab1,'padding':cn});return _0x1b9ab1['concat'](_0x1f2852[_0x558f2b(0x1da)])[_0x558f2b(0x205)](ot);}function _n(){var _0x5953e6=_0x5efac8;const _0x198c9d=xt['getGlobalObject']()[_0x5953e6(0x396)];if(_0x198c9d){const _0x501268={'time':Math[_0x5953e6(0x3d1)](Date[_0x5953e6(0x284)]()/0x3e8),'domain':location[_0x5953e6(0x1eb)]};return ln(JSON[_0x5953e6(0x17d)](_0x501268),_0x198c9d);}}var un=Object[_0x5efac8(0x227)],dn=(_0x55102c,_0x35291d,_0x449242,_0x162896)=>{var _0x57c7e3=_0x5efac8;for(var _0x30914b=_0x162896>0x1?void 0x0:_0x162896?un(_0x35291d,_0x449242):_0x35291d,_0x309cc7=_0x55102c[_0x57c7e3(0xec)]-0x1,_0x3bf628;_0x309cc7>=0x0;_0x309cc7--)(_0x3bf628=_0x55102c[_0x309cc7])&&(_0x30914b=_0x3bf628(_0x30914b)||_0x30914b);return _0x30914b;},vn=(_0x1b5395,_0x25787a)=>(_0x15c660,_0x16b07e)=>_0x25787a(_0x15c660,_0x16b07e,_0x1b5395);let Ne=class{constructor(_0x285906){var _0x1be882=_0x5efac8;this['_httpService']=_0x285906,this[_0x1be882(0x344)]();}[_0x5efac8(0x344)](){var _0x232648=_0x5efac8;this[_0x232648(0x102)][_0x232648(0x362)]({'interceptor':(_0xa23ac3,_0x371dfa)=>{var _0x4452fa=_0x232648;const _0xb1be35=_0xa23ac3['headers'],_0xad52d=_n();return _0xad52d&&_0xb1be35[_0x4452fa(0x269)](_0x4452fa(0x95),_0xad52d),_0x371dfa(_0xa23ac3);}});}};Ne=dn([vn(0x0,a['Inject'](q[_0x5efac8(0x30b)]))],Ne);var Sn=Object[_0x5efac8(0x227)],fn=(_0x120080,_0x1ffbb3,_0x1739e2,_0x1dbb6a)=>{var _0xde500=_0x5efac8;for(var _0x394a2b=_0x1dbb6a>0x1?void 0x0:_0x1dbb6a?Sn(_0x1ffbb3,_0x1739e2):_0x1ffbb3,_0x5720ae=_0x120080[_0xde500(0xec)]-0x1,_0x4468f1;_0x5720ae>=0x0;_0x5720ae--)(_0x4468f1=_0x120080[_0x5720ae])&&(_0x394a2b=_0x4468f1(_0x394a2b)||_0x394a2b);return _0x394a2b;},Me=(_0x340362,_0x430655)=>(_0x26c6a4,_0x2482d1)=>_0x430655(_0x26c6a4,_0x2482d1,_0x340362);exports[_0x5efac8(0x3f0)]=class extends a[_0x5efac8(0x1c1)]{constructor(_0x131c31,_0x4b1a41,_0x4365af){var _0x360b90=_0x5efac8;super(),P(this,_0x360b90(0x2f4),new j[(_0x360b90(0x155))](null)),P(this,'unitInfo$',this['_unitInfo$'][_0x360b90(0x153)]()),(this['_logService']=_0x131c31,this[_0x360b90(0x99)]=_0x4b1a41,this[_0x360b90(0x242)]=_0x4365af);}async[_0x5efac8(0x24e)](_0x120e22,_0x2482ee,_0x5313d3){var _0x44f4fa=_0x5efac8;this[_0x44f4fa(0x2f4)][_0x44f4fa(0xaa)]({'unitId':_0x120e22,'type':_0x2482ee,'subUnitId':_0x5313d3});let _0xd350a2=null;switch(_0x2482ee){case X[_0x44f4fa(0x379)]:{_0xd350a2=await this[_0x44f4fa(0x12b)](_0x120e22);break;}case X[_0x44f4fa(0x175)]:{_0xd350a2=await this[_0x44f4fa(0x1c2)](_0x120e22);break;}default:{this[_0x44f4fa(0x29f)][_0x44f4fa(0x10b)](_0x44f4fa(0x303),_0x44f4fa(0xd6));break;}}return _0xd350a2;}async[_0x5efac8(0x12b)](_0x5eb55e){var _0x394c7b=_0x5efac8,_0x1af2ff;let _0x83781=0x0;const _0x41e4ec=await((_0x1af2ff=this[_0x394c7b(0x242)])==null?void 0x0:_0x1af2ff[_0x394c7b(0xbc)](_0x5eb55e));return _0x41e4ec&&(_0x41e4ec[_0x394c7b(0x247)]||_0x41e4ec[_0x394c7b(0x129)]['length']!==0x0)&&(_0x83781=_0x41e4ec[_0x394c7b(0x343)]),_0x83781===0x0&&this[_0x394c7b(0x29f)][_0x394c7b(0x23f)]('[DataLoaderService]',_0x394c7b(0x2e0)),this[_0x394c7b(0x99)][_0x394c7b(0xc8)](_0x5eb55e,_0x83781);}async[_0x5efac8(0x1c2)](_0x45e138){var _0x4eb3dc=_0x5efac8,_0x526a73;let _0x198824=0x0;const _0x20aa8c=await((_0x526a73=this[_0x4eb3dc(0x242)])==null?void 0x0:_0x526a73[_0x4eb3dc(0xbc)](_0x45e138));return _0x20aa8c&&(_0x20aa8c['awaitingChangeset']||_0x20aa8c[_0x4eb3dc(0x129)][_0x4eb3dc(0xec)]!==0x0)&&(_0x198824=_0x20aa8c[_0x4eb3dc(0x343)]),_0x198824===0x0&&this[_0x4eb3dc(0x29f)][_0x4eb3dc(0x23f)](_0x4eb3dc(0x303),_0x4eb3dc(0x2e0)),this[_0x4eb3dc(0x99)]['loadDoc'](_0x45e138,_0x198824);}},exports[_0x5efac8(0x3f0)]=fn([Me(0x0,a['ILogService']),Me(0x1,a['Inject'](g[_0x5efac8(0x111)])),Me(0x2,a[_0x5efac8(0xae)](z))],exports['DataLoaderService']);var pn=Object[_0x5efac8(0x227)],gn=(_0x568525,_0x1e4194,_0x2ec23c,_0x5da0b4)=>{var _0x24a6ee=_0x5efac8;for(var _0x34eb05=_0x5da0b4>0x1?void 0x0:_0x5da0b4?pn(_0x1e4194,_0x2ec23c):_0x1e4194,_0x310eb2=_0x568525[_0x24a6ee(0xec)]-0x1,_0x730769;_0x310eb2>=0x0;_0x310eb2--)(_0x730769=_0x568525[_0x310eb2])&&(_0x34eb05=_0x730769(_0x34eb05)||_0x34eb05);return _0x34eb05;},xe=(_0x4a780d,_0xebcc1)=>(_0x376481,_0x56f549)=>_0xebcc1(_0x376481,_0x56f549,_0x4a780d);const mn=[_0x5efac8(0x3f5),_0x5efac8(0x2d0),'image/jpg','image/gif',_0x5efac8(0x2c3)],In=0x5*0x400*0x400,En=_0x5efac8(0x3d0),Cn='/universer-api/stream/file/upload',Tn=_0x5efac8(0x32a),bn=_0x5efac8(0x223);exports[_0x5efac8(0x213)]=class{constructor(_0x5ac5ed,_0x69fcea,_0xa23827){var _0xe4ff87=_0x5efac8;P(this,_0xe4ff87(0x1c6),0x0),P(this,_0xe4ff87(0x374),new j['Subject']()),P(this,_0xe4ff87(0x21a),this[_0xe4ff87(0x374)]),P(this,_0xe4ff87(0x1fc),new Map()),(this[_0xe4ff87(0x102)]=_0x5ac5ed,this['_configService']=_0x69fcea,this['_univerInstanceService']=_0xa23827);}[_0x5efac8(0xc6)](_0x4462ed){var _0x22abc3=_0x5efac8;this[_0x22abc3(0x1c6)]=_0x4462ed,this['_change$'][_0x22abc3(0xaa)](_0x4462ed);}[_0x5efac8(0x360)](_0x338090,_0x5d9878){var _0x3998fa=_0x5efac8;if(_0x5d9878===J[_0x3998fa(0x3e4)][_0x3998fa(0x1ce)]){const _0x188dff=new Image();return _0x188dff['src']=_0x338090,_0x188dff;}return this[_0x3998fa(0x1fc)][_0x3998fa(0x38a)](_0x338090);}[_0x5efac8(0xdb)](_0x323a50,_0x15b843,_0xf365ca){var _0x2a2514=_0x5efac8;_0x15b843===J[_0x2a2514(0x3e4)][_0x2a2514(0x1ce)]||_0xf365ca==null||this['_imageSourceCache'][_0x2a2514(0x269)](_0x323a50,_0xf365ca);}async[_0x5efac8(0x172)](_0x14d4f5){var _0x50d58d=_0x5efac8;try{const _0x3d1e36=this[_0x50d58d(0x1db)](this['_getSignURL'](),''+_0x14d4f5),_0x46c8a4=(await this['_httpService'][_0x50d58d(0x38a)](_0x3d1e36))[_0x50d58d(0x236)];if(_0x46c8a4[_0x50d58d(0x10b)]&&_0x46c8a4[_0x50d58d(0x10b)]['code']===Ct['OK']){const _0x40deb2=new URL(_0x46c8a4[_0x50d58d(0x1bb)],this['_getDownloadEndpointURL']())[_0x50d58d(0x205)]();return Promise[_0x50d58d(0x25c)](_0x40deb2);}return Promise[_0x50d58d(0x221)](_0x46c8a4[_0x50d58d(0x10b)]);}catch(_0x3ec0a3){return Promise[_0x50d58d(0x221)](_0x3ec0a3);}}async[_0x5efac8(0x23c)](_0x849c7c){var _0x542eee=_0x5efac8;let _0x40932b='';if(!mn[_0x542eee(0x2cb)](_0x849c7c[_0x542eee(0x1bf)]))return this[_0x542eee(0xa8)](),Promise[_0x542eee(0x221)](new Error(J[_0x542eee(0x26f)][_0x542eee(0x2b4)]));if(_0x849c7c['size']>In)return this[_0x542eee(0xa8)](),Promise['reject'](new Error(J['ImageUploadStatusType'][_0x542eee(0x403)]));try{const _0xd7815b=new FormData();_0xd7815b['append'](_0x542eee(0x164),_0x849c7c);const _0x2f98d8=this['_univerInstanceService'][_0x542eee(0x275)](),_0xd96ffb=_0x2f98d8==null?void 0x0:_0x2f98d8[_0x542eee(0x31b)]();if(!_0xd96ffb)throw new Error('unitId\x20is\x20not\x20found');const _0x3d8aa4=this[_0x542eee(0x3c5)]()+_0x542eee(0x3ce)+_0x849c7c[_0x542eee(0x310)][_0x542eee(0x205)]()+'&source='+Tt[_0x542eee(0xbb)]+_0x542eee(0x400)+encodeURIComponent(_0xd96ffb),_0x58db5b=await(await fetch(_0x3d8aa4,{'method':_0x542eee(0x2e4),'body':_0xd7815b}))[_0x542eee(0x29a)]();if(typeof _0x58db5b[_0x542eee(0x2d9)]!=_0x542eee(0x1b4))return this['_decreaseWaiting'](),Promise[_0x542eee(0x221)](new Error(J['ImageUploadStatusType'][_0x542eee(0x298)]));_0x40932b=_0x58db5b['FileId'];}catch{return this[_0x542eee(0xa8)](),Promise['reject'](new Error(J['ImageUploadStatusType'][_0x542eee(0x298)]));}return new Promise((_0x53e075,_0x10912b)=>{var _0x502a9e=_0x542eee;const _0x431321=new FileReader();_0x431321[_0x502a9e(0x3b8)](_0x849c7c),_0x431321[_0x502a9e(0x386)]=_0x9c8ea7=>{var _0x48ea33=_0x502a9e,_0x53738a;const _0x109352=(_0x53738a=_0x9c8ea7[_0x48ea33(0xc3)])==null?void 0x0:_0x53738a[_0x48ea33(0x107)];if(_0x109352==null){this[_0x48ea33(0xa8)](),_0x10912b(new Error(J['ImageUploadStatusType'][_0x48ea33(0x298)]));return;}const _0x224573=a['Tools'][_0x48ea33(0x1a0)](0x6);_0x53e075({'imageId':_0x224573,'imageSourceType':J[_0x48ea33(0x3e4)]['UUID'],'source':_0x40932b,'base64Cache':_0x109352,'status':J['ImageUploadStatusType'][_0x48ea33(0x3d8)]}),this[_0x48ea33(0xa8)]();};});}['_getUploadFileURL'](){var _0x591544=_0x5efac8,_0x49ed94,_0x2a252b;const _0x5bb099=this[_0x591544(0x18c)][_0x591544(0x1ef)](En),_0x355e93=this[_0x591544(0x18c)][_0x591544(0x1ef)](Y);return(_0x2a252b=(_0x49ed94=_0x355e93==null?void 0x0:_0x355e93[_0x591544(0x315)])!=null?_0x49ed94:_0x5bb099)!=null?_0x2a252b:Cn;}[_0x5efac8(0x117)](){var _0x3ec984=_0x5efac8,_0x3616d7,_0x3df1cb;const _0x21c76a=this['_configService'][_0x3ec984(0x1ef)](Tn),_0x265745=this[_0x3ec984(0x18c)][_0x3ec984(0x1ef)](Y);return(_0x3df1cb=(_0x3616d7=_0x265745==null?void 0x0:_0x265745[_0x3ec984(0x138)])!=null?_0x3616d7:_0x21c76a)!=null?_0x3df1cb:bn;}[_0x5efac8(0xfc)](){var _0x430c82=_0x5efac8,_0x332a1a;const _0x33872a=this[_0x430c82(0x18c)][_0x430c82(0x1ef)](Y);return(_0x332a1a=_0x33872a==null?void 0x0:_0x33872a[_0x430c82(0x3af)])!=null?_0x332a1a:location[_0x430c82(0x3e1)];}[_0x5efac8(0x1db)](_0x1c3d37,_0xeba139){var _0x172d2e=_0x5efac8;return _0x1c3d37['replace'](_0x172d2e(0x2f2),_0xeba139);}['_decreaseWaiting'](){var _0x4465b1=_0x5efac8;this[_0x4465b1(0x1c6)]-=0x1,this[_0x4465b1(0x374)]['next'](this['_waitCount']);}},exports[_0x5efac8(0x213)]=gn([xe(0x0,a['Inject'](q[_0x5efac8(0x30b)])),xe(0x1,a['IConfigService']),xe(0x2,a['Inject'](a['IUniverInstanceService']))],exports[_0x5efac8(0x213)]);var Rn=Object[_0x5efac8(0x227)],yn=(_0x4c9318,_0x2d1a9e,_0x21187d,_0x43dbb5)=>{var _0x388a64=_0x5efac8;for(var _0x567dd0=_0x43dbb5>0x1?void 0x0:_0x43dbb5?Rn(_0x2d1a9e,_0x21187d):_0x2d1a9e,_0x457290=_0x4c9318[_0x388a64(0xec)]-0x1,_0x27b3b7;_0x457290>=0x0;_0x457290--)(_0x27b3b7=_0x4c9318[_0x457290])&&(_0x567dd0=_0x27b3b7(_0x567dd0)||_0x567dd0);return _0x567dd0;},lt=(_0x51eb22,_0x51ed8c)=>(_0x25cb80,_0x349bd3)=>_0x51ed8c(_0x25cb80,_0x349bd3,_0x51eb22);function _0x5aba(){var _0x4649d1=['_mode','_transformIMECache','[CollaborationSession]','size','_oKey','_stopTelemetryCollaborationNewChangeset','registerDependencies','YUUMI_SUBSCRIPTION_NOT_FOUND','uploadFileServerUrl','BufferedBlockAlgorithm','newCsEvent','Base','ILogService','joinEvent','getUnitId','_socketService','_throwTelemetryCollaborationNewChangeset','_createInitialState','LICENSE_MAX_UNITS_EXCEEDED','HEARTBEAT_INTERVAL','/role','__esModule','roomInfos','session.room-permission-denied','parseProtocolChangeset','objects','COMPRESS_MUTATION_SEND','sheets','getWorkbookSelections','EXCHANGE_SIGN_URL_SERVER_URL_KEY','/universer-api/authz','_userManagerService','_initDependencies','10QolBXY','_ENC_XFORM_MODE','UniverInstanceType','12Qobyut','liveShareNewHost','UnitStatus','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','getActiveSheet','SheetsSelectionsService','setCurrentUser','liveShareOperation','PasswordBasedCipher','_getCtorByUniverType','Base64','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','originalMeta','/allowed','\x0aCurrent:\x20','_type','msCrypto','JOINING','rev','_initRequestHeader','event$','LIVESHARE_REQUEST_HOST','COLLAB_SUBMIT_CHANGESET_URL','SEND_CHANGESET_TIMEOUT_KEY','state','disableLocalCache','MUTATION','createInstance','_applyRemoteChangeset','Error\x20on\x20receiving\x20event','_remoteChangesetQueue','onCommentUpdate','SessionStatus','_state$','HMAC','_config','getUnit','/block/','_sendHeartbeatTimer','Utf8','onTransformSelections','_onConnectionFailed','session.room-not-exists','localeService','OPTIONAL','_parse','INetworkConditionService','getImageSourceCache','_isPermissionRej','registerHTTPInterceptor','extend','_startTelemetryCollaborationNewChangeset','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','3880987GePVTV','ceil','pauseCollaboration','pipe','_transformSelections','_checkMissing','_handler','algo','emitEvent','apply','SYNCED','compute','FetchingMissState','_change$','code','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','@univerjs/network','map','UNIVER_SHEET','randomBytes','clear','isTransformMutationsWithChangesetFailure','RETRY_CONNECTING_MAX_COUNT','_doCreateSocket','EmptyMutation','MergeInterceptorFactory','SHA1','_lockTransition','SheetCollaborationEntity','[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.','list','onload','lib','Inject','getUnitOnRev','get','readyForCollab','/universer-api/snapshot','COLLAB_WEB_SOCKET_URL_KEY','_rescheduleHeartbeat','resend','_updateStatus','abs','_clearRedo','JOIN','_onMessage','5587710XbxKVE','__Key__','/rev/','UNISCRIPT_RUN','send','AUTHZ_URL_KEY','ICollaborationSocketService','_map','mergeOverrideWithDependencies','Quantity','HELLO','AwaitingState','_telemetryInfo','socket\x20close','SerializableCipher','delay','CollaborativeUndoRedoService','SheetPermissionInitController','Disposable','/unit/','LOCAL_CACHE_INTERVAL_KEY','ITransformService','_entities','_undoStacks','fromCharCode','PERSON','downloadEndpointUrl','UPDATE_CURSOR','every','_process','FETCH_MISSING','getCurrentUser','firstValueFrom','concat','onRemoteChangeset','readAsDataURL','_revisionService','_event$','online$','toDisposable','_members','_transformRemoteChangesetByStateCache','@univerjs-pro/license','getRoom','toggleOnline','clone','initWorkbookPermissionChange','focused$','_getUploadFileURL','[CollaborationState]:\x20apply\x20error!','1441620ITUJzO','duration','_clearCollaborationTimeoutTimer','INGEST','LEAVE','filter','encrypt','?size=','PERMISSION_DENIED','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','floor','values','getSheetBlock','keySize','getTime','People','ITelemetryService','SUCCUSS','_onConnectionOpen','members$','isArray','_reverseMap','eventID','changesets','repeat','_startCollaboration','origin','error$','prototype','ImageSourceType','ALREADY_EXISTS','_iKey','JOIN_ROOM_NOT_EXISTS','LICENSE_EXPORT_SIZE_EXCEEDED','getMemberID','_getCurrentRevision','$super','CHANGESET_ACK','UNDEFINED','c1Prime','_createSocket','DataLoaderService','isTransformMutationsWithChangesetSuccess','_undoRedoService','reduce','_clearTimeoutTimer','image/png','StreamCipher','withCredentials','params','data','_transitionLocked','?url=','_roomCreated$','CollaborationController','_shouldReportTelemetry','onLocalMutation','&assign=','roles','CLOSE_ROOM','ERROR_EXCEED_SIZE','DEFAULT_FILE_NAME','\x20-\x20','_onConflict','onTransformState','_initUnitPermissionChange','selections','COMMENT_UPDATE','IImageIoService','LocaleService','x-univer-host','getSheetId','status','fromCollab','_snapshotService','Univer','CommentService','createIdentifier','1980771wQwloo','NOT_COLLAB','MemberService','_onRecvEvent','textEncoder','_HTTPService','location','getUnitType','2007306JsQiHR','HEARTBEAT_TIMEOUT','[SyncedState]:\x20received\x20acknowledgement.','_decreaseWaiting','kdf','next','waitForRoom$','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','SOCKET_FAILED','Optional','title','_onRemoteChangeset','_handlerCallback','key','1073232fXEfHz','catch','cmd','getCollabEntity$','reverse','EvpKDF','@univerjs/telemetry','synced','UnitEmbedded','loadOfflineData','blockSize','IMentionIOService','_onUserLeave','bind','_clearScheduledTask','sid','target','_doFinalize','execute','setWaitCount','_iv','loadSheet','_showConflictNotification','_injector','AwaitingWithPendingState','copyFileMeta','incrementRevOfUnit','_removeRoom','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','4elSmUw','_listenToNetworkCondition','PY_RUNTIME_SCRIPT_ERROR','IDLE','session.join-failed','encryptBlock','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','APPLY_REJECT','updateOfflineData','session','[CollaborationSessionService]:\x20socket\x20error','addImageSourceCache','UnitSnapshot','Undefined','enableAuthServer','close','PendingState','stopTime','_onOffline','_invKeySchedule','_clearLocalCache','_createHelper','YUUMI_RATE_OVER_LIMIT','YUUMI_UNABLE_LOAD_URL','then','onlyLocal','awaiting','AES','length','failed\x20to\x20apply\x20missed\x20changesets!','_submitChangeset','subscribe','close$','find','sessionStatus','submit\x20changeset\x20error!','post','getMember','baseRev','onCommandExecuted','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','init','_data','collabSubmitChangesetUrl','_getDownloadEndpointURL','_onRemoteRejected','decryptBlock','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','actions','SUBMIT_CHANGESET','_httpService','LIVESHARE_TERMINATE','_substituteUndoStack','_transformStack','_collaborationPaused','result','IConfigService','CollaborationSession','_collaborationTimeoutTimer','error','_hash','save\x20fail\x20reason\x20is\x20','processBlock','/collaborator','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','SnapshotService','UNKNOWN_CODE','UNIVER_SLIDE','put','_clearRetryConnectingTimer','NEW_CHANGESETS','_getSignURL','charAt','sin','open$','_singleActiveUnitService','compose','splice','_clearHeartbeatTimer','&to=','getCollabEntity','Could\x20not\x20dynamically\x20require\x20\x22','_acknowledgedAwaitingChangeset','\x0aAfter:\x20','memberID','APPLY_NON_SEQUENTIAL_REVISION','_socket','ConflictState','_roomMembers','mutations','_prevBlock','_loadSheet','transformSelections','NO_OTHER_CLIENTS_EDITING','_createHmacHelper','[PendingState]:\x20received\x20acknowledgement.','_collaborationUIEventService','indexOf','CollaborationUIEventId','slice','joinRsp','LICENSE_DISTRO_REJECTED','_executeRemoteChangeset','Hasher','signUrlServerUrl','editingUnit','PERMISSION_REJ','hasher','YUUMI_URL_COL_OUT_OF_RANGE','_clearUndo','CompressMutationService','CONNECTOR_DATA_TOO_LARGE','_cipher','snapshotServerUrl','onSendChangeset','getRandomValues','csRejEvent','LICENSE_IMPORT_SIZE_EXCEEDED','UNIVER_UNKNOWN','_onCombEvent','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','href','workbook','getCurrentRevOfUnit','_tryEnsureSocket','_scheduleCompleteTimestamp','CHANGESET_REJ','SNAPSHOT_URL_KEY','_resendTimeout','LIVESHARE_NEW_HOST','_instanceService','asObservable','_waitForHeartbeatResponse','BehaviorSubject','_permissionService','_eventService','objectID','_incrementRevisionNumber','CollaborationSocketService','requestParams','connection\x20error','UNIVER_PROJECT','saveSnapshot','_transformUndoredo','random','CHANGESET_SHOULD_RETRY','LOCAL_CACHE_INTERVAL','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','file','IPermissionService','socketService','status$','exports','PSEUDO_FETCH_MISSING_RESULT','permissionRejEvent','SetSelectionsOperation','_pendingMutations','finalize','_memberService','collaMsg','UNKNOWN_CMD','[OfflineState]:\x20received\x20acknowledgement.','getImage','Injector','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','UNIVER_DOC','_keyPriorReset','sendChangesetTimeout','_getRedoStack','IAuthzIoService','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','findIndex','_univerInstanceService','stringify','COMPLETION_FINISHED','APPLY_REVISION_CONFILICT','revision','call','BlockCipher','take','_onLocalMutation','create','isPermissionRej','_joinRoom','substr','_doReset','textRanges','Latin1','_configService','UniverCollaborationClientPlugin','_socket$','SHOULD_CLOSE_CONN','subject','unitId','_updateState','fetchMiss','serializeCombRequest','routeKey','updatePermissionObjEvent','getTypeOfUnitAdded$','getInterceptPoints','FETCH_MISS','_doCryptBlock','socket$','getLocalCacheKey','_sessions','RECV','COMPRESS_MUTATION_APPLY','generateRandomId','_candidateSocket','ISingleActiveUnitService','_commentService','fetchThroughInterceptors','HttpExport','NOT_FOUND','@univerjs/core','USERS_LEAVE','_onFetchMissResult','_sendHeartbeat','_resendTimer','appendMutation','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','objectType','message$','getSnapshotAPIPath','_unlockTransition','transformMutationsWithChangeset','_queuedRemoteChangesets','string','defineProperty','_onJoinRoomEvent','CommandType','OfflineState','_resendWithTimeout','IUniverInstanceService','url','CipherParams','padding','1576twacjc','type','_members$','RxDisposable','_loadDoc','SEND_CHANGESET_TIMEOUT','HEARTBEAT','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_waitCount','collaboration-client.config','Subject','from','dispose$','RichTextEditingMutation','ICommandService','_keySchedule','BASE64','_sender','conflict','onMissedChangesetFetched','getResourcesRequest','_createHandler','/object','updateMember','SheetTransformSelectionsService','_onUserJoin','toggleOffline','_append','ciphertext','_replaceFileID','HmacSHA1','shareReplay','_createInitialStateImpl','_init','\x20to\x20','updatePermissionPoint','APPLY_DUPLICATED','APPLY_PERMISSION_DENIED','push','unitID','Plugin','[PendingState]:\x20received\x20rejection.','reqId','Hex','mapDocumentTypeToUniverType','hostname','_getSendChangesetTimeout','sequenceExecute','closeSession','getConfig','DEFAULT_COLLAB_WEB_SOCKET_URL','AuthzIoHttpService','_retryConnectingTimer','retryConnectingInterval','FAIL','CollaborationEntity','DEFAULT_WS_SESSION_TICKET_URL','_socketMessageSubscription','_localeService','getTypeOfUnitDisposed$','/-/object/list','collaborators','_imageSourceCache','pad','MentionIoHttpService','SNAPSHOT_SERVER_URL_KEY','onStateChange','m2Prime','_getUndoStack','disposeWithMe','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','toString','encode','onRemoteAck','takeUntil','[CollaborationEntity]','leaveEvent','onMissingChangesets','_sendingTimer','updateCursorEvent','_exhaustRemoteChangesetQueue','b64DecodeUnicode','_nDataBytes','_retryCount','_changesetSessionId','CollaborationImageIoService','_awaitingChangeset','CollaborationSessionService','onTransformIME','_nRounds','_hasher','WordArray','change$','salt','deleteCollaborator','JOIN_ROOM_FAILED','LIVESHARE_OPERATION','CONFLICT','SUBMIT_CHANGESET_TIMEOUT','reject','JSONX','/universer-api/file/{fileID}/sign-url','ONLINE','unit-cache-','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','getOwnPropertyDescriptor','delete','RETRY_CONNECTING_MAX_COUNT_KEY','SNAPSHOT_INVALID_SNAPSHOT','csAckEvent','_disableEditing','RevisionService','add','CHANGESET_REVISION_CONFILICT','_onRemoteACK','readInt32LE','/object/','/universer-api/uniscript','range','DocCollaborationEntity','body','TOO_MANY_REQUESTS','_toggleOffline','fetch_missing','onTransformRemoteChangesetByIMECache','onTransformRemoteChangesetByStateCache','saveImage','Tools','univer-pro.collaboration-client.single-active-unit-service','debug','6LqfsCv','createSocket','_localCacheService','SnapshotServerOverHTTPService','UNRECOGNIZED','_xformMode','dispose','awaitingChangeset','symbol','randomUUID','@univerjs/docs','JOIN_ROOM_FULL','IUndoRedoService','max','loadUnit','OTHER_CLIENTS_EDITING','getUnitStatus$','merge','sigBytes','ILocalCacheService','removeMember','onRemoteRej','JOIN_ROOM_PERMISSION_DENIED','isInternalEditorID','executeCommand','join','_emitMembers','CollaborationEvent','resolve','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','HttpImport','_transformRemoteChangesetByIMECache','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','WorkbookEditablePermission','authzUrl','createEncryptor','_doProcessBlock','_fetchMissChangesets','crypto','interceptor','complete','set','UNAUTHENTICATED','_status$','listCollaborators','DependentOn','_key','ImageUploadStatusType','not_collab','univer-pro.collaboration-client-socket-service','deserializeToCombResponse','MSG_FOR_ERROR','[PendingState]:\x20unhandled\x20univer\x20type:\x20','getFocusedUnit','UPDATE_PERMISSION_OBJ','_schedule','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','/resources','capture','_transformService','OTHER_CLIENT_EDITING','Decryptor','COLLAB_WEB_SOCKET_URL','_getAPIPrefix','NoPadding','function','SNAPSHOT_HAS_BEEN_REMOVED','resourceIDs','now','startsWith','OpenSSL','saveSheetBlock','Malformed\x20UTF-8\x20data','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_toggleOnline','c2Prime','CollaborationUIEventService','Module','enableOfflineEditing','touchDependencies','mode','charCodeAt','_collabSessionService','USERS_ENTER','toStringTag','putCollaborators','PENDING','forEach','ERROR_IMAGE','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','json','_timeoutTimer','allowed','_entityInit$','shouldCloseConn','_logService','getDeserializedSheetBlock','_snapshotServerService','onRemoteRetry','LIVESHARE_FETCH_OPERATIONS','session.room-full','/-/object/-/batch_allowed','Cipher','listRoles','transformUndoRedo','has','_socketReady','INTERNAL_ERROR','unknown','sessionStatus$','name','_syncEditingCollabCursor','decrypt','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','equals','_minBufferSize','ERROR_IMAGE_TYPE','userID','_sheetTransformSelectionsService','_telemetryService','OFFLINE','headers','refreshPermission','__creator','UserManagerService','avatar','rxjs','requireSession','19502BnPguB','_collaborationSessionService','_initMergeInterceptor','image/bmp','_registerDependencies','transformChangesets','createCollaborator','_state','confirm','cfg','SyncedState','includes','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','hasOwnProperty','SOCKET_FAILED_RETRY','_getLoginPath','image/jpeg','_commandService','MD5','AWAITING','[CollaborationSessionService]','Workbook','offline','MentionType','transformStack\x20failed!','FileId','enc','INVALID_ARGUMENT','createDecryptor','_changesetReqId','reset','setShowComponents','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_sessionStatus$','words','HmacMD5','POST','editing\x20status\x20changed\x20to','csShouldRetryEvent','[CollaborationUndoRedoService]','_commentUpdate$','loginUrlKey','clamp','/universer-api/snapshot/','saveChangeset','parse','_getAPIPrefixPath','GLOBAL_ROOMS_CNT_EXCEEDS','ISnapshotServerService','_networkConditionService','{fileID}','_transformStateCache','_unitInfo$','_updateLocalCache','COLLAB_SUBMIT_CHANGESET_URL_KEY','isTransformChangesetsSuccess','update','_initCloseConn','_tryReconnect','mixIn','getLatestCsReqIdBySid','_unitID','localCacheService','LOGIN_URL_KEY','Rectangle','format','_scheduleCollaborationTimeoutTimer','[DataLoaderService]','reconnect','_compressMutationService','unsubscribe','pending','/new_changes','AWAITING_WITH_PENDING','ivSize','HTTPService','_replayCachedMutations'];_0x5aba=function(){return _0x4649d1;};return _0x5aba();}const On='/universer-api/authz';exports[_0x5efac8(0x1fe)]=class{constructor(_0x4054ff,_0xb6f111){var _0xb4301e=_0x5efac8;this['_configService']=_0x4054ff,this[_0xb4301e(0xa2)]=_0xb6f111;}[_0x5efac8(0x2ee)](){var _0x23b545=_0x5efac8,_0x241351,_0x52af21;const _0x4da229=this[_0x23b545(0x18c)]['getConfig'](Ve),_0x849d77=this[_0x23b545(0x18c)][_0x23b545(0x1ef)](Y);return(_0x52af21=(_0x241351=_0x849d77==null?void 0x0:_0x849d77['authzUrl'])!=null?_0x241351:_0x4da229)!=null?_0x52af21:On;}async[_0x5efac8(0x385)](_0x259078){var _0x576cc7=_0x5efac8;const _0x18e5da=this[_0x576cc7(0x2ee)]()+_0x576cc7(0x10f);return{'list':[{'title':_0x576cc7(0x3d6),'mentions':(await this[_0x576cc7(0xa2)][_0x576cc7(0x38a)](_0x18e5da,{'params':{'objectID':_0x259078[_0x576cc7(0x191)],'unitID':_0x259078[_0x576cc7(0x191)]}}))['body'][_0x576cc7(0x1fb)][_0x576cc7(0x378)](_0x22c0f4=>({'objectId':_0x22c0f4['id'],'name':_0x22c0f4[_0x576cc7(0x190)][_0x576cc7(0x2ae)],'metadata':{'icon':_0x22c0f4[_0x576cc7(0x190)][_0x576cc7(0x2bd)]},'label':_0x22c0f4[_0x576cc7(0x190)]['name'],'objectType':a['MentionType'][_0x576cc7(0x3ae)]})),'metadata':{},'type':a[_0x576cc7(0x2d7)]['PERSON']}]};}},exports[_0x5efac8(0x1fe)]=yn([lt(0x0,a[_0x5efac8(0x388)](a[_0x5efac8(0x108)])),lt(0x1,a[_0x5efac8(0x388)](q['HTTPService']))],exports[_0x5efac8(0x1fe)]);var Nn=Object[_0x5efac8(0x227)],Dn=(_0x231b26,_0x1040b3,_0x2b9629,_0x2c53cb)=>{var _0x187b88=_0x5efac8;for(var _0x27272e=_0x2c53cb>0x1?void 0x0:_0x2c53cb?Nn(_0x1040b3,_0x2b9629):_0x1040b3,_0x5d58e6=_0x231b26[_0x187b88(0xec)]-0x1,_0x354c34;_0x5d58e6>=0x0;_0x5d58e6--)(_0x354c34=_0x231b26[_0x5d58e6])&&(_0x27272e=_0x354c34(_0x27272e)||_0x27272e);return _0x27272e;},ue=(_0x431f81,_0x59c468)=>(_0x26ecd5,_0x37c3df)=>_0x59c468(_0x26ecd5,_0x37c3df,_0x431f81);let De=class extends a[_0x5efac8(0x1c1)]{constructor(_0x2ce6f2,_0x317ea8,_0x40eeaa,_0x8b6237,_0x1526f7){var _0x348a3e=_0x5efac8;super(),this[_0x348a3e(0xca)]=_0x2ce6f2,this['_univerInstanceService']=_0x317ea8,this[_0x348a3e(0x156)]=_0x40eeaa,this[_0x348a3e(0x2c1)]=_0x8b6237,this['_collaborationUIEventService']=_0x1526f7,this[_0x348a3e(0x408)](),this[_0x348a3e(0x2f9)]();}[_0x5efac8(0x2f9)](){var _0x40da6c=_0x5efac8;const _0x4bfdf9=async _0x2cdc7d=>{var _0x210c06=_0x54da;(await this[_0x210c06(0x2c1)]['requireSession'](_0x2cdc7d))[_0x210c06(0x345)][_0x210c06(0x36a)](W[_0x210c06(0x3cc)](_0xae6a62=>_0xae6a62[_0x210c06(0x3dd)]===g[_0x210c06(0x25b)][_0x210c06(0x18f)]),W[_0x210c06(0x208)](this['dispose$']))[_0x210c06(0xef)](_0x41cac4=>{var _0x3a240f=_0x210c06;const _0x4c57ab=_0x41cac4,{reason:_0x3b634d}=_0x4c57ab[_0x3a240f(0x3f9)];this['_collaborationUIEventService']['emitEvent']({'id':Q['CLOSE_ROOM'],'data':_0x3b634d}),this['_permissionService'][_0x3a240f(0x1e1)](new Z['WorkbookEditablePermission'](_0x2cdc7d)['id'],!0x1),this['_collaborationSessionService'][_0x3a240f(0x1ee)](_0x2cdc7d);});};j[_0x40da6c(0x251)](this[_0x40da6c(0x17c)][_0x40da6c(0x197)](a[_0x40da6c(0x330)]['UNIVER_SHEET']),this[_0x40da6c(0x17c)][_0x40da6c(0x197)](a[_0x40da6c(0x330)][_0x40da6c(0x175)]))[_0x40da6c(0x36a)](W['map'](_0xc44cff=>_0xc44cff[_0x40da6c(0x31b)]()),W[_0x40da6c(0x3cc)](_0x3c6d68=>!a['isInternalEditorID'](_0x3c6d68)),W['takeUntil'](this[_0x40da6c(0x1ca)]))[_0x40da6c(0xef)](_0x1e3bc4=>{_0x4bfdf9(_0x1e3bc4);});}[_0x5efac8(0x408)](){var _0x5f0da8=_0x5efac8;const _0x51b4e1=async _0x39cefe=>{var _0xa01384=_0x54da;const _0x454077=await this[_0xa01384(0x2c1)]['requireSession'](_0x39cefe),_0x498c8d=this[_0xa01384(0xca)][_0xa01384(0x38a)](Z[_0xa01384(0x3a6)]);_0x454077[_0xa01384(0x345)]['pipe'](W['filter'](_0x55e6e4=>_0x55e6e4['eventID']===g['CollaborationEvent'][_0xa01384(0x276)]),W['takeUntil'](this[_0xa01384(0x1ca)]))['subscribe'](_0x13f15e=>{var _0x358b83=_0xa01384;const _0x45b2b0=_0x13f15e,{objectId:_0x3ac108}=_0x45b2b0[_0x358b83(0x3f9)];_0x3ac108===_0x39cefe?_0x498c8d[_0x358b83(0x3c3)](_0x39cefe):_0x498c8d[_0x358b83(0x2ba)](_0x39cefe,_0x3ac108);});};j[_0x5f0da8(0x251)](this[_0x5f0da8(0x17c)]['getTypeOfUnitAdded$'](a['UniverInstanceType'][_0x5f0da8(0x379)]))[_0x5f0da8(0x36a)](W[_0x5f0da8(0x378)](_0x23fe73=>_0x23fe73[_0x5f0da8(0x31b)]()),W[_0x5f0da8(0x3cc)](_0x27fab2=>!a[_0x5f0da8(0x257)](_0x27fab2)),W[_0x5f0da8(0x208)](this[_0x5f0da8(0x1ca)]))[_0x5f0da8(0xef)](_0x25770d=>{_0x51b4e1(_0x25770d);});}};De=Dn([ue(0x0,a[_0x5efac8(0x388)](a[_0x5efac8(0x173)])),ue(0x1,a[_0x5efac8(0x1ba)]),ue(0x2,a[_0x5efac8(0x165)]),ue(0x3,a[_0x5efac8(0x388)](exports['CollaborationSessionService'])),ue(0x4,a['Inject'](te))],De);var Un=Object[_0x5efac8(0x227)],Pn=(_0x319dd7,_0xe7b0cc,_0x20e51b,_0x11b42f)=>{var _0x4963ce=_0x5efac8;for(var _0x460643=_0x11b42f>0x1?void 0x0:_0x11b42f?Un(_0xe7b0cc,_0x20e51b):_0xe7b0cc,_0x40d5be=_0x319dd7[_0x4963ce(0xec)]-0x1,_0x36bd90;_0x40d5be>=0x0;_0x40d5be--)(_0x36bd90=_0x319dd7[_0x40d5be])&&(_0x460643=_0x36bd90(_0x460643)||_0x460643);return _0x460643;},_t=(_0x4bb411,_0x5254e2)=>(_0x209e08,_0x351090)=>_0x5254e2(_0x209e08,_0x351090,_0x4bb411);exports[_0x5efac8(0x243)]=class{constructor(_0x174c08,_0x2203f8){var _0x362d23=_0x5efac8;this['_configService']=_0x174c08,this[_0x362d23(0x102)]=_0x2203f8;}async[_0x5efac8(0x389)](_0x4e139a,_0x39745f){var _0x110c2f=_0x5efac8,_0x21e6bd;const {unitID:_0x583afb,type:_0x319d8f,revision:_0x2eb099=0x0}=_0x39745f,_0x2b8740=this[_0x110c2f(0x1b0)]()+'/'+_0x319d8f+_0x110c2f(0x3a8)+_0x583afb+_0x110c2f(0x397)+_0x2eb099,_0x58019a=(await this[_0x110c2f(0x102)][_0x110c2f(0x38a)](_0x2b8740))['body'],_0x2f4bbd=(_0x21e6bd=_0x58019a['snapshot'])==null?void 0x0:_0x21e6bd[_0x110c2f(0x14a)];if(_0x2f4bbd){const _0xb6638b=_0x2f4bbd==null?void 0x0:_0x2f4bbd[_0x110c2f(0x33d)],_0x1510cc=g[_0x110c2f(0xa1)][_0x110c2f(0x206)](g[_0x110c2f(0x20f)](_0xb6638b));_0x2f4bbd[_0x110c2f(0x33d)]=_0x1510cc,Object['entries'](_0x2f4bbd[_0x110c2f(0x328)])[_0x110c2f(0x297)](([,_0x4d9644])=>{var _0x36dfaf=_0x110c2f;const _0x10346a=_0x4d9644[_0x36dfaf(0x33d)],_0xc4d9c8=g[_0x36dfaf(0xa1)]['encode'](g['b64DecodeUnicode'](_0x10346a));_0x4d9644[_0x36dfaf(0x33d)]=_0xc4d9c8;});}return _0x58019a;}async[_0x5efac8(0x3d3)](_0x3d2009,_0x592275){var _0x5c9d82=_0x5efac8;const {unitID:_0x5d8bf4,type:_0x17f1eb,blockID:_0xd27fa6}=_0x592275,_0x4160f3=this[_0x5c9d82(0x27f)]()+'/'+_0x17f1eb+'/unit/'+_0x5d8bf4+_0x5c9d82(0x356)+_0xd27fa6;return(await this['_httpService'][_0x5c9d82(0x38a)](_0x4160f3))['body'];}async[_0x5efac8(0x2a0)](_0x5c5a57,_0x5e4630){var _0x3392ca=_0x5efac8;const {unitID:_0x43567c,type:_0x57b86f,blockID:_0x38f6d9}=_0x5e4630,_0x476e31=this[_0x3392ca(0x27f)]()+_0x3392ca(0x356)+_0x57b86f+'/unit/'+_0x43567c+_0x3392ca(0x356)+_0x38f6d9;return(await this[_0x3392ca(0x102)]['get'](_0x476e31))[_0x3392ca(0x236)];}async['fetchMissingChangesets'](_0xdbcdc6,_0x831273){var _0x1e8acb=_0x5efac8;const {unitID:_0x30e4aa,type:_0x2d1456,from:_0x3ade47,to:_0x20ce96}=_0x831273,_0x1649c6=this[_0x1e8acb(0x27f)]()+'/'+_0x2d1456+_0x1e8acb(0x3a8)+_0x30e4aa+'/fetchmissing?from='+_0x3ade47+_0x1e8acb(0x11f)+_0x20ce96;return(await this[_0x1e8acb(0x102)][_0x1e8acb(0x38a)](_0x1649c6))['body'];}[_0x5efac8(0x1b0)](){var _0x328111=_0x5efac8,_0x1cef13;return(_0x1cef13=this[_0x328111(0x18c)]['getConfig'](vt))!=null?_0x1cef13:this[_0x328111(0x27f)]();}[_0x5efac8(0x27f)](){var _0x1ac19b=_0x5efac8,_0x3ad894,_0x4f2220;const _0x5622bf=this['_configService'][_0x1ac19b(0x1ef)](dt),_0x174be3=this['_configService'][_0x1ac19b(0x1ef)](Y);return(_0x4f2220=(_0x3ad894=_0x174be3==null?void 0x0:_0x174be3[_0x1ac19b(0x141)])!=null?_0x3ad894:_0x5622bf)!=null?_0x4f2220:kt;}async[_0x5efac8(0x1d2)](_0x391741,_0x4d76f4){var _0x28e3b5=_0x5efac8;const _0xe7c8e6=_0x28e3b5(0x2eb)+_0x4d76f4[_0x28e3b5(0x1bf)]+_0x28e3b5(0x3a8)+_0x4d76f4['unitID']+_0x28e3b5(0x279);return(await this['_httpService']['get'](_0xe7c8e6,{'params':{'resourceId':JSON[_0x28e3b5(0x17d)](_0x4d76f4[_0x28e3b5(0x283)])}}))['body'];}[_0x5efac8(0x15e)](){var _0x1ebd2b=_0x5efac8;throw new Error(_0x1ebd2b(0x33c));}[_0x5efac8(0x287)](){var _0x14da74=_0x5efac8;throw new Error(_0x14da74(0x33c));}[_0x5efac8(0x2ec)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x5efac8(0xcc)](){var _0x2cd29d=_0x5efac8;throw new Error(_0x2cd29d(0x33c));}[_0x5efac8(0x2fc)](){var _0x15c1f1=_0x5efac8;throw new Error(_0x15c1f1(0x33c));}},exports[_0x5efac8(0x243)]=Pn([_t(0x0,a[_0x5efac8(0x108)]),_t(0x1,a[_0x5efac8(0x388)](q[_0x5efac8(0x30b)]))],exports['SnapshotServerOverHTTPService']);var An=Object['getOwnPropertyDescriptor'],wn=(_0x15fe8c,_0x2952a9,_0x59f1f1,_0x47ba58)=>{for(var _0x403cb7=_0x47ba58>0x1?void 0x0:_0x47ba58?An(_0x2952a9,_0x59f1f1):_0x2952a9,_0x3ffe2c=_0x15fe8c['length']-0x1,_0x27c1f1;_0x3ffe2c>=0x0;_0x3ffe2c--)(_0x27c1f1=_0x15fe8c[_0x3ffe2c])&&(_0x403cb7=_0x27c1f1(_0x403cb7)||_0x403cb7);return _0x403cb7;},de=(_0x4ba9c7,_0x4ccd86)=>(_0x2a2073,_0x1b4251)=>_0x4ccd86(_0x2a2073,_0x1b4251,_0x4ba9c7);exports[_0x5efac8(0x3a5)]=class extends a['LocalUndoRedoService']{constructor(_0xceddfb,_0x2e5c47,_0x5eb478,_0x425eab,_0x1705fd){var _0x3376e4=_0x5efac8;super(_0xceddfb,_0x2e5c47,_0x5eb478),this[_0x3376e4(0x27b)]=_0x425eab,this[_0x3376e4(0x29f)]=_0x1705fd;}[_0x5efac8(0x2a8)](_0x573642,_0x5f0f29){var _0x4f8e30=_0x5efac8;const _0x3f0555=this['_getUndoStack'](_0x573642);if(_0x3f0555)try{const _0x5f30c0=this['_transformStack'](_0x3f0555,_0x5f0f29);this[_0x4f8e30(0x104)](_0x573642,_0x5f30c0);}catch(_0x3e8cf9){this['_logService']['error']('[CollaborationUndoRedoService]',_0x3e8cf9),this[_0x4f8e30(0x13d)](_0x573642);}const _0x1a33d3=this[_0x4f8e30(0x178)](_0x573642);if(_0x1a33d3)try{const _0xdd0e3b=this[_0x4f8e30(0x105)](_0x1a33d3,_0x5f0f29);this['_substituteRedoStack'](_0x573642,_0xdd0e3b);}catch(_0x3d6933){this[_0x4f8e30(0x29f)][_0x4f8e30(0x10b)](_0x3d6933),this[_0x4f8e30(0x392)](_0x573642);}}['_clearUndo'](_0x3657a6){var _0x110e9f=_0x5efac8;const _0x114114=this[_0x110e9f(0x202)](_0x3657a6);_0x114114&&(_0x114114[_0x110e9f(0xec)]=0x0,this[_0x110e9f(0x390)]());}[_0x5efac8(0x392)](_0x2089cd){var _0x408e27=_0x5efac8;const _0x3b26a4=this[_0x408e27(0x178)](_0x2089cd);_0x3b26a4&&(_0x3b26a4[_0x408e27(0xec)]=0x0,this[_0x408e27(0x390)]());}[_0x5efac8(0x104)](_0x5e9f36,_0x1f2373){var _0x2156fd=_0x5efac8;this[_0x2156fd(0x3ac)][_0x2156fd(0x269)](_0x5e9f36,_0x1f2373),this[_0x2156fd(0x390)]();}['_substituteRedoStack'](_0x5309aa,_0x42e9cd){var _0x46821a=_0x5efac8;this['_redoStacks'][_0x46821a(0x269)](_0x5309aa,_0x42e9cd),this[_0x46821a(0x390)]();}[_0x5efac8(0x105)](_0x28a3e5,_0x145caa){var _0x4e30eb=_0x5efac8;const _0x4260e5=[];let _0x413ad7=_0x145caa,_0x4d1e15=_0x145caa;for(let _0x22d09e=_0x28a3e5[_0x4e30eb(0xec)]-0x1;_0x22d09e>=0x0;_0x22d09e--){const {unitID:_0x54fd43,undoMutations:_0x39e224,redoMutations:_0x255c8e}=_0x28a3e5[_0x22d09e],_0x3ae4b1=this['_transformService']['transformMutationsWithChangeset'](_0x413ad7,_0x39e224),_0x128c05=this[_0x4e30eb(0x27b)]['transformMutationsWithChangeset'](_0x4d1e15,_0x255c8e);if(g[_0x4e30eb(0x37c)](_0x3ae4b1)||g['isTransformMutationsWithChangesetFailure'](_0x128c05)){this['_logService']['error'](_0x4e30eb(0x2e7),_0x4e30eb(0x2d8),_0x3ae4b1,_0x128c05);break;}_0x413ad7=_0x3ae4b1['c1Prime'],_0x4d1e15=_0x128c05['c1Prime'],_0x4260e5[_0x4e30eb(0x1e4)]({'unitID':_0x54fd43,'undoMutations':_0x3ae4b1[_0x4e30eb(0x201)],'redoMutations':_0x128c05['m2Prime']});}return _0x4260e5[_0x4e30eb(0xb7)]();}},exports['CollaborativeUndoRedoService']=wn([de(0x0,a[_0x5efac8(0x1ba)]),de(0x1,a['ICommandService']),de(0x2,a['IContextService']),de(0x3,g[_0x5efac8(0x3aa)]),de(0x4,a[_0x5efac8(0x319)])],exports[_0x5efac8(0x3a5)]);var Ln=Object[_0x5efac8(0x1b5)],Mn=Object['getOwnPropertyDescriptor'],xn=(_0x1382c9,_0x42a362,_0x55694e)=>_0x42a362 in _0x1382c9?Ln(_0x1382c9,_0x42a362,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x55694e}):_0x1382c9[_0x42a362]=_0x55694e,kn=(_0x1edd67,_0xf5430e,_0x4e6dcf,_0x25bae1)=>{for(var _0x5c5d2e=_0x25bae1>0x1?void 0x0:_0x25bae1?Mn(_0xf5430e,_0x4e6dcf):_0xf5430e,_0x26c373=_0x1edd67['length']-0x1,_0x3ed329;_0x26c373>=0x0;_0x26c373--)(_0x3ed329=_0x1edd67[_0x26c373])&&(_0x5c5d2e=_0x3ed329(_0x5c5d2e)||_0x5c5d2e);return _0x5c5d2e;},ke=(_0x1c8710,_0xfebf42)=>(_0x48ba2b,_0x35f971)=>_0xfebf42(_0x48ba2b,_0x35f971,_0x1c8710),Hn=(_0x161dde,_0xbad39e,_0x5be618)=>xn(_0x161dde,_0xbad39e+'',_0x5be618);const jn='UNIVER_COLLABORATION_CLIENT_PLUGIN';exports['UniverCollaborationClientPlugin']=class extends a[_0x5efac8(0x1e6)]{constructor(_0x261e1b,_0x2f0c11,_0x329b3a,_0x42d8d6){var _0x51c7a4=_0x5efac8;super(),P(this,_0x51c7a4(0x354)),(this[_0x51c7a4(0x29f)]=_0x2f0c11,this[_0x51c7a4(0xca)]=_0x329b3a,this['_configService']=_0x42d8d6);const {..._0x238397}=a[_0x51c7a4(0x251)]({},Jt,_0x261e1b);if(!_0x238397[_0x51c7a4(0x166)])throw new Error(_0x51c7a4(0x204));this[_0x51c7a4(0x354)]=_0x238397,this[_0x51c7a4(0x18c)]['setConfig'](Y,_0x238397);}['onStarting'](){var _0x4436d4=_0x5efac8;this[_0x4436d4(0x2c4)](),this[_0x4436d4(0x32d)]();}[_0x5efac8(0x2c4)](){var _0x5ec7f5=_0x5efac8,_0x2efd94,_0x6648d6;this[_0x5ec7f5(0xca)][_0x5ec7f5(0x2a9)](a['IUndoRedoService'])&&this[_0x5ec7f5(0x29f)][_0x5ec7f5(0x10b)]('[UniverCollaborationClientPlugin]',_0x5ec7f5(0xac));const _0x374d19=a[_0x5ec7f5(0x39d)]([[a['IUndoRedoService'],{'useClass':exports[_0x5ec7f5(0x3a5)]}],[exports[_0x5ec7f5(0x215)]],[exports[_0x5ec7f5(0x9f)]],[exports[_0x5ec7f5(0x1d6)]],[Oe],[Ne],[Be],[De],[te],[exports['DataLoaderService']],[$e,{'useClass':this[_0x5ec7f5(0x354)][_0x5ec7f5(0x166)]}],[g[_0x5ec7f5(0x2f0)],{'useClass':exports[_0x5ec7f5(0x243)]}],[a[_0x5ec7f5(0x179)],{'useClass':exports[_0x5ec7f5(0x1f1)]}],[J[_0x5ec7f5(0x93)],{'useClass':exports[_0x5ec7f5(0x213)]}],[a[_0x5ec7f5(0xbe)],{'useClass':exports['MentionIoHttpService']}],[exports['CollaborationController']],[He]],(_0x2efd94=this[_0x5ec7f5(0x354)])==null?void 0x0:_0x2efd94['override']);if(!((_0x6648d6=this[_0x5ec7f5(0x354)])!=null&&_0x6648d6['enableSingleActiveInstanceLock'])){const _0x50ec37=_0x374d19[_0x5ec7f5(0x17b)](([_0x2785c0])=>_0x2785c0===ve);_0x50ec37!==-0x1&&_0x374d19[_0x5ec7f5(0x11d)](_0x50ec37,0x1);}a[_0x5ec7f5(0x313)](this[_0x5ec7f5(0xca)],_0x374d19);}[_0x5efac8(0x32d)](){var _0x1e521a=_0x5efac8,_0x3dece5,_0x1d5889,_0x2eedda;this[_0x1e521a(0xca)]['get'](q[_0x1e521a(0x30b)])['registerHTTPInterceptor']({'priority':0x14,'interceptor':q['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x3dece5=this['_config'])!=null&&_0x3dece5[_0x1e521a(0x28e)]||(_0x1d5889=this[_0x1e521a(0xca)]['get'](z,a[_0x1e521a(0x39e)][_0x1e521a(0x35d)]))==null||_0x1d5889[_0x1e521a(0x34a)](),(_0x2eedda=this['_config'])!=null&&_0x2eedda[_0x1e521a(0xde)]&&a[_0x1e521a(0x28f)](this[_0x1e521a(0xca)],[[Oe]]),a[_0x1e521a(0x28f)](this[_0x1e521a(0xca)],[[Ne],[exports['CollaborationController']],[De]]);}},Hn(exports[_0x5efac8(0x18d)],'pluginName',jn),exports[_0x5efac8(0x18d)]=kn([a[_0x5efac8(0x26d)](g['UniverCollaborationPlugin'],q['UniverNetworkPlugin']),ke(0x1,a[_0x5efac8(0x319)]),ke(0x2,a[_0x5efac8(0x388)](a[_0x5efac8(0x173)])),ke(0x3,a[_0x5efac8(0x108)])],exports['UniverCollaborationClientPlugin']),exports[_0x5efac8(0x39a)]=Ve,exports['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']=Y,exports[_0x5efac8(0x2f6)]=It,exports[_0x5efac8(0x38d)]=St,exports['CollaborationStatus']=We,exports[_0x5efac8(0x132)]=Q,exports[_0x5efac8(0x28c)]=te,exports[_0x5efac8(0x9b)]=Be,exports[_0x5efac8(0x1f0)]=ft,exports[_0x5efac8(0x278)]=zt,exports[_0x5efac8(0x1f6)]=$t,exports['HEARTBEAT_INTERVAL_KEY']=pt,exports['HEARTBEAT_TIMEOUT_KEY']=je,exports[_0x5efac8(0x39b)]=$e,exports[_0x5efac8(0x253)]=z,exports[_0x5efac8(0x35f)]=bt,exports[_0x5efac8(0x1a2)]=ve,exports[_0x5efac8(0x162)]=Vt,exports[_0x5efac8(0x3a9)]=Gt,exports[_0x5efac8(0x2ff)]=Et,exports[_0x5efac8(0x289)]=qt,exports[_0x5efac8(0x229)]=mt,exports[_0x5efac8(0x348)]=Ht,exports[_0x5efac8(0x1ff)]=dt,exports['SNAPSHOT_URL_KEY']=vt,exports[_0x5efac8(0x351)]=se,exports[_0x5efac8(0x333)]=Fe,exports[_0x5efac8(0x272)]=Rt,exports[_0x5efac8(0x19c)]=vi,exports[_0x5efac8(0x194)]=yt;