@univerjs-pro/collaboration-client 0.6.9-experimental.20250408-92eabfd → 0.6.9-experimental.20250408-da421ca

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 _0x1f6ce8=_0x17b6;(function(_0x130c09,_0x4920f5){var _0xdadbe2=_0x17b6,_0x244b3f=_0x130c09();while(!![]){try{var _0x2729f7=parseInt(_0xdadbe2(0x279))/0x1*(-parseInt(_0xdadbe2(0x2f6))/0x2)+-parseInt(_0xdadbe2(0x116))/0x3+parseInt(_0xdadbe2(0x1f0))/0x4+parseInt(_0xdadbe2(0x19e))/0x5+-parseInt(_0xdadbe2(0x33d))/0x6+-parseInt(_0xdadbe2(0x333))/0x7+-parseInt(_0xdadbe2(0x30d))/0x8*(-parseInt(_0xdadbe2(0x218))/0x9);if(_0x2729f7===_0x4920f5)break;else _0x244b3f['push'](_0x244b3f['shift']());}catch(_0x1425ff){_0x244b3f['push'](_0x244b3f['shift']());}}}(_0x370c,0xb5706));var wt=Object[_0x1f6ce8(0x360)],Lt=(_0x22d59a,_0x41e9cf,_0x2f4362)=>_0x41e9cf in _0x22d59a?wt(_0x22d59a,_0x41e9cf,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2f4362}):_0x22d59a[_0x41e9cf]=_0x2f4362,A=(_0x2cbab7,_0x7019f6,_0x59a501)=>Lt(_0x2cbab7,typeof _0x7019f6!=_0x1f6ce8(0x28c)?_0x7019f6+'':_0x7019f6,_0x59a501);Object[_0x1f6ce8(0x360)](exports,Symbol[_0x1f6ce8(0x11d)],{'value':_0x1f6ce8(0x134)});const a=require('@univerjs/core'),j=require(_0x1f6ce8(0x238)),V=require(_0x1f6ce8(0x341)),g=require('@univerjs-pro/collaboration'),q=require(_0x1f6ce8(0x234)),Mt=require('@univerjs/telemetry'),ut=require('@univerjs/docs'),Z=require('@univerjs/sheets'),J=require(_0x1f6ce8(0x18c)),xt=require(_0x1f6ce8(0x19c)),dt=_0x1f6ce8(0xe8),kt=_0x1f6ce8(0x3b6),vt=_0x1f6ce8(0xf8),Ht=_0x1f6ce8(0x24c),jt=0x7d0,St=_0x1f6ce8(0x264),ft='ws://127.0.0.1:8000/universer-api/comb/connect',$t=_0x1f6ce8(0x1cd),pt=_0x1f6ce8(0x3d2),Bt=0x7530,je='HEARTBEAT_TIMEOUT',gt=0x4e20,Ft=0x4e20,mt=_0x1f6ce8(0x8d),Vt=0x3,Wt=_0x1f6ce8(0x37e),Gt=0x3e8,It='COLLAB_SUBMIT_CHANGESET_URL',Kt='/universer-api/comb',Et=_0x1f6ce8(0x38b),Yt=_0x1f6ce8(0x15e),qt=_0x1f6ce8(0x30b),zt=_0x1f6ce8(0x187);var Ct=(_0xc94afa=>(_0xc94afa[_0xc94afa[_0x1f6ce8(0x3f9)]=0x0]='UNDEFINED',_0xc94afa[_0xc94afa['OK']=0x1]='OK',_0xc94afa[_0xc94afa[_0x1f6ce8(0x25c)]=0x2]='INTERNAL_ERROR',_0xc94afa[_0xc94afa[_0x1f6ce8(0x3cb)]=0x3]=_0x1f6ce8(0x3cb),_0xc94afa[_0xc94afa[_0x1f6ce8(0x397)]=0x4]=_0x1f6ce8(0x397),_0xc94afa[_0xc94afa[_0x1f6ce8(0x24f)]=0x5]=_0x1f6ce8(0x24f),_0xc94afa[_0xc94afa[_0x1f6ce8(0x3d6)]=0x6]=_0x1f6ce8(0x3d6),_0xc94afa[_0xc94afa['INVALID_ARGUMENT']=0x7]=_0x1f6ce8(0x103),_0xc94afa[_0xc94afa[_0x1f6ce8(0x1fd)]=0x8]='TOO_MANY_REQUESTS',_0xc94afa[_0xc94afa['COMPLETION_FINISHED']=0x9]=_0x1f6ce8(0x3da),_0xc94afa[_0xc94afa[_0x1f6ce8(0x371)]=0xa]='LOGIN_FAILED',_0xc94afa[_0xc94afa['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0xc94afa[_0xc94afa[_0x1f6ce8(0x3ab)]=0x1771]=_0x1f6ce8(0x3ab),_0xc94afa[_0xc94afa[_0x1f6ce8(0x23a)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0xc94afa[_0xc94afa[_0x1f6ce8(0x1ce)]=0x1773]=_0x1f6ce8(0x1ce),_0xc94afa[_0xc94afa['APPLY_REJECT']=0x1b59]=_0x1f6ce8(0x254),_0xc94afa[_0xc94afa['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x1f6ce8(0x3f0),_0xc94afa[_0xc94afa[_0x1f6ce8(0x117)]=0x1b5b]=_0x1f6ce8(0x117),_0xc94afa[_0xc94afa[_0x1f6ce8(0x3c6)]=0x1b5c]=_0x1f6ce8(0x3c6),_0xc94afa[_0xc94afa[_0x1f6ce8(0x1a4)]=0x1b5d]='APPLY_DUPLICATED',_0xc94afa[_0xc94afa[_0x1f6ce8(0x2cc)]=0x1f41]=_0x1f6ce8(0x2cc),_0xc94afa[_0xc94afa['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0xc94afa[_0xc94afa['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x1f6ce8(0x29c),_0xc94afa[_0xc94afa[_0x1f6ce8(0x126)]=0x232b]=_0x1f6ce8(0x126),_0xc94afa[_0xc94afa[_0x1f6ce8(0x390)]=0x232c]=_0x1f6ce8(0x390),_0xc94afa[_0xc94afa[_0x1f6ce8(0x231)]=0x232d]=_0x1f6ce8(0x231),_0xc94afa[_0xc94afa[_0x1f6ce8(0xff)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0xc94afa[_0xc94afa[_0x1f6ce8(0x2df)]=0x2712]=_0x1f6ce8(0x2df),_0xc94afa[_0xc94afa['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x1f6ce8(0xbe),_0xc94afa[_0xc94afa[_0x1f6ce8(0x1d3)]=0x2714]=_0x1f6ce8(0x1d3),_0xc94afa[_0xc94afa['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x1f6ce8(0x3a6),_0xc94afa[_0xc94afa[_0x1f6ce8(0x11b)]=0x2ee1]=_0x1f6ce8(0x11b),_0xc94afa[_0xc94afa[_0x1f6ce8(0x124)]=0x2ee2]=_0x1f6ce8(0x124),_0xc94afa[_0xc94afa[_0x1f6ce8(0x27b)]=0x2ee3]=_0x1f6ce8(0x27b),_0xc94afa[_0xc94afa['USER_NOT_INVITED_CODE']=0x2ee4]=_0x1f6ce8(0x2b7),_0xc94afa[_0xc94afa['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x1f6ce8(0x162),_0xc94afa[_0xc94afa[_0x1f6ce8(0x2ae)]=0x32c9]=_0x1f6ce8(0x2ae),_0xc94afa[_0xc94afa[_0x1f6ce8(0x18d)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0xc94afa[_0xc94afa[_0x1f6ce8(0x205)]=0x32cb]=_0x1f6ce8(0x205),_0xc94afa[_0xc94afa[_0x1f6ce8(0x39c)]=-0x1]=_0x1f6ce8(0x39c),_0xc94afa))(Ct||{}),X=(_0x4000a3=>(_0x4000a3[_0x4000a3[_0x1f6ce8(0x252)]=0x0]=_0x1f6ce8(0x252),_0x4000a3[_0x4000a3[_0x1f6ce8(0x326)]=0x1]=_0x1f6ce8(0x326),_0x4000a3[_0x4000a3[_0x1f6ce8(0x3df)]=0x2]='UNIVER_SHEET',_0x4000a3[_0x4000a3[_0x1f6ce8(0x2cb)]=0x3]=_0x1f6ce8(0x2cb),_0x4000a3[_0x4000a3[_0x1f6ce8(0x1e0)]=0x4]=_0x1f6ce8(0x1e0),_0x4000a3[_0x4000a3[_0x1f6ce8(0x39c)]=-0x1]=_0x1f6ce8(0x39c),_0x4000a3))(X||{}),W=(_0x3e7a80=>(_0x3e7a80[_0x3e7a80[_0x1f6ce8(0x35e)]=0x0]=_0x1f6ce8(0x35e),_0x3e7a80[_0x3e7a80[_0x1f6ce8(0x39a)]=0x1]=_0x1f6ce8(0x39a),_0x3e7a80[_0x3e7a80[_0x1f6ce8(0x2c2)]=0x2]=_0x1f6ce8(0x2c2),_0x3e7a80[_0x3e7a80[_0x1f6ce8(0x245)]=0x3]=_0x1f6ce8(0x245),_0x3e7a80[_0x3e7a80['INGEST']=0x4]=_0x1f6ce8(0x373),_0x3e7a80[_0x3e7a80[_0x1f6ce8(0x1a5)]=0x5]=_0x1f6ce8(0x1a5),_0x3e7a80[_0x3e7a80[_0x1f6ce8(0x2cd)]=0x6]=_0x1f6ce8(0x2cd),_0x3e7a80[_0x3e7a80[_0x1f6ce8(0x39c)]=-0x1]=_0x1f6ce8(0x39c),_0x3e7a80))(W||{}),ae=(_0x4808d8=>(_0x4808d8[_0x4808d8[_0x1f6ce8(0x32c)]=0x0]=_0x1f6ce8(0x32c),_0x4808d8[_0x4808d8['OK']=0x1]='OK',_0x4808d8[_0x4808d8[_0x1f6ce8(0xdc)]=0x2]=_0x1f6ce8(0xdc),_0x4808d8[_0x4808d8[_0x1f6ce8(0xb1)]=0x3e9]='JOIN_ROOM_FULL',_0x4808d8[_0x4808d8[_0x1f6ce8(0x1f5)]=0x3ea]=_0x1f6ce8(0x1f5),_0x4808d8[_0x4808d8[_0x1f6ce8(0x90)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x4808d8[_0x4808d8[_0x1f6ce8(0x2ea)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x4808d8[_0x4808d8[_0x1f6ce8(0x39c)]=-0x1]='UNRECOGNIZED',_0x4808d8))(ae||{}),Tt=(_0x101ef0=>(_0x101ef0[_0x101ef0[_0x1f6ce8(0x3f6)]=0x0]=_0x1f6ce8(0x3f6),_0x101ef0[_0x101ef0[_0x1f6ce8(0x21a)]=0x1]=_0x1f6ce8(0x21a),_0x101ef0[_0x101ef0[_0x1f6ce8(0xb2)]=0x2]=_0x1f6ce8(0xb2),_0x101ef0[_0x101ef0['UnitEmbedded']=0x3]=_0x1f6ce8(0x39d),_0x101ef0[_0x101ef0[_0x1f6ce8(0x23c)]=0x4]=_0x1f6ce8(0x23c),_0x101ef0[_0x101ef0[_0x1f6ce8(0x108)]=0x5]=_0x1f6ce8(0x108),_0x101ef0[_0x101ef0[_0x1f6ce8(0x39c)]=-0x1]=_0x1f6ce8(0x39c),_0x101ef0))(Tt||{});const Y='collaboration-client.config',Jt={};var Q=(_0x6d5c94=>(_0x6d5c94[_0x1f6ce8(0x250)]=_0x1f6ce8(0x250),_0x6d5c94[_0x1f6ce8(0x3cb)]=_0x1f6ce8(0x3cb),_0x6d5c94[_0x1f6ce8(0x320)]=_0x1f6ce8(0x320),_0x6d5c94[_0x1f6ce8(0x2d8)]=_0x1f6ce8(0x2d8),_0x6d5c94[_0x1f6ce8(0x276)]='JOIN_ROOM_FAILED',_0x6d5c94['SOCKET_FAILED_RETRY']=_0x1f6ce8(0x15f),_0x6d5c94[_0x1f6ce8(0x278)]=_0x1f6ce8(0x278),_0x6d5c94['SUBMIT_CHANGESET_TIMEOUT']=_0x1f6ce8(0x199),_0x6d5c94))(Q||{});class te{constructor(){var _0x5ce214=_0x1f6ce8;A(this,_0x5ce214(0xf1),new j[(_0x5ce214(0x36d))]()),A(this,_0x5ce214(0x149),this['_event$'][_0x5ce214(0x2bb)]());}[_0x1f6ce8(0x98)](_0x50f41c){var _0x10262d=_0x1f6ce8;this[_0x10262d(0xf1)][_0x10262d(0x100)](_0x50f41c);}}const bt=a[_0x1f6ce8(0x181)](_0x1f6ce8(0x1b8));function Rt(_0x2ed063){var _0x335252=_0x1f6ce8,_0x539f33,_0x52c1d0,_0x157a94,_0x92f1f,_0x1b7d0c;const _0x2e4fbd=_0x2ed063[_0x335252(0x1cf)],_0x105eb5=JSON['parse'](_0x2e4fbd);switch(_0x105eb5[_0x335252(0x91)]){case W[_0x335252(0x1a5)]:case W[_0x335252(0x39a)]:{const _0x591b3f=_0x105eb5[_0x335252(0x237)];return{..._0x105eb5,'data':_0x591b3f,'cmd':_0x105eb5['cmd']};}case W[_0x335252(0x2c2)]:{const _0x383720=_0x105eb5['joinRsp'];return{..._0x105eb5,'data':_0x383720,'cmd':_0x105eb5[_0x335252(0x91)]};}case W[_0x335252(0x2cd)]:{const _0x4caccb=_0x105eb5[_0x335252(0x2ee)];switch(_0x4caccb[_0x335252(0x178)]){case g[_0x335252(0x3d5)][_0x335252(0x289)]:return{..._0x105eb5,'data':{..._0x4caccb,'data':(_0x539f33=_0x4caccb[_0x335252(0xa8)])==null?void 0x0:_0x539f33['cs']},'cmd':_0x105eb5[_0x335252(0x91)]};case g[_0x335252(0x3d5)][_0x335252(0x255)]:return{..._0x105eb5,'data':{..._0x4caccb,'data':(_0x52c1d0=_0x4caccb[_0x335252(0x3a2)])==null?void 0x0:_0x52c1d0['cs']},'cmd':_0x105eb5['cmd']};case g[_0x335252(0x3d5)][_0x335252(0x3e3)]:return{..._0x105eb5,'data':{..._0x4caccb,'data':(_0x157a94=_0x4caccb[_0x335252(0x2fd)])==null?void 0x0:_0x157a94['cs']},'cmd':_0x105eb5[_0x335252(0x91)]};case g[_0x335252(0x3d5)][_0x335252(0x370)]:return{..._0x105eb5,'data':{..._0x4caccb,'data':(_0x92f1f=_0x4caccb[_0x335252(0x294)])==null?void 0x0:_0x92f1f['cs']},'cmd':_0x105eb5['cmd']};case g[_0x335252(0x3d5)][_0x335252(0x3d9)]:return{..._0x105eb5,'data':{..._0x4caccb,'data':(_0x1b7d0c=_0x4caccb[_0x335252(0x138)])==null?void 0x0:_0x1b7d0c['cs']},'cmd':_0x105eb5['cmd']};case g[_0x335252(0x3d5)][_0x335252(0x325)]:return{..._0x105eb5,'data':{..._0x4caccb,'data':_0x4caccb[_0x335252(0x1aa)]},'cmd':_0x105eb5['cmd']};case g[_0x335252(0x3d5)]['USERS_ENTER']:return{..._0x105eb5,'data':{..._0x4caccb,'data':_0x4caccb[_0x335252(0xb6)]},'cmd':_0x105eb5[_0x335252(0x91)]};case g['CollaborationEvent']['USERS_LEAVE']:return{..._0x105eb5,'data':{..._0x4caccb,'data':_0x4caccb[_0x335252(0x1a3)]},'cmd':_0x105eb5[_0x335252(0x91)]};case g[_0x335252(0x3d5)]['LIVESHARE_NEW_HOST']:return{..._0x105eb5,'data':{..._0x4caccb,'data':_0x4caccb['liveShareNewHost']},'cmd':_0x105eb5['cmd']};case g[_0x335252(0x3d5)][_0x335252(0x3f8)]:case g['CollaborationEvent']['LIVESHARE_OPERATION']:return{..._0x105eb5,'data':{..._0x4caccb,'data':_0x4caccb['liveShareOperation']},'cmd':_0x105eb5['cmd']};case g[_0x335252(0x3d5)]['LIVESHARE_TERMINATE']:return{..._0x105eb5,'data':{..._0x4caccb,'data':_0x4caccb[_0x335252(0x2a3)]},'cmd':_0x105eb5[_0x335252(0x91)]};case g[_0x335252(0x3d5)][_0x335252(0xc1)]:return{..._0x105eb5,'data':_0x4caccb,'cmd':_0x105eb5[_0x335252(0x91)]};case g[_0x335252(0x3d5)][_0x335252(0xe5)]:return{..._0x105eb5,'data':{..._0x4caccb,'data':_0x4caccb[_0x335252(0xdd)]},'cmd':_0x105eb5[_0x335252(0x91)]};case g[_0x335252(0x3d5)][_0x335252(0x224)]:return{..._0x105eb5,'data':{..._0x4caccb,'data':_0x4caccb[_0x335252(0x36c)]},'cmd':_0x105eb5[_0x335252(0x91)]};case g[_0x335252(0x3d5)]['SHOULD_CLOSE_CONN']:return{..._0x105eb5,'data':{..._0x4caccb,'data':_0x4caccb['shouldCloseConn']},'cmd':_0x105eb5[_0x335252(0x91)]};case g[_0x335252(0x3d5)]['UNISCRIPT_RUN']:return{..._0x105eb5,'data':{..._0x4caccb,'data':_0x4caccb[_0x335252(0x176)]},'cmd':_0x105eb5[_0x335252(0x91)]};default:return _0x105eb5;}}default:return _0x105eb5;}}function Ot(_0x54a86b){var _0x4814c6=_0x1f6ce8;switch(_0x54a86b[_0x4814c6(0x91)]){case W['HEARTBEAT']:case W[_0x4814c6(0x39a)]:return JSON['stringify']({'cmd':_0x54a86b['cmd'],'routeKey':_0x54a86b[_0x4814c6(0x20c)]});case W['INGEST']:{let _0x50214f;switch(_0x54a86b['data'][_0x4814c6(0x178)]){case g[_0x4814c6(0x3d5)][_0x4814c6(0x325)]:{_0x50214f={'eventID':g[_0x4814c6(0x3d5)][_0x4814c6(0x325)],'updateCursorEvent':_0x54a86b[_0x4814c6(0x1cf)][_0x4814c6(0x1cf)]};break;}case g[_0x4814c6(0x3d5)][_0x4814c6(0x347)]:{_0x50214f={'eventID':g[_0x4814c6(0x3d5)][_0x4814c6(0x347)],'leaveEvent':_0x54a86b[_0x4814c6(0x1cf)]['data']};break;}case g[_0x4814c6(0x3d5)][_0x4814c6(0xe2)]:{_0x50214f={'eventID':g['CollaborationEvent'][_0x4814c6(0xe2)],'joinEvent':_0x54a86b['data'][_0x4814c6(0x1cf)]};break;}case g[_0x4814c6(0x3d5)][_0x4814c6(0x22e)]:{_0x50214f={'eventID':g[_0x4814c6(0x3d5)][_0x4814c6(0x22e)],'liveShareNewHost':_0x54a86b[_0x4814c6(0x1cf)]['data']};break;}case g[_0x4814c6(0x3d5)][_0x4814c6(0x381)]:{_0x50214f={'eventID':g['CollaborationEvent'][_0x4814c6(0x381)],'liveShareOperation':_0x54a86b[_0x4814c6(0x1cf)][_0x4814c6(0x1cf)]};break;}case g[_0x4814c6(0x3d5)][_0x4814c6(0xd6)]:{_0x50214f={'eventID':g[_0x4814c6(0x3d5)][_0x4814c6(0xd6)],'liveShareTerminate':_0x54a86b[_0x4814c6(0x1cf)]['data']};break;}case g[_0x4814c6(0x3d5)][_0x4814c6(0x337)]:{_0x50214f={'eventID':g[_0x4814c6(0x3d5)][_0x4814c6(0x337)],'liveShareRequestHost':_0x54a86b['data'][_0x4814c6(0x1cf)]};break;}case g[_0x4814c6(0x3d5)]['LIVESHARE_FETCH_OPERATIONS']:{_0x50214f={'eventID':g[_0x4814c6(0x3d5)][_0x4814c6(0x3f8)]};break;}default:_0x50214f={'eventID':_0x54a86b['data']['eventID']};}return JSON[_0x4814c6(0x1ca)]({'cmd':_0x54a86b[_0x4814c6(0x91)],'routeKey':_0x54a86b[_0x4814c6(0x20c)],'collaMsg':_0x50214f});}case W[_0x4814c6(0x2c2)]:return JSON['stringify']({'cmd':_0x54a86b[_0x4814c6(0x91)],'routeKey':_0x54a86b['routeKey'],'joinReq':_0x54a86b['data']});case W['LEAVE']:return JSON[_0x4814c6(0x1ca)]({'cmd':_0x54a86b[_0x4814c6(0x91)],'routeKey':_0x54a86b[_0x4814c6(0x20c)],'leaveReq':_0x54a86b['data']});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var Xt=Object['getOwnPropertyDescriptor'],Zt=(_0x52ee72,_0x16d613,_0x45362b,_0x131bb7)=>{var _0x32641b=_0x1f6ce8;for(var _0x24e959=_0x131bb7>0x1?void 0x0:_0x131bb7?Xt(_0x16d613,_0x45362b):_0x16d613,_0x214ec0=_0x52ee72[_0x32641b(0x398)]-0x1,_0x49abc6;_0x214ec0>=0x0;_0x214ec0--)(_0x49abc6=_0x52ee72[_0x214ec0])&&(_0x24e959=_0x49abc6(_0x24e959)||_0x24e959);return _0x24e959;},_e=(_0x5955c2,_0x21c7c9)=>(_0x3df295,_0x249a15)=>_0x21c7c9(_0x3df295,_0x249a15,_0x5955c2);const $e=a['createIdentifier'](_0x1f6ce8(0x99));function Qt(_0x3fc8b6,_0x5964b3,_0x3742d1){var _0x15da15=_0x1f6ce8;return _0x3fc8b6+'/'+_0x5964b3+_0x15da15(0x12b)+_0x3742d1+'/new_changes';}exports[_0x1f6ce8(0x35f)]=class extends a['Disposable']{constructor(_0x4c622e,_0x1f8404,_0x441983,_0x5234c1,_0x267504){var _0x9a039b=_0x1f6ce8;super(),this[_0x9a039b(0x154)]=_0x4c622e,this[_0x9a039b(0x2ff)]=_0x1f8404,this[_0x9a039b(0x291)]=_0x441983,this[_0x9a039b(0x3c4)]=_0x5234c1,this['_snapshotServerService']=_0x267504;}[_0x1f6ce8(0x26e)](_0x97a177){var _0x4d24d0=_0x1f6ce8;const _0x5c09c4=this[_0x4d24d0(0x154)][_0x4d24d0(0x203)](q[_0x4d24d0(0x107)]);if(!_0x5c09c4)throw new Error(_0x4d24d0(0x290));const _0x2f902a=_0x5c09c4['createSocket'](_0x97a177);if(!_0x2f902a)throw new Error(_0x4d24d0(0x318));const _0x362291=new a[(_0x4d24d0(0x17d))](),_0x267883=new j[(_0x4d24d0(0x36d))]();_0x362291['add'](_0x2f902a[_0x4d24d0(0x288)][_0x4d24d0(0x1e6)](_0xe14304=>_0x267883[_0x4d24d0(0x100)](_0xe14304))),_0x362291[_0x4d24d0(0x227)](a['toDisposable'](()=>_0x267883[_0x4d24d0(0x1b3)]()));const _0x30cb1b=new j[(_0x4d24d0(0x36d))]();_0x362291[_0x4d24d0(0x227)](_0x2f902a[_0x4d24d0(0x119)]['subscribe'](_0x15fd9b=>_0x30cb1b[_0x4d24d0(0x100)](_0x15fd9b))),_0x362291[_0x4d24d0(0x227)](a[_0x4d24d0(0x36f)](()=>_0x30cb1b['complete']()));const _0x49f891=new j[(_0x4d24d0(0x36d))]();_0x362291[_0x4d24d0(0x227)](_0x2f902a[_0x4d24d0(0xa6)]['subscribe'](_0x5115a7=>{var _0x1b8796=_0x4d24d0;const _0xe56862=Rt(_0x5115a7);_0x49f891[_0x1b8796(0x100)](_0xe56862);})),_0x362291['add'](a[_0x4d24d0(0x36f)](()=>_0x49f891[_0x4d24d0(0x1b3)]()));let _0x476581;const _0x10c6e5=()=>{var _0x31fbc0=_0x4d24d0;_0x30cb1b[_0x31fbc0(0x100)](new Event(_0x31fbc0(0x35c))),_0x267883[_0x31fbc0(0x100)](new Event(_0x31fbc0(0x35c))),_0x476581['close']();};return _0x476581={'memberID':'','close$':_0x267883['asObservable'](),'error$':_0x30cb1b['asObservable'](),'open$':_0x2f902a[_0x4d24d0(0x1b4)],'message$':_0x49f891[_0x4d24d0(0x2bb)](),'send':_0x59d8f9=>{var _0xf541fd=_0x4d24d0;if(_0x59d8f9[_0xf541fd(0x91)]===W[_0xf541fd(0x373)]){if(_0x59d8f9[_0xf541fd(0x1cf)][_0xf541fd(0x178)]===g[_0xf541fd(0x3d5)][_0xf541fd(0xc6)]){this['_submitChangeset'](_0x476581,_0x59d8f9[_0xf541fd(0x1cf)])[_0xf541fd(0xa9)](_0x1a4c9c=>{var _0x2296cf=_0xf541fd;this[_0x2296cf(0x3c4)][_0x2296cf(0x160)](_0x1a4c9c),_0x10c6e5();});return;}if(_0x59d8f9[_0xf541fd(0x1cf)][_0xf541fd(0x178)]===g[_0xf541fd(0x3d5)][_0xf541fd(0x3be)]){const _0x231628=_0x59d8f9[_0xf541fd(0x1cf)];this[_0xf541fd(0x3e9)](_0x231628)['then'](_0x49194d=>{var _0x452aab=_0xf541fd;_0x49f891['next']({'cmd':W[_0x452aab(0x2cd)],'code':ae['OK'],'routeKey':_0x231628[_0x452aab(0x1cf)][_0x452aab(0x17b)],'routeType':'','data':{'eventID':g['CollaborationEvent'][_0x452aab(0x1a2)],'data':{'changesets':_0x49194d}}});})[_0xf541fd(0xa9)](_0x26beb7=>{var _0x3e7344=_0xf541fd;this[_0x3e7344(0x3c4)][_0x3e7344(0x160)](_0x26beb7),_0x10c6e5();});return;}}_0x2f902a[_0xf541fd(0xba)](Ot(_0x59d8f9));},'close':()=>{var _0x38d24d=_0x4d24d0;_0x2f902a[_0x38d24d(0xc3)](),_0x362291[_0x38d24d(0x29e)]();}},_0x476581;}async[_0x1f6ce8(0x10c)](_0x456529,_0x26de05){var _0x52888a=_0x1f6ce8,_0x211cdf,_0x476feb;const {unitType:_0x39334b,unitID:_0xd0dd25,changeset:_0x4a1490}=_0x26de05[_0x52888a(0x1cf)],_0x1215ae={'unitID':_0xd0dd25,'memberID':_0x456529[_0x52888a(0x271)],'type':_0x39334b,'changeset':g[_0x52888a(0x226)](_0x4a1490)},_0x44ef5d=this[_0x52888a(0x291)][_0x52888a(0x170)](It),_0x146cd6=this[_0x52888a(0x291)][_0x52888a(0x170)](Y),_0xb2da0a=Qt((_0x476feb=(_0x211cdf=_0x146cd6==null?void 0x0:_0x146cd6[_0x52888a(0x18e)])!=null?_0x211cdf:_0x44ef5d)!=null?_0x476feb:Kt,_0x39334b,_0xd0dd25);try{await this[_0x52888a(0x2ff)]['post'](_0xb2da0a,{'body':_0x1215ae});}catch(_0x16e62a){throw this[_0x52888a(0x3c4)][_0x52888a(0x160)]('[CollaborationSession]',_0x52888a(0x1d2)),_0x16e62a;}}async['_fetchMissChangesets'](_0x913ce6){var _0x5220cb=_0x1f6ce8;const {unitID:_0x24b65e,from:_0x1acefa,to:_0x2e6048,unitType:_0x2b0e74}=_0x913ce6['data'];return(await this['_snapshotServerService'][_0x5220cb(0x147)]({'metadata':void 0x0},{'unitID':_0x24b65e,'type':_0x2b0e74,'from':_0x1acefa,'to':_0x2e6048}))[_0x5220cb(0x401)];}},exports['CollaborationSocketService']=Zt([_e(0x0,a['Inject'](a['Injector'])),_e(0x1,a[_0x1f6ce8(0x339)](q[_0x1f6ce8(0xfd)])),_e(0x2,a['IConfigService']),_e(0x3,a[_0x1f6ce8(0x3e5)]),_e(0x4,g[_0x1f6ce8(0x3cd)])],exports[_0x1f6ce8(0x35f)]);const ei=_0x1f6ce8(0x265);function ti(_0x3acc07){var _0x4b7be4=_0x1f6ce8;return JSON[_0x4b7be4(0x1ca)](_0x3acc07)[_0x4b7be4(0x398)];}class Be{constructor(){var _0x7dd2bb=_0x1f6ce8;A(this,_0x7dd2bb(0x88),new j['Subject']()),A(this,_0x7dd2bb(0x298),this[_0x7dd2bb(0x88)]['asObservable']());}[_0x1f6ce8(0x374)](_0x2c1b99){var _0x46c9ab=_0x1f6ce8;this[_0x46c9ab(0x88)][_0x46c9ab(0x100)](_0x2c1b99);}}var ii=Object[_0x1f6ce8(0xac)],ni=(_0x421b1d,_0x5f3faf,_0x373b61,_0x36ec36)=>{var _0x31f4b5=_0x1f6ce8;for(var _0x50d2a8=_0x36ec36>0x1?void 0x0:_0x36ec36?ii(_0x5f3faf,_0x373b61):_0x5f3faf,_0x48c22f=_0x421b1d[_0x31f4b5(0x398)]-0x1,_0x58f8f8;_0x48c22f>=0x0;_0x48c22f--)(_0x58f8f8=_0x421b1d[_0x48c22f])&&(_0x50d2a8=_0x58f8f8(_0x50d2a8)||_0x50d2a8);return _0x50d2a8;},Ke=(_0x1bacc6,_0x57b619)=>(_0xaefc59,_0x5a6176)=>_0x57b619(_0xaefc59,_0x5a6176,_0x1bacc6);exports[_0x1f6ce8(0xbf)]=class extends a[_0x1f6ce8(0x280)]{constructor(_0x211031,_0x41ef48){var _0x39ed6d=_0x1f6ce8;super(),A(this,'_roomMembers',new Map()),A(this,_0x39ed6d(0x2b0),new j[(_0x39ed6d(0x36d))]()),(this[_0x39ed6d(0x33c)]=_0x211031,this['_userManagerService']=_0x41ef48,this[_0x39ed6d(0x382)](j['merge'](this[_0x39ed6d(0x33c)][_0x39ed6d(0x27a)](a[_0x39ed6d(0x343)][_0x39ed6d(0x3df)])[_0x39ed6d(0x3f5)](V[_0x39ed6d(0x173)](_0x267aac=>_0x267aac[_0x39ed6d(0x13f)]())),this[_0x39ed6d(0x33c)]['getTypeOfUnitDisposed$'](a[_0x39ed6d(0x343)]['UNIVER_DOC'])[_0x39ed6d(0x3f5)](V[_0x39ed6d(0x173)](_0x546b4d=>_0x546b4d['getUnitId']())),this['_univerInstanceService'][_0x39ed6d(0x27a)](a[_0x39ed6d(0x343)][_0x39ed6d(0x2cb)])[_0x39ed6d(0x3f5)](V[_0x39ed6d(0x173)](_0x39d692=>_0x39d692[_0x39ed6d(0x13f)]())))[_0x39ed6d(0x1e6)](_0x371df8=>this['_removeRoom'](_0x371df8))));}[_0x1f6ce8(0x378)](_0x2a41b6){var _0x39f4db=_0x1f6ce8;return this[_0x39f4db(0x385)][_0x39f4db(0xd3)](_0x2a41b6)?j['of'](this[_0x39f4db(0x385)]['get'](_0x2a41b6)):this['_roomCreated$'][_0x39f4db(0x3f5)](V[_0x39f4db(0x173)](_0x1158cd=>{var _0xef863b=_0x39f4db;if(_0x1158cd===_0x2a41b6)return this[_0xef863b(0x385)][_0xef863b(0x203)](_0x1158cd);}));}['setCurrentUser'](_0x2d1dc7){this['_userManagerService']['setCurrentUser'](_0x2d1dc7);}[_0x1f6ce8(0x15b)](){var _0x5a344a=_0x1f6ce8;return this['_userManagerService'][_0x5a344a(0x15b)]();}['updateMember'](_0x655e6d,_0x49d12e){var _0x15f798=_0x1f6ce8;let _0x15d8d9=this[_0x15f798(0x385)][_0x15f798(0x203)](_0x655e6d);_0x15d8d9||(_0x15d8d9=new ri(),this[_0x15f798(0x385)][_0x15f798(0x3c0)](_0x655e6d,_0x15d8d9),this[_0x15f798(0x2b0)][_0x15f798(0x100)](_0x655e6d)),_0x15d8d9[_0x15f798(0x127)](_0x49d12e);}[_0x1f6ce8(0x2ef)](_0x2dc75f,_0xa83eba){var _0x243581=_0x1f6ce8;const _0x2567cb=this['_roomMembers']['get'](_0x2dc75f);_0x2567cb&&_0x2567cb[_0x243581(0x2ef)](_0xa83eba);}[_0x1f6ce8(0x2ec)](_0x5732b7){var _0x3c875c=_0x1f6ce8;return this[_0x3c875c(0x385)][_0x3c875c(0x203)](_0x5732b7);}[_0x1f6ce8(0x104)](_0x3b06cd,_0x41e0ae){var _0x374af0=_0x1f6ce8;const _0x3316cd=this[_0x374af0(0x385)][_0x374af0(0x203)](_0x3b06cd);if(_0x3316cd)return _0x3316cd[_0x374af0(0x104)](_0x41e0ae);}[_0x1f6ce8(0x324)](_0x1a2feb){var _0x189d8b=_0x1f6ce8;const _0x4967d9=this[_0x189d8b(0x385)][_0x189d8b(0x203)](_0x1a2feb);_0x4967d9&&(_0x4967d9[_0x189d8b(0x29e)](),this[_0x189d8b(0x385)][_0x189d8b(0x11c)](_0x1a2feb));}[_0x1f6ce8(0x29e)](){var _0x544b09=_0x1f6ce8;this[_0x544b09(0x385)]['forEach'](_0x4a2bd9=>_0x4a2bd9[_0x544b09(0x29e)]()),this[_0x544b09(0x385)][_0x544b09(0x307)](),this[_0x544b09(0x2b0)][_0x544b09(0x1b3)]();}},exports[_0x1f6ce8(0xbf)]=ni([Ke(0x0,a[_0x1f6ce8(0x2cf)]),Ke(0x1,a[_0x1f6ce8(0x339)](a[_0x1f6ce8(0x184)]))],exports[_0x1f6ce8(0xbf)]);class ri extends a['Disposable']{constructor(){var _0x3ff7d6=_0x1f6ce8;super(...arguments),A(this,_0x3ff7d6(0x3f4),new Map()),A(this,_0x3ff7d6(0x23b),new j['BehaviorSubject'](this[_0x3ff7d6(0x3f4)])),A(this,'members$',this[_0x3ff7d6(0x23b)]['asObservable']());}['dispose'](){var _0x130a59=_0x1f6ce8;this[_0x130a59(0x3f4)][_0x130a59(0x307)]();}[_0x1f6ce8(0x127)](_0x14150e){var _0x4d023a=_0x1f6ce8;this[_0x4d023a(0x3f4)][_0x4d023a(0x3c0)](_0x14150e[_0x4d023a(0x271)],_0x14150e),this[_0x4d023a(0x38f)]();}[_0x1f6ce8(0x2ef)](_0x754d59){var _0x39c45f=_0x1f6ce8;this[_0x39c45f(0x3f4)]['delete'](_0x754d59);}[_0x1f6ce8(0x104)](_0xe5f386){var _0x111ca1=_0x1f6ce8;return this[_0x111ca1(0x3f4)][_0x111ca1(0x203)](_0xe5f386);}['getAllMembers'](){var _0x2d8d6a=_0x1f6ce8;return Array['from'](this[_0x2d8d6a(0x3f4)][_0x2d8d6a(0x359)]());}[_0x1f6ce8(0x38f)](){var _0x56c677=_0x1f6ce8;this['_members$'][_0x56c677(0x100)](this[_0x56c677(0x3f4)]);}}var si=Object['getOwnPropertyDescriptor'],oi=(_0x3557bb,_0x33d1a6,_0x228941,_0x3d5deb)=>{var _0x1ac144=_0x1f6ce8;for(var _0x217a24=_0x3d5deb>0x1?void 0x0:_0x3d5deb?si(_0x33d1a6,_0x228941):_0x33d1a6,_0x267dc9=_0x3557bb[_0x1ac144(0x398)]-0x1,_0x5e1169;_0x267dc9>=0x0;_0x267dc9--)(_0x5e1169=_0x3557bb[_0x267dc9])&&(_0x217a24=_0x5e1169(_0x217a24)||_0x217a24);return _0x217a24;},oe=(_0x4d07ad,_0xb5abd6)=>(_0x4e4a9,_0x102199)=>_0xb5abd6(_0x4e4a9,_0x102199,_0x4d07ad),se=(_0x152e57=>(_0x152e57[_0x152e57[_0x1f6ce8(0x171)]=0x0]=_0x1f6ce8(0x171),_0x152e57[_0x152e57[_0x1f6ce8(0x145)]=0x1]='JOINING',_0x152e57[_0x152e57['OFFLINE']=0x2]=_0x1f6ce8(0x13e),_0x152e57[_0x152e57['ONLINE']=0x3]=_0x1f6ce8(0x312),_0x152e57))(se||{});const Ye={[ae[_0x1f6ce8(0xdc)]]:_0x1f6ce8(0x269),[ae['JOIN_ROOM_FULL']]:_0x1f6ce8(0x118),[ae['JOIN_ROOM_NOT_EXISTS']]:_0x1f6ce8(0x1f4),[ae[_0x1f6ce8(0x90)]]:_0x1f6ce8(0x2c7),[ae[_0x1f6ce8(0x2ea)]]:_0x1f6ce8(0xa4)};exports[_0x1f6ce8(0x93)]=class extends a[_0x1f6ce8(0x2ca)]{constructor(_0x966ced,_0x3d38ca,_0x1c5362,_0x41d879,_0x3549b3,_0x52860c,_0x21919d,_0x4cc9bd,_0x4fb680){var _0x4201c7=_0x1f6ce8;super(),A(this,'_sessionStatus$',new j[(_0x4201c7(0x1ed))](0x0)),A(this,_0x4201c7(0x2e9),this[_0x4201c7(0x109)][_0x4201c7(0x2bb)]()),A(this,_0x4201c7(0xf1),new j['Subject']()),A(this,_0x4201c7(0x149),this[_0x4201c7(0xf1)]['asObservable']()),A(this,_0x4201c7(0x1b2)),A(this,_0x4201c7(0x315)),A(this,'_collaborationTimeoutTimer'),A(this,_0x4201c7(0x310),!0x1),A(this,_0x4201c7(0xdb),null),(this[_0x4201c7(0x384)]=_0x966ced,this[_0x4201c7(0x3c4)]=_0x1c5362,this[_0x4201c7(0x291)]=_0x41d879,this[_0x4201c7(0x1ea)]=_0x3549b3,this[_0x4201c7(0x331)]=_0x52860c,this[_0x4201c7(0xb7)]=_0x21919d,this['_collaborationUIEventService']=_0x4cc9bd,this[_0x4201c7(0xbb)]=_0x4fb680,this[_0x4201c7(0x310)]=!!this['_telemetryService'],_0x3d38ca[_0x4201c7(0x3f5)](j[_0x4201c7(0x3ee)](this[_0x4201c7(0x1ec)]))[_0x4201c7(0x1e6)](_0xafe18d=>{var _0x4d7140=_0x4201c7,_0x440a81;typeof _0xafe18d>'u'||(this[_0x4d7140(0x1b2)]=_0xafe18d,_0xafe18d?(this['_joinRoom'](_0xafe18d),this[_0x4d7140(0x315)]=_0xafe18d[_0x4d7140(0xa6)][_0x4d7140(0x1e6)](_0x3e1986=>{var _0x3507aa=_0x4d7140;_0x3e1986[_0x3507aa(0x20c)]===this['_unitID']&&this[_0x3507aa(0x256)](_0x3e1986);})):(this[_0x4d7140(0x143)](),this['_sessionStatus$'][_0x4d7140(0x100)](0x2),(_0x440a81=this[_0x4d7140(0x315)])==null||_0x440a81[_0x4d7140(0xf9)](),this[_0x4d7140(0x315)]=null));}));}get[_0x1f6ce8(0x10b)](){var _0x2b77f7=_0x1f6ce8;return this[_0x2b77f7(0x109)]['getValue']();}[_0x1f6ce8(0x1e7)](){var _0x44aff5=_0x1f6ce8,_0x487fbf,_0x4b3c6a;return(_0x4b3c6a=(_0x487fbf=this[_0x44aff5(0x1b2)])==null?void 0x0:_0x487fbf[_0x44aff5(0x271)])!=null?_0x4b3c6a:null;}['dispose'](){var _0x4e086b=_0x1f6ce8;super[_0x4e086b(0x29e)](),this['dispose$']['next'](),this['dispose$'][_0x4e086b(0x1b3)]();}['close'](){var _0x4f3f87=_0x1f6ce8,_0x733892,_0x351f82;this[_0x4f3f87(0x143)](),(_0x733892=this[_0x4f3f87(0x1b2)])==null||_0x733892[_0x4f3f87(0xba)]({'cmd':W['LEAVE'],'data':{'roomID':this[_0x4f3f87(0x384)]}}),(_0x351f82=this['_socket'])==null||_0x351f82[_0x4f3f87(0xc3)](),this[_0x4f3f87(0xf1)][_0x4f3f87(0x1b3)](),this['_sessionStatus$'][_0x4f3f87(0x1b3)](),this[_0x4f3f87(0x29e)]();}[_0x1f6ce8(0x256)](_0x28a958){var _0x51326b=_0x1f6ce8;_0x28a958[_0x51326b(0x91)]===W[_0x51326b(0x2c2)]?this[_0x51326b(0x2fa)](_0x28a958):_0x28a958[_0x51326b(0x91)]===W[_0x51326b(0x2cd)]&&this['_onRecvEvent'](_0x28a958);}[_0x1f6ce8(0x14e)](_0x44e252){var _0x82dd0=_0x1f6ce8;this[_0x82dd0(0x109)][_0x82dd0(0x100)](0x1),_0x44e252[_0x82dd0(0xba)]({'cmd':W['JOIN'],'routeKey':this[_0x82dd0(0x384)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}['_onJoinRoomEvent'](_0x5c5d49){var _0x1aa59d=_0x1f6ce8,_0x7ca825;if(_0x5c5d49[_0x1aa59d(0x28e)]in Ye){this[_0x1aa59d(0x246)]['emitEvent']({'id':Q[_0x1aa59d(0x276)],'data':Ye[_0x5c5d49[_0x1aa59d(0x28e)]]}),this[_0x1aa59d(0x109)][_0x1aa59d(0x100)](0x2);return;}this[_0x1aa59d(0x109)][_0x1aa59d(0x100)](0x3);const _0x44cc4b=(_0x7ca825=_0x5c5d49[_0x1aa59d(0x1cf)]['roomInfos'][this[_0x1aa59d(0x384)]])==null?void 0x0:_0x7ca825[_0x1aa59d(0x120)];_0x44cc4b&&_0x44cc4b[_0x1aa59d(0x2f5)](_0x35ac73=>this[_0x1aa59d(0x331)][_0x1aa59d(0x127)](this[_0x1aa59d(0x384)],_0x35ac73));}[_0x1f6ce8(0x3a8)](_0x410c53){var _0x3697f8=_0x1f6ce8;try{const _0x4c5d9d=_0x410c53[_0x3697f8(0x1cf)];switch(_0x4c5d9d[_0x3697f8(0x178)]){case g[_0x3697f8(0x3d5)][_0x3697f8(0xe2)]:this[_0x3697f8(0xc5)](_0x4c5d9d),this[_0x3697f8(0xf1)][_0x3697f8(0x100)](_0x4c5d9d);break;case g[_0x3697f8(0x3d5)][_0x3697f8(0x347)]:this[_0x3697f8(0x2c5)](_0x4c5d9d),this[_0x3697f8(0xf1)]['next'](_0x4c5d9d);break;case g[_0x3697f8(0x3d5)][_0x3697f8(0x255)]:case g['CollaborationEvent'][_0x3697f8(0x3d9)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x3697f8(0x25f)](),this[_0x3697f8(0xf1)][_0x3697f8(0x100)](_0x4c5d9d);break;case g[_0x3697f8(0x3d5)]['MSG_FOR_ERROR']:this['_logService'][_0x3697f8(0x160)](_0x3697f8(0xb9)+JSON['stringify'](_0x4c5d9d)),this[_0x3697f8(0xf1)][_0x3697f8(0x100)](_0x4c5d9d);break;case g[_0x3697f8(0x3d5)]['COMMENT_UPDATE']:this[_0x3697f8(0xb7)][_0x3697f8(0x374)](_0x4c5d9d[_0x3697f8(0x1cf)]),this[_0x3697f8(0xf1)]['next'](_0x4c5d9d);break;default:this['_event$']['next'](_0x4c5d9d);}}catch(_0x25c031){this[_0x3697f8(0x3c4)][_0x3697f8(0x160)](_0x25c031,_0x410c53);}}[_0x1f6ce8(0xc5)](_0x3d9558){var _0x660786=_0x1f6ce8;this[_0x660786(0x331)]['updateMember'](this[_0x660786(0x384)],_0x3d9558['data']);}[_0x1f6ce8(0x2c5)](_0x1355f9){var _0x56f13b=_0x1f6ce8;this[_0x56f13b(0x331)][_0x56f13b(0x2ef)](this['_unitID'],_0x1355f9['data']['memberID']);}async['send'](_0x5d03a0,_0x1a5bbb){var _0x4c3ac3=_0x1f6ce8;if(this[_0x4c3ac3(0x10b)]!==0x3||!this[_0x4c3ac3(0x1b2)])throw new Error(_0x4c3ac3(0x9c));try{_0x5d03a0[_0x4c3ac3(0x178)]===g[_0x4c3ac3(0x3d5)][_0x4c3ac3(0xc6)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x4c3ac3(0xa0)](_0x5d03a0)),this['_socket'][_0x4c3ac3(0xba)]({'cmd':W[_0x4c3ac3(0x373)],'routeKey':_0x1a5bbb,'routeType':'','data':_0x5d03a0});}catch(_0x1e5514){this['_logService']['error'](_0x1e5514);}}[_0x1f6ce8(0x2e5)](){var _0x50c7b3=_0x1f6ce8,_0x3c8622;this[_0x50c7b3(0x299)]=setTimeout(()=>{var _0x3e4b90=_0x50c7b3;this[_0x3e4b90(0x299)]=null,this[_0x3e4b90(0x246)][_0x3e4b90(0x98)]({'id':Q['SUBMIT_CHANGESET_TIMEOUT']});},(_0x3c8622=this[_0x50c7b3(0x291)][_0x50c7b3(0x170)](je))!=null?_0x3c8622:gt);}[_0x1f6ce8(0x25f)](){var _0x27eaf0=_0x1f6ce8;this[_0x27eaf0(0x299)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x27eaf0(0x299)]=null);}[_0x1f6ce8(0xa0)](_0x506382){var _0x22c106=_0x1f6ce8;if(!this[_0x22c106(0x310)])return;const {data:_0x44a665}=_0x506382,{unitID:_0x6d4a95,changeset:_0x16fc86}=_0x44a665,{mutations:_0x1ce592,type:_0x525669}=_0x16fc86;this[_0x22c106(0xdb)]={'unitId':_0x6d4a95,'type':_0x525669,'startTime':performance[_0x22c106(0x1f8)](),'stopTime':0x0,'duration':0x0,'size':ti(_0x1ce592)};}[_0x1f6ce8(0xd7)](){var _0x5ac4d9=_0x1f6ce8;if(this[_0x5ac4d9(0x310)]){if(!this['_telemetryInfo']){this[_0x5ac4d9(0x3c4)]['error'](_0x5ac4d9(0x2e4),_0x5ac4d9(0x3ed));return;}this[_0x5ac4d9(0xdb)]['stopTime']=performance[_0x5ac4d9(0x1f8)](),this[_0x5ac4d9(0xdb)][_0x5ac4d9(0x285)]=this[_0x5ac4d9(0xdb)][_0x5ac4d9(0x1d1)]-this[_0x5ac4d9(0xdb)][_0x5ac4d9(0x258)],this[_0x5ac4d9(0xbb)]['capture'](ei,this[_0x5ac4d9(0xdb)]),this[_0x5ac4d9(0xdb)]=null;}}[_0x1f6ce8(0x143)](){var _0x3d7250=_0x1f6ce8;this[_0x3d7250(0xdb)]=null;}},exports[_0x1f6ce8(0x93)]=oi([oe(0x2,a[_0x1f6ce8(0x3e5)]),oe(0x3,a[_0x1f6ce8(0x240)]),oe(0x4,a[_0x1f6ce8(0x339)](a[_0x1f6ce8(0x225)])),oe(0x5,a['Inject'](exports[_0x1f6ce8(0xbf)])),oe(0x6,a[_0x1f6ce8(0x339)](Be)),oe(0x7,a[_0x1f6ce8(0x339)](te)),oe(0x8,a[_0x1f6ce8(0x2ce)](Mt['ITelemetryService']))],exports[_0x1f6ce8(0x93)]);var ai=Object[_0x1f6ce8(0xac)],ci=(_0x30d21f,_0x18a67b,_0x5b0946,_0x17a4cf)=>{var _0x1a4c05=_0x1f6ce8;for(var _0x1fbffd=_0x17a4cf>0x1?void 0x0:_0x17a4cf?ai(_0x18a67b,_0x5b0946):_0x18a67b,_0x58129b=_0x30d21f[_0x1a4c05(0x398)]-0x1,_0x4b6908;_0x58129b>=0x0;_0x58129b--)(_0x4b6908=_0x30d21f[_0x58129b])&&(_0x1fbffd=_0x4b6908(_0x1fbffd)||_0x1fbffd);return _0x1fbffd;},le=(_0x43c84f,_0x3e6573)=>(_0x5758cc,_0x47c22d)=>_0x3e6573(_0x5758cc,_0x47c22d,_0x43c84f);exports[_0x1f6ce8(0x1bb)]=class extends a['Disposable']{constructor(_0x2cad52,_0x41c103,_0x5618f2,_0x49024b,_0x23889a,_0xd99093){var _0x511196=_0x1f6ce8;super(),A(this,_0x511196(0x1d9),new j[(_0x511196(0x1ed))](void 0x0)),A(this,_0x511196(0x1c9),this[_0x511196(0x1d9)]['asObservable']()),A(this,_0x511196(0xec),null),A(this,_0x511196(0x39f),new Map()),A(this,_0x511196(0x30f),new j[(_0x511196(0x1ed))](se[_0x511196(0x171)])),A(this,_0x511196(0x38a),this[_0x511196(0x30f)][_0x511196(0x2bb)]()),A(this,_0x511196(0x215),!0x1),A(this,'_retryConnectingTimer'),A(this,'_retryCount',0x0),A(this,_0x511196(0x3ae)),A(this,'_timeoutTimer'),(this[_0x511196(0x154)]=_0x2cad52,this['_logService']=_0x41c103,this[_0x511196(0x291)]=_0x5618f2,this[_0x511196(0x144)]=_0x49024b,this['_collaborationUIEventService']=_0x23889a,this['_networkConditionService']=_0xd99093,this[_0x511196(0x2a5)]());}get[_0x1f6ce8(0x1b2)](){var _0x204468=_0x1f6ce8;return this[_0x204468(0x1d9)][_0x204468(0x365)]();}[_0x1f6ce8(0x2a5)](){var _0x5ba1fe=_0x1f6ce8;this[_0x5ba1fe(0x217)]&&this[_0x5ba1fe(0x382)](this[_0x5ba1fe(0x217)]['online$'][_0x5ba1fe(0x1e6)](_0xfe6017=>{var _0x1a8c61=_0x5ba1fe;_0xfe6017&&!this[_0x1a8c61(0x1b2)]&&this[_0x1a8c61(0x15d)](),_0xfe6017||this[_0x1a8c61(0xa2)]();}));}[_0x1f6ce8(0x29e)](){var _0x385fae=_0x1f6ce8;super[_0x385fae(0x29e)](),this[_0x385fae(0x23d)](),this[_0x385fae(0x17e)](),this[_0x385fae(0x20f)](),this[_0x385fae(0x39f)][_0x385fae(0x2f5)](_0x7cb978=>_0x7cb978['dispose']()),this[_0x385fae(0x39f)][_0x385fae(0x307)](),this['_status$'][_0x385fae(0x1b3)]();}async[_0x1f6ce8(0x1f1)](_0x354ea7){var _0x37add7=_0x1f6ce8;if(this['_sessions'][_0x37add7(0xd3)](_0x354ea7))return this[_0x37add7(0x39f)][_0x37add7(0x203)](_0x354ea7);this[_0x37add7(0x249)]();const _0x22aea5=this['_injector'][_0x37add7(0x182)](exports[_0x37add7(0x93)],_0x354ea7,this[_0x37add7(0x1d9)]['asObservable']());return this[_0x37add7(0x39f)][_0x37add7(0x3c0)](_0x354ea7,_0x22aea5),_0x22aea5;}[_0x1f6ce8(0x1c8)](_0x48006b){var _0x3df637=_0x1f6ce8,_0x460ff1;const _0x3a5402=this['_sessions']['get'](_0x48006b);_0x3a5402&&(this['_sessions'][_0x3df637(0x11c)](_0x48006b),_0x3a5402['close']()),this[_0x3df637(0x39f)][_0x3df637(0xed)]||(_0x460ff1=this[_0x3df637(0x1b2)])==null||_0x460ff1['close']();}[_0x1f6ce8(0x15d)](){var _0x544f73=_0x1f6ce8;this[_0x544f73(0x1cc)]=0x0,this[_0x544f73(0x23d)](),this[_0x544f73(0x1b9)]();}[_0x1f6ce8(0x23d)](){var _0x1f1380=_0x1f6ce8;this[_0x1f1380(0x342)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x1f1380(0x342)]=null);}async['_createSocket'](){var _0x1d221a=_0x1f6ce8,_0x5b1b90,_0x25ef15;const _0x4febdc=this[_0x1d221a(0x291)][_0x1d221a(0x170)](St),_0x5d3477=this['_configService'][_0x1d221a(0x170)](Y),_0x19718c=(_0x25ef15=(_0x5b1b90=_0x5d3477==null?void 0x0:_0x5d3477[_0x1d221a(0x267)])!=null?_0x5b1b90:_0x4febdc)!=null?_0x25ef15:ft,_0x1d0d6b=await this[_0x1d221a(0x144)][_0x1d221a(0x14a)](_0x19718c);return this[_0x1d221a(0xec)]=_0x1d0d6b,_0x1d0d6b;}async[_0x1f6ce8(0x249)](){var _0x1ebf09=_0x1f6ce8,_0x23a16b,_0x411615;try{const _0x50c768=(_0x411615=(_0x23a16b=this[_0x1ebf09(0x1b2)])!=null?_0x23a16b:this['_candidateSocket'])!=null?_0x411615:await this['_createSocket']();if(_0x50c768){const _0x2d1b7a=_0x50c768[_0x1ebf09(0xba)];_0x50c768[_0x1ebf09(0xba)]=_0x1162d9=>(this['_rescheduleHeartbeat'](),_0x2d1b7a[_0x1ebf09(0x2d7)](_0x50c768,[_0x1162d9])),_0x50c768[_0x1ebf09(0xa6)][_0x1ebf09(0x1e6)](_0xb6920=>this[_0x1ebf09(0x1db)](_0x50c768,_0xb6920)),_0x50c768[_0x1ebf09(0x119)]['pipe'](V[_0x1ebf09(0x210)](0x1))[_0x1ebf09(0x1e6)](_0xd716c9=>this[_0x1ebf09(0x3c4)][_0x1ebf09(0x160)](_0x1ebf09(0x1bd),_0xd716c9)),_0x50c768['open$'][_0x1ebf09(0x3f5)](V[_0x1ebf09(0x210)](0x1))[_0x1ebf09(0x1e6)](()=>{var _0x347a61=_0x1ebf09;this[_0x347a61(0x251)](_0x50c768);}),_0x50c768[_0x1ebf09(0x288)][_0x1ebf09(0x3f5)](V[_0x1ebf09(0x210)](0x1))[_0x1ebf09(0x1e6)](_0x237894=>{var _0x1ff108=_0x1ebf09;this[_0x1ff108(0x3c4)][_0x1ff108(0x3ca)]('[CollaborationSessionService]',_0x1ff108(0x1f7),_0x237894),this[_0x1ff108(0x2f2)]();});}}catch(_0x1537ca){this[_0x1ebf09(0x3c4)]['error'](_0x1537ca),this[_0x1ebf09(0x2f2)]();}}[_0x1f6ce8(0x251)](_0x494904){var _0x1e31c8=_0x1f6ce8;this[_0x1e31c8(0x3c4)]['debug'](_0x1e31c8(0x9b),_0x1e31c8(0xf5)),_0x494904[_0x1e31c8(0xba)]({'cmd':W[_0x1e31c8(0x39a)]}),this[_0x1e31c8(0x19f)]();}['_onOffline'](){var _0x52c5d6=_0x1f6ce8;this[_0x52c5d6(0x215)]=!0x1,this['_candidateSocket']=null,this['_status$'][_0x52c5d6(0x100)](se[_0x52c5d6(0x13e)]),this[_0x52c5d6(0x1d9)][_0x52c5d6(0x100)](null),this[_0x52c5d6(0x17e)](),this[_0x52c5d6(0x20f)]();}['_onConnectionFailed'](){var _0x5d70ec=_0x1f6ce8,_0x138609;this[_0x5d70ec(0xa2)](),this['_retryCount']<((_0x138609=this[_0x5d70ec(0x291)][_0x5d70ec(0x170)](mt))!=null?_0x138609:Vt)?(this[_0x5d70ec(0x246)]['emitEvent']({'id':Q[_0x5d70ec(0x15f)]}),this[_0x5d70ec(0x1b9)]()):this[_0x5d70ec(0x246)][_0x5d70ec(0x98)]({'id':Q[_0x5d70ec(0x278)]});}[_0x1f6ce8(0x1b9)](){var _0x38098f=_0x1f6ce8,_0x71f5e4;const _0x3dcebf=this[_0x38098f(0x1cc)],_0x4296c0=this[_0x38098f(0x291)][_0x38098f(0x170)](Y),_0x6ccc08=_0x3dcebf===0x0?0x0:((_0x71f5e4=_0x4296c0==null?void 0x0:_0x4296c0[_0x38098f(0x386)])!=null?_0x71f5e4:Ft)*0x2**_0x3dcebf;this[_0x38098f(0x342)]=setTimeout(()=>{var _0x18fe6c=_0x38098f;clearTimeout(this[_0x18fe6c(0x342)]),this[_0x18fe6c(0x342)]=null,this[_0x18fe6c(0x249)]();},_0x6ccc08),this[_0x38098f(0x1cc)]+=0x1;}[_0x1f6ce8(0x1db)](_0x4b9a11,_0xa66a18){var _0x291c3a=_0x1f6ce8;const {cmd:_0x15421a}=_0xa66a18;_0x15421a===W[_0x291c3a(0x39a)]&&!this['_socketReady']&&(_0x4b9a11['memberID']=_0xa66a18[_0x291c3a(0x1cf)]['memberID'],this[_0x291c3a(0x1d9)][_0x291c3a(0x100)](_0x4b9a11),this['_status$'][_0x291c3a(0x100)](se['ONLINE']),this[_0x291c3a(0x215)]=!0x0,this[_0x291c3a(0xec)]=null),_0x15421a===W[_0x291c3a(0x1a5)]&&this[_0x291c3a(0x17e)](),this['_rescheduleHeartbeat']();}['_rescheduleHeartbeat'](){var _0x8db0eb=_0x1f6ce8,_0x5e3f29;this['_clearHeartbeatTimer'](),this[_0x8db0eb(0x3ae)]=setTimeout(()=>this[_0x8db0eb(0x179)](),(_0x5e3f29=this['_configService'][_0x8db0eb(0x170)](pt))!=null?_0x5e3f29:Bt);}[_0x1f6ce8(0x179)](){var _0x2d92fc=_0x1f6ce8;this[_0x2d92fc(0x1b2)][_0x2d92fc(0xba)]({'cmd':W[_0x2d92fc(0x1a5)]}),this[_0x2d92fc(0xef)]();}[_0x1f6ce8(0xef)](){var _0x5d74b2=_0x1f6ce8,_0x327354;this[_0x5d74b2(0x376)]=setTimeout(()=>this[_0x5d74b2(0x2f2)](),(_0x327354=this[_0x5d74b2(0x291)]['getConfig'](je))!=null?_0x327354:gt);}[_0x1f6ce8(0x20f)](){var _0x2ece1f=_0x1f6ce8;this[_0x2ece1f(0x3ae)]!=null&&(clearTimeout(this[_0x2ece1f(0x3ae)]),this[_0x2ece1f(0x3ae)]=null);}[_0x1f6ce8(0x17e)](){var _0x1dc48a=_0x1f6ce8;this[_0x1dc48a(0x376)]!=null&&(clearTimeout(this[_0x1dc48a(0x376)]),this[_0x1dc48a(0x376)]=null);}},exports['CollaborationSessionService']=ci([le(0x0,a[_0x1f6ce8(0x339)](a['Injector'])),le(0x1,a[_0x1f6ce8(0x3e5)]),le(0x2,a[_0x1f6ce8(0x240)]),le(0x3,$e),le(0x4,a[_0x1f6ce8(0x339)](te)),le(0x5,a['Optional'](bt))],exports[_0x1f6ce8(0x1bb)]);const G=[];for(let n=0x0;n<0x100;++n)G[_0x1f6ce8(0x153)]((n+0x100)[_0x1f6ce8(0x31f)](0x10)[_0x1f6ce8(0x18a)](0x1));function hi(_0x42ffd1,_0x24ff4d=0x0){var _0x47fa5b=_0x1f6ce8;return(G[_0x42ffd1[_0x24ff4d+0x0]]+G[_0x42ffd1[_0x24ff4d+0x1]]+G[_0x42ffd1[_0x24ff4d+0x2]]+G[_0x42ffd1[_0x24ff4d+0x3]]+'-'+G[_0x42ffd1[_0x24ff4d+0x4]]+G[_0x42ffd1[_0x24ff4d+0x5]]+'-'+G[_0x42ffd1[_0x24ff4d+0x6]]+G[_0x42ffd1[_0x24ff4d+0x7]]+'-'+G[_0x42ffd1[_0x24ff4d+0x8]]+G[_0x42ffd1[_0x24ff4d+0x9]]+'-'+G[_0x42ffd1[_0x24ff4d+0xa]]+G[_0x42ffd1[_0x24ff4d+0xb]]+G[_0x42ffd1[_0x24ff4d+0xc]]+G[_0x42ffd1[_0x24ff4d+0xd]]+G[_0x42ffd1[_0x24ff4d+0xe]]+G[_0x42ffd1[_0x24ff4d+0xf]])[_0x47fa5b(0x235)]();}let Ue;const li=new Uint8Array(0x10);function _i(){var _0x31e51d=_0x1f6ce8;if(!Ue){if(typeof crypto>'u'||!crypto[_0x31e51d(0x141)])throw new Error(_0x31e51d(0x105));Ue=crypto[_0x31e51d(0x141)][_0x31e51d(0x1e5)](crypto);}return Ue(li);}const ui=typeof crypto<'u'&&crypto['randomUUID']&&crypto['randomUUID'][_0x1f6ce8(0x1e5)](crypto),qe={'randomUUID':ui};function di(_0x9e1641,_0x410b30,_0x56a7fb){var _0x339783=_0x1f6ce8,_0x2c026e,_0xe5e81b,_0x48f724;if(qe['randomUUID']&&!_0x9e1641)return qe[_0x339783(0x1e4)]();_0x9e1641=_0x9e1641||{};const _0x7bd014=(_0x48f724=(_0xe5e81b=_0x9e1641[_0x339783(0x33e)])!=null?_0xe5e81b:(_0x2c026e=_0x9e1641[_0x339783(0xa1)])==null?void 0x0:_0x2c026e[_0x339783(0x2ac)](_0x9e1641))!=null?_0x48f724:_i();if(_0x7bd014[_0x339783(0x398)]<0x10)throw new Error(_0x339783(0xde));return _0x7bd014[0x6]=_0x7bd014[0x6]&0xf|0x40,_0x7bd014[0x8]=_0x7bd014[0x8]&0x3f|0x80,hi(_0x7bd014);}const z=a['createIdentifier'](_0x1f6ce8(0xd8));function _0x17b6(_0x4ba0da,_0x381cd7){var _0x370c06=_0x370c();return _0x17b6=function(_0x17b662,_0x4a7cd5){_0x17b662=_0x17b662-0x87;var _0x1ea3ec=_0x370c06[_0x17b662];return _0x1ea3ec;},_0x17b6(_0x4ba0da,_0x381cd7);}function vi(_0x1ffa5c){var _0x1fe106=_0x1f6ce8;return _0x1fe106(0x334)+_0x1ffa5c;}var Si=Object[_0x1f6ce8(0xac)],fi=(_0xd95a3a,_0x469f67,_0x152751,_0x17044b)=>{var _0x36c2ea=_0x1f6ce8;for(var _0x4fe3f6=_0x17044b>0x1?void 0x0:_0x17044b?Si(_0x469f67,_0x152751):_0x469f67,_0x4b4e39=_0xd95a3a[_0x36c2ea(0x398)]-0x1,_0x22b883;_0x4b4e39>=0x0;_0x4b4e39--)(_0x22b883=_0xd95a3a[_0x4b4e39])&&(_0x4fe3f6=_0x22b883(_0x4fe3f6)||_0x4fe3f6);return _0x4fe3f6;},Ae=(_0x1d198b,_0x5a677b)=>(_0x378ce2,_0x1d48ad)=>_0x5a677b(_0x378ce2,_0x1d48ad,_0x1d198b);function pi(_0x3e81c8){var _0x2f912b=_0x1f6ce8;const {unitID:_0x11f40d,mutations:_0x1a83af}=_0x3e81c8;return{'unitId':_0x11f40d,'subUnitId':_0x1a83af[0x0][_0x2f912b(0x3f3)][_0x2f912b(0x3a9)]};}exports[_0x1f6ce8(0x214)]=class{constructor(_0x3e2768,_0x46b3d9,_0x5423e3){var _0x5d3a35=_0x1f6ce8;this[_0x5d3a35(0x154)]=_0x3e2768,this[_0x5d3a35(0x146)]=_0x46b3d9,this[_0x5d3a35(0x125)]=_0x5423e3;}[_0x1f6ce8(0x38e)](_0x1b56e7){var _0x466cb4=_0x1f6ce8,_0x45d80e,_0x31ee7d,_0x429c8e,_0x49a3d9;const _0x3e9bf5=this[_0x466cb4(0x154)][_0x466cb4(0x203)](Z['SheetsSelectionsService']),{unitId:_0xa441e0,subUnitId:_0x1862fc}=pi(_0x1b56e7),_0x5d6c2c=_0x3e9bf5==null?void 0x0:_0x3e9bf5[_0x466cb4(0x2bc)](_0xa441e0)['getCurrentSelections'](),_0x2c41c6=(_0x31ee7d=(_0x45d80e=this[_0x466cb4(0x125)][_0x466cb4(0x36e)](_0xa441e0))==null?void 0x0:_0x45d80e['getActiveSheet']())==null?void 0x0:_0x31ee7d[_0x466cb4(0x1e8)]();if(_0x5d6c2c['length']===0x0||!_0xa441e0||!_0x1862fc)return;const _0x54f57c=[{'id':Z['SetSelectionsOperation']['id'],'params':{'unitId':_0xa441e0,'subUnitId':_0x2c41c6,'selections':a['Tools']['deepClone'](_0x5d6c2c)}}],_0x2cd06f=this[_0x466cb4(0x146)][_0x466cb4(0xcc)](_0x1b56e7,_0x54f57c);if(!g[_0x466cb4(0xd9)](_0x2cd06f))throw _0x2cd06f['error'];const _0x4348b4=(_0x49a3d9=(_0x429c8e=_0x2cd06f['m2Prime'][0x0])==null?void 0x0:_0x429c8e[_0x466cb4(0x3f3)])==null?void 0x0:_0x49a3d9[_0x466cb4(0x3e7)];if(Array[_0x466cb4(0xe4)](_0x4348b4)&&_0x4348b4[_0x466cb4(0x398)]){if(_0x4348b4[_0x466cb4(0x398)]===_0x54f57c[0x0][_0x466cb4(0x3f3)][_0x466cb4(0x3e7)][_0x466cb4(0x398)]&&_0x4348b4[_0x466cb4(0x313)]((_0x10a0ce,_0x2ee390)=>a[_0x466cb4(0xd4)][_0x466cb4(0xc7)](_0x10a0ce[_0x466cb4(0x96)],_0x54f57c[0x0][_0x466cb4(0x3f3)][_0x466cb4(0x3e7)][_0x2ee390]['range'])))return;this[_0x466cb4(0x154)][_0x466cb4(0x203)](a[_0x466cb4(0x150)])[_0x466cb4(0xae)](Z[_0x466cb4(0x28d)]['id'],{'unitId':_0xa441e0,'subUnitId':_0x2c41c6,'selections':_0x4348b4});}}},exports['SheetTransformSelectionsService']=fi([Ae(0x0,a[_0x1f6ce8(0x339)](a['Injector'])),Ae(0x1,g['ITransformService']),Ae(0x2,a[_0x1f6ce8(0x2cf)])],exports[_0x1f6ce8(0x214)]);const ve=a[_0x1f6ce8(0x181)]('univer-pro.collaboration-client.single-active-unit-service');var Fe=(_0xc7d408=>(_0xc7d408[_0xc7d408['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x1f6ce8(0x2e3),_0xc7d408[_0xc7d408['OTHER_CLIENTS_EDITING']=0x1]=_0x1f6ce8(0x29f),_0xc7d408))(Fe||{});const gi=new Set([Z[_0x1f6ce8(0x27d)]['id']]);function ze(_0x5c3594,_0x550bde,_0x56117c,_0x3cc7af,_0x3060c5){var _0x26e4db=_0x1f6ce8,_0x307a0a,_0x2326b1,_0x3deac9,_0x3eb3bb;const _0x2220b1=[];for(const _0x16e2ea of _0x5c3594)if(gi[_0x26e4db(0xd3)](_0x16e2ea['id'])){if(_0x2220b1['length']>0x0)break;_0x2220b1[_0x26e4db(0x153)](_0x16e2ea);break;}else _0x2220b1[_0x26e4db(0x153)](_0x16e2ea);const _0x2c9c3a=(_0x2326b1=(_0x307a0a=_0x3060c5[_0x26e4db(0x15b)]())==null?void 0x0:_0x307a0a[_0x26e4db(0xca)])!=null?_0x2326b1:_0x26e4db(0x2c9),_0x226d09=(_0x3eb3bb=(_0x3deac9=_0x3060c5[_0x26e4db(0x15b)]())==null?void 0x0:_0x3deac9['memberID'])!=null?_0x3eb3bb:_0x26e4db(0x2c9);return{'changeset':{'unitID':_0x550bde,'type':g[_0x26e4db(0x22f)](_0x56117c[_0x26e4db(0x400)](_0x550bde)),'baseRev':_0x3cc7af[_0x26e4db(0x183)](_0x550bde),'revision':0x0,'userID':_0x2c9c3a,'memberID':_0x226d09,'mutations':_0x2220b1},'pendingMutations':_0x5c3594['slice'](_0x2220b1[_0x26e4db(0x398)])};}function mi(_0x5a3377,_0x44d162,_0x496517,_0x1917cb,_0x4abbcc){var _0x1fb557=_0x1f6ce8,_0x21b35e,_0x16771f,_0x1f4ff7,_0x4dd1a3;const _0x41d7b=[_0x5a3377[_0x1fb557(0x3c9)]((_0x2fb6c9,_0x588a41)=>{var _0x26bc3e=_0x1fb557,_0x14252a;const {id:_0x1e9aa4}=_0x2fb6c9,{id:_0x27c478,type:_0x436dfa}=_0x588a41,_0x1fda1c=(_0x14252a=_0x2fb6c9['params'])!=null?_0x14252a:{'actions':null},_0x403881=_0x588a41[_0x26bc3e(0x3f3)];if(_0x1e9aa4&&_0x1e9aa4!==_0x27c478)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x1e9aa4+_0x26bc3e(0x3ce)+_0x27c478+'.');return{..._0x2fb6c9,'id':_0x27c478,'type':_0x436dfa,'params':{'unitId':_0x403881['unitId'],'textRanges':_0x403881['textRanges'],'actions':a[_0x26bc3e(0x166)][_0x26bc3e(0xfb)](_0x1fda1c[_0x26bc3e(0xa7)],_0x403881[_0x26bc3e(0xa7)])}};},{})],_0x44f925=(_0x16771f=(_0x21b35e=_0x4abbcc['getCurrentUser']())==null?void 0x0:_0x21b35e['userID'])!=null?_0x16771f:'unknown',_0x59a40f=(_0x4dd1a3=(_0x1f4ff7=_0x4abbcc[_0x1fb557(0x15b)]())==null?void 0x0:_0x1f4ff7[_0x1fb557(0x271)])!=null?_0x4dd1a3:'unknown';return{'changeset':{'unitID':_0x44d162,'type':g[_0x1fb557(0x22f)](_0x496517[_0x1fb557(0x400)](_0x44d162)),'baseRev':_0x1917cb[_0x1fb557(0x183)](_0x44d162),'revision':0x0,'userID':_0x44f925,'memberID':_0x59a40f,'mutations':_0x41d7b},'pendingMutations':[]};}function yt(_0x5eb200,_0x23991b){var _0x17d174=_0x1f6ce8;const _0x3d4039=new j[(_0x17d174(0x14c))](0x1);return setTimeout(()=>_0x3d4039['next'](_0x23991b),_0x5eb200),_0x3d4039[_0x17d174(0x2bb)]()[_0x17d174(0x3f5)](j[_0x17d174(0x210)](0x1));}const Ii={'id':Z['EmptyMutation']['id'],'type':a[_0x1f6ce8(0x2dd)]['MUTATION'],'params':{}};var Ei=Object['getOwnPropertyDescriptor'],ce=(_0x443f2d,_0x2b0324,_0x1f942c,_0x2cad82)=>{var _0xd041ca=_0x1f6ce8;for(var _0x1afb68=_0x2cad82>0x1?void 0x0:_0x2cad82?Ei(_0x2b0324,_0x1f942c):_0x2b0324,_0x1d8d9a=_0x443f2d[_0xd041ca(0x398)]-0x1,_0xd11589;_0x1d8d9a>=0x0;_0x1d8d9a--)(_0xd11589=_0x443f2d[_0x1d8d9a])&&(_0x1afb68=_0xd11589(_0x1afb68)||_0x1afb68);return _0x1afb68;},w=(_0x2f2bc1,_0x18afe9)=>(_0x3f6098,_0x32c313)=>_0x18afe9(_0x3f6098,_0x32c313,_0x2f2bc1),Ve=(_0x8553bb=>(_0x8553bb['NOT_COLLAB']=_0x1f6ce8(0x306),_0x8553bb[_0x1f6ce8(0x1b1)]=_0x1f6ce8(0x244),_0x8553bb[_0x1f6ce8(0x2de)]=_0x1f6ce8(0xcb),_0x8553bb['AWAITING']=_0x1f6ce8(0x2da),_0x8553bb[_0x1f6ce8(0x3e0)]='awaiting_with_pending',_0x8553bb[_0x1f6ce8(0x1e3)]=_0x1f6ce8(0x152),_0x8553bb['CONFLICT']='conflict',_0x8553bb[_0x1f6ce8(0x13e)]=_0x1f6ce8(0x305),_0x8553bb))(Ve||{});const Nt=0xea60;class he{constructor(_0x304f82,_0x514c88,_0x598b02,_0xc13399,_0x59660e,_0x2df039,_0x23392c,_0x302b1c,_0x5c7851){var _0x5e2324=_0x1f6ce8;A(this,_0x5e2324(0x1bf),null),A(this,_0x5e2324(0x22b),[]),(this[_0x5e2324(0x17b)]=_0x304f82,this['type']=_0x514c88,this[_0x5e2324(0x3a4)]=_0x59660e,this[_0x5e2324(0x3a1)]=_0x2df039,this[_0x5e2324(0x101)]=_0x23392c,this[_0x5e2324(0x2fb)]=_0x302b1c,this['_localCacheService']=_0x5c7851,this[_0x5e2324(0x1bf)]=_0x598b02,this[_0x5e2324(0x22b)]=_0xc13399);}[_0x1f6ce8(0x27f)](_0x2367b3){var _0xe50e69=_0x1f6ce8;const _0x372ed6=this[_0xe50e69(0x2fb)][_0xe50e69(0x183)](this['unitID']);return _0x2367b3['revision']>_0x372ed6+0x1?(this[_0xe50e69(0x3a4)][_0xe50e69(0x16c)]({'from':_0x372ed6,'to':_0x2367b3['revision']-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x31fb7e){var _0xfc9207=_0x1f6ce8;this[_0xfc9207(0x101)]['transformUndoRedo'](this[_0xfc9207(0x17b)],_0x31fb7e);}[_0x1f6ce8(0x3d7)](_0x453fae){var _0x2993c1=_0x1f6ce8,_0xec3fb4,_0x5bf17c;(_0x5bf17c=(_0xec3fb4=this['_handler'])[_0x2993c1(0x3e4)])==null||_0x5bf17c['call'](_0xec3fb4,_0x453fae);}['_transformIMECache'](_0x396b1e){var _0x1a5a1f=_0x1f6ce8,_0x40b731,_0x51ca45;return(_0x51ca45=(_0x40b731=this[_0x1a5a1f(0x3a4)])['onTransformIME'])==null?void 0x0:_0x51ca45[_0x1a5a1f(0x2ac)](_0x40b731,_0x396b1e);}['_transformStateCache'](_0x55f1f5){var _0x3bbef8=_0x1f6ce8,_0x5022ac,_0x5b7507;return(_0x5b7507=(_0x5022ac=this[_0x3bbef8(0x3a4)])[_0x3bbef8(0xcf)])==null?void 0x0:_0x5b7507[_0x3bbef8(0x2ac)](_0x5022ac,_0x55f1f5);}[_0x1f6ce8(0x1e1)](_0x19af98){var _0x23b4b8=_0x1f6ce8,_0x56a9b8,_0x3ecd43,_0xf425e1;return(_0xf425e1=(_0x3ecd43=(_0x56a9b8=this[_0x23b4b8(0x3a4)])[_0x23b4b8(0x16b)])==null?void 0x0:_0x3ecd43['call'](_0x56a9b8,_0x19af98))!=null?_0xf425e1:_0x19af98;}[_0x1f6ce8(0xf6)](_0x418079){var _0xb6e5=_0x1f6ce8,_0x231aca,_0x288ee7,_0x15aa60;return(_0x15aa60=(_0x288ee7=(_0x231aca=this[_0xb6e5(0x3a4)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x288ee7['call'](_0x231aca,_0x418079))!=null?_0x15aa60:_0x418079;}[_0x1f6ce8(0x12d)](_0x4a0a82){var _0x9d0078=_0x1f6ce8,_0xfdb237,_0x17c921;if(this[_0x9d0078(0x29b)]===X[_0x9d0078(0x326)]){const {unitID:_0x518f24,mutations:_0x26b757,memberID:_0x4a55f0}=_0x4a0a82,_0x3bdbe4=_0x26b757[0x0][_0x9d0078(0x3f3)]['textRanges'];Array['isArray'](_0x3bdbe4)&&_0x3bdbe4[_0x9d0078(0x398)]>0x0&&((_0x17c921=(_0xfdb237=this[_0x9d0078(0x3a4)])[_0x9d0078(0x3fd)])==null||_0x17c921[_0x9d0078(0x2ac)](_0xfdb237,{'unitID':_0x518f24,'memberID':_0x4a55f0,'textRanges':_0x3bdbe4}));}}[_0x1f6ce8(0x186)](){var _0x6d923c=_0x1f6ce8,_0x442f7d;(_0x442f7d=this[_0x6d923c(0x39e)])==null||_0x442f7d[_0x6d923c(0x1d7)](this[_0x6d923c(0x17b)],this[_0x6d923c(0x29b)],this[_0x6d923c(0x1bf)],this[_0x6d923c(0x22b)]);}[_0x1f6ce8(0x236)](){var _0x1f41af=_0x1f6ce8;return this[_0x1f41af(0x2fb)]['getCurrentRevOfUnit'](this[_0x1f41af(0x17b)]);}['_incrementRevisionNumber'](){var _0x1be0f0=_0x1f6ce8;this[_0x1be0f0(0x2fb)][_0x1be0f0(0x2e0)](this[_0x1be0f0(0x17b)]);}[_0x1f6ce8(0x180)](_0x28ad45){var _0xa819e8=_0x1f6ce8,_0x53d3ab;let _0x29b877=this[_0xa819e8(0x1e1)](_0x28ad45);_0x29b877=this['_transformRemoteChangesetByStateCache'](_0x29b877);const _0xde5ae=a['sequenceExecute'](_0x29b877[_0xa819e8(0x2a1)],this['_commandService'],{'fromCollab':!0x0});if(!_0xde5ae[_0xa819e8(0x32f)])throw _0xde5ae[_0xa819e8(0x160)]instanceof Error?_0xde5ae[_0xa819e8(0x160)]:new Error((_0x53d3ab=_0xde5ae[_0xa819e8(0x160)])!=null?_0x53d3ab:_0xa819e8(0x174));this[_0xa819e8(0x242)](_0x29b877),this[_0xa819e8(0x3eb)](_0x29b877),this[_0xa819e8(0x2db)](_0x28ad45),this[_0xa819e8(0x3d7)](_0x29b877),this[_0xa819e8(0x12d)](_0x29b877),this['_incrementRevisionNumber']();}}exports[_0x1f6ce8(0x29d)]=class extends he{constructor(_0x2b1c4f,_0x75d371,_0x2654f1,_0x46ebe0,_0x3e7992,_0x3d3c44,_0x25fe47,_0x40585a,_0x3bf08f,_0x41014e){var _0x395d59=_0x1f6ce8;super(_0x2b1c4f,_0x75d371,null,[],_0x2654f1,_0x25fe47,_0x3d3c44,_0x46ebe0,_0x41014e),A(this,_0x395d59(0x2ed),_0x395d59(0x244)),(this[_0x395d59(0x154)]=_0x3e7992,this[_0x395d59(0x3c4)]=_0x40585a,this[_0x395d59(0x146)]=_0x3bf08f,this['localCacheService']=_0x41014e);}[_0x1f6ce8(0x21b)](_0x4a205e){var _0x3bfa84=_0x1f6ce8;const _0x1b4e59=this['_injector'][_0x3bfa84(0x182)](exports[_0x3bfa84(0x2b1)],this[_0x3bfa84(0x17b)],this[_0x3bfa84(0x29b)],[_0x4a205e],this[_0x3bfa84(0x3a4)]);return _0x1b4e59[_0x3bfa84(0x379)](),_0x1b4e59[_0x3bfa84(0x186)](),_0x1b4e59;}[_0x1f6ce8(0x159)](_0x56f270){var _0x3e1d45=_0x1f6ce8;if(this[_0x3e1d45(0x27f)](_0x56f270))return this[_0x3e1d45(0x154)][_0x3e1d45(0x182)](exports['FetchingMissState'],this[_0x3e1d45(0x17b)],this[_0x3e1d45(0x29b)],null,[],null,[_0x56f270],this[_0x3e1d45(0x3a4)]);try{const _0x48a9d9=this[_0x3e1d45(0x146)]['transformMutationsWithChangeset'](_0x56f270,[Ii]);if(g[_0x3e1d45(0xd9)](_0x48a9d9)){const {c1Prime:_0xef1b45}=_0x48a9d9;return this[_0x3e1d45(0x180)](_0xef1b45),this;}throw _0x48a9d9[_0x3e1d45(0x160)];}catch(_0x5d2f5d){return this[_0x3e1d45(0x3c4)][_0x3e1d45(0x160)](_0x5d2f5d),this[_0x3e1d45(0xb8)](!0x1);}}[_0x1f6ce8(0xb8)](_0x2e04e6){var _0x2a722f=_0x1f6ce8;return this[_0x2a722f(0x154)][_0x2a722f(0x182)](exports[_0x2a722f(0x198)],this[_0x2a722f(0x17b)],this[_0x2a722f(0x29b)],null,[],this[_0x2a722f(0x3a4)],_0x2e04e6);}[_0x1f6ce8(0x396)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x1f6ce8(0x304)](){var _0xcdac63=_0x1f6ce8;throw new Error(_0xcdac63(0x194));}[_0x1f6ce8(0xaf)](){return this;}['toggleOffline'](){var _0xd2670=_0x1f6ce8;return this[_0xd2670(0x154)][_0xd2670(0x182)](exports[_0xd2670(0x1a7)],this[_0xd2670(0x17b)],this[_0xd2670(0x29b)],null,[],this[_0xd2670(0x3a4)]);}[_0x1f6ce8(0x372)](){return this;}[_0x1f6ce8(0x106)](){var _0x3ab9c6=_0x1f6ce8;throw new Error(_0x3ab9c6(0x3fa));}[_0x1f6ce8(0x2c3)](){var _0x2e69a1=_0x1f6ce8;const _0x1368ee=this[_0x2e69a1(0x2fb)]['getCurrentRevOfUnit'](this[_0x2e69a1(0x17b)]);return this[_0x2e69a1(0x3a4)][_0x2e69a1(0x16c)]({'from':_0x1368ee,'to':0x0}),this[_0x2e69a1(0x154)][_0x2e69a1(0x182)](exports[_0x2e69a1(0x202)],this[_0x2e69a1(0x17b)],this['type'],null,[],null,[],this[_0x2e69a1(0x3a4)]);}},exports['SyncedState']=ce([w(0x3,a[_0x1f6ce8(0x339)](g[_0x1f6ce8(0x2c6)])),w(0x4,a[_0x1f6ce8(0x339)](a[_0x1f6ce8(0xcd)])),w(0x5,a['IUndoRedoService']),w(0x6,a[_0x1f6ce8(0x150)]),w(0x7,a['ILogService']),w(0x8,g['ITransformService']),w(0x9,a[_0x1f6ce8(0x2ce)](z))],exports[_0x1f6ce8(0x29d)]),exports[_0x1f6ce8(0x2b1)]=class extends he{constructor(_0x83e6db,_0x5adaaf,_0x2a9146,_0x1ceb78,_0x22dc01,_0xe157f5,_0x4a4313,_0x40eaaf,_0x378b0a,_0x47a081,_0x37e950,_0x9fd125,_0x1c8d62,_0x4d2baa){var _0x30cd56=_0x1f6ce8;super(_0x83e6db,_0x5adaaf,null,_0x2a9146,_0x1ceb78,_0x378b0a,_0x1c8d62,_0xe157f5,_0x4d2baa),A(this,_0x30cd56(0x2ed),'pending'),A(this,'_scheduleCompleteTimestamp',null),A(this,'_sendingTimer',null),(this[_0x30cd56(0x154)]=_0x22dc01,this[_0x30cd56(0x331)]=_0x4a4313,this[_0x30cd56(0x3c4)]=_0x40eaaf,this[_0x30cd56(0x291)]=_0x47a081,this[_0x30cd56(0x146)]=_0x37e950,this[_0x30cd56(0x33c)]=_0x9fd125);}[_0x1f6ce8(0x21b)](_0x12eabc){var _0xfe0791=_0x1f6ce8;return this[_0xfe0791(0x22b)]['push'](_0x12eabc),this[_0xfe0791(0x186)](),this;}[_0x1f6ce8(0x159)](_0x1e23c2){var _0xd01c48=_0x1f6ce8;if(this[_0xd01c48(0x27f)](_0x1e23c2))return this[_0xd01c48(0x20b)](),this[_0xd01c48(0x154)][_0xd01c48(0x182)](exports[_0xd01c48(0x202)],this['unitID'],this[_0xd01c48(0x29b)],null,this[_0xd01c48(0x22b)],null,[_0x1e23c2],this[_0xd01c48(0x3a4)]);try{const _0xc09845=this[_0xd01c48(0x146)][_0xd01c48(0xcc)](_0x1e23c2,this[_0xd01c48(0x22b)]);if(g[_0xd01c48(0xd9)](_0xc09845)){const {c1Prime:_0x17b91e,m2Prime:_0x22625f}=_0xc09845;this[_0xd01c48(0x180)](_0x17b91e);const _0x914459=this['_injector'][_0xd01c48(0x182)](exports[_0xd01c48(0x2b1)],this[_0xd01c48(0x17b)],this[_0xd01c48(0x29b)],_0x22625f,this[_0xd01c48(0x3a4)]);this['_clearScheduledTask']();const _0x5c37e4=new Date()['getTime'](),_0x40efe1=this[_0xd01c48(0x2a4)]?Math[_0xd01c48(0x190)](this[_0xd01c48(0x2a4)]-_0x5c37e4,0x0):this[_0xd01c48(0x2f9)]();return _0x914459[_0xd01c48(0x379)](_0x40efe1),_0x914459;}throw _0xc09845[_0xd01c48(0x160)];}catch(_0xeac956){return this[_0xd01c48(0x3c4)][_0xd01c48(0x160)](_0xeac956),this['_onConflict'](!0x1);}}[_0x1f6ce8(0x396)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x1f6ce8(0x304)](){var _0x40db74=_0x1f6ce8;throw new Error(_0x40db74(0x197));}['onRemoteRetry'](){return this;}[_0x1f6ce8(0x16d)](){var _0x253168=_0x1f6ce8;return this[_0x253168(0x20b)](),this[_0x253168(0x154)][_0x253168(0x182)](exports[_0x253168(0x1a7)],this[_0x253168(0x17b)],this[_0x253168(0x29b)],null,this[_0x253168(0x22b)],this[_0x253168(0x3a4)]);}[_0x1f6ce8(0x372)](){return this;}[_0x1f6ce8(0x379)](_0x31994a){var _0x9debb7=_0x1f6ce8;const _0x12280b=_0x31994a!=null?_0x31994a:this[_0x9debb7(0x2f9)]();this[_0x9debb7(0x2a4)]=new Date()[_0x9debb7(0x2ad)]()+_0x12280b,this['_sendingTimer']=setTimeout(()=>{var _0x2652ea=_0x9debb7;this[_0x2652ea(0x20b)]();let _0x4638c3=null;switch(this[_0x2652ea(0x29b)]){case X[_0x2652ea(0x3df)]:{_0x4638c3=ze(this[_0x2652ea(0x22b)],this[_0x2652ea(0x17b)],this[_0x2652ea(0x33c)],this[_0x2652ea(0x2fb)],this[_0x2652ea(0x331)]);break;}case X[_0x2652ea(0x326)]:{this[_0x2652ea(0x22b)][_0x2652ea(0x313)](_0x5e0f7c=>_0x5e0f7c['id']===ut[_0x2652ea(0x132)]['id'])?_0x4638c3=mi(this['_pendingMutations'],this[_0x2652ea(0x17b)],this['_univerInstanceService'],this['_revisionService'],this[_0x2652ea(0x331)]):_0x4638c3=ze(this['_pendingMutations'],this[_0x2652ea(0x17b)],this['_univerInstanceService'],this[_0x2652ea(0x2fb)],this[_0x2652ea(0x331)]);break;}default:throw new Error(_0x2652ea(0x38c)+this[_0x2652ea(0x29b)]+_0x2652ea(0x316));}const {changeset:_0x255474,pendingMutations:_0x2ffa15}=_0x4638c3;this[_0x2652ea(0x3a4)][_0x2652ea(0x377)](_0x255474);const _0x2f901d=_0x2ffa15['length']?this['_injector'][_0x2652ea(0x182)](exports[_0x2652ea(0x3fb)],this[_0x2652ea(0x17b)],this[_0x2652ea(0x29b)],_0x255474,_0x2ffa15,this['_handler'],void 0x0):this[_0x2652ea(0x154)][_0x2652ea(0x182)](exports[_0x2652ea(0xc9)],this[_0x2652ea(0x17b)],this[_0x2652ea(0x29b)],_0x255474,this[_0x2652ea(0x3a4)]);_0x2f901d[_0x2652ea(0x186)](),this['_handler']['onStateChange'](this,_0x2f901d);},_0x12280b);}[_0x1f6ce8(0x2f9)](){var _0x33a9b5;const _0x17e11c=this['_configService']['getConfig'](Y);return(_0x33a9b5=_0x17e11c==null?void 0x0:_0x17e11c['sendChangesetTimeout'])!=null?_0x33a9b5:jt;}[_0x1f6ce8(0x106)](){var _0x22e834=_0x1f6ce8;throw new Error(_0x22e834(0x24b));}[_0x1f6ce8(0x20b)](){var _0x285e14=_0x1f6ce8;this[_0x285e14(0x229)]!=null&&(clearTimeout(this[_0x285e14(0x229)]),this['_sendingTimer']=null);}[_0x1f6ce8(0xb8)](_0x17bf60){var _0x527c8f=_0x1f6ce8;return this[_0x527c8f(0x20b)](),this[_0x527c8f(0x154)][_0x527c8f(0x182)](exports[_0x527c8f(0x198)],this['unitID'],this[_0x527c8f(0x29b)],null,this['_pendingMutations'],this[_0x527c8f(0x3a4)],_0x17bf60);}},exports['PendingState']=ce([w(0x4,a[_0x1f6ce8(0x339)](a[_0x1f6ce8(0xcd)])),w(0x5,a[_0x1f6ce8(0x339)](g['RevisionService'])),w(0x6,a['Inject'](exports[_0x1f6ce8(0xbf)])),w(0x7,a[_0x1f6ce8(0x3e5)]),w(0x8,a[_0x1f6ce8(0x150)]),w(0x9,a[_0x1f6ce8(0x240)]),w(0xa,g[_0x1f6ce8(0x363)]),w(0xb,a[_0x1f6ce8(0x2cf)]),w(0xc,a['IUndoRedoService']),w(0xd,a[_0x1f6ce8(0x2ce)](z))],exports[_0x1f6ce8(0x2b1)]),exports[_0x1f6ce8(0xc9)]=class extends he{constructor(_0x1f2f95,_0x45a8c6,_0x190261,_0x261391,_0x171684,_0x481c6e,_0x173c07,_0x13e0a8,_0xdd866e,_0x184d11,_0xb931df){var _0x5db31c=_0x1f6ce8;super(_0x1f2f95,_0x45a8c6,_0x190261,[],_0x261391,_0x173c07,_0x184d11,_0x481c6e,_0xb931df),A(this,_0x5db31c(0x2ed),_0x5db31c(0x2da)),A(this,_0x5db31c(0x248),0x0),A(this,_0x5db31c(0x358)),A(this,_0x5db31c(0x167)),(this[_0x5db31c(0x154)]=_0x171684,this['_logService']=_0x13e0a8,this[_0x5db31c(0x146)]=_0xdd866e);}['appendMutation'](_0x5947d9){var _0x336f5c=_0x1f6ce8;this[_0x336f5c(0x20b)]();const _0x299ff0=this[_0x336f5c(0x154)]['createInstance'](exports[_0x336f5c(0x3fb)],this['unitID'],this[_0x336f5c(0x29b)],this[_0x336f5c(0x1bf)],[_0x5947d9],this[_0x336f5c(0x3a4)],this[_0x336f5c(0x358)]);return _0x299ff0['_updateLocalCache'](),_0x299ff0;}[_0x1f6ce8(0x159)](_0x4a5ad5){var _0x414478=_0x1f6ce8;if(this['_checkMissing'](_0x4a5ad5))return this[_0x414478(0x20b)](),this[_0x414478(0x154)][_0x414478(0x182)](exports[_0x414478(0x202)],this[_0x414478(0x17b)],this['type'],this['_awaitingChangeset'],[],null,[_0x4a5ad5],this[_0x414478(0x3a4)]);try{const _0x168abd=this[_0x414478(0x146)][_0x414478(0x3c1)]([_0x4a5ad5],[this[_0x414478(0x1bf)]],!0x1);if(g['isTransformChangesetsSuccess'](_0x168abd)){const {c1Prime:_0x5aeb2e,c2Prime:_0x2bede3}=_0x168abd;this[_0x414478(0x180)](_0x5aeb2e[0x0]),_0x2bede3[0x0]['baseRev']=this['_getCurrentRevision'](),this['_clearScheduledTask']();const _0x549f13=this[_0x414478(0x154)][_0x414478(0x182)](exports['AwaitingState'],this['unitID'],this[_0x414478(0x29b)],_0x2bede3[0x0],this['_handler']);return _0x549f13['_updateLocalCache'](),_0x549f13;}return this[_0x414478(0xb8)](!0x1);}catch(_0xc76e10){return this[_0x414478(0x3c4)]['error'](_0xc76e10),this[_0x414478(0xb8)](!0x1);}}[_0x1f6ce8(0x396)](_0x28b643){var _0x1bab59=_0x1f6ce8;this[_0x1bab59(0x20b)]();const _0x1ce5ed=this[_0x1bab59(0x2fb)][_0x1bab59(0x183)](this[_0x1bab59(0x17b)]);if(_0x28b643[_0x1bab59(0x2b5)]<_0x1ce5ed-0x1)return this;if(this[_0x1bab59(0x27f)](_0x28b643))return this[_0x1bab59(0x154)][_0x1bab59(0x182)](exports['FetchingMissState'],this[_0x1bab59(0x17b)],this[_0x1bab59(0x29b)],null,[],this['_awaitingChangeset'],[],this['_handler']);this[_0x1bab59(0x2f7)]();const _0x13a393=this[_0x1bab59(0x154)][_0x1bab59(0x182)](exports[_0x1bab59(0x29d)],this[_0x1bab59(0x17b)],this[_0x1bab59(0x29b)],this[_0x1bab59(0x3a4)]);return _0x13a393[_0x1bab59(0x186)](),_0x13a393;}['onRemoteRej'](_0x50385c){var _0x368dc1=_0x1f6ce8;return this[_0x368dc1(0xb8)](!!(_0x50385c!=null&&_0x50385c[_0x368dc1(0x3e2)]));}[_0x1f6ce8(0xaf)](_0x212fdd){var _0x1db466=_0x1f6ce8;return this[_0x1db466(0x248)]>Nt?this[_0x1db466(0x16d)]():(this['_resendTimer']=yt(this[_0x1db466(0x248)],{'timeout':this[_0x1db466(0x248)],'reqId':_0x212fdd['reqId']}),this[_0x1db466(0x167)]=this[_0x1db466(0x358)][_0x1db466(0x1e6)](({reqId:_0x53c7d7,timeout:_0x44458d})=>{var _0x498c6c=_0x1db466;this[_0x498c6c(0x284)](_0x53c7d7,_0x44458d);}),this);}[_0x1f6ce8(0x16d)](){var _0xcf2bc2=_0x1f6ce8;return this[_0xcf2bc2(0x20b)](),this[_0xcf2bc2(0x154)][_0xcf2bc2(0x182)](exports[_0xcf2bc2(0x1a7)],this[_0xcf2bc2(0x17b)],this['type'],this[_0xcf2bc2(0x1bf)],[],this[_0xcf2bc2(0x3a4)]);}['toggleOnline'](){return this;}[_0x1f6ce8(0x106)](){var _0x2e96b3=_0x1f6ce8;this[_0x2e96b3(0x3a4)]['onSendChangeset'](this[_0x2e96b3(0x1bf)]);}['_onConflict'](_0x4a0c7e){var _0x35aba6=_0x1f6ce8;return this[_0x35aba6(0x20b)](),this[_0x35aba6(0x154)]['createInstance'](exports[_0x35aba6(0x198)],this['unitID'],this[_0x35aba6(0x29b)],this[_0x35aba6(0x1bf)],[],this[_0x35aba6(0x3a4)],_0x4a0c7e);}[_0x1f6ce8(0x284)](_0x30b3dc,_0x103f25){var _0x24eb11=_0x1f6ce8,_0x1a4aa8;_0x30b3dc===((_0x1a4aa8=this[_0x24eb11(0x1bf)])==null?void 0x0:_0x1a4aa8['reqId'])&&(this[_0x24eb11(0x106)](),this[_0x24eb11(0x248)]=_0x103f25===0x0?0x3e8:_0x103f25*0x2);}[_0x1f6ce8(0x20b)](){var _0x290271=_0x1f6ce8,_0x34c75a;(_0x34c75a=this[_0x290271(0x167)])==null||_0x34c75a['unsubscribe'](),this['_resendTimeout']=0x0;}},exports[_0x1f6ce8(0xc9)]=ce([w(0x4,a[_0x1f6ce8(0x339)](a['Injector'])),w(0x5,a[_0x1f6ce8(0x339)](g['RevisionService'])),w(0x6,a[_0x1f6ce8(0x150)]),w(0x7,a[_0x1f6ce8(0x3e5)]),w(0x8,g[_0x1f6ce8(0x363)]),w(0x9,a[_0x1f6ce8(0x15c)]),w(0xa,a[_0x1f6ce8(0x2ce)](z))],exports['AwaitingState']),exports[_0x1f6ce8(0x3fb)]=class extends he{constructor(_0x24c6f8,_0x577527,_0x173583,_0x19cc0f,_0x32da25,_0x77f84f,_0xcf7843,_0x226f6f,_0x406c70,_0x116548,_0x100034,_0x19c1ac,_0x1e9170){var _0x5630db=_0x1f6ce8;super(_0x24c6f8,_0x577527,_0x173583,_0x19cc0f,_0x32da25,_0x406c70,_0x19c1ac,_0x226f6f,_0x1e9170),A(this,_0x5630db(0x2ed),'awaiting_with_pending'),A(this,'_resendTimeout',0x0),A(this,'_resendTimer'),A(this,_0x5630db(0x167)),(this['_injector']=_0xcf7843,this[_0x5630db(0x3c4)]=_0x116548,this[_0x5630db(0x146)]=_0x100034,this[_0x5630db(0x1ef)]=_0x1e9170,_0x77f84f&&(this[_0x5630db(0x358)]=_0x77f84f,this['_sender']=this[_0x5630db(0x358)][_0x5630db(0x1e6)](({reqId:_0xebc4e8,timeout:_0x2b3b23})=>{var _0x5f4227=_0x5630db;this[_0x5f4227(0x284)](_0xebc4e8,_0x2b3b23);})));}['appendMutation'](_0xbc9be1){var _0xb87ea5=_0x1f6ce8;return this[_0xb87ea5(0x22b)][_0xb87ea5(0x153)](_0xbc9be1),this;}[_0x1f6ce8(0x159)](_0x23779f){var _0x2dc4b3=_0x1f6ce8;if(this['_checkMissing'](_0x23779f))return this[_0x2dc4b3(0x20b)](),this['_injector']['createInstance'](exports[_0x2dc4b3(0x202)],this['unitID'],this['type'],this[_0x2dc4b3(0x1bf)],this[_0x2dc4b3(0x22b)],null,[_0x23779f],this[_0x2dc4b3(0x3a4)]);try{const _0x2d848d=this[_0x2dc4b3(0x146)]['transformChangesets']([_0x23779f],[this[_0x2dc4b3(0x1bf)]],!0x1);if(g[_0x2dc4b3(0x3c7)](_0x2d848d)){const {c1Prime:_0x3ffe8e,c2Prime:_0x360a56}=_0x2d848d,_0x568105=this[_0x2dc4b3(0x146)]['transformMutationsWithChangeset'](_0x3ffe8e[0x0],this['_pendingMutations']);if(g[_0x2dc4b3(0xd9)](_0x568105)){const {c1Prime:_0x2fd3cd,m2Prime:_0x54bfae}=_0x568105;return this[_0x2dc4b3(0x180)](_0x2fd3cd),_0x360a56[0x0][_0x2dc4b3(0x353)]=this['_getCurrentRevision'](),this[_0x2dc4b3(0x20b)](),this[_0x2dc4b3(0x154)][_0x2dc4b3(0x182)](exports[_0x2dc4b3(0x3fb)],this[_0x2dc4b3(0x17b)],this[_0x2dc4b3(0x29b)],_0x360a56[0x0],_0x54bfae,this[_0x2dc4b3(0x3a4)],void 0x0);}throw _0x568105[_0x2dc4b3(0x160)];}throw _0x2d848d[_0x2dc4b3(0x160)];}catch(_0x22fc93){return this[_0x2dc4b3(0x3c4)][_0x2dc4b3(0x160)](_0x22fc93),this[_0x2dc4b3(0xb8)](!0x1);}}[_0x1f6ce8(0x396)](_0x27c01d){var _0x4badc0=_0x1f6ce8;if(this['_clearScheduledTask'](),this[_0x4badc0(0x27f)](_0x27c01d))return this[_0x4badc0(0x154)][_0x4badc0(0x182)](exports['FetchingMissState'],this['unitID'],this[_0x4badc0(0x29b)],null,this[_0x4badc0(0x22b)],this['_awaitingChangeset'],[],this['_handler']);this[_0x4badc0(0x2f7)]();const _0x13ceff=this[_0x4badc0(0x154)][_0x4badc0(0x182)](exports[_0x4badc0(0x2b1)],this[_0x4badc0(0x17b)],this['type'],this[_0x4badc0(0x22b)],this[_0x4badc0(0x3a4)]);return _0x13ceff['_schedule'](),_0x13ceff[_0x4badc0(0x186)](),_0x13ceff;}[_0x1f6ce8(0x304)](_0x491a87){var _0xb1817a=_0x1f6ce8;return this[_0xb1817a(0xb8)](!!(_0x491a87!=null&&_0x491a87[_0xb1817a(0x3e2)]));}['onRemoteRetry'](_0x491895){var _0x318229=_0x1f6ce8;return this[_0x318229(0x248)]>Nt?this[_0x318229(0x16d)]():(this['_resendTimer']=yt(this['_resendTimeout'],{'timeout':this[_0x318229(0x248)],'reqId':_0x491895[_0x318229(0x266)]}),this['_sender']=this[_0x318229(0x358)][_0x318229(0x1e6)](({reqId:_0x1463c3,timeout:_0x2f140a})=>{var _0x1f1d56=_0x318229;this[_0x1f1d56(0x284)](_0x1463c3,_0x2f140a);}),this);}[_0x1f6ce8(0x16d)](){var _0x13be3c=_0x1f6ce8;return this['_clearScheduledTask'](),this[_0x13be3c(0x154)][_0x13be3c(0x182)](exports[_0x13be3c(0x1a7)],this[_0x13be3c(0x17b)],this['type'],this[_0x13be3c(0x1bf)],this[_0x13be3c(0x22b)],this['_handler']);}[_0x1f6ce8(0x372)](){return this;}['resend'](){var _0x8154d3=_0x1f6ce8;this[_0x8154d3(0x3a4)][_0x8154d3(0x377)](this[_0x8154d3(0x1bf)]);}[_0x1f6ce8(0xb8)](_0x2f9d03){var _0x4790c0=_0x1f6ce8;return this[_0x4790c0(0x20b)](),this[_0x4790c0(0x154)][_0x4790c0(0x182)](exports[_0x4790c0(0x198)],this[_0x4790c0(0x17b)],this[_0x4790c0(0x29b)],null,this[_0x4790c0(0x22b)],this[_0x4790c0(0x3a4)],_0x2f9d03);}[_0x1f6ce8(0x284)](_0x87ee6,_0x446526){var _0x17e773=_0x1f6ce8,_0x5f0d36;_0x87ee6===((_0x5f0d36=this[_0x17e773(0x1bf)])==null?void 0x0:_0x5f0d36[_0x17e773(0x266)])&&(this[_0x17e773(0x106)](),this['_resendTimeout']=_0x446526===0x0?0x3e8:_0x446526*0x2);}['_clearScheduledTask'](){var _0x46165f=_0x1f6ce8,_0x24446d;(_0x24446d=this[_0x46165f(0x167)])==null||_0x24446d[_0x46165f(0xf9)](),this[_0x46165f(0x248)]=0x0;}},exports[_0x1f6ce8(0x3fb)]=ce([w(0x6,a[_0x1f6ce8(0x339)](a[_0x1f6ce8(0xcd)])),w(0x7,a[_0x1f6ce8(0x339)](g[_0x1f6ce8(0x2c6)])),w(0x8,a[_0x1f6ce8(0x150)]),w(0x9,a[_0x1f6ce8(0x3e5)]),w(0xa,g[_0x1f6ce8(0x363)]),w(0xb,a[_0x1f6ce8(0x15c)]),w(0xc,a[_0x1f6ce8(0x2ce)](z))],exports[_0x1f6ce8(0x3fb)]),exports[_0x1f6ce8(0x198)]=class extends he{constructor(_0x1bd926,_0x19390f,_0x596272,_0x569bc2,_0x3677b1,_0x4bfe7f=!0x1,_0x499b06,_0x4e751b,_0x51aa4a,_0x2ebf63,_0x53042d,_0x562b4a,_0x5e11a9){var _0x5be4cd=_0x1f6ce8;super(_0x1bd926,_0x19390f,_0x596272,_0x569bc2,_0x3677b1,_0x4e751b,_0x51aa4a,_0x2ebf63,_0x5e11a9),A(this,_0x5be4cd(0x2ed),_0x5be4cd(0xfa)),(this[_0x5be4cd(0x2c4)]=_0x4bfe7f,this[_0x5be4cd(0x3d4)]=_0x499b06,this[_0x5be4cd(0x1ea)]=_0x53042d,this['_collaborationUIEventService']=_0x562b4a,this[_0x5be4cd(0x1ef)]=_0x5e11a9,this[_0x5be4cd(0x3de)](),this[_0x5be4cd(0x29a)](),this[_0x5be4cd(0x3ff)]());}[_0x1f6ce8(0x21b)](){return this;}[_0x1f6ce8(0x159)](){return this;}[_0x1f6ce8(0x396)](){return this;}[_0x1f6ce8(0x304)](){return this;}[_0x1f6ce8(0xaf)](){return this;}[_0x1f6ce8(0x16d)](){return this;}[_0x1f6ce8(0x372)](){return this;}[_0x1f6ce8(0x106)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x1f6ce8(0x29a)](){var _0xe65133=_0x1f6ce8,_0x100f36;(_0x100f36=this[_0xe65133(0x39e)])==null||_0x100f36[_0xe65133(0x1d7)](this['unitID'],this[_0xe65133(0x29b)],null,[]);}[_0x1f6ce8(0x3de)](){var _0x24a7ec=_0x1f6ce8;this['_isPermissionRej']?this[_0x24a7ec(0x246)][_0x24a7ec(0x98)]({'id':Q[_0x24a7ec(0x3cb)]}):this[_0x24a7ec(0x246)][_0x24a7ec(0x98)]({'id':Q['CONFLICT']});}[_0x1f6ce8(0x3ff)](){var _0x4c1ac1=_0x1f6ce8;this[_0x4c1ac1(0x3d4)]['updatePermissionPoint'](new Z[(_0x4c1ac1(0x3d8))](this['unitID'])['id'],!0x1);}},exports[_0x1f6ce8(0x198)]=ce([w(0x6,a[_0x1f6ce8(0x339)](a[_0x1f6ce8(0x39b)])),w(0x7,a[_0x1f6ce8(0x150)]),w(0x8,a[_0x1f6ce8(0x15c)]),w(0x9,a[_0x1f6ce8(0x339)](g[_0x1f6ce8(0x2c6)])),w(0xa,a[_0x1f6ce8(0x339)](a[_0x1f6ce8(0x225)])),w(0xb,a[_0x1f6ce8(0x339)](te)),w(0xc,a[_0x1f6ce8(0x2ce)](z))],exports[_0x1f6ce8(0x198)]),exports[_0x1f6ce8(0x1a7)]=class extends he{constructor(_0x5d6be8,_0x31fdeb,_0x49e751,_0x40dd17,_0x13b949,_0x4a347e,_0x15cffa,_0x487885,_0x42ce78,_0x3cf445){var _0x22ce7c=_0x1f6ce8;super(_0x5d6be8,_0x31fdeb,_0x49e751,_0x40dd17,_0x13b949,_0x487885,_0x42ce78,_0x15cffa,_0x3cf445),A(this,_0x22ce7c(0x2ed),_0x22ce7c(0x305)),this[_0x22ce7c(0x154)]=_0x4a347e;}[_0x1f6ce8(0x21b)](_0x219a69){var _0x541f14=_0x1f6ce8;return this[_0x541f14(0x22b)]['push'](_0x219a69),this[_0x541f14(0x186)](),this;}[_0x1f6ce8(0x159)](_0x662c39){var _0x1a485b=_0x1f6ce8;throw new Error(_0x1a485b(0x300));}[_0x1f6ce8(0x396)](){var _0x282b54=_0x1f6ce8;throw new Error(_0x282b54(0x335));}[_0x1f6ce8(0x304)](){var _0x86c9a9=_0x1f6ce8;throw new Error(_0x86c9a9(0x241));}[_0x1f6ce8(0xaf)](){return this;}[_0x1f6ce8(0x16d)](){return this;}[_0x1f6ce8(0x372)](){var _0x517219=_0x1f6ce8;const {_injector:_0x42fee5,_pendingMutations:_0x1365ff,_awaitingChangeset:_0x5d5461,unitID:_0x4d6f08,_handler:_0x3187a3,type:_0x5e79e7}=this,_0x191172=Dt(_0x42fee5,_0x4d6f08,_0x5e79e7,_0x5d5461,_0x1365ff,_0x3187a3);return _0x191172 instanceof exports['PendingState']?_0x191172[_0x517219(0x379)]():(_0x191172 instanceof exports[_0x517219(0x3fb)]||_0x191172 instanceof exports['AwaitingState'])&&_0x191172[_0x517219(0x106)](),_0x191172;}[_0x1f6ce8(0x106)](){var _0xf6948b=_0x1f6ce8;throw new Error(_0xf6948b(0x191));}},exports[_0x1f6ce8(0x1a7)]=ce([w(0x5,a[_0x1f6ce8(0x339)](a[_0x1f6ce8(0xcd)])),w(0x6,a[_0x1f6ce8(0x339)](g[_0x1f6ce8(0x2c6)])),w(0x7,a[_0x1f6ce8(0x150)]),w(0x8,a[_0x1f6ce8(0x15c)]),w(0x9,a[_0x1f6ce8(0x2ce)](z))],exports[_0x1f6ce8(0x1a7)]),exports[_0x1f6ce8(0x202)]=class extends he{constructor(_0x261e0a,_0x3bedf3,_0x6dd891,_0x1c7bd1,_0x132de1,_0x23b079,_0x238db5,_0x260dfa,_0x15bf4e,_0x18ef45,_0x378eb7,_0x6b4115,_0x4dbd3d,_0x35e0d9){var _0x7acc5f=_0x1f6ce8;super(_0x261e0a,_0x3bedf3,_0x6dd891,_0x1c7bd1,_0x238db5,_0x378eb7,_0x6b4115,_0x15bf4e,_0x35e0d9),A(this,_0x7acc5f(0x2ed),_0x7acc5f(0x152)),(this[_0x7acc5f(0x389)]=_0x132de1,this['_queuedRemoteChangesets']=_0x23b079,this['_injector']=_0x260dfa,this[_0x7acc5f(0x3c4)]=_0x18ef45,this['_transformService']=_0x4dbd3d,this[_0x7acc5f(0x1ef)]=_0x35e0d9);}[_0x1f6ce8(0x3ad)](_0x31375d){var _0x284d5a=_0x1f6ce8;try{const _0x1e9f71=[..._0x31375d,...this[_0x284d5a(0x1b0)]],_0x2ecf33=[this[_0x284d5a(0x1bf)]||this[_0x284d5a(0x389)]][_0x284d5a(0x322)](_0x5bf699=>!!_0x5bf699);let _0x295c4b,_0x496e1e;if(_0x2ecf33[_0x284d5a(0x398)]){const _0x456fea=this[_0x284d5a(0x146)][_0x284d5a(0x3c1)](_0x1e9f71,_0x2ecf33,!0x1);if(!g[_0x284d5a(0x3c7)](_0x456fea))throw _0x456fea[_0x284d5a(0x160)];_0x295c4b=_0x456fea['c1Prime'],_0x496e1e=_0x456fea[_0x284d5a(0x25b)];}else _0x295c4b=_0x1e9f71,_0x496e1e=[];let _0x31dbab=this[_0x284d5a(0x22b)];_0x295c4b[_0x284d5a(0x2f5)](_0xe46ab8=>{var _0x23e592=_0x284d5a;let _0xffabfb;if(_0x31dbab[_0x23e592(0x398)]){const _0x3b072e=this[_0x23e592(0x146)]['transformMutationsWithChangeset'](_0xe46ab8,_0x31dbab);if(!g['isTransformMutationsWithChangesetSuccess'](_0x3b072e))throw _0x3b072e[_0x23e592(0x160)];_0xffabfb=_0x3b072e[_0x23e592(0x34d)],_0x31dbab=_0x3b072e[_0x23e592(0x1f6)];}else _0xffabfb=_0xe46ab8;this['_executeRemoteChangeset'](_0xffabfb);}),this[_0x284d5a(0x389)]&&this[_0x284d5a(0x2f7)](),this[_0x284d5a(0x1bf)]&&_0x496e1e[_0x284d5a(0x398)]&&(_0x496e1e[0x0][_0x284d5a(0x353)]=this[_0x284d5a(0x236)]());let _0x5133f3;if(this[_0x284d5a(0x1bf)]&&_0x31dbab[_0x284d5a(0x398)]!==0x0)_0x5133f3=this['_injector'][_0x284d5a(0x182)](exports[_0x284d5a(0x3fb)],this[_0x284d5a(0x17b)],this[_0x284d5a(0x29b)],_0x496e1e[0x0],_0x31dbab,this['_handler'],void 0x0);else{if(this[_0x284d5a(0x1bf)]&&_0x31dbab[_0x284d5a(0x398)]===0x0)_0x496e1e[0x0][_0x284d5a(0x353)]=this[_0x284d5a(0x236)](),_0x5133f3=this[_0x284d5a(0x154)][_0x284d5a(0x182)](exports[_0x284d5a(0xc9)],this['unitID'],this[_0x284d5a(0x29b)],_0x496e1e[0x0],this[_0x284d5a(0x3a4)]);else{if(_0x31dbab[_0x284d5a(0x398)]!==0x0){const _0x1b2f58=this[_0x284d5a(0x154)][_0x284d5a(0x182)](exports[_0x284d5a(0x2b1)],this[_0x284d5a(0x17b)],this[_0x284d5a(0x29b)],_0x31dbab,this[_0x284d5a(0x3a4)]);_0x1b2f58['_schedule'](),_0x5133f3=_0x1b2f58;}else _0x5133f3=this['_injector']['createInstance'](exports[_0x284d5a(0x29d)],this[_0x284d5a(0x17b)],this[_0x284d5a(0x29b)],this[_0x284d5a(0x3a4)]);}}return _0x5133f3[_0x284d5a(0x186)](),_0x5133f3;}catch(_0x33559f){return this[_0x284d5a(0x3c4)][_0x284d5a(0x160)](_0x284d5a(0x95),_0x284d5a(0x2aa),_0x33559f),this[_0x284d5a(0x154)]['createInstance'](exports[_0x284d5a(0x198)],this[_0x284d5a(0x17b)],this['type'],this[_0x284d5a(0x1bf)],this['_pendingMutations'],this[_0x284d5a(0x3a4)],!0x1);}}[_0x1f6ce8(0x106)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x1f6ce8(0x21b)](_0x309d40){return this['_pendingMutations']['push'](_0x309d40),this;}[_0x1f6ce8(0x159)](_0x53979d){var _0x3db163=_0x1f6ce8;return this[_0x3db163(0x1b0)][_0x3db163(0x153)](_0x53979d),this;}[_0x1f6ce8(0x396)](_0x4429e4){var _0x2f893a=_0x1f6ce8;if(this[_0x2f893a(0x1bf)])return this['_acknowledgedAwaitingChangeset']=this[_0x2f893a(0x1bf)],this[_0x2f893a(0x1bf)]=null,this;throw new Error(_0x2f893a(0x274));}['onRemoteRej'](_0x12818e){var _0xd4f10a=_0x1f6ce8;return this[_0xd4f10a(0xb8)](!!(_0x12818e!=null&&_0x12818e['isPermissionRej']));}[_0x1f6ce8(0xaf)](){return this;}[_0x1f6ce8(0x16d)](){var _0x36ab18=_0x1f6ce8;return this[_0x36ab18(0x154)][_0x36ab18(0x182)](exports['OfflineState'],this['unitID'],this[_0x36ab18(0x29b)],this[_0x36ab18(0x1bf)],this[_0x36ab18(0x22b)],this['_handler']);}[_0x1f6ce8(0x372)](){return this;}[_0x1f6ce8(0xb8)](_0x48d4d3){var _0x296715=_0x1f6ce8;return this[_0x296715(0x154)]['createInstance'](exports[_0x296715(0x198)],this[_0x296715(0x17b)],this[_0x296715(0x29b)],this['_awaitingChangeset'],this[_0x296715(0x22b)],this[_0x296715(0x3a4)],_0x48d4d3);}},exports[_0x1f6ce8(0x202)]=ce([w(0x7,a[_0x1f6ce8(0x339)](a[_0x1f6ce8(0xcd)])),w(0x8,a[_0x1f6ce8(0x339)](g[_0x1f6ce8(0x2c6)])),w(0x9,a['ILogService']),w(0xa,a[_0x1f6ce8(0x150)]),w(0xb,a[_0x1f6ce8(0x15c)]),w(0xc,g[_0x1f6ce8(0x363)]),w(0xd,a[_0x1f6ce8(0x2ce)](z))],exports[_0x1f6ce8(0x202)]);function Dt(_0x359102,_0xba073,_0x242f70,_0x2d5216,_0x12a998,_0x47410d){var _0x17eca9=_0x1f6ce8;return _0x2d5216&&_0x12a998[_0x17eca9(0x398)]?_0x359102[_0x17eca9(0x182)](exports[_0x17eca9(0x3fb)],_0xba073,_0x242f70,_0x2d5216,_0x12a998,_0x47410d,void 0x0):_0x2d5216?_0x359102[_0x17eca9(0x182)](exports[_0x17eca9(0xc9)],_0xba073,_0x242f70,_0x2d5216,_0x47410d):_0x12a998['length']?_0x359102[_0x17eca9(0x182)](exports[_0x17eca9(0x2b1)],_0xba073,_0x242f70,_0x12a998,_0x47410d):_0x359102[_0x17eca9(0x182)](exports[_0x17eca9(0x29d)],_0xba073,_0x242f70,_0x47410d);}var Ci=Object[_0x1f6ce8(0xac)],We=(_0x36df3d,_0x422a8d,_0xb83618,_0x1bbe81)=>{var _0x154399=_0x1f6ce8;for(var _0x2ff2f2=_0x1bbe81>0x1?void 0x0:_0x1bbe81?Ci(_0x422a8d,_0xb83618):_0x422a8d,_0x44e103=_0x36df3d[_0x154399(0x398)]-0x1,_0x1396ac;_0x44e103>=0x0;_0x44e103--)(_0x1396ac=_0x36df3d[_0x44e103])&&(_0x2ff2f2=_0x1396ac(_0x2ff2f2)||_0x2ff2f2);return _0x2ff2f2;},$=(_0x218a52,_0x3d043f)=>(_0x4bd27f,_0x3ead72)=>_0x3d043f(_0x4bd27f,_0x3ead72,_0x218a52);exports[_0x1f6ce8(0x297)]=class extends a[_0x1f6ce8(0x2ca)]{constructor(_0x472d6e,_0x11776a,_0x56403c,_0xce5bb4,_0x2dcce9,_0x25539a,_0x51bec3,_0x51b9d2,_0x2876a0,_0x126b4c,_0x30f129,_0x53e9cb,_0x3acfb7){var _0x2ec407=_0x1f6ce8;super(),A(this,_0x2ec407(0x161),new j[(_0x2ec407(0x1ed))](null)),A(this,_0x2ec407(0x2ab),this[_0x2ec407(0x161)][_0x2ec407(0x2bb)]()),A(this,_0x2ec407(0x2d1)),A(this,_0x2ec407(0x137),!0x1),A(this,'_changesetSessionId',''),A(this,'_changesetReqId',0x0),A(this,_0x2ec407(0x38a),this[_0x2ec407(0x2ab)][_0x2ec407(0x3f5)](j[_0x2ec407(0x173)](_0x3121e5=>_0x3121e5?_0x3121e5['status']:Ve['OFFLINE']),j[_0x2ec407(0x1f2)](0x1))),A(this,_0x2ec407(0x31d),!0x1),A(this,_0x2ec407(0x142),[]),(this[_0x2ec407(0x17b)]=_0x472d6e,this[_0x2ec407(0x12f)]=_0x11776a,this[_0x2ec407(0xce)]=_0x56403c,this[_0x2ec407(0x154)]=_0xce5bb4,this[_0x2ec407(0x345)]=_0x2dcce9,this[_0x2ec407(0x1ea)]=_0x25539a,this['_revisionService']=_0x51bec3,this['_eventService']=_0x51b9d2,this['_logService']=_0x2876a0,this[_0x2ec407(0x3a1)]=_0x126b4c,this[_0x2ec407(0x3d4)]=_0x30f129,this[_0x2ec407(0xab)]=_0x53e9cb,this[_0x2ec407(0x39e)]=_0x3acfb7);}get[_0x1f6ce8(0x1be)](){var _0x3647ea=_0x1f6ce8;return this[_0x3647ea(0x2d1)];}async[_0x1f6ce8(0x2d2)](){var _0x2bf726=_0x1f6ce8;if(this['state'])throw new Error(_0x2bf726(0x19a));await this[_0x2bf726(0x2eb)]();}[_0x1f6ce8(0x87)](){var _0x5b7ab2=_0x1f6ce8;return this['_collaborationPaused']=!0x0,a[_0x5b7ab2(0x36f)](()=>{var _0x2423f3=_0x5b7ab2;this[_0x2423f3(0x137)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x1f6ce8(0x296)](_0x46ebb0){this['_onLocalMutation'](_0x46ebb0);}['_updateState'](_0x36e0cd){var _0x504437=_0x1f6ce8;this['_state']=_0x36e0cd,this[_0x504437(0x161)][_0x504437(0x100)](_0x36e0cd);}async[_0x1f6ce8(0x2eb)](){var _0x2a63d9=_0x1f6ce8,_0xe7ea96;this[_0x2a63d9(0x2a8)](await this[_0x2a63d9(0x1a6)]()),this['_singleActiveUnitService']&&((_0xe7ea96=this[_0x2a63d9(0xab)])==null||_0xe7ea96['editingUnit'](this[_0x2a63d9(0x17b)]),this['disposeWithMe'](this[_0x2a63d9(0xab)][_0x2a63d9(0x346)](this['unitID'])['subscribe'](_0x50d451=>{var _0x5b38a2=_0x2a63d9;this[_0x5b38a2(0x3c4)][_0x5b38a2(0x3ca)](_0x5b38a2(0x1c3),_0x5b38a2(0x30e),_0x50d451),_0x50d451===Fe[_0x5b38a2(0x29f)]?(this[_0x5b38a2(0x1da)][_0x5b38a2(0x98)]({'id':Q[_0x5b38a2(0x250)]}),this['_permissionService'][_0x5b38a2(0x391)](new Z[(_0x5b38a2(0x3d8))](this[_0x5b38a2(0x17b)])['id'],!0x1),this['_permissionService'][_0x5b38a2(0x31a)](!0x1)):(this[_0x5b38a2(0x3d4)][_0x5b38a2(0x391)](new Z['WorkbookEditablePermission'](this[_0x5b38a2(0x17b)])['id'],!0x0),this[_0x5b38a2(0x3d4)]['setShowComponents'](!0x0));})));let _0x231ce3=!0x1;return this[_0x2a63d9(0x382)](this[_0x2a63d9(0x12f)][_0x2a63d9(0x2e9)]['subscribe'](_0x3728dc=>{var _0x55d5ba=_0x2a63d9;_0x3728dc===se['ONLINE']?this['_toggleOnline'](_0x231ce3):_0x3728dc===se[_0x55d5ba(0x13e)]&&(_0x231ce3=!0x0,this[_0x55d5ba(0x1df)]());})),this[_0x2a63d9(0x382)](this[_0x2a63d9(0x12f)]['event$'][_0x2a63d9(0x1e6)](_0x142c67=>{var _0x5a280e=_0x2a63d9;try{switch(_0x142c67[_0x5a280e(0x178)]){case g[_0x5a280e(0x3d5)][_0x5a280e(0x3e3)]:{this['_onRemoteChangeset'](g[_0x5a280e(0x110)](_0x142c67[_0x5a280e(0x1cf)]));break;}case g[_0x5a280e(0x3d5)][_0x5a280e(0x255)]:{this['_onRemoteACK'](_0x142c67['data']);break;}case g[_0x5a280e(0x3d5)]['CHANGESET_REJ']:{this[_0x5a280e(0x2b4)]();break;}case g[_0x5a280e(0x3d5)]['CHANGESET_SHOULD_RETRY']:{this['_onRemoteRetry'](_0x142c67[_0x5a280e(0x1cf)]);break;}case g[_0x5a280e(0x3d5)][_0x5a280e(0x1a2)]:{this['_onFetchMissResult'](_0x142c67[_0x5a280e(0x1cf)]['changesets'][_0x5a280e(0x173)](_0x58745e=>g[_0x5a280e(0x110)](_0x58745e)));break;}case g['CollaborationEvent']['PERMISSION_REJ']:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case g[_0x5a280e(0x3d5)][_0x5a280e(0x1a8)]:break;}}catch(_0x5dec2a){throw console[_0x5a280e(0x160)](_0x5a280e(0x139),_0x5dec2a),_0x5dec2a;}})),this[_0x2a63d9(0x2d1)];}['_unlockTransition'](){var _0x2df4fd=_0x1f6ce8;this[_0x2df4fd(0x31d)]=!0x1;}[_0x1f6ce8(0x13d)](){var _0x32de4d=_0x1f6ce8;if(this[_0x32de4d(0x31d)])throw new Error(_0x32de4d(0x3fe));this[_0x32de4d(0x31d)]=!0x0;}[_0x1f6ce8(0x3e6)](_0x88733e){var _0x1f13ad=_0x1f6ce8;this['_lockTransition'](),this[_0x1f13ad(0x2a8)](this['_state'][_0x1f13ad(0x21b)](_0x88733e)),this[_0x1f13ad(0x1c1)]();}[_0x1f6ce8(0x28f)](_0x47c071){var _0x48f389=_0x1f6ce8;if(!(_0x47c071['revision']<=this[_0x48f389(0x2fb)][_0x48f389(0x183)](this['unitID']))){if(this['_collaborationPaused']){this[_0x48f389(0x142)][_0x48f389(0x153)](_0x47c071);return;}this['_applyRemoteChangeset'](_0x47c071);}}[_0x1f6ce8(0xe7)](){var _0x22d7a1=_0x1f6ce8;this[_0x22d7a1(0x142)][_0x22d7a1(0x2f5)](_0x13fed5=>this['_applyRemoteChangeset'](_0x13fed5)),this['_remoteChangesetQueue']=[];}[_0x1f6ce8(0x253)](_0x63651d){var _0x52909d=_0x1f6ce8;const _0xf3e49b=this[_0x52909d(0x345)][_0x52909d(0x3e1)][_0x52909d(0x287)](this[_0x52909d(0x345)][_0x52909d(0x3e1)]['getInterceptPoints']()[_0x52909d(0x1b6)])(_0x63651d[_0x52909d(0x2a1)],null)||_0x63651d['mutations'],_0x5317b1={..._0x63651d,'mutations':_0xf3e49b};this[_0x52909d(0x13d)](),this[_0x52909d(0x2a8)](this[_0x52909d(0x2d1)][_0x52909d(0x159)](_0x5317b1)),this[_0x52909d(0x1c1)]();}[_0x1f6ce8(0x361)](_0x165234){var _0xa89d27=_0x1f6ce8;this[_0xa89d27(0x13d)](),this[_0xa89d27(0x2a8)](this[_0xa89d27(0x2d1)][_0xa89d27(0x396)](_0x165234)),this['_unlockTransition']();}['_onRemoteRejected'](_0x4b2c55){var _0x249af2=_0x1f6ce8;this['_lockTransition'](),this[_0x249af2(0x2a8)](this[_0x249af2(0x2d1)][_0x249af2(0x304)](_0x4b2c55)),this['_unlockTransition']();}[_0x1f6ce8(0x1ad)](_0x50e519){var _0x3f7fb6=_0x1f6ce8;this[_0x3f7fb6(0x13d)](),this[_0x3f7fb6(0x2a8)](this[_0x3f7fb6(0x2d1)][_0x3f7fb6(0xaf)](_0x50e519)),this['_unlockTransition']();}['_onFetchMissResult'](_0x3ed6d3){var _0x1272a1=_0x1f6ce8;if(!(this[_0x1272a1(0x2d1)]instanceof exports[_0x1272a1(0x202)]))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x2e3429=_0x3ed6d3[_0x1272a1(0x173)](_0x12ba9e=>{var _0x4e686f=_0x1272a1;const _0x118055=this[_0x4e686f(0x345)][_0x4e686f(0x3e1)]['fetchThroughInterceptors'](this[_0x4e686f(0x345)]['interceptor'][_0x4e686f(0x9f)]()[_0x4e686f(0x1b6)])(_0x12ba9e[_0x4e686f(0x2a1)],null)||_0x12ba9e[_0x4e686f(0x2a1)];return{..._0x12ba9e,'mutations':_0x118055};});this[_0x1272a1(0x13d)](),this[_0x1272a1(0x2a8)](this['_state'][_0x1272a1(0x3ad)](_0x2e3429)),this[_0x1272a1(0x1c1)]();}['_toggleOffline'](){var _0x58bbf6=_0x1f6ce8;this[_0x58bbf6(0x13d)](),this[_0x58bbf6(0x2a8)](this[_0x58bbf6(0x2d1)]['toggleOffline']()),this['_unlockTransition']();}[_0x1f6ce8(0x355)](_0x760cc4=!0x1){var _0x2216b3=_0x1f6ce8;this[_0x2216b3(0x13d)](),this['_updateState'](this[_0x2216b3(0x2d1)]['toggleOnline']()),this[_0x2216b3(0x1c1)]();const _0x3ae8bd=this[_0x2216b3(0x2d1)];_0x760cc4&&_0x3ae8bd instanceof exports[_0x2216b3(0x29d)]&&(this[_0x2216b3(0x13d)](),this[_0x2216b3(0x2a8)](_0x3ae8bd[_0x2216b3(0x2c3)]()),this[_0x2216b3(0x1c1)]());}async[_0x1f6ce8(0x1a6)](){return new Promise(_0x4d1356=>{var _0x59b368=_0x17b6;this[_0x59b368(0x12f)][_0x59b368(0x2e9)]['pipe'](j[_0x59b368(0x210)](0x1))[_0x59b368(0x1e6)](async _0x2a6551=>{var _0x57f8a=_0x59b368;_0x4d1356(await this[_0x57f8a(0x292)](_0x2a6551===se[_0x57f8a(0x312)]));});});}['_createHandler'](){var _0x1eab75=_0x1f6ce8;const _0x23cabf=this[_0x1eab75(0x17b)];return{'onStateChange':(_0xb02a63,_0x567737)=>{var _0x4e1e8f=_0x1eab75;if(_0xb02a63!==this['_state'])throw new Error(_0x4e1e8f(0x1a0)+_0xb02a63['status']+'\x0aAfter:\x20'+_0x567737[_0x4e1e8f(0x2ed)]+'\x0aCurrent:\x20'+this[_0x4e1e8f(0x2d1)][_0x4e1e8f(0x2ed)]);this['_updateState'](_0x567737);},'onSendChangeset':_0x155e7b=>{var _0x2a7aeb=_0x1eab75;_0x155e7b['sid']||(_0x155e7b[_0x2a7aeb(0x212)]=this[_0x2a7aeb(0x3c2)],_0x155e7b[_0x2a7aeb(0x266)]=++this['_changesetReqId']);const _0x295f8e={'eventID':g[_0x2a7aeb(0x3d5)][_0x2a7aeb(0xc6)],'data':{'unitID':_0x155e7b[_0x2a7aeb(0x17b)],'unitType':this[_0x2a7aeb(0xce)],'changeset':_0x155e7b,'memberID':this[_0x2a7aeb(0x12f)][_0x2a7aeb(0x1e7)]()}};this[_0x2a7aeb(0x12f)][_0x2a7aeb(0xba)](_0x295f8e,this[_0x2a7aeb(0x17b)]);},'onMissingChangesets':({from:_0x268936,to:_0x4cab61})=>{var _0x381f2e=_0x1eab75;this[_0x381f2e(0x3c4)][_0x381f2e(0x3ca)](_0x381f2e(0x1c3),_0x381f2e(0x3af)+_0x268936+_0x381f2e(0x10e)+_0x4cab61);const _0x2896c1={'eventID':g['CollaborationEvent'][_0x381f2e(0x3be)],'data':{'unitID':_0x23cabf,'unitType':this[_0x381f2e(0xce)],'from':_0x268936,'to':_0x4cab61}};this[_0x381f2e(0x12f)][_0x381f2e(0xba)](_0x2896c1,this[_0x381f2e(0x17b)]);}};}async['_createInitialStateImpl'](_0x43f796){var _0x5d9b57=_0x1f6ce8,_0x32d69b,_0x5431b5,_0x425504;const _0x922a1d=await((_0x32d69b=this['_localCacheService'])==null?void 0x0:_0x32d69b[_0x5d9b57(0x28b)](this['unitID'])),_0x24ec9d=(_0x5431b5=_0x922a1d==null?void 0x0:_0x922a1d[_0x5d9b57(0x2a1)])!=null?_0x5431b5:[],_0x25dc46=(_0x425504=_0x922a1d==null?void 0x0:_0x922a1d[_0x5d9b57(0x22a)])!=null?_0x425504:null,_0x3d51b0=!!(_0x25dc46!=null&&_0x25dc46[_0x5d9b57(0x212)])&&!!(_0x25dc46!=null&&_0x25dc46['reqId']);this['_changesetSessionId']=_0x3d51b0?_0x25dc46[_0x5d9b57(0x212)]:di(),this[_0x5d9b57(0x3b8)]=_0x3d51b0?_0x25dc46['reqId']:0x0;const _0x1c2b4a=this[_0x5d9b57(0x17b)];try{this[_0x5d9b57(0x2f4)](_0x25dc46,_0x24ec9d);}catch(_0x387786){this[_0x5d9b57(0x3c4)][_0x5d9b57(0x160)](_0x387786);}const _0x5c244e=this[_0x5d9b57(0x380)]();if(_0x43f796){const _0x4289a4=Dt(this[_0x5d9b57(0x154)],_0x1c2b4a,this[_0x5d9b57(0xce)],_0x25dc46,_0x24ec9d,_0x5c244e);return _0x4289a4 instanceof exports['PendingState']?_0x4289a4[_0x5d9b57(0x379)]():(_0x4289a4 instanceof exports[_0x5d9b57(0x3fb)]||_0x4289a4 instanceof exports[_0x5d9b57(0xc9)])&&_0x4289a4[_0x5d9b57(0x106)](),_0x4289a4;}return this['_injector'][_0x5d9b57(0x182)](exports['OfflineState'],_0x1c2b4a,this[_0x5d9b57(0xce)],_0x25dc46,_0x24ec9d,_0x5c244e);}[_0x1f6ce8(0x2f4)](_0x2c29f8,_0x4bfd95){var _0x148492=_0x1f6ce8,_0x44349b,_0x3071a6;const _0x557756=this[_0x148492(0x345)][_0x148492(0x3e1)]['fetchThroughInterceptors'](this['_compressMutationService']['interceptor']['getInterceptPoints']()['COMPRESS_MUTATION_APPLY']);(_0x44349b=_0x557756((_0x2c29f8==null?void 0x0:_0x2c29f8['mutations'])||[],null))==null||_0x44349b[_0x148492(0x2f5)](_0x4f9a6=>this[_0x148492(0x3a1)][_0x148492(0xae)](_0x4f9a6['id'],_0x4f9a6[_0x148492(0x3f3)])),(_0x3071a6=_0x557756(_0x4bfd95||[],null))==null||_0x3071a6[_0x148492(0x2f5)](_0x53b899=>this[_0x148492(0x3a1)]['executeCommand'](_0x53b899['id'],_0x53b899[_0x148492(0x3f3)]));}},exports[_0x1f6ce8(0x297)]=We([$(0x3,a['Inject'](a['Injector'])),$(0x4,a['Inject'](g[_0x1f6ce8(0x17a)])),$(0x5,a['Inject'](a[_0x1f6ce8(0x225)])),$(0x6,a[_0x1f6ce8(0x339)](g[_0x1f6ce8(0x2c6)])),$(0x7,a[_0x1f6ce8(0x339)](te)),$(0x8,a[_0x1f6ce8(0x3e5)]),$(0x9,a[_0x1f6ce8(0x150)]),$(0xa,a[_0x1f6ce8(0x39b)]),$(0xb,a['Optional'](ve)),$(0xc,a[_0x1f6ce8(0x2ce)](z))],exports[_0x1f6ce8(0x297)]),exports[_0x1f6ce8(0xc8)]=class extends exports[_0x1f6ce8(0x297)]{constructor(_0x3fed34,_0x4a3347,_0x292a89,_0x3ed720,_0x9e2cdf,_0x3c0244,_0x15328c,_0x12653e,_0x1549c6,_0x5e3d2e,_0x43a0c1,_0x5c9838,_0x228a8a){var _0x48cebd=_0x1f6ce8;super(_0x3fed34,_0x292a89,_0x4a3347,_0x3ed720,_0x9e2cdf,_0x3c0244,_0x15328c,_0x12653e,_0x1549c6,_0x5e3d2e,_0x43a0c1,_0x5c9838,_0x228a8a),A(this,'_handlerCallback',null),(this[_0x48cebd(0x17b)]=_0x3fed34,this['type']=_0x4a3347);}['addHandlerCallback'](_0x32bc12){var _0xc5ec3=_0x1f6ce8;this[_0xc5ec3(0x1dc)]=_0x32bc12;}[_0x1f6ce8(0x29e)](){var _0x458d74=_0x1f6ce8;this[_0x458d74(0x1dc)]=null,super[_0x458d74(0x29e)]();}[_0x1f6ce8(0x380)](){var _0x16b972=_0x1f6ce8;const _0x5c6d06=super[_0x16b972(0x380)]();return _0x5c6d06[_0x16b972(0x21d)]=_0x3ab8fb=>{var _0x4cf658=_0x16b972,_0x2d723b,_0x2be09f;return(_0x2be09f=(_0x2d723b=this[_0x4cf658(0x1dc)])==null?void 0x0:_0x2d723b[_0x4cf658(0x21d)])==null?void 0x0:_0x2be09f[_0x4cf658(0x2ac)](_0x2d723b,_0x3ab8fb);},_0x5c6d06[_0x16b972(0xcf)]=_0x283d04=>{var _0x442e9d=_0x16b972,_0x51ced5,_0x1086a4;return(_0x1086a4=(_0x51ced5=this[_0x442e9d(0x1dc)])==null?void 0x0:_0x51ced5[_0x442e9d(0xcf)])==null?void 0x0:_0x1086a4['call'](_0x51ced5,_0x283d04);},_0x5c6d06[_0x16b972(0x3e4)]=_0x40f5bd=>{var _0x4bc73b=_0x16b972,_0x5ac9da,_0x547c33;return(_0x547c33=(_0x5ac9da=this['_handlerCallback'])==null?void 0x0:_0x5ac9da['onTransformSelections'])==null?void 0x0:_0x547c33[_0x4bc73b(0x2ac)](_0x5ac9da,_0x40f5bd);},_0x5c6d06[_0x16b972(0x3fd)]=_0x1e0ec8=>{var _0x2f04af=_0x16b972,_0x231ca0,_0x2861a7;return(_0x2861a7=(_0x231ca0=this['_handlerCallback'])==null?void 0x0:_0x231ca0[_0x2f04af(0x3fd)])==null?void 0x0:_0x2861a7[_0x2f04af(0x2ac)](_0x231ca0,_0x1e0ec8);},_0x5c6d06[_0x16b972(0x16b)]=_0x804656=>{var _0x3ec077=_0x16b972,_0x4fc3a7,_0x537ed2,_0x586c96;if(!((_0x4fc3a7=this[_0x3ec077(0x1dc)])!=null&&_0x4fc3a7['onTransformRemoteChangesetByIMECache']))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x586c96=(_0x537ed2=this['_handlerCallback'])==null?void 0x0:_0x537ed2[_0x3ec077(0x16b)])==null?void 0x0:_0x586c96[_0x3ec077(0x2ac)](_0x537ed2,_0x804656);},_0x5c6d06[_0x16b972(0x247)]=_0x1487dc=>{var _0x4aa9a0=_0x16b972,_0x492b4f,_0x13ba1c,_0x47733e;if(!((_0x492b4f=this['_handlerCallback'])!=null&&_0x492b4f[_0x4aa9a0(0x247)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x47733e=(_0x13ba1c=this[_0x4aa9a0(0x1dc)])==null?void 0x0:_0x13ba1c['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x47733e[_0x4aa9a0(0x2ac)](_0x13ba1c,_0x1487dc);},_0x5c6d06;}async[_0x1f6ce8(0x2eb)](){var _0x49a838=_0x1f6ce8;const _0x229905=await super[_0x49a838(0x2eb)]();return this['disposeWithMe'](this[_0x49a838(0x3a1)][_0x49a838(0x2e6)]((_0x3a724d,_0x5df09a)=>{var _0x5885f0=_0x49a838;if(_0x3a724d[_0x5885f0(0x29b)]!==a[_0x5885f0(0x2dd)]['MUTATION']||_0x5df09a!=null&&_0x5df09a[_0x5885f0(0x1d8)]||_0x5df09a!=null&&_0x5df09a[_0x5885f0(0x295)]||_0x3a724d['id']===ut[_0x5885f0(0x132)]['id'])return;const _0xe9354a=_0x3a724d[_0x5885f0(0x3f3)];if((_0xe9354a==null?void 0x0:_0xe9354a[_0x5885f0(0x3ba)])!==this[_0x5885f0(0x17b)])return;const _0x3cc260=_0x3a724d,_0x322c06=this[_0x5885f0(0x345)][_0x5885f0(0x3e1)][_0x5885f0(0x287)](this['_compressMutationService'][_0x5885f0(0x3e1)][_0x5885f0(0x9f)]()[_0x5885f0(0x11e)])([_0x3cc260],null)||[_0x3cc260];this[_0x5885f0(0x3e6)](_0x322c06[0x0]);})),_0x229905;}},exports[_0x1f6ce8(0xc8)]=We([$(0x3,a[_0x1f6ce8(0x339)](a[_0x1f6ce8(0xcd)])),$(0x4,a[_0x1f6ce8(0x339)](g[_0x1f6ce8(0x17a)])),$(0x5,a[_0x1f6ce8(0x339)](a[_0x1f6ce8(0x225)])),$(0x6,a['Inject'](g[_0x1f6ce8(0x2c6)])),$(0x7,a['Inject'](te)),$(0x8,a[_0x1f6ce8(0x3e5)]),$(0x9,a['ICommandService']),$(0xa,a[_0x1f6ce8(0x39b)]),$(0xb,a[_0x1f6ce8(0x2ce)](ve)),$(0xc,a[_0x1f6ce8(0x2ce)](z))],exports[_0x1f6ce8(0xc8)]),exports['SheetCollaborationEntity']=class extends exports[_0x1f6ce8(0x297)]{constructor(_0x3b84e9,_0x3f91cd,_0x53eca3,_0x5ca80a,_0x193cbf,_0x2ac7ad,_0x2975d8,_0x56f529,_0x43ffea,_0x547222,_0x2d6375,_0x4b05bd,_0x53dfd1,_0x22a7c4){var _0x2a9eab=_0x1f6ce8;super(_0x3b84e9,_0x53eca3,_0x3f91cd,_0x5ca80a,_0x193cbf,_0x2ac7ad,_0x2975d8,_0x43ffea,_0x547222,_0x2d6375,_0x4b05bd,_0x53dfd1,_0x22a7c4),this[_0x2a9eab(0x17b)]=_0x3b84e9,this[_0x2a9eab(0x29b)]=_0x3f91cd,this[_0x2a9eab(0x388)]=_0x56f529;}['_createHandler'](){var _0x159e17=_0x1f6ce8;const _0x7a5122=super[_0x159e17(0x380)]();return _0x7a5122[_0x159e17(0x3e4)]=_0x55018f=>this[_0x159e17(0x388)][_0x159e17(0x38e)](_0x55018f),_0x7a5122;}async[_0x1f6ce8(0x2eb)](){var _0x1d04e0=_0x1f6ce8;const _0x3bc8fb=await super[_0x1d04e0(0x2eb)]();return this[_0x1d04e0(0x382)](this[_0x1d04e0(0x3a1)][_0x1d04e0(0x2e6)]((_0xad82dd,_0x12a075)=>{var _0x4f2863=_0x1d04e0;if(_0xad82dd['type']!==a[_0x4f2863(0x2dd)][_0x4f2863(0x2c8)]||_0x12a075!=null&&_0x12a075[_0x4f2863(0x1d8)]||_0x12a075!=null&&_0x12a075[_0x4f2863(0x295)])return;const _0x2bebb8=_0xad82dd['params'];if((_0x2bebb8==null?void 0x0:_0x2bebb8['unitId'])!==this[_0x4f2863(0x17b)])return;const _0x216d78=_0xad82dd,_0x12cd32=this[_0x4f2863(0x345)][_0x4f2863(0x3e1)][_0x4f2863(0x287)](this[_0x4f2863(0x345)]['interceptor']['getInterceptPoints']()['COMPRESS_MUTATION_SEND'])([_0x216d78],null)||[_0x216d78];this[_0x4f2863(0x3e6)](_0x12cd32[0x0]);})),_0x3bc8fb;}},exports['SheetCollaborationEntity']=We([$(0x3,a[_0x1f6ce8(0x339)](a['Injector'])),$(0x4,a[_0x1f6ce8(0x339)](g[_0x1f6ce8(0x17a)])),$(0x5,a[_0x1f6ce8(0x339)](a[_0x1f6ce8(0x225)])),$(0x6,a[_0x1f6ce8(0x339)](g[_0x1f6ce8(0x2c6)])),$(0x7,a[_0x1f6ce8(0x339)](exports[_0x1f6ce8(0x214)])),$(0x8,a[_0x1f6ce8(0x339)](te)),$(0x9,a[_0x1f6ce8(0x3e5)]),$(0xa,a['ICommandService']),$(0xb,a['IPermissionService']),$(0xc,a[_0x1f6ce8(0x2ce)](ve)),$(0xd,a[_0x1f6ce8(0x2ce)](z))],exports['SheetCollaborationEntity']);var Ti=Object[_0x1f6ce8(0xac)],bi=(_0x461c2f,_0x54885c,_0x569c5f,_0x511a3f)=>{var _0x33b7e7=_0x1f6ce8;for(var _0x56a48d=_0x511a3f>0x1?void 0x0:_0x511a3f?Ti(_0x54885c,_0x569c5f):_0x54885c,_0x21261a=_0x461c2f[_0x33b7e7(0x398)]-0x1,_0x44dba6;_0x21261a>=0x0;_0x21261a--)(_0x44dba6=_0x461c2f[_0x21261a])&&(_0x56a48d=_0x44dba6(_0x56a48d)||_0x56a48d);return _0x56a48d;},Pe=(_0x1e2e8e,_0x507282)=>(_0x33b07e,_0x3f74be)=>_0x507282(_0x33b07e,_0x3f74be,_0x1e2e8e);exports['CollaborationController']=class extends a[_0x1f6ce8(0x2ca)]{constructor(_0x2634a2,_0x27c4a9,_0x5f9bbb){var _0x586489=_0x1f6ce8;super(),A(this,_0x586489(0x34b),new Map()),A(this,_0x586489(0x211),new j[(_0x586489(0x36d))]()),A(this,_0x586489(0x2e8),this['_entityInit$']['asObservable']()),(this[_0x586489(0x154)]=_0x2634a2,this[_0x586489(0x354)]=_0x27c4a9,this[_0x586489(0x33c)]=_0x5f9bbb,this[_0x586489(0x2eb)]());}[_0x1f6ce8(0x29e)](){var _0x59bf1d=_0x1f6ce8;super[_0x59bf1d(0x29e)](),this[_0x59bf1d(0x34b)][_0x59bf1d(0x2f5)](_0x42702e=>_0x42702e['dispose']()),this[_0x59bf1d(0x34b)]['clear']();}[_0x1f6ce8(0x8e)](_0x52654b){var _0x5a872b=_0x1f6ce8,_0x51a519;return(_0x51a519=this[_0x5a872b(0x34b)]['get'](_0x52654b))!=null?_0x51a519:null;}[_0x1f6ce8(0x1ab)](_0x582220){var _0x451d4c=_0x1f6ce8;const _0x486e4a=this[_0x451d4c(0x8e)](_0x582220);return _0x486e4a?j['of'](_0x486e4a):this[_0x451d4c(0x211)][_0x451d4c(0x3f5)](V['filter'](_0x394178=>_0x394178[_0x451d4c(0x17b)]===_0x582220));}[_0x1f6ce8(0x140)](_0x214385){var _0x2a0781=_0x1f6ce8;return j[_0x2a0781(0x3f1)](this['getCollabEntity$'](_0x214385)[_0x2a0781(0x3f5)](V[_0x2a0781(0x173)](()=>{})));}[_0x1f6ce8(0x2eb)](){var _0x185bb6=_0x1f6ce8;this[_0x185bb6(0x33c)][_0x185bb6(0x375)](a[_0x185bb6(0x343)]['UNIVER_SHEET'])[_0x185bb6(0x3f5)](j[_0x185bb6(0x3ee)](this[_0x185bb6(0x1ec)]),V[_0x185bb6(0x34c)](0x10))['subscribe'](async _0x17e82a=>{var _0x425a51=_0x185bb6;const _0x1bf0a7=_0x17e82a['getUnitId'](),_0x448d07=await this['_startCollaboration'](_0x1bf0a7,X[_0x425a51(0x3df)]);this['_entities'][_0x425a51(0x3c0)](_0x1bf0a7,_0x448d07);}),this['_univerInstanceService'][_0x185bb6(0x375)](a[_0x185bb6(0x343)][_0x185bb6(0x326)])[_0x185bb6(0x3f5)](j[_0x185bb6(0x3ee)](this['dispose$']),V[_0x185bb6(0x34c)](0x10))['pipe'](V[_0x185bb6(0x322)](_0x1e2494=>!_0x1e2494[_0x185bb6(0x13f)]()[_0x185bb6(0x367)]('__')))['subscribe'](async _0x1c50e2=>{var _0x40edcf=_0x185bb6;const _0x1f93e2=_0x1c50e2[_0x40edcf(0x13f)](),_0x3b4e1e=await this[_0x40edcf(0x3b9)](_0x1f93e2,X[_0x40edcf(0x326)]);this[_0x40edcf(0x34b)][_0x40edcf(0x3c0)](_0x1f93e2,_0x3b4e1e);}),j['merge'](this[_0x185bb6(0x33c)][_0x185bb6(0x27a)](a[_0x185bb6(0x343)]['UNIVER_SHEET']),this['_univerInstanceService']['getTypeOfUnitDisposed$'](a['UniverInstanceType']['UNIVER_DOC']))[_0x185bb6(0x3f5)](j[_0x185bb6(0x3ee)](this[_0x185bb6(0x1ec)]))[_0x185bb6(0x1e6)](_0x4e5c26=>{var _0xed40f0=_0x185bb6;const _0x5b6738=_0x4e5c26[_0xed40f0(0x13f)](),_0x55e35c=this[_0xed40f0(0x34b)][_0xed40f0(0x203)](_0x5b6738);_0x55e35c&&(_0x55e35c[_0xed40f0(0x29e)](),this[_0xed40f0(0x34b)][_0xed40f0(0x11c)](_0x5b6738));});}async['_startCollaboration'](_0x5abced,_0x284282){var _0x3f03f1=_0x1f6ce8;const _0x174fde=await this[_0x3f03f1(0x354)][_0x3f03f1(0x1f1)](_0x5abced),_0x1a9b85=this[_0x3f03f1(0x154)][_0x3f03f1(0x182)](this[_0x3f03f1(0x113)](_0x284282),_0x5abced,_0x284282,_0x174fde);return await _0x1a9b85[_0x3f03f1(0x2d2)](),this['_entityInit$'][_0x3f03f1(0x100)](_0x1a9b85),_0x1a9b85;}[_0x1f6ce8(0x113)](_0x5dcbb9){var _0x1927d0=_0x1f6ce8;switch(_0x5dcbb9){case X[_0x1927d0(0x326)]:return exports['DocCollaborationEntity'];case X[_0x1927d0(0x3df)]:return exports[_0x1927d0(0x1e9)];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x5dcbb9);}}},exports[_0x1f6ce8(0x18b)]=bi([Pe(0x0,a[_0x1f6ce8(0x339)](a['Injector'])),Pe(0x1,a[_0x1f6ce8(0x339)](exports[_0x1f6ce8(0x1bb)])),Pe(0x2,a[_0x1f6ce8(0x2cf)])],exports[_0x1f6ce8(0x18b)]);var Ri=Object[_0x1f6ce8(0xac)],Oi=(_0x3015c4,_0x31879f,_0x3c9a90,_0xb7f7ce)=>{var _0x6d0f52=_0x1f6ce8;for(var _0x8bb9b0=_0xb7f7ce>0x1?void 0x0:_0xb7f7ce?Ri(_0x31879f,_0x3c9a90):_0x31879f,_0x5387f0=_0x3015c4[_0x6d0f52(0x398)]-0x1,_0x127cca;_0x5387f0>=0x0;_0x5387f0--)(_0x127cca=_0x3015c4[_0x5387f0])&&(_0x8bb9b0=_0x127cca(_0x8bb9b0)||_0x8bb9b0);return _0x8bb9b0;},Je=(_0x4a9e78,_0x280b66)=>(_0x6e175e,_0x2078fe)=>_0x280b66(_0x6e175e,_0x2078fe,_0x4a9e78);const yi=_0x1f6ce8(0x2af),Ni='Univer';let He=class extends a['Disposable']{constructor(_0x1e1048,_0x4d7c68){var _0x390a83=_0x1f6ce8;super(),this[_0x390a83(0x33c)]=_0x1e1048,this[_0x390a83(0x291)]=_0x4d7c68,this[_0x390a83(0x2eb)]();}[_0x1f6ce8(0x2eb)](){var _0x2427cd=_0x1f6ce8;this[_0x2427cd(0x382)](this[_0x2427cd(0x33c)][_0x2427cd(0x2f8)][_0x2427cd(0x1e6)](()=>{var _0x3b207d=_0x2427cd,_0x4b31f4;const _0x5e9272=this[_0x3b207d(0x33c)]['getFocusedUnit']();let _0x43f80a=(_0x4b31f4=this['_configService'][_0x3b207d(0x170)](yi))!=null?_0x4b31f4:Ni;_0x5e9272 instanceof a[_0x3b207d(0x1b7)]&&(_0x43f80a=_0x5e9272['name']),document[_0x3b207d(0x14f)]=_0x43f80a;}));}};He=Oi([Je(0x0,a[_0x1f6ce8(0x2cf)]),Je(0x1,a['IConfigService'])],He);var Di=Object['getOwnPropertyDescriptor'],Ui=(_0x51c7b9,_0x8902f5,_0x5b1fe5,_0x4998bd)=>{var _0x1f7131=_0x1f6ce8;for(var _0x1e4b25=_0x4998bd>0x1?void 0x0:_0x4998bd?Di(_0x8902f5,_0x5b1fe5):_0x8902f5,_0x52b4c1=_0x51c7b9[_0x1f7131(0x398)]-0x1,_0x5a1d6d;_0x52b4c1>=0x0;_0x52b4c1--)(_0x5a1d6d=_0x51c7b9[_0x52b4c1])&&(_0x1e4b25=_0x5a1d6d(_0x1e4b25)||_0x1e4b25);return _0x1e4b25;},we=(_0x41e56c,_0x323c54)=>(_0x3486aa,_0x3462e7)=>_0x323c54(_0x3486aa,_0x3462e7,_0x41e56c);let ye=class{constructor(_0x5f24bb,_0xd611c6,_0x1a1bd8){var _0x48c3f4=_0x1f6ce8;this[_0x48c3f4(0x291)]=_0x5f24bb,this[_0x48c3f4(0x2ff)]=_0xd611c6,this[_0x48c3f4(0x2d4)]=_0x1a1bd8,this['init']();}[_0x1f6ce8(0x2d2)](){var _0x186f7c=_0x1f6ce8;this[_0x186f7c(0x2ff)][_0x186f7c(0x37c)]({'priority':0x1,'interceptor':(_0x21fd94,_0x17cb8e)=>_0x17cb8e(_0x21fd94)[_0x186f7c(0x3f5)](j[_0x186f7c(0xd2)](async _0xa51d14=>{var _0x1f2058=_0x186f7c;const _0x40fd8b=_0xa51d14;if(_0x40fd8b[_0x1f2058(0x2ed)]===0x191){if(typeof window>'u')throw new Error(_0x1f2058(0x16e));if(window[_0x1f2058(0x10a)](this[_0x1f2058(0x2d4)]['t']('auth.needGotoLoginAlert'))){const _0x566c61=window[_0x1f2058(0x2ba)](window[_0x1f2058(0x32a)][_0x1f2058(0x189)]);window['location'][_0x1f2058(0x189)]=this[_0x1f2058(0x308)]()+_0x1f2058(0x2b2)+_0x566c61;}}return _0x40fd8b;}))});}[_0x1f6ce8(0x308)](){var _0x9bb26f=_0x1f6ce8,_0x290d76,_0x1acbc8;const _0x191e5b=this[_0x9bb26f(0x291)][_0x9bb26f(0x170)](Et),_0x33313d=this[_0x9bb26f(0x291)][_0x9bb26f(0x170)](Y);return(_0x1acbc8=(_0x290d76=_0x33313d==null?void 0x0:_0x33313d[_0x9bb26f(0xb5)])!=null?_0x290d76:_0x191e5b)!=null?_0x1acbc8:Yt;}};ye=Ui([we(0x0,a[_0x1f6ce8(0x240)]),we(0x1,a[_0x1f6ce8(0x339)](q[_0x1f6ce8(0xfd)])),we(0x2,a[_0x1f6ce8(0x339)](a['LocaleService']))],ye);var Ai=Object[_0x1f6ce8(0xac)],Pi=(_0x1a58c4,_0x4924b2,_0x33a953,_0x41f65c)=>{var _0x30e1e9=_0x1f6ce8;for(var _0x4408a1=_0x41f65c>0x1?void 0x0:_0x41f65c?Ai(_0x4924b2,_0x33a953):_0x4924b2,_0x4839f7=_0x1a58c4[_0x30e1e9(0x398)]-0x1,_0x5b0000;_0x4839f7>=0x0;_0x4839f7--)(_0x5b0000=_0x1a58c4[_0x4839f7])&&(_0x4408a1=_0x5b0000(_0x4408a1)||_0x4408a1);return _0x4408a1;},Xe=(_0x3f6c19,_0x4aec7e)=>(_0xcf03bf,_0x39030e)=>_0x4aec7e(_0xcf03bf,_0x39030e,_0x3f6c19);const Ge=_0x1f6ce8(0x1fe),wi=_0x1f6ce8(0x272);exports[_0x1f6ce8(0x1b5)]=class extends a[_0x1f6ce8(0x280)]{constructor(_0x192325,_0x55919d){var _0x46e498=_0x1f6ce8;super(),this['_HTTPService']=_0x192325,this[_0x46e498(0x291)]=_0x55919d,this[_0x46e498(0x30a)]();}[_0x1f6ce8(0x30a)](){var _0x2e003f=_0x1f6ce8;const _0x4a8d88=this;this[_0x2e003f(0x382)](this[_0x2e003f(0x34a)][_0x2e003f(0x37c)]({'priority':0x3e7,'interceptor':q[_0x2e003f(0x25e)]({'isMatch'(_0x1fe37b){var _0xf49fd1=_0x2e003f,_0x55a530;if(_0x1fe37b[_0xf49fd1(0x1af)]===_0xf49fd1(0x3b5)&&((_0x55a530=_0x1fe37b['requestParams'])!=null&&_0x55a530[_0xf49fd1(0x239)])){const {objectID:_0x50e901,objectType:_0x5651fc}=_0x1fe37b[_0xf49fd1(0x136)]['body']||{};if(!_0x50e901||_0x5651fc===void 0x0)return!0x1;const _0x36b6d6=_0x4a8d88[_0xf49fd1(0x1d0)]()+'/'+_0x5651fc+_0xf49fd1(0x270)+_0x50e901+_0xf49fd1(0x3f2);if(_0x1fe37b['url']===_0x36b6d6)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x42f386){var _0x10dc62=_0x2e003f,_0x2897d1;return(_0x2897d1=_0x42f386[_0x10dc62(0x136)])==null?void 0x0:_0x2897d1[_0x10dc62(0x239)];},'mergeParamsToRequest'(_0x291f79,_0x3ef09e){var _0x112d7f=_0x2e003f;const _0x23b20f=_0x4a8d88[_0x112d7f(0x1d0)]()+_0x112d7f(0x1ac),_0x51c54e=_0x291f79[_0x112d7f(0x3c9)]((_0xb6beaa,_0x1390cd)=>{var _0x475fa7=_0x112d7f;const {unitID:_0x3a91e2,objectID:_0x59280d,objectType:_0x1d8236,actions:_0x1e5814}=_0x1390cd;return _0xb6beaa[_0x3a91e2]||(_0xb6beaa[_0x3a91e2]={}),_0xb6beaa[_0x3a91e2][_0x59280d]||(_0xb6beaa[_0x3a91e2][_0x59280d]={'objectID':_0x59280d,'objectType':_0x1d8236,'actions':[]}),_0xb6beaa[_0x3a91e2][_0x59280d][_0x475fa7(0xa7)]['push'](..._0x1e5814),_0xb6beaa;},{}),_0x3a1a96=[];for(const _0x4604e2 in _0x51c54e)for(const _0x318573 in _0x51c54e[_0x4604e2]){const {actions:_0x51fc75,objectType:_0x5874b0}=_0x51c54e[_0x4604e2][_0x318573],_0x5aaa04=[...new Set(_0x51fc75)];_0x3a1a96[_0x112d7f(0x153)]({'unitID':_0x4604e2,'objectID':_0x318573,'objectType':_0x5874b0,'actions':_0x5aaa04});}return new q[(_0x112d7f(0x163))]('POST',_0x23b20f,{'headers':_0x3ef09e[_0x112d7f(0x222)],'withCredentials':_0x3ef09e[_0x112d7f(0x3bf)],'responseType':_0x3ef09e[_0x112d7f(0x37a)],'body':{'requests':_0x3a1a96}});}},{'distributeResult'(_0x42b621,_0x19731a){const {objectActions:_0x9a84d7}=_0x42b621;return _0x19731a['map'](_0x495442=>{var _0x327cd4=_0x17b6;const {unitID:_0x4582e0,objectID:_0x40e2fe,actions:_0x216886}=_0x495442,_0x3c0bf3=_0x9a84d7[_0x327cd4(0xd5)](_0x2e7312=>_0x2e7312[_0x327cd4(0x17b)]===_0x4582e0&&_0x2e7312[_0x327cd4(0x329)]===_0x40e2fe),_0x1130a3=_0x216886[_0x327cd4(0x173)](_0x2508fc=>_0x3c0bf3==null?void 0x0:_0x3c0bf3['actions'][_0x327cd4(0xd5)](_0x2f6ca6=>_0x2f6ca6[_0x327cd4(0xea)]===_0x2508fc))['filter'](_0x4d237f=>!!_0x4d237f);return{'config':_0x495442,'result':{'actions':_0x1130a3,'error':_0x42b621[_0x327cd4(0x160)]}};});}})}));}[_0x1f6ce8(0x1d0)](){var _0x10bf7c=_0x1f6ce8,_0x3c589f,_0x5af51d;const _0x2ec9f0=this['_configService'][_0x10bf7c(0x170)](Ge),_0x273e27=this['_configService'][_0x10bf7c(0x170)](Y);return(_0x5af51d=(_0x3c589f=_0x273e27==null?void 0x0:_0x273e27['authzUrl'])!=null?_0x3c589f:_0x2ec9f0)!=null?_0x5af51d:wi;}async[_0x1f6ce8(0x12a)](_0x347236){var _0x37bf6c=_0x1f6ce8;const _0x4527c4=this[_0x37bf6c(0x1d0)]()+'/'+_0x347236[_0x37bf6c(0x3f7)]+_0x37bf6c(0xb0);return(await this[_0x37bf6c(0x34a)]['post'](_0x4527c4,{'body':_0x347236}))[_0x37bf6c(0x239)][_0x37bf6c(0x329)]||'';}async[_0x1f6ce8(0x344)](_0x4a14c1){var _0x4963a1=_0x1f6ce8;const _0x436035=this[_0x4963a1(0x1d0)]()+'/-/object/list';return(await this['_HTTPService'][_0x4963a1(0x185)](_0x436035,{'body':_0x4a14c1}))[_0x4963a1(0x239)][_0x4963a1(0x16a)];}async['update'](_0x3a0ec7){var _0x345275=_0x1f6ce8,_0x4a5fc6,_0x3e7d74;const _0x2c8d45=this[_0x345275(0x1d0)]()+'/'+_0x3a0ec7[_0x345275(0x3f7)]+_0x345275(0x270)+_0x3a0ec7['objectID'],_0x42bb51=await this[_0x345275(0x34a)][_0x345275(0x23f)](_0x2c8d45,{'body':_0x3a0ec7});if(((_0x3e7d74=(_0x4a5fc6=_0x42bb51==null?void 0x0:_0x42bb51[_0x345275(0x239)])==null?void 0x0:_0x4a5fc6['error'])==null?void 0x0:_0x3e7d74['code'])!==0x1)throw new Error(_0x345275(0x36b));}async[_0x1f6ce8(0x32b)](_0x24f473){var _0x256da2=_0x1f6ce8;const _0x373bc6=this[_0x256da2(0x1d0)]()+'/'+_0x24f473[_0x256da2(0x3f7)]+_0x256da2(0x270)+_0x24f473[_0x256da2(0x329)]+_0x256da2(0x3f2);return(await this[_0x256da2(0x34a)]['post'](_0x373bc6,{'body':_0x24f473}))[_0x256da2(0x239)][_0x256da2(0xa7)];}async['batchAllowed'](_0x5eae0a){var _0x15739b=_0x1f6ce8;const _0x499dd3=this[_0x15739b(0x1d0)]()+'/-/object/-/batch_allowed';return(await this[_0x15739b(0x34a)][_0x15739b(0x185)](_0x499dd3,{'body':{'requests':_0x5eae0a}}))[_0x15739b(0x239)][_0x15739b(0x13a)];}async['listRoles'](_0x4e6d50){var _0x33db25=_0x1f6ce8;const _0x159823=this[_0x33db25(0x1d0)]()+'/'+_0x4e6d50['objectType']+_0x33db25(0x273),_0x309aec=await this[_0x33db25(0x34a)][_0x33db25(0x185)](_0x159823,{'body':_0x4e6d50});return{'roles':_0x309aec[_0x33db25(0x239)][_0x33db25(0x151)],'actions':_0x309aec[_0x33db25(0x239)]['actions']};}async['deleteCollaborator'](_0x38c208){var _0xe95283=_0x1f6ce8;const _0x4f2772=this[_0xe95283(0x1d0)]()+_0xe95283(0x257);await this[_0xe95283(0x34a)]['delete'](_0x4f2772,{'params':{'collaboratorID':_0x38c208[_0xe95283(0x192)],'objectID':_0x38c208[_0xe95283(0x329)],'unitID':_0x38c208[_0xe95283(0x17b)]}});}async[_0x1f6ce8(0x2a9)](_0xfb0ce9){var _0x292b2e=_0x1f6ce8;const _0x5beebc=this[_0x292b2e(0x1d0)]()+_0x292b2e(0x257);await this[_0x292b2e(0x34a)][_0x292b2e(0x128)](_0x5beebc,{'body':_0xfb0ce9});}async[_0x1f6ce8(0x2f0)](_0x1085c9){var _0x1b8f20=_0x1f6ce8;const _0x425ce4=this['_getAPIPrefixPath']()+_0x1b8f20(0x257);await this[_0x1b8f20(0x34a)][_0x1b8f20(0x185)](_0x425ce4,{'body':_0x1085c9});}async['listCollaborators'](_0x548c37){var _0x1983d0=_0x1f6ce8;const _0x3c8571=this[_0x1983d0(0x1d0)]()+'/collaborator';return(await this[_0x1983d0(0x34a)][_0x1983d0(0x203)](_0x3c8571,{'params':{'objectID':_0x548c37[_0x1983d0(0x329)],'unitID':_0x548c37['unitID']}}))[_0x1983d0(0x239)]['collaborators'];}async[_0x1f6ce8(0x3b3)](_0x1e711a){var _0x58f84f=_0x1f6ce8;const _0x2d303c=this['_getAPIPrefixPath']()+'/collaborator';await this['_HTTPService'][_0x58f84f(0x23f)](_0x2d303c,{'body':_0x1e711a});}},exports['AuthzIoHttpService']=Pi([Xe(0x0,a[_0x1f6ce8(0x339)](q[_0x1f6ce8(0xfd)])),Xe(0x1,a[_0x1f6ce8(0x339)](a[_0x1f6ce8(0x240)]))],exports['AuthzIoHttpService']);var Le=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function Se(_0x4abeb6){var _0x3e36b1=_0x1f6ce8;return _0x4abeb6&&_0x4abeb6[_0x3e36b1(0x2e7)]&&Object[_0x3e36b1(0xf7)][_0x3e36b1(0x102)]['call'](_0x4abeb6,'default')?_0x4abeb6['default']:_0x4abeb6;}var fe={'exports':{}};function Li(_0x3a72e4){var _0x172212=_0x1f6ce8;throw new Error(_0x172212(0x352)+_0x3a72e4+_0x172212(0x2b6));}var pe={'exports':{}},Mi=pe[_0x1f6ce8(0x133)],Ze;function ee(){var _0x45998b=_0x1f6ce8;return Ze||(Ze=0x1,function(_0x28e0f0,_0x4c6852){(function(_0x5bce4a,_0x4094a8){var _0x5cdc4b=_0x17b6;_0x28e0f0[_0x5cdc4b(0x133)]=_0x4094a8();}(Mi,function(){var _0x196dbc=_0x196dbc||function(_0xca864d,_0x18ea53){var _0x17128b=_0x17b6,_0x2d4064;if(typeof window<'u'&&window[_0x17128b(0x164)]&&(_0x2d4064=window[_0x17128b(0x164)]),typeof self<'u'&&self[_0x17128b(0x164)]&&(_0x2d4064=self[_0x17128b(0x164)]),typeof globalThis<'u'&&globalThis[_0x17128b(0x164)]&&(_0x2d4064=globalThis[_0x17128b(0x164)]),!_0x2d4064&&typeof window<'u'&&window[_0x17128b(0x1c0)]&&(_0x2d4064=window[_0x17128b(0x1c0)]),!_0x2d4064&&typeof Le<'u'&&Le[_0x17128b(0x164)]&&(_0x2d4064=Le[_0x17128b(0x164)]),!_0x2d4064&&typeof Li==_0x17128b(0x2a0))try{_0x2d4064=require(_0x17128b(0x164));}catch{}var _0x160e7a=function(){var _0x182bf2=_0x17128b;if(_0x2d4064){if(typeof _0x2d4064[_0x182bf2(0x141)]==_0x182bf2(0x2a0))try{return _0x2d4064[_0x182bf2(0x141)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x2d4064[_0x182bf2(0x3bb)]==_0x182bf2(0x2a0))try{return _0x2d4064['randomBytes'](0x4)[_0x182bf2(0xa3)]();}catch{}}throw new Error(_0x182bf2(0x1ee));},_0x1dff56=Object[_0x17128b(0x12a)]||(function(){function _0x2fb1eb(){}return function(_0x122f29){var _0x580492=_0x17b6,_0x23e920;return _0x2fb1eb[_0x580492(0xf7)]=_0x122f29,_0x23e920=new _0x2fb1eb(),_0x2fb1eb[_0x580492(0xf7)]=null,_0x23e920;};}()),_0x72161b={},_0x79a938=_0x72161b[_0x17128b(0x177)]={},_0x4db158=_0x79a938[_0x17128b(0x34f)]=(function(){return{'extend':function(_0x57d339){var _0x7d9ed4=_0x17b6,_0x6f3380=_0x1dff56(this);return _0x57d339&&_0x6f3380['mixIn'](_0x57d339),(!_0x6f3380[_0x7d9ed4(0x102)](_0x7d9ed4(0x2d2))||this[_0x7d9ed4(0x2d2)]===_0x6f3380[_0x7d9ed4(0x2d2)])&&(_0x6f3380[_0x7d9ed4(0x2d2)]=function(){var _0x2406bd=_0x7d9ed4;_0x6f3380[_0x2406bd(0x1c7)]['init']['apply'](this,arguments);}),_0x6f3380['init']['prototype']=_0x6f3380,_0x6f3380[_0x7d9ed4(0x1c7)]=this,_0x6f3380;},'create':function(){var _0x1326b7=_0x17b6,_0xf67b91=this[_0x1326b7(0x31c)]();return _0xf67b91[_0x1326b7(0x2d2)][_0x1326b7(0x2d7)](_0xf67b91,arguments),_0xf67b91;},'init':function(){},'mixIn':function(_0x159e29){var _0x34e424=_0x17b6;for(var _0x42ffa6 in _0x159e29)_0x159e29[_0x34e424(0x102)](_0x42ffa6)&&(this[_0x42ffa6]=_0x159e29[_0x42ffa6]);_0x159e29[_0x34e424(0x102)](_0x34e424(0x31f))&&(this[_0x34e424(0x31f)]=_0x159e29[_0x34e424(0x31f)]);},'clone':function(){var _0x3b4f6d=_0x17b6;return this[_0x3b4f6d(0x2d2)][_0x3b4f6d(0xf7)][_0x3b4f6d(0x31c)](this);}};}()),_0xf057a6=_0x79a938['WordArray']=_0x4db158[_0x17128b(0x31c)]({'init':function(_0x2607fb,_0x1b8cd5){var _0x30cace=_0x17128b;_0x2607fb=this[_0x30cace(0x35b)]=_0x2607fb||[],_0x1b8cd5!=_0x18ea53?this[_0x30cace(0x1dd)]=_0x1b8cd5:this['sigBytes']=_0x2607fb[_0x30cace(0x398)]*0x4;},'toString':function(_0x196fd5){var _0x24f773=_0x17128b;return(_0x196fd5||_0x154e67)[_0x24f773(0x1ca)](this);},'concat':function(_0x188fa5){var _0x4b5481=_0x17128b,_0x6fef43=this[_0x4b5481(0x35b)],_0x44b780=_0x188fa5[_0x4b5481(0x35b)],_0x2816c7=this[_0x4b5481(0x1dd)],_0x5a9e07=_0x188fa5[_0x4b5481(0x1dd)];if(this[_0x4b5481(0x3dc)](),_0x2816c7%0x4)for(var _0x3387a1=0x0;_0x3387a1<_0x5a9e07;_0x3387a1++){var _0x19ff94=_0x44b780[_0x3387a1>>>0x2]>>>0x18-_0x3387a1%0x4*0x8&0xff;_0x6fef43[_0x2816c7+_0x3387a1>>>0x2]|=_0x19ff94<<0x18-(_0x2816c7+_0x3387a1)%0x4*0x8;}else{for(var _0x4ad380=0x0;_0x4ad380<_0x5a9e07;_0x4ad380+=0x4)_0x6fef43[_0x2816c7+_0x4ad380>>>0x2]=_0x44b780[_0x4ad380>>>0x2];}return this['sigBytes']+=_0x5a9e07,this;},'clamp':function(){var _0x5b7b49=_0x17128b,_0x4fdf3b=this['words'],_0x37812f=this[_0x5b7b49(0x1dd)];_0x4fdf3b[_0x37812f>>>0x2]&=0xffffffff<<0x20-_0x37812f%0x4*0x8,_0x4fdf3b[_0x5b7b49(0x398)]=_0xca864d[_0x5b7b49(0x1fb)](_0x37812f/0x4);},'clone':function(){var _0xbae18e=_0x17128b,_0x43c456=_0x4db158[_0xbae18e(0x336)]['call'](this);return _0x43c456[_0xbae18e(0x35b)]=this['words'][_0xbae18e(0x18a)](0x0),_0x43c456;},'random':function(_0x33be79){var _0x3e3391=_0x17128b;for(var _0x5f1539=[],_0x4cc8fa=0x0;_0x4cc8fa<_0x33be79;_0x4cc8fa+=0x4)_0x5f1539[_0x3e3391(0x153)](_0x160e7a());return new _0xf057a6[(_0x3e3391(0x2d2))](_0x5f1539,_0x33be79);}}),_0x1539fe=_0x72161b[_0x17128b(0x26d)]={},_0x154e67=_0x1539fe['Hex']={'stringify':function(_0x2d4a84){var _0x5a7d14=_0x17128b;for(var _0x5f324b=_0x2d4a84[_0x5a7d14(0x35b)],_0x3c32cb=_0x2d4a84[_0x5a7d14(0x1dd)],_0x2f45b9=[],_0x52ffc3=0x0;_0x52ffc3<_0x3c32cb;_0x52ffc3++){var _0x290de3=_0x5f324b[_0x52ffc3>>>0x2]>>>0x18-_0x52ffc3%0x4*0x8&0xff;_0x2f45b9['push']((_0x290de3>>>0x4)[_0x5a7d14(0x31f)](0x10)),_0x2f45b9['push']((_0x290de3&0xf)[_0x5a7d14(0x31f)](0x10));}return _0x2f45b9['join']('');},'parse':function(_0x1a1bf8){var _0x3c9b5d=_0x17128b;for(var _0x3a95a2=_0x1a1bf8[_0x3c9b5d(0x398)],_0x541fe4=[],_0x528a5f=0x0;_0x528a5f<_0x3a95a2;_0x528a5f+=0x2)_0x541fe4[_0x528a5f>>>0x3]|=parseInt(_0x1a1bf8['substr'](_0x528a5f,0x2),0x10)<<0x18-_0x528a5f%0x8*0x4;return new _0xf057a6['init'](_0x541fe4,_0x3a95a2/0x2);}},_0x35b87c=_0x1539fe['Latin1']={'stringify':function(_0x34e961){var _0x3abd89=_0x17128b;for(var _0x5a0a55=_0x34e961[_0x3abd89(0x35b)],_0x3b9816=_0x34e961[_0x3abd89(0x1dd)],_0x3b0af3=[],_0x21cc73=0x0;_0x21cc73<_0x3b9816;_0x21cc73++){var _0x46e7b9=_0x5a0a55[_0x21cc73>>>0x2]>>>0x18-_0x21cc73%0x4*0x8&0xff;_0x3b0af3[_0x3abd89(0x153)](String[_0x3abd89(0x2d6)](_0x46e7b9));}return _0x3b0af3[_0x3abd89(0x328)]('');},'parse':function(_0x19de25){var _0x31500f=_0x17128b;for(var _0x2465d3=_0x19de25[_0x31500f(0x398)],_0x2d688=[],_0x3d1970=0x0;_0x3d1970<_0x2465d3;_0x3d1970++)_0x2d688[_0x3d1970>>>0x2]|=(_0x19de25[_0x31500f(0x364)](_0x3d1970)&0xff)<<0x18-_0x3d1970%0x4*0x8;return new _0xf057a6['init'](_0x2d688,_0x2465d3);}},_0x4f30d8=_0x1539fe[_0x17128b(0x37f)]={'stringify':function(_0x581c1c){var _0x595a29=_0x17128b;try{return decodeURIComponent(escape(_0x35b87c[_0x595a29(0x1ca)](_0x581c1c)));}catch{throw new Error(_0x595a29(0x1ba));}},'parse':function(_0x4da0db){var _0x4d6c64=_0x17128b;return _0x35b87c[_0x4d6c64(0x15a)](unescape(encodeURIComponent(_0x4da0db)));}},_0x5242cf=_0x79a938[_0x17128b(0xf4)]=_0x4db158[_0x17128b(0x31c)]({'reset':function(){var _0x3da92c=_0x17128b;this[_0x3da92c(0x1f9)]=new _0xf057a6['init'](),this['_nDataBytes']=0x0;},'_append':function(_0x45bd55){var _0x1da443=_0x17128b;typeof _0x45bd55=='string'&&(_0x45bd55=_0x4f30d8[_0x1da443(0x15a)](_0x45bd55)),this[_0x1da443(0x1f9)]['concat'](_0x45bd55),this[_0x1da443(0x3d3)]+=_0x45bd55['sigBytes'];},'_process':function(_0x141643){var _0x147158=_0x17128b,_0x587016,_0x5768b8=this[_0x147158(0x1f9)],_0x2a8e46=_0x5768b8['words'],_0x293919=_0x5768b8[_0x147158(0x1dd)],_0x227d47=this[_0x147158(0x112)],_0x146d03=_0x227d47*0x4,_0x46a4f2=_0x293919/_0x146d03;_0x141643?_0x46a4f2=_0xca864d[_0x147158(0x1fb)](_0x46a4f2):_0x46a4f2=_0xca864d['max']((_0x46a4f2|0x0)-this[_0x147158(0x1d5)],0x0);var _0x1c8998=_0x46a4f2*_0x227d47,_0x51bfa8=_0xca864d[_0x147158(0x2bd)](_0x1c8998*0x4,_0x293919);if(_0x1c8998){for(var _0x5a4ca6=0x0;_0x5a4ca6<_0x1c8998;_0x5a4ca6+=_0x227d47)this[_0x147158(0x24e)](_0x2a8e46,_0x5a4ca6);_0x587016=_0x2a8e46[_0x147158(0x13c)](0x0,_0x1c8998),_0x5768b8[_0x147158(0x1dd)]-=_0x51bfa8;}return new _0xf057a6[(_0x147158(0x2d2))](_0x587016,_0x51bfa8);},'clone':function(){var _0x2ce7a8=_0x17128b,_0x1d4d83=_0x4db158[_0x2ce7a8(0x336)][_0x2ce7a8(0x2ac)](this);return _0x1d4d83[_0x2ce7a8(0x1f9)]=this['_data']['clone'](),_0x1d4d83;},'_minBufferSize':0x0});_0x79a938[_0x17128b(0x2fe)]=_0x5242cf['extend']({'cfg':_0x4db158['extend'](),'init':function(_0x47eead){var _0x45790c=_0x17128b;this[_0x45790c(0x259)]=this[_0x45790c(0x259)][_0x45790c(0x31c)](_0x47eead),this[_0x45790c(0x1c5)]();},'reset':function(){var _0x34396a=_0x17128b;_0x5242cf['reset']['call'](this),this[_0x34396a(0x196)]();},'update':function(_0x51dfd3){var _0x208813=_0x17128b;return this[_0x208813(0x9e)](_0x51dfd3),this[_0x208813(0x92)](),this;},'finalize':function(_0xe40922){var _0x4e73bc=_0x17128b;_0xe40922&&this[_0x4e73bc(0x9e)](_0xe40922);var _0x50db7d=this[_0x4e73bc(0x122)]();return _0x50db7d;},'blockSize':0x10,'_createHelper':function(_0x113e12){return function(_0x82e0a6,_0x59c330){var _0x36a89e=_0x17b6;return new _0x113e12[(_0x36a89e(0x2d2))](_0x59c330)[_0x36a89e(0x200)](_0x82e0a6);};},'_createHmacHelper':function(_0x993641){return function(_0x278166,_0x448e16){var _0x6ad477=_0x17b6;return new _0x2eabe0['HMAC']['init'](_0x993641,_0x448e16)[_0x6ad477(0x200)](_0x278166);};}});var _0x2eabe0=_0x72161b[_0x17128b(0x348)]={};return _0x72161b;}(Math);return _0x196dbc;}));}(pe)),pe[_0x45998b(0x133)];}var ge={'exports':{}},xi=ge[_0x1f6ce8(0x133)],Qe;function Ut(){var _0x5a7d6d=_0x1f6ce8;return Qe||(Qe=0x1,function(_0x5d052f,_0x3adb90){(function(_0x390078,_0x576bfc){_0x5d052f['exports']=_0x576bfc(ee());}(xi,function(_0x47ca0f){var _0x289914=_0x17b6;return(function(){var _0x153664=_0x17b6,_0x1197fa=_0x47ca0f,_0x4850db=_0x1197fa[_0x153664(0x177)],_0x5ca4f3=_0x4850db[_0x153664(0x30c)],_0x566bd9=_0x1197fa['enc'];_0x566bd9[_0x153664(0x10f)]={'stringify':function(_0x4ea3b7){var _0x3e6603=_0x153664,_0xea73b0=_0x4ea3b7[_0x3e6603(0x35b)],_0x76a6f7=_0x4ea3b7[_0x3e6603(0x1dd)],_0x4fdf0e=this[_0x3e6603(0x330)];_0x4ea3b7[_0x3e6603(0x3dc)]();for(var _0x254ed0=[],_0x5e54bb=0x0;_0x5e54bb<_0x76a6f7;_0x5e54bb+=0x3)for(var _0x2611fb=_0xea73b0[_0x5e54bb>>>0x2]>>>0x18-_0x5e54bb%0x4*0x8&0xff,_0x21dc28=_0xea73b0[_0x5e54bb+0x1>>>0x2]>>>0x18-(_0x5e54bb+0x1)%0x4*0x8&0xff,_0x59e143=_0xea73b0[_0x5e54bb+0x2>>>0x2]>>>0x18-(_0x5e54bb+0x2)%0x4*0x8&0xff,_0x2c25ac=_0x2611fb<<0x10|_0x21dc28<<0x8|_0x59e143,_0x37a096=0x0;_0x37a096<0x4&&_0x5e54bb+_0x37a096*0.75<_0x76a6f7;_0x37a096++)_0x254ed0['push'](_0x4fdf0e['charAt'](_0x2c25ac>>>0x6*(0x3-_0x37a096)&0x3f));var _0x4b2e9b=_0x4fdf0e[_0x3e6603(0x260)](0x40);if(_0x4b2e9b){for(;_0x254ed0['length']%0x4;)_0x254ed0[_0x3e6603(0x153)](_0x4b2e9b);}return _0x254ed0['join']('');},'parse':function(_0x37e769){var _0x5d7748=_0x153664,_0x5f46ec=_0x37e769[_0x5d7748(0x398)],_0x2cc33d=this['_map'],_0x4f62ea=this[_0x5d7748(0x8b)];if(!_0x4f62ea){_0x4f62ea=this['_reverseMap']=[];for(var _0x3ba750=0x0;_0x3ba750<_0x2cc33d[_0x5d7748(0x398)];_0x3ba750++)_0x4f62ea[_0x2cc33d['charCodeAt'](_0x3ba750)]=_0x3ba750;}var _0x215d13=_0x2cc33d[_0x5d7748(0x260)](0x40);if(_0x215d13){var _0x41a3f2=_0x37e769[_0x5d7748(0x213)](_0x215d13);_0x41a3f2!==-0x1&&(_0x5f46ec=_0x41a3f2);}return _0xad73ad(_0x37e769,_0x5f46ec,_0x4f62ea);},'_map':_0x153664(0x21e)};function _0xad73ad(_0x2bd5ab,_0x997f0a,_0x14f8cf){var _0x52e259=_0x153664;for(var _0x11b42d=[],_0x45d315=0x0,_0x5d41f2=0x0;_0x5d41f2<_0x997f0a;_0x5d41f2++)if(_0x5d41f2%0x4){var _0x24d41c=_0x14f8cf[_0x2bd5ab[_0x52e259(0x364)](_0x5d41f2-0x1)]<<_0x5d41f2%0x4*0x2,_0x59f9c1=_0x14f8cf[_0x2bd5ab['charCodeAt'](_0x5d41f2)]>>>0x6-_0x5d41f2%0x4*0x2,_0x1908ca=_0x24d41c|_0x59f9c1;_0x11b42d[_0x45d315>>>0x2]|=_0x1908ca<<0x18-_0x45d315%0x4*0x8,_0x45d315++;}return _0x5ca4f3[_0x52e259(0x12a)](_0x11b42d,_0x45d315);}}()),_0x47ca0f[_0x289914(0x26d)]['Base64'];}));}(ge)),ge[_0x5a7d6d(0x133)];}var me={'exports':{}},ki=me['exports'],et;function Hi(){var _0x44f472=_0x1f6ce8;return et||(et=0x1,function(_0x197131,_0xe9355c){(function(_0x19eba7,_0x33929c){var _0x494b8=_0x17b6;_0x197131[_0x494b8(0x133)]=_0x33929c(ee());}(ki,function(_0x13b81b){return function(_0xf375b2){var _0x39c9a9=_0x17b6,_0x1ee324=_0x13b81b,_0x33b108=_0x1ee324['lib'],_0x5a589c=_0x33b108[_0x39c9a9(0x30c)],_0x513672=_0x33b108[_0x39c9a9(0x2fe)],_0x29ac85=_0x1ee324[_0x39c9a9(0x348)],_0x44aa63=[];(function(){for(var _0x31bea5=0x0;_0x31bea5<0x40;_0x31bea5++)_0x44aa63[_0x31bea5]=_0xf375b2['abs'](_0xf375b2['sin'](_0x31bea5+0x1))*0x100000000|0x0;}());var _0x43ca46=_0x29ac85[_0x39c9a9(0x1d6)]=_0x513672[_0x39c9a9(0x31c)]({'_doReset':function(){var _0x5c5b1d=_0x39c9a9;this[_0x5c5b1d(0x33b)]=new _0x5a589c[(_0x5c5b1d(0x2d2))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0xd0d5d7,_0x2e62af){var _0x23a77d=_0x39c9a9;for(var _0x2ea17c=0x0;_0x2ea17c<0x10;_0x2ea17c++){var _0x2b953b=_0x2e62af+_0x2ea17c,_0x32bf0c=_0xd0d5d7[_0x2b953b];_0xd0d5d7[_0x2b953b]=(_0x32bf0c<<0x8|_0x32bf0c>>>0x18)&0xff00ff|(_0x32bf0c<<0x18|_0x32bf0c>>>0x8)&0xff00ff00;}var _0x536343=this[_0x23a77d(0x33b)][_0x23a77d(0x35b)],_0x279df1=_0xd0d5d7[_0x2e62af+0x0],_0x136110=_0xd0d5d7[_0x2e62af+0x1],_0x1f13e6=_0xd0d5d7[_0x2e62af+0x2],_0x3ff1d2=_0xd0d5d7[_0x2e62af+0x3],_0x3ad577=_0xd0d5d7[_0x2e62af+0x4],_0x2558ea=_0xd0d5d7[_0x2e62af+0x5],_0x52c3f0=_0xd0d5d7[_0x2e62af+0x6],_0x125556=_0xd0d5d7[_0x2e62af+0x7],_0x210455=_0xd0d5d7[_0x2e62af+0x8],_0x345898=_0xd0d5d7[_0x2e62af+0x9],_0x1a3a11=_0xd0d5d7[_0x2e62af+0xa],_0x27e653=_0xd0d5d7[_0x2e62af+0xb],_0x268b96=_0xd0d5d7[_0x2e62af+0xc],_0x575926=_0xd0d5d7[_0x2e62af+0xd],_0x5c8694=_0xd0d5d7[_0x2e62af+0xe],_0x2714d3=_0xd0d5d7[_0x2e62af+0xf],_0x586376=_0x536343[0x0],_0x1cd168=_0x536343[0x1],_0x21ed9c=_0x536343[0x2],_0x5999b0=_0x536343[0x3];_0x586376=_0x1da548(_0x586376,_0x1cd168,_0x21ed9c,_0x5999b0,_0x279df1,0x7,_0x44aa63[0x0]),_0x5999b0=_0x1da548(_0x5999b0,_0x586376,_0x1cd168,_0x21ed9c,_0x136110,0xc,_0x44aa63[0x1]),_0x21ed9c=_0x1da548(_0x21ed9c,_0x5999b0,_0x586376,_0x1cd168,_0x1f13e6,0x11,_0x44aa63[0x2]),_0x1cd168=_0x1da548(_0x1cd168,_0x21ed9c,_0x5999b0,_0x586376,_0x3ff1d2,0x16,_0x44aa63[0x3]),_0x586376=_0x1da548(_0x586376,_0x1cd168,_0x21ed9c,_0x5999b0,_0x3ad577,0x7,_0x44aa63[0x4]),_0x5999b0=_0x1da548(_0x5999b0,_0x586376,_0x1cd168,_0x21ed9c,_0x2558ea,0xc,_0x44aa63[0x5]),_0x21ed9c=_0x1da548(_0x21ed9c,_0x5999b0,_0x586376,_0x1cd168,_0x52c3f0,0x11,_0x44aa63[0x6]),_0x1cd168=_0x1da548(_0x1cd168,_0x21ed9c,_0x5999b0,_0x586376,_0x125556,0x16,_0x44aa63[0x7]),_0x586376=_0x1da548(_0x586376,_0x1cd168,_0x21ed9c,_0x5999b0,_0x210455,0x7,_0x44aa63[0x8]),_0x5999b0=_0x1da548(_0x5999b0,_0x586376,_0x1cd168,_0x21ed9c,_0x345898,0xc,_0x44aa63[0x9]),_0x21ed9c=_0x1da548(_0x21ed9c,_0x5999b0,_0x586376,_0x1cd168,_0x1a3a11,0x11,_0x44aa63[0xa]),_0x1cd168=_0x1da548(_0x1cd168,_0x21ed9c,_0x5999b0,_0x586376,_0x27e653,0x16,_0x44aa63[0xb]),_0x586376=_0x1da548(_0x586376,_0x1cd168,_0x21ed9c,_0x5999b0,_0x268b96,0x7,_0x44aa63[0xc]),_0x5999b0=_0x1da548(_0x5999b0,_0x586376,_0x1cd168,_0x21ed9c,_0x575926,0xc,_0x44aa63[0xd]),_0x21ed9c=_0x1da548(_0x21ed9c,_0x5999b0,_0x586376,_0x1cd168,_0x5c8694,0x11,_0x44aa63[0xe]),_0x1cd168=_0x1da548(_0x1cd168,_0x21ed9c,_0x5999b0,_0x586376,_0x2714d3,0x16,_0x44aa63[0xf]),_0x586376=_0x2abd3c(_0x586376,_0x1cd168,_0x21ed9c,_0x5999b0,_0x136110,0x5,_0x44aa63[0x10]),_0x5999b0=_0x2abd3c(_0x5999b0,_0x586376,_0x1cd168,_0x21ed9c,_0x52c3f0,0x9,_0x44aa63[0x11]),_0x21ed9c=_0x2abd3c(_0x21ed9c,_0x5999b0,_0x586376,_0x1cd168,_0x27e653,0xe,_0x44aa63[0x12]),_0x1cd168=_0x2abd3c(_0x1cd168,_0x21ed9c,_0x5999b0,_0x586376,_0x279df1,0x14,_0x44aa63[0x13]),_0x586376=_0x2abd3c(_0x586376,_0x1cd168,_0x21ed9c,_0x5999b0,_0x2558ea,0x5,_0x44aa63[0x14]),_0x5999b0=_0x2abd3c(_0x5999b0,_0x586376,_0x1cd168,_0x21ed9c,_0x1a3a11,0x9,_0x44aa63[0x15]),_0x21ed9c=_0x2abd3c(_0x21ed9c,_0x5999b0,_0x586376,_0x1cd168,_0x2714d3,0xe,_0x44aa63[0x16]),_0x1cd168=_0x2abd3c(_0x1cd168,_0x21ed9c,_0x5999b0,_0x586376,_0x3ad577,0x14,_0x44aa63[0x17]),_0x586376=_0x2abd3c(_0x586376,_0x1cd168,_0x21ed9c,_0x5999b0,_0x345898,0x5,_0x44aa63[0x18]),_0x5999b0=_0x2abd3c(_0x5999b0,_0x586376,_0x1cd168,_0x21ed9c,_0x5c8694,0x9,_0x44aa63[0x19]),_0x21ed9c=_0x2abd3c(_0x21ed9c,_0x5999b0,_0x586376,_0x1cd168,_0x3ff1d2,0xe,_0x44aa63[0x1a]),_0x1cd168=_0x2abd3c(_0x1cd168,_0x21ed9c,_0x5999b0,_0x586376,_0x210455,0x14,_0x44aa63[0x1b]),_0x586376=_0x2abd3c(_0x586376,_0x1cd168,_0x21ed9c,_0x5999b0,_0x575926,0x5,_0x44aa63[0x1c]),_0x5999b0=_0x2abd3c(_0x5999b0,_0x586376,_0x1cd168,_0x21ed9c,_0x1f13e6,0x9,_0x44aa63[0x1d]),_0x21ed9c=_0x2abd3c(_0x21ed9c,_0x5999b0,_0x586376,_0x1cd168,_0x125556,0xe,_0x44aa63[0x1e]),_0x1cd168=_0x2abd3c(_0x1cd168,_0x21ed9c,_0x5999b0,_0x586376,_0x268b96,0x14,_0x44aa63[0x1f]),_0x586376=_0x3ff39d(_0x586376,_0x1cd168,_0x21ed9c,_0x5999b0,_0x2558ea,0x4,_0x44aa63[0x20]),_0x5999b0=_0x3ff39d(_0x5999b0,_0x586376,_0x1cd168,_0x21ed9c,_0x210455,0xb,_0x44aa63[0x21]),_0x21ed9c=_0x3ff39d(_0x21ed9c,_0x5999b0,_0x586376,_0x1cd168,_0x27e653,0x10,_0x44aa63[0x22]),_0x1cd168=_0x3ff39d(_0x1cd168,_0x21ed9c,_0x5999b0,_0x586376,_0x5c8694,0x17,_0x44aa63[0x23]),_0x586376=_0x3ff39d(_0x586376,_0x1cd168,_0x21ed9c,_0x5999b0,_0x136110,0x4,_0x44aa63[0x24]),_0x5999b0=_0x3ff39d(_0x5999b0,_0x586376,_0x1cd168,_0x21ed9c,_0x3ad577,0xb,_0x44aa63[0x25]),_0x21ed9c=_0x3ff39d(_0x21ed9c,_0x5999b0,_0x586376,_0x1cd168,_0x125556,0x10,_0x44aa63[0x26]),_0x1cd168=_0x3ff39d(_0x1cd168,_0x21ed9c,_0x5999b0,_0x586376,_0x1a3a11,0x17,_0x44aa63[0x27]),_0x586376=_0x3ff39d(_0x586376,_0x1cd168,_0x21ed9c,_0x5999b0,_0x575926,0x4,_0x44aa63[0x28]),_0x5999b0=_0x3ff39d(_0x5999b0,_0x586376,_0x1cd168,_0x21ed9c,_0x279df1,0xb,_0x44aa63[0x29]),_0x21ed9c=_0x3ff39d(_0x21ed9c,_0x5999b0,_0x586376,_0x1cd168,_0x3ff1d2,0x10,_0x44aa63[0x2a]),_0x1cd168=_0x3ff39d(_0x1cd168,_0x21ed9c,_0x5999b0,_0x586376,_0x52c3f0,0x17,_0x44aa63[0x2b]),_0x586376=_0x3ff39d(_0x586376,_0x1cd168,_0x21ed9c,_0x5999b0,_0x345898,0x4,_0x44aa63[0x2c]),_0x5999b0=_0x3ff39d(_0x5999b0,_0x586376,_0x1cd168,_0x21ed9c,_0x268b96,0xb,_0x44aa63[0x2d]),_0x21ed9c=_0x3ff39d(_0x21ed9c,_0x5999b0,_0x586376,_0x1cd168,_0x2714d3,0x10,_0x44aa63[0x2e]),_0x1cd168=_0x3ff39d(_0x1cd168,_0x21ed9c,_0x5999b0,_0x586376,_0x1f13e6,0x17,_0x44aa63[0x2f]),_0x586376=_0x252ce7(_0x586376,_0x1cd168,_0x21ed9c,_0x5999b0,_0x279df1,0x6,_0x44aa63[0x30]),_0x5999b0=_0x252ce7(_0x5999b0,_0x586376,_0x1cd168,_0x21ed9c,_0x125556,0xa,_0x44aa63[0x31]),_0x21ed9c=_0x252ce7(_0x21ed9c,_0x5999b0,_0x586376,_0x1cd168,_0x5c8694,0xf,_0x44aa63[0x32]),_0x1cd168=_0x252ce7(_0x1cd168,_0x21ed9c,_0x5999b0,_0x586376,_0x2558ea,0x15,_0x44aa63[0x33]),_0x586376=_0x252ce7(_0x586376,_0x1cd168,_0x21ed9c,_0x5999b0,_0x268b96,0x6,_0x44aa63[0x34]),_0x5999b0=_0x252ce7(_0x5999b0,_0x586376,_0x1cd168,_0x21ed9c,_0x3ff1d2,0xa,_0x44aa63[0x35]),_0x21ed9c=_0x252ce7(_0x21ed9c,_0x5999b0,_0x586376,_0x1cd168,_0x1a3a11,0xf,_0x44aa63[0x36]),_0x1cd168=_0x252ce7(_0x1cd168,_0x21ed9c,_0x5999b0,_0x586376,_0x136110,0x15,_0x44aa63[0x37]),_0x586376=_0x252ce7(_0x586376,_0x1cd168,_0x21ed9c,_0x5999b0,_0x210455,0x6,_0x44aa63[0x38]),_0x5999b0=_0x252ce7(_0x5999b0,_0x586376,_0x1cd168,_0x21ed9c,_0x2714d3,0xa,_0x44aa63[0x39]),_0x21ed9c=_0x252ce7(_0x21ed9c,_0x5999b0,_0x586376,_0x1cd168,_0x52c3f0,0xf,_0x44aa63[0x3a]),_0x1cd168=_0x252ce7(_0x1cd168,_0x21ed9c,_0x5999b0,_0x586376,_0x575926,0x15,_0x44aa63[0x3b]),_0x586376=_0x252ce7(_0x586376,_0x1cd168,_0x21ed9c,_0x5999b0,_0x3ad577,0x6,_0x44aa63[0x3c]),_0x5999b0=_0x252ce7(_0x5999b0,_0x586376,_0x1cd168,_0x21ed9c,_0x27e653,0xa,_0x44aa63[0x3d]),_0x21ed9c=_0x252ce7(_0x21ed9c,_0x5999b0,_0x586376,_0x1cd168,_0x1f13e6,0xf,_0x44aa63[0x3e]),_0x1cd168=_0x252ce7(_0x1cd168,_0x21ed9c,_0x5999b0,_0x586376,_0x345898,0x15,_0x44aa63[0x3f]),_0x536343[0x0]=_0x536343[0x0]+_0x586376|0x0,_0x536343[0x1]=_0x536343[0x1]+_0x1cd168|0x0,_0x536343[0x2]=_0x536343[0x2]+_0x21ed9c|0x0,_0x536343[0x3]=_0x536343[0x3]+_0x5999b0|0x0;},'_doFinalize':function(){var _0x28c254=_0x39c9a9,_0x2c5dd9=this['_data'],_0x524383=_0x2c5dd9['words'],_0x1eb8d3=this[_0x28c254(0x3d3)]*0x8,_0x4933b4=_0x2c5dd9['sigBytes']*0x8;_0x524383[_0x4933b4>>>0x5]|=0x80<<0x18-_0x4933b4%0x20;var _0x35dd43=_0xf375b2[_0x28c254(0x394)](_0x1eb8d3/0x100000000),_0x2d2bf9=_0x1eb8d3;_0x524383[(_0x4933b4+0x40>>>0x9<<0x4)+0xf]=(_0x35dd43<<0x8|_0x35dd43>>>0x18)&0xff00ff|(_0x35dd43<<0x18|_0x35dd43>>>0x8)&0xff00ff00,_0x524383[(_0x4933b4+0x40>>>0x9<<0x4)+0xe]=(_0x2d2bf9<<0x8|_0x2d2bf9>>>0x18)&0xff00ff|(_0x2d2bf9<<0x18|_0x2d2bf9>>>0x8)&0xff00ff00,_0x2c5dd9[_0x28c254(0x1dd)]=(_0x524383[_0x28c254(0x398)]+0x1)*0x4,this[_0x28c254(0x92)]();for(var _0x5813f2=this[_0x28c254(0x33b)],_0xc10562=_0x5813f2[_0x28c254(0x35b)],_0x5d7342=0x0;_0x5d7342<0x4;_0x5d7342++){var _0x242d73=_0xc10562[_0x5d7342];_0xc10562[_0x5d7342]=(_0x242d73<<0x8|_0x242d73>>>0x18)&0xff00ff|(_0x242d73<<0x18|_0x242d73>>>0x8)&0xff00ff00;}return _0x5813f2;},'clone':function(){var _0x4ac796=_0x39c9a9,_0x584054=_0x513672['clone']['call'](this);return _0x584054['_hash']=this['_hash'][_0x4ac796(0x336)](),_0x584054;}});function _0x1da548(_0x183126,_0x24bd2d,_0x2f34cc,_0x23b628,_0x4ba94d,_0x2e6856,_0x159483){var _0x2e1706=_0x183126+(_0x24bd2d&_0x2f34cc|~_0x24bd2d&_0x23b628)+_0x4ba94d+_0x159483;return(_0x2e1706<<_0x2e6856|_0x2e1706>>>0x20-_0x2e6856)+_0x24bd2d;}function _0x2abd3c(_0x2e8680,_0x5e69f4,_0x324b85,_0x100d3a,_0x181024,_0x524d0d,_0x36920d){var _0x52a4ef=_0x2e8680+(_0x5e69f4&_0x100d3a|_0x324b85&~_0x100d3a)+_0x181024+_0x36920d;return(_0x52a4ef<<_0x524d0d|_0x52a4ef>>>0x20-_0x524d0d)+_0x5e69f4;}function _0x3ff39d(_0x324244,_0x46e2cf,_0x3901fe,_0x373c05,_0x46e30d,_0x1645b2,_0x50e105){var _0x11d347=_0x324244+(_0x46e2cf^_0x3901fe^_0x373c05)+_0x46e30d+_0x50e105;return(_0x11d347<<_0x1645b2|_0x11d347>>>0x20-_0x1645b2)+_0x46e2cf;}function _0x252ce7(_0x50f6a7,_0x10cbd0,_0x57b5e1,_0x5c95d4,_0x1c6d2e,_0x4cf043,_0xa37c83){var _0x1615eb=_0x50f6a7+(_0x57b5e1^(_0x10cbd0|~_0x5c95d4))+_0x1c6d2e+_0xa37c83;return(_0x1615eb<<_0x4cf043|_0x1615eb>>>0x20-_0x4cf043)+_0x10cbd0;}_0x1ee324['MD5']=_0x513672['_createHelper'](_0x43ca46),_0x1ee324[_0x39c9a9(0x3a5)]=_0x513672['_createHmacHelper'](_0x43ca46);}(Math),_0x13b81b['MD5'];}));}(me)),me[_0x44f472(0x133)];}var Ie={'exports':{}},Ee={'exports':{}},ji=Ee[_0x1f6ce8(0x133)],tt;function $i(){var _0x16c066=_0x1f6ce8;return tt||(tt=0x1,function(_0x187bc8,_0x4e6cc6){(function(_0x419c42,_0x1b6e65){_0x187bc8['exports']=_0x1b6e65(ee());}(ji,function(_0x3c985c){var _0x176c1f=_0x17b6;return(function(){var _0x440701=_0x17b6,_0x48d1ae=_0x3c985c,_0x247867=_0x48d1ae['lib'],_0xba8bcd=_0x247867[_0x440701(0x30c)],_0x2ca883=_0x247867[_0x440701(0x2fe)],_0x5d969b=_0x48d1ae[_0x440701(0x348)],_0x2b47ab=[],_0x24146b=_0x5d969b[_0x440701(0x26c)]=_0x2ca883[_0x440701(0x31c)]({'_doReset':function(){var _0x1902bf=_0x440701;this[_0x1902bf(0x33b)]=new _0xba8bcd[(_0x1902bf(0x2d2))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x5295b7,_0x5d62ce){var _0xf2ddba=_0x440701;for(var _0x178f40=this[_0xf2ddba(0x33b)]['words'],_0xd09852=_0x178f40[0x0],_0x5e763a=_0x178f40[0x1],_0x41ca46=_0x178f40[0x2],_0x5316b1=_0x178f40[0x3],_0x168f53=_0x178f40[0x4],_0x27cab8=0x0;_0x27cab8<0x50;_0x27cab8++){if(_0x27cab8<0x10)_0x2b47ab[_0x27cab8]=_0x5295b7[_0x5d62ce+_0x27cab8]|0x0;else{var _0x506aec=_0x2b47ab[_0x27cab8-0x3]^_0x2b47ab[_0x27cab8-0x8]^_0x2b47ab[_0x27cab8-0xe]^_0x2b47ab[_0x27cab8-0x10];_0x2b47ab[_0x27cab8]=_0x506aec<<0x1|_0x506aec>>>0x1f;}var _0x764d67=(_0xd09852<<0x5|_0xd09852>>>0x1b)+_0x168f53+_0x2b47ab[_0x27cab8];_0x27cab8<0x14?_0x764d67+=(_0x5e763a&_0x41ca46|~_0x5e763a&_0x5316b1)+0x5a827999:_0x27cab8<0x28?_0x764d67+=(_0x5e763a^_0x41ca46^_0x5316b1)+0x6ed9eba1:_0x27cab8<0x3c?_0x764d67+=(_0x5e763a&_0x41ca46|_0x5e763a&_0x5316b1|_0x41ca46&_0x5316b1)-0x70e44324:_0x764d67+=(_0x5e763a^_0x41ca46^_0x5316b1)-0x359d3e2a,_0x168f53=_0x5316b1,_0x5316b1=_0x41ca46,_0x41ca46=_0x5e763a<<0x1e|_0x5e763a>>>0x2,_0x5e763a=_0xd09852,_0xd09852=_0x764d67;}_0x178f40[0x0]=_0x178f40[0x0]+_0xd09852|0x0,_0x178f40[0x1]=_0x178f40[0x1]+_0x5e763a|0x0,_0x178f40[0x2]=_0x178f40[0x2]+_0x41ca46|0x0,_0x178f40[0x3]=_0x178f40[0x3]+_0x5316b1|0x0,_0x178f40[0x4]=_0x178f40[0x4]+_0x168f53|0x0;},'_doFinalize':function(){var _0x222ba1=_0x440701,_0xaa2f93=this[_0x222ba1(0x1f9)],_0x1b29ce=_0xaa2f93[_0x222ba1(0x35b)],_0x1da2ee=this[_0x222ba1(0x3d3)]*0x8,_0x354f36=_0xaa2f93['sigBytes']*0x8;return _0x1b29ce[_0x354f36>>>0x5]|=0x80<<0x18-_0x354f36%0x20,_0x1b29ce[(_0x354f36+0x40>>>0x9<<0x4)+0xe]=Math[_0x222ba1(0x394)](_0x1da2ee/0x100000000),_0x1b29ce[(_0x354f36+0x40>>>0x9<<0x4)+0xf]=_0x1da2ee,_0xaa2f93[_0x222ba1(0x1dd)]=_0x1b29ce['length']*0x4,this[_0x222ba1(0x92)](),this[_0x222ba1(0x33b)];},'clone':function(){var _0x1f88d7=_0x440701,_0x2b247e=_0x2ca883[_0x1f88d7(0x336)]['call'](this);return _0x2b247e[_0x1f88d7(0x33b)]=this[_0x1f88d7(0x33b)][_0x1f88d7(0x336)](),_0x2b247e;}});_0x48d1ae[_0x440701(0x26c)]=_0x2ca883[_0x440701(0x2b3)](_0x24146b),_0x48d1ae[_0x440701(0x20d)]=_0x2ca883[_0x440701(0x2f1)](_0x24146b);}()),_0x3c985c[_0x176c1f(0x26c)];}));}(Ee)),Ee[_0x16c066(0x133)];}var Ce={'exports':{}},Bi=Ce[_0x1f6ce8(0x133)],it;function Fi(){var _0x59ba2e=_0x1f6ce8;return it||(it=0x1,function(_0xe5bf39,_0x5f4263){(function(_0x5ea975,_0x3989d3){_0xe5bf39['exports']=_0x3989d3(ee());}(Bi,function(_0x5a9565){(function(){var _0x1c82d1=_0x17b6,_0x3ce2a4=_0x5a9565,_0x318564=_0x3ce2a4[_0x1c82d1(0x177)],_0x18572a=_0x318564[_0x1c82d1(0x34f)],_0x51c039=_0x3ce2a4[_0x1c82d1(0x26d)],_0x2355db=_0x51c039[_0x1c82d1(0x37f)],_0x1627ff=_0x3ce2a4[_0x1c82d1(0x348)];_0x1627ff[_0x1c82d1(0x319)]=_0x18572a['extend']({'init':function(_0x395c1c,_0x4fddae){var _0x4d20fb=_0x1c82d1;_0x395c1c=this[_0x4d20fb(0x135)]=new _0x395c1c[(_0x4d20fb(0x2d2))](),typeof _0x4fddae==_0x4d20fb(0x168)&&(_0x4fddae=_0x2355db[_0x4d20fb(0x15a)](_0x4fddae));var _0x5620f5=_0x395c1c['blockSize'],_0x45cb2c=_0x5620f5*0x4;_0x4fddae[_0x4d20fb(0x1dd)]>_0x45cb2c&&(_0x4fddae=_0x395c1c[_0x4d20fb(0x200)](_0x4fddae)),_0x4fddae[_0x4d20fb(0x3dc)]();for(var _0x7ec52d=this['_oKey']=_0x4fddae['clone'](),_0x27e23d=this['_iKey']=_0x4fddae[_0x4d20fb(0x336)](),_0xb6567=_0x7ec52d[_0x4d20fb(0x35b)],_0xa0efc3=_0x27e23d[_0x4d20fb(0x35b)],_0x466efa=0x0;_0x466efa<_0x5620f5;_0x466efa++)_0xb6567[_0x466efa]^=0x5c5c5c5c,_0xa0efc3[_0x466efa]^=0x36363636;_0x7ec52d[_0x4d20fb(0x1dd)]=_0x27e23d['sigBytes']=_0x45cb2c,this[_0x4d20fb(0x1c5)]();},'reset':function(){var _0x1fea8d=_0x1c82d1,_0x32ece4=this[_0x1fea8d(0x135)];_0x32ece4[_0x1fea8d(0x1c5)](),_0x32ece4[_0x1fea8d(0x3d1)](this[_0x1fea8d(0x89)]);},'update':function(_0x41efc3){var _0x478e05=_0x1c82d1;return this[_0x478e05(0x135)]['update'](_0x41efc3),this;},'finalize':function(_0x5492af){var _0x2f2a20=_0x1c82d1,_0x152c04=this[_0x2f2a20(0x135)],_0x57349d=_0x152c04[_0x2f2a20(0x200)](_0x5492af);_0x152c04[_0x2f2a20(0x1c5)]();var _0x121533=_0x152c04['finalize'](this[_0x2f2a20(0x8f)][_0x2f2a20(0x336)]()['concat'](_0x57349d));return _0x121533;}});}());}));}(Ce)),Ce[_0x59ba2e(0x133)];}var Vi=Ie['exports'],nt;function At(){return nt||(nt=0x1,function(_0x4c9959,_0x3cae72){(function(_0x2f9551,_0x2d08d1,_0x396def){var _0x4bd824=_0x17b6;_0x4c9959[_0x4bd824(0x133)]=_0x2d08d1(ee(),$i(),Fi());}(Vi,function(_0x1953b8){return(function(){var _0x1985c0=_0x17b6,_0x3c00ae=_0x1953b8,_0x5ec4c1=_0x3c00ae[_0x1985c0(0x177)],_0x2d385b=_0x5ec4c1[_0x1985c0(0x34f)],_0x29caf3=_0x5ec4c1['WordArray'],_0x1f8958=_0x3c00ae['algo'],_0x1e71c6=_0x1f8958[_0x1985c0(0x1d6)],_0x58bb38=_0x1f8958[_0x1985c0(0x11f)]=_0x2d385b[_0x1985c0(0x31c)]({'cfg':_0x2d385b['extend']({'keySize':0x80/0x20,'hasher':_0x1e71c6,'iterations':0x1}),'init':function(_0x45574b){var _0x22ae4e=_0x1985c0;this[_0x22ae4e(0x259)]=this[_0x22ae4e(0x259)][_0x22ae4e(0x31c)](_0x45574b);},'compute':function(_0x2ea81a,_0x38a2bf){var _0x1840b1=_0x1985c0;for(var _0x3ee5c9,_0x7920f1=this[_0x1840b1(0x259)],_0x2d64e4=_0x7920f1[_0x1840b1(0x1c6)][_0x1840b1(0x12a)](),_0x3ab557=_0x29caf3['create'](),_0x463258=_0x3ab557[_0x1840b1(0x35b)],_0x32cfb5=_0x7920f1[_0x1840b1(0x26f)],_0x487d16=_0x7920f1[_0x1840b1(0x281)];_0x463258['length']<_0x32cfb5;){_0x3ee5c9&&_0x2d64e4[_0x1840b1(0x3d1)](_0x3ee5c9),_0x3ee5c9=_0x2d64e4[_0x1840b1(0x3d1)](_0x2ea81a)[_0x1840b1(0x200)](_0x38a2bf),_0x2d64e4[_0x1840b1(0x1c5)]();for(var _0x1a33c1=0x1;_0x1a33c1<_0x487d16;_0x1a33c1++)_0x3ee5c9=_0x2d64e4[_0x1840b1(0x200)](_0x3ee5c9),_0x2d64e4[_0x1840b1(0x1c5)]();_0x3ab557['concat'](_0x3ee5c9);}return _0x3ab557['sigBytes']=_0x32cfb5*0x4,_0x3ab557;}});_0x3c00ae['EvpKDF']=function(_0x5c9810,_0x4ce77c,_0x213b5b){var _0x3c0186=_0x1985c0;return _0x58bb38[_0x3c0186(0x12a)](_0x213b5b)[_0x3c0186(0x35d)](_0x5c9810,_0x4ce77c);};}()),_0x1953b8['EvpKDF'];}));}(Ie)),Ie['exports'];}var Te={'exports':{}},Wi=Te['exports'],rt;function Pt(){return rt||(rt=0x1,function(_0x3dd21f,_0x5e0d2d){(function(_0x7ab83b,_0x135dbe,_0x13f8ba){var _0x53d88c=_0x17b6;_0x3dd21f[_0x53d88c(0x133)]=_0x135dbe(ee(),At());}(Wi,function(_0x31a718){var _0x44476b=_0x17b6;_0x31a718['lib'][_0x44476b(0x1fa)]||function(_0x416465){var _0x5be2fa=_0x44476b,_0x4c229a=_0x31a718,_0x5d6585=_0x4c229a[_0x5be2fa(0x177)],_0x3f750b=_0x5d6585[_0x5be2fa(0x34f)],_0x23f6c=_0x5d6585[_0x5be2fa(0x30c)],_0x3ad746=_0x5d6585['BufferedBlockAlgorithm'],_0x20bd85=_0x4c229a[_0x5be2fa(0x26d)];_0x20bd85[_0x5be2fa(0x37f)];var _0x10e77e=_0x20bd85['Base64'],_0x2ebb10=_0x4c229a[_0x5be2fa(0x348)],_0x3397c9=_0x2ebb10[_0x5be2fa(0x11f)],_0x1637f2=_0x5d6585['Cipher']=_0x3ad746['extend']({'cfg':_0x3f750b[_0x5be2fa(0x31c)](),'createEncryptor':function(_0x3605d5,_0x2ba641){var _0x1d03c7=_0x5be2fa;return this['create'](this[_0x1d03c7(0x31b)],_0x3605d5,_0x2ba641);},'createDecryptor':function(_0x806be2,_0x2c01e8){var _0xf862f5=_0x5be2fa;return this[_0xf862f5(0x12a)](this[_0xf862f5(0x3b0)],_0x806be2,_0x2c01e8);},'init':function(_0x4207dc,_0x1aa06f,_0x21a669){var _0x1f121c=_0x5be2fa;this[_0x1f121c(0x259)]=this[_0x1f121c(0x259)]['extend'](_0x21a669),this[_0x1f121c(0x1f3)]=_0x4207dc,this[_0x1f121c(0x3c5)]=_0x1aa06f,this['reset']();},'reset':function(){var _0x25d33e=_0x5be2fa;_0x3ad746[_0x25d33e(0x1c5)][_0x25d33e(0x2ac)](this),this[_0x25d33e(0x196)]();},'process':function(_0x2ba02c){var _0x8955ff=_0x5be2fa;return this[_0x8955ff(0x9e)](_0x2ba02c),this[_0x8955ff(0x92)]();},'finalize':function(_0x2cdee2){var _0x45c96e=_0x5be2fa;_0x2cdee2&&this[_0x45c96e(0x9e)](_0x2cdee2);var _0xdea668=this[_0x45c96e(0x122)]();return _0xdea668;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x53a288(_0x2d47b1){var _0xdb57b0=_0x17b6;return typeof _0x2d47b1==_0xdb57b0(0x168)?_0x1a77ae:_0x3b29b6;}return function(_0x4e8289){return{'encrypt':function(_0x931c29,_0x5a47c1,_0x2b5b28){var _0x34a8b9=_0x17b6;return _0x53a288(_0x5a47c1)[_0x34a8b9(0x20e)](_0x4e8289,_0x931c29,_0x5a47c1,_0x2b5b28);},'decrypt':function(_0x315279,_0x46dcc5,_0xf47cd7){var _0x12e943=_0x17b6;return _0x53a288(_0x46dcc5)[_0x12e943(0x350)](_0x4e8289,_0x315279,_0x46dcc5,_0xf47cd7);}};};}())});_0x5d6585[_0x5be2fa(0x21c)]=_0x1637f2[_0x5be2fa(0x31c)]({'_doFinalize':function(){var _0x87cb57=_0x5be2fa,_0x5186a4=this[_0x87cb57(0x92)](!0x0);return _0x5186a4;},'blockSize':0x1});var _0x1ad191=_0x4c229a[_0x5be2fa(0x209)]={},_0xbbcd3=_0x5d6585['BlockCipherMode']=_0x3f750b['extend']({'createEncryptor':function(_0x3dd62e,_0x67a7b7){var _0x7918ee=_0x5be2fa;return this['Encryptor'][_0x7918ee(0x12a)](_0x3dd62e,_0x67a7b7);},'createDecryptor':function(_0x358779,_0x24f94e){var _0x3330d2=_0x5be2fa;return this[_0x3330d2(0x275)][_0x3330d2(0x12a)](_0x358779,_0x24f94e);},'init':function(_0x1b40ea,_0x51548c){var _0x1bfe9e=_0x5be2fa;this[_0x1bfe9e(0x1de)]=_0x1b40ea,this[_0x1bfe9e(0x38d)]=_0x51548c;}}),_0x398174=_0x1ad191[_0x5be2fa(0x22d)]=(function(){var _0x13482b=_0x5be2fa,_0x5ed521=_0xbbcd3[_0x13482b(0x31c)]();_0x5ed521[_0x13482b(0xe1)]=_0x5ed521[_0x13482b(0x31c)]({'processBlock':function(_0x1aec88,_0x9d71f){var _0x1e0a2a=_0x13482b,_0xb17fd0=this[_0x1e0a2a(0x1de)],_0x2b938d=_0xb17fd0[_0x1e0a2a(0x112)];_0x1ea7ac[_0x1e0a2a(0x2ac)](this,_0x1aec88,_0x9d71f,_0x2b938d),_0xb17fd0[_0x1e0a2a(0x114)](_0x1aec88,_0x9d71f),this[_0x1e0a2a(0x12c)]=_0x1aec88[_0x1e0a2a(0x18a)](_0x9d71f,_0x9d71f+_0x2b938d);}}),_0x5ed521[_0x13482b(0x275)]=_0x5ed521[_0x13482b(0x31c)]({'processBlock':function(_0x390090,_0x4cf4ae){var _0x49cdd2=_0x13482b,_0x5938a0=this['_cipher'],_0x44977b=_0x5938a0['blockSize'],_0x5ac542=_0x390090['slice'](_0x4cf4ae,_0x4cf4ae+_0x44977b);_0x5938a0[_0x49cdd2(0x387)](_0x390090,_0x4cf4ae),_0x1ea7ac[_0x49cdd2(0x2ac)](this,_0x390090,_0x4cf4ae,_0x44977b),this[_0x49cdd2(0x12c)]=_0x5ac542;}});function _0x1ea7ac(_0x26394c,_0x5c50ea,_0x448843){var _0x445714=_0x13482b,_0x41cddb,_0x41cad4=this['_iv'];_0x41cad4?(_0x41cddb=_0x41cad4,this[_0x445714(0x38d)]=_0x416465):_0x41cddb=this[_0x445714(0x12c)];for(var _0x1698b3=0x0;_0x1698b3<_0x448843;_0x1698b3++)_0x26394c[_0x5c50ea+_0x1698b3]^=_0x41cddb[_0x1698b3];}return _0x5ed521;}()),_0x5ef5d9=_0x4c229a['pad']={},_0x40a179=_0x5ef5d9[_0x5be2fa(0x3dd)]={'pad':function(_0x1d7d84,_0x18ba14){var _0x3490ae=_0x5be2fa;for(var _0x4b322f=_0x18ba14*0x4,_0x48985e=_0x4b322f-_0x1d7d84[_0x3490ae(0x1dd)]%_0x4b322f,_0x421c1e=_0x48985e<<0x18|_0x48985e<<0x10|_0x48985e<<0x8|_0x48985e,_0xac34ca=[],_0x2fbfab=0x0;_0x2fbfab<_0x48985e;_0x2fbfab+=0x4)_0xac34ca[_0x3490ae(0x153)](_0x421c1e);var _0x326658=_0x23f6c[_0x3490ae(0x12a)](_0xac34ca,_0x48985e);_0x1d7d84[_0x3490ae(0x277)](_0x326658);},'unpad':function(_0x392d2b){var _0x2c832c=_0x5be2fa,_0x7ef19b=_0x392d2b[_0x2c832c(0x35b)][_0x392d2b[_0x2c832c(0x1dd)]-0x1>>>0x2]&0xff;_0x392d2b[_0x2c832c(0x1dd)]-=_0x7ef19b;}};_0x5d6585['BlockCipher']=_0x1637f2[_0x5be2fa(0x31c)]({'cfg':_0x1637f2[_0x5be2fa(0x259)]['extend']({'mode':_0x398174,'padding':_0x40a179}),'reset':function(){var _0x33bc0e=_0x5be2fa,_0x2095ae;_0x1637f2[_0x33bc0e(0x1c5)]['call'](this);var _0x434890=this[_0x33bc0e(0x259)],_0x5618c5=_0x434890['iv'],_0x5debe0=_0x434890[_0x33bc0e(0x209)];this[_0x33bc0e(0x1f3)]==this['_ENC_XFORM_MODE']?_0x2095ae=_0x5debe0[_0x33bc0e(0x228)]:(_0x2095ae=_0x5debe0['createDecryptor'],this['_minBufferSize']=0x1),this[_0x33bc0e(0x207)]&&this[_0x33bc0e(0x207)][_0x33bc0e(0x28a)]==_0x2095ae?this[_0x33bc0e(0x207)]['init'](this,_0x5618c5&&_0x5618c5[_0x33bc0e(0x35b)]):(this[_0x33bc0e(0x207)]=_0x2095ae[_0x33bc0e(0x2ac)](_0x5debe0,this,_0x5618c5&&_0x5618c5[_0x33bc0e(0x35b)]),this[_0x33bc0e(0x207)]['__creator']=_0x2095ae);},'_doProcessBlock':function(_0x377286,_0x131d0c){var _0x9b2761=_0x5be2fa;this[_0x9b2761(0x207)][_0x9b2761(0x3c3)](_0x377286,_0x131d0c);},'_doFinalize':function(){var _0x4e2d0f=_0x5be2fa,_0x439a6d,_0x2d9f64=this['cfg']['padding'];return this[_0x4e2d0f(0x1f3)]==this[_0x4e2d0f(0x31b)]?(_0x2d9f64[_0x4e2d0f(0xbd)](this[_0x4e2d0f(0x1f9)],this['blockSize']),_0x439a6d=this[_0x4e2d0f(0x92)](!0x0)):(_0x439a6d=this[_0x4e2d0f(0x92)](!0x0),_0x2d9f64[_0x4e2d0f(0x356)](_0x439a6d)),_0x439a6d;},'blockSize':0x80/0x20});var _0x24946f=_0x5d6585[_0x5be2fa(0xee)]=_0x3f750b['extend']({'init':function(_0x524d3d){var _0x4396da=_0x5be2fa;this[_0x4396da(0x24a)](_0x524d3d);},'toString':function(_0x96e3ec){var _0x579274=_0x5be2fa;return(_0x96e3ec||this[_0x579274(0x3ac)])[_0x579274(0x1ca)](this);}}),_0x3ec0c8=_0x4c229a[_0x5be2fa(0x1ff)]={},_0x2861fd=_0x3ec0c8['OpenSSL']={'stringify':function(_0x4eabbd){var _0x3f62fa=_0x5be2fa,_0x2a583b,_0x26f879=_0x4eabbd[_0x3f62fa(0x206)],_0x53abeb=_0x4eabbd[_0x3f62fa(0x351)];return _0x53abeb?_0x2a583b=_0x23f6c['create']([0x53616c74,0x65645f5f])[_0x3f62fa(0x277)](_0x53abeb)[_0x3f62fa(0x277)](_0x26f879):_0x2a583b=_0x26f879,_0x2a583b[_0x3f62fa(0x31f)](_0x10e77e);},'parse':function(_0x3e7708){var _0x4dfb86=_0x5be2fa,_0x2c6562,_0x547634=_0x10e77e[_0x4dfb86(0x15a)](_0x3e7708),_0x1f83d6=_0x547634[_0x4dfb86(0x35b)];return _0x1f83d6[0x0]==0x53616c74&&_0x1f83d6[0x1]==0x65645f5f&&(_0x2c6562=_0x23f6c['create'](_0x1f83d6[_0x4dfb86(0x18a)](0x2,0x4)),_0x1f83d6[_0x4dfb86(0x13c)](0x0,0x4),_0x547634[_0x4dfb86(0x1dd)]-=0x10),_0x24946f['create']({'ciphertext':_0x547634,'salt':_0x2c6562});}},_0x3b29b6=_0x5d6585[_0x5be2fa(0xc2)]=_0x3f750b[_0x5be2fa(0x31c)]({'cfg':_0x3f750b[_0x5be2fa(0x31c)]({'format':_0x2861fd}),'encrypt':function(_0x441e28,_0x550b15,_0x1848d2,_0x4fef73){var _0x5abed5=_0x5be2fa;_0x4fef73=this[_0x5abed5(0x259)][_0x5abed5(0x31c)](_0x4fef73);var _0x145080=_0x441e28[_0x5abed5(0x228)](_0x1848d2,_0x4fef73),_0x180d90=_0x145080['finalize'](_0x550b15),_0x366765=_0x145080[_0x5abed5(0x259)];return _0x24946f[_0x5abed5(0x12a)]({'ciphertext':_0x180d90,'key':_0x1848d2,'iv':_0x366765['iv'],'algorithm':_0x441e28,'mode':_0x366765[_0x5abed5(0x209)],'padding':_0x366765[_0x5abed5(0x3bd)],'blockSize':_0x441e28[_0x5abed5(0x112)],'formatter':_0x4fef73['format']});},'decrypt':function(_0x52d09f,_0x276181,_0x180d89,_0x363636){var _0x31675b=_0x5be2fa;_0x363636=this[_0x31675b(0x259)][_0x31675b(0x31c)](_0x363636),_0x276181=this['_parse'](_0x276181,_0x363636['format']);var _0xbbb275=_0x52d09f['createDecryptor'](_0x180d89,_0x363636)['finalize'](_0x276181[_0x31675b(0x206)]);return _0xbbb275;},'_parse':function(_0x5d4937,_0x5e517f){var _0xc265ab=_0x5be2fa;return typeof _0x5d4937==_0xc265ab(0x168)?_0x5e517f[_0xc265ab(0x15a)](_0x5d4937,this):_0x5d4937;}}),_0x4452b6=_0x4c229a[_0x5be2fa(0x2e1)]={},_0x586ed7=_0x4452b6['OpenSSL']={'execute':function(_0x165427,_0x3d4a6a,_0x476d45,_0x6e1444,_0x314067){var _0x925ed1=_0x5be2fa;if(_0x6e1444||(_0x6e1444=_0x23f6c[_0x925ed1(0x33e)](0x40/0x8)),_0x314067)var _0x264920=_0x3397c9[_0x925ed1(0x12a)]({'keySize':_0x3d4a6a+_0x476d45,'hasher':_0x314067})[_0x925ed1(0x35d)](_0x165427,_0x6e1444);else var _0x264920=_0x3397c9['create']({'keySize':_0x3d4a6a+_0x476d45})['compute'](_0x165427,_0x6e1444);var _0x12127e=_0x23f6c[_0x925ed1(0x12a)](_0x264920['words'][_0x925ed1(0x18a)](_0x3d4a6a),_0x476d45*0x4);return _0x264920['sigBytes']=_0x3d4a6a*0x4,_0x24946f[_0x925ed1(0x12a)]({'key':_0x264920,'iv':_0x12127e,'salt':_0x6e1444});}},_0x1a77ae=_0x5d6585[_0x5be2fa(0x175)]=_0x3b29b6['extend']({'cfg':_0x3b29b6[_0x5be2fa(0x259)][_0x5be2fa(0x31c)]({'kdf':_0x586ed7}),'encrypt':function(_0x8a9724,_0x51f1f0,_0x18a741,_0x29e8c8){var _0x4803a6=_0x5be2fa;_0x29e8c8=this['cfg'][_0x4803a6(0x31c)](_0x29e8c8);var _0x252a68=_0x29e8c8['kdf'][_0x4803a6(0x8a)](_0x18a741,_0x8a9724['keySize'],_0x8a9724[_0x4803a6(0x19b)],_0x29e8c8[_0x4803a6(0x351)],_0x29e8c8[_0x4803a6(0x1c6)]);_0x29e8c8['iv']=_0x252a68['iv'];var _0x54e331=_0x3b29b6[_0x4803a6(0x20e)][_0x4803a6(0x2ac)](this,_0x8a9724,_0x51f1f0,_0x252a68[_0x4803a6(0x201)],_0x29e8c8);return _0x54e331[_0x4803a6(0x24a)](_0x252a68),_0x54e331;},'decrypt':function(_0x42f20b,_0x12589a,_0x127413,_0xc3873e){var _0x2a634d=_0x5be2fa;_0xc3873e=this[_0x2a634d(0x259)][_0x2a634d(0x31c)](_0xc3873e),_0x12589a=this['_parse'](_0x12589a,_0xc3873e[_0x2a634d(0x1ff)]);var _0x2e3fbc=_0xc3873e[_0x2a634d(0x2e1)][_0x2a634d(0x8a)](_0x127413,_0x42f20b[_0x2a634d(0x26f)],_0x42f20b[_0x2a634d(0x19b)],_0x12589a[_0x2a634d(0x351)],_0xc3873e['hasher']);_0xc3873e['iv']=_0x2e3fbc['iv'];var _0x435fc7=_0x3b29b6[_0x2a634d(0x350)][_0x2a634d(0x2ac)](this,_0x42f20b,_0x12589a,_0x2e3fbc[_0x2a634d(0x201)],_0xc3873e);return _0x435fc7;}});}();}));}(Te)),Te['exports'];}var Gi=fe[_0x1f6ce8(0x133)],st;function Ki(){var _0x40b9c1=_0x1f6ce8;return st||(st=0x1,function(_0x282b4c,_0x5e67cc){(function(_0x50914b,_0x4afccc,_0x6fb440){var _0xc963df=_0x17b6;_0x282b4c[_0xc963df(0x133)]=_0x4afccc(ee(),Ut(),Hi(),At(),Pt());}(Gi,function(_0x2db9b8){var _0x2ffcb7=_0x17b6;return(function(){var _0x4f0413=_0x17b6,_0x2ce621=_0x2db9b8,_0x15be8e=_0x2ce621[_0x4f0413(0x177)],_0x27660c=_0x15be8e[_0x4f0413(0x395)],_0x1eee1c=_0x2ce621[_0x4f0413(0x348)],_0x2da9b5=[],_0x578ab0=[],_0x40f99f=[],_0x4373f7=[],_0x99797c=[],_0x5d1ee7=[],_0x4fd01a=[],_0x392f2d=[],_0x1d2a3a=[],_0x3792ff=[];(function(){for(var _0x1f2f37=[],_0x27e6be=0x0;_0x27e6be<0x100;_0x27e6be++)_0x27e6be<0x80?_0x1f2f37[_0x27e6be]=_0x27e6be<<0x1:_0x1f2f37[_0x27e6be]=_0x27e6be<<0x1^0x11b;for(var _0x30cd9d=0x0,_0x349409=0x0,_0x27e6be=0x0;_0x27e6be<0x100;_0x27e6be++){var _0x4ca217=_0x349409^_0x349409<<0x1^_0x349409<<0x2^_0x349409<<0x3^_0x349409<<0x4;_0x4ca217=_0x4ca217>>>0x8^_0x4ca217&0xff^0x63,_0x2da9b5[_0x30cd9d]=_0x4ca217,_0x578ab0[_0x4ca217]=_0x30cd9d;var _0x1d502=_0x1f2f37[_0x30cd9d],_0x31e795=_0x1f2f37[_0x1d502],_0x283e44=_0x1f2f37[_0x31e795],_0x20b5a4=_0x1f2f37[_0x4ca217]*0x101^_0x4ca217*0x1010100;_0x40f99f[_0x30cd9d]=_0x20b5a4<<0x18|_0x20b5a4>>>0x8,_0x4373f7[_0x30cd9d]=_0x20b5a4<<0x10|_0x20b5a4>>>0x10,_0x99797c[_0x30cd9d]=_0x20b5a4<<0x8|_0x20b5a4>>>0x18,_0x5d1ee7[_0x30cd9d]=_0x20b5a4;var _0x20b5a4=_0x283e44*0x1010101^_0x31e795*0x10001^_0x1d502*0x101^_0x30cd9d*0x1010100;_0x4fd01a[_0x4ca217]=_0x20b5a4<<0x18|_0x20b5a4>>>0x8,_0x392f2d[_0x4ca217]=_0x20b5a4<<0x10|_0x20b5a4>>>0x10,_0x1d2a3a[_0x4ca217]=_0x20b5a4<<0x8|_0x20b5a4>>>0x18,_0x3792ff[_0x4ca217]=_0x20b5a4,_0x30cd9d?(_0x30cd9d=_0x1d502^_0x1f2f37[_0x1f2f37[_0x1f2f37[_0x283e44^_0x1d502]]],_0x349409^=_0x1f2f37[_0x1f2f37[_0x349409]]):_0x30cd9d=_0x349409=0x1;}}());var _0x285a69=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x1e9906=_0x1eee1c[_0x4f0413(0x286)]=_0x27660c[_0x4f0413(0x31c)]({'_doReset':function(){var _0x164991=_0x4f0413,_0x4c3307;if(!(this[_0x164991(0x369)]&&this[_0x164991(0x1fc)]===this[_0x164991(0x3c5)])){for(var _0x10c2f7=this[_0x164991(0x1fc)]=this[_0x164991(0x3c5)],_0x2d3a10=_0x10c2f7['words'],_0x433af2=_0x10c2f7[_0x164991(0x1dd)]/0x4,_0x18fd29=this[_0x164991(0x369)]=_0x433af2+0x6,_0x468e13=(_0x18fd29+0x1)*0x4,_0x26e36a=this[_0x164991(0x155)]=[],_0x3080b9=0x0;_0x3080b9<_0x468e13;_0x3080b9++)_0x3080b9<_0x433af2?_0x26e36a[_0x3080b9]=_0x2d3a10[_0x3080b9]:(_0x4c3307=_0x26e36a[_0x3080b9-0x1],_0x3080b9%_0x433af2?_0x433af2>0x6&&_0x3080b9%_0x433af2==0x4&&(_0x4c3307=_0x2da9b5[_0x4c3307>>>0x18]<<0x18|_0x2da9b5[_0x4c3307>>>0x10&0xff]<<0x10|_0x2da9b5[_0x4c3307>>>0x8&0xff]<<0x8|_0x2da9b5[_0x4c3307&0xff]):(_0x4c3307=_0x4c3307<<0x8|_0x4c3307>>>0x18,_0x4c3307=_0x2da9b5[_0x4c3307>>>0x18]<<0x18|_0x2da9b5[_0x4c3307>>>0x10&0xff]<<0x10|_0x2da9b5[_0x4c3307>>>0x8&0xff]<<0x8|_0x2da9b5[_0x4c3307&0xff],_0x4c3307^=_0x285a69[_0x3080b9/_0x433af2|0x0]<<0x18),_0x26e36a[_0x3080b9]=_0x26e36a[_0x3080b9-_0x433af2]^_0x4c3307);for(var _0x2bf5b9=this[_0x164991(0xf2)]=[],_0x4081da=0x0;_0x4081da<_0x468e13;_0x4081da++){var _0x3080b9=_0x468e13-_0x4081da;if(_0x4081da%0x4)var _0x4c3307=_0x26e36a[_0x3080b9];else var _0x4c3307=_0x26e36a[_0x3080b9-0x4];_0x4081da<0x4||_0x3080b9<=0x4?_0x2bf5b9[_0x4081da]=_0x4c3307:_0x2bf5b9[_0x4081da]=_0x4fd01a[_0x2da9b5[_0x4c3307>>>0x18]]^_0x392f2d[_0x2da9b5[_0x4c3307>>>0x10&0xff]]^_0x1d2a3a[_0x2da9b5[_0x4c3307>>>0x8&0xff]]^_0x3792ff[_0x2da9b5[_0x4c3307&0xff]];}}},'encryptBlock':function(_0xc5f436,_0x3fa194){var _0xba3491=_0x4f0413;this[_0xba3491(0x18f)](_0xc5f436,_0x3fa194,this[_0xba3491(0x155)],_0x40f99f,_0x4373f7,_0x99797c,_0x5d1ee7,_0x2da9b5);},'decryptBlock':function(_0x2da968,_0xbbfc32){var _0x5c341d=_0x4f0413,_0x25123c=_0x2da968[_0xbbfc32+0x1];_0x2da968[_0xbbfc32+0x1]=_0x2da968[_0xbbfc32+0x3],_0x2da968[_0xbbfc32+0x3]=_0x25123c,this[_0x5c341d(0x18f)](_0x2da968,_0xbbfc32,this[_0x5c341d(0xf2)],_0x4fd01a,_0x392f2d,_0x1d2a3a,_0x3792ff,_0x578ab0);var _0x25123c=_0x2da968[_0xbbfc32+0x1];_0x2da968[_0xbbfc32+0x1]=_0x2da968[_0xbbfc32+0x3],_0x2da968[_0xbbfc32+0x3]=_0x25123c;},'_doCryptBlock':function(_0x282009,_0x5a016f,_0x5c3f4e,_0x24e07e,_0xa3da18,_0x3b000f,_0x21cc32,_0x270fab){var _0x35a464=_0x4f0413;for(var _0x435f1b=this[_0x35a464(0x369)],_0x531dbc=_0x282009[_0x5a016f]^_0x5c3f4e[0x0],_0x56ee82=_0x282009[_0x5a016f+0x1]^_0x5c3f4e[0x1],_0x2cbab6=_0x282009[_0x5a016f+0x2]^_0x5c3f4e[0x2],_0x15bbcd=_0x282009[_0x5a016f+0x3]^_0x5c3f4e[0x3],_0x32172e=0x4,_0x4cbbf6=0x1;_0x4cbbf6<_0x435f1b;_0x4cbbf6++){var _0x4edb06=_0x24e07e[_0x531dbc>>>0x18]^_0xa3da18[_0x56ee82>>>0x10&0xff]^_0x3b000f[_0x2cbab6>>>0x8&0xff]^_0x21cc32[_0x15bbcd&0xff]^_0x5c3f4e[_0x32172e++],_0x576b2d=_0x24e07e[_0x56ee82>>>0x18]^_0xa3da18[_0x2cbab6>>>0x10&0xff]^_0x3b000f[_0x15bbcd>>>0x8&0xff]^_0x21cc32[_0x531dbc&0xff]^_0x5c3f4e[_0x32172e++],_0x20a191=_0x24e07e[_0x2cbab6>>>0x18]^_0xa3da18[_0x15bbcd>>>0x10&0xff]^_0x3b000f[_0x531dbc>>>0x8&0xff]^_0x21cc32[_0x56ee82&0xff]^_0x5c3f4e[_0x32172e++],_0x3f9ddb=_0x24e07e[_0x15bbcd>>>0x18]^_0xa3da18[_0x531dbc>>>0x10&0xff]^_0x3b000f[_0x56ee82>>>0x8&0xff]^_0x21cc32[_0x2cbab6&0xff]^_0x5c3f4e[_0x32172e++];_0x531dbc=_0x4edb06,_0x56ee82=_0x576b2d,_0x2cbab6=_0x20a191,_0x15bbcd=_0x3f9ddb;}var _0x4edb06=(_0x270fab[_0x531dbc>>>0x18]<<0x18|_0x270fab[_0x56ee82>>>0x10&0xff]<<0x10|_0x270fab[_0x2cbab6>>>0x8&0xff]<<0x8|_0x270fab[_0x15bbcd&0xff])^_0x5c3f4e[_0x32172e++],_0x576b2d=(_0x270fab[_0x56ee82>>>0x18]<<0x18|_0x270fab[_0x2cbab6>>>0x10&0xff]<<0x10|_0x270fab[_0x15bbcd>>>0x8&0xff]<<0x8|_0x270fab[_0x531dbc&0xff])^_0x5c3f4e[_0x32172e++],_0x20a191=(_0x270fab[_0x2cbab6>>>0x18]<<0x18|_0x270fab[_0x15bbcd>>>0x10&0xff]<<0x10|_0x270fab[_0x531dbc>>>0x8&0xff]<<0x8|_0x270fab[_0x56ee82&0xff])^_0x5c3f4e[_0x32172e++],_0x3f9ddb=(_0x270fab[_0x15bbcd>>>0x18]<<0x18|_0x270fab[_0x531dbc>>>0x10&0xff]<<0x10|_0x270fab[_0x56ee82>>>0x8&0xff]<<0x8|_0x270fab[_0x2cbab6&0xff])^_0x5c3f4e[_0x32172e++];_0x282009[_0x5a016f]=_0x4edb06,_0x282009[_0x5a016f+0x1]=_0x576b2d,_0x282009[_0x5a016f+0x2]=_0x20a191,_0x282009[_0x5a016f+0x3]=_0x3f9ddb;},'keySize':0x100/0x20});_0x2ce621[_0x4f0413(0x286)]=_0x27660c['_createHelper'](_0x1e9906);}()),_0x2db9b8[_0x2ffcb7(0x286)];}));}(fe)),fe[_0x40b9c1(0x133)];}var Yi=Ki();const qi=Se(Yi);var zi=Ut();const ot=Se(zi);var be={'exports':{}},Ji=be[_0x1f6ce8(0x133)],at;function Xi(){var _0x4a5988=_0x1f6ce8;return at||(at=0x1,function(_0x4f9253,_0x2a2643){(function(_0x4ed4ae,_0x167091){_0x4f9253['exports']=_0x167091(ee());}(Ji,function(_0x3797ef){var _0x1d7c7a=_0x17b6;return _0x3797ef[_0x1d7c7a(0x26d)][_0x1d7c7a(0x37f)];}));}(be)),be[_0x4a5988(0x133)];}function _0x370c(){var _0x4067f5=['c2Prime','INTERNAL_ERROR','loadSheet','MergeInterceptorFactory','_clearCollaborationTimeoutTimer','charAt','_collaborationSessionService','COLLAB_SUBMIT_CHANGESET_URL_KEY','unitId\x20is\x20not\x20found','COLLAB_WEB_SOCKET_URL','collaboration_new_changeset','reqId','collabWebSocketUrl','&assign=','session.join-failed','rev','textEncoder','SHA1','enc','_doCreateSocket','keySize','/object/','memberID','/universer-api/authz','/role','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','Decryptor','JOIN_ROOM_FAILED','concat','SOCKET_FAILED','511321DJybPU','getTypeOfUnitDisposed$','INVITE_CODE_REQUIRED','PERSON','InsertSheetMutation','ERROR_EXCEED_SIZE','_checkMissing','Disposable','iterations','_substituteRedoStack','_initCloseConn','_resendWithTimeout','duration','AES','fetchThroughInterceptors','close$','PERMISSION_REJ','__creator','loadOfflineData','symbol','SetSelectionsOperation','code','_onRemoteChangeset','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','_configService','_createInitialStateImpl','saveImage','csRejEvent','onlyLocal','onLocalMutation','CollaborationEntity','commentUpdate$','_collaborationTimeoutTimer','_clearLocalCache','type','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','SyncedState','dispose','OTHER_CLIENTS_EDITING','function','mutations','ERROR_IMAGE_TYPE','liveShareNewHost','_scheduleCompleteTimestamp','_listenToNetworkCondition','image/bmp','collaborators','_updateState','updateCollaborator','failed\x20to\x20apply\x20missed\x20changesets!','state$','call','getTime','WECHAT_HAS_BEEN_BOUND','DEFAULT_FILE_NAME','_roomCreated$','PendingState','?url=','_createHelper','_onRemoteRejected','revision','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','USER_NOT_INVITED_CODE','isInternalEditorID','UNIVER_COLLABORATION_CLIENT_PLUGIN','encodeURIComponent','asObservable','getWorkbookSelections','min','Tools','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_clearRedo','disableLocalCache','JOIN','fetchMiss','_isPermissionRej','_onUserLeave','RevisionService','session.room-permission-denied','MUTATION','unknown','RxDisposable','UNIVER_SLIDE','CONNECTOR_DATA_TOO_LARGE','RECV','Optional','IUniverInstanceService','_getRedoStack','_state','init','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','localeService','_imageSourceCache','fromCharCode','apply','CLOSE_ROOM','Plugin','awaiting','_transformUndoredo','_loadSheet','CommandType','PENDING','YUUMI_URL_COL_OUT_OF_RANGE','incrementRevOfUnit','kdf','NoPadding','NO_OTHER_CLIENTS_EDITING','[CollaborationSession]','_scheduleCollaborationTimeoutTimer','onCommandExecuted','__esModule','entityInit$','sessionStatus$','GLOBAL_ROOMS_CNT_EXCEEDS','_init','getRoom','status','collaMsg','removeMember','createCollaborator','_createHmacHelper','_onConnectionFailed','/resources','_replayCachedMutations','forEach','4BneQai','_incrementRevisionNumber','focused$','_getSendChangesetTimeout','_onJoinRoomEvent','_revisionService','LOCAL_CACHE_INTERVAL_KEY','newCsEvent','Hasher','_httpService','[OfflineState]:\x20received\x20changeset.','DEFAULT_COLLAB_WEB_SOCKET_URL','saveSheetBlock','src','onRemoteRej','offline','not_collab','clear','_getLoginPath','People','_initMergeInterceptor','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','WordArray','28688624HssOVH','editing\x20status\x20changed\x20to','_status$','_shouldReportTelemetry','_decreaseWaiting','ONLINE','every','loadUnit','_socketMessageSubscription','\x20in\x20_schedule.','url','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','HMAC','setShowComponents','_ENC_XFORM_MODE','extend','_transitionLocked','readAsDataURL','toString','CONFLICT','_change$','filter','SHOULD_CLOSE_CONN','_removeRoom','UPDATE_CURSOR','UNIVER_DOC','_loadDoc','join','objectID','location','allowed','UNKNOWN_CODE','IImageIoService','buffer','result','_map','_memberService','image/png','5165111tgKfpL','unit-cache-','[OfflineState]:\x20received\x20acknowledgement.','clone','LIVESHARE_REQUEST_HOST','getSheetBlock','Inject','ICollaborationSocketService','_hash','_univerInstanceService','7660680QAZKgb','random','_waitCount','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','rxjs/operators','_retryConnectingTimer','UniverInstanceType','list','_compressMutationService','getUnitStatus$','USERS_LEAVE','algo','CollaborationUIEventId','_HTTPService','_entities','delay','c1Prime','_getSignURL','Base','decrypt','salt','Could\x20not\x20dynamically\x20require\x20\x22','baseRev','_collabSessionService','_toggleOnline','unpad','ImageSourceType','_resendTimer','values','getImageSourceCache','words','connection\x20error','compute','UNKNOWN_CMD','CollaborationSocketService','defineProperty','_onRemoteACK','DataLoaderService','ITransformService','charCodeAt','getValue','deserializeToCombResponse','startsWith','byteLength','_nRounds','setWaitCount','Failed\x20to\x20update\x20permission\x20point','updatePermissionObjEvent','Subject','getUnit','toDisposable','CHANGESET_REJ','LOGIN_FAILED','toggleOnline','INGEST','onCommentUpdate','getTypeOfUnitAdded$','_timeoutTimer','onSendChangeset','waitForRoom$','_schedule','responseType','getImage','registerHTTPInterceptor','SheetPermissionInitController','LOCAL_CACHE_INTERVAL','Utf8','_createHandler','LIVESHARE_OPERATION','disposeWithMe','enableOfflineEditing','_unitID','_roomMembers','retryConnectingInterval','decryptBlock','_sheetTransformSelectionsService','_acknowledgedAwaitingChangeset','status$','LOGIN_URL_KEY','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_iv','transformSelections','_emitMembers','LICENSE_EXPORT_SIZE_EXCEEDED','updatePermissionPoint','ERROR_IMAGE','getFocusedUnit','floor','BlockCipher','onRemoteAck','NOT_FOUND','length','b64DecodeUnicode','HELLO','IPermissionService','UNRECOGNIZED','UnitEmbedded','_localCacheService','_sessions','authzUrl','_commandService','csAckEvent','MentionType','_handler','HmacMD5','PY_RUNTIME_SCRIPT_ERROR','SEND_CHANGESET_TIMEOUT_KEY','_onRecvEvent','subUnitId','_replaceFileID','SNAPSHOT_INVALID_SNAPSHOT','formatter','onMissedChangesetFetched','_sendHeartbeatTimer','fetching\x20missing\x20changesets\x20from\x20','_DEC_XFORM_MODE','CollaborativeUndoRedoService','mergeOverrideWithDependencies','putCollaborators','/universer-api/file/{fileID}/sign-url','POST','/universer-api/snapshot','touchDependencies','_changesetReqId','_startCollaboration','unitId','randomBytes','_undoStacks','padding','FETCH_MISSING','withCredentials','set','transformChangesets','_changesetSessionId','processBlock','_logService','_key','APPLY_PERMISSION_DENIED','isTransformChangesetsSuccess','_clearUndo','reduce','debug','PERMISSION_DENIED','registerDependencies','ISnapshotServerService','\x20-\x20','DependentOn','snapshot','update','HEARTBEAT_INTERVAL','_nDataBytes','_permissionService','CollaborationEvent','ALREADY_EXISTS','_transformSelections','WorkbookEditablePermission','CHANGESET_SHOULD_RETRY','COMPLETION_FINISHED','byteOffset','clamp','Pkcs7','_showConflictNotification','UNIVER_SHEET','AWAITING_WITH_PENDING','interceptor','isPermissionRej','NEW_CHANGESETS','onTransformSelections','ILogService','_onLocalMutation','selections','name','_fetchMissChangesets','encode','_transformStateCache','entries','telemetry\x20info\x20is\x20not\x20initialized','takeUntil','originalMeta','APPLY_NON_SEQUENTIAL_REVISION','firstValueFrom','/allowed','params','_members','pipe','Undefined','objectType','LIVESHARE_FETCH_OPERATIONS','UNDEFINED','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','AwaitingWithPendingState','/rev/','onSyncEditingCollabCursor','[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.','_disableEditing','getUnitType','changesets','_initUnitPermissionChange','pauseCollaboration','_commentUpdate$','_iKey','execute','_reverseMap','_unitInfo$','RETRY_CONNECTING_MAX_COUNT','getCollabEntity','_oKey','JOIN_ROOM_PERMISSION_DENIED','cmd','_process','CollaborationSession','image/gif','[FetchMissState]','range','saveChangeset','emitEvent','univer-pro.collaboration-client-socket-service','SUCCUSS','[CollaborationSessionService]','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','image/jpeg','_append','getInterceptPoints','_startTelemetryCollaborationNewChangeset','rng','_onOffline','readInt32LE','session.room-cnt-exceeds','COLLAB_WEB_SOCKET_URL_KEY','message$','actions','permissionRejEvent','catch','[CollaborationUndoRedoService]','_singleActiveUnitService','getOwnPropertyDescriptor','SessionStatus','executeCommand','onRemoteRetry','/object','JOIN_ROOM_FULL','HttpExport','socketService','resourceIDs','loginUrlKey','joinEvent','_commentService','_onConflict','save\x20fail\x20reason\x20is\x20','send','_telemetryService','/fetchmissing?from=','pad','YUUMI_RATE_OVER_LIMIT','MemberService','_getUndoStack','MSG_FOR_ERROR','SerializableCipher','close','_getAPIPrefix','_onUserJoin','SUBMIT_CHANGESET','equals','DocCollaborationEntity','AwaitingState','userID','pending','transformMutationsWithChangeset','Injector','_type','onTransformState','IAuthzIoService','serializeCombRequest','concatMap','has','Rectangle','find','LIVESHARE_TERMINATE','_stopTelemetryCollaborationNewChangeset','collaboration-client.local-cache-service','isTransformMutationsWithChangesetSuccess','[UniverCollaborationClientPlugin]','_telemetryInfo','FAIL','commentUpdateEvent','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','file','_config','Encryptor','USERS_ENTER','_initDependencies','isArray','COMMENT_UPDATE','merge','_exhaustRemoteChangesetQueue','SNAPSHOT_SERVER_URL_KEY','snapshotServerUrl','action','IContextService','_candidateSocket','size','CipherParams','_waitForHeartbeatResponse','json','_event$','_invKeySchedule','append','BufferedBlockAlgorithm','socket\x20open.','_transformRemoteChangesetByStateCache','prototype','SNAPSHOT_URL_KEY','unsubscribe','conflict','compose','resolve','HTTPService','SnapshotServerOverHTTPService','YUUMI_UNABLE_LOAD_URL','next','_undoRedoService','hasOwnProperty','INVALID_ARGUMENT','getMember','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','resend','ISocketService','UserProfileImg','_sessionStatus$','confirm','sessionStatus','_submitChangeset','onStarting','\x20to\x20','Base64','parseProtocolChangeset','enableAuthServer','blockSize','_getCtorByUniverType','encryptBlock','SnapshotService','1661325pFHQhK','APPLY_REVISION_CONFILICT','session.room-full','error$','getGlobalObject','INVITE_CODE_HAS_BEEN_UES','delete','toStringTag','COMPRESS_MUTATION_SEND','EvpKDF','members','onload','_doFinalize','UniverCollaborationPlugin','INVALID_INVITE_CODE','_instanceService','LICENSE_IMPORT_SIZE_EXCEEDED','updateMember','patch','_transformStack','create','/unit/','_prevBlock','_syncEditingCollabCursor','initWorkbookPermissionChange','session','[DataLoaderService]','INetworkConditionService','RichTextEditingMutation','exports','Module','_hasher','requestParams','_collaborationPaused','csShouldRetryEvent','Error\x20on\x20receiving\x20event','objectActions','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','splice','_lockTransition','OFFLINE','getUnitId','readyForCollab','getRandomValues','_remoteChangesetQueue','_throwTelemetryCollaborationNewChangeset','_socketService','JOINING','_transformService','fetchMissingChangesets','image/jpg','event$','createSocket','FileId','ReplaySubject','ThresholdInterceptorFactory','_joinRoom','title','ICommandService','roles','fetch_missing','push','_injector','_keySchedule','__Key__','BASE64','ILocalCacheService','onRemoteChangeset','parse','getCurrentUser','IUndoRedoService','reconnect','/universer-api/oidc/authpage','SOCKET_FAILED_RETRY','error','_state$','INVITE_CODE_ALREADY_BOUND','HTTPRequest','crypto','MentionIoHttpService','JSONX','_sender','string','isTransformMutationsWithChangesetFailure','objects','onTransformRemoteChangesetByIMECache','onMissingChangesets','toggleOffline','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','target','getConfig','IDLE','&to=','map','[CollaborationState]:\x20apply\x20error!','PasswordBasedCipher','uniscriptRunEvent','lib','eventID','_sendHeartbeat','CompressMutationService','unitID','getSnapshotAPIPath','DisposableCollection','_clearTimeoutTimer','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_executeRemoteChangeset','createIdentifier','createInstance','getCurrentRevOfUnit','UserManagerService','post','_updateLocalCache','/universer-api/uniscript','ImageUploadStatusType','href','slice','CollaborationController','@univerjs/drawing','MOBILE_HAS_BEEN_BOUND','collabSubmitChangesetUrl','_doCryptBlock','max','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','collaboratorID','transformUndoRedo','[SyncedState]:\x20received\x20rejection.','CollaborationStatus','_doReset','[PendingState]:\x20received\x20rejection.','ConflictState','SUBMIT_CHANGESET_TIMEOUT','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','ivSize','@univerjs-pro/license','_getDownloadEndpointURL','2184695UzBndn','_rescheduleHeartbeat','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','sheets','PSEUDO_FETCH_MISSING_RESULT','leaveEvent','APPLY_DUPLICATED','HEARTBEAT','_createInitialState','OfflineState','UNISCRIPT_RUN','UniverCollaborationClientPlugin','updateCursorEvent','getCollabEntity$','/-/object/-/batch_allowed','_onRemoteRetry','unitInfo$','method','_queuedRemoteChangesets','SYNCED','_socket','complete','open$','AuthzIoHttpService','COMPRESS_MUTATION_APPLY','Workbook','univer-pro.collaboration-client.network-condition.service','_tryReconnect','Malformed\x20UTF-8\x20data','CollaborationSessionService','_substituteUndoStack','[CollaborationSessionService]:\x20socket\x20error','state','_awaitingChangeset','msCrypto','_unlockTransition','_snapshotService','[CollaborationEntity]','CommentService','reset','hasher','$super','closeSession','socket$','stringify','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','_retryCount','/universer-api/user/session-ticket','ENSURE_SNAPSHOT_EXECUTION','data','_getAPIPrefixPath','stopTime','submit\x20changeset\x20error!','YUUMI_SUBSCRIPTION_NOT_FOUND','?size=','_minBufferSize','MD5','updateOfflineData','fromCollab','_socket$','_eventService','_onMessage','_handlerCallback','sigBytes','_cipher','_toggleOffline','UNIVER_PROJECT','_transformRemoteChangesetByIMECache','_getUploadFileURL','FETCH_MISS','randomUUID','bind','subscribe','getMemberID','getSheetId','SheetCollaborationEntity','_localeService','avatar','dispose$','BehaviorSubject','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','localCacheService','1244908DHcRJf','requireSession','shareReplay','_xformMode','session.room-not-exists','JOIN_ROOM_NOT_EXISTS','m2Prime','socket\x20close','now','_data','Cipher','ceil','_keyPriorReset','TOO_MANY_REQUESTS','AUTHZ_URL_KEY','format','finalize','key','FetchingMissState','get','reject','EMAIL_HAS_BEEN_BOUND','ciphertext','_mode','uploadFileServerUrl','mode','override','_clearScheduledTask','routeKey','HmacSHA1','encrypt','_clearHeartbeatTimer','take','_entityInit$','sid','indexOf','SheetTransformSelectionsService','_socketReady','subject','_networkConditionService','9TRmMCy','transformStack\x20failed!','HttpImport','appendMutation','StreamCipher','onTransformIME','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','{fileID}','addImageSourceCache','headers','/block/','UPDATE_PERMISSION_OBJ','LocaleService','parseChangesetToProtocol','add','createEncryptor','_sendingTimer','awaitingChangeset','_pendingMutations','loadDoc','CBC','LIVESHARE_NEW_HOST','mapDocumentTypeToUniverType','UnitStatus','LICENSE_DISTRO_REJECTED','generateRandomId','pluginName','@univerjs/network','toLowerCase','_getCurrentRevision','infoRsp','rxjs','body','SNAPSHOT_HAS_BEEN_REMOVED','_members$','UnitSnapshot','_clearRetryConnectingTimer','RETRY_CONNECTING_MAX_COUNT_KEY','put','IConfigService','[OfflineState]:\x20received\x20rejection.','_transformIMECache','_updateStatus','synced','LEAVE','_collaborationUIEventService','onTransformRemoteChangesetByStateCache','_resendTimeout','_tryEnsureSocket','mixIn','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','SEND_CHANGESET_TIMEOUT','HEARTBEAT_INTERVAL_KEY','_doProcessBlock','UNAUTHENTICATED','OTHER_CLIENT_EDITING','_onConnectionOpen','UNIVER_UNKNOWN','_applyRemoteChangeset','APPLY_REJECT','CHANGESET_ACK','_onCombEvent','/collaborator','startTime','cfg','IMentionIOService'];_0x370c=function(){return _0x4067f5;};return _0x370c();}var Zi=Xi();const Qi=Se(Zi);var Re={'exports':{}},en=Re[_0x1f6ce8(0x133)],ct;function tn(){var _0x5770e6=_0x1f6ce8;return ct||(ct=0x1,function(_0x4ec3ea,_0x517073){(function(_0x290a56,_0x4f84b3){var _0xd43d41=_0x17b6;_0x4ec3ea[_0xd43d41(0x133)]=_0x4f84b3(ee());}(en,function(_0x436979){var _0xbb4d99=_0x17b6;return(function(){var _0x3d713e=_0x17b6;if(typeof ArrayBuffer==_0x3d713e(0x2a0)){var _0x563037=_0x436979,_0xec54fd=_0x563037[_0x3d713e(0x177)],_0x43c5f7=_0xec54fd[_0x3d713e(0x30c)],_0x372981=_0x43c5f7[_0x3d713e(0x2d2)],_0x17462f=_0x43c5f7[_0x3d713e(0x2d2)]=function(_0x4dd4eb){var _0x40c4d1=_0x3d713e;if(_0x4dd4eb instanceof ArrayBuffer&&(_0x4dd4eb=new Uint8Array(_0x4dd4eb)),(_0x4dd4eb instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x4dd4eb instanceof Uint8ClampedArray||_0x4dd4eb instanceof Int16Array||_0x4dd4eb instanceof Uint16Array||_0x4dd4eb instanceof Int32Array||_0x4dd4eb instanceof Uint32Array||_0x4dd4eb instanceof Float32Array||_0x4dd4eb instanceof Float64Array)&&(_0x4dd4eb=new Uint8Array(_0x4dd4eb[_0x40c4d1(0x32e)],_0x4dd4eb[_0x40c4d1(0x3db)],_0x4dd4eb[_0x40c4d1(0x368)])),_0x4dd4eb instanceof Uint8Array){for(var _0x302c90=_0x4dd4eb[_0x40c4d1(0x368)],_0x1d363e=[],_0x7242a7=0x0;_0x7242a7<_0x302c90;_0x7242a7++)_0x1d363e[_0x7242a7>>>0x2]|=_0x4dd4eb[_0x7242a7]<<0x18-_0x7242a7%0x4*0x8;_0x372981[_0x40c4d1(0x2ac)](this,_0x1d363e,_0x302c90);}else _0x372981[_0x40c4d1(0x2d7)](this,arguments);};_0x17462f['prototype']=_0x43c5f7;}}()),_0x436979[_0xbb4d99(0x177)][_0xbb4d99(0x30c)];}));}(Re)),Re[_0x5770e6(0x133)];}var nn=tn();const rn=Se(nn);var Oe={'exports':{}},sn=Oe['exports'],ht;function on(){var _0xa3233e=_0x1f6ce8;return ht||(ht=0x1,function(_0x10e552,_0x5091c9){(function(_0x20a592,_0x2b5a0b,_0x495888){_0x10e552['exports']=_0x2b5a0b(ee(),Pt());}(sn,function(_0x3df77f){var _0x507264=_0x17b6;return _0x3df77f[_0x507264(0xbd)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x3df77f[_0x507264(0xbd)][_0x507264(0x2e2)];}));}(Oe)),Oe[_0xa3233e(0x133)];}var an=on();const cn=Se(an);function hn(_0x30d794,_0x35940f){var _0xcafdae=_0x1f6ce8;const _0xc3df00=_0x35940f-_0x30d794[_0xcafdae(0x398)]%_0x35940f,_0xdfe5f9=String[_0xcafdae(0x2d6)](_0xc3df00)['repeat'](_0xc3df00);return _0x30d794+_0xdfe5f9;}function ln(_0x162d88,_0x42f4e2){var _0x410872=_0x1f6ce8;const _0x5c12f1=rn['random'](0x10),_0x417c28=hn(_0x162d88,0x10),_0x356f1a=qi[_0x410872(0x20e)](Qi['parse'](_0x417c28),ot[_0x410872(0x15a)](_0x42f4e2),{'iv':_0x5c12f1,'padding':cn});return _0x5c12f1[_0x410872(0x277)](_0x356f1a[_0x410872(0x206)])[_0x410872(0x31f)](ot);}function _n(){var _0x4ed3ec=_0x1f6ce8;const _0x476a9e=xt[_0x4ed3ec(0x11a)]()[_0x4ed3ec(0x156)];if(_0x476a9e){const _0x1d1fdd={'time':Math[_0x4ed3ec(0x394)](Date[_0x4ed3ec(0x1f8)]()/0x3e8),'domain':location['hostname']};return ln(JSON['stringify'](_0x1d1fdd),_0x476a9e);}}var un=Object[_0x1f6ce8(0xac)],dn=(_0x5f9e2b,_0x4682d8,_0x41f2cf,_0x182af2)=>{for(var _0x51fe3a=_0x182af2>0x1?void 0x0:_0x182af2?un(_0x4682d8,_0x41f2cf):_0x4682d8,_0x3464a9=_0x5f9e2b['length']-0x1,_0x97627f;_0x3464a9>=0x0;_0x3464a9--)(_0x97627f=_0x5f9e2b[_0x3464a9])&&(_0x51fe3a=_0x97627f(_0x51fe3a)||_0x51fe3a);return _0x51fe3a;},vn=(_0x55e5f7,_0x17d1cd)=>(_0x495a32,_0x7d4649)=>_0x17d1cd(_0x495a32,_0x7d4649,_0x55e5f7);let Ne=class{constructor(_0x5ee196){var _0xa8e6dd=_0x1f6ce8;this[_0xa8e6dd(0x2ff)]=_0x5ee196,this['_initRequestHeader']();}['_initRequestHeader'](){var _0x4546c1=_0x1f6ce8;this['_httpService'][_0x4546c1(0x37c)]({'interceptor':(_0x1aeea5,_0x2ffd58)=>{var _0x45e20a=_0x4546c1;const _0x3f83ac=_0x1aeea5[_0x45e20a(0x222)],_0x3507fe=_n();return _0x3507fe&&_0x3f83ac['set']('x-univer-host',_0x3507fe),_0x2ffd58(_0x1aeea5);}});}};Ne=dn([vn(0x0,a[_0x1f6ce8(0x339)](q[_0x1f6ce8(0xfd)]))],Ne);var Sn=Object[_0x1f6ce8(0xac)],fn=(_0x16c769,_0x3e9c12,_0x1dd9dc,_0x130296)=>{var _0xcea210=_0x1f6ce8;for(var _0x27b4f0=_0x130296>0x1?void 0x0:_0x130296?Sn(_0x3e9c12,_0x1dd9dc):_0x3e9c12,_0x2370ca=_0x16c769[_0xcea210(0x398)]-0x1,_0xe05953;_0x2370ca>=0x0;_0x2370ca--)(_0xe05953=_0x16c769[_0x2370ca])&&(_0x27b4f0=_0xe05953(_0x27b4f0)||_0x27b4f0);return _0x27b4f0;},Me=(_0x4151c3,_0x5719b7)=>(_0x4631cb,_0x418ac5)=>_0x5719b7(_0x4631cb,_0x418ac5,_0x4151c3);exports['DataLoaderService']=class extends a[_0x1f6ce8(0x2ca)]{constructor(_0x1abb5b,_0x961217,_0x35b290){var _0x19a5ad=_0x1f6ce8;super(),A(this,_0x19a5ad(0x8c),new j[(_0x19a5ad(0x1ed))](null)),A(this,_0x19a5ad(0x1ae),this['_unitInfo$'][_0x19a5ad(0x2bb)]()),(this[_0x19a5ad(0x3c4)]=_0x1abb5b,this[_0x19a5ad(0x1c2)]=_0x961217,this[_0x19a5ad(0x39e)]=_0x35b290);}async[_0x1f6ce8(0x314)](_0x253f14,_0x303d89,_0x14aa0c){var _0x5a64f9=_0x1f6ce8;this[_0x5a64f9(0x8c)]['next']({'unitId':_0x253f14,'type':_0x303d89,'subUnitId':_0x14aa0c});let _0x40db5a=null;switch(_0x303d89){case X[_0x5a64f9(0x3df)]:{_0x40db5a=await this[_0x5a64f9(0x2dc)](_0x253f14);break;}case X['UNIVER_DOC']:{_0x40db5a=await this[_0x5a64f9(0x327)](_0x253f14);break;}default:{this[_0x5a64f9(0x3c4)][_0x5a64f9(0x160)](_0x5a64f9(0x130),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x40db5a;}async['_loadSheet'](_0x419621){var _0x299ead=_0x1f6ce8,_0x1a91fc;let _0x50a2c4=0x0;const _0xfa4f23=await((_0x1a91fc=this[_0x299ead(0x39e)])==null?void 0x0:_0x1a91fc[_0x299ead(0x28b)](_0x419621));return _0xfa4f23&&(_0xfa4f23[_0x299ead(0x22a)]||_0xfa4f23[_0x299ead(0x2a1)]['length']!==0x0)&&(_0x50a2c4=_0xfa4f23[_0x299ead(0x26a)]),_0x50a2c4===0x0&&this[_0x299ead(0x3c4)][_0x299ead(0x3ca)]('[DataLoaderService]',_0x299ead(0x2bf)),this['_snapshotService'][_0x299ead(0x25d)](_0x419621,_0x50a2c4);}async[_0x1f6ce8(0x327)](_0x7ea241){var _0x4bcd0d=_0x1f6ce8,_0x36cdbc;let _0x3eb65e=0x0;const _0x59fe1b=await((_0x36cdbc=this[_0x4bcd0d(0x39e)])==null?void 0x0:_0x36cdbc[_0x4bcd0d(0x28b)](_0x7ea241));return _0x59fe1b&&(_0x59fe1b['awaitingChangeset']||_0x59fe1b[_0x4bcd0d(0x2a1)][_0x4bcd0d(0x398)]!==0x0)&&(_0x3eb65e=_0x59fe1b[_0x4bcd0d(0x26a)]),_0x3eb65e===0x0&&this['_logService'][_0x4bcd0d(0x3ca)](_0x4bcd0d(0x130),_0x4bcd0d(0x2bf)),this[_0x4bcd0d(0x1c2)][_0x4bcd0d(0x22c)](_0x7ea241,_0x3eb65e);}},exports['DataLoaderService']=fn([Me(0x0,a['ILogService']),Me(0x1,a[_0x1f6ce8(0x339)](g[_0x1f6ce8(0x115)])),Me(0x2,a[_0x1f6ce8(0x2ce)](z))],exports[_0x1f6ce8(0x362)]);var pn=Object['getOwnPropertyDescriptor'],gn=(_0xd847ec,_0x361520,_0xccaa6d,_0x33f1e7)=>{var _0x1e3051=_0x1f6ce8;for(var _0x22849f=_0x33f1e7>0x1?void 0x0:_0x33f1e7?pn(_0x361520,_0xccaa6d):_0x361520,_0x21dfca=_0xd847ec[_0x1e3051(0x398)]-0x1,_0x1a91dd;_0x21dfca>=0x0;_0x21dfca--)(_0x1a91dd=_0xd847ec[_0x21dfca])&&(_0x22849f=_0x1a91dd(_0x22849f)||_0x22849f);return _0x22849f;},xe=(_0x155b9f,_0x3102bf)=>(_0x5ab787,_0x30a87f)=>_0x3102bf(_0x5ab787,_0x30a87f,_0x155b9f);const mn=[_0x1f6ce8(0x332),_0x1f6ce8(0x9d),_0x1f6ce8(0x148),_0x1f6ce8(0x94),_0x1f6ce8(0x2a6)],In=0x5*0x400*0x400,En=_0x1f6ce8(0x13b),Cn='/universer-api/stream/file/upload',Tn='EXCHANGE_SIGN_URL_SERVER_URL_KEY',bn=_0x1f6ce8(0x3b4);exports['CollaborationImageIoService']=class{constructor(_0x2a8c40,_0x32d148,_0x3241de){var _0x36641b=_0x1f6ce8;A(this,_0x36641b(0x33f),0x0),A(this,'_change$',new j[(_0x36641b(0x36d))]()),A(this,'change$',this[_0x36641b(0x321)]),A(this,_0x36641b(0x2d5),new Map()),(this['_httpService']=_0x2a8c40,this[_0x36641b(0x291)]=_0x32d148,this[_0x36641b(0x33c)]=_0x3241de);}[_0x1f6ce8(0x36a)](_0x4b4511){var _0x330a93=_0x1f6ce8;this['_waitCount']=_0x4b4511,this[_0x330a93(0x321)][_0x330a93(0x100)](_0x4b4511);}[_0x1f6ce8(0x35a)](_0x107894,_0x518bf6){var _0x30d188=_0x1f6ce8;if(_0x518bf6===J[_0x30d188(0x357)][_0x30d188(0x157)]){const _0x4ae4be=new Image();return _0x4ae4be[_0x30d188(0x303)]=_0x107894,_0x4ae4be;}return this[_0x30d188(0x2d5)][_0x30d188(0x203)](_0x107894);}[_0x1f6ce8(0x221)](_0x53e764,_0x1d5241,_0x3bda91){var _0x30035d=_0x1f6ce8;_0x1d5241===J[_0x30035d(0x357)][_0x30035d(0x157)]||_0x3bda91==null||this[_0x30035d(0x2d5)][_0x30035d(0x3c0)](_0x53e764,_0x3bda91);}async[_0x1f6ce8(0x37b)](_0x57b0ab){var _0x253772=_0x1f6ce8;try{const _0x4bd10=this[_0x253772(0x3aa)](this[_0x253772(0x34e)](),''+_0x57b0ab),_0x59a3b1=(await this[_0x253772(0x2ff)][_0x253772(0x203)](_0x4bd10))[_0x253772(0x239)];if(_0x59a3b1[_0x253772(0x160)]&&_0x59a3b1[_0x253772(0x160)]['code']===Ct['OK']){const _0x52709a=new URL(_0x59a3b1[_0x253772(0x317)],this[_0x253772(0x19d)]())[_0x253772(0x31f)]();return Promise[_0x253772(0xfc)](_0x52709a);}return Promise[_0x253772(0x204)](_0x59a3b1[_0x253772(0x160)]);}catch(_0xc26940){return Promise['reject'](_0xc26940);}}async[_0x1f6ce8(0x293)](_0x4675c2){var _0x41ff50=_0x1f6ce8;let _0x5b50cb='';if(!mn['includes'](_0x4675c2[_0x41ff50(0x29b)]))return this[_0x41ff50(0x311)](),Promise[_0x41ff50(0x204)](new Error(J[_0x41ff50(0x188)][_0x41ff50(0x2a2)]));if(_0x4675c2[_0x41ff50(0xed)]>In)return this[_0x41ff50(0x311)](),Promise[_0x41ff50(0x204)](new Error(J[_0x41ff50(0x188)][_0x41ff50(0x27e)]));try{const _0x377959=new FormData();_0x377959[_0x41ff50(0xf3)](_0x41ff50(0xdf),_0x4675c2);const _0x38533e=this[_0x41ff50(0x33c)][_0x41ff50(0x393)](),_0xf76385=_0x38533e==null?void 0x0:_0x38533e['getUnitId']();if(!_0xf76385)throw new Error(_0x41ff50(0x263));const _0x332aa7=this[_0x41ff50(0x1e2)]()+_0x41ff50(0x1d4)+_0x4675c2[_0x41ff50(0xed)][_0x41ff50(0x31f)]()+'&source='+Tt[_0x41ff50(0x39d)]+_0x41ff50(0x268)+encodeURIComponent(_0xf76385),_0x5a195c=await(await fetch(_0x332aa7,{'method':_0x41ff50(0x3b5),'body':_0x377959}))[_0x41ff50(0xf0)]();if(typeof _0x5a195c[_0x41ff50(0x14b)]!=_0x41ff50(0x168))return this[_0x41ff50(0x311)](),Promise[_0x41ff50(0x204)](new Error(J[_0x41ff50(0x188)]['ERROR_IMAGE']));_0x5b50cb=_0x5a195c['FileId'];}catch{return this[_0x41ff50(0x311)](),Promise[_0x41ff50(0x204)](new Error(J['ImageUploadStatusType']['ERROR_IMAGE']));}return new Promise((_0x4856ae,_0x3e093d)=>{var _0x22764c=_0x41ff50;const _0x208451=new FileReader();_0x208451[_0x22764c(0x31e)](_0x4675c2),_0x208451[_0x22764c(0x121)]=_0x2c05ee=>{var _0x3e5de3=_0x22764c,_0x1a5087;const _0x39dc3e=(_0x1a5087=_0x2c05ee[_0x3e5de3(0x16f)])==null?void 0x0:_0x1a5087['result'];if(_0x39dc3e==null){this[_0x3e5de3(0x311)](),_0x3e093d(new Error(J[_0x3e5de3(0x188)][_0x3e5de3(0x392)]));return;}const _0x539681=a[_0x3e5de3(0x2be)][_0x3e5de3(0x232)](0x6);_0x4856ae({'imageId':_0x539681,'imageSourceType':J['ImageSourceType']['UUID'],'source':_0x5b50cb,'base64Cache':_0x39dc3e,'status':J['ImageUploadStatusType'][_0x3e5de3(0x9a)]}),this[_0x3e5de3(0x311)]();};});}[_0x1f6ce8(0x1e2)](){var _0xf1673d=_0x1f6ce8,_0x34c68f,_0x49408b;const _0x388aeb=this[_0xf1673d(0x291)][_0xf1673d(0x170)](En),_0x5d1cee=this[_0xf1673d(0x291)][_0xf1673d(0x170)](Y);return(_0x49408b=(_0x34c68f=_0x5d1cee==null?void 0x0:_0x5d1cee[_0xf1673d(0x208)])!=null?_0x34c68f:_0x388aeb)!=null?_0x49408b:Cn;}[_0x1f6ce8(0x34e)](){var _0x51907c=_0x1f6ce8,_0x1f4b99,_0x5c3857;const _0x4bdf04=this[_0x51907c(0x291)][_0x51907c(0x170)](Tn),_0x2f8e44=this[_0x51907c(0x291)]['getConfig'](Y);return(_0x5c3857=(_0x1f4b99=_0x2f8e44==null?void 0x0:_0x2f8e44['signUrlServerUrl'])!=null?_0x1f4b99:_0x4bdf04)!=null?_0x5c3857:bn;}[_0x1f6ce8(0x19d)](){var _0x1c654a=_0x1f6ce8,_0x5d6a04;const _0x2bac5e=this[_0x1c654a(0x291)][_0x1c654a(0x170)](Y);return(_0x5d6a04=_0x2bac5e==null?void 0x0:_0x2bac5e['downloadEndpointUrl'])!=null?_0x5d6a04:location['origin'];}['_replaceFileID'](_0x50e826,_0xb36b00){var _0x2543af=_0x1f6ce8;return _0x50e826['replace'](_0x2543af(0x220),_0xb36b00);}[_0x1f6ce8(0x311)](){var _0x263930=_0x1f6ce8;this[_0x263930(0x33f)]-=0x1,this[_0x263930(0x321)][_0x263930(0x100)](this[_0x263930(0x33f)]);}},exports['CollaborationImageIoService']=gn([xe(0x0,a[_0x1f6ce8(0x339)](q['HTTPService'])),xe(0x1,a['IConfigService']),xe(0x2,a[_0x1f6ce8(0x339)](a[_0x1f6ce8(0x2cf)]))],exports['CollaborationImageIoService']);var Rn=Object[_0x1f6ce8(0xac)],On=(_0x10c0ba,_0x3a8ab5,_0x38f9e5,_0x361951)=>{var _0x2adad6=_0x1f6ce8;for(var _0x36ea35=_0x361951>0x1?void 0x0:_0x361951?Rn(_0x3a8ab5,_0x38f9e5):_0x3a8ab5,_0x59ae93=_0x10c0ba[_0x2adad6(0x398)]-0x1,_0xebe91e;_0x59ae93>=0x0;_0x59ae93--)(_0xebe91e=_0x10c0ba[_0x59ae93])&&(_0x36ea35=_0xebe91e(_0x36ea35)||_0x36ea35);return _0x36ea35;},lt=(_0x45a8f6,_0x1914e7)=>(_0x202893,_0x1e55e7)=>_0x1914e7(_0x202893,_0x1e55e7,_0x45a8f6);const yn=_0x1f6ce8(0x272);exports['MentionIoHttpService']=class{constructor(_0xd620dc,_0x3bafae){var _0x4448be=_0x1f6ce8;this[_0x4448be(0x291)]=_0xd620dc,this[_0x4448be(0x34a)]=_0x3bafae;}[_0x1f6ce8(0x1d0)](){var _0x40cc95=_0x1f6ce8,_0x353265,_0x382a3c;const _0x1378d8=this[_0x40cc95(0x291)]['getConfig'](Ge),_0x23b214=this['_configService']['getConfig'](Y);return(_0x382a3c=(_0x353265=_0x23b214==null?void 0x0:_0x23b214[_0x40cc95(0x3a0)])!=null?_0x353265:_0x1378d8)!=null?_0x382a3c:yn;}async[_0x1f6ce8(0x344)](_0x4eabc9){var _0x56bfd0=_0x1f6ce8;const _0x287045=this[_0x56bfd0(0x1d0)]()+'/collaborator';return{'list':[{'title':_0x56bfd0(0x309),'mentions':(await this['_HTTPService'][_0x56bfd0(0x203)](_0x287045,{'params':{'objectID':_0x4eabc9[_0x56bfd0(0x3ba)],'unitID':_0x4eabc9[_0x56bfd0(0x3ba)]}}))[_0x56bfd0(0x239)][_0x56bfd0(0x2a7)]['map'](_0x4eb902=>({'objectId':_0x4eb902['id'],'name':_0x4eb902[_0x56bfd0(0x216)][_0x56bfd0(0x3e8)],'metadata':{'icon':_0x4eb902[_0x56bfd0(0x216)][_0x56bfd0(0x1eb)]},'label':_0x4eb902[_0x56bfd0(0x216)]['name'],'objectType':a[_0x56bfd0(0x3a3)][_0x56bfd0(0x27c)]})),'metadata':{},'type':a[_0x56bfd0(0x3a3)]['PERSON']}]};}},exports[_0x1f6ce8(0x165)]=On([lt(0x0,a['Inject'](a['IConfigService'])),lt(0x1,a[_0x1f6ce8(0x339)](q[_0x1f6ce8(0xfd)]))],exports[_0x1f6ce8(0x165)]);var Nn=Object[_0x1f6ce8(0xac)],Dn=(_0x4c6800,_0x1dc5b5,_0x8c8084,_0x2d8419)=>{var _0x494672=_0x1f6ce8;for(var _0xbcd5a7=_0x2d8419>0x1?void 0x0:_0x2d8419?Nn(_0x1dc5b5,_0x8c8084):_0x1dc5b5,_0x128f7e=_0x4c6800[_0x494672(0x398)]-0x1,_0x299bb1;_0x128f7e>=0x0;_0x128f7e--)(_0x299bb1=_0x4c6800[_0x128f7e])&&(_0xbcd5a7=_0x299bb1(_0xbcd5a7)||_0xbcd5a7);return _0xbcd5a7;},ue=(_0x412e0c,_0x2dd5ff)=>(_0x3b7d3e,_0x4866ed)=>_0x2dd5ff(_0x3b7d3e,_0x4866ed,_0x412e0c);let De=class extends a[_0x1f6ce8(0x2ca)]{constructor(_0x124478,_0x2b1987,_0x33c53d,_0x1fc9d6,_0x3d600a){var _0x119634=_0x1f6ce8;super(),this['_injector']=_0x124478,this['_univerInstanceService']=_0x2b1987,this[_0x119634(0x3d4)]=_0x33c53d,this['_collaborationSessionService']=_0x1fc9d6,this[_0x119634(0x246)]=_0x3d600a,this[_0x119634(0x402)](),this[_0x119634(0x283)]();}[_0x1f6ce8(0x283)](){var _0x54f9c0=_0x1f6ce8;const _0x58cb3b=async _0x4c2c57=>{var _0x5e8be0=_0x17b6;(await this[_0x5e8be0(0x261)][_0x5e8be0(0x1f1)](_0x4c2c57))['event$'][_0x5e8be0(0x3f5)](V['filter'](_0x4a4eac=>_0x4a4eac[_0x5e8be0(0x178)]===g[_0x5e8be0(0x3d5)][_0x5e8be0(0x323)]),V[_0x5e8be0(0x3ee)](this['dispose$']))['subscribe'](_0x15c509=>{var _0x3ce31d=_0x5e8be0;const _0x43c3e7=_0x15c509,{reason:_0x2f8820}=_0x43c3e7['data'];this[_0x3ce31d(0x246)]['emitEvent']({'id':Q[_0x3ce31d(0x2d8)],'data':_0x2f8820}),this['_permissionService'][_0x3ce31d(0x391)](new Z[(_0x3ce31d(0x3d8))](_0x4c2c57)['id'],!0x1),this[_0x3ce31d(0x261)]['closeSession'](_0x4c2c57);});};j[_0x54f9c0(0xe6)](this['_univerInstanceService'][_0x54f9c0(0x375)](a[_0x54f9c0(0x343)][_0x54f9c0(0x3df)]),this['_univerInstanceService'][_0x54f9c0(0x375)](a[_0x54f9c0(0x343)][_0x54f9c0(0x326)]))[_0x54f9c0(0x3f5)](V[_0x54f9c0(0x173)](_0x224187=>_0x224187[_0x54f9c0(0x13f)]()),V[_0x54f9c0(0x322)](_0x5d5a56=>!a['isInternalEditorID'](_0x5d5a56)),V[_0x54f9c0(0x3ee)](this['dispose$']))[_0x54f9c0(0x1e6)](_0x28a4dd=>{_0x58cb3b(_0x28a4dd);});}[_0x1f6ce8(0x402)](){var _0x51c1b5=_0x1f6ce8;const _0x15a8ce=async _0x254a87=>{var _0x472ded=_0x17b6;const _0x6b8af9=await this[_0x472ded(0x261)][_0x472ded(0x1f1)](_0x254a87),_0x3aaaa1=this['_injector'][_0x472ded(0x203)](Z[_0x472ded(0x37d)]);_0x6b8af9[_0x472ded(0x149)][_0x472ded(0x3f5)](V[_0x472ded(0x322)](_0x289ed6=>_0x289ed6['eventID']===g[_0x472ded(0x3d5)][_0x472ded(0x224)]),V['takeUntil'](this[_0x472ded(0x1ec)]))[_0x472ded(0x1e6)](_0x4f1d31=>{var _0x1bb911=_0x472ded;const _0x485f49=_0x4f1d31,{objectId:_0x3f1234}=_0x485f49[_0x1bb911(0x1cf)];_0x3f1234===_0x254a87?_0x3aaaa1[_0x1bb911(0x12e)](_0x254a87):_0x3aaaa1['refreshPermission'](_0x254a87,_0x3f1234);});};j[_0x51c1b5(0xe6)](this[_0x51c1b5(0x33c)][_0x51c1b5(0x375)](a['UniverInstanceType'][_0x51c1b5(0x3df)]))[_0x51c1b5(0x3f5)](V[_0x51c1b5(0x173)](_0x473178=>_0x473178[_0x51c1b5(0x13f)]()),V[_0x51c1b5(0x322)](_0x18ba6c=>!a[_0x51c1b5(0x2b8)](_0x18ba6c)),V[_0x51c1b5(0x3ee)](this[_0x51c1b5(0x1ec)]))[_0x51c1b5(0x1e6)](_0xe36c9b=>{_0x15a8ce(_0xe36c9b);});}};De=Dn([ue(0x0,a[_0x1f6ce8(0x339)](a[_0x1f6ce8(0xcd)])),ue(0x1,a['IUniverInstanceService']),ue(0x2,a[_0x1f6ce8(0x39b)]),ue(0x3,a[_0x1f6ce8(0x339)](exports[_0x1f6ce8(0x1bb)])),ue(0x4,a[_0x1f6ce8(0x339)](te))],De);var Un=Object['getOwnPropertyDescriptor'],An=(_0x5efb20,_0x6c2499,_0x41cd0d,_0x5d3206)=>{var _0x14c4d8=_0x1f6ce8;for(var _0xf5c4bb=_0x5d3206>0x1?void 0x0:_0x5d3206?Un(_0x6c2499,_0x41cd0d):_0x6c2499,_0x561a5b=_0x5efb20[_0x14c4d8(0x398)]-0x1,_0x22319f;_0x561a5b>=0x0;_0x561a5b--)(_0x22319f=_0x5efb20[_0x561a5b])&&(_0xf5c4bb=_0x22319f(_0xf5c4bb)||_0xf5c4bb);return _0xf5c4bb;},_t=(_0x12d0d6,_0x5958da)=>(_0x49519a,_0x55c11d)=>_0x5958da(_0x49519a,_0x55c11d,_0x12d0d6);exports[_0x1f6ce8(0xfe)]=class{constructor(_0x319674,_0x52316d){var _0x21bb5d=_0x1f6ce8;this['_configService']=_0x319674,this[_0x21bb5d(0x2ff)]=_0x52316d;}async['getUnitOnRev'](_0x16b59a,_0x2e5953){var _0x1ef844=_0x1f6ce8,_0x207a58;const {unitID:_0x1a5b30,type:_0x3b6c9e,revision:_0x4a1854=0x0}=_0x2e5953,_0x4a9323=this[_0x1ef844(0x17c)]()+'/'+_0x3b6c9e+_0x1ef844(0x12b)+_0x1a5b30+_0x1ef844(0x3fc)+_0x4a1854,_0x560c84=(await this['_httpService'][_0x1ef844(0x203)](_0x4a9323))['body'],_0x494622=(_0x207a58=_0x560c84[_0x1ef844(0x3d0)])==null?void 0x0:_0x207a58['workbook'];if(_0x494622){const _0x10367f=_0x494622==null?void 0x0:_0x494622[_0x1ef844(0x3ef)],_0x5c4a4a=g[_0x1ef844(0x26b)][_0x1ef844(0x3ea)](g[_0x1ef844(0x399)](_0x10367f));_0x494622['originalMeta']=_0x5c4a4a,Object[_0x1ef844(0x3ec)](_0x494622[_0x1ef844(0x1a1)])[_0x1ef844(0x2f5)](([,_0x53877e])=>{var _0x489913=_0x1ef844;const _0x1f039f=_0x53877e[_0x489913(0x3ef)],_0x2290f1=g[_0x489913(0x26b)][_0x489913(0x3ea)](g[_0x489913(0x399)](_0x1f039f));_0x53877e[_0x489913(0x3ef)]=_0x2290f1;});}return _0x560c84;}async[_0x1f6ce8(0x338)](_0x5b1c05,_0x3228fd){var _0x4b8c50=_0x1f6ce8;const {unitID:_0x4ab1ed,type:_0x165ec4,blockID:_0x43d20c}=_0x3228fd,_0x27b447=this['_getAPIPrefix']()+'/'+_0x165ec4+'/unit/'+_0x4ab1ed+_0x4b8c50(0x223)+_0x43d20c;return(await this[_0x4b8c50(0x2ff)]['get'](_0x27b447))[_0x4b8c50(0x239)];}async['getDeserializedSheetBlock'](_0x552dd8,_0x43a200){var _0xd24778=_0x1f6ce8;const {unitID:_0x1639f6,type:_0x4beb83,blockID:_0x8139be}=_0x43a200,_0x22ee82=this[_0xd24778(0xc4)]()+_0xd24778(0x223)+_0x4beb83+'/unit/'+_0x1639f6+_0xd24778(0x223)+_0x8139be;return(await this[_0xd24778(0x2ff)][_0xd24778(0x203)](_0x22ee82))[_0xd24778(0x239)];}async[_0x1f6ce8(0x147)](_0x33a050,_0x80b7f5){var _0x48b660=_0x1f6ce8;const {unitID:_0x104389,type:_0x2b86b3,from:_0x12fc22,to:_0x5eee6a}=_0x80b7f5,_0x17a868=this[_0x48b660(0xc4)]()+'/'+_0x2b86b3+_0x48b660(0x12b)+_0x104389+_0x48b660(0xbc)+_0x12fc22+_0x48b660(0x172)+_0x5eee6a;return(await this[_0x48b660(0x2ff)]['get'](_0x17a868))[_0x48b660(0x239)];}[_0x1f6ce8(0x17c)](){var _0x19b9b9=_0x1f6ce8,_0x16165d;return(_0x16165d=this[_0x19b9b9(0x291)][_0x19b9b9(0x170)](vt))!=null?_0x16165d:this['_getAPIPrefix']();}[_0x1f6ce8(0xc4)](){var _0xfe841=_0x1f6ce8,_0x4aa9b6,_0x43f4be;const _0x19ad05=this[_0xfe841(0x291)][_0xfe841(0x170)](dt),_0x5a7d7d=this[_0xfe841(0x291)]['getConfig'](Y);return(_0x43f4be=(_0x4aa9b6=_0x5a7d7d==null?void 0x0:_0x5a7d7d[_0xfe841(0xe9)])!=null?_0x4aa9b6:_0x19ad05)!=null?_0x43f4be:kt;}async['getResourcesRequest'](_0x2a2161,_0x31138a){var _0x51977a=_0x1f6ce8;const _0x1f3704='/universer-api/snapshot/'+_0x31138a['type']+_0x51977a(0x12b)+_0x31138a[_0x51977a(0x17b)]+_0x51977a(0x2f3);return(await this[_0x51977a(0x2ff)][_0x51977a(0x203)](_0x1f3704,{'params':{'resourceId':JSON[_0x51977a(0x1ca)](_0x31138a[_0x51977a(0xb4)])}}))[_0x51977a(0x239)];}['saveSnapshot'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x1f6ce8(0x302)](){var _0x72c010=_0x1f6ce8;throw new Error(_0x72c010(0x17f));}[_0x1f6ce8(0x97)](){var _0x4cf99b=_0x1f6ce8;throw new Error(_0x4cf99b(0x17f));}['copyFileMeta'](){var _0x369639=_0x1f6ce8;throw new Error(_0x369639(0x17f));}['getLatestCsReqIdBySid'](){var _0x33140e=_0x1f6ce8;throw new Error(_0x33140e(0x17f));}},exports[_0x1f6ce8(0xfe)]=An([_t(0x0,a[_0x1f6ce8(0x240)]),_t(0x1,a[_0x1f6ce8(0x339)](q[_0x1f6ce8(0xfd)]))],exports['SnapshotServerOverHTTPService']);var Pn=Object[_0x1f6ce8(0xac)],wn=(_0x5301d0,_0x13a82a,_0x5d40b9,_0x3a6204)=>{for(var _0x7a074=_0x3a6204>0x1?void 0x0:_0x3a6204?Pn(_0x13a82a,_0x5d40b9):_0x13a82a,_0x35b209=_0x5301d0['length']-0x1,_0xa51d5a;_0x35b209>=0x0;_0x35b209--)(_0xa51d5a=_0x5301d0[_0x35b209])&&(_0x7a074=_0xa51d5a(_0x7a074)||_0x7a074);return _0x7a074;},de=(_0x4ac1ab,_0x15ea39)=>(_0x1c72c1,_0x24d450)=>_0x15ea39(_0x1c72c1,_0x24d450,_0x4ac1ab);exports[_0x1f6ce8(0x3b1)]=class extends a['LocalUndoRedoService']{constructor(_0x54dc7e,_0x26f27e,_0x3faa4d,_0x29375c,_0xfb66f4){var _0x2c0337=_0x1f6ce8;super(_0x54dc7e,_0x26f27e,_0x3faa4d),this[_0x2c0337(0x146)]=_0x29375c,this[_0x2c0337(0x3c4)]=_0xfb66f4;}[_0x1f6ce8(0x193)](_0x6c0c35,_0x51432e){var _0xeeba25=_0x1f6ce8;const _0x5e7096=this[_0xeeba25(0xc0)](_0x6c0c35);if(_0x5e7096)try{const _0x5b16e6=this[_0xeeba25(0x129)](_0x5e7096,_0x51432e);this[_0xeeba25(0x1bc)](_0x6c0c35,_0x5b16e6);}catch(_0x5cb8c0){this[_0xeeba25(0x3c4)]['error']('[CollaborationUndoRedoService]',_0x5cb8c0),this[_0xeeba25(0x3c8)](_0x6c0c35);}const _0x3c22f8=this[_0xeeba25(0x2d0)](_0x6c0c35);if(_0x3c22f8)try{const _0x4cab8b=this[_0xeeba25(0x129)](_0x3c22f8,_0x51432e);this[_0xeeba25(0x282)](_0x6c0c35,_0x4cab8b);}catch(_0x145b8e){this[_0xeeba25(0x3c4)]['error'](_0x145b8e),this[_0xeeba25(0x2c0)](_0x6c0c35);}}['_clearUndo'](_0x3ed97c){var _0x3d70a2=_0x1f6ce8;const _0x27e32a=this[_0x3d70a2(0xc0)](_0x3ed97c);_0x27e32a&&(_0x27e32a[_0x3d70a2(0x398)]=0x0,this[_0x3d70a2(0x243)]());}[_0x1f6ce8(0x2c0)](_0x346e39){var _0x4a6dc8=_0x1f6ce8;const _0x45e940=this[_0x4a6dc8(0x2d0)](_0x346e39);_0x45e940&&(_0x45e940[_0x4a6dc8(0x398)]=0x0,this['_updateStatus']());}[_0x1f6ce8(0x1bc)](_0x54b9fb,_0x4e826a){var _0x30bdd7=_0x1f6ce8;this[_0x30bdd7(0x3bc)][_0x30bdd7(0x3c0)](_0x54b9fb,_0x4e826a),this[_0x30bdd7(0x243)]();}[_0x1f6ce8(0x282)](_0x3e03d3,_0x2ea930){this['_redoStacks']['set'](_0x3e03d3,_0x2ea930),this['_updateStatus']();}['_transformStack'](_0x624211,_0x403e25){var _0x281379=_0x1f6ce8;const _0x3bfd1a=[];let _0x25d42a=_0x403e25,_0x3225b0=_0x403e25;for(let _0x332f9e=_0x624211[_0x281379(0x398)]-0x1;_0x332f9e>=0x0;_0x332f9e--){const {unitID:_0x2c04d3,undoMutations:_0x1e12c0,redoMutations:_0x522041}=_0x624211[_0x332f9e],_0x3be39a=this[_0x281379(0x146)][_0x281379(0xcc)](_0x25d42a,_0x1e12c0),_0x5c1ab6=this[_0x281379(0x146)][_0x281379(0xcc)](_0x3225b0,_0x522041);if(g[_0x281379(0x169)](_0x3be39a)||g[_0x281379(0x169)](_0x5c1ab6)){this[_0x281379(0x3c4)][_0x281379(0x160)](_0x281379(0xaa),_0x281379(0x219),_0x3be39a,_0x5c1ab6);break;}_0x25d42a=_0x3be39a[_0x281379(0x34d)],_0x3225b0=_0x5c1ab6[_0x281379(0x34d)],_0x3bfd1a['push']({'unitID':_0x2c04d3,'undoMutations':_0x3be39a[_0x281379(0x1f6)],'redoMutations':_0x5c1ab6['m2Prime']});}return _0x3bfd1a['reverse']();}},exports[_0x1f6ce8(0x3b1)]=wn([de(0x0,a[_0x1f6ce8(0x2cf)]),de(0x1,a[_0x1f6ce8(0x150)]),de(0x2,a[_0x1f6ce8(0xeb)]),de(0x3,g[_0x1f6ce8(0x363)]),de(0x4,a['ILogService'])],exports[_0x1f6ce8(0x3b1)]);var Ln=Object[_0x1f6ce8(0x360)],Mn=Object[_0x1f6ce8(0xac)],xn=(_0xb6d353,_0x1cc272,_0x454266)=>_0x1cc272 in _0xb6d353?Ln(_0xb6d353,_0x1cc272,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x454266}):_0xb6d353[_0x1cc272]=_0x454266,kn=(_0x307b00,_0x1bd685,_0x47bab8,_0x7a3c40)=>{var _0x2fdbaf=_0x1f6ce8;for(var _0x572901=_0x7a3c40>0x1?void 0x0:_0x7a3c40?Mn(_0x1bd685,_0x47bab8):_0x1bd685,_0x43cd35=_0x307b00[_0x2fdbaf(0x398)]-0x1,_0x1051a6;_0x43cd35>=0x0;_0x43cd35--)(_0x1051a6=_0x307b00[_0x43cd35])&&(_0x572901=_0x1051a6(_0x572901)||_0x572901);return _0x572901;},ke=(_0x17c1aa,_0x3ea464)=>(_0x56eef7,_0x1c460c)=>_0x3ea464(_0x56eef7,_0x1c460c,_0x17c1aa),Hn=(_0x2dc2eb,_0x4db6c2,_0x40ada9)=>xn(_0x2dc2eb,_0x4db6c2+'',_0x40ada9);const jn=_0x1f6ce8(0x2b9);exports[_0x1f6ce8(0x1a9)]=class extends a[_0x1f6ce8(0x2d9)]{constructor(_0x3e8d0c,_0x5ad35e,_0x24b8c2,_0x116310){var _0x306812=_0x1f6ce8;super(),A(this,'_config'),(this['_logService']=_0x5ad35e,this[_0x306812(0x154)]=_0x24b8c2,this[_0x306812(0x291)]=_0x116310);const {..._0x5c765a}=a[_0x306812(0xe6)]({},Jt,_0x3e8d0c);if(!_0x5c765a[_0x306812(0xb3)])throw new Error(_0x306812(0x1cb));this[_0x306812(0xe0)]=_0x5c765a,this[_0x306812(0x291)]['setConfig'](Y,_0x5c765a);}[_0x1f6ce8(0x10d)](){var _0x1195a9=_0x1f6ce8;this['_registerDependencies'](),this[_0x1195a9(0xe3)]();}['_registerDependencies'](){var _0xdf9865=_0x1f6ce8,_0x8e8c22,_0x10e260;this[_0xdf9865(0x154)][_0xdf9865(0xd3)](a['IUndoRedoService'])&&this[_0xdf9865(0x3c4)][_0xdf9865(0x160)](_0xdf9865(0xda),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x5e30af=a[_0xdf9865(0x3b2)]([[a[_0xdf9865(0x15c)],{'useClass':exports[_0xdf9865(0x3b1)]}],[exports[_0xdf9865(0x1bb)]],[exports[_0xdf9865(0xbf)]],[exports[_0xdf9865(0x214)]],[ye],[Ne],[Be],[De],[te],[exports[_0xdf9865(0x362)]],[$e,{'useClass':this[_0xdf9865(0xe0)][_0xdf9865(0xb3)]}],[g['ISnapshotServerService'],{'useClass':exports['SnapshotServerOverHTTPService']}],[a[_0xdf9865(0xd0)],{'useClass':exports['AuthzIoHttpService']}],[J[_0xdf9865(0x32d)],{'useClass':exports['CollaborationImageIoService']}],[a[_0xdf9865(0x25a)],{'useClass':exports[_0xdf9865(0x165)]}],[exports[_0xdf9865(0x18b)]],[He]],(_0x8e8c22=this[_0xdf9865(0xe0)])==null?void 0x0:_0x8e8c22[_0xdf9865(0x20a)]);if(!((_0x10e260=this[_0xdf9865(0xe0)])!=null&&_0x10e260['enableSingleActiveInstanceLock'])){const _0x40af1f=_0x5e30af['findIndex'](([_0xabfafe])=>_0xabfafe===ve);_0x40af1f!==-0x1&&_0x5e30af[_0xdf9865(0x13c)](_0x40af1f,0x1);}a[_0xdf9865(0x3cc)](this[_0xdf9865(0x154)],_0x5e30af);}[_0x1f6ce8(0xe3)](){var _0x1efe96=_0x1f6ce8,_0x59e521,_0x4d724b,_0x42b984;this[_0x1efe96(0x154)][_0x1efe96(0x203)](q[_0x1efe96(0xfd)])[_0x1efe96(0x37c)]({'priority':0x14,'interceptor':q[_0x1efe96(0x14d)]({'maxParallel':0x6})}),(_0x59e521=this[_0x1efe96(0xe0)])!=null&&_0x59e521[_0x1efe96(0x383)]||(_0x4d724b=this[_0x1efe96(0x154)][_0x1efe96(0x203)](z,a['Quantity']['OPTIONAL']))==null||_0x4d724b[_0x1efe96(0x2c1)](),(_0x42b984=this[_0x1efe96(0xe0)])!=null&&_0x42b984[_0x1efe96(0x111)]&&a[_0x1efe96(0x3b7)](this[_0x1efe96(0x154)],[[ye]]),a[_0x1efe96(0x3b7)](this['_injector'],[[Ne],[exports[_0x1efe96(0x18b)]],[De]]);}},Hn(exports[_0x1f6ce8(0x1a9)],_0x1f6ce8(0x233),jn),exports['UniverCollaborationClientPlugin']=kn([a[_0x1f6ce8(0x3cf)](g[_0x1f6ce8(0x123)],q['UniverNetworkPlugin']),ke(0x1,a[_0x1f6ce8(0x3e5)]),ke(0x2,a[_0x1f6ce8(0x339)](a['Injector'])),ke(0x3,a[_0x1f6ce8(0x240)])],exports[_0x1f6ce8(0x1a9)]),exports['AUTHZ_URL_KEY']=Ge,exports[_0x1f6ce8(0x2d3)]=Y,exports[_0x1f6ce8(0x262)]=It,exports[_0x1f6ce8(0xa5)]=St,exports[_0x1f6ce8(0x195)]=Ve,exports[_0x1f6ce8(0x349)]=Q,exports['CollaborationUIEventService']=te,exports[_0x1f6ce8(0x1c4)]=Be,exports[_0x1f6ce8(0x301)]=ft,exports[_0x1f6ce8(0x340)]=zt,exports['DEFAULT_WS_SESSION_TICKET_URL']=$t,exports[_0x1f6ce8(0x24d)]=pt,exports['HEARTBEAT_TIMEOUT_KEY']=je,exports[_0x1f6ce8(0x33a)]=$e,exports[_0x1f6ce8(0x158)]=z,exports[_0x1f6ce8(0x131)]=bt,exports['ISingleActiveUnitService']=ve,exports['LOCAL_CACHE_INTERVAL']=Gt,exports[_0x1f6ce8(0x2fc)]=Wt,exports['LOGIN_URL_KEY']=Et,exports[_0x1f6ce8(0x21f)]=qt,exports[_0x1f6ce8(0x23e)]=mt,exports[_0x1f6ce8(0x3a7)]=Ht,exports[_0x1f6ce8(0xe8)]=dt,exports[_0x1f6ce8(0xf8)]=vt,exports[_0x1f6ce8(0xad)]=se,exports[_0x1f6ce8(0x230)]=Fe,exports[_0x1f6ce8(0x366)]=Rt,exports['getLocalCacheKey']=vi,exports[_0x1f6ce8(0xd1)]=Ot;
1
+ 'use strict';var _0xd6acc8=_0x2bce;(function(_0x464027,_0x34469c){var _0x20d4d7=_0x2bce,_0x1dec49=_0x464027();while(!![]){try{var _0x14f1c3=-parseInt(_0x20d4d7(0x2d0))/0x1+-parseInt(_0x20d4d7(0x2b2))/0x2+parseInt(_0x20d4d7(0x1ef))/0x3*(parseInt(_0x20d4d7(0x298))/0x4)+-parseInt(_0x20d4d7(0x40c))/0x5*(parseInt(_0x20d4d7(0x13f))/0x6)+parseInt(_0x20d4d7(0x121))/0x7+-parseInt(_0x20d4d7(0x3e1))/0x8+parseInt(_0x20d4d7(0x33d))/0x9;if(_0x14f1c3===_0x34469c)break;else _0x1dec49['push'](_0x1dec49['shift']());}catch(_0x318138){_0x1dec49['push'](_0x1dec49['shift']());}}}(_0xf516,0xad536));var wt=Object[_0xd6acc8(0x18a)],Lt=(_0xfb80aa,_0x29e374,_0xcd2a2d)=>_0x29e374 in _0xfb80aa?wt(_0xfb80aa,_0x29e374,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xcd2a2d}):_0xfb80aa[_0x29e374]=_0xcd2a2d,A=(_0x286968,_0x422187,_0x55b3c9)=>Lt(_0x286968,typeof _0x422187!=_0xd6acc8(0x11e)?_0x422187+'':_0x422187,_0x55b3c9);Object[_0xd6acc8(0x18a)](exports,Symbol[_0xd6acc8(0x15b)],{'value':_0xd6acc8(0x195)});const a=require('@univerjs/core'),j=require('rxjs'),V=require(_0xd6acc8(0x3cc)),g=require(_0xd6acc8(0x17d)),q=require(_0xd6acc8(0x3e4)),Mt=require('@univerjs/telemetry'),ut=require(_0xd6acc8(0x209)),Z=require(_0xd6acc8(0x180)),J=require('@univerjs/drawing'),xt=require(_0xd6acc8(0x250)),dt=_0xd6acc8(0x11f),kt='/universer-api/snapshot',vt=_0xd6acc8(0x38b),Ht=_0xd6acc8(0x3ef),jt=0x7d0,St=_0xd6acc8(0x339),ft=_0xd6acc8(0xff),$t=_0xd6acc8(0x118),pt=_0xd6acc8(0x28d),Bt=0x7530,je='HEARTBEAT_TIMEOUT',gt=0x4e20,Ft=0x4e20,mt='RETRY_CONNECTING_MAX_COUNT',Vt=0x3,Wt='LOCAL_CACHE_INTERVAL',Gt=0x3e8,It=_0xd6acc8(0x2d3),Kt=_0xd6acc8(0x22c),Et=_0xd6acc8(0x349),Yt=_0xd6acc8(0x365),qt=_0xd6acc8(0x255),zt='/universer-api/uniscript';var Ct=(_0xca17c4=>(_0xca17c4[_0xca17c4[_0xd6acc8(0x1e9)]=0x0]=_0xd6acc8(0x1e9),_0xca17c4[_0xca17c4['OK']=0x1]='OK',_0xca17c4[_0xca17c4[_0xd6acc8(0x10e)]=0x2]=_0xd6acc8(0x10e),_0xca17c4[_0xca17c4[_0xd6acc8(0x39e)]=0x3]='PERMISSION_DENIED',_0xca17c4[_0xca17c4[_0xd6acc8(0x11c)]=0x4]=_0xd6acc8(0x11c),_0xca17c4[_0xca17c4[_0xd6acc8(0x17b)]=0x5]=_0xd6acc8(0x17b),_0xca17c4[_0xca17c4[_0xd6acc8(0x2f0)]=0x6]=_0xd6acc8(0x2f0),_0xca17c4[_0xca17c4[_0xd6acc8(0x210)]=0x7]='INVALID_ARGUMENT',_0xca17c4[_0xca17c4[_0xd6acc8(0x2c6)]=0x8]=_0xd6acc8(0x2c6),_0xca17c4[_0xca17c4['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0xca17c4[_0xca17c4['LOGIN_FAILED']=0xa]=_0xd6acc8(0x1df),_0xca17c4[_0xca17c4[_0xd6acc8(0x1f9)]=0x1389]=_0xd6acc8(0x1f9),_0xca17c4[_0xca17c4[_0xd6acc8(0x305)]=0x1771]=_0xd6acc8(0x305),_0xca17c4[_0xca17c4[_0xd6acc8(0x29a)]=0x1772]=_0xd6acc8(0x29a),_0xca17c4[_0xca17c4[_0xd6acc8(0x2ac)]=0x1773]=_0xd6acc8(0x2ac),_0xca17c4[_0xca17c4[_0xd6acc8(0x3d4)]=0x1b59]='APPLY_REJECT',_0xca17c4[_0xca17c4['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0xca17c4[_0xca17c4[_0xd6acc8(0xcc)]=0x1b5b]=_0xd6acc8(0xcc),_0xca17c4[_0xca17c4['APPLY_PERMISSION_DENIED']=0x1b5c]=_0xd6acc8(0xdf),_0xca17c4[_0xca17c4['APPLY_DUPLICATED']=0x1b5d]=_0xd6acc8(0x405),_0xca17c4[_0xca17c4[_0xd6acc8(0x394)]=0x1f41]=_0xd6acc8(0x394),_0xca17c4[_0xca17c4[_0xd6acc8(0x354)]=0x2329]=_0xd6acc8(0x354),_0xca17c4[_0xca17c4[_0xd6acc8(0x332)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0xca17c4[_0xca17c4['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0xd6acc8(0x14f),_0xca17c4[_0xca17c4[_0xd6acc8(0xa5)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0xca17c4[_0xca17c4[_0xd6acc8(0x399)]=0x232d]='LICENSE_DISTRO_REJECTED',_0xca17c4[_0xca17c4[_0xd6acc8(0x2d7)]=0x2711]=_0xd6acc8(0x2d7),_0xca17c4[_0xca17c4[_0xd6acc8(0xcf)]=0x2712]=_0xd6acc8(0xcf),_0xca17c4[_0xca17c4['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0xd6acc8(0x3f7),_0xca17c4[_0xca17c4[_0xd6acc8(0x333)]=0x2714]=_0xd6acc8(0x333),_0xca17c4[_0xca17c4[_0xd6acc8(0x139)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0xca17c4[_0xca17c4[_0xd6acc8(0x19c)]=0x2ee1]=_0xd6acc8(0x19c),_0xca17c4[_0xca17c4[_0xd6acc8(0x1f6)]=0x2ee2]='INVALID_INVITE_CODE',_0xca17c4[_0xca17c4[_0xd6acc8(0x1ff)]=0x2ee3]=_0xd6acc8(0x1ff),_0xca17c4[_0xca17c4[_0xd6acc8(0x35d)]=0x2ee4]=_0xd6acc8(0x35d),_0xca17c4[_0xca17c4[_0xd6acc8(0x164)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0xca17c4[_0xca17c4['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0xd6acc8(0x2f3),_0xca17c4[_0xca17c4[_0xd6acc8(0x275)]=0x32ca]=_0xd6acc8(0x275),_0xca17c4[_0xca17c4[_0xd6acc8(0x19b)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0xca17c4[_0xca17c4[_0xd6acc8(0x2b9)]=-0x1]=_0xd6acc8(0x2b9),_0xca17c4))(Ct||{}),X=(_0x2650b8=>(_0x2650b8[_0x2650b8['UNIVER_UNKNOWN']=0x0]=_0xd6acc8(0x3c5),_0x2650b8[_0x2650b8['UNIVER_DOC']=0x1]=_0xd6acc8(0x375),_0x2650b8[_0x2650b8[_0xd6acc8(0x315)]=0x2]='UNIVER_SHEET',_0x2650b8[_0x2650b8[_0xd6acc8(0x238)]=0x3]=_0xd6acc8(0x238),_0x2650b8[_0x2650b8[_0xd6acc8(0x176)]=0x4]=_0xd6acc8(0x176),_0x2650b8[_0x2650b8[_0xd6acc8(0x2b9)]=-0x1]='UNRECOGNIZED',_0x2650b8))(X||{}),W=(_0x3bd350=>(_0x3bd350[_0x3bd350[_0xd6acc8(0x181)]=0x0]=_0xd6acc8(0x181),_0x3bd350[_0x3bd350[_0xd6acc8(0x15d)]=0x1]=_0xd6acc8(0x15d),_0x3bd350[_0x3bd350[_0xd6acc8(0x2d4)]=0x2]=_0xd6acc8(0x2d4),_0x3bd350[_0x3bd350[_0xd6acc8(0x3c7)]=0x3]='LEAVE',_0x3bd350[_0x3bd350[_0xd6acc8(0x3fc)]=0x4]='INGEST',_0x3bd350[_0x3bd350[_0xd6acc8(0x29f)]=0x5]=_0xd6acc8(0x29f),_0x3bd350[_0x3bd350['RECV']=0x6]=_0xd6acc8(0xf6),_0x3bd350[_0x3bd350[_0xd6acc8(0x2b9)]=-0x1]=_0xd6acc8(0x2b9),_0x3bd350))(W||{}),ae=(_0x3adb5f=>(_0x3adb5f[_0x3adb5f[_0xd6acc8(0x15e)]=0x0]='UNKNOWN_CODE',_0x3adb5f[_0x3adb5f['OK']=0x1]='OK',_0x3adb5f[_0x3adb5f[_0xd6acc8(0x322)]=0x2]=_0xd6acc8(0x322),_0x3adb5f[_0x3adb5f[_0xd6acc8(0xcd)]=0x3e9]=_0xd6acc8(0xcd),_0x3adb5f[_0x3adb5f['JOIN_ROOM_NOT_EXISTS']=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x3adb5f[_0x3adb5f[_0xd6acc8(0x2b4)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x3adb5f[_0x3adb5f[_0xd6acc8(0x208)]=0x3ec]=_0xd6acc8(0x208),_0x3adb5f[_0x3adb5f[_0xd6acc8(0x2b9)]=-0x1]=_0xd6acc8(0x2b9),_0x3adb5f))(ae||{}),Tt=(_0x1df500=>(_0x1df500[_0x1df500[_0xd6acc8(0x1c8)]=0x0]=_0xd6acc8(0x1c8),_0x1df500[_0x1df500['HttpImport']=0x1]='HttpImport',_0x1df500[_0x1df500[_0xd6acc8(0x242)]=0x2]=_0xd6acc8(0x242),_0x1df500[_0x1df500['UnitEmbedded']=0x3]=_0xd6acc8(0x2dc),_0x1df500[_0x1df500['UnitSnapshot']=0x4]=_0xd6acc8(0x3e8),_0x1df500[_0x1df500[_0xd6acc8(0x1be)]=0x5]='UserProfileImg',_0x1df500[_0x1df500[_0xd6acc8(0x2b9)]=-0x1]=_0xd6acc8(0x2b9),_0x1df500))(Tt||{});function _0xf516(){var _0x4621c2=['session.join-failed','_prevBlock','_onConnectionFailed','call','ALREADY_EXISTS','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','OpenSSL','WECHAT_HAS_BEEN_BOUND','_onRemoteRetry','_scheduleCompleteTimestamp','_process','_createInitialStateImpl','PSEUDO_FETCH_MISSING_RESULT','FETCH_MISSING','FileId','_getSendChangesetTimeout','transformChangesets','getCurrentUser','catch','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','executeCommand','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_updateState','setCurrentUser','userID','SNAPSHOT_INVALID_SNAPSHOT','randomBytes','_onRemoteChangeset','delete','collaMsg','concat','isTransformChangesetsSuccess','_clearTimeoutTimer','objectType','_localeService','save\x20fail\x20reason\x20is\x20','ONLINE','isArray','key','disableLocalCache','liveShareOperation','UNIVER_SHEET','waitForRoom$','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_xformMode','onload','socket$','shouldCloseConn','_collabSessionService','_getUndoStack','_sendHeartbeat','/block/','Base','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','FAIL','DataLoaderService','isTransformMutationsWithChangesetFailure','conflict','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','BASE64','sessionStatus','reconnect','body','bind','IUndoRedoService','encode','_candidateSocket','push','toDisposable','[CollaborationSession]','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','YUUMI_SUBSCRIPTION_NOT_FOUND','_onConnectionOpen','/role','reset','Disposable','SheetTransformSelectionsService','COLLAB_WEB_SOCKET_URL','members$','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','onlyLocal','9263691CYeuzu','_clearCollaborationTimeoutTimer','clear','univer-pro.collaboration-client-socket-service','lib','encryptBlock','sid','_executeRemoteChangeset','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','UNISCRIPT_RUN','_substituteUndoStack','pipe','LOGIN_URL_KEY','collabWebSocketUrl','_onRemoteRejected','_networkConditionService','encodeURIComponent','_toggleOnline','OPTIONAL','encrypt','listCollaborators','\x0aAfter:\x20','iterations','LICENSE_MAX_UNITS_EXCEEDED','offline','Workbook','_loadDoc','algo','IPermissionService','_mode','auth.needGotoLoginAlert','SHOULD_CLOSE_CONN','USER_NOT_INVITED_CODE','_socketService','loadOfflineData','getValue','synced','reqId','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_onUserLeave','/universer-api/oidc/authpage','execute','image/png','pluginName','extend','CollaborativeUndoRedoService','DEFAULT_COLLAB_WEB_SOCKET_URL','_onOffline','parse','takeUntil','map','words','_onMessage','_substituteRedoStack','_replayCachedMutations','loadDoc','UNIVER_DOC','_submitChangeset','confirm','disposeWithMe','_handlerCallback','_socket','SetSelectionsOperation','replace','resourceIDs','kdf','UNIVER_COLLABORATION_CLIENT_PLUGIN','clamp','socketService','_rescheduleHeartbeat','_schedule','focused$','infoRsp','headers','IImageIoService','_scheduleCollaborationTimeoutTimer','_nDataBytes','type','SNAPSHOT_URL_KEY','_sender','awaiting','/fetchmissing?from=','create','IDLE','SHA1','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','finalize','CONNECTOR_DATA_TOO_LARGE','_cipher','resolve','onSyncEditingCollabCursor','unit-cache-','LICENSE_DISTRO_REJECTED','getSheetBlock','sequenceExecute','/-/object/-/batch_allowed','CollaborationSocketService','PERMISSION_DENIED','Hex','list','awaiting_with_pending','getCurrentRevOfUnit','BehaviorSubject','updatePermissionPoint','_undoRedoService','_iKey','RevisionService','_collaborationTimeoutTimer','onLocalMutation','put','padding','onTransformIME','SUBMIT_CHANGESET_TIMEOUT','sigBytes','isPermissionRej','_event$','abs','_reverseMap','set','toggleOnline','_httpService','_revisionService','getOwnPropertyDescriptor','_localCacheService','session.room-cnt-exceeds','processBlock','LIVESHARE_REQUEST_HOST','OTHER_CLIENTS_EDITING','&to=','[PendingState]:\x20unhandled\x20univer\x20type:\x20','createDecryptor','NOT_COLLAB','randomUUID','/universer-api/stream/file/upload','salt','_minBufferSize','UNIVER_UNKNOWN','forEach','LEAVE','apply','append','createCollaborator','_transformRemoteChangesetByIMECache','rxjs/operators','/universer-api/file/{fileID}/sign-url','Encryptor','dispose$','JOINING','LOCAL_CACHE_INTERVAL','permissionRejEvent','getMember','APPLY_REJECT','listRoles','getActiveSheet','state','CipherParams','take','params','image/bmp','updateOfflineData','/rev/','_entities','_createHandler','/allowed','8467808kJMIyA','_sessions','enableAuthServer','@univerjs/network','_queuedRemoteChangesets','[OfflineState]:\x20received\x20changeset.','CollaborationEntity','UnitSnapshot','_tryReconnect','[OfflineState]:\x20received\x20rejection.','onRemoteAck','filter','SYNCED','CLOSE_ROOM','SEND_CHANGESET_TIMEOUT','unsubscribe','appendMutation','indexOf','registerHTTPInterceptor','revision','HEARTBEAT_INTERVAL_KEY','closeSession','YUUMI_RATE_OVER_LIMIT','_doProcessBlock','_clearUndo','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','SnapshotService','INGEST','collaboration-client.config','/new_changes','random','deleteCollaborator','transformSelections','MUTATION','_checkMissing','_initRequestHeader','APPLY_DUPLICATED','sin','onCommandExecuted','AwaitingState','blockSize','_clearLocalCache','RxDisposable','5hSARKV','_showConflictNotification','range','snapshot','reverse','collaboration-client.local-cache-service','Inject','keySize','collaboration_new_changeset','saveSheetBlock','updateCursorEvent','Tools','stringify','LICENSE_EXPORT_SIZE_EXCEEDED','charAt','clone','_toggleOffline','_entityInit$','_socket$','SUCCUSS','_onUserJoin','_applyRemoteChangeset','AuthzIoHttpService','_transformUndoredo','b64DecodeUnicode','onTransformSelections','requireSession','change$','joinEvent','_transformIMECache','SyncedState','post','min','onTransformRemoteChangesetByIMECache','onStateChange','createIdentifier','getTypeOfUnitDisposed$','onSendChangeset','getImage','cmd','subUnitId','not_collab','fetch_missing','_members$','_timeoutTimer','CollaborationSessionService','name','isInternalEditorID','getConfig','changesets','UPDATE_CURSOR','open$','APPLY_REVISION_CONFILICT','JOIN_ROOM_FULL','_type','YUUMI_URL_COL_OUT_OF_RANGE','PendingState','_onConflict','_state','getGlobalObject','ICollaborationSocketService','substr','__creator','serializeCombRequest','IUniverInstanceService','_joinRoom','msCrypto','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','now','saveSnapshot','localCacheService','APPLY_PERMISSION_DENIED','debug','ILogService','_keySchedule','delay','UniverCollaborationPlugin','fetchMissingChangesets','_pendingMutations','fetchThroughInterceptors','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_waitCount','_members','onMissingChangesets','{fileID}','isTransformMutationsWithChangesetSuccess','actions','Could\x20not\x20dynamically\x20require\x20\x22','textEncoder','LIVESHARE_FETCH_OPERATIONS','_onLocalMutation','JSONX','setShowComponents','/object/','RECV','LOCAL_CACHE_INTERVAL_KEY','[UniverCollaborationClientPlugin]','error','baseRev','Optional','fromCharCode','_onRecvEvent','_collaborationSessionService','ws://127.0.0.1:8000/universer-api/comb/connect','status$','_getUploadFileURL','getUnitOnRev','signUrlServerUrl','IAuthzIoService','IConfigService','[CollaborationUndoRedoService]','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','length','SheetCollaborationEntity','objectID','BufferedBlockAlgorithm','Latin1','onTransformState','INTERNAL_ERROR','selections','createInstance','[CollaborationSessionService]:\x20socket\x20error','WorkbookEditablePermission','origin','_injector','getLocalCacheKey','_createInitialState','resend','/universer-api/user/session-ticket','entityInit$','update','compute','NOT_FOUND','getTime','symbol','SNAPSHOT_SERVER_URL_KEY','Decryptor','7840819bEpIAJ','awaitingChangeset','_startCollaboration','uploadFileServerUrl','_append','DocCollaborationEntity','charCodeAt','CHANGESET_ACK','ERROR_IMAGE','csShouldRetryEvent','_socketMessageSubscription','_getAPIPrefixPath','sessionStatus$','cfg','_getCurrentRevision','SessionStatus','/universer-api/snapshot/','_shouldReportTelemetry','file','_sessionStatus$','_transformRemoteChangesetByStateCache','_userManagerService','getDeserializedSheetBlock','_retryConnectingTimer','PY_RUNTIME_SCRIPT_ERROR','connection\x20error','decryptBlock','hostname','StreamCipher','[DataLoaderService]','4053702BQLZUQ','saveImage','_createHelper','_replaceFileID','next','getResourcesRequest','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','BlockCipherMode','Error\x20on\x20receiving\x20event','_map','_initUnitPermissionChange','_univerInstanceService','subject','CollaborationUIEventService','add','_clearScheduledTask','LICENSE_IMPORT_SIZE_EXCEEDED','m2Prime','ICommandService','_collaborationUIEventService','getUnitId','getSnapshotAPIPath','PasswordBasedCipher','close$','result','_sendingTimer','UniverInstanceType','_redoStacks','toStringTag','Quantity','HELLO','UNKNOWN_CODE','CONFLICT','INetworkConditionService','batchAllowed','_imageSourceCache','CHANGESET_SHOULD_RETRY','INVITE_CODE_ALREADY_BOUND','onRemoteRej','_doCreateSocket','_collaborationPaused','Malformed\x20UTF-8\x20data','onRemoteChangeset','\x20-\x20','_config','memberID','fetchMiss','transformMutationsWithChangeset','SnapshotServerOverHTTPService','newCsEvent','commentUpdate$','MentionIoHttpService','_clearRedo','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_commentUpdate$','UNIVER_PROJECT','_getCtorByUniverType','HTTPRequest','online$','close','UNAUTHENTICATED','_exhaustRemoteChangesetQueue','@univerjs-pro/collaboration','_createHmacHelper','max','@univerjs/sheets','UNKNOWN_CMD','commentUpdateEvent','_oKey','_telemetryService','CommentService','_roomCreated$','_clearHeartbeatTimer','_retryCount','_sheetTransformSelectionsService','defineProperty','DisposableCollection','readyForCollab','LIVESHARE_NEW_HOST','_unitID','message$','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_handler','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','snapshotServerUrl','_disableEditing','Module','ConflictState','MSG_FOR_ERROR','buffer','[SyncedState]:\x20received\x20rejection.','hasher','EMAIL_HAS_BEEN_BOUND','INVITE_CODE_HAS_BEEN_UES','ITelemetryService','_HTTPService','startsWith','_initDependencies','_registerDependencies','ImageUploadStatusType','_DEC_XFORM_MODE','eventID','[PendingState]:\x20received\x20acknowledgement.','find','MemberService','_invKeySchedule','members','SUBMIT_CHANGESET','fromCollab','floor','_parse','setWaitCount','getMemberID','_transformService','_eventService','toString','reject','&source=','ReplaySubject','mergeOverrideWithDependencies','originalMeta','CollaborationEvent','csAckEvent','default','_transformStack','title','capture','UserProfileImg','target','hasOwnProperty','csRejEvent','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','AES','createEncryptor','Base64','join','parseChangesetToProtocol','Undefined','MD5','action','src','mutations','pending','format','getCollabEntity$','CompressMutationService','UPDATE_PERMISSION_OBJ','_socketReady','splice','parseProtocolChangeset','SOCKET_FAILED','textRanges','_doFinalize','_resendTimeout','DependentOn','size','shareReplay','_remoteChangesetQueue','toggleOffline','readAsDataURL','LOGIN_FAILED','_snapshotServerService','UniverCollaborationClientPlugin','_compressMutationService','equals','updateMember','ERROR_IMAGE_TYPE','liveShareNewHost','FetchingMissState','pauseCollaboration','UNDEFINED','decrypt','complete','onCommentUpdate','dispose','code','655386VFtUdo','editingUnit','DEFAULT_FILE_NAME','_iv','Subject','_data','/resources','INVALID_INVITE_CODE','ERROR_EXCEED_SIZE','[CollaborationEntity]','CHANGESET_REVISION_CONFILICT','Injector','_logService','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','_transitionLocked','pad','INVITE_CODE_REQUIRED','ciphertext','_status$','allowed','_hash','_startTelemetryCollaborationNewChangeset','emitEvent','_acknowledgedAwaitingChangeset','_resendTimer','GLOBAL_ROOMS_CNT_EXCEEDS','@univerjs/docs','href','Plugin','_snapshotService','interceptor','Rectangle','_singleActiveUnitService','INVALID_ARGUMENT','\x20to\x20','getUnitStatus$','stopTime','/collaborator','__esModule','mode','_doReset','registerDependencies','CollaborationImageIoService','event$','subscribe','_getAPIPrefix','AUTHZ_URL_KEY','_sendHeartbeatTimer','COMPRESS_MUTATION_APPLY','/unit/','mapDocumentTypeToUniverType','_throwTelemetryCollaborationNewChangeset','ITransformService','ThresholdInterceptorFactory','IContextService','JOIN_ROOM_NOT_EXISTS','setConfig','startTime','enableSingleActiveInstanceLock','SheetPermissionInitController','?url=','/universer-api/comb','CollaborationUIEventId','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','People','exports','authzUrl','getTypeOfUnitAdded$','enableOfflineEditing','c1Prime','send','Cipher','_awaitingChangeset','UNIVER_SLIDE','_configService','WordArray','_fetchMissChangesets','_permissionService','ISnapshotServerService','_isPermissionRej','_onFetchMissResult','ISingleActiveUnitService','_change$','HttpExport','createSocket','enc','every','_transformStateCache','transformStack\x20failed!','MergeInterceptorFactory','image/jpg','DEFAULT_WS_SESSION_TICKET_URL','OfflineState','socket\x20open.','data','getRandomValues','localeService','@univerjs-pro/license','unitId','ivSize','init','Hasher','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','Failed\x20to\x20update\x20permission\x20point','initWorkbookPermissionChange','responseType','OTHER_CLIENT_EDITING','COLLAB_WEB_SOCKET_URL_KEY','_stopTelemetryCollaborationNewChangeset','collabSubmitChangesetUrl','location','requestParams','_key','deepClone','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','HmacSHA1','status','COMMENT_UPDATE','removeMember','firstValueFrom','EvpKDF','_updateLocalCache','error$','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','submit\x20changeset\x20error!','_tryEnsureSocket','json','_clearRetryConnectingTimer','CollaborationController','override','_lockTransition','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','/universer-api/authz','onRemoteRetry','MOBILE_HAS_BEEN_BOUND','_init','session','has','byteLength','NEW_CHANGESETS','string','_commentService','entries','univer-pro.collaboration-client.network-condition.service','_decreaseWaiting','LocaleService','_initMergeInterceptor','LIVESHARE_OPERATION','collaborators','slice','OFFLINE','asObservable','_changesetSessionId','_ENC_XFORM_MODE','_roomMembers','unpad','Utf8','_listenToNetworkCondition','HEARTBEAT_INTERVAL','roomInfos','concatMap','SheetsSelectionsService','MentionType','method','/object','_syncEditingCollabCursor','UniverNetworkPlugin','$super','url','20cVvYSt','then','SNAPSHOT_HAS_BEEN_REMOVED','\x20in\x20_schedule.','_onJoinRoomEvent','ceil','CollaborationSession','HEARTBEAT','unknown','unitId\x20is\x20not\x20found','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','CollaborationStatus','_resendWithTimeout','_memberService','_telemetryInfo','onMissedChangesetFetched','AWAITING_WITH_PENDING','toLowerCase','USERS_ENTER','merge','ENSURE_SNAPSHOT_EXECUTION','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_incrementRevisionNumber','_createSocket','HMAC','c2Prime','1069134rsdZUk','transformUndoRedo','JOIN_ROOM_PERMISSION_DENIED','routeKey','_waitForHeartbeatResponse','incrementRevOfUnit','unitID','UNRECOGNIZED','IMentionIOService','RichTextEditingMutation','rev','deserializeToCombResponse','NO_OTHER_CLIENTS_EDITING','getInterceptPoints','crypto','putCollaborators','POST','BlockCipher','_onCombEvent','_unlockTransition','TOO_MANY_REQUESTS','_changesetReqId','get','_hasher','function','CommandType','_instanceService','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_commandService','_doCryptBlock','263124jcTPNe','saveChangeset','COMPRESS_MUTATION_SEND','COLLAB_SUBMIT_CHANGESET_URL','JOIN','ImageSourceType','onTransformRemoteChangesetByStateCache','YUUMI_UNABLE_LOAD_URL','prototype','getRoom','AwaitingWithPendingState','NoPadding','UnitEmbedded','_nRounds','LIVESHARE_TERMINATE','_removeRoom','patch','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','SOCKET_FAILED_RETRY','_unitInfo$','HTTPService','getFocusedUnit','touchDependencies','JOIN_ROOM_FAILED','_getDownloadEndpointURL','_updateStatus','USERS_LEAVE','reduce'];_0xf516=function(){return _0x4621c2;};return _0xf516();}const Y=_0xd6acc8(0x3fd),Jt={};var Q=(_0x30b8d6=>(_0x30b8d6[_0xd6acc8(0x259)]=_0xd6acc8(0x259),_0x30b8d6[_0xd6acc8(0x39e)]=_0xd6acc8(0x39e),_0x30b8d6[_0xd6acc8(0x15f)]=_0xd6acc8(0x15f),_0x30b8d6['CLOSE_ROOM']=_0xd6acc8(0x3ee),_0x30b8d6[_0xd6acc8(0x2e7)]=_0xd6acc8(0x2e7),_0x30b8d6[_0xd6acc8(0x2e2)]=_0xd6acc8(0x2e2),_0x30b8d6[_0xd6acc8(0x1d5)]='SOCKET_FAILED',_0x30b8d6['SUBMIT_CHANGESET_TIMEOUT']='SUBMIT_CHANGESET_TIMEOUT',_0x30b8d6))(Q||{});class te{constructor(){var _0x244e09=_0xd6acc8;A(this,_0x244e09(0x3b0),new j[(_0x244e09(0x1f3))]()),A(this,'event$',this[_0x244e09(0x3b0)][_0x244e09(0x286)]());}[_0xd6acc8(0x205)](_0x11fbf7){var _0x4311b0=_0xd6acc8;this[_0x4311b0(0x3b0)][_0x4311b0(0x143)](_0x11fbf7);}}const bt=a[_0xd6acc8(0xbb)](_0xd6acc8(0x27e));function Rt(_0x2a5a98){var _0x453fff=_0xd6acc8,_0xc1d16a,_0x33b24e,_0x2d97be,_0x3f14ed,_0x1f7543;const _0x3b0f70=_0x2a5a98['data'],_0x43f44b=JSON[_0x453fff(0x36d)](_0x3b0f70);switch(_0x43f44b['cmd']){case W[_0x453fff(0x29f)]:case W[_0x453fff(0x15d)]:{const _0x2b377c=_0x43f44b[_0x453fff(0x385)];return{..._0x43f44b,'data':_0x2b377c,'cmd':_0x43f44b[_0x453fff(0xbf)]};}case W[_0x453fff(0x2d4)]:{const _0x24cbf0=_0x43f44b['joinRsp'];return{..._0x43f44b,'data':_0x24cbf0,'cmd':_0x43f44b['cmd']};}case W['RECV']:{const _0x31f02f=_0x43f44b[_0x453fff(0x309)];switch(_0x31f02f['eventID']){case g[_0x453fff(0x1b8)]['PERMISSION_REJ']:return{..._0x43f44b,'data':{..._0x31f02f,'data':(_0xc1d16a=_0x31f02f[_0x453fff(0x3d2)])==null?void 0x0:_0xc1d16a['cs']},'cmd':_0x43f44b[_0x453fff(0xbf)]};case g['CollaborationEvent'][_0x453fff(0x128)]:return{..._0x43f44b,'data':{..._0x31f02f,'data':(_0x33b24e=_0x31f02f[_0x453fff(0x1b9)])==null?void 0x0:_0x33b24e['cs']},'cmd':_0x43f44b[_0x453fff(0xbf)]};case g[_0x453fff(0x1b8)][_0x453fff(0x27a)]:return{..._0x43f44b,'data':{..._0x31f02f,'data':(_0x2d97be=_0x31f02f[_0x453fff(0x170)])==null?void 0x0:_0x2d97be['cs']},'cmd':_0x43f44b[_0x453fff(0xbf)]};case g[_0x453fff(0x1b8)]['CHANGESET_REJ']:return{..._0x43f44b,'data':{..._0x31f02f,'data':(_0x3f14ed=_0x31f02f[_0x453fff(0x1c1)])==null?void 0x0:_0x3f14ed['cs']},'cmd':_0x43f44b['cmd']};case g['CollaborationEvent'][_0x453fff(0x163)]:return{..._0x43f44b,'data':{..._0x31f02f,'data':(_0x1f7543=_0x31f02f[_0x453fff(0x12a)])==null?void 0x0:_0x1f7543['cs']},'cmd':_0x43f44b['cmd']};case g['CollaborationEvent'][_0x453fff(0xca)]:return{..._0x43f44b,'data':{..._0x31f02f,'data':_0x31f02f[_0x453fff(0x416)]},'cmd':_0x43f44b[_0x453fff(0xbf)]};case g[_0x453fff(0x1b8)][_0x453fff(0x2aa)]:return{..._0x43f44b,'data':{..._0x31f02f,'data':_0x31f02f[_0x453fff(0xb4)]},'cmd':_0x43f44b[_0x453fff(0xbf)]};case g[_0x453fff(0x1b8)][_0x453fff(0x2ea)]:return{..._0x43f44b,'data':{..._0x31f02f,'data':_0x31f02f['leaveEvent']},'cmd':_0x43f44b[_0x453fff(0xbf)]};case g[_0x453fff(0x1b8)][_0x453fff(0x18d)]:return{..._0x43f44b,'data':{..._0x31f02f,'data':_0x31f02f[_0x453fff(0x1e6)]},'cmd':_0x43f44b[_0x453fff(0xbf)]};case g[_0x453fff(0x1b8)][_0x453fff(0xf1)]:case g[_0x453fff(0x1b8)][_0x453fff(0x282)]:return{..._0x43f44b,'data':{..._0x31f02f,'data':_0x31f02f[_0x453fff(0x314)]},'cmd':_0x43f44b[_0x453fff(0xbf)]};case g[_0x453fff(0x1b8)][_0x453fff(0x2de)]:return{..._0x43f44b,'data':{..._0x31f02f,'data':_0x31f02f[_0x453fff(0x1e6)]},'cmd':_0x43f44b[_0x453fff(0xbf)]};case g[_0x453fff(0x1b8)][_0x453fff(0x197)]:return{..._0x43f44b,'data':_0x31f02f,'cmd':_0x43f44b['cmd']};case g[_0x453fff(0x1b8)][_0x453fff(0x264)]:return{..._0x43f44b,'data':{..._0x31f02f,'data':_0x31f02f[_0x453fff(0x182)]},'cmd':_0x43f44b[_0x453fff(0xbf)]};case g[_0x453fff(0x1b8)][_0x453fff(0x1d1)]:return{..._0x43f44b,'data':{..._0x31f02f,'data':_0x31f02f['updatePermissionObjEvent']},'cmd':_0x43f44b[_0x453fff(0xbf)]};case g[_0x453fff(0x1b8)]['SHOULD_CLOSE_CONN']:return{..._0x43f44b,'data':{..._0x31f02f,'data':_0x31f02f[_0x453fff(0x31b)]},'cmd':_0x43f44b[_0x453fff(0xbf)]};case g['CollaborationEvent'][_0x453fff(0x346)]:return{..._0x43f44b,'data':{..._0x31f02f,'data':_0x31f02f['uniscriptRunEvent']},'cmd':_0x43f44b[_0x453fff(0xbf)]};default:return _0x43f44b;}}default:return _0x43f44b;}}function Ot(_0x13829d){var _0x54b8b5=_0xd6acc8;switch(_0x13829d[_0x54b8b5(0xbf)]){case W[_0x54b8b5(0x29f)]:case W[_0x54b8b5(0x15d)]:return JSON[_0x54b8b5(0xa4)]({'cmd':_0x13829d[_0x54b8b5(0xbf)],'routeKey':_0x13829d[_0x54b8b5(0x2b5)]});case W[_0x54b8b5(0x3fc)]:{let _0x42979e;switch(_0x13829d['data'][_0x54b8b5(0x1a4)]){case g[_0x54b8b5(0x1b8)]['UPDATE_CURSOR']:{_0x42979e={'eventID':g[_0x54b8b5(0x1b8)][_0x54b8b5(0xca)],'updateCursorEvent':_0x13829d[_0x54b8b5(0x24d)][_0x54b8b5(0x24d)]};break;}case g[_0x54b8b5(0x1b8)][_0x54b8b5(0x2ea)]:{_0x42979e={'eventID':g['CollaborationEvent'][_0x54b8b5(0x2ea)],'leaveEvent':_0x13829d['data']['data']};break;}case g[_0x54b8b5(0x1b8)]['USERS_ENTER']:{_0x42979e={'eventID':g[_0x54b8b5(0x1b8)]['USERS_ENTER'],'joinEvent':_0x13829d[_0x54b8b5(0x24d)][_0x54b8b5(0x24d)]};break;}case g['CollaborationEvent']['LIVESHARE_NEW_HOST']:{_0x42979e={'eventID':g['CollaborationEvent'][_0x54b8b5(0x18d)],'liveShareNewHost':_0x13829d[_0x54b8b5(0x24d)][_0x54b8b5(0x24d)]};break;}case g[_0x54b8b5(0x1b8)][_0x54b8b5(0x282)]:{_0x42979e={'eventID':g['CollaborationEvent'][_0x54b8b5(0x282)],'liveShareOperation':_0x13829d[_0x54b8b5(0x24d)][_0x54b8b5(0x24d)]};break;}case g[_0x54b8b5(0x1b8)][_0x54b8b5(0x2de)]:{_0x42979e={'eventID':g['CollaborationEvent']['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x13829d[_0x54b8b5(0x24d)][_0x54b8b5(0x24d)]};break;}case g[_0x54b8b5(0x1b8)]['LIVESHARE_REQUEST_HOST']:{_0x42979e={'eventID':g['CollaborationEvent'][_0x54b8b5(0x3bb)],'liveShareRequestHost':_0x13829d[_0x54b8b5(0x24d)][_0x54b8b5(0x24d)]};break;}case g[_0x54b8b5(0x1b8)][_0x54b8b5(0xf1)]:{_0x42979e={'eventID':g[_0x54b8b5(0x1b8)][_0x54b8b5(0xf1)]};break;}default:_0x42979e={'eventID':_0x13829d[_0x54b8b5(0x24d)]['eventID']};}return JSON[_0x54b8b5(0xa4)]({'cmd':_0x13829d[_0x54b8b5(0xbf)],'routeKey':_0x13829d[_0x54b8b5(0x2b5)],'collaMsg':_0x42979e});}case W['JOIN']:return JSON[_0x54b8b5(0xa4)]({'cmd':_0x13829d[_0x54b8b5(0xbf)],'routeKey':_0x13829d[_0x54b8b5(0x2b5)],'joinReq':_0x13829d[_0x54b8b5(0x24d)]});case W[_0x54b8b5(0x3c7)]:return JSON[_0x54b8b5(0xa4)]({'cmd':_0x13829d[_0x54b8b5(0xbf)],'routeKey':_0x13829d[_0x54b8b5(0x2b5)],'leaveReq':_0x13829d[_0x54b8b5(0x24d)]});default:throw new Error(_0x54b8b5(0x392));}}var Xt=Object['getOwnPropertyDescriptor'],Zt=(_0x5819da,_0x35124d,_0x3e0f15,_0x536f9a)=>{var _0x394811=_0xd6acc8;for(var _0x2ba71d=_0x536f9a>0x1?void 0x0:_0x536f9a?Xt(_0x35124d,_0x3e0f15):_0x35124d,_0x3771f6=_0x5819da[_0x394811(0x108)]-0x1,_0x2e36cc;_0x3771f6>=0x0;_0x3771f6--)(_0x2e36cc=_0x5819da[_0x3771f6])&&(_0x2ba71d=_0x2e36cc(_0x2ba71d)||_0x2ba71d);return _0x2ba71d;},_e=(_0x28c05d,_0x19d326)=>(_0x4a261f,_0x33350f)=>_0x19d326(_0x4a261f,_0x33350f,_0x28c05d);const $e=a['createIdentifier'](_0xd6acc8(0x340));function Qt(_0x328a48,_0x2ac9d1,_0x3b545b){var _0x11f801=_0xd6acc8;return _0x328a48+'/'+_0x2ac9d1+_0x11f801(0x220)+_0x3b545b+_0x11f801(0x3fe);}exports[_0xd6acc8(0x39d)]=class extends a[_0xd6acc8(0x337)]{constructor(_0x4e8e83,_0x972272,_0x2e4c96,_0x2666e6,_0x34c4dc){var _0x50c2cd=_0xd6acc8;super(),this['_injector']=_0x4e8e83,this[_0x50c2cd(0x3b5)]=_0x972272,this['_configService']=_0x2e4c96,this[_0x50c2cd(0x1fb)]=_0x2666e6,this[_0x50c2cd(0x1e0)]=_0x34c4dc;}[_0xd6acc8(0x166)](_0x24c54e){var _0x55edc2=_0xd6acc8;const _0x1895d5=this['_injector'][_0x55edc2(0x2c8)](q['ISocketService']);if(!_0x1895d5)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x539ecc=_0x1895d5[_0x55edc2(0x243)](_0x24c54e);if(!_0x539ecc)throw new Error(_0x55edc2(0x345));const _0x5db0e3=new a[(_0x55edc2(0x18b))](),_0x323822=new j[(_0x55edc2(0x1f3))]();_0x5db0e3[_0x55edc2(0x14d)](_0x539ecc[_0x55edc2(0x156)][_0x55edc2(0x21b)](_0x10056d=>_0x323822[_0x55edc2(0x143)](_0x10056d))),_0x5db0e3[_0x55edc2(0x14d)](a[_0x55edc2(0x330)](()=>_0x323822[_0x55edc2(0x1eb)]()));const _0x3baf9f=new j['Subject']();_0x5db0e3[_0x55edc2(0x14d)](_0x539ecc[_0x55edc2(0x269)][_0x55edc2(0x21b)](_0x10b075=>_0x3baf9f[_0x55edc2(0x143)](_0x10b075))),_0x5db0e3[_0x55edc2(0x14d)](a['toDisposable'](()=>_0x3baf9f[_0x55edc2(0x1eb)]()));const _0x5b7b01=new j[(_0x55edc2(0x1f3))]();_0x5db0e3[_0x55edc2(0x14d)](_0x539ecc[_0x55edc2(0x18f)][_0x55edc2(0x21b)](_0x1c3bbd=>{const _0xdc3d5=Rt(_0x1c3bbd);_0x5b7b01['next'](_0xdc3d5);})),_0x5db0e3['add'](a[_0x55edc2(0x330)](()=>_0x5b7b01[_0x55edc2(0x1eb)]()));let _0x54bcfb;const _0x24ae51=()=>{var _0x5ec643=_0x55edc2;_0x3baf9f[_0x5ec643(0x143)](new Event('connection\x20error')),_0x323822[_0x5ec643(0x143)](new Event(_0x5ec643(0x13a))),_0x54bcfb['close']();};return _0x54bcfb={'memberID':'','close$':_0x323822[_0x55edc2(0x286)](),'error$':_0x3baf9f['asObservable'](),'open$':_0x539ecc[_0x55edc2(0xcb)],'message$':_0x5b7b01[_0x55edc2(0x286)](),'send':_0x42e7cb=>{var _0x984772=_0x55edc2;if(_0x42e7cb['cmd']===W['INGEST']){if(_0x42e7cb[_0x984772(0x24d)][_0x984772(0x1a4)]===g[_0x984772(0x1b8)][_0x984772(0x1aa)]){this['_submitChangeset'](_0x54bcfb,_0x42e7cb[_0x984772(0x24d)])[_0x984772(0x2fe)](_0x4e094c=>{var _0xa02274=_0x984772;this[_0xa02274(0x1fb)][_0xa02274(0xf9)](_0x4e094c),_0x24ae51();});return;}if(_0x42e7cb[_0x984772(0x24d)][_0x984772(0x1a4)]===g[_0x984772(0x1b8)][_0x984772(0x2f9)]){const _0x10e25c=_0x42e7cb['data'];this[_0x984772(0x23b)](_0x10e25c)[_0x984772(0x299)](_0x100c53=>{var _0xf01d5e=_0x984772;_0x5b7b01['next']({'cmd':W[_0xf01d5e(0xf6)],'code':ae['OK'],'routeKey':_0x10e25c[_0xf01d5e(0x24d)][_0xf01d5e(0x2b8)],'routeType':'','data':{'eventID':g[_0xf01d5e(0x1b8)][_0xf01d5e(0x2f8)],'data':{'changesets':_0x100c53}}});})[_0x984772(0x2fe)](_0x2a2a1c=>{var _0x3fcf91=_0x984772;this[_0x3fcf91(0x1fb)]['error'](_0x2a2a1c),_0x24ae51();});return;}}_0x539ecc[_0x984772(0x235)](Ot(_0x42e7cb));},'close':()=>{var _0x270aaa=_0x55edc2;_0x539ecc['close'](),_0x5db0e3[_0x270aaa(0x1ed)]();}},_0x54bcfb;}async[_0xd6acc8(0x376)](_0x1043d1,_0x5f09f6){var _0x3895a5=_0xd6acc8,_0x554d38,_0x3c7e20;const {unitType:_0x3b1fde,unitID:_0xf4850e,changeset:_0x99bddf}=_0x5f09f6['data'],_0x56a594={'unitID':_0xf4850e,'memberID':_0x1043d1['memberID'],'type':_0x3b1fde,'changeset':g[_0x3895a5(0x1c7)](_0x99bddf)},_0x1e91c7=this['_configService'][_0x3895a5(0xc8)](It),_0x31ce75=this[_0x3895a5(0x239)][_0x3895a5(0xc8)](Y),_0x49bdf7=Qt((_0x3c7e20=(_0x554d38=_0x31ce75==null?void 0x0:_0x31ce75[_0x3895a5(0x25c)])!=null?_0x554d38:_0x1e91c7)!=null?_0x3c7e20:Kt,_0x3b1fde,_0xf4850e);try{await this[_0x3895a5(0x3b5)]['post'](_0x49bdf7,{'body':_0x56a594});}catch(_0x2db060){throw this[_0x3895a5(0x1fb)]['error'](_0x3895a5(0x331),_0x3895a5(0x26b)),_0x2db060;}}async[_0xd6acc8(0x23b)](_0x1a2e14){var _0x75f694=_0xd6acc8;const {unitID:_0x3c5c66,from:_0x516667,to:_0x3ed520,unitType:_0xfaef7a}=_0x1a2e14[_0x75f694(0x24d)];return(await this[_0x75f694(0x1e0)][_0x75f694(0xe5)]({'metadata':void 0x0},{'unitID':_0x3c5c66,'type':_0xfaef7a,'from':_0x516667,'to':_0x3ed520}))[_0x75f694(0xc9)];}},exports[_0xd6acc8(0x39d)]=Zt([_e(0x0,a['Inject'](a['Injector'])),_e(0x1,a[_0xd6acc8(0x412)](q[_0xd6acc8(0x2e4)])),_e(0x2,a[_0xd6acc8(0x105)]),_e(0x3,a[_0xd6acc8(0xe1)]),_e(0x4,g[_0xd6acc8(0x23d)])],exports[_0xd6acc8(0x39d)]);const ei=_0xd6acc8(0x414);function ti(_0x171617){var _0xff27e3=_0xd6acc8;return JSON[_0xff27e3(0xa4)](_0x171617)[_0xff27e3(0x108)];}class Be{constructor(){var _0x5db128=_0xd6acc8;A(this,'_commentUpdate$',new j[(_0x5db128(0x1f3))]()),A(this,_0x5db128(0x171),this[_0x5db128(0x175)][_0x5db128(0x286)]());}[_0xd6acc8(0x1ec)](_0x1b4440){var _0x5f3e3b=_0xd6acc8;this['_commentUpdate$'][_0x5f3e3b(0x143)](_0x1b4440);}}var ii=Object['getOwnPropertyDescriptor'],ni=(_0x1ec99c,_0xed3581,_0x2f81d2,_0x19c37f)=>{var _0x42465c=_0xd6acc8;for(var _0x292413=_0x19c37f>0x1?void 0x0:_0x19c37f?ii(_0xed3581,_0x2f81d2):_0xed3581,_0x44ac3f=_0x1ec99c[_0x42465c(0x108)]-0x1,_0x54b542;_0x44ac3f>=0x0;_0x44ac3f--)(_0x54b542=_0x1ec99c[_0x44ac3f])&&(_0x292413=_0x54b542(_0x292413)||_0x292413);return _0x292413;},Ke=(_0x1158a2,_0x4bd89a)=>(_0x11edc6,_0x38d3f6)=>_0x4bd89a(_0x11edc6,_0x38d3f6,_0x1158a2);exports['MemberService']=class extends a[_0xd6acc8(0x337)]{constructor(_0x3d1683,_0x590619){var _0xafe643=_0xd6acc8;super(),A(this,_0xafe643(0x289),new Map()),A(this,'_roomCreated$',new j['Subject']()),(this['_univerInstanceService']=_0x3d1683,this['_userManagerService']=_0x590619,this[_0xafe643(0x378)](j[_0xafe643(0x2ab)](this[_0xafe643(0x14a)]['getTypeOfUnitDisposed$'](a[_0xafe643(0x159)][_0xafe643(0x315)])[_0xafe643(0x348)](V[_0xafe643(0x36f)](_0xa3d479=>_0xa3d479['getUnitId']())),this[_0xafe643(0x14a)]['getTypeOfUnitDisposed$'](a[_0xafe643(0x159)][_0xafe643(0x375)])[_0xafe643(0x348)](V[_0xafe643(0x36f)](_0x388f9e=>_0x388f9e[_0xafe643(0x153)]())),this['_univerInstanceService'][_0xafe643(0xbc)](a['UniverInstanceType']['UNIVER_SLIDE'])[_0xafe643(0x348)](V[_0xafe643(0x36f)](_0x4e2ffc=>_0x4e2ffc['getUnitId']())))[_0xafe643(0x21b)](_0x27afc3=>this[_0xafe643(0x2df)](_0x27afc3))));}[_0xd6acc8(0x316)](_0x5e67af){var _0x418635=_0xd6acc8;return this[_0x418635(0x289)][_0x418635(0x278)](_0x5e67af)?j['of'](this[_0x418635(0x289)][_0x418635(0x2c8)](_0x5e67af)):this[_0x418635(0x186)][_0x418635(0x348)](V[_0x418635(0x36f)](_0x1d08d5=>{var _0x550a98=_0x418635;if(_0x1d08d5===_0x5e67af)return this[_0x550a98(0x289)][_0x550a98(0x2c8)](_0x1d08d5);}));}[_0xd6acc8(0x303)](_0x5d2d02){var _0x2c8678=_0xd6acc8;this[_0x2c8678(0x136)]['setCurrentUser'](_0x5d2d02);}[_0xd6acc8(0x2fd)](){return this['_userManagerService']['getCurrentUser']();}[_0xd6acc8(0x1e4)](_0x51ae5a,_0x4fcacf){var _0xcea666=_0xd6acc8;let _0x23f1cd=this[_0xcea666(0x289)][_0xcea666(0x2c8)](_0x51ae5a);_0x23f1cd||(_0x23f1cd=new ri(),this[_0xcea666(0x289)][_0xcea666(0x3b3)](_0x51ae5a,_0x23f1cd),this[_0xcea666(0x186)][_0xcea666(0x143)](_0x51ae5a)),_0x23f1cd[_0xcea666(0x1e4)](_0x4fcacf);}[_0xd6acc8(0x265)](_0x1f2f9a,_0x275bc6){var _0xa68d67=_0xd6acc8;const _0xf160be=this[_0xa68d67(0x289)][_0xa68d67(0x2c8)](_0x1f2f9a);_0xf160be&&_0xf160be[_0xa68d67(0x265)](_0x275bc6);}[_0xd6acc8(0x2d9)](_0x27c920){var _0x35b55a=_0xd6acc8;return this[_0x35b55a(0x289)][_0x35b55a(0x2c8)](_0x27c920);}[_0xd6acc8(0x3d3)](_0x2627f3,_0x2d6ef3){var _0x1fbc2c=_0xd6acc8;const _0x5ba62a=this[_0x1fbc2c(0x289)][_0x1fbc2c(0x2c8)](_0x2627f3);if(_0x5ba62a)return _0x5ba62a[_0x1fbc2c(0x3d3)](_0x2d6ef3);}[_0xd6acc8(0x2df)](_0x964c93){var _0x5078f3=_0xd6acc8;const _0x1ad9ce=this[_0x5078f3(0x289)][_0x5078f3(0x2c8)](_0x964c93);_0x1ad9ce&&(_0x1ad9ce[_0x5078f3(0x1ed)](),this['_roomMembers']['delete'](_0x964c93));}[_0xd6acc8(0x1ed)](){var _0x4f631b=_0xd6acc8;this[_0x4f631b(0x289)][_0x4f631b(0x3c6)](_0x120318=>_0x120318[_0x4f631b(0x1ed)]()),this[_0x4f631b(0x289)][_0x4f631b(0x33f)](),this[_0x4f631b(0x186)][_0x4f631b(0x1eb)]();}},exports[_0xd6acc8(0x1a7)]=ni([Ke(0x0,a[_0xd6acc8(0xd8)]),Ke(0x1,a[_0xd6acc8(0x412)](a['UserManagerService']))],exports['MemberService']);class ri extends a[_0xd6acc8(0x337)]{constructor(){var _0x11ca85=_0xd6acc8;super(...arguments),A(this,_0x11ca85(0xea),new Map()),A(this,_0x11ca85(0xc3),new j[(_0x11ca85(0x3a3))](this[_0x11ca85(0xea)])),A(this,_0x11ca85(0x33a),this[_0x11ca85(0xc3)][_0x11ca85(0x286)]());}[_0xd6acc8(0x1ed)](){var _0xe9055d=_0xd6acc8;this[_0xe9055d(0xea)]['clear']();}[_0xd6acc8(0x1e4)](_0x124941){var _0x552964=_0xd6acc8;this[_0x552964(0xea)]['set'](_0x124941[_0x552964(0x16c)],_0x124941),this['_emitMembers']();}[_0xd6acc8(0x265)](_0x21ea5b){var _0x28d4bd=_0xd6acc8;this[_0x28d4bd(0xea)][_0x28d4bd(0x308)](_0x21ea5b);}[_0xd6acc8(0x3d3)](_0x38adc4){var _0x1cb304=_0xd6acc8;return this[_0x1cb304(0xea)]['get'](_0x38adc4);}['getAllMembers'](){return Array['from'](this['_members']['values']());}['_emitMembers'](){var _0x480335=_0xd6acc8;this['_members$'][_0x480335(0x143)](this['_members']);}}var si=Object['getOwnPropertyDescriptor'],oi=(_0x31f8df,_0x2289c1,_0x2f9ad1,_0x48e069)=>{var _0x2b8458=_0xd6acc8;for(var _0x5ae082=_0x48e069>0x1?void 0x0:_0x48e069?si(_0x2289c1,_0x2f9ad1):_0x2289c1,_0x31a0ac=_0x31f8df[_0x2b8458(0x108)]-0x1,_0x38e059;_0x31a0ac>=0x0;_0x31a0ac--)(_0x38e059=_0x31f8df[_0x31a0ac])&&(_0x5ae082=_0x38e059(_0x5ae082)||_0x5ae082);return _0x5ae082;},oe=(_0x15afe6,_0x40d97f)=>(_0x334d1b,_0x1bf7cd)=>_0x40d97f(_0x334d1b,_0x1bf7cd,_0x15afe6),se=(_0xfb306=>(_0xfb306[_0xfb306[_0xd6acc8(0x390)]=0x0]=_0xd6acc8(0x390),_0xfb306[_0xfb306['JOINING']=0x1]=_0xd6acc8(0x3d0),_0xfb306[_0xfb306['OFFLINE']=0x2]=_0xd6acc8(0x285),_0xfb306[_0xfb306[_0xd6acc8(0x310)]=0x3]=_0xd6acc8(0x310),_0xfb306))(se||{});function _0x2bce(_0x3fa824,_0x102448){var _0xf516bc=_0xf516();return _0x2bce=function(_0x2bce34,_0x12df75){_0x2bce34=_0x2bce34-0xa3;var _0xd2ec39=_0xf516bc[_0x2bce34];return _0xd2ec39;},_0x2bce(_0x3fa824,_0x102448);}const Ye={[ae[_0xd6acc8(0x322)]]:_0xd6acc8(0x2ec),[ae[_0xd6acc8(0xcd)]]:'session.room-full',[ae[_0xd6acc8(0x226)]]:'session.room-not-exists',[ae[_0xd6acc8(0x2b4)]]:'session.room-permission-denied',[ae[_0xd6acc8(0x208)]]:_0xd6acc8(0x3b9)};exports[_0xd6acc8(0x29e)]=class extends a[_0xd6acc8(0x40b)]{constructor(_0x9b7d20,_0x29beca,_0x56976f,_0x4ebdf3,_0x3ee3b3,_0x2da0de,_0x8c9772,_0x56154e,_0x889d64){var _0x285d2c=_0xd6acc8;super(),A(this,_0x285d2c(0x134),new j['BehaviorSubject'](0x0)),A(this,_0x285d2c(0x12d),this[_0x285d2c(0x134)][_0x285d2c(0x286)]()),A(this,_0x285d2c(0x3b0),new j[(_0x285d2c(0x1f3))]()),A(this,_0x285d2c(0x21a),this['_event$'][_0x285d2c(0x286)]()),A(this,_0x285d2c(0x37a)),A(this,_0x285d2c(0x12b)),A(this,_0x285d2c(0x3a8)),A(this,_0x285d2c(0x132),!0x1),A(this,_0x285d2c(0x2a6),null),(this[_0x285d2c(0x18e)]=_0x9b7d20,this[_0x285d2c(0x1fb)]=_0x56976f,this[_0x285d2c(0x239)]=_0x4ebdf3,this[_0x285d2c(0x30e)]=_0x3ee3b3,this[_0x285d2c(0x2a5)]=_0x2da0de,this[_0x285d2c(0x27c)]=_0x8c9772,this['_collaborationUIEventService']=_0x56154e,this[_0x285d2c(0x184)]=_0x889d64,this[_0x285d2c(0x132)]=!!this[_0x285d2c(0x184)],_0x29beca[_0x285d2c(0x348)](j['takeUntil'](this['dispose$']))[_0x285d2c(0x21b)](_0x2ca0b2=>{var _0x338344=_0x285d2c,_0x399bc0;typeof _0x2ca0b2>'u'||(this[_0x338344(0x37a)]=_0x2ca0b2,_0x2ca0b2?(this[_0x338344(0xd9)](_0x2ca0b2),this[_0x338344(0x12b)]=_0x2ca0b2['message$'][_0x338344(0x21b)](_0x5c412d=>{var _0x3a7227=_0x338344;_0x5c412d[_0x3a7227(0x2b5)]===this[_0x3a7227(0x18e)]&&this[_0x3a7227(0x2c4)](_0x5c412d);})):(this[_0x338344(0x222)](),this[_0x338344(0x134)][_0x338344(0x143)](0x2),(_0x399bc0=this[_0x338344(0x12b)])==null||_0x399bc0[_0x338344(0x3f0)](),this[_0x338344(0x12b)]=null));}));}get[_0xd6acc8(0x328)](){var _0x2d4aaa=_0xd6acc8;return this[_0x2d4aaa(0x134)][_0x2d4aaa(0x360)]();}[_0xd6acc8(0x1af)](){var _0xa1db01=_0xd6acc8,_0x2879ee,_0x49dade;return(_0x49dade=(_0x2879ee=this['_socket'])==null?void 0x0:_0x2879ee[_0xa1db01(0x16c)])!=null?_0x49dade:null;}[_0xd6acc8(0x1ed)](){var _0x2e0c12=_0xd6acc8;super[_0x2e0c12(0x1ed)](),this[_0x2e0c12(0x3cf)][_0x2e0c12(0x143)](),this[_0x2e0c12(0x3cf)][_0x2e0c12(0x1eb)]();}[_0xd6acc8(0x17a)](){var _0x10026e=_0xd6acc8,_0x2b3cac,_0x241223;this[_0x10026e(0x222)](),(_0x2b3cac=this['_socket'])==null||_0x2b3cac[_0x10026e(0x235)]({'cmd':W[_0x10026e(0x3c7)],'data':{'roomID':this['_unitID']}}),(_0x241223=this[_0x10026e(0x37a)])==null||_0x241223[_0x10026e(0x17a)](),this[_0x10026e(0x3b0)][_0x10026e(0x1eb)](),this[_0x10026e(0x134)][_0x10026e(0x1eb)](),this[_0x10026e(0x1ed)]();}[_0xd6acc8(0x2c4)](_0x1d03c6){var _0xd9c36f=_0xd6acc8;_0x1d03c6['cmd']===W[_0xd9c36f(0x2d4)]?this[_0xd9c36f(0x29c)](_0x1d03c6):_0x1d03c6[_0xd9c36f(0xbf)]===W[_0xd9c36f(0xf6)]&&this[_0xd9c36f(0xfd)](_0x1d03c6);}[_0xd6acc8(0xd9)](_0x6c914d){var _0x462894=_0xd6acc8;this[_0x462894(0x134)]['next'](0x1),_0x6c914d[_0x462894(0x235)]({'cmd':W[_0x462894(0x2d4)],'routeKey':this[_0x462894(0x18e)],'routeType':'','data':{'rooms':[{'roomID':this[_0x462894(0x18e)]}]}});}[_0xd6acc8(0x29c)](_0x3c9826){var _0x220b51=_0xd6acc8,_0x1f589e;if(_0x3c9826[_0x220b51(0x1ee)]in Ye){this[_0x220b51(0x152)]['emitEvent']({'id':Q[_0x220b51(0x2e7)],'data':Ye[_0x3c9826[_0x220b51(0x1ee)]]}),this['_sessionStatus$'][_0x220b51(0x143)](0x2);return;}this[_0x220b51(0x134)]['next'](0x3);const _0x59ee30=(_0x1f589e=_0x3c9826[_0x220b51(0x24d)][_0x220b51(0x28e)][this[_0x220b51(0x18e)]])==null?void 0x0:_0x1f589e[_0x220b51(0x1a9)];_0x59ee30&&_0x59ee30[_0x220b51(0x3c6)](_0x266293=>this['_memberService'][_0x220b51(0x1e4)](this['_unitID'],_0x266293));}['_onRecvEvent'](_0x3a3acc){var _0x57500d=_0xd6acc8;try{const _0xbe8718=_0x3a3acc[_0x57500d(0x24d)];switch(_0xbe8718[_0x57500d(0x1a4)]){case g[_0x57500d(0x1b8)]['USERS_ENTER']:this['_onUserJoin'](_0xbe8718),this[_0x57500d(0x3b0)][_0x57500d(0x143)](_0xbe8718);break;case g[_0x57500d(0x1b8)][_0x57500d(0x2ea)]:this['_onUserLeave'](_0xbe8718),this[_0x57500d(0x3b0)][_0x57500d(0x143)](_0xbe8718);break;case g['CollaborationEvent'][_0x57500d(0x128)]:case g[_0x57500d(0x1b8)][_0x57500d(0x163)]:this[_0x57500d(0x25b)](),this[_0x57500d(0x33e)](),this[_0x57500d(0x3b0)][_0x57500d(0x143)](_0xbe8718);break;case g['CollaborationEvent'][_0x57500d(0x197)]:this[_0x57500d(0x1fb)][_0x57500d(0xf9)](_0x57500d(0x30f)+JSON[_0x57500d(0xa4)](_0xbe8718)),this[_0x57500d(0x3b0)][_0x57500d(0x143)](_0xbe8718);break;case g[_0x57500d(0x1b8)][_0x57500d(0x264)]:this[_0x57500d(0x27c)]['onCommentUpdate'](_0xbe8718[_0x57500d(0x24d)]),this[_0x57500d(0x3b0)][_0x57500d(0x143)](_0xbe8718);break;default:this['_event$'][_0x57500d(0x143)](_0xbe8718);}}catch(_0xb64e7a){this[_0x57500d(0x1fb)]['error'](_0xb64e7a,_0x3a3acc);}}[_0xd6acc8(0xac)](_0x12cef8){var _0x3f8b80=_0xd6acc8;this[_0x3f8b80(0x2a5)][_0x3f8b80(0x1e4)](this['_unitID'],_0x12cef8[_0x3f8b80(0x24d)]);}[_0xd6acc8(0x364)](_0x222ade){var _0x3ddaf3=_0xd6acc8;this['_memberService']['removeMember'](this['_unitID'],_0x222ade[_0x3ddaf3(0x24d)]['memberID']);}async['send'](_0x1e89c4,_0x56dba3){var _0x118c8d=_0xd6acc8;if(this[_0x118c8d(0x328)]!==0x3||!this[_0x118c8d(0x37a)])throw new Error(_0x118c8d(0x272));try{_0x1e89c4[_0x118c8d(0x1a4)]===g['CollaborationEvent'][_0x118c8d(0x1aa)]&&(this[_0x118c8d(0x388)](),this[_0x118c8d(0x204)](_0x1e89c4)),this[_0x118c8d(0x37a)][_0x118c8d(0x235)]({'cmd':W[_0x118c8d(0x3fc)],'routeKey':_0x56dba3,'routeType':'','data':_0x1e89c4});}catch(_0x31f1a6){this[_0x118c8d(0x1fb)][_0x118c8d(0xf9)](_0x31f1a6);}}[_0xd6acc8(0x388)](){var _0x131416=_0xd6acc8,_0x23332f;this[_0x131416(0x3a8)]=setTimeout(()=>{var _0x557f12=_0x131416;this[_0x557f12(0x3a8)]=null,this['_collaborationUIEventService'][_0x557f12(0x205)]({'id':Q[_0x557f12(0x3ad)]});},(_0x23332f=this[_0x131416(0x239)][_0x131416(0xc8)](je))!=null?_0x23332f:gt);}[_0xd6acc8(0x33e)](){var _0x3a8b0d=_0xd6acc8;this[_0x3a8b0d(0x3a8)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x3a8b0d(0x3a8)]=null);}['_startTelemetryCollaborationNewChangeset'](_0xfff2b8){var _0x1bca56=_0xd6acc8;if(!this[_0x1bca56(0x132)])return;const {data:_0x3349e0}=_0xfff2b8,{unitID:_0x7dad67,changeset:_0x2de85f}=_0x3349e0,{mutations:_0x185f5b,type:_0x412cdd}=_0x2de85f;this[_0x1bca56(0x2a6)]={'unitId':_0x7dad67,'type':_0x412cdd,'startTime':performance[_0x1bca56(0xdc)](),'stopTime':0x0,'duration':0x0,'size':ti(_0x185f5b)};}[_0xd6acc8(0x25b)](){var _0x680989=_0xd6acc8;if(this[_0x680989(0x132)]){if(!this['_telemetryInfo']){this['_logService'][_0x680989(0xf9)](_0x680989(0x331),'telemetry\x20info\x20is\x20not\x20initialized');return;}this['_telemetryInfo'][_0x680989(0x213)]=performance[_0x680989(0xdc)](),this['_telemetryInfo']['duration']=this['_telemetryInfo']['stopTime']-this[_0x680989(0x2a6)][_0x680989(0x228)],this[_0x680989(0x184)][_0x680989(0x1bd)](ei,this['_telemetryInfo']),this['_telemetryInfo']=null;}}[_0xd6acc8(0x222)](){var _0x5510b4=_0xd6acc8;this[_0x5510b4(0x2a6)]=null;}},exports[_0xd6acc8(0x29e)]=oi([oe(0x2,a[_0xd6acc8(0xe1)]),oe(0x3,a['IConfigService']),oe(0x4,a[_0xd6acc8(0x412)](a[_0xd6acc8(0x280)])),oe(0x5,a[_0xd6acc8(0x412)](exports[_0xd6acc8(0x1a7)])),oe(0x6,a[_0xd6acc8(0x412)](Be)),oe(0x7,a[_0xd6acc8(0x412)](te)),oe(0x8,a[_0xd6acc8(0xfb)](Mt[_0xd6acc8(0x19d)]))],exports['CollaborationSession']);var ai=Object[_0xd6acc8(0x3b7)],ci=(_0xe4522b,_0x3ce4ad,_0xd2dfc4,_0x4cd3c1)=>{var _0xe2898a=_0xd6acc8;for(var _0x1f3ea0=_0x4cd3c1>0x1?void 0x0:_0x4cd3c1?ai(_0x3ce4ad,_0xd2dfc4):_0x3ce4ad,_0x4e948f=_0xe4522b[_0xe2898a(0x108)]-0x1,_0x560f9f;_0x4e948f>=0x0;_0x4e948f--)(_0x560f9f=_0xe4522b[_0x4e948f])&&(_0x1f3ea0=_0x560f9f(_0x1f3ea0)||_0x1f3ea0);return _0x1f3ea0;},le=(_0x4be1fa,_0x177dbd)=>(_0x4599a9,_0x5f287a)=>_0x177dbd(_0x4599a9,_0x5f287a,_0x4be1fa);exports[_0xd6acc8(0xc5)]=class extends a[_0xd6acc8(0x337)]{constructor(_0x2bc211,_0x47fa82,_0x197308,_0x229fb7,_0x47c51f,_0x68ad0c){var _0x5a9a36=_0xd6acc8;super(),A(this,'_socket$',new j[(_0x5a9a36(0x3a3))](void 0x0)),A(this,_0x5a9a36(0x31a),this[_0x5a9a36(0xaa)][_0x5a9a36(0x286)]()),A(this,'_candidateSocket',null),A(this,_0x5a9a36(0x3e2),new Map()),A(this,'_status$',new j[(_0x5a9a36(0x3a3))](se[_0x5a9a36(0x390)])),A(this,'status$',this[_0x5a9a36(0x201)][_0x5a9a36(0x286)]()),A(this,'_socketReady',!0x1),A(this,_0x5a9a36(0x138)),A(this,'_retryCount',0x0),A(this,'_sendHeartbeatTimer'),A(this,_0x5a9a36(0xc4)),(this['_injector']=_0x2bc211,this[_0x5a9a36(0x1fb)]=_0x47fa82,this[_0x5a9a36(0x239)]=_0x197308,this[_0x5a9a36(0x35e)]=_0x229fb7,this['_collaborationUIEventService']=_0x47c51f,this[_0x5a9a36(0x34c)]=_0x68ad0c,this[_0x5a9a36(0x28c)]());}get['_socket'](){var _0x34bf90=_0xd6acc8;return this[_0x34bf90(0xaa)][_0x34bf90(0x360)]();}[_0xd6acc8(0x28c)](){var _0x54e0e3=_0xd6acc8;this['_networkConditionService']&&this[_0x54e0e3(0x378)](this[_0x54e0e3(0x34c)][_0x54e0e3(0x179)][_0x54e0e3(0x21b)](_0x443b2e=>{var _0x2652c6=_0x54e0e3;_0x443b2e&&!this[_0x2652c6(0x37a)]&&this[_0x2652c6(0x329)](),_0x443b2e||this[_0x2652c6(0x36c)]();}));}['dispose'](){var _0x495521=_0xd6acc8;super[_0x495521(0x1ed)](),this['_clearRetryConnectingTimer'](),this[_0x495521(0x30c)](),this[_0x495521(0x187)](),this[_0x495521(0x3e2)][_0x495521(0x3c6)](_0x50686f=>_0x50686f[_0x495521(0x1ed)]()),this[_0x495521(0x3e2)][_0x495521(0x33f)](),this[_0x495521(0x201)][_0x495521(0x1eb)]();}async['requireSession'](_0x4085b5){var _0x4f0560=_0xd6acc8;if(this['_sessions'][_0x4f0560(0x278)](_0x4085b5))return this[_0x4f0560(0x3e2)][_0x4f0560(0x2c8)](_0x4085b5);this[_0x4f0560(0x26c)]();const _0x1faf6c=this[_0x4f0560(0x114)][_0x4f0560(0x110)](exports[_0x4f0560(0x29e)],_0x4085b5,this[_0x4f0560(0xaa)]['asObservable']());return this[_0x4f0560(0x3e2)][_0x4f0560(0x3b3)](_0x4085b5,_0x1faf6c),_0x1faf6c;}[_0xd6acc8(0x3f6)](_0x5daf30){var _0x2a1f42=_0xd6acc8,_0x1d7540;const _0x2ed50c=this[_0x2a1f42(0x3e2)][_0x2a1f42(0x2c8)](_0x5daf30);_0x2ed50c&&(this[_0x2a1f42(0x3e2)]['delete'](_0x5daf30),_0x2ed50c[_0x2a1f42(0x17a)]()),this['_sessions'][_0x2a1f42(0x1da)]||(_0x1d7540=this[_0x2a1f42(0x37a)])==null||_0x1d7540[_0x2a1f42(0x17a)]();}[_0xd6acc8(0x329)](){var _0x1c86cc=_0xd6acc8;this[_0x1c86cc(0x188)]=0x0,this['_clearRetryConnectingTimer'](),this[_0x1c86cc(0x3e9)]();}[_0xd6acc8(0x26e)](){var _0x426ec2=_0xd6acc8;this[_0x426ec2(0x138)]!=null&&(clearTimeout(this[_0x426ec2(0x138)]),this[_0x426ec2(0x138)]=null);}async[_0xd6acc8(0x2af)](){var _0x30d2e5=_0xd6acc8,_0x5c8ed1,_0x4c1135;const _0x45bf46=this[_0x30d2e5(0x239)]['getConfig'](St),_0x3d0314=this[_0x30d2e5(0x239)][_0x30d2e5(0xc8)](Y),_0x1375c9=(_0x4c1135=(_0x5c8ed1=_0x3d0314==null?void 0x0:_0x3d0314[_0x30d2e5(0x34a)])!=null?_0x5c8ed1:_0x45bf46)!=null?_0x4c1135:ft,_0x32f964=await this[_0x30d2e5(0x35e)][_0x30d2e5(0x243)](_0x1375c9);return this['_candidateSocket']=_0x32f964,_0x32f964;}async[_0xd6acc8(0x26c)](){var _0x5e93d6=_0xd6acc8,_0x392a6d,_0x3d92aa;try{const _0x4e133e=(_0x3d92aa=(_0x392a6d=this[_0x5e93d6(0x37a)])!=null?_0x392a6d:this[_0x5e93d6(0x32e)])!=null?_0x3d92aa:await this[_0x5e93d6(0x2af)]();if(_0x4e133e){const _0x2249f0=_0x4e133e[_0x5e93d6(0x235)];_0x4e133e['send']=_0x2b55d6=>(this[_0x5e93d6(0x382)](),_0x2249f0[_0x5e93d6(0x3c8)](_0x4e133e,[_0x2b55d6])),_0x4e133e[_0x5e93d6(0x18f)][_0x5e93d6(0x21b)](_0x36708c=>this['_onMessage'](_0x4e133e,_0x36708c)),_0x4e133e[_0x5e93d6(0x269)][_0x5e93d6(0x348)](V['take'](0x1))[_0x5e93d6(0x21b)](_0x378ff9=>this['_logService']['error'](_0x5e93d6(0x111),_0x378ff9)),_0x4e133e['open$']['pipe'](V[_0x5e93d6(0x3d9)](0x1))[_0x5e93d6(0x21b)](()=>{var _0x1acc63=_0x5e93d6;this[_0x1acc63(0x334)](_0x4e133e);}),_0x4e133e[_0x5e93d6(0x156)]['pipe'](V[_0x5e93d6(0x3d9)](0x1))['subscribe'](_0x319f85=>{var _0x216b79=_0x5e93d6;this[_0x216b79(0x1fb)]['debug']('[CollaborationSessionService]','socket\x20close',_0x319f85),this['_onConnectionFailed']();});}}catch(_0x19391c){this[_0x5e93d6(0x1fb)][_0x5e93d6(0xf9)](_0x19391c),this['_onConnectionFailed']();}}['_onConnectionOpen'](_0x559898){var _0x57c17a=_0xd6acc8;this[_0x57c17a(0x1fb)][_0x57c17a(0xe0)]('[CollaborationSessionService]',_0x57c17a(0x24c)),_0x559898[_0x57c17a(0x235)]({'cmd':W[_0x57c17a(0x15d)]}),this[_0x57c17a(0x382)]();}[_0xd6acc8(0x36c)](){var _0x4fa3b8=_0xd6acc8;this[_0x4fa3b8(0x1d2)]=!0x1,this[_0x4fa3b8(0x32e)]=null,this[_0x4fa3b8(0x201)]['next'](se['OFFLINE']),this[_0x4fa3b8(0xaa)][_0x4fa3b8(0x143)](null),this['_clearTimeoutTimer'](),this['_clearHeartbeatTimer']();}['_onConnectionFailed'](){var _0x519ab5=_0xd6acc8,_0x106276;this[_0x519ab5(0x36c)](),this[_0x519ab5(0x188)]<((_0x106276=this[_0x519ab5(0x239)][_0x519ab5(0xc8)](mt))!=null?_0x106276:Vt)?(this['_collaborationUIEventService'][_0x519ab5(0x205)]({'id':Q['SOCKET_FAILED_RETRY']}),this[_0x519ab5(0x3e9)]()):this[_0x519ab5(0x152)][_0x519ab5(0x205)]({'id':Q[_0x519ab5(0x1d5)]});}[_0xd6acc8(0x3e9)](){var _0x27f0b1=_0xd6acc8,_0x337366;const _0x4cc490=this[_0x27f0b1(0x188)],_0x23f936=this['_configService'][_0x27f0b1(0xc8)](Y),_0x19ac7d=_0x4cc490===0x0?0x0:((_0x337366=_0x23f936==null?void 0x0:_0x23f936['retryConnectingInterval'])!=null?_0x337366:Ft)*0x2**_0x4cc490;this[_0x27f0b1(0x138)]=setTimeout(()=>{var _0x1e8aa5=_0x27f0b1;clearTimeout(this[_0x1e8aa5(0x138)]),this[_0x1e8aa5(0x138)]=null,this['_tryEnsureSocket']();},_0x19ac7d),this[_0x27f0b1(0x188)]+=0x1;}[_0xd6acc8(0x371)](_0x33ff,_0x58cdce){var _0x53c87f=_0xd6acc8;const {cmd:_0x564253}=_0x58cdce;_0x564253===W[_0x53c87f(0x15d)]&&!this[_0x53c87f(0x1d2)]&&(_0x33ff[_0x53c87f(0x16c)]=_0x58cdce[_0x53c87f(0x24d)][_0x53c87f(0x16c)],this[_0x53c87f(0xaa)][_0x53c87f(0x143)](_0x33ff),this[_0x53c87f(0x201)][_0x53c87f(0x143)](se['ONLINE']),this['_socketReady']=!0x0,this[_0x53c87f(0x32e)]=null),_0x564253===W[_0x53c87f(0x29f)]&&this[_0x53c87f(0x30c)](),this[_0x53c87f(0x382)]();}[_0xd6acc8(0x382)](){var _0x581efc=_0xd6acc8,_0x851ec6;this[_0x581efc(0x187)](),this[_0x581efc(0x21e)]=setTimeout(()=>this[_0x581efc(0x31e)](),(_0x851ec6=this[_0x581efc(0x239)][_0x581efc(0xc8)](pt))!=null?_0x851ec6:Bt);}['_sendHeartbeat'](){var _0x3d89ee=_0xd6acc8;this[_0x3d89ee(0x37a)]['send']({'cmd':W['HEARTBEAT']}),this[_0x3d89ee(0x2b6)]();}['_waitForHeartbeatResponse'](){var _0x298e01=_0xd6acc8,_0x35b692;this[_0x298e01(0xc4)]=setTimeout(()=>this[_0x298e01(0x2ee)](),(_0x35b692=this[_0x298e01(0x239)]['getConfig'](je))!=null?_0x35b692:gt);}['_clearHeartbeatTimer'](){var _0x4b976e=_0xd6acc8;this[_0x4b976e(0x21e)]!=null&&(clearTimeout(this[_0x4b976e(0x21e)]),this[_0x4b976e(0x21e)]=null);}['_clearTimeoutTimer'](){this['_timeoutTimer']!=null&&(clearTimeout(this['_timeoutTimer']),this['_timeoutTimer']=null);}},exports[_0xd6acc8(0xc5)]=ci([le(0x0,a['Inject'](a[_0xd6acc8(0x1fa)])),le(0x1,a['ILogService']),le(0x2,a[_0xd6acc8(0x105)]),le(0x3,$e),le(0x4,a[_0xd6acc8(0x412)](te)),le(0x5,a[_0xd6acc8(0xfb)](bt))],exports['CollaborationSessionService']);const G=[];for(let n=0x0;n<0x100;++n)G[_0xd6acc8(0x32f)]((n+0x100)[_0xd6acc8(0x1b2)](0x10)[_0xd6acc8(0x284)](0x1));function hi(_0x3b04dd,_0x481a50=0x0){var _0x51b8a7=_0xd6acc8;return(G[_0x3b04dd[_0x481a50+0x0]]+G[_0x3b04dd[_0x481a50+0x1]]+G[_0x3b04dd[_0x481a50+0x2]]+G[_0x3b04dd[_0x481a50+0x3]]+'-'+G[_0x3b04dd[_0x481a50+0x4]]+G[_0x3b04dd[_0x481a50+0x5]]+'-'+G[_0x3b04dd[_0x481a50+0x6]]+G[_0x3b04dd[_0x481a50+0x7]]+'-'+G[_0x3b04dd[_0x481a50+0x8]]+G[_0x3b04dd[_0x481a50+0x9]]+'-'+G[_0x3b04dd[_0x481a50+0xa]]+G[_0x3b04dd[_0x481a50+0xb]]+G[_0x3b04dd[_0x481a50+0xc]]+G[_0x3b04dd[_0x481a50+0xd]]+G[_0x3b04dd[_0x481a50+0xe]]+G[_0x3b04dd[_0x481a50+0xf]])[_0x51b8a7(0x2a9)]();}let Ue;const li=new Uint8Array(0x10);function _i(){var _0x484d18=_0xd6acc8;if(!Ue){if(typeof crypto>'u'||!crypto[_0x484d18(0x24e)])throw new Error(_0x484d18(0x326));Ue=crypto[_0x484d18(0x24e)][_0x484d18(0x32b)](crypto);}return Ue(li);}const ui=typeof crypto<'u'&&crypto[_0xd6acc8(0x3c1)]&&crypto[_0xd6acc8(0x3c1)][_0xd6acc8(0x32b)](crypto),qe={'randomUUID':ui};function di(_0x574334,_0x7802b4,_0x459656){var _0x4492c0=_0xd6acc8,_0x2a32bf,_0x313fb6,_0x2f8258;if(qe['randomUUID']&&!_0x574334)return qe[_0x4492c0(0x3c1)]();_0x574334=_0x574334||{};const _0x209383=(_0x2f8258=(_0x313fb6=_0x574334[_0x4492c0(0x3ff)])!=null?_0x313fb6:(_0x2a32bf=_0x574334['rng'])==null?void 0x0:_0x2a32bf[_0x4492c0(0x2ef)](_0x574334))!=null?_0x2f8258:_i();if(_0x209383['length']<0x10)throw new Error(_0x4492c0(0x1fc));return _0x209383[0x6]=_0x209383[0x6]&0xf|0x40,_0x209383[0x8]=_0x209383[0x8]&0x3f|0x80,hi(_0x209383);}const z=a['createIdentifier'](_0xd6acc8(0x411));function vi(_0x4609d9){var _0x4c328b=_0xd6acc8;return _0x4c328b(0x398)+_0x4609d9;}var Si=Object[_0xd6acc8(0x3b7)],fi=(_0x2d007c,_0x118a6f,_0x159f2e,_0x1c154c)=>{for(var _0x570d03=_0x1c154c>0x1?void 0x0:_0x1c154c?Si(_0x118a6f,_0x159f2e):_0x118a6f,_0x1b5204=_0x2d007c['length']-0x1,_0x4105f9;_0x1b5204>=0x0;_0x1b5204--)(_0x4105f9=_0x2d007c[_0x1b5204])&&(_0x570d03=_0x4105f9(_0x570d03)||_0x570d03);return _0x570d03;},Ae=(_0x13a62c,_0x1297b8)=>(_0x3b4485,_0x16c86f)=>_0x1297b8(_0x3b4485,_0x16c86f,_0x13a62c);function pi(_0x31feff){var _0x3917b7=_0xd6acc8;const {unitID:_0x447bb7,mutations:_0x5d255a}=_0x31feff;return{'unitId':_0x447bb7,'subUnitId':_0x5d255a[0x0][_0x3917b7(0x3da)][_0x3917b7(0xc0)]};}exports[_0xd6acc8(0x338)]=class{constructor(_0x59926b,_0x385710,_0x5d4de1){this['_injector']=_0x59926b,this['_transformService']=_0x385710,this['_instanceService']=_0x5d4de1;}[_0xd6acc8(0x401)](_0x4b64c0){var _0x2bcbd1=_0xd6acc8,_0x345f31,_0x2cbd58,_0x4911db,_0x38f8f8;const _0x3b7505=this[_0x2bcbd1(0x114)][_0x2bcbd1(0x2c8)](Z[_0x2bcbd1(0x290)]),{unitId:_0x4af9a9,subUnitId:_0x481513}=pi(_0x4b64c0),_0xa479fe=_0x3b7505==null?void 0x0:_0x3b7505['getWorkbookSelections'](_0x4af9a9)['getCurrentSelections'](),_0x44f9cc=(_0x2cbd58=(_0x345f31=this[_0x2bcbd1(0x2cc)]['getUnit'](_0x4af9a9))==null?void 0x0:_0x345f31[_0x2bcbd1(0x3d6)]())==null?void 0x0:_0x2cbd58['getSheetId']();if(_0xa479fe[_0x2bcbd1(0x108)]===0x0||!_0x4af9a9||!_0x481513)return;const _0x4d873a=[{'id':Z['SetSelectionsOperation']['id'],'params':{'unitId':_0x4af9a9,'subUnitId':_0x44f9cc,'selections':a[_0x2bcbd1(0xa3)][_0x2bcbd1(0x260)](_0xa479fe)}}],_0x452546=this[_0x2bcbd1(0x1b0)][_0x2bcbd1(0x16e)](_0x4b64c0,_0x4d873a);if(!g[_0x2bcbd1(0xed)](_0x452546))throw _0x452546[_0x2bcbd1(0xf9)];const _0x78b8cf=(_0x38f8f8=(_0x4911db=_0x452546[_0x2bcbd1(0x150)][0x0])==null?void 0x0:_0x4911db['params'])==null?void 0x0:_0x38f8f8[_0x2bcbd1(0x10f)];if(Array[_0x2bcbd1(0x311)](_0x78b8cf)&&_0x78b8cf['length']){if(_0x78b8cf['length']===_0x4d873a[0x0][_0x2bcbd1(0x3da)][_0x2bcbd1(0x10f)][_0x2bcbd1(0x108)]&&_0x78b8cf[_0x2bcbd1(0x245)]((_0xbdff53,_0x17d023)=>a[_0x2bcbd1(0x20e)][_0x2bcbd1(0x1e3)](_0xbdff53['range'],_0x4d873a[0x0][_0x2bcbd1(0x3da)][_0x2bcbd1(0x10f)][_0x17d023][_0x2bcbd1(0x40e)])))return;this[_0x2bcbd1(0x114)][_0x2bcbd1(0x2c8)](a[_0x2bcbd1(0x151)])[_0x2bcbd1(0x300)](Z[_0x2bcbd1(0x37b)]['id'],{'unitId':_0x4af9a9,'subUnitId':_0x44f9cc,'selections':_0x78b8cf});}}},exports[_0xd6acc8(0x338)]=fi([Ae(0x0,a[_0xd6acc8(0x412)](a[_0xd6acc8(0x1fa)])),Ae(0x1,g[_0xd6acc8(0x223)]),Ae(0x2,a['IUniverInstanceService'])],exports['SheetTransformSelectionsService']);const ve=a['createIdentifier']('univer-pro.collaboration-client.single-active-unit-service');var Fe=(_0x380147=>(_0x380147[_0x380147['NO_OTHER_CLIENTS_EDITING']=0x0]=_0xd6acc8(0x2be),_0x380147[_0x380147[_0xd6acc8(0x3bc)]=0x1]=_0xd6acc8(0x3bc),_0x380147))(Fe||{});const gi=new Set([Z['InsertSheetMutation']['id']]);function ze(_0x46664a,_0x423a40,_0x778614,_0x149220,_0x11f4e0){var _0x21a3ce=_0xd6acc8,_0x368e27,_0x1800b3,_0x30278d,_0x3d264e;const _0x3f6830=[];for(const _0x25305b of _0x46664a)if(gi['has'](_0x25305b['id'])){if(_0x3f6830['length']>0x0)break;_0x3f6830['push'](_0x25305b);break;}else _0x3f6830[_0x21a3ce(0x32f)](_0x25305b);const _0x48ee60=(_0x1800b3=(_0x368e27=_0x11f4e0[_0x21a3ce(0x2fd)]())==null?void 0x0:_0x368e27['userID'])!=null?_0x1800b3:_0x21a3ce(0x2a0),_0x20ba73=(_0x3d264e=(_0x30278d=_0x11f4e0[_0x21a3ce(0x2fd)]())==null?void 0x0:_0x30278d[_0x21a3ce(0x16c)])!=null?_0x3d264e:'unknown';return{'changeset':{'unitID':_0x423a40,'type':g[_0x21a3ce(0x221)](_0x778614['getUnitType'](_0x423a40)),'baseRev':_0x149220['getCurrentRevOfUnit'](_0x423a40),'revision':0x0,'userID':_0x48ee60,'memberID':_0x20ba73,'mutations':_0x3f6830},'pendingMutations':_0x46664a[_0x21a3ce(0x284)](_0x3f6830[_0x21a3ce(0x108)])};}function mi(_0x5bfc75,_0x464cfb,_0x20ce7b,_0x2409ff,_0x49f3ee){var _0x2b8c26=_0xd6acc8,_0x4f618f,_0x41ae3b,_0x50c823,_0x41e6bd;const _0x542e4f=[_0x5bfc75[_0x2b8c26(0x2eb)]((_0x92f8f3,_0x3dec9b)=>{var _0x3cba1d=_0x2b8c26,_0x4f8888;const {id:_0x19d665}=_0x92f8f3,{id:_0x408c38,type:_0x3d1d55}=_0x3dec9b,_0x364d20=(_0x4f8888=_0x92f8f3[_0x3cba1d(0x3da)])!=null?_0x4f8888:{'actions':null},_0x2300cd=_0x3dec9b[_0x3cba1d(0x3da)];if(_0x19d665&&_0x19d665!==_0x408c38)throw new Error(_0x3cba1d(0x190)+_0x19d665+_0x3cba1d(0x16a)+_0x408c38+'.');return{..._0x92f8f3,'id':_0x408c38,'type':_0x3d1d55,'params':{'unitId':_0x2300cd[_0x3cba1d(0x251)],'textRanges':_0x2300cd[_0x3cba1d(0x1d6)],'actions':a[_0x3cba1d(0xf3)]['compose'](_0x364d20[_0x3cba1d(0xee)],_0x2300cd[_0x3cba1d(0xee)])}};},{})],_0x31fb24=(_0x41ae3b=(_0x4f618f=_0x49f3ee[_0x2b8c26(0x2fd)]())==null?void 0x0:_0x4f618f[_0x2b8c26(0x304)])!=null?_0x41ae3b:_0x2b8c26(0x2a0),_0x18aa7a=(_0x41e6bd=(_0x50c823=_0x49f3ee[_0x2b8c26(0x2fd)]())==null?void 0x0:_0x50c823[_0x2b8c26(0x16c)])!=null?_0x41e6bd:_0x2b8c26(0x2a0);return{'changeset':{'unitID':_0x464cfb,'type':g['mapDocumentTypeToUniverType'](_0x20ce7b['getUnitType'](_0x464cfb)),'baseRev':_0x2409ff[_0x2b8c26(0x3a2)](_0x464cfb),'revision':0x0,'userID':_0x31fb24,'memberID':_0x18aa7a,'mutations':_0x542e4f},'pendingMutations':[]};}function yt(_0x29b4b2,_0x35b8ac){var _0x2b4761=_0xd6acc8;const _0x3d1a8f=new j[(_0x2b4761(0x1b5))](0x1);return setTimeout(()=>_0x3d1a8f[_0x2b4761(0x143)](_0x35b8ac),_0x29b4b2),_0x3d1a8f[_0x2b4761(0x286)]()[_0x2b4761(0x348)](j[_0x2b4761(0x3d9)](0x1));}const Ii={'id':Z['EmptyMutation']['id'],'type':a[_0xd6acc8(0x2cb)][_0xd6acc8(0x402)],'params':{}};var Ei=Object['getOwnPropertyDescriptor'],ce=(_0x3df16e,_0x41440c,_0x5c09b3,_0xbda836)=>{var _0x46bcff=_0xd6acc8;for(var _0x2f2fc7=_0xbda836>0x1?void 0x0:_0xbda836?Ei(_0x41440c,_0x5c09b3):_0x41440c,_0x207028=_0x3df16e[_0x46bcff(0x108)]-0x1,_0x258a05;_0x207028>=0x0;_0x207028--)(_0x258a05=_0x3df16e[_0x207028])&&(_0x2f2fc7=_0x258a05(_0x2f2fc7)||_0x2f2fc7);return _0x2f2fc7;},w=(_0x96aa,_0x187795)=>(_0x499bf4,_0x5b27bc)=>_0x187795(_0x499bf4,_0x5b27bc,_0x96aa),Ve=(_0x2bdf3d=>(_0x2bdf3d[_0xd6acc8(0x3c0)]=_0xd6acc8(0xc1),_0x2bdf3d[_0xd6acc8(0x3ed)]=_0xd6acc8(0x361),_0x2bdf3d['PENDING']=_0xd6acc8(0x1cd),_0x2bdf3d['AWAITING']=_0xd6acc8(0x38d),_0x2bdf3d[_0xd6acc8(0x2a8)]='awaiting_with_pending',_0x2bdf3d['FETCH_MISS']=_0xd6acc8(0xc2),_0x2bdf3d[_0xd6acc8(0x15f)]=_0xd6acc8(0x325),_0x2bdf3d['OFFLINE']='offline',_0x2bdf3d))(Ve||{});const Nt=0xea60;class he{constructor(_0x38b87f,_0x3c4a79,_0x26e165,_0x3aacdb,_0x13302a,_0x2be21f,_0x34b633,_0x168e13,_0x1e57e1){var _0x3b769b=_0xd6acc8;A(this,_0x3b769b(0x237),null),A(this,_0x3b769b(0xe6),[]),(this[_0x3b769b(0x2b8)]=_0x38b87f,this[_0x3b769b(0x38a)]=_0x3c4a79,this[_0x3b769b(0x191)]=_0x13302a,this['_commandService']=_0x2be21f,this[_0x3b769b(0x3a5)]=_0x34b633,this[_0x3b769b(0x3b6)]=_0x168e13,this[_0x3b769b(0x3b8)]=_0x1e57e1,this[_0x3b769b(0x237)]=_0x26e165,this[_0x3b769b(0xe6)]=_0x3aacdb);}['_checkMissing'](_0x4fa9ed){var _0x1721dd=_0xd6acc8;const _0x1f805c=this[_0x1721dd(0x3b6)][_0x1721dd(0x3a2)](this[_0x1721dd(0x2b8)]);return _0x4fa9ed[_0x1721dd(0x3f4)]>_0x1f805c+0x1?(this[_0x1721dd(0x191)][_0x1721dd(0xeb)]({'from':_0x1f805c,'to':_0x4fa9ed[_0x1721dd(0x3f4)]-0x1}),!0x0):!0x1;}[_0xd6acc8(0xaf)](_0x47eec8){var _0x32f95d=_0xd6acc8;this[_0x32f95d(0x3a5)][_0x32f95d(0x2b3)](this['unitID'],_0x47eec8);}['_transformSelections'](_0x45d8b6){var _0x5a3f10=_0xd6acc8,_0x3a4179,_0x4f4cb6;(_0x4f4cb6=(_0x3a4179=this['_handler'])[_0x5a3f10(0xb1)])==null||_0x4f4cb6[_0x5a3f10(0x2ef)](_0x3a4179,_0x45d8b6);}['_transformIMECache'](_0x17c936){var _0x372db6=_0xd6acc8,_0x4bf820,_0x1d92c3;return(_0x1d92c3=(_0x4bf820=this[_0x372db6(0x191)])[_0x372db6(0x3ac)])==null?void 0x0:_0x1d92c3['call'](_0x4bf820,_0x17c936);}[_0xd6acc8(0x246)](_0x5d3dc5){var _0x21c2f9=_0xd6acc8,_0x4ca9d8,_0x506c74;return(_0x506c74=(_0x4ca9d8=this[_0x21c2f9(0x191)])[_0x21c2f9(0x10d)])==null?void 0x0:_0x506c74[_0x21c2f9(0x2ef)](_0x4ca9d8,_0x5d3dc5);}[_0xd6acc8(0x3cb)](_0x917ce2){var _0x49fc5c=_0xd6acc8,_0x290a21,_0x209983,_0x26e9ae;return(_0x26e9ae=(_0x209983=(_0x290a21=this[_0x49fc5c(0x191)])[_0x49fc5c(0xb9)])==null?void 0x0:_0x209983[_0x49fc5c(0x2ef)](_0x290a21,_0x917ce2))!=null?_0x26e9ae:_0x917ce2;}[_0xd6acc8(0x135)](_0x5d5aed){var _0x30725c=_0xd6acc8,_0x406a04,_0x5151b0,_0xee09b;return(_0xee09b=(_0x5151b0=(_0x406a04=this['_handler'])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x5151b0[_0x30725c(0x2ef)](_0x406a04,_0x5d5aed))!=null?_0xee09b:_0x5d5aed;}[_0xd6acc8(0x294)](_0x3ae676){var _0x27f45c=_0xd6acc8,_0x443800,_0x58e965;if(this[_0x27f45c(0x38a)]===X[_0x27f45c(0x375)]){const {unitID:_0x37eb3a,mutations:_0x29d014,memberID:_0x8f8dab}=_0x3ae676,_0x35422d=_0x29d014[0x0][_0x27f45c(0x3da)][_0x27f45c(0x1d6)];Array['isArray'](_0x35422d)&&_0x35422d[_0x27f45c(0x108)]>0x0&&((_0x58e965=(_0x443800=this[_0x27f45c(0x191)])[_0x27f45c(0x397)])==null||_0x58e965[_0x27f45c(0x2ef)](_0x443800,{'unitID':_0x37eb3a,'memberID':_0x8f8dab,'textRanges':_0x35422d}));}}[_0xd6acc8(0x268)](){var _0xa95460=_0xd6acc8,_0x46e238;(_0x46e238=this[_0xa95460(0x3b8)])==null||_0x46e238[_0xa95460(0x3dc)](this[_0xa95460(0x2b8)],this['type'],this[_0xa95460(0x237)],this[_0xa95460(0xe6)]);}['_getCurrentRevision'](){var _0x2fae1c=_0xd6acc8;return this[_0x2fae1c(0x3b6)][_0x2fae1c(0x3a2)](this['unitID']);}[_0xd6acc8(0x2ae)](){var _0x37ded0=_0xd6acc8;this['_revisionService'][_0x37ded0(0x2b7)](this[_0x37ded0(0x2b8)]);}[_0xd6acc8(0x344)](_0x4207e5){var _0x54202c=_0xd6acc8,_0x2f3b81;let _0x125752=this[_0x54202c(0x3cb)](_0x4207e5);_0x125752=this[_0x54202c(0x135)](_0x125752);const _0x4a2970=a[_0x54202c(0x39b)](_0x125752[_0x54202c(0x1cc)],this[_0x54202c(0x2ce)],{'fromCollab':!0x0});if(!_0x4a2970['result'])throw _0x4a2970[_0x54202c(0xf9)]instanceof Error?_0x4a2970[_0x54202c(0xf9)]:new Error((_0x2f3b81=_0x4a2970[_0x54202c(0xf9)])!=null?_0x2f3b81:'[CollaborationState]:\x20apply\x20error!');this[_0x54202c(0xb5)](_0x125752),this[_0x54202c(0x246)](_0x125752),this[_0x54202c(0xaf)](_0x4207e5),this['_transformSelections'](_0x125752),this['_syncEditingCollabCursor'](_0x125752),this[_0x54202c(0x2ae)]();}}exports['SyncedState']=class extends he{constructor(_0x5968a2,_0x73851e,_0x3f40c8,_0x17f01f,_0x3f653b,_0x329130,_0x5d0344,_0x245c4a,_0x55e00a,_0x417c19){var _0xd0f248=_0xd6acc8;super(_0x5968a2,_0x73851e,null,[],_0x3f40c8,_0x5d0344,_0x329130,_0x17f01f,_0x417c19),A(this,_0xd0f248(0x263),_0xd0f248(0x361)),(this[_0xd0f248(0x114)]=_0x3f653b,this[_0xd0f248(0x1fb)]=_0x245c4a,this[_0xd0f248(0x1b0)]=_0x55e00a,this[_0xd0f248(0xde)]=_0x417c19);}[_0xd6acc8(0x3f1)](_0x91d54){var _0x3ac960=_0xd6acc8;const _0x19673e=this[_0x3ac960(0x114)][_0x3ac960(0x110)](exports[_0x3ac960(0xd0)],this[_0x3ac960(0x2b8)],this[_0x3ac960(0x38a)],[_0x91d54],this[_0x3ac960(0x191)]);return _0x19673e[_0x3ac960(0x383)](),_0x19673e['_updateLocalCache'](),_0x19673e;}['onRemoteChangeset'](_0x411ee9){var _0x2ece85=_0xd6acc8;if(this[_0x2ece85(0x403)](_0x411ee9))return this['_injector'][_0x2ece85(0x110)](exports[_0x2ece85(0x1e7)],this[_0x2ece85(0x2b8)],this['type'],null,[],null,[_0x411ee9],this['_handler']);try{const _0x3be2da=this[_0x2ece85(0x1b0)]['transformMutationsWithChangeset'](_0x411ee9,[Ii]);if(g[_0x2ece85(0xed)](_0x3be2da)){const {c1Prime:_0x1e846f}=_0x3be2da;return this[_0x2ece85(0x344)](_0x1e846f),this;}throw _0x3be2da['error'];}catch(_0x2b7d97){return this[_0x2ece85(0x1fb)][_0x2ece85(0xf9)](_0x2b7d97),this['_onConflict'](!0x1);}}[_0xd6acc8(0xd1)](_0x4460ef){var _0x1427b4=_0xd6acc8;return this[_0x1427b4(0x114)]['createInstance'](exports[_0x1427b4(0x196)],this[_0x1427b4(0x2b8)],this[_0x1427b4(0x38a)],null,[],this[_0x1427b4(0x191)],_0x4460ef);}[_0xd6acc8(0x3eb)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0xd6acc8(0x165)](){var _0x5ca97c=_0xd6acc8;throw new Error(_0x5ca97c(0x199));}[_0xd6acc8(0x274)](){return this;}['toggleOffline'](){var _0x15c70f=_0xd6acc8;return this[_0x15c70f(0x114)][_0x15c70f(0x110)](exports[_0x15c70f(0x24b)],this[_0x15c70f(0x2b8)],this[_0x15c70f(0x38a)],null,[],this[_0x15c70f(0x191)]);}['toggleOnline'](){return this;}[_0xd6acc8(0x117)](){var _0x4f070b=_0xd6acc8;throw new Error(_0x4f070b(0xdb));}[_0xd6acc8(0x16d)](){var _0x12f740=_0xd6acc8;const _0x12b307=this[_0x12f740(0x3b6)]['getCurrentRevOfUnit'](this[_0x12f740(0x2b8)]);return this[_0x12f740(0x191)][_0x12f740(0xeb)]({'from':_0x12b307,'to':0x0}),this[_0x12f740(0x114)][_0x12f740(0x110)](exports[_0x12f740(0x1e7)],this['unitID'],this[_0x12f740(0x38a)],null,[],null,[],this['_handler']);}},exports[_0xd6acc8(0xb6)]=ce([w(0x3,a[_0xd6acc8(0x412)](g['RevisionService'])),w(0x4,a[_0xd6acc8(0x412)](a[_0xd6acc8(0x1fa)])),w(0x5,a[_0xd6acc8(0x32c)]),w(0x6,a[_0xd6acc8(0x151)]),w(0x7,a[_0xd6acc8(0xe1)]),w(0x8,g[_0xd6acc8(0x223)]),w(0x9,a[_0xd6acc8(0xfb)](z))],exports[_0xd6acc8(0xb6)]),exports['PendingState']=class extends he{constructor(_0x1ec313,_0x197ec0,_0x38b681,_0x2352ab,_0x3b1b80,_0x55c573,_0x4805c5,_0x23825d,_0x34e12d,_0x2bd191,_0x2b76b6,_0x4f5181,_0x5b130a,_0x2f0fd3){var _0x4228fb=_0xd6acc8;super(_0x1ec313,_0x197ec0,null,_0x38b681,_0x2352ab,_0x34e12d,_0x5b130a,_0x55c573,_0x2f0fd3),A(this,_0x4228fb(0x263),'pending'),A(this,'_scheduleCompleteTimestamp',null),A(this,'_sendingTimer',null),(this['_injector']=_0x3b1b80,this[_0x4228fb(0x2a5)]=_0x4805c5,this[_0x4228fb(0x1fb)]=_0x23825d,this[_0x4228fb(0x239)]=_0x2bd191,this[_0x4228fb(0x1b0)]=_0x2b76b6,this['_univerInstanceService']=_0x4f5181);}[_0xd6acc8(0x3f1)](_0x5b4a3c){var _0x418080=_0xd6acc8;return this[_0x418080(0xe6)]['push'](_0x5b4a3c),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x579eb9){var _0x3472c8=_0xd6acc8;if(this[_0x3472c8(0x403)](_0x579eb9))return this['_clearScheduledTask'](),this[_0x3472c8(0x114)][_0x3472c8(0x110)](exports['FetchingMissState'],this[_0x3472c8(0x2b8)],this[_0x3472c8(0x38a)],null,this[_0x3472c8(0xe6)],null,[_0x579eb9],this[_0x3472c8(0x191)]);try{const _0x5bcbc3=this[_0x3472c8(0x1b0)]['transformMutationsWithChangeset'](_0x579eb9,this[_0x3472c8(0xe6)]);if(g[_0x3472c8(0xed)](_0x5bcbc3)){const {c1Prime:_0x310e9c,m2Prime:_0x331ec1}=_0x5bcbc3;this['_executeRemoteChangeset'](_0x310e9c);const _0x793f7=this[_0x3472c8(0x114)][_0x3472c8(0x110)](exports['PendingState'],this[_0x3472c8(0x2b8)],this[_0x3472c8(0x38a)],_0x331ec1,this[_0x3472c8(0x191)]);this['_clearScheduledTask']();const _0x274ee3=new Date()[_0x3472c8(0x11d)](),_0x646783=this[_0x3472c8(0x2f5)]?Math[_0x3472c8(0x17f)](this[_0x3472c8(0x2f5)]-_0x274ee3,0x0):this[_0x3472c8(0x2fb)]();return _0x793f7[_0x3472c8(0x383)](_0x646783),_0x793f7;}throw _0x5bcbc3[_0x3472c8(0xf9)];}catch(_0x344335){return this[_0x3472c8(0x1fb)][_0x3472c8(0xf9)](_0x344335),this['_onConflict'](!0x1);}}['onRemoteAck'](){var _0x2474e9=_0xd6acc8;throw new Error(_0x2474e9(0x1a5));}[_0xd6acc8(0x165)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0xd6acc8(0x274)](){return this;}[_0xd6acc8(0x1dd)](){var _0x4c01ac=_0xd6acc8;return this[_0x4c01ac(0x14e)](),this[_0x4c01ac(0x114)][_0x4c01ac(0x110)](exports['OfflineState'],this[_0x4c01ac(0x2b8)],this[_0x4c01ac(0x38a)],null,this['_pendingMutations'],this[_0x4c01ac(0x191)]);}[_0xd6acc8(0x3b4)](){return this;}['_schedule'](_0x4accc7){var _0x1e2dfb=_0xd6acc8;const _0xe4ce7c=_0x4accc7!=null?_0x4accc7:this[_0x1e2dfb(0x2fb)]();this[_0x1e2dfb(0x2f5)]=new Date()['getTime']()+_0xe4ce7c,this['_sendingTimer']=setTimeout(()=>{var _0x56ce47=_0x1e2dfb;this[_0x56ce47(0x14e)]();let _0x382b42=null;switch(this[_0x56ce47(0x38a)]){case X['UNIVER_SHEET']:{_0x382b42=ze(this[_0x56ce47(0xe6)],this[_0x56ce47(0x2b8)],this['_univerInstanceService'],this[_0x56ce47(0x3b6)],this[_0x56ce47(0x2a5)]);break;}case X[_0x56ce47(0x375)]:{this['_pendingMutations'][_0x56ce47(0x245)](_0x2fc6fa=>_0x2fc6fa['id']===ut[_0x56ce47(0x2bb)]['id'])?_0x382b42=mi(this['_pendingMutations'],this['unitID'],this[_0x56ce47(0x14a)],this[_0x56ce47(0x3b6)],this['_memberService']):_0x382b42=ze(this[_0x56ce47(0xe6)],this[_0x56ce47(0x2b8)],this['_univerInstanceService'],this[_0x56ce47(0x3b6)],this[_0x56ce47(0x2a5)]);break;}default:throw new Error(_0x56ce47(0x3be)+this['type']+_0x56ce47(0x29b));}const {changeset:_0x568396,pendingMutations:_0x3474db}=_0x382b42;this[_0x56ce47(0x191)][_0x56ce47(0xbd)](_0x568396);const _0x2b4706=_0x3474db[_0x56ce47(0x108)]?this[_0x56ce47(0x114)][_0x56ce47(0x110)](exports['AwaitingWithPendingState'],this[_0x56ce47(0x2b8)],this['type'],_0x568396,_0x3474db,this['_handler'],void 0x0):this[_0x56ce47(0x114)][_0x56ce47(0x110)](exports[_0x56ce47(0x408)],this[_0x56ce47(0x2b8)],this['type'],_0x568396,this[_0x56ce47(0x191)]);_0x2b4706[_0x56ce47(0x268)](),this[_0x56ce47(0x191)][_0x56ce47(0xba)](this,_0x2b4706);},_0xe4ce7c);}[_0xd6acc8(0x2fb)](){var _0x5d25cf=_0xd6acc8,_0x30fb8c;const _0x634d2c=this[_0x5d25cf(0x239)][_0x5d25cf(0xc8)](Y);return(_0x30fb8c=_0x634d2c==null?void 0x0:_0x634d2c['sendChangesetTimeout'])!=null?_0x30fb8c:jt;}[_0xd6acc8(0x117)](){var _0x3659fc=_0xd6acc8;throw new Error(_0x3659fc(0x22e));}[_0xd6acc8(0x14e)](){var _0x52e578=_0xd6acc8;this[_0x52e578(0x158)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x52e578(0x158)]=null);}[_0xd6acc8(0xd1)](_0x445445){var _0x5e86a9=_0xd6acc8;return this[_0x5e86a9(0x14e)](),this[_0x5e86a9(0x114)][_0x5e86a9(0x110)](exports['ConflictState'],this[_0x5e86a9(0x2b8)],this[_0x5e86a9(0x38a)],null,this[_0x5e86a9(0xe6)],this[_0x5e86a9(0x191)],_0x445445);}},exports['PendingState']=ce([w(0x4,a[_0xd6acc8(0x412)](a['Injector'])),w(0x5,a['Inject'](g[_0xd6acc8(0x3a7)])),w(0x6,a[_0xd6acc8(0x412)](exports[_0xd6acc8(0x1a7)])),w(0x7,a[_0xd6acc8(0xe1)]),w(0x8,a['ICommandService']),w(0x9,a[_0xd6acc8(0x105)]),w(0xa,g[_0xd6acc8(0x223)]),w(0xb,a[_0xd6acc8(0xd8)]),w(0xc,a[_0xd6acc8(0x32c)]),w(0xd,a[_0xd6acc8(0xfb)](z))],exports[_0xd6acc8(0xd0)]),exports[_0xd6acc8(0x408)]=class extends he{constructor(_0x18d594,_0x5de139,_0x43b798,_0x3fc5cf,_0x3c123a,_0x49ccfb,_0x2e1211,_0xe58d62,_0x8b4b1b,_0x15832e,_0x283951){var _0x483fb6=_0xd6acc8;super(_0x18d594,_0x5de139,_0x43b798,[],_0x3fc5cf,_0x2e1211,_0x15832e,_0x49ccfb,_0x283951),A(this,'status',_0x483fb6(0x38d)),A(this,_0x483fb6(0x1d8),0x0),A(this,_0x483fb6(0x207)),A(this,_0x483fb6(0x38c)),(this['_injector']=_0x3c123a,this['_logService']=_0xe58d62,this[_0x483fb6(0x1b0)]=_0x8b4b1b);}[_0xd6acc8(0x3f1)](_0xbdb233){var _0x3179c9=_0xd6acc8;this['_clearScheduledTask']();const _0x313947=this[_0x3179c9(0x114)][_0x3179c9(0x110)](exports['AwaitingWithPendingState'],this[_0x3179c9(0x2b8)],this['type'],this[_0x3179c9(0x237)],[_0xbdb233],this[_0x3179c9(0x191)],this['_resendTimer']);return _0x313947[_0x3179c9(0x268)](),_0x313947;}[_0xd6acc8(0x169)](_0x1bd86f){var _0x26d84b=_0xd6acc8;if(this[_0x26d84b(0x403)](_0x1bd86f))return this[_0x26d84b(0x14e)](),this['_injector']['createInstance'](exports['FetchingMissState'],this[_0x26d84b(0x2b8)],this[_0x26d84b(0x38a)],this[_0x26d84b(0x237)],[],null,[_0x1bd86f],this[_0x26d84b(0x191)]);try{const _0x22f797=this['_transformService'][_0x26d84b(0x2fc)]([_0x1bd86f],[this[_0x26d84b(0x237)]],!0x1);if(g['isTransformChangesetsSuccess'](_0x22f797)){const {c1Prime:_0x24b242,c2Prime:_0x233144}=_0x22f797;this['_executeRemoteChangeset'](_0x24b242[0x0]),_0x233144[0x0]['baseRev']=this[_0x26d84b(0x12f)](),this[_0x26d84b(0x14e)]();const _0x4c3407=this[_0x26d84b(0x114)]['createInstance'](exports['AwaitingState'],this[_0x26d84b(0x2b8)],this['type'],_0x233144[0x0],this[_0x26d84b(0x191)]);return _0x4c3407[_0x26d84b(0x268)](),_0x4c3407;}return this['_onConflict'](!0x1);}catch(_0xb31104){return this['_logService'][_0x26d84b(0xf9)](_0xb31104),this[_0x26d84b(0xd1)](!0x1);}}['onRemoteAck'](_0x12494a){var _0x4e167d=_0xd6acc8;this[_0x4e167d(0x14e)]();const _0x230619=this[_0x4e167d(0x3b6)][_0x4e167d(0x3a2)](this[_0x4e167d(0x2b8)]);if(_0x12494a['revision']<_0x230619-0x1)return this;if(this[_0x4e167d(0x403)](_0x12494a))return this[_0x4e167d(0x114)]['createInstance'](exports[_0x4e167d(0x1e7)],this[_0x4e167d(0x2b8)],this[_0x4e167d(0x38a)],null,[],this[_0x4e167d(0x237)],[],this[_0x4e167d(0x191)]);this[_0x4e167d(0x2ae)]();const _0x7ba144=this[_0x4e167d(0x114)][_0x4e167d(0x110)](exports[_0x4e167d(0xb6)],this[_0x4e167d(0x2b8)],this[_0x4e167d(0x38a)],this[_0x4e167d(0x191)]);return _0x7ba144[_0x4e167d(0x268)](),_0x7ba144;}[_0xd6acc8(0x165)](_0x5b6675){var _0x22a018=_0xd6acc8;return this[_0x22a018(0xd1)](!!(_0x5b6675!=null&&_0x5b6675[_0x22a018(0x3af)]));}[_0xd6acc8(0x274)](_0xab89b2){var _0xe07faf=_0xd6acc8;return this['_resendTimeout']>Nt?this[_0xe07faf(0x1dd)]():(this[_0xe07faf(0x207)]=yt(this[_0xe07faf(0x1d8)],{'timeout':this[_0xe07faf(0x1d8)],'reqId':_0xab89b2[_0xe07faf(0x362)]}),this[_0xe07faf(0x38c)]=this[_0xe07faf(0x207)][_0xe07faf(0x21b)](({reqId:_0x12defb,timeout:_0x2bad2e})=>{var _0x49fbe8=_0xe07faf;this[_0x49fbe8(0x2a4)](_0x12defb,_0x2bad2e);}),this);}['toggleOffline'](){var _0x50349f=_0xd6acc8;return this['_clearScheduledTask'](),this['_injector'][_0x50349f(0x110)](exports['OfflineState'],this['unitID'],this[_0x50349f(0x38a)],this['_awaitingChangeset'],[],this[_0x50349f(0x191)]);}[_0xd6acc8(0x3b4)](){return this;}['resend'](){var _0x4442f9=_0xd6acc8;this[_0x4442f9(0x191)][_0x4442f9(0xbd)](this[_0x4442f9(0x237)]);}[_0xd6acc8(0xd1)](_0x179113){var _0x6c4101=_0xd6acc8;return this[_0x6c4101(0x14e)](),this[_0x6c4101(0x114)]['createInstance'](exports[_0x6c4101(0x196)],this[_0x6c4101(0x2b8)],this[_0x6c4101(0x38a)],this[_0x6c4101(0x237)],[],this[_0x6c4101(0x191)],_0x179113);}[_0xd6acc8(0x2a4)](_0x288253,_0x48c6ca){var _0x30a27b=_0xd6acc8,_0x3a0070;_0x288253===((_0x3a0070=this[_0x30a27b(0x237)])==null?void 0x0:_0x3a0070[_0x30a27b(0x362)])&&(this[_0x30a27b(0x117)](),this['_resendTimeout']=_0x48c6ca===0x0?0x3e8:_0x48c6ca*0x2);}[_0xd6acc8(0x14e)](){var _0x116832=_0xd6acc8,_0x327640;(_0x327640=this[_0x116832(0x38c)])==null||_0x327640[_0x116832(0x3f0)](),this['_resendTimeout']=0x0;}},exports[_0xd6acc8(0x408)]=ce([w(0x4,a['Inject'](a[_0xd6acc8(0x1fa)])),w(0x5,a[_0xd6acc8(0x412)](g[_0xd6acc8(0x3a7)])),w(0x6,a[_0xd6acc8(0x151)]),w(0x7,a[_0xd6acc8(0xe1)]),w(0x8,g[_0xd6acc8(0x223)]),w(0x9,a[_0xd6acc8(0x32c)]),w(0xa,a['Optional'](z))],exports[_0xd6acc8(0x408)]),exports[_0xd6acc8(0x2da)]=class extends he{constructor(_0x4a8a95,_0x3e9b7c,_0x4849ff,_0x2f935f,_0xf6999e,_0x565f66,_0x36eb57,_0x43ae3e,_0xdcb681,_0x34ce69,_0x26e8a8,_0x20a5d1,_0x17fd45){var _0x33eb27=_0xd6acc8;super(_0x4a8a95,_0x3e9b7c,_0x4849ff,_0x2f935f,_0xf6999e,_0xdcb681,_0x20a5d1,_0x43ae3e,_0x17fd45),A(this,_0x33eb27(0x263),_0x33eb27(0x3a1)),A(this,_0x33eb27(0x1d8),0x0),A(this,_0x33eb27(0x207)),A(this,_0x33eb27(0x38c)),(this[_0x33eb27(0x114)]=_0x36eb57,this[_0x33eb27(0x1fb)]=_0x34ce69,this[_0x33eb27(0x1b0)]=_0x26e8a8,this['localCacheService']=_0x17fd45,_0x565f66&&(this[_0x33eb27(0x207)]=_0x565f66,this[_0x33eb27(0x38c)]=this[_0x33eb27(0x207)][_0x33eb27(0x21b)](({reqId:_0x19d4fc,timeout:_0x24375f})=>{this['_resendWithTimeout'](_0x19d4fc,_0x24375f);})));}[_0xd6acc8(0x3f1)](_0x32e4db){var _0x46ccb1=_0xd6acc8;return this[_0x46ccb1(0xe6)][_0x46ccb1(0x32f)](_0x32e4db),this;}[_0xd6acc8(0x169)](_0x247142){var _0x24e8b0=_0xd6acc8;if(this[_0x24e8b0(0x403)](_0x247142))return this[_0x24e8b0(0x14e)](),this['_injector'][_0x24e8b0(0x110)](exports['FetchingMissState'],this[_0x24e8b0(0x2b8)],this[_0x24e8b0(0x38a)],this['_awaitingChangeset'],this['_pendingMutations'],null,[_0x247142],this[_0x24e8b0(0x191)]);try{const _0x8c4b4c=this[_0x24e8b0(0x1b0)]['transformChangesets']([_0x247142],[this[_0x24e8b0(0x237)]],!0x1);if(g[_0x24e8b0(0x30b)](_0x8c4b4c)){const {c1Prime:_0x432778,c2Prime:_0x21ff9a}=_0x8c4b4c,_0x10090d=this['_transformService'][_0x24e8b0(0x16e)](_0x432778[0x0],this[_0x24e8b0(0xe6)]);if(g['isTransformMutationsWithChangesetSuccess'](_0x10090d)){const {c1Prime:_0x12775f,m2Prime:_0x12d126}=_0x10090d;return this[_0x24e8b0(0x344)](_0x12775f),_0x21ff9a[0x0][_0x24e8b0(0xfa)]=this[_0x24e8b0(0x12f)](),this['_clearScheduledTask'](),this[_0x24e8b0(0x114)][_0x24e8b0(0x110)](exports[_0x24e8b0(0x2da)],this[_0x24e8b0(0x2b8)],this[_0x24e8b0(0x38a)],_0x21ff9a[0x0],_0x12d126,this[_0x24e8b0(0x191)],void 0x0);}throw _0x10090d[_0x24e8b0(0xf9)];}throw _0x8c4b4c[_0x24e8b0(0xf9)];}catch(_0x4da60e){return this[_0x24e8b0(0x1fb)][_0x24e8b0(0xf9)](_0x4da60e),this[_0x24e8b0(0xd1)](!0x1);}}[_0xd6acc8(0x3eb)](_0x1044ee){var _0x3be27a=_0xd6acc8;if(this[_0x3be27a(0x14e)](),this[_0x3be27a(0x403)](_0x1044ee))return this[_0x3be27a(0x114)][_0x3be27a(0x110)](exports[_0x3be27a(0x1e7)],this['unitID'],this['type'],null,this['_pendingMutations'],this[_0x3be27a(0x237)],[],this[_0x3be27a(0x191)]);this[_0x3be27a(0x2ae)]();const _0xa30cc2=this['_injector']['createInstance'](exports['PendingState'],this['unitID'],this[_0x3be27a(0x38a)],this[_0x3be27a(0xe6)],this[_0x3be27a(0x191)]);return _0xa30cc2[_0x3be27a(0x383)](),_0xa30cc2[_0x3be27a(0x268)](),_0xa30cc2;}['onRemoteRej'](_0xf5326){return this['_onConflict'](!!(_0xf5326!=null&&_0xf5326['isPermissionRej']));}[_0xd6acc8(0x274)](_0x21b2ce){var _0xcd5be2=_0xd6acc8;return this[_0xcd5be2(0x1d8)]>Nt?this[_0xcd5be2(0x1dd)]():(this['_resendTimer']=yt(this[_0xcd5be2(0x1d8)],{'timeout':this[_0xcd5be2(0x1d8)],'reqId':_0x21b2ce[_0xcd5be2(0x362)]}),this['_sender']=this['_resendTimer']['subscribe'](({reqId:_0x41d8de,timeout:_0x1d9671})=>{var _0x42f5cf=_0xcd5be2;this[_0x42f5cf(0x2a4)](_0x41d8de,_0x1d9671);}),this);}['toggleOffline'](){var _0x1c93e6=_0xd6acc8;return this[_0x1c93e6(0x14e)](),this[_0x1c93e6(0x114)][_0x1c93e6(0x110)](exports[_0x1c93e6(0x24b)],this[_0x1c93e6(0x2b8)],this['type'],this[_0x1c93e6(0x237)],this[_0x1c93e6(0xe6)],this[_0x1c93e6(0x191)]);}['toggleOnline'](){return this;}['resend'](){var _0x5d824d=_0xd6acc8;this['_handler'][_0x5d824d(0xbd)](this['_awaitingChangeset']);}[_0xd6acc8(0xd1)](_0x59916e){var _0x20fc75=_0xd6acc8;return this[_0x20fc75(0x14e)](),this[_0x20fc75(0x114)][_0x20fc75(0x110)](exports[_0x20fc75(0x196)],this[_0x20fc75(0x2b8)],this[_0x20fc75(0x38a)],null,this[_0x20fc75(0xe6)],this[_0x20fc75(0x191)],_0x59916e);}['_resendWithTimeout'](_0x21f140,_0x41780d){var _0x58340f=_0xd6acc8,_0x5e288d;_0x21f140===((_0x5e288d=this['_awaitingChangeset'])==null?void 0x0:_0x5e288d[_0x58340f(0x362)])&&(this[_0x58340f(0x117)](),this[_0x58340f(0x1d8)]=_0x41780d===0x0?0x3e8:_0x41780d*0x2);}['_clearScheduledTask'](){var _0x10e62=_0xd6acc8,_0x4eb7e2;(_0x4eb7e2=this[_0x10e62(0x38c)])==null||_0x4eb7e2[_0x10e62(0x3f0)](),this[_0x10e62(0x1d8)]=0x0;}},exports[_0xd6acc8(0x2da)]=ce([w(0x6,a[_0xd6acc8(0x412)](a[_0xd6acc8(0x1fa)])),w(0x7,a[_0xd6acc8(0x412)](g['RevisionService'])),w(0x8,a[_0xd6acc8(0x151)]),w(0x9,a[_0xd6acc8(0xe1)]),w(0xa,g[_0xd6acc8(0x223)]),w(0xb,a[_0xd6acc8(0x32c)]),w(0xc,a[_0xd6acc8(0xfb)](z))],exports[_0xd6acc8(0x2da)]),exports['ConflictState']=class extends he{constructor(_0x3e6631,_0x34c313,_0x272e1f,_0x1cb6a3,_0x4f1138,_0x3bc53b=!0x1,_0x51f45d,_0x269379,_0x4e4902,_0xeec8f0,_0xe967f2,_0x1e39a2,_0x317614){var _0x334fbf=_0xd6acc8;super(_0x3e6631,_0x34c313,_0x272e1f,_0x1cb6a3,_0x4f1138,_0x269379,_0x4e4902,_0xeec8f0,_0x317614),A(this,_0x334fbf(0x263),_0x334fbf(0x325)),(this[_0x334fbf(0x23e)]=_0x3bc53b,this[_0x334fbf(0x23c)]=_0x51f45d,this[_0x334fbf(0x30e)]=_0xe967f2,this[_0x334fbf(0x152)]=_0x1e39a2,this[_0x334fbf(0xde)]=_0x317614,this[_0x334fbf(0x40d)](),this[_0x334fbf(0x40a)](),this[_0x334fbf(0x194)]());}['appendMutation'](){return this;}[_0xd6acc8(0x169)](){return this;}['onRemoteAck'](){return this;}[_0xd6acc8(0x165)](){return this;}[_0xd6acc8(0x274)](){return this;}[_0xd6acc8(0x1dd)](){return this;}['toggleOnline'](){return this;}[_0xd6acc8(0x117)](){var _0x144466=_0xd6acc8;throw new Error(_0x144466(0x107));}[_0xd6acc8(0x40a)](){var _0x25bc97=_0xd6acc8,_0x14d763;(_0x14d763=this[_0x25bc97(0x3b8)])==null||_0x14d763[_0x25bc97(0x3dc)](this[_0x25bc97(0x2b8)],this[_0x25bc97(0x38a)],null,[]);}['_showConflictNotification'](){var _0x521705=_0xd6acc8;this[_0x521705(0x23e)]?this[_0x521705(0x152)][_0x521705(0x205)]({'id':Q[_0x521705(0x39e)]}):this['_collaborationUIEventService'][_0x521705(0x205)]({'id':Q[_0x521705(0x15f)]});}[_0xd6acc8(0x194)](){var _0x490dd6=_0xd6acc8;this[_0x490dd6(0x23c)][_0x490dd6(0x3a4)](new Z['WorkbookEditablePermission'](this[_0x490dd6(0x2b8)])['id'],!0x1);}},exports[_0xd6acc8(0x196)]=ce([w(0x6,a[_0xd6acc8(0x412)](a[_0xd6acc8(0x359)])),w(0x7,a['ICommandService']),w(0x8,a['IUndoRedoService']),w(0x9,a['Inject'](g[_0xd6acc8(0x3a7)])),w(0xa,a['Inject'](a[_0xd6acc8(0x280)])),w(0xb,a[_0xd6acc8(0x412)](te)),w(0xc,a[_0xd6acc8(0xfb)](z))],exports[_0xd6acc8(0x196)]),exports['OfflineState']=class extends he{constructor(_0x5bd7f0,_0x38d2c4,_0x5387c8,_0x11de52,_0x31eb2a,_0xbb1dab,_0x2fe927,_0x4fb5ae,_0x1f03c4,_0x137d7e){var _0x9e59ed=_0xd6acc8;super(_0x5bd7f0,_0x38d2c4,_0x5387c8,_0x11de52,_0x31eb2a,_0x4fb5ae,_0x1f03c4,_0x2fe927,_0x137d7e),A(this,'status',_0x9e59ed(0x355)),this[_0x9e59ed(0x114)]=_0xbb1dab;}['appendMutation'](_0x1fff4f){var _0x3a2d51=_0xd6acc8;return this[_0x3a2d51(0xe6)][_0x3a2d51(0x32f)](_0x1fff4f),this[_0x3a2d51(0x268)](),this;}[_0xd6acc8(0x169)](_0x15a3e8){var _0x5ef5bc=_0xd6acc8;throw new Error(_0x5ef5bc(0x3e6));}[_0xd6acc8(0x3eb)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0xd6acc8(0x165)](){var _0x2c2d8e=_0xd6acc8;throw new Error(_0x2c2d8e(0x3ea));}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}[_0xd6acc8(0x3b4)](){var _0xb86a97=_0xd6acc8;const {_injector:_0x188e18,_pendingMutations:_0x2d2523,_awaitingChangeset:_0x2a6d85,unitID:_0x4ef5bc,_handler:_0x12ab8d,type:_0x52b8fc}=this,_0x5116e6=Dt(_0x188e18,_0x4ef5bc,_0x52b8fc,_0x2a6d85,_0x2d2523,_0x12ab8d);return _0x5116e6 instanceof exports[_0xb86a97(0xd0)]?_0x5116e6['_schedule']():(_0x5116e6 instanceof exports[_0xb86a97(0x2da)]||_0x5116e6 instanceof exports[_0xb86a97(0x408)])&&_0x5116e6[_0xb86a97(0x117)](),_0x5116e6;}[_0xd6acc8(0x117)](){var _0x3fa530=_0xd6acc8;throw new Error(_0x3fa530(0x26a));}},exports[_0xd6acc8(0x24b)]=ce([w(0x5,a[_0xd6acc8(0x412)](a[_0xd6acc8(0x1fa)])),w(0x6,a['Inject'](g[_0xd6acc8(0x3a7)])),w(0x7,a[_0xd6acc8(0x151)]),w(0x8,a[_0xd6acc8(0x32c)]),w(0x9,a[_0xd6acc8(0xfb)](z))],exports['OfflineState']),exports[_0xd6acc8(0x1e7)]=class extends he{constructor(_0x3faa98,_0x314225,_0x197e91,_0x484d81,_0x29f51f,_0x2938f1,_0x159d4c,_0x125088,_0x2fc473,_0x51215d,_0x2604f5,_0x286422,_0xa13190,_0x24bf34){var _0x207571=_0xd6acc8;super(_0x3faa98,_0x314225,_0x197e91,_0x484d81,_0x159d4c,_0x2604f5,_0x286422,_0x2fc473,_0x24bf34),A(this,_0x207571(0x263),_0x207571(0xc2)),(this['_acknowledgedAwaitingChangeset']=_0x29f51f,this[_0x207571(0x3e5)]=_0x2938f1,this[_0x207571(0x114)]=_0x125088,this[_0x207571(0x1fb)]=_0x51215d,this['_transformService']=_0xa13190,this[_0x207571(0xde)]=_0x24bf34);}[_0xd6acc8(0x2a7)](_0x4c3570){var _0x2df5ef=_0xd6acc8;try{const _0x4756a5=[..._0x4c3570,...this[_0x2df5ef(0x3e5)]],_0x4a0533=[this[_0x2df5ef(0x237)]||this[_0x2df5ef(0x206)]][_0x2df5ef(0x3ec)](_0x35ac57=>!!_0x35ac57);let _0x31d849,_0x257a38;if(_0x4a0533[_0x2df5ef(0x108)]){const _0x21c9ba=this['_transformService']['transformChangesets'](_0x4756a5,_0x4a0533,!0x1);if(!g[_0x2df5ef(0x30b)](_0x21c9ba))throw _0x21c9ba['error'];_0x31d849=_0x21c9ba[_0x2df5ef(0x234)],_0x257a38=_0x21c9ba[_0x2df5ef(0x2b1)];}else _0x31d849=_0x4756a5,_0x257a38=[];let _0x1d7804=this['_pendingMutations'];_0x31d849[_0x2df5ef(0x3c6)](_0x998d96=>{var _0x274818=_0x2df5ef;let _0x48069f;if(_0x1d7804[_0x274818(0x108)]){const _0x3b09f8=this['_transformService'][_0x274818(0x16e)](_0x998d96,_0x1d7804);if(!g[_0x274818(0xed)](_0x3b09f8))throw _0x3b09f8[_0x274818(0xf9)];_0x48069f=_0x3b09f8[_0x274818(0x234)],_0x1d7804=_0x3b09f8[_0x274818(0x150)];}else _0x48069f=_0x998d96;this[_0x274818(0x344)](_0x48069f);}),this[_0x2df5ef(0x206)]&&this[_0x2df5ef(0x2ae)](),this[_0x2df5ef(0x237)]&&_0x257a38[_0x2df5ef(0x108)]&&(_0x257a38[0x0][_0x2df5ef(0xfa)]=this[_0x2df5ef(0x12f)]());let _0x13b610;if(this[_0x2df5ef(0x237)]&&_0x1d7804[_0x2df5ef(0x108)]!==0x0)_0x13b610=this[_0x2df5ef(0x114)][_0x2df5ef(0x110)](exports[_0x2df5ef(0x2da)],this[_0x2df5ef(0x2b8)],this['type'],_0x257a38[0x0],_0x1d7804,this[_0x2df5ef(0x191)],void 0x0);else{if(this[_0x2df5ef(0x237)]&&_0x1d7804[_0x2df5ef(0x108)]===0x0)_0x257a38[0x0]['baseRev']=this[_0x2df5ef(0x12f)](),_0x13b610=this[_0x2df5ef(0x114)]['createInstance'](exports[_0x2df5ef(0x408)],this[_0x2df5ef(0x2b8)],this[_0x2df5ef(0x38a)],_0x257a38[0x0],this[_0x2df5ef(0x191)]);else{if(_0x1d7804[_0x2df5ef(0x108)]!==0x0){const _0x406a68=this['_injector']['createInstance'](exports[_0x2df5ef(0xd0)],this[_0x2df5ef(0x2b8)],this['type'],_0x1d7804,this['_handler']);_0x406a68[_0x2df5ef(0x383)](),_0x13b610=_0x406a68;}else _0x13b610=this[_0x2df5ef(0x114)][_0x2df5ef(0x110)](exports['SyncedState'],this[_0x2df5ef(0x2b8)],this['type'],this[_0x2df5ef(0x191)]);}}return _0x13b610['_updateLocalCache'](),_0x13b610;}catch(_0xd8d7f6){return this[_0x2df5ef(0x1fb)][_0x2df5ef(0xf9)]('[FetchMissState]','failed\x20to\x20apply\x20missed\x20changesets!',_0xd8d7f6),this[_0x2df5ef(0x114)]['createInstance'](exports[_0x2df5ef(0x196)],this[_0x2df5ef(0x2b8)],this[_0x2df5ef(0x38a)],this['_awaitingChangeset'],this[_0x2df5ef(0xe6)],this['_handler'],!0x1);}}[_0xd6acc8(0x117)](){var _0x50d031=_0xd6acc8;throw new Error(_0x50d031(0x301));}[_0xd6acc8(0x3f1)](_0x10f6a9){var _0x2b5cb4=_0xd6acc8;return this[_0x2b5cb4(0xe6)][_0x2b5cb4(0x32f)](_0x10f6a9),this;}['onRemoteChangeset'](_0x10d385){var _0x2e0539=_0xd6acc8;return this[_0x2e0539(0x3e5)]['push'](_0x10d385),this;}[_0xd6acc8(0x3eb)](_0x331e87){var _0x1f6627=_0xd6acc8;if(this[_0x1f6627(0x237)])return this['_acknowledgedAwaitingChangeset']=this['_awaitingChangeset'],this[_0x1f6627(0x237)]=null,this;throw new Error(_0x1f6627(0x33b));}['onRemoteRej'](_0x340ea1){var _0x20aefd=_0xd6acc8;return this['_onConflict'](!!(_0x340ea1!=null&&_0x340ea1[_0x20aefd(0x3af)]));}[_0xd6acc8(0x274)](){return this;}[_0xd6acc8(0x1dd)](){var _0x4631e0=_0xd6acc8;return this[_0x4631e0(0x114)][_0x4631e0(0x110)](exports[_0x4631e0(0x24b)],this[_0x4631e0(0x2b8)],this[_0x4631e0(0x38a)],this[_0x4631e0(0x237)],this['_pendingMutations'],this[_0x4631e0(0x191)]);}['toggleOnline'](){return this;}[_0xd6acc8(0xd1)](_0x154104){var _0x3701ab=_0xd6acc8;return this[_0x3701ab(0x114)][_0x3701ab(0x110)](exports[_0x3701ab(0x196)],this[_0x3701ab(0x2b8)],this[_0x3701ab(0x38a)],this[_0x3701ab(0x237)],this[_0x3701ab(0xe6)],this[_0x3701ab(0x191)],_0x154104);}},exports[_0xd6acc8(0x1e7)]=ce([w(0x7,a[_0xd6acc8(0x412)](a[_0xd6acc8(0x1fa)])),w(0x8,a['Inject'](g['RevisionService'])),w(0x9,a['ILogService']),w(0xa,a[_0xd6acc8(0x151)]),w(0xb,a[_0xd6acc8(0x32c)]),w(0xc,g[_0xd6acc8(0x223)]),w(0xd,a[_0xd6acc8(0xfb)](z))],exports[_0xd6acc8(0x1e7)]);function Dt(_0x45a775,_0x1df85b,_0x30d0d2,_0x21380b,_0x21173b,_0x51a359){var _0x3db95f=_0xd6acc8;return _0x21380b&&_0x21173b['length']?_0x45a775[_0x3db95f(0x110)](exports[_0x3db95f(0x2da)],_0x1df85b,_0x30d0d2,_0x21380b,_0x21173b,_0x51a359,void 0x0):_0x21380b?_0x45a775['createInstance'](exports['AwaitingState'],_0x1df85b,_0x30d0d2,_0x21380b,_0x51a359):_0x21173b[_0x3db95f(0x108)]?_0x45a775[_0x3db95f(0x110)](exports[_0x3db95f(0xd0)],_0x1df85b,_0x30d0d2,_0x21173b,_0x51a359):_0x45a775[_0x3db95f(0x110)](exports['SyncedState'],_0x1df85b,_0x30d0d2,_0x51a359);}var Ci=Object[_0xd6acc8(0x3b7)],We=(_0x463fdd,_0x517905,_0x76d247,_0x560b3f)=>{var _0x32de3e=_0xd6acc8;for(var _0x58ce43=_0x560b3f>0x1?void 0x0:_0x560b3f?Ci(_0x517905,_0x76d247):_0x517905,_0x3f582f=_0x463fdd[_0x32de3e(0x108)]-0x1,_0x6e5cfd;_0x3f582f>=0x0;_0x3f582f--)(_0x6e5cfd=_0x463fdd[_0x3f582f])&&(_0x58ce43=_0x6e5cfd(_0x58ce43)||_0x58ce43);return _0x58ce43;},$=(_0x18c193,_0x632333)=>(_0x29d9b7,_0x1e7f5c)=>_0x632333(_0x29d9b7,_0x1e7f5c,_0x18c193);exports[_0xd6acc8(0x3e7)]=class extends a[_0xd6acc8(0x40b)]{constructor(_0x311a6b,_0x3a0ae6,_0x499d48,_0x15cdec,_0x1fd402,_0x2fb260,_0x3127d5,_0x307d23,_0x5c7eac,_0x4abb66,_0x242867,_0x308ebe,_0x32f880){var _0x39d69b=_0xd6acc8;super(),A(this,'_state$',new j[(_0x39d69b(0x3a3))](null)),A(this,'state$',this['_state$'][_0x39d69b(0x286)]()),A(this,'_state'),A(this,'_collaborationPaused',!0x1),A(this,_0x39d69b(0x287),''),A(this,_0x39d69b(0x2c7),0x0),A(this,_0x39d69b(0x100),this['state$']['pipe'](j[_0x39d69b(0x36f)](_0x227e71=>_0x227e71?_0x227e71['status']:Ve[_0x39d69b(0x285)]),j[_0x39d69b(0x1db)](0x1))),A(this,_0x39d69b(0x1fd),!0x1),A(this,_0x39d69b(0x1dc),[]),(this[_0x39d69b(0x2b8)]=_0x311a6b,this[_0x39d69b(0x277)]=_0x3a0ae6,this[_0x39d69b(0xce)]=_0x499d48,this[_0x39d69b(0x114)]=_0x15cdec,this['_compressMutationService']=_0x1fd402,this[_0x39d69b(0x30e)]=_0x2fb260,this[_0x39d69b(0x3b6)]=_0x3127d5,this[_0x39d69b(0x1b1)]=_0x307d23,this[_0x39d69b(0x1fb)]=_0x5c7eac,this[_0x39d69b(0x2ce)]=_0x4abb66,this[_0x39d69b(0x23c)]=_0x242867,this[_0x39d69b(0x20f)]=_0x308ebe,this['_localCacheService']=_0x32f880);}get[_0xd6acc8(0x3d7)](){var _0xf64110=_0xd6acc8;return this[_0xf64110(0xd2)];}async['init'](){var _0x5d571a=_0xd6acc8;if(this[_0x5d571a(0x3d7)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this['_init']();}[_0xd6acc8(0x1e8)](){var _0x4816bf=_0xd6acc8;return this[_0x4816bf(0x167)]=!0x0,a[_0x4816bf(0x330)](()=>{var _0x25ac09=_0x4816bf;this[_0x25ac09(0x167)]=!0x1,this[_0x25ac09(0x17c)]();});}[_0xd6acc8(0x3a9)](_0x509e8d){var _0x509ad8=_0xd6acc8;this[_0x509ad8(0xf2)](_0x509e8d);}['_updateState'](_0x22f6f7){var _0x45a15c=_0xd6acc8;this[_0x45a15c(0xd2)]=_0x22f6f7,this['_state$'][_0x45a15c(0x143)](_0x22f6f7);}async[_0xd6acc8(0x276)](){var _0x2a74b9=_0xd6acc8,_0x50c302;this[_0x2a74b9(0x302)](await this['_createInitialState']()),this[_0x2a74b9(0x20f)]&&((_0x50c302=this[_0x2a74b9(0x20f)])==null||_0x50c302[_0x2a74b9(0x1f0)](this['unitID']),this['disposeWithMe'](this[_0x2a74b9(0x20f)][_0x2a74b9(0x212)](this[_0x2a74b9(0x2b8)])['subscribe'](_0x3fcfd7=>{var _0x2a0844=_0x2a74b9;this[_0x2a0844(0x1fb)][_0x2a0844(0xe0)]('[CollaborationEntity]','editing\x20status\x20changed\x20to',_0x3fcfd7),_0x3fcfd7===Fe[_0x2a0844(0x3bc)]?(this[_0x2a0844(0x1b1)][_0x2a0844(0x205)]({'id':Q[_0x2a0844(0x259)]}),this[_0x2a0844(0x23c)][_0x2a0844(0x3a4)](new Z['WorkbookEditablePermission'](this[_0x2a0844(0x2b8)])['id'],!0x1),this[_0x2a0844(0x23c)][_0x2a0844(0xf4)](!0x1)):(this['_permissionService'][_0x2a0844(0x3a4)](new Z[(_0x2a0844(0x112))](this[_0x2a0844(0x2b8)])['id'],!0x0),this[_0x2a0844(0x23c)][_0x2a0844(0xf4)](!0x0));})));let _0x24f801=!0x1;return this['disposeWithMe'](this[_0x2a74b9(0x277)][_0x2a74b9(0x12d)][_0x2a74b9(0x21b)](_0x46ef75=>{var _0x105c53=_0x2a74b9;_0x46ef75===se[_0x105c53(0x310)]?this[_0x105c53(0x34e)](_0x24f801):_0x46ef75===se[_0x105c53(0x285)]&&(_0x24f801=!0x0,this[_0x105c53(0xa8)]());})),this[_0x2a74b9(0x378)](this[_0x2a74b9(0x277)][_0x2a74b9(0x21a)]['subscribe'](_0x4a483c=>{var _0x3dd036=_0x2a74b9;try{switch(_0x4a483c['eventID']){case g[_0x3dd036(0x1b8)]['NEW_CHANGESETS']:{this[_0x3dd036(0x307)](g['parseProtocolChangeset'](_0x4a483c[_0x3dd036(0x24d)]));break;}case g['CollaborationEvent']['CHANGESET_ACK']:{this['_onRemoteACK'](_0x4a483c[_0x3dd036(0x24d)]);break;}case g[_0x3dd036(0x1b8)]['CHANGESET_REJ']:{this['_onRemoteRejected']();break;}case g[_0x3dd036(0x1b8)]['CHANGESET_SHOULD_RETRY']:{this['_onRemoteRetry'](_0x4a483c['data']);break;}case g['CollaborationEvent']['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x3dd036(0x23f)](_0x4a483c[_0x3dd036(0x24d)][_0x3dd036(0xc9)][_0x3dd036(0x36f)](_0x47d478=>g[_0x3dd036(0x1d4)](_0x47d478)));break;}case g[_0x3dd036(0x1b8)]['PERMISSION_REJ']:{this[_0x3dd036(0x34b)]({'isPermissionRej':!0x0});break;}case g[_0x3dd036(0x1b8)][_0x3dd036(0x346)]:break;}}catch(_0x4c2532){throw console[_0x3dd036(0xf9)](_0x3dd036(0x147),_0x4c2532),_0x4c2532;}})),this[_0x2a74b9(0xd2)];}[_0xd6acc8(0x2c5)](){var _0x3270d5=_0xd6acc8;this[_0x3270d5(0x1fd)]=!0x1;}[_0xd6acc8(0x271)](){var _0x3babc5=_0xd6acc8;if(this['_transitionLocked'])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this[_0x3babc5(0x1fd)]=!0x0;}[_0xd6acc8(0xf2)](_0x134a82){var _0x2dac60=_0xd6acc8;this['_lockTransition'](),this[_0x2dac60(0x302)](this[_0x2dac60(0xd2)]['appendMutation'](_0x134a82)),this[_0x2dac60(0x2c5)]();}['_onRemoteChangeset'](_0xe115ee){var _0x167a06=_0xd6acc8;if(!(_0xe115ee[_0x167a06(0x3f4)]<=this[_0x167a06(0x3b6)][_0x167a06(0x3a2)](this[_0x167a06(0x2b8)]))){if(this[_0x167a06(0x167)]){this['_remoteChangesetQueue'][_0x167a06(0x32f)](_0xe115ee);return;}this[_0x167a06(0xad)](_0xe115ee);}}[_0xd6acc8(0x17c)](){var _0x2ed3fc=_0xd6acc8;this[_0x2ed3fc(0x1dc)][_0x2ed3fc(0x3c6)](_0x2b8104=>this[_0x2ed3fc(0xad)](_0x2b8104)),this[_0x2ed3fc(0x1dc)]=[];}[_0xd6acc8(0xad)](_0x414eb7){var _0x5e0a45=_0xd6acc8;const _0xa5b1ac=this[_0x5e0a45(0x1e2)][_0x5e0a45(0x20d)]['fetchThroughInterceptors'](this[_0x5e0a45(0x1e2)][_0x5e0a45(0x20d)][_0x5e0a45(0x2bf)]()[_0x5e0a45(0x21f)])(_0x414eb7[_0x5e0a45(0x1cc)],null)||_0x414eb7[_0x5e0a45(0x1cc)],_0x2f1d3e={..._0x414eb7,'mutations':_0xa5b1ac};this['_lockTransition'](),this[_0x5e0a45(0x302)](this[_0x5e0a45(0xd2)][_0x5e0a45(0x169)](_0x2f1d3e)),this['_unlockTransition']();}['_onRemoteACK'](_0x30440e){var _0x33d159=_0xd6acc8;this[_0x33d159(0x271)](),this[_0x33d159(0x302)](this[_0x33d159(0xd2)][_0x33d159(0x3eb)](_0x30440e)),this[_0x33d159(0x2c5)]();}[_0xd6acc8(0x34b)](_0x6c4924){var _0x7a2524=_0xd6acc8;this[_0x7a2524(0x271)](),this[_0x7a2524(0x302)](this[_0x7a2524(0xd2)][_0x7a2524(0x165)](_0x6c4924)),this[_0x7a2524(0x2c5)]();}[_0xd6acc8(0x2f4)](_0x28aac4){var _0x512ba6=_0xd6acc8;this['_lockTransition'](),this[_0x512ba6(0x302)](this['_state'][_0x512ba6(0x274)](_0x28aac4)),this[_0x512ba6(0x2c5)]();}['_onFetchMissResult'](_0x1a377c){var _0x3122b2=_0xd6acc8;if(!(this[_0x3122b2(0xd2)]instanceof exports['FetchingMissState']))throw new TypeError(_0x3122b2(0xe8));const _0x6005c5=_0x1a377c[_0x3122b2(0x36f)](_0xc93a8b=>{var _0x273372=_0x3122b2;const _0xf76597=this['_compressMutationService'][_0x273372(0x20d)][_0x273372(0xe7)](this[_0x273372(0x1e2)][_0x273372(0x20d)][_0x273372(0x2bf)]()[_0x273372(0x21f)])(_0xc93a8b[_0x273372(0x1cc)],null)||_0xc93a8b[_0x273372(0x1cc)];return{..._0xc93a8b,'mutations':_0xf76597};});this[_0x3122b2(0x271)](),this[_0x3122b2(0x302)](this[_0x3122b2(0xd2)][_0x3122b2(0x2a7)](_0x6005c5)),this[_0x3122b2(0x2c5)]();}[_0xd6acc8(0xa8)](){var _0x5dd334=_0xd6acc8;this[_0x5dd334(0x271)](),this[_0x5dd334(0x302)](this[_0x5dd334(0xd2)][_0x5dd334(0x1dd)]()),this[_0x5dd334(0x2c5)]();}[_0xd6acc8(0x34e)](_0x4d2d51=!0x1){var _0x5f5c76=_0xd6acc8;this['_lockTransition'](),this[_0x5f5c76(0x302)](this[_0x5f5c76(0xd2)]['toggleOnline']()),this['_unlockTransition']();const _0x2ddaee=this[_0x5f5c76(0xd2)];_0x4d2d51&&_0x2ddaee instanceof exports[_0x5f5c76(0xb6)]&&(this[_0x5f5c76(0x271)](),this[_0x5f5c76(0x302)](_0x2ddaee[_0x5f5c76(0x16d)]()),this['_unlockTransition']());}async[_0xd6acc8(0x116)](){return new Promise(_0x2011cc=>{var _0xa47a81=_0x2bce;this['session'][_0xa47a81(0x12d)][_0xa47a81(0x348)](j[_0xa47a81(0x3d9)](0x1))[_0xa47a81(0x21b)](async _0x203097=>{var _0x1024b8=_0xa47a81;_0x2011cc(await this[_0x1024b8(0x2f7)](_0x203097===se[_0x1024b8(0x310)]));});});}['_createHandler'](){var _0x4da484=_0xd6acc8;const _0x1519bf=this[_0x4da484(0x2b8)];return{'onStateChange':(_0x34c74a,_0x30790e)=>{var _0x9f167d=_0x4da484;if(_0x34c74a!==this['_state'])throw new Error(_0x9f167d(0x2a2)+_0x34c74a[_0x9f167d(0x263)]+_0x9f167d(0x352)+_0x30790e['status']+'\x0aCurrent:\x20'+this['_state'][_0x9f167d(0x263)]);this[_0x9f167d(0x302)](_0x30790e);},'onSendChangeset':_0x478bdc=>{var _0x35f65b=_0x4da484;_0x478bdc[_0x35f65b(0x343)]||(_0x478bdc[_0x35f65b(0x343)]=this[_0x35f65b(0x287)],_0x478bdc[_0x35f65b(0x362)]=++this['_changesetReqId']);const _0x116f1e={'eventID':g['CollaborationEvent'][_0x35f65b(0x1aa)],'data':{'unitID':_0x478bdc[_0x35f65b(0x2b8)],'unitType':this[_0x35f65b(0xce)],'changeset':_0x478bdc,'memberID':this[_0x35f65b(0x277)][_0x35f65b(0x1af)]()}};this[_0x35f65b(0x277)][_0x35f65b(0x235)](_0x116f1e,this[_0x35f65b(0x2b8)]);},'onMissingChangesets':({from:_0x342c0f,to:_0x51bd82})=>{var _0x4d8854=_0x4da484;this[_0x4d8854(0x1fb)][_0x4d8854(0xe0)](_0x4d8854(0x1f8),'fetching\x20missing\x20changesets\x20from\x20'+_0x342c0f+_0x4d8854(0x211)+_0x51bd82);const _0x2366e8={'eventID':g[_0x4d8854(0x1b8)][_0x4d8854(0x2f9)],'data':{'unitID':_0x1519bf,'unitType':this['_type'],'from':_0x342c0f,'to':_0x51bd82}};this[_0x4d8854(0x277)]['send'](_0x2366e8,this[_0x4d8854(0x2b8)]);}};}async['_createInitialStateImpl'](_0x472e42){var _0x3f94bb=_0xd6acc8,_0x428673,_0x351b87,_0xfb42f3;const _0xb7f0a=await((_0x428673=this[_0x3f94bb(0x3b8)])==null?void 0x0:_0x428673['loadOfflineData'](this['unitID'])),_0x349f53=(_0x351b87=_0xb7f0a==null?void 0x0:_0xb7f0a['mutations'])!=null?_0x351b87:[],_0x1942d1=(_0xfb42f3=_0xb7f0a==null?void 0x0:_0xb7f0a[_0x3f94bb(0x122)])!=null?_0xfb42f3:null,_0x43f136=!!(_0x1942d1!=null&&_0x1942d1[_0x3f94bb(0x343)])&&!!(_0x1942d1!=null&&_0x1942d1['reqId']);this[_0x3f94bb(0x287)]=_0x43f136?_0x1942d1[_0x3f94bb(0x343)]:di(),this['_changesetReqId']=_0x43f136?_0x1942d1[_0x3f94bb(0x362)]:0x0;const _0x5dda7f=this[_0x3f94bb(0x2b8)];try{this[_0x3f94bb(0x373)](_0x1942d1,_0x349f53);}catch(_0x121e0b){this[_0x3f94bb(0x1fb)]['error'](_0x121e0b);}const _0x455fe9=this[_0x3f94bb(0x3df)]();if(_0x472e42){const _0x1e1bcd=Dt(this[_0x3f94bb(0x114)],_0x5dda7f,this[_0x3f94bb(0xce)],_0x1942d1,_0x349f53,_0x455fe9);return _0x1e1bcd instanceof exports[_0x3f94bb(0xd0)]?_0x1e1bcd[_0x3f94bb(0x383)]():(_0x1e1bcd instanceof exports[_0x3f94bb(0x2da)]||_0x1e1bcd instanceof exports[_0x3f94bb(0x408)])&&_0x1e1bcd['resend'](),_0x1e1bcd;}return this['_injector'][_0x3f94bb(0x110)](exports[_0x3f94bb(0x24b)],_0x5dda7f,this[_0x3f94bb(0xce)],_0x1942d1,_0x349f53,_0x455fe9);}[_0xd6acc8(0x373)](_0x6afb44,_0x27082b){var _0x3274bd=_0xd6acc8,_0x34691d,_0x5899c7;const _0xa422eb=this['_compressMutationService'][_0x3274bd(0x20d)][_0x3274bd(0xe7)](this[_0x3274bd(0x1e2)][_0x3274bd(0x20d)][_0x3274bd(0x2bf)]()['COMPRESS_MUTATION_APPLY']);(_0x34691d=_0xa422eb((_0x6afb44==null?void 0x0:_0x6afb44[_0x3274bd(0x1cc)])||[],null))==null||_0x34691d[_0x3274bd(0x3c6)](_0x3e7755=>this[_0x3274bd(0x2ce)][_0x3274bd(0x300)](_0x3e7755['id'],_0x3e7755['params'])),(_0x5899c7=_0xa422eb(_0x27082b||[],null))==null||_0x5899c7[_0x3274bd(0x3c6)](_0x24e51f=>this['_commandService'][_0x3274bd(0x300)](_0x24e51f['id'],_0x24e51f['params']));}},exports[_0xd6acc8(0x3e7)]=We([$(0x3,a['Inject'](a[_0xd6acc8(0x1fa)])),$(0x4,a[_0xd6acc8(0x412)](g['CompressMutationService'])),$(0x5,a[_0xd6acc8(0x412)](a['LocaleService'])),$(0x6,a[_0xd6acc8(0x412)](g[_0xd6acc8(0x3a7)])),$(0x7,a['Inject'](te)),$(0x8,a[_0xd6acc8(0xe1)]),$(0x9,a['ICommandService']),$(0xa,a[_0xd6acc8(0x359)]),$(0xb,a[_0xd6acc8(0xfb)](ve)),$(0xc,a[_0xd6acc8(0xfb)](z))],exports[_0xd6acc8(0x3e7)]),exports['DocCollaborationEntity']=class extends exports[_0xd6acc8(0x3e7)]{constructor(_0x44b6d3,_0x4074a8,_0x416d5e,_0x3d6810,_0x29222c,_0xb7ad20,_0x204ed0,_0x31c5dc,_0x3feccf,_0x19748a,_0x2ec276,_0x4c5d06,_0x1d60cd){var _0x50a316=_0xd6acc8;super(_0x44b6d3,_0x416d5e,_0x4074a8,_0x3d6810,_0x29222c,_0xb7ad20,_0x204ed0,_0x31c5dc,_0x3feccf,_0x19748a,_0x2ec276,_0x4c5d06,_0x1d60cd),A(this,_0x50a316(0x379),null),(this[_0x50a316(0x2b8)]=_0x44b6d3,this[_0x50a316(0x38a)]=_0x4074a8);}['addHandlerCallback'](_0x38ab46){var _0x3f3e30=_0xd6acc8;this[_0x3f3e30(0x379)]=_0x38ab46;}[_0xd6acc8(0x1ed)](){var _0x344895=_0xd6acc8;this['_handlerCallback']=null,super[_0x344895(0x1ed)]();}[_0xd6acc8(0x3df)](){var _0x383e04=_0xd6acc8;const _0x38609a=super[_0x383e04(0x3df)]();return _0x38609a[_0x383e04(0x3ac)]=_0x539692=>{var _0x39c28f=_0x383e04,_0x54ffd3,_0xa55949;return(_0xa55949=(_0x54ffd3=this[_0x39c28f(0x379)])==null?void 0x0:_0x54ffd3[_0x39c28f(0x3ac)])==null?void 0x0:_0xa55949[_0x39c28f(0x2ef)](_0x54ffd3,_0x539692);},_0x38609a[_0x383e04(0x10d)]=_0xdf11e1=>{var _0xfb51e9=_0x383e04,_0x1945d5,_0x29cb90;return(_0x29cb90=(_0x1945d5=this[_0xfb51e9(0x379)])==null?void 0x0:_0x1945d5[_0xfb51e9(0x10d)])==null?void 0x0:_0x29cb90[_0xfb51e9(0x2ef)](_0x1945d5,_0xdf11e1);},_0x38609a[_0x383e04(0xb1)]=_0x2dcbb7=>{var _0x19b4dc=_0x383e04,_0x9dbc20,_0x38604d;return(_0x38604d=(_0x9dbc20=this[_0x19b4dc(0x379)])==null?void 0x0:_0x9dbc20[_0x19b4dc(0xb1)])==null?void 0x0:_0x38604d['call'](_0x9dbc20,_0x2dcbb7);},_0x38609a['onSyncEditingCollabCursor']=_0x14193c=>{var _0x37b006=_0x383e04,_0x258ffb,_0xd8f9f4;return(_0xd8f9f4=(_0x258ffb=this['_handlerCallback'])==null?void 0x0:_0x258ffb[_0x37b006(0x397)])==null?void 0x0:_0xd8f9f4[_0x37b006(0x2ef)](_0x258ffb,_0x14193c);},_0x38609a[_0x383e04(0xb9)]=_0x7c5b7c=>{var _0x5e5e9b=_0x383e04,_0x5dda0d,_0x30c70e,_0x44c009;if(!((_0x5dda0d=this[_0x5e5e9b(0x379)])!=null&&_0x5dda0d['onTransformRemoteChangesetByIMECache']))throw new Error(_0x5e5e9b(0x363));return(_0x44c009=(_0x30c70e=this[_0x5e5e9b(0x379)])==null?void 0x0:_0x30c70e[_0x5e5e9b(0xb9)])==null?void 0x0:_0x44c009[_0x5e5e9b(0x2ef)](_0x30c70e,_0x7c5b7c);},_0x38609a[_0x383e04(0x2d6)]=_0x2a2140=>{var _0x45aacc=_0x383e04,_0x3b947c,_0x25bc67,_0x3df967;if(!((_0x3b947c=this['_handlerCallback'])!=null&&_0x3b947c[_0x45aacc(0x2d6)]))throw new Error(_0x45aacc(0x174));return(_0x3df967=(_0x25bc67=this[_0x45aacc(0x379)])==null?void 0x0:_0x25bc67[_0x45aacc(0x2d6)])==null?void 0x0:_0x3df967[_0x45aacc(0x2ef)](_0x25bc67,_0x2a2140);},_0x38609a;}async[_0xd6acc8(0x276)](){var _0x5b00f8=_0xd6acc8;const _0x163ab7=await super[_0x5b00f8(0x276)]();return this[_0x5b00f8(0x378)](this['_commandService'][_0x5b00f8(0x407)]((_0x43d637,_0xb09568)=>{var _0x2ba139=_0x5b00f8;if(_0x43d637[_0x2ba139(0x38a)]!==a[_0x2ba139(0x2cb)][_0x2ba139(0x402)]||_0xb09568!=null&&_0xb09568[_0x2ba139(0x1ab)]||_0xb09568!=null&&_0xb09568[_0x2ba139(0x33c)]||_0x43d637['id']===ut[_0x2ba139(0x2bb)]['id'])return;const _0x380940=_0x43d637[_0x2ba139(0x3da)];if((_0x380940==null?void 0x0:_0x380940[_0x2ba139(0x251)])!==this['unitID'])return;const _0x415f1e=_0x43d637,_0xdc6635=this['_compressMutationService'][_0x2ba139(0x20d)][_0x2ba139(0xe7)](this['_compressMutationService'][_0x2ba139(0x20d)][_0x2ba139(0x2bf)]()['COMPRESS_MUTATION_SEND'])([_0x415f1e],null)||[_0x415f1e];this['_onLocalMutation'](_0xdc6635[0x0]);})),_0x163ab7;}},exports[_0xd6acc8(0x126)]=We([$(0x3,a[_0xd6acc8(0x412)](a[_0xd6acc8(0x1fa)])),$(0x4,a[_0xd6acc8(0x412)](g[_0xd6acc8(0x1d0)])),$(0x5,a[_0xd6acc8(0x412)](a[_0xd6acc8(0x280)])),$(0x6,a['Inject'](g[_0xd6acc8(0x3a7)])),$(0x7,a[_0xd6acc8(0x412)](te)),$(0x8,a[_0xd6acc8(0xe1)]),$(0x9,a[_0xd6acc8(0x151)]),$(0xa,a[_0xd6acc8(0x359)]),$(0xb,a[_0xd6acc8(0xfb)](ve)),$(0xc,a[_0xd6acc8(0xfb)](z))],exports[_0xd6acc8(0x126)]),exports['SheetCollaborationEntity']=class extends exports[_0xd6acc8(0x3e7)]{constructor(_0x272a51,_0x40f368,_0x3c294e,_0x30316c,_0x35360,_0x4206ec,_0x35c7aa,_0xa43543,_0x2b4f9f,_0x581574,_0x9a7eea,_0x250717,_0x1b5329,_0x47a969){var _0x5b5da8=_0xd6acc8;super(_0x272a51,_0x3c294e,_0x40f368,_0x30316c,_0x35360,_0x4206ec,_0x35c7aa,_0x2b4f9f,_0x581574,_0x9a7eea,_0x250717,_0x1b5329,_0x47a969),this[_0x5b5da8(0x2b8)]=_0x272a51,this[_0x5b5da8(0x38a)]=_0x40f368,this[_0x5b5da8(0x189)]=_0xa43543;}[_0xd6acc8(0x3df)](){var _0xdfc26=_0xd6acc8;const _0x35a6ec=super[_0xdfc26(0x3df)]();return _0x35a6ec[_0xdfc26(0xb1)]=_0x53898c=>this[_0xdfc26(0x189)][_0xdfc26(0x401)](_0x53898c),_0x35a6ec;}async[_0xd6acc8(0x276)](){var _0x3bab58=_0xd6acc8;const _0x187009=await super[_0x3bab58(0x276)]();return this['disposeWithMe'](this[_0x3bab58(0x2ce)][_0x3bab58(0x407)]((_0x3ffdc5,_0x134573)=>{var _0x2ab4af=_0x3bab58;if(_0x3ffdc5[_0x2ab4af(0x38a)]!==a[_0x2ab4af(0x2cb)][_0x2ab4af(0x402)]||_0x134573!=null&&_0x134573['fromCollab']||_0x134573!=null&&_0x134573[_0x2ab4af(0x33c)])return;const _0x519414=_0x3ffdc5[_0x2ab4af(0x3da)];if((_0x519414==null?void 0x0:_0x519414[_0x2ab4af(0x251)])!==this[_0x2ab4af(0x2b8)])return;const _0x497a69=_0x3ffdc5,_0x9e6e9a=this['_compressMutationService'][_0x2ab4af(0x20d)][_0x2ab4af(0xe7)](this[_0x2ab4af(0x1e2)][_0x2ab4af(0x20d)]['getInterceptPoints']()[_0x2ab4af(0x2d2)])([_0x497a69],null)||[_0x497a69];this[_0x2ab4af(0xf2)](_0x9e6e9a[0x0]);})),_0x187009;}},exports[_0xd6acc8(0x109)]=We([$(0x3,a[_0xd6acc8(0x412)](a[_0xd6acc8(0x1fa)])),$(0x4,a[_0xd6acc8(0x412)](g[_0xd6acc8(0x1d0)])),$(0x5,a[_0xd6acc8(0x412)](a[_0xd6acc8(0x280)])),$(0x6,a[_0xd6acc8(0x412)](g[_0xd6acc8(0x3a7)])),$(0x7,a[_0xd6acc8(0x412)](exports[_0xd6acc8(0x338)])),$(0x8,a[_0xd6acc8(0x412)](te)),$(0x9,a[_0xd6acc8(0xe1)]),$(0xa,a[_0xd6acc8(0x151)]),$(0xb,a[_0xd6acc8(0x359)]),$(0xc,a[_0xd6acc8(0xfb)](ve)),$(0xd,a[_0xd6acc8(0xfb)](z))],exports[_0xd6acc8(0x109)]);var Ti=Object[_0xd6acc8(0x3b7)],bi=(_0x6d6ee9,_0x266fe2,_0x292c84,_0x5a4aa4)=>{var _0x207d34=_0xd6acc8;for(var _0xb69219=_0x5a4aa4>0x1?void 0x0:_0x5a4aa4?Ti(_0x266fe2,_0x292c84):_0x266fe2,_0x1b3828=_0x6d6ee9[_0x207d34(0x108)]-0x1,_0x4f4b27;_0x1b3828>=0x0;_0x1b3828--)(_0x4f4b27=_0x6d6ee9[_0x1b3828])&&(_0xb69219=_0x4f4b27(_0xb69219)||_0xb69219);return _0xb69219;},Pe=(_0x4c0eb1,_0x2017c9)=>(_0x2b4dc7,_0x3ca8d2)=>_0x2017c9(_0x2b4dc7,_0x3ca8d2,_0x4c0eb1);exports[_0xd6acc8(0x26f)]=class extends a[_0xd6acc8(0x40b)]{constructor(_0x295696,_0x55769c,_0x442eb5){var _0x1f28ba=_0xd6acc8;super(),A(this,_0x1f28ba(0x3de),new Map()),A(this,'_entityInit$',new j['Subject']()),A(this,_0x1f28ba(0x119),this[_0x1f28ba(0xa9)][_0x1f28ba(0x286)]()),(this[_0x1f28ba(0x114)]=_0x295696,this[_0x1f28ba(0x31c)]=_0x55769c,this['_univerInstanceService']=_0x442eb5,this[_0x1f28ba(0x276)]());}[_0xd6acc8(0x1ed)](){var _0x38e909=_0xd6acc8;super['dispose'](),this['_entities'][_0x38e909(0x3c6)](_0x3e7c2f=>_0x3e7c2f[_0x38e909(0x1ed)]()),this['_entities'][_0x38e909(0x33f)]();}['getCollabEntity'](_0x2fc80a){var _0x530fe0=_0xd6acc8,_0x49e24c;return(_0x49e24c=this[_0x530fe0(0x3de)][_0x530fe0(0x2c8)](_0x2fc80a))!=null?_0x49e24c:null;}[_0xd6acc8(0x1cf)](_0x231c15){var _0x514de5=_0xd6acc8;const _0x42eae0=this['getCollabEntity'](_0x231c15);return _0x42eae0?j['of'](_0x42eae0):this[_0x514de5(0xa9)][_0x514de5(0x348)](V[_0x514de5(0x3ec)](_0x3c59b3=>_0x3c59b3['unitID']===_0x231c15));}[_0xd6acc8(0x18c)](_0x27f3ee){var _0x1e7b21=_0xd6acc8;return j[_0x1e7b21(0x266)](this['getCollabEntity$'](_0x27f3ee)[_0x1e7b21(0x348)](V['map'](()=>{})));}[_0xd6acc8(0x276)](){var _0x20b88b=_0xd6acc8;this['_univerInstanceService']['getTypeOfUnitAdded$'](a[_0x20b88b(0x159)]['UNIVER_SHEET'])[_0x20b88b(0x348)](j[_0x20b88b(0x36e)](this['dispose$']),V[_0x20b88b(0xe3)](0x10))[_0x20b88b(0x21b)](async _0x347de4=>{var _0x34c65c=_0x20b88b;const _0x4a4458=_0x347de4[_0x34c65c(0x153)](),_0x2cb9ed=await this[_0x34c65c(0x123)](_0x4a4458,X[_0x34c65c(0x315)]);this[_0x34c65c(0x3de)][_0x34c65c(0x3b3)](_0x4a4458,_0x2cb9ed);}),this['_univerInstanceService'][_0x20b88b(0x232)](a[_0x20b88b(0x159)]['UNIVER_DOC'])[_0x20b88b(0x348)](j[_0x20b88b(0x36e)](this['dispose$']),V[_0x20b88b(0xe3)](0x10))[_0x20b88b(0x348)](V[_0x20b88b(0x3ec)](_0x57f1ed=>!_0x57f1ed[_0x20b88b(0x153)]()[_0x20b88b(0x19f)]('__')))[_0x20b88b(0x21b)](async _0x4b5d9f=>{var _0x222d51=_0x20b88b;const _0x56649f=_0x4b5d9f[_0x222d51(0x153)](),_0x44e2eb=await this[_0x222d51(0x123)](_0x56649f,X[_0x222d51(0x375)]);this[_0x222d51(0x3de)]['set'](_0x56649f,_0x44e2eb);}),j['merge'](this[_0x20b88b(0x14a)][_0x20b88b(0xbc)](a[_0x20b88b(0x159)][_0x20b88b(0x315)]),this[_0x20b88b(0x14a)][_0x20b88b(0xbc)](a['UniverInstanceType']['UNIVER_DOC']))['pipe'](j[_0x20b88b(0x36e)](this['dispose$']))[_0x20b88b(0x21b)](_0x28b25e=>{var _0x17ee02=_0x20b88b;const _0x17c7cf=_0x28b25e[_0x17ee02(0x153)](),_0x2488f6=this[_0x17ee02(0x3de)][_0x17ee02(0x2c8)](_0x17c7cf);_0x2488f6&&(_0x2488f6[_0x17ee02(0x1ed)](),this[_0x17ee02(0x3de)]['delete'](_0x17c7cf));});}async[_0xd6acc8(0x123)](_0x8d9109,_0x5e435f){var _0x1c879a=_0xd6acc8;const _0x23d0d7=await this['_collabSessionService'][_0x1c879a(0xb2)](_0x8d9109),_0x2c6c9a=this['_injector'][_0x1c879a(0x110)](this[_0x1c879a(0x177)](_0x5e435f),_0x8d9109,_0x5e435f,_0x23d0d7);return await _0x2c6c9a[_0x1c879a(0x253)](),this[_0x1c879a(0xa9)][_0x1c879a(0x143)](_0x2c6c9a),_0x2c6c9a;}[_0xd6acc8(0x177)](_0x438b20){var _0x16ff8e=_0xd6acc8;switch(_0x438b20){case X['UNIVER_DOC']:return exports[_0x16ff8e(0x126)];case X[_0x16ff8e(0x315)]:return exports['SheetCollaborationEntity'];default:throw new Error(_0x16ff8e(0x317)+_0x438b20);}}},exports[_0xd6acc8(0x26f)]=bi([Pe(0x0,a['Inject'](a['Injector'])),Pe(0x1,a[_0xd6acc8(0x412)](exports[_0xd6acc8(0xc5)])),Pe(0x2,a['IUniverInstanceService'])],exports[_0xd6acc8(0x26f)]);var Ri=Object[_0xd6acc8(0x3b7)],Oi=(_0xbf0435,_0x4d609d,_0x4ef11c,_0x5ef0e1)=>{var _0x50338c=_0xd6acc8;for(var _0x40e34c=_0x5ef0e1>0x1?void 0x0:_0x5ef0e1?Ri(_0x4d609d,_0x4ef11c):_0x4d609d,_0x4b10a2=_0xbf0435[_0x50338c(0x108)]-0x1,_0x36e5c2;_0x4b10a2>=0x0;_0x4b10a2--)(_0x36e5c2=_0xbf0435[_0x4b10a2])&&(_0x40e34c=_0x36e5c2(_0x40e34c)||_0x40e34c);return _0x40e34c;},Je=(_0x405995,_0x334065)=>(_0x441d47,_0x5b94d9)=>_0x334065(_0x441d47,_0x5b94d9,_0x405995);const yi=_0xd6acc8(0x1f1),Ni='Univer';let He=class extends a[_0xd6acc8(0x337)]{constructor(_0x3e73f2,_0x44b7b5){var _0x35b0b0=_0xd6acc8;super(),this['_univerInstanceService']=_0x3e73f2,this[_0x35b0b0(0x239)]=_0x44b7b5,this[_0x35b0b0(0x276)]();}['_init'](){var _0x23c0cd=_0xd6acc8;this[_0x23c0cd(0x378)](this[_0x23c0cd(0x14a)][_0x23c0cd(0x384)]['subscribe'](()=>{var _0xe3566a=_0x23c0cd,_0x2c2d32;const _0x2248d8=this['_univerInstanceService'][_0xe3566a(0x2e5)]();let _0x18ec88=(_0x2c2d32=this[_0xe3566a(0x239)]['getConfig'](yi))!=null?_0x2c2d32:Ni;_0x2248d8 instanceof a[_0xe3566a(0x356)]&&(_0x18ec88=_0x2248d8[_0xe3566a(0xc6)]),document[_0xe3566a(0x1bc)]=_0x18ec88;}));}};He=Oi([Je(0x0,a[_0xd6acc8(0xd8)]),Je(0x1,a['IConfigService'])],He);var Di=Object[_0xd6acc8(0x3b7)],Ui=(_0x418ee6,_0x3859b,_0x2ee9fb,_0x36bcd9)=>{for(var _0x33c1dc=_0x36bcd9>0x1?void 0x0:_0x36bcd9?Di(_0x3859b,_0x2ee9fb):_0x3859b,_0x15dda7=_0x418ee6['length']-0x1,_0x4b527e;_0x15dda7>=0x0;_0x15dda7--)(_0x4b527e=_0x418ee6[_0x15dda7])&&(_0x33c1dc=_0x4b527e(_0x33c1dc)||_0x33c1dc);return _0x33c1dc;},we=(_0x2734ee,_0x9b48de)=>(_0x4bc41e,_0x5458e7)=>_0x9b48de(_0x4bc41e,_0x5458e7,_0x2734ee);let ye=class{constructor(_0x30a983,_0xcd8136,_0x1a2439){var _0x706f12=_0xd6acc8;this[_0x706f12(0x239)]=_0x30a983,this[_0x706f12(0x3b5)]=_0xcd8136,this[_0x706f12(0x24f)]=_0x1a2439,this[_0x706f12(0x253)]();}[_0xd6acc8(0x253)](){var _0x3e19fa=_0xd6acc8;this['_httpService']['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x92a7c9,_0x144e97)=>_0x144e97(_0x92a7c9)[_0x3e19fa(0x348)](j[_0x3e19fa(0x28f)](async _0x92f746=>{var _0x2a38f0=_0x3e19fa;const _0x2806a2=_0x92f746;if(_0x2806a2[_0x2a38f0(0x263)]===0x191){if(typeof window>'u')throw new Error(_0x2a38f0(0x1c2));if(window[_0x2a38f0(0x377)](this['localeService']['t'](_0x2a38f0(0x35b)))){const _0x44a505=window[_0x2a38f0(0x34d)](window[_0x2a38f0(0x25d)][_0x2a38f0(0x20a)]);window[_0x2a38f0(0x25d)]['href']=this['_getLoginPath']()+_0x2a38f0(0x22b)+_0x44a505;}}return _0x2806a2;}))});}['_getLoginPath'](){var _0xcf3ad0=_0xd6acc8,_0x41c7ac,_0x1bf4d8;const _0x4bac28=this['_configService'][_0xcf3ad0(0xc8)](Et),_0x2850b4=this[_0xcf3ad0(0x239)][_0xcf3ad0(0xc8)](Y);return(_0x1bf4d8=(_0x41c7ac=_0x2850b4==null?void 0x0:_0x2850b4['loginUrlKey'])!=null?_0x41c7ac:_0x4bac28)!=null?_0x1bf4d8:Yt;}};ye=Ui([we(0x0,a[_0xd6acc8(0x105)]),we(0x1,a[_0xd6acc8(0x412)](q[_0xd6acc8(0x2e4)])),we(0x2,a[_0xd6acc8(0x412)](a[_0xd6acc8(0x280)]))],ye);var Ai=Object['getOwnPropertyDescriptor'],Pi=(_0x12fa3f,_0x1d8422,_0x401f0c,_0x1a37b1)=>{var _0x5a53c3=_0xd6acc8;for(var _0x4774b4=_0x1a37b1>0x1?void 0x0:_0x1a37b1?Ai(_0x1d8422,_0x401f0c):_0x1d8422,_0x2438aa=_0x12fa3f[_0x5a53c3(0x108)]-0x1,_0x4203e4;_0x2438aa>=0x0;_0x2438aa--)(_0x4203e4=_0x12fa3f[_0x2438aa])&&(_0x4774b4=_0x4203e4(_0x4774b4)||_0x4774b4);return _0x4774b4;},Xe=(_0x4ffde0,_0x398140)=>(_0x17139f,_0x2d927b)=>_0x398140(_0x17139f,_0x2d927b,_0x4ffde0);const Ge=_0xd6acc8(0x21d),wi=_0xd6acc8(0x273);exports['AuthzIoHttpService']=class extends a[_0xd6acc8(0x337)]{constructor(_0x3f628a,_0x1dee84){var _0x534323=_0xd6acc8;super(),this[_0x534323(0x19e)]=_0x3f628a,this[_0x534323(0x239)]=_0x1dee84,this['_initMergeInterceptor']();}[_0xd6acc8(0x281)](){var _0x4e1f01=_0xd6acc8;const _0x25e9da=this;this[_0x4e1f01(0x378)](this[_0x4e1f01(0x19e)][_0x4e1f01(0x3f3)]({'priority':0x3e7,'interceptor':q[_0x4e1f01(0x248)]({'isMatch'(_0x27f4cf){var _0x314477=_0x4e1f01,_0x1a867f;if(_0x27f4cf[_0x314477(0x292)]==='POST'&&((_0x1a867f=_0x27f4cf[_0x314477(0x25e)])!=null&&_0x1a867f['body'])){const {objectID:_0x5dae8a,objectType:_0x52a770}=_0x27f4cf['requestParams'][_0x314477(0x32a)]||{};if(!_0x5dae8a||_0x52a770===void 0x0)return!0x1;const _0x144c2c=_0x25e9da[_0x314477(0x12c)]()+'/'+_0x52a770+'/object/'+_0x5dae8a+'/allowed';if(_0x27f4cf['url']===_0x144c2c)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x35b4b8){var _0x93b819=_0x4e1f01,_0x17346e;return(_0x17346e=_0x35b4b8['requestParams'])==null?void 0x0:_0x17346e[_0x93b819(0x32a)];},'mergeParamsToRequest'(_0x3a2005,_0x345a33){var _0x4b0fa4=_0x4e1f01;const _0x2158ba=_0x25e9da[_0x4b0fa4(0x12c)]()+_0x4b0fa4(0x39c),_0x18e680=_0x3a2005[_0x4b0fa4(0x2eb)]((_0x532f0e,_0x5335fa)=>{var _0x8e59f6=_0x4b0fa4;const {unitID:_0xe682d,objectID:_0x3e0d11,objectType:_0x3aec70,actions:_0x23ed58}=_0x5335fa;return _0x532f0e[_0xe682d]||(_0x532f0e[_0xe682d]={}),_0x532f0e[_0xe682d][_0x3e0d11]||(_0x532f0e[_0xe682d][_0x3e0d11]={'objectID':_0x3e0d11,'objectType':_0x3aec70,'actions':[]}),_0x532f0e[_0xe682d][_0x3e0d11][_0x8e59f6(0xee)][_0x8e59f6(0x32f)](..._0x23ed58),_0x532f0e;},{}),_0x27b5e2=[];for(const _0x562749 in _0x18e680)for(const _0x5f2f45 in _0x18e680[_0x562749]){const {actions:_0x355e0e,objectType:_0x117dfe}=_0x18e680[_0x562749][_0x5f2f45],_0x4577bb=[...new Set(_0x355e0e)];_0x27b5e2[_0x4b0fa4(0x32f)]({'unitID':_0x562749,'objectID':_0x5f2f45,'objectType':_0x117dfe,'actions':_0x4577bb});}return new q[(_0x4b0fa4(0x178))](_0x4b0fa4(0x2c2),_0x2158ba,{'headers':_0x345a33[_0x4b0fa4(0x386)],'withCredentials':_0x345a33['withCredentials'],'responseType':_0x345a33[_0x4b0fa4(0x258)],'body':{'requests':_0x27b5e2}});}},{'distributeResult'(_0x32e4d4,_0x424078){var _0x425dd1=_0x4e1f01;const {objectActions:_0xa33801}=_0x32e4d4;return _0x424078[_0x425dd1(0x36f)](_0x5915a6=>{var _0x54c3a3=_0x425dd1;const {unitID:_0x3caa65,objectID:_0x171e1c,actions:_0x322c7f}=_0x5915a6,_0x53b046=_0xa33801[_0x54c3a3(0x1a6)](_0x12cb86=>_0x12cb86['unitID']===_0x3caa65&&_0x12cb86[_0x54c3a3(0x10a)]===_0x171e1c),_0x4afcc4=_0x322c7f[_0x54c3a3(0x36f)](_0x39a0ec=>_0x53b046==null?void 0x0:_0x53b046[_0x54c3a3(0xee)][_0x54c3a3(0x1a6)](_0x49453b=>_0x49453b[_0x54c3a3(0x1ca)]===_0x39a0ec))[_0x54c3a3(0x3ec)](_0x1d23c1=>!!_0x1d23c1);return{'config':_0x5915a6,'result':{'actions':_0x4afcc4,'error':_0x32e4d4[_0x54c3a3(0xf9)]}};});}})}));}[_0xd6acc8(0x12c)](){var _0x6073c3=_0xd6acc8,_0x3670f4,_0x59896e;const _0x35b476=this['_configService'][_0x6073c3(0xc8)](Ge),_0x22f589=this[_0x6073c3(0x239)][_0x6073c3(0xc8)](Y);return(_0x59896e=(_0x3670f4=_0x22f589==null?void 0x0:_0x22f589[_0x6073c3(0x231)])!=null?_0x3670f4:_0x35b476)!=null?_0x59896e:wi;}async[_0xd6acc8(0x38f)](_0x190c3c){var _0x21d507=_0xd6acc8;const _0x3d5a5c=this['_getAPIPrefixPath']()+'/'+_0x190c3c[_0x21d507(0x30d)]+_0x21d507(0x293);return(await this[_0x21d507(0x19e)]['post'](_0x3d5a5c,{'body':_0x190c3c}))[_0x21d507(0x32a)][_0x21d507(0x10a)]||'';}async[_0xd6acc8(0x3a0)](_0x370bbd){var _0x5e035e=_0xd6acc8;const _0x4a142f=this[_0x5e035e(0x12c)]()+'/-/object/list';return(await this[_0x5e035e(0x19e)][_0x5e035e(0xb7)](_0x4a142f,{'body':_0x370bbd}))[_0x5e035e(0x32a)]['objects'];}async['update'](_0x1b3660){var _0x50056b=_0xd6acc8,_0x4b30e3,_0x3bae49;const _0x2925b1=this[_0x50056b(0x12c)]()+'/'+_0x1b3660[_0x50056b(0x30d)]+_0x50056b(0xf5)+_0x1b3660['objectID'],_0x150d1b=await this[_0x50056b(0x19e)]['put'](_0x2925b1,{'body':_0x1b3660});if(((_0x3bae49=(_0x4b30e3=_0x150d1b==null?void 0x0:_0x150d1b[_0x50056b(0x32a)])==null?void 0x0:_0x4b30e3['error'])==null?void 0x0:_0x3bae49[_0x50056b(0x1ee)])!==0x1)throw new Error(_0x50056b(0x256));}async[_0xd6acc8(0x202)](_0x24f9b2){var _0x265c0a=_0xd6acc8;const _0x353094=this[_0x265c0a(0x12c)]()+'/'+_0x24f9b2[_0x265c0a(0x30d)]+_0x265c0a(0xf5)+_0x24f9b2[_0x265c0a(0x10a)]+_0x265c0a(0x3e0);return(await this[_0x265c0a(0x19e)][_0x265c0a(0xb7)](_0x353094,{'body':_0x24f9b2}))[_0x265c0a(0x32a)][_0x265c0a(0xee)];}async[_0xd6acc8(0x161)](_0x198fa6){var _0x525edc=_0xd6acc8;const _0x565add=this['_getAPIPrefixPath']()+_0x525edc(0x39c);return(await this[_0x525edc(0x19e)][_0x525edc(0xb7)](_0x565add,{'body':{'requests':_0x198fa6}}))['body']['objectActions'];}async[_0xd6acc8(0x3d5)](_0x2e696f){var _0x1fa8ba=_0xd6acc8;const _0x52f9c6=this[_0x1fa8ba(0x12c)]()+'/'+_0x2e696f[_0x1fa8ba(0x30d)]+_0x1fa8ba(0x335),_0x358cff=await this[_0x1fa8ba(0x19e)]['post'](_0x52f9c6,{'body':_0x2e696f});return{'roles':_0x358cff[_0x1fa8ba(0x32a)]['roles'],'actions':_0x358cff['body']['actions']};}async[_0xd6acc8(0x400)](_0x175076){var _0x53de3a=_0xd6acc8;const _0x4cf121=this[_0x53de3a(0x12c)]()+_0x53de3a(0x214);await this['_HTTPService'][_0x53de3a(0x308)](_0x4cf121,{'params':{'collaboratorID':_0x175076['collaboratorID'],'objectID':_0x175076['objectID'],'unitID':_0x175076[_0x53de3a(0x2b8)]}});}async['updateCollaborator'](_0x4f8b8c){var _0xc56a82=_0xd6acc8;const _0x46bd38=this[_0xc56a82(0x12c)]()+_0xc56a82(0x214);await this[_0xc56a82(0x19e)][_0xc56a82(0x2e0)](_0x46bd38,{'body':_0x4f8b8c});}async[_0xd6acc8(0x3ca)](_0x70558f){var _0x1520fb=_0xd6acc8;const _0x16f537=this[_0x1520fb(0x12c)]()+_0x1520fb(0x214);await this[_0x1520fb(0x19e)][_0x1520fb(0xb7)](_0x16f537,{'body':_0x70558f});}async[_0xd6acc8(0x351)](_0x34d68d){var _0x403fb0=_0xd6acc8;const _0x3e17df=this[_0x403fb0(0x12c)]()+_0x403fb0(0x214);return(await this[_0x403fb0(0x19e)][_0x403fb0(0x2c8)](_0x3e17df,{'params':{'objectID':_0x34d68d[_0x403fb0(0x10a)],'unitID':_0x34d68d[_0x403fb0(0x2b8)]}}))[_0x403fb0(0x32a)][_0x403fb0(0x283)];}async[_0xd6acc8(0x2c1)](_0x3397de){var _0x77898b=_0xd6acc8;const _0x18325b=this[_0x77898b(0x12c)]()+_0x77898b(0x214);await this[_0x77898b(0x19e)][_0x77898b(0x3aa)](_0x18325b,{'body':_0x3397de});}},exports[_0xd6acc8(0xae)]=Pi([Xe(0x0,a[_0xd6acc8(0x412)](q[_0xd6acc8(0x2e4)])),Xe(0x1,a['Inject'](a[_0xd6acc8(0x105)]))],exports[_0xd6acc8(0xae)]);var Le=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function Se(_0x28ad0e){var _0x5e33d8=_0xd6acc8;return _0x28ad0e&&_0x28ad0e[_0x5e33d8(0x215)]&&Object[_0x5e33d8(0x2d8)][_0x5e33d8(0x1c0)][_0x5e33d8(0x2ef)](_0x28ad0e,_0x5e33d8(0x1ba))?_0x28ad0e['default']:_0x28ad0e;}var fe={'exports':{}};function Li(_0x4f3d7e){var _0x146f88=_0xd6acc8;throw new Error(_0x146f88(0xef)+_0x4f3d7e+_0x146f88(0x2ff));}var pe={'exports':{}},Mi=pe[_0xd6acc8(0x230)],Ze;function ee(){var _0x2ae794=_0xd6acc8;return Ze||(Ze=0x1,function(_0x2bbddd,_0x10e47a){(function(_0x5184cd,_0x43c08f){_0x2bbddd['exports']=_0x43c08f();}(Mi,function(){var _0xf5e7d5=_0xf5e7d5||function(_0x341ce4,_0x5d251d){var _0x444fe4=_0x2bce,_0x5f3baa;if(typeof window<'u'&&window[_0x444fe4(0x2c0)]&&(_0x5f3baa=window[_0x444fe4(0x2c0)]),typeof self<'u'&&self['crypto']&&(_0x5f3baa=self[_0x444fe4(0x2c0)]),typeof globalThis<'u'&&globalThis[_0x444fe4(0x2c0)]&&(_0x5f3baa=globalThis[_0x444fe4(0x2c0)]),!_0x5f3baa&&typeof window<'u'&&window[_0x444fe4(0xda)]&&(_0x5f3baa=window[_0x444fe4(0xda)]),!_0x5f3baa&&typeof Le<'u'&&Le['crypto']&&(_0x5f3baa=Le['crypto']),!_0x5f3baa&&typeof Li==_0x444fe4(0x2ca))try{_0x5f3baa=require(_0x444fe4(0x2c0));}catch{}var _0x1001c1=function(){var _0x2c0ad5=_0x444fe4;if(_0x5f3baa){if(typeof _0x5f3baa[_0x2c0ad5(0x24e)]==_0x2c0ad5(0x2ca))try{return _0x5f3baa['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x5f3baa[_0x2c0ad5(0x306)]==_0x2c0ad5(0x2ca))try{return _0x5f3baa['randomBytes'](0x4)['readInt32LE']();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x81cfdc=Object[_0x444fe4(0x38f)]||(function(){function _0x2c6116(){}return function(_0xa93328){var _0x299406=_0x2bce,_0x24f8a5;return _0x2c6116[_0x299406(0x2d8)]=_0xa93328,_0x24f8a5=new _0x2c6116(),_0x2c6116[_0x299406(0x2d8)]=null,_0x24f8a5;};}()),_0x554ef6={},_0x200e39=_0x554ef6[_0x444fe4(0x341)]={},_0x3cad9f=_0x200e39['Base']=(function(){return{'extend':function(_0xe0fd7e){var _0x50dfce=_0x2bce,_0x4bf2e=_0x81cfdc(this);return _0xe0fd7e&&_0x4bf2e['mixIn'](_0xe0fd7e),(!_0x4bf2e[_0x50dfce(0x1c0)](_0x50dfce(0x253))||this['init']===_0x4bf2e[_0x50dfce(0x253)])&&(_0x4bf2e['init']=function(){var _0x397340=_0x50dfce;_0x4bf2e[_0x397340(0x296)]['init']['apply'](this,arguments);}),_0x4bf2e['init'][_0x50dfce(0x2d8)]=_0x4bf2e,_0x4bf2e[_0x50dfce(0x296)]=this,_0x4bf2e;},'create':function(){var _0x195ad1=_0x2bce,_0x419c25=this[_0x195ad1(0x369)]();return _0x419c25[_0x195ad1(0x253)]['apply'](_0x419c25,arguments),_0x419c25;},'init':function(){},'mixIn':function(_0x56a402){var _0x443983=_0x2bce;for(var _0x5b256d in _0x56a402)_0x56a402[_0x443983(0x1c0)](_0x5b256d)&&(this[_0x5b256d]=_0x56a402[_0x5b256d]);_0x56a402[_0x443983(0x1c0)](_0x443983(0x1b2))&&(this[_0x443983(0x1b2)]=_0x56a402['toString']);},'clone':function(){var _0x48eac3=_0x2bce;return this['init'][_0x48eac3(0x2d8)][_0x48eac3(0x369)](this);}};}()),_0x3dcb3b=_0x200e39[_0x444fe4(0x23a)]=_0x3cad9f[_0x444fe4(0x369)]({'init':function(_0x578b31,_0xec3a7d){var _0x3ec9d9=_0x444fe4;_0x578b31=this[_0x3ec9d9(0x370)]=_0x578b31||[],_0xec3a7d!=_0x5d251d?this[_0x3ec9d9(0x3ae)]=_0xec3a7d:this['sigBytes']=_0x578b31[_0x3ec9d9(0x108)]*0x4;},'toString':function(_0x3d8af0){var _0x384cf7=_0x444fe4;return(_0x3d8af0||_0x1de9f2)[_0x384cf7(0xa4)](this);},'concat':function(_0x26db39){var _0xdce4c7=_0x444fe4,_0x3d6901=this[_0xdce4c7(0x370)],_0x593ea2=_0x26db39[_0xdce4c7(0x370)],_0x54f826=this[_0xdce4c7(0x3ae)],_0x5924be=_0x26db39[_0xdce4c7(0x3ae)];if(this['clamp'](),_0x54f826%0x4)for(var _0x4082b6=0x0;_0x4082b6<_0x5924be;_0x4082b6++){var _0x30fbe8=_0x593ea2[_0x4082b6>>>0x2]>>>0x18-_0x4082b6%0x4*0x8&0xff;_0x3d6901[_0x54f826+_0x4082b6>>>0x2]|=_0x30fbe8<<0x18-(_0x54f826+_0x4082b6)%0x4*0x8;}else{for(var _0x5c1640=0x0;_0x5c1640<_0x5924be;_0x5c1640+=0x4)_0x3d6901[_0x54f826+_0x5c1640>>>0x2]=_0x593ea2[_0x5c1640>>>0x2];}return this[_0xdce4c7(0x3ae)]+=_0x5924be,this;},'clamp':function(){var _0x14eb5f=_0x444fe4,_0x1e3ed2=this[_0x14eb5f(0x370)],_0x90182f=this[_0x14eb5f(0x3ae)];_0x1e3ed2[_0x90182f>>>0x2]&=0xffffffff<<0x20-_0x90182f%0x4*0x8,_0x1e3ed2[_0x14eb5f(0x108)]=_0x341ce4['ceil'](_0x90182f/0x4);},'clone':function(){var _0x40f521=_0x444fe4,_0x1a2372=_0x3cad9f[_0x40f521(0xa7)][_0x40f521(0x2ef)](this);return _0x1a2372['words']=this[_0x40f521(0x370)][_0x40f521(0x284)](0x0),_0x1a2372;},'random':function(_0x49d616){var _0x1c5594=_0x444fe4;for(var _0x5bf994=[],_0x428f9e=0x0;_0x428f9e<_0x49d616;_0x428f9e+=0x4)_0x5bf994['push'](_0x1001c1());return new _0x3dcb3b[(_0x1c5594(0x253))](_0x5bf994,_0x49d616);}}),_0x55778a=_0x554ef6[_0x444fe4(0x244)]={},_0x1de9f2=_0x55778a[_0x444fe4(0x39f)]={'stringify':function(_0x4fe976){var _0x4402b2=_0x444fe4;for(var _0x186a6c=_0x4fe976[_0x4402b2(0x370)],_0x47701b=_0x4fe976[_0x4402b2(0x3ae)],_0x3db462=[],_0x47a34e=0x0;_0x47a34e<_0x47701b;_0x47a34e++){var _0x530d1f=_0x186a6c[_0x47a34e>>>0x2]>>>0x18-_0x47a34e%0x4*0x8&0xff;_0x3db462[_0x4402b2(0x32f)]((_0x530d1f>>>0x4)[_0x4402b2(0x1b2)](0x10)),_0x3db462['push']((_0x530d1f&0xf)[_0x4402b2(0x1b2)](0x10));}return _0x3db462[_0x4402b2(0x1c6)]('');},'parse':function(_0x113254){var _0x19aa67=_0x444fe4;for(var _0x29bf9e=_0x113254[_0x19aa67(0x108)],_0x206508=[],_0x10f3f8=0x0;_0x10f3f8<_0x29bf9e;_0x10f3f8+=0x2)_0x206508[_0x10f3f8>>>0x3]|=parseInt(_0x113254[_0x19aa67(0xd5)](_0x10f3f8,0x2),0x10)<<0x18-_0x10f3f8%0x8*0x4;return new _0x3dcb3b['init'](_0x206508,_0x29bf9e/0x2);}},_0x4c9814=_0x55778a[_0x444fe4(0x10c)]={'stringify':function(_0x56907e){var _0x340d11=_0x444fe4;for(var _0x5e7363=_0x56907e[_0x340d11(0x370)],_0xd87879=_0x56907e[_0x340d11(0x3ae)],_0x40f1a8=[],_0x38f68a=0x0;_0x38f68a<_0xd87879;_0x38f68a++){var _0x5b04a2=_0x5e7363[_0x38f68a>>>0x2]>>>0x18-_0x38f68a%0x4*0x8&0xff;_0x40f1a8[_0x340d11(0x32f)](String['fromCharCode'](_0x5b04a2));}return _0x40f1a8[_0x340d11(0x1c6)]('');},'parse':function(_0x1a3081){var _0xb24f78=_0x444fe4;for(var _0x32cf89=_0x1a3081[_0xb24f78(0x108)],_0x1f5b35=[],_0x2166c9=0x0;_0x2166c9<_0x32cf89;_0x2166c9++)_0x1f5b35[_0x2166c9>>>0x2]|=(_0x1a3081[_0xb24f78(0x127)](_0x2166c9)&0xff)<<0x18-_0x2166c9%0x4*0x8;return new _0x3dcb3b[(_0xb24f78(0x253))](_0x1f5b35,_0x32cf89);}},_0x435f42=_0x55778a[_0x444fe4(0x28b)]={'stringify':function(_0x42a573){var _0x3c1c2d=_0x444fe4;try{return decodeURIComponent(escape(_0x4c9814[_0x3c1c2d(0xa4)](_0x42a573)));}catch{throw new Error(_0x3c1c2d(0x168));}},'parse':function(_0x17e93f){var _0x5c0e22=_0x444fe4;return _0x4c9814[_0x5c0e22(0x36d)](unescape(encodeURIComponent(_0x17e93f)));}},_0x476a58=_0x200e39[_0x444fe4(0x10b)]=_0x3cad9f['extend']({'reset':function(){var _0x33c337=_0x444fe4;this['_data']=new _0x3dcb3b[(_0x33c337(0x253))](),this[_0x33c337(0x389)]=0x0;},'_append':function(_0x1d1a00){var _0x17c9fd=_0x444fe4;typeof _0x1d1a00=='string'&&(_0x1d1a00=_0x435f42[_0x17c9fd(0x36d)](_0x1d1a00)),this['_data'][_0x17c9fd(0x30a)](_0x1d1a00),this[_0x17c9fd(0x389)]+=_0x1d1a00[_0x17c9fd(0x3ae)];},'_process':function(_0x4e04cb){var _0x4fa813=_0x444fe4,_0x5e9450,_0xd7989c=this[_0x4fa813(0x1f4)],_0x4f0b35=_0xd7989c[_0x4fa813(0x370)],_0x2653ca=_0xd7989c[_0x4fa813(0x3ae)],_0x3567f7=this['blockSize'],_0x436a1a=_0x3567f7*0x4,_0x1aa719=_0x2653ca/_0x436a1a;_0x4e04cb?_0x1aa719=_0x341ce4[_0x4fa813(0x29d)](_0x1aa719):_0x1aa719=_0x341ce4['max']((_0x1aa719|0x0)-this[_0x4fa813(0x3c4)],0x0);var _0x479833=_0x1aa719*_0x3567f7,_0x2c7d09=_0x341ce4[_0x4fa813(0xb8)](_0x479833*0x4,_0x2653ca);if(_0x479833){for(var _0x2ae607=0x0;_0x2ae607<_0x479833;_0x2ae607+=_0x3567f7)this[_0x4fa813(0x3f8)](_0x4f0b35,_0x2ae607);_0x5e9450=_0x4f0b35[_0x4fa813(0x1d3)](0x0,_0x479833),_0xd7989c['sigBytes']-=_0x2c7d09;}return new _0x3dcb3b['init'](_0x5e9450,_0x2c7d09);},'clone':function(){var _0x11dbd8=_0x444fe4,_0x541d46=_0x3cad9f[_0x11dbd8(0xa7)][_0x11dbd8(0x2ef)](this);return _0x541d46[_0x11dbd8(0x1f4)]=this['_data'][_0x11dbd8(0xa7)](),_0x541d46;},'_minBufferSize':0x0});_0x200e39[_0x444fe4(0x254)]=_0x476a58['extend']({'cfg':_0x3cad9f[_0x444fe4(0x369)](),'init':function(_0x390d61){var _0x2ffaef=_0x444fe4;this[_0x2ffaef(0x12e)]=this[_0x2ffaef(0x12e)]['extend'](_0x390d61),this[_0x2ffaef(0x336)]();},'reset':function(){var _0x2fc8bc=_0x444fe4;_0x476a58[_0x2fc8bc(0x336)][_0x2fc8bc(0x2ef)](this),this[_0x2fc8bc(0x217)]();},'update':function(_0x3f1f7d){var _0x3ec1da=_0x444fe4;return this[_0x3ec1da(0x125)](_0x3f1f7d),this['_process'](),this;},'finalize':function(_0x4311ed){var _0x5779b9=_0x444fe4;_0x4311ed&&this[_0x5779b9(0x125)](_0x4311ed);var _0x21ced2=this[_0x5779b9(0x1d7)]();return _0x21ced2;},'blockSize':0x10,'_createHelper':function(_0x3b7cb9){return function(_0x33362b,_0x4bf948){var _0x2e0049=_0x2bce;return new _0x3b7cb9[(_0x2e0049(0x253))](_0x4bf948)[_0x2e0049(0x393)](_0x33362b);};},'_createHmacHelper':function(_0x3e2d0b){return function(_0x3617cd,_0x24c2db){var _0x164e9f=_0x2bce;return new _0x2125e4[(_0x164e9f(0x2b0))]['init'](_0x3e2d0b,_0x24c2db)[_0x164e9f(0x393)](_0x3617cd);};}});var _0x2125e4=_0x554ef6[_0x444fe4(0x358)]={};return _0x554ef6;}(Math);return _0xf5e7d5;}));}(pe)),pe[_0x2ae794(0x230)];}var ge={'exports':{}},xi=ge[_0xd6acc8(0x230)],Qe;function Ut(){var _0x22379e=_0xd6acc8;return Qe||(Qe=0x1,function(_0x3bc4d9,_0x32d71e){(function(_0x3661f1,_0x3ddf9e){_0x3bc4d9['exports']=_0x3ddf9e(ee());}(xi,function(_0x1f85ac){var _0x316410=_0x2bce;return(function(){var _0x356cff=_0x2bce,_0x43bf75=_0x1f85ac,_0x5ab859=_0x43bf75[_0x356cff(0x341)],_0x172cb2=_0x5ab859['WordArray'],_0x19e2d4=_0x43bf75[_0x356cff(0x244)];_0x19e2d4[_0x356cff(0x1c5)]={'stringify':function(_0xadc94f){var _0x1672b9=_0x356cff,_0x24badb=_0xadc94f['words'],_0x5aad82=_0xadc94f[_0x1672b9(0x3ae)],_0x39ea16=this['_map'];_0xadc94f[_0x1672b9(0x380)]();for(var _0x200584=[],_0x5db7ce=0x0;_0x5db7ce<_0x5aad82;_0x5db7ce+=0x3)for(var _0x4b8e70=_0x24badb[_0x5db7ce>>>0x2]>>>0x18-_0x5db7ce%0x4*0x8&0xff,_0x108fb6=_0x24badb[_0x5db7ce+0x1>>>0x2]>>>0x18-(_0x5db7ce+0x1)%0x4*0x8&0xff,_0x54e3b0=_0x24badb[_0x5db7ce+0x2>>>0x2]>>>0x18-(_0x5db7ce+0x2)%0x4*0x8&0xff,_0x27db40=_0x4b8e70<<0x10|_0x108fb6<<0x8|_0x54e3b0,_0x1685d1=0x0;_0x1685d1<0x4&&_0x5db7ce+_0x1685d1*0.75<_0x5aad82;_0x1685d1++)_0x200584[_0x1672b9(0x32f)](_0x39ea16[_0x1672b9(0xa6)](_0x27db40>>>0x6*(0x3-_0x1685d1)&0x3f));var _0x3a7e6d=_0x39ea16['charAt'](0x40);if(_0x3a7e6d){for(;_0x200584[_0x1672b9(0x108)]%0x4;)_0x200584[_0x1672b9(0x32f)](_0x3a7e6d);}return _0x200584[_0x1672b9(0x1c6)]('');},'parse':function(_0x2a6040){var _0x43e021=_0x356cff,_0xea1b3f=_0x2a6040['length'],_0x234823=this[_0x43e021(0x148)],_0x412674=this['_reverseMap'];if(!_0x412674){_0x412674=this[_0x43e021(0x3b2)]=[];for(var _0xffef16=0x0;_0xffef16<_0x234823['length'];_0xffef16++)_0x412674[_0x234823['charCodeAt'](_0xffef16)]=_0xffef16;}var _0x16c6fc=_0x234823[_0x43e021(0xa6)](0x40);if(_0x16c6fc){var _0x42649a=_0x2a6040[_0x43e021(0x3f2)](_0x16c6fc);_0x42649a!==-0x1&&(_0xea1b3f=_0x42649a);}return _0x53db8b(_0x2a6040,_0xea1b3f,_0x412674);},'_map':_0x356cff(0x3fa)};function _0x53db8b(_0x1849ab,_0x19579a,_0x12705e){var _0x3195f8=_0x356cff;for(var _0x4ceadb=[],_0x15b0b5=0x0,_0x154bcf=0x0;_0x154bcf<_0x19579a;_0x154bcf++)if(_0x154bcf%0x4){var _0x47a47c=_0x12705e[_0x1849ab[_0x3195f8(0x127)](_0x154bcf-0x1)]<<_0x154bcf%0x4*0x2,_0x3ef888=_0x12705e[_0x1849ab[_0x3195f8(0x127)](_0x154bcf)]>>>0x6-_0x154bcf%0x4*0x2,_0x4ded4f=_0x47a47c|_0x3ef888;_0x4ceadb[_0x15b0b5>>>0x2]|=_0x4ded4f<<0x18-_0x15b0b5%0x4*0x8,_0x15b0b5++;}return _0x172cb2[_0x3195f8(0x38f)](_0x4ceadb,_0x15b0b5);}}()),_0x1f85ac[_0x316410(0x244)][_0x316410(0x1c5)];}));}(ge)),ge[_0x22379e(0x230)];}var me={'exports':{}},ki=me['exports'],et;function Hi(){return et||(et=0x1,function(_0x809533,_0x3cac6b){(function(_0x1b1d51,_0x11595d){var _0x3a3e9c=_0x2bce;_0x809533[_0x3a3e9c(0x230)]=_0x11595d(ee());}(ki,function(_0x494787){return function(_0x49deb9){var _0x554954=_0x2bce,_0x10ebe7=_0x494787,_0x3c09d9=_0x10ebe7[_0x554954(0x341)],_0x273038=_0x3c09d9[_0x554954(0x23a)],_0x5aa3e9=_0x3c09d9['Hasher'],_0x1a0992=_0x10ebe7[_0x554954(0x358)],_0x1ba8a4=[];(function(){var _0x551018=_0x554954;for(var _0x3ed18b=0x0;_0x3ed18b<0x40;_0x3ed18b++)_0x1ba8a4[_0x3ed18b]=_0x49deb9[_0x551018(0x3b1)](_0x49deb9[_0x551018(0x406)](_0x3ed18b+0x1))*0x100000000|0x0;}());var _0x432f7f=_0x1a0992[_0x554954(0x1c9)]=_0x5aa3e9[_0x554954(0x369)]({'_doReset':function(){var _0x588730=_0x554954;this[_0x588730(0x203)]=new _0x273038[(_0x588730(0x253))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x39e616,_0x3bff25){var _0xb1249d=_0x554954;for(var _0x840df1=0x0;_0x840df1<0x10;_0x840df1++){var _0x13e71f=_0x3bff25+_0x840df1,_0x32f411=_0x39e616[_0x13e71f];_0x39e616[_0x13e71f]=(_0x32f411<<0x8|_0x32f411>>>0x18)&0xff00ff|(_0x32f411<<0x18|_0x32f411>>>0x8)&0xff00ff00;}var _0x52e51a=this[_0xb1249d(0x203)]['words'],_0x2f381d=_0x39e616[_0x3bff25+0x0],_0x448af3=_0x39e616[_0x3bff25+0x1],_0x429ed9=_0x39e616[_0x3bff25+0x2],_0x518cf0=_0x39e616[_0x3bff25+0x3],_0x20f377=_0x39e616[_0x3bff25+0x4],_0x528e6f=_0x39e616[_0x3bff25+0x5],_0x43fe26=_0x39e616[_0x3bff25+0x6],_0x453c39=_0x39e616[_0x3bff25+0x7],_0x1fb40b=_0x39e616[_0x3bff25+0x8],_0x56c1bc=_0x39e616[_0x3bff25+0x9],_0xf0d16b=_0x39e616[_0x3bff25+0xa],_0x377ded=_0x39e616[_0x3bff25+0xb],_0x5a5842=_0x39e616[_0x3bff25+0xc],_0x3929e9=_0x39e616[_0x3bff25+0xd],_0x505854=_0x39e616[_0x3bff25+0xe],_0x20c671=_0x39e616[_0x3bff25+0xf],_0x1ac422=_0x52e51a[0x0],_0x371eaa=_0x52e51a[0x1],_0x24d212=_0x52e51a[0x2],_0x49ede3=_0x52e51a[0x3];_0x1ac422=_0x1a8917(_0x1ac422,_0x371eaa,_0x24d212,_0x49ede3,_0x2f381d,0x7,_0x1ba8a4[0x0]),_0x49ede3=_0x1a8917(_0x49ede3,_0x1ac422,_0x371eaa,_0x24d212,_0x448af3,0xc,_0x1ba8a4[0x1]),_0x24d212=_0x1a8917(_0x24d212,_0x49ede3,_0x1ac422,_0x371eaa,_0x429ed9,0x11,_0x1ba8a4[0x2]),_0x371eaa=_0x1a8917(_0x371eaa,_0x24d212,_0x49ede3,_0x1ac422,_0x518cf0,0x16,_0x1ba8a4[0x3]),_0x1ac422=_0x1a8917(_0x1ac422,_0x371eaa,_0x24d212,_0x49ede3,_0x20f377,0x7,_0x1ba8a4[0x4]),_0x49ede3=_0x1a8917(_0x49ede3,_0x1ac422,_0x371eaa,_0x24d212,_0x528e6f,0xc,_0x1ba8a4[0x5]),_0x24d212=_0x1a8917(_0x24d212,_0x49ede3,_0x1ac422,_0x371eaa,_0x43fe26,0x11,_0x1ba8a4[0x6]),_0x371eaa=_0x1a8917(_0x371eaa,_0x24d212,_0x49ede3,_0x1ac422,_0x453c39,0x16,_0x1ba8a4[0x7]),_0x1ac422=_0x1a8917(_0x1ac422,_0x371eaa,_0x24d212,_0x49ede3,_0x1fb40b,0x7,_0x1ba8a4[0x8]),_0x49ede3=_0x1a8917(_0x49ede3,_0x1ac422,_0x371eaa,_0x24d212,_0x56c1bc,0xc,_0x1ba8a4[0x9]),_0x24d212=_0x1a8917(_0x24d212,_0x49ede3,_0x1ac422,_0x371eaa,_0xf0d16b,0x11,_0x1ba8a4[0xa]),_0x371eaa=_0x1a8917(_0x371eaa,_0x24d212,_0x49ede3,_0x1ac422,_0x377ded,0x16,_0x1ba8a4[0xb]),_0x1ac422=_0x1a8917(_0x1ac422,_0x371eaa,_0x24d212,_0x49ede3,_0x5a5842,0x7,_0x1ba8a4[0xc]),_0x49ede3=_0x1a8917(_0x49ede3,_0x1ac422,_0x371eaa,_0x24d212,_0x3929e9,0xc,_0x1ba8a4[0xd]),_0x24d212=_0x1a8917(_0x24d212,_0x49ede3,_0x1ac422,_0x371eaa,_0x505854,0x11,_0x1ba8a4[0xe]),_0x371eaa=_0x1a8917(_0x371eaa,_0x24d212,_0x49ede3,_0x1ac422,_0x20c671,0x16,_0x1ba8a4[0xf]),_0x1ac422=_0x4b8df4(_0x1ac422,_0x371eaa,_0x24d212,_0x49ede3,_0x448af3,0x5,_0x1ba8a4[0x10]),_0x49ede3=_0x4b8df4(_0x49ede3,_0x1ac422,_0x371eaa,_0x24d212,_0x43fe26,0x9,_0x1ba8a4[0x11]),_0x24d212=_0x4b8df4(_0x24d212,_0x49ede3,_0x1ac422,_0x371eaa,_0x377ded,0xe,_0x1ba8a4[0x12]),_0x371eaa=_0x4b8df4(_0x371eaa,_0x24d212,_0x49ede3,_0x1ac422,_0x2f381d,0x14,_0x1ba8a4[0x13]),_0x1ac422=_0x4b8df4(_0x1ac422,_0x371eaa,_0x24d212,_0x49ede3,_0x528e6f,0x5,_0x1ba8a4[0x14]),_0x49ede3=_0x4b8df4(_0x49ede3,_0x1ac422,_0x371eaa,_0x24d212,_0xf0d16b,0x9,_0x1ba8a4[0x15]),_0x24d212=_0x4b8df4(_0x24d212,_0x49ede3,_0x1ac422,_0x371eaa,_0x20c671,0xe,_0x1ba8a4[0x16]),_0x371eaa=_0x4b8df4(_0x371eaa,_0x24d212,_0x49ede3,_0x1ac422,_0x20f377,0x14,_0x1ba8a4[0x17]),_0x1ac422=_0x4b8df4(_0x1ac422,_0x371eaa,_0x24d212,_0x49ede3,_0x56c1bc,0x5,_0x1ba8a4[0x18]),_0x49ede3=_0x4b8df4(_0x49ede3,_0x1ac422,_0x371eaa,_0x24d212,_0x505854,0x9,_0x1ba8a4[0x19]),_0x24d212=_0x4b8df4(_0x24d212,_0x49ede3,_0x1ac422,_0x371eaa,_0x518cf0,0xe,_0x1ba8a4[0x1a]),_0x371eaa=_0x4b8df4(_0x371eaa,_0x24d212,_0x49ede3,_0x1ac422,_0x1fb40b,0x14,_0x1ba8a4[0x1b]),_0x1ac422=_0x4b8df4(_0x1ac422,_0x371eaa,_0x24d212,_0x49ede3,_0x3929e9,0x5,_0x1ba8a4[0x1c]),_0x49ede3=_0x4b8df4(_0x49ede3,_0x1ac422,_0x371eaa,_0x24d212,_0x429ed9,0x9,_0x1ba8a4[0x1d]),_0x24d212=_0x4b8df4(_0x24d212,_0x49ede3,_0x1ac422,_0x371eaa,_0x453c39,0xe,_0x1ba8a4[0x1e]),_0x371eaa=_0x4b8df4(_0x371eaa,_0x24d212,_0x49ede3,_0x1ac422,_0x5a5842,0x14,_0x1ba8a4[0x1f]),_0x1ac422=_0x4975f5(_0x1ac422,_0x371eaa,_0x24d212,_0x49ede3,_0x528e6f,0x4,_0x1ba8a4[0x20]),_0x49ede3=_0x4975f5(_0x49ede3,_0x1ac422,_0x371eaa,_0x24d212,_0x1fb40b,0xb,_0x1ba8a4[0x21]),_0x24d212=_0x4975f5(_0x24d212,_0x49ede3,_0x1ac422,_0x371eaa,_0x377ded,0x10,_0x1ba8a4[0x22]),_0x371eaa=_0x4975f5(_0x371eaa,_0x24d212,_0x49ede3,_0x1ac422,_0x505854,0x17,_0x1ba8a4[0x23]),_0x1ac422=_0x4975f5(_0x1ac422,_0x371eaa,_0x24d212,_0x49ede3,_0x448af3,0x4,_0x1ba8a4[0x24]),_0x49ede3=_0x4975f5(_0x49ede3,_0x1ac422,_0x371eaa,_0x24d212,_0x20f377,0xb,_0x1ba8a4[0x25]),_0x24d212=_0x4975f5(_0x24d212,_0x49ede3,_0x1ac422,_0x371eaa,_0x453c39,0x10,_0x1ba8a4[0x26]),_0x371eaa=_0x4975f5(_0x371eaa,_0x24d212,_0x49ede3,_0x1ac422,_0xf0d16b,0x17,_0x1ba8a4[0x27]),_0x1ac422=_0x4975f5(_0x1ac422,_0x371eaa,_0x24d212,_0x49ede3,_0x3929e9,0x4,_0x1ba8a4[0x28]),_0x49ede3=_0x4975f5(_0x49ede3,_0x1ac422,_0x371eaa,_0x24d212,_0x2f381d,0xb,_0x1ba8a4[0x29]),_0x24d212=_0x4975f5(_0x24d212,_0x49ede3,_0x1ac422,_0x371eaa,_0x518cf0,0x10,_0x1ba8a4[0x2a]),_0x371eaa=_0x4975f5(_0x371eaa,_0x24d212,_0x49ede3,_0x1ac422,_0x43fe26,0x17,_0x1ba8a4[0x2b]),_0x1ac422=_0x4975f5(_0x1ac422,_0x371eaa,_0x24d212,_0x49ede3,_0x56c1bc,0x4,_0x1ba8a4[0x2c]),_0x49ede3=_0x4975f5(_0x49ede3,_0x1ac422,_0x371eaa,_0x24d212,_0x5a5842,0xb,_0x1ba8a4[0x2d]),_0x24d212=_0x4975f5(_0x24d212,_0x49ede3,_0x1ac422,_0x371eaa,_0x20c671,0x10,_0x1ba8a4[0x2e]),_0x371eaa=_0x4975f5(_0x371eaa,_0x24d212,_0x49ede3,_0x1ac422,_0x429ed9,0x17,_0x1ba8a4[0x2f]),_0x1ac422=_0x4a32f0(_0x1ac422,_0x371eaa,_0x24d212,_0x49ede3,_0x2f381d,0x6,_0x1ba8a4[0x30]),_0x49ede3=_0x4a32f0(_0x49ede3,_0x1ac422,_0x371eaa,_0x24d212,_0x453c39,0xa,_0x1ba8a4[0x31]),_0x24d212=_0x4a32f0(_0x24d212,_0x49ede3,_0x1ac422,_0x371eaa,_0x505854,0xf,_0x1ba8a4[0x32]),_0x371eaa=_0x4a32f0(_0x371eaa,_0x24d212,_0x49ede3,_0x1ac422,_0x528e6f,0x15,_0x1ba8a4[0x33]),_0x1ac422=_0x4a32f0(_0x1ac422,_0x371eaa,_0x24d212,_0x49ede3,_0x5a5842,0x6,_0x1ba8a4[0x34]),_0x49ede3=_0x4a32f0(_0x49ede3,_0x1ac422,_0x371eaa,_0x24d212,_0x518cf0,0xa,_0x1ba8a4[0x35]),_0x24d212=_0x4a32f0(_0x24d212,_0x49ede3,_0x1ac422,_0x371eaa,_0xf0d16b,0xf,_0x1ba8a4[0x36]),_0x371eaa=_0x4a32f0(_0x371eaa,_0x24d212,_0x49ede3,_0x1ac422,_0x448af3,0x15,_0x1ba8a4[0x37]),_0x1ac422=_0x4a32f0(_0x1ac422,_0x371eaa,_0x24d212,_0x49ede3,_0x1fb40b,0x6,_0x1ba8a4[0x38]),_0x49ede3=_0x4a32f0(_0x49ede3,_0x1ac422,_0x371eaa,_0x24d212,_0x20c671,0xa,_0x1ba8a4[0x39]),_0x24d212=_0x4a32f0(_0x24d212,_0x49ede3,_0x1ac422,_0x371eaa,_0x43fe26,0xf,_0x1ba8a4[0x3a]),_0x371eaa=_0x4a32f0(_0x371eaa,_0x24d212,_0x49ede3,_0x1ac422,_0x3929e9,0x15,_0x1ba8a4[0x3b]),_0x1ac422=_0x4a32f0(_0x1ac422,_0x371eaa,_0x24d212,_0x49ede3,_0x20f377,0x6,_0x1ba8a4[0x3c]),_0x49ede3=_0x4a32f0(_0x49ede3,_0x1ac422,_0x371eaa,_0x24d212,_0x377ded,0xa,_0x1ba8a4[0x3d]),_0x24d212=_0x4a32f0(_0x24d212,_0x49ede3,_0x1ac422,_0x371eaa,_0x429ed9,0xf,_0x1ba8a4[0x3e]),_0x371eaa=_0x4a32f0(_0x371eaa,_0x24d212,_0x49ede3,_0x1ac422,_0x56c1bc,0x15,_0x1ba8a4[0x3f]),_0x52e51a[0x0]=_0x52e51a[0x0]+_0x1ac422|0x0,_0x52e51a[0x1]=_0x52e51a[0x1]+_0x371eaa|0x0,_0x52e51a[0x2]=_0x52e51a[0x2]+_0x24d212|0x0,_0x52e51a[0x3]=_0x52e51a[0x3]+_0x49ede3|0x0;},'_doFinalize':function(){var _0x3c7c32=_0x554954,_0x35d376=this[_0x3c7c32(0x1f4)],_0x165cd5=_0x35d376[_0x3c7c32(0x370)],_0x22baf9=this[_0x3c7c32(0x389)]*0x8,_0x43b32b=_0x35d376[_0x3c7c32(0x3ae)]*0x8;_0x165cd5[_0x43b32b>>>0x5]|=0x80<<0x18-_0x43b32b%0x20;var _0x3a0454=_0x49deb9[_0x3c7c32(0x1ac)](_0x22baf9/0x100000000),_0x3c857e=_0x22baf9;_0x165cd5[(_0x43b32b+0x40>>>0x9<<0x4)+0xf]=(_0x3a0454<<0x8|_0x3a0454>>>0x18)&0xff00ff|(_0x3a0454<<0x18|_0x3a0454>>>0x8)&0xff00ff00,_0x165cd5[(_0x43b32b+0x40>>>0x9<<0x4)+0xe]=(_0x3c857e<<0x8|_0x3c857e>>>0x18)&0xff00ff|(_0x3c857e<<0x18|_0x3c857e>>>0x8)&0xff00ff00,_0x35d376[_0x3c7c32(0x3ae)]=(_0x165cd5[_0x3c7c32(0x108)]+0x1)*0x4,this[_0x3c7c32(0x2f6)]();for(var _0xd00b01=this[_0x3c7c32(0x203)],_0x2ee1f2=_0xd00b01[_0x3c7c32(0x370)],_0x545b02=0x0;_0x545b02<0x4;_0x545b02++){var _0x16ab6b=_0x2ee1f2[_0x545b02];_0x2ee1f2[_0x545b02]=(_0x16ab6b<<0x8|_0x16ab6b>>>0x18)&0xff00ff|(_0x16ab6b<<0x18|_0x16ab6b>>>0x8)&0xff00ff00;}return _0xd00b01;},'clone':function(){var _0x1892a5=_0x554954,_0xc38b1f=_0x5aa3e9['clone'][_0x1892a5(0x2ef)](this);return _0xc38b1f['_hash']=this[_0x1892a5(0x203)][_0x1892a5(0xa7)](),_0xc38b1f;}});function _0x1a8917(_0x304ddd,_0x115948,_0x2fb078,_0x4c81d8,_0x5988a1,_0x283d01,_0x5b326b){var _0x1bdfb9=_0x304ddd+(_0x115948&_0x2fb078|~_0x115948&_0x4c81d8)+_0x5988a1+_0x5b326b;return(_0x1bdfb9<<_0x283d01|_0x1bdfb9>>>0x20-_0x283d01)+_0x115948;}function _0x4b8df4(_0x5ac3ec,_0x3a221f,_0x4dca4f,_0xe95ead,_0x1addee,_0xafdd41,_0x15d341){var _0x55a8b2=_0x5ac3ec+(_0x3a221f&_0xe95ead|_0x4dca4f&~_0xe95ead)+_0x1addee+_0x15d341;return(_0x55a8b2<<_0xafdd41|_0x55a8b2>>>0x20-_0xafdd41)+_0x3a221f;}function _0x4975f5(_0x1ea112,_0x19d28c,_0x57fb42,_0x4c2531,_0x2e8969,_0x436c59,_0x3586d8){var _0x134cb1=_0x1ea112+(_0x19d28c^_0x57fb42^_0x4c2531)+_0x2e8969+_0x3586d8;return(_0x134cb1<<_0x436c59|_0x134cb1>>>0x20-_0x436c59)+_0x19d28c;}function _0x4a32f0(_0x4e6e7a,_0x40b8dc,_0xfe3e75,_0x5df49b,_0x11cf1d,_0x364fbb,_0x1797d4){var _0xfd7350=_0x4e6e7a+(_0xfe3e75^(_0x40b8dc|~_0x5df49b))+_0x11cf1d+_0x1797d4;return(_0xfd7350<<_0x364fbb|_0xfd7350>>>0x20-_0x364fbb)+_0x40b8dc;}_0x10ebe7[_0x554954(0x1c9)]=_0x5aa3e9[_0x554954(0x141)](_0x432f7f),_0x10ebe7['HmacMD5']=_0x5aa3e9[_0x554954(0x17e)](_0x432f7f);}(Math),_0x494787['MD5'];}));}(me)),me['exports'];}var Ie={'exports':{}},Ee={'exports':{}},ji=Ee['exports'],tt;function $i(){var _0x2a9fca=_0xd6acc8;return tt||(tt=0x1,function(_0x50cab5,_0xc240c0){(function(_0x306835,_0x386700){var _0x235498=_0x2bce;_0x50cab5[_0x235498(0x230)]=_0x386700(ee());}(ji,function(_0x290870){var _0x12d066=_0x2bce;return(function(){var _0x49e108=_0x2bce,_0x3861f8=_0x290870,_0xd2107c=_0x3861f8[_0x49e108(0x341)],_0x4b619f=_0xd2107c['WordArray'],_0x1e088e=_0xd2107c[_0x49e108(0x254)],_0x1706c2=_0x3861f8['algo'],_0x2dffe3=[],_0x2816d7=_0x1706c2['SHA1']=_0x1e088e[_0x49e108(0x369)]({'_doReset':function(){var _0x207ca8=_0x49e108;this[_0x207ca8(0x203)]=new _0x4b619f['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x1daba1,_0x2c4f89){var _0x4eae53=_0x49e108;for(var _0x526075=this[_0x4eae53(0x203)]['words'],_0x1619eb=_0x526075[0x0],_0x28eaea=_0x526075[0x1],_0x2bc968=_0x526075[0x2],_0x23b07d=_0x526075[0x3],_0x4e61b9=_0x526075[0x4],_0x179c48=0x0;_0x179c48<0x50;_0x179c48++){if(_0x179c48<0x10)_0x2dffe3[_0x179c48]=_0x1daba1[_0x2c4f89+_0x179c48]|0x0;else{var _0x3028b2=_0x2dffe3[_0x179c48-0x3]^_0x2dffe3[_0x179c48-0x8]^_0x2dffe3[_0x179c48-0xe]^_0x2dffe3[_0x179c48-0x10];_0x2dffe3[_0x179c48]=_0x3028b2<<0x1|_0x3028b2>>>0x1f;}var _0x1aad94=(_0x1619eb<<0x5|_0x1619eb>>>0x1b)+_0x4e61b9+_0x2dffe3[_0x179c48];_0x179c48<0x14?_0x1aad94+=(_0x28eaea&_0x2bc968|~_0x28eaea&_0x23b07d)+0x5a827999:_0x179c48<0x28?_0x1aad94+=(_0x28eaea^_0x2bc968^_0x23b07d)+0x6ed9eba1:_0x179c48<0x3c?_0x1aad94+=(_0x28eaea&_0x2bc968|_0x28eaea&_0x23b07d|_0x2bc968&_0x23b07d)-0x70e44324:_0x1aad94+=(_0x28eaea^_0x2bc968^_0x23b07d)-0x359d3e2a,_0x4e61b9=_0x23b07d,_0x23b07d=_0x2bc968,_0x2bc968=_0x28eaea<<0x1e|_0x28eaea>>>0x2,_0x28eaea=_0x1619eb,_0x1619eb=_0x1aad94;}_0x526075[0x0]=_0x526075[0x0]+_0x1619eb|0x0,_0x526075[0x1]=_0x526075[0x1]+_0x28eaea|0x0,_0x526075[0x2]=_0x526075[0x2]+_0x2bc968|0x0,_0x526075[0x3]=_0x526075[0x3]+_0x23b07d|0x0,_0x526075[0x4]=_0x526075[0x4]+_0x4e61b9|0x0;},'_doFinalize':function(){var _0x3bb324=_0x49e108,_0xd9cb40=this[_0x3bb324(0x1f4)],_0x420726=_0xd9cb40[_0x3bb324(0x370)],_0x2792a2=this[_0x3bb324(0x389)]*0x8,_0x10310e=_0xd9cb40['sigBytes']*0x8;return _0x420726[_0x10310e>>>0x5]|=0x80<<0x18-_0x10310e%0x20,_0x420726[(_0x10310e+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x2792a2/0x100000000),_0x420726[(_0x10310e+0x40>>>0x9<<0x4)+0xf]=_0x2792a2,_0xd9cb40[_0x3bb324(0x3ae)]=_0x420726[_0x3bb324(0x108)]*0x4,this[_0x3bb324(0x2f6)](),this['_hash'];},'clone':function(){var _0x216fc7=_0x49e108,_0x41d63e=_0x1e088e[_0x216fc7(0xa7)][_0x216fc7(0x2ef)](this);return _0x41d63e['_hash']=this['_hash']['clone'](),_0x41d63e;}});_0x3861f8[_0x49e108(0x391)]=_0x1e088e[_0x49e108(0x141)](_0x2816d7),_0x3861f8[_0x49e108(0x262)]=_0x1e088e[_0x49e108(0x17e)](_0x2816d7);}()),_0x290870[_0x12d066(0x391)];}));}(Ee)),Ee[_0x2a9fca(0x230)];}var Ce={'exports':{}},Bi=Ce[_0xd6acc8(0x230)],it;function Fi(){var _0x2f7d0b=_0xd6acc8;return it||(it=0x1,function(_0x24e3fe,_0x2b7241){(function(_0x3778c7,_0x3165cf){var _0x2150ce=_0x2bce;_0x24e3fe[_0x2150ce(0x230)]=_0x3165cf(ee());}(Bi,function(_0x2a83ad){(function(){var _0x5de495=_0x2bce,_0x20f614=_0x2a83ad,_0x21ba99=_0x20f614[_0x5de495(0x341)],_0x3ea1ab=_0x21ba99[_0x5de495(0x320)],_0x2aabda=_0x20f614[_0x5de495(0x244)],_0x485a39=_0x2aabda[_0x5de495(0x28b)],_0x33e19c=_0x20f614[_0x5de495(0x358)];_0x33e19c[_0x5de495(0x2b0)]=_0x3ea1ab['extend']({'init':function(_0x43c2ae,_0x5df99a){var _0x518889=_0x5de495;_0x43c2ae=this[_0x518889(0x2c9)]=new _0x43c2ae[(_0x518889(0x253))](),typeof _0x5df99a==_0x518889(0x27b)&&(_0x5df99a=_0x485a39[_0x518889(0x36d)](_0x5df99a));var _0x18640b=_0x43c2ae[_0x518889(0x409)],_0x566301=_0x18640b*0x4;_0x5df99a[_0x518889(0x3ae)]>_0x566301&&(_0x5df99a=_0x43c2ae['finalize'](_0x5df99a)),_0x5df99a[_0x518889(0x380)]();for(var _0x3945c=this[_0x518889(0x183)]=_0x5df99a[_0x518889(0xa7)](),_0x786924=this[_0x518889(0x3a6)]=_0x5df99a[_0x518889(0xa7)](),_0x2e7e97=_0x3945c['words'],_0x43df49=_0x786924['words'],_0x3cfef0=0x0;_0x3cfef0<_0x18640b;_0x3cfef0++)_0x2e7e97[_0x3cfef0]^=0x5c5c5c5c,_0x43df49[_0x3cfef0]^=0x36363636;_0x3945c[_0x518889(0x3ae)]=_0x786924[_0x518889(0x3ae)]=_0x566301,this[_0x518889(0x336)]();},'reset':function(){var _0x4f145f=_0x5de495,_0x3b14fe=this[_0x4f145f(0x2c9)];_0x3b14fe[_0x4f145f(0x336)](),_0x3b14fe['update'](this[_0x4f145f(0x3a6)]);},'update':function(_0x4cf4cc){var _0x4bfe16=_0x5de495;return this[_0x4bfe16(0x2c9)][_0x4bfe16(0x11a)](_0x4cf4cc),this;},'finalize':function(_0x34427f){var _0x3f6b20=_0x5de495,_0xec865c=this['_hasher'],_0x2c5021=_0xec865c[_0x3f6b20(0x393)](_0x34427f);_0xec865c[_0x3f6b20(0x336)]();var _0x47e40e=_0xec865c[_0x3f6b20(0x393)](this[_0x3f6b20(0x183)][_0x3f6b20(0xa7)]()['concat'](_0x2c5021));return _0x47e40e;}});}());}));}(Ce)),Ce[_0x2f7d0b(0x230)];}var Vi=Ie['exports'],nt;function At(){var _0xe8fc69=_0xd6acc8;return nt||(nt=0x1,function(_0x70982d,_0x3cedff){(function(_0x43c425,_0x17c671,_0x389c6c){var _0x4306c9=_0x2bce;_0x70982d[_0x4306c9(0x230)]=_0x17c671(ee(),$i(),Fi());}(Vi,function(_0x2ba898){var _0x57b6bb=_0x2bce;return(function(){var _0x282c86=_0x2bce,_0x20b7bb=_0x2ba898,_0x3688a9=_0x20b7bb[_0x282c86(0x341)],_0x517342=_0x3688a9['Base'],_0x443382=_0x3688a9[_0x282c86(0x23a)],_0xd658b5=_0x20b7bb[_0x282c86(0x358)],_0x3f7297=_0xd658b5[_0x282c86(0x1c9)],_0x2b1054=_0xd658b5[_0x282c86(0x267)]=_0x517342[_0x282c86(0x369)]({'cfg':_0x517342[_0x282c86(0x369)]({'keySize':0x80/0x20,'hasher':_0x3f7297,'iterations':0x1}),'init':function(_0x48da46){var _0x524566=_0x282c86;this[_0x524566(0x12e)]=this[_0x524566(0x12e)][_0x524566(0x369)](_0x48da46);},'compute':function(_0x324c9e,_0x5ef8ef){var _0xa8410=_0x282c86;for(var _0x16a09b,_0xcb07d5=this[_0xa8410(0x12e)],_0x1ec717=_0xcb07d5[_0xa8410(0x19a)][_0xa8410(0x38f)](),_0x4f3f77=_0x443382[_0xa8410(0x38f)](),_0x2fb339=_0x4f3f77[_0xa8410(0x370)],_0x28386c=_0xcb07d5['keySize'],_0xa64453=_0xcb07d5[_0xa8410(0x353)];_0x2fb339[_0xa8410(0x108)]<_0x28386c;){_0x16a09b&&_0x1ec717[_0xa8410(0x11a)](_0x16a09b),_0x16a09b=_0x1ec717[_0xa8410(0x11a)](_0x324c9e)['finalize'](_0x5ef8ef),_0x1ec717[_0xa8410(0x336)]();for(var _0x4c85ea=0x1;_0x4c85ea<_0xa64453;_0x4c85ea++)_0x16a09b=_0x1ec717['finalize'](_0x16a09b),_0x1ec717[_0xa8410(0x336)]();_0x4f3f77['concat'](_0x16a09b);}return _0x4f3f77[_0xa8410(0x3ae)]=_0x28386c*0x4,_0x4f3f77;}});_0x20b7bb[_0x282c86(0x267)]=function(_0x32aaf3,_0x1b23d6,_0x32bd6a){var _0x2c3674=_0x282c86;return _0x2b1054['create'](_0x32bd6a)[_0x2c3674(0x11b)](_0x32aaf3,_0x1b23d6);};}()),_0x2ba898[_0x57b6bb(0x267)];}));}(Ie)),Ie[_0xe8fc69(0x230)];}var Te={'exports':{}},Wi=Te[_0xd6acc8(0x230)],rt;function Pt(){return rt||(rt=0x1,function(_0x82b40d,_0x23502c){(function(_0x4e639b,_0x44b522,_0x25c0d8){_0x82b40d['exports']=_0x44b522(ee(),At());}(Wi,function(_0x47c142){var _0x184ebf=_0x2bce;_0x47c142['lib'][_0x184ebf(0x236)]||function(_0x618b2c){var _0x5ec7ec=_0x184ebf,_0x25dc7e=_0x47c142,_0x1bcb61=_0x25dc7e[_0x5ec7ec(0x341)],_0x3c8fa0=_0x1bcb61['Base'],_0x5e4efb=_0x1bcb61[_0x5ec7ec(0x23a)],_0xbd63c7=_0x1bcb61[_0x5ec7ec(0x10b)],_0x3fa473=_0x25dc7e[_0x5ec7ec(0x244)];_0x3fa473[_0x5ec7ec(0x28b)];var _0xaf76c1=_0x3fa473[_0x5ec7ec(0x1c5)],_0x171c7b=_0x25dc7e[_0x5ec7ec(0x358)],_0x17edd6=_0x171c7b['EvpKDF'],_0x1ae1a2=_0x1bcb61[_0x5ec7ec(0x236)]=_0xbd63c7[_0x5ec7ec(0x369)]({'cfg':_0x3c8fa0[_0x5ec7ec(0x369)](),'createEncryptor':function(_0x1d045d,_0x93c545){var _0x2fae99=_0x5ec7ec;return this[_0x2fae99(0x38f)](this['_ENC_XFORM_MODE'],_0x1d045d,_0x93c545);},'createDecryptor':function(_0x14082d,_0xf946a4){var _0x34fa30=_0x5ec7ec;return this[_0x34fa30(0x38f)](this[_0x34fa30(0x1a3)],_0x14082d,_0xf946a4);},'init':function(_0x3c98f6,_0x164910,_0x16da73){var _0x5d33f4=_0x5ec7ec;this[_0x5d33f4(0x12e)]=this[_0x5d33f4(0x12e)][_0x5d33f4(0x369)](_0x16da73),this[_0x5d33f4(0x318)]=_0x3c98f6,this[_0x5d33f4(0x25f)]=_0x164910,this['reset']();},'reset':function(){var _0x4a8ce=_0x5ec7ec;_0xbd63c7['reset']['call'](this),this[_0x4a8ce(0x217)]();},'process':function(_0x38eb1b){var _0x218966=_0x5ec7ec;return this[_0x218966(0x125)](_0x38eb1b),this[_0x218966(0x2f6)]();},'finalize':function(_0x46db78){var _0x35b9f0=_0x5ec7ec;_0x46db78&&this[_0x35b9f0(0x125)](_0x46db78);var _0x5790df=this[_0x35b9f0(0x1d7)]();return _0x5790df;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x12ad98(_0x209465){var _0x1a177e=_0x2bce;return typeof _0x209465==_0x1a177e(0x27b)?_0x3de50f:_0x11377a;}return function(_0x10cb54){return{'encrypt':function(_0x57cadd,_0xff32d0,_0x3409c0){var _0x5e20cb=_0x2bce;return _0x12ad98(_0xff32d0)[_0x5e20cb(0x350)](_0x10cb54,_0x57cadd,_0xff32d0,_0x3409c0);},'decrypt':function(_0x367853,_0xaf7e44,_0x184780){var _0x2fd45e=_0x2bce;return _0x12ad98(_0xaf7e44)[_0x2fd45e(0x1ea)](_0x10cb54,_0x367853,_0xaf7e44,_0x184780);}};};}())});_0x1bcb61[_0x5ec7ec(0x13d)]=_0x1ae1a2['extend']({'_doFinalize':function(){var _0x330147=_0x5ec7ec,_0x58a9bb=this[_0x330147(0x2f6)](!0x0);return _0x58a9bb;},'blockSize':0x1});var _0x47b34e=_0x25dc7e['mode']={},_0x3d30f5=_0x1bcb61[_0x5ec7ec(0x146)]=_0x3c8fa0[_0x5ec7ec(0x369)]({'createEncryptor':function(_0xe722b0,_0x1ce583){var _0x583f27=_0x5ec7ec;return this['Encryptor'][_0x583f27(0x38f)](_0xe722b0,_0x1ce583);},'createDecryptor':function(_0x26ed66,_0x17808f){var _0x4e970b=_0x5ec7ec;return this[_0x4e970b(0x120)][_0x4e970b(0x38f)](_0x26ed66,_0x17808f);},'init':function(_0x7ad34a,_0x1d2915){var _0x3a042b=_0x5ec7ec;this[_0x3a042b(0x395)]=_0x7ad34a,this[_0x3a042b(0x1f2)]=_0x1d2915;}}),_0x5ce2d1=_0x47b34e['CBC']=(function(){var _0x594bef=_0x5ec7ec,_0x18eafa=_0x3d30f5[_0x594bef(0x369)]();_0x18eafa[_0x594bef(0x3ce)]=_0x18eafa[_0x594bef(0x369)]({'processBlock':function(_0xb73343,_0x4c1c78){var _0x383494=_0x594bef,_0x5b7803=this['_cipher'],_0x14b613=_0x5b7803[_0x383494(0x409)];_0x4611e6[_0x383494(0x2ef)](this,_0xb73343,_0x4c1c78,_0x14b613),_0x5b7803[_0x383494(0x342)](_0xb73343,_0x4c1c78),this[_0x383494(0x2ed)]=_0xb73343[_0x383494(0x284)](_0x4c1c78,_0x4c1c78+_0x14b613);}}),_0x18eafa[_0x594bef(0x120)]=_0x18eafa[_0x594bef(0x369)]({'processBlock':function(_0x2c041,_0x45498e){var _0x449230=_0x594bef,_0x5ed93f=this[_0x449230(0x395)],_0x314f8e=_0x5ed93f[_0x449230(0x409)],_0x3788ef=_0x2c041[_0x449230(0x284)](_0x45498e,_0x45498e+_0x314f8e);_0x5ed93f[_0x449230(0x13b)](_0x2c041,_0x45498e),_0x4611e6[_0x449230(0x2ef)](this,_0x2c041,_0x45498e,_0x314f8e),this[_0x449230(0x2ed)]=_0x3788ef;}});function _0x4611e6(_0x1599d2,_0x4f0a58,_0x4661c7){var _0x58e0c7=_0x594bef,_0xbdd883,_0x5d9701=this[_0x58e0c7(0x1f2)];_0x5d9701?(_0xbdd883=_0x5d9701,this[_0x58e0c7(0x1f2)]=_0x618b2c):_0xbdd883=this[_0x58e0c7(0x2ed)];for(var _0x3c330e=0x0;_0x3c330e<_0x4661c7;_0x3c330e++)_0x1599d2[_0x4f0a58+_0x3c330e]^=_0xbdd883[_0x3c330e];}return _0x18eafa;}()),_0x20e26b=_0x25dc7e[_0x5ec7ec(0x1fe)]={},_0x189670=_0x20e26b['Pkcs7']={'pad':function(_0x1c1c6e,_0x49966b){var _0xc50e91=_0x5ec7ec;for(var _0x38fafb=_0x49966b*0x4,_0x3f423b=_0x38fafb-_0x1c1c6e[_0xc50e91(0x3ae)]%_0x38fafb,_0x127b3e=_0x3f423b<<0x18|_0x3f423b<<0x10|_0x3f423b<<0x8|_0x3f423b,_0x3be3c5=[],_0x294f27=0x0;_0x294f27<_0x3f423b;_0x294f27+=0x4)_0x3be3c5[_0xc50e91(0x32f)](_0x127b3e);var _0x2a986c=_0x5e4efb['create'](_0x3be3c5,_0x3f423b);_0x1c1c6e[_0xc50e91(0x30a)](_0x2a986c);},'unpad':function(_0x5025ab){var _0x51d90f=_0x5ec7ec,_0x55becd=_0x5025ab[_0x51d90f(0x370)][_0x5025ab['sigBytes']-0x1>>>0x2]&0xff;_0x5025ab[_0x51d90f(0x3ae)]-=_0x55becd;}};_0x1bcb61[_0x5ec7ec(0x2c3)]=_0x1ae1a2['extend']({'cfg':_0x1ae1a2[_0x5ec7ec(0x12e)][_0x5ec7ec(0x369)]({'mode':_0x5ce2d1,'padding':_0x189670}),'reset':function(){var _0x57756f=_0x5ec7ec,_0x19664b;_0x1ae1a2[_0x57756f(0x336)][_0x57756f(0x2ef)](this);var _0x518930=this[_0x57756f(0x12e)],_0x169804=_0x518930['iv'],_0x173e27=_0x518930[_0x57756f(0x216)];this[_0x57756f(0x318)]==this[_0x57756f(0x288)]?_0x19664b=_0x173e27[_0x57756f(0x1c4)]:(_0x19664b=_0x173e27[_0x57756f(0x3bf)],this['_minBufferSize']=0x1),this[_0x57756f(0x35a)]&&this[_0x57756f(0x35a)][_0x57756f(0xd6)]==_0x19664b?this[_0x57756f(0x35a)]['init'](this,_0x169804&&_0x169804['words']):(this[_0x57756f(0x35a)]=_0x19664b[_0x57756f(0x2ef)](_0x173e27,this,_0x169804&&_0x169804['words']),this['_mode'][_0x57756f(0xd6)]=_0x19664b);},'_doProcessBlock':function(_0x57ab85,_0x3695a3){var _0x130004=_0x5ec7ec;this[_0x130004(0x35a)][_0x130004(0x3ba)](_0x57ab85,_0x3695a3);},'_doFinalize':function(){var _0x507849=_0x5ec7ec,_0x345bb8,_0x1cdb35=this[_0x507849(0x12e)][_0x507849(0x3ab)];return this[_0x507849(0x318)]==this[_0x507849(0x288)]?(_0x1cdb35[_0x507849(0x1fe)](this[_0x507849(0x1f4)],this[_0x507849(0x409)]),_0x345bb8=this[_0x507849(0x2f6)](!0x0)):(_0x345bb8=this[_0x507849(0x2f6)](!0x0),_0x1cdb35[_0x507849(0x28a)](_0x345bb8)),_0x345bb8;},'blockSize':0x80/0x20});var _0x14ed3e=_0x1bcb61[_0x5ec7ec(0x3d8)]=_0x3c8fa0[_0x5ec7ec(0x369)]({'init':function(_0x4a0d7d){this['mixIn'](_0x4a0d7d);},'toString':function(_0x551a29){var _0x44964f=_0x5ec7ec;return(_0x551a29||this['formatter'])[_0x44964f(0xa4)](this);}}),_0x46d603=_0x25dc7e[_0x5ec7ec(0x1ce)]={},_0x1b6793=_0x46d603[_0x5ec7ec(0x2f2)]={'stringify':function(_0x454a8e){var _0x5b6620=_0x5ec7ec,_0x4aefbe,_0x5b54fe=_0x454a8e[_0x5b6620(0x200)],_0x5b2be8=_0x454a8e[_0x5b6620(0x3c3)];return _0x5b2be8?_0x4aefbe=_0x5e4efb['create']([0x53616c74,0x65645f5f])['concat'](_0x5b2be8)[_0x5b6620(0x30a)](_0x5b54fe):_0x4aefbe=_0x5b54fe,_0x4aefbe[_0x5b6620(0x1b2)](_0xaf76c1);},'parse':function(_0x3a5262){var _0x6c4d4b=_0x5ec7ec,_0x27fd8f,_0x3d1b75=_0xaf76c1[_0x6c4d4b(0x36d)](_0x3a5262),_0x2ee8af=_0x3d1b75[_0x6c4d4b(0x370)];return _0x2ee8af[0x0]==0x53616c74&&_0x2ee8af[0x1]==0x65645f5f&&(_0x27fd8f=_0x5e4efb[_0x6c4d4b(0x38f)](_0x2ee8af[_0x6c4d4b(0x284)](0x2,0x4)),_0x2ee8af[_0x6c4d4b(0x1d3)](0x0,0x4),_0x3d1b75[_0x6c4d4b(0x3ae)]-=0x10),_0x14ed3e['create']({'ciphertext':_0x3d1b75,'salt':_0x27fd8f});}},_0x11377a=_0x1bcb61['SerializableCipher']=_0x3c8fa0['extend']({'cfg':_0x3c8fa0[_0x5ec7ec(0x369)]({'format':_0x1b6793}),'encrypt':function(_0x34bace,_0x504b6e,_0x310a14,_0x43d756){var _0x41544a=_0x5ec7ec;_0x43d756=this[_0x41544a(0x12e)][_0x41544a(0x369)](_0x43d756);var _0x37ee09=_0x34bace[_0x41544a(0x1c4)](_0x310a14,_0x43d756),_0x3e9d24=_0x37ee09[_0x41544a(0x393)](_0x504b6e),_0x459dd1=_0x37ee09[_0x41544a(0x12e)];return _0x14ed3e[_0x41544a(0x38f)]({'ciphertext':_0x3e9d24,'key':_0x310a14,'iv':_0x459dd1['iv'],'algorithm':_0x34bace,'mode':_0x459dd1['mode'],'padding':_0x459dd1['padding'],'blockSize':_0x34bace[_0x41544a(0x409)],'formatter':_0x43d756[_0x41544a(0x1ce)]});},'decrypt':function(_0x321b7f,_0x39c2c3,_0x9b6e23,_0x50622e){var _0x156db4=_0x5ec7ec;_0x50622e=this['cfg']['extend'](_0x50622e),_0x39c2c3=this[_0x156db4(0x1ad)](_0x39c2c3,_0x50622e[_0x156db4(0x1ce)]);var _0x389b83=_0x321b7f['createDecryptor'](_0x9b6e23,_0x50622e)['finalize'](_0x39c2c3[_0x156db4(0x200)]);return _0x389b83;},'_parse':function(_0x29313e,_0xeec557){var _0x5beab2=_0x5ec7ec;return typeof _0x29313e=='string'?_0xeec557[_0x5beab2(0x36d)](_0x29313e,this):_0x29313e;}}),_0x29c50b=_0x25dc7e[_0x5ec7ec(0x37e)]={},_0x5992aa=_0x29c50b[_0x5ec7ec(0x2f2)]={'execute':function(_0x5e76fe,_0x232289,_0x52370d,_0x478539,_0x4807f0){var _0x5b52da=_0x5ec7ec;if(_0x478539||(_0x478539=_0x5e4efb[_0x5b52da(0x3ff)](0x40/0x8)),_0x4807f0)var _0x36ce89=_0x17edd6[_0x5b52da(0x38f)]({'keySize':_0x232289+_0x52370d,'hasher':_0x4807f0})[_0x5b52da(0x11b)](_0x5e76fe,_0x478539);else var _0x36ce89=_0x17edd6['create']({'keySize':_0x232289+_0x52370d})[_0x5b52da(0x11b)](_0x5e76fe,_0x478539);var _0x1502f4=_0x5e4efb[_0x5b52da(0x38f)](_0x36ce89[_0x5b52da(0x370)][_0x5b52da(0x284)](_0x232289),_0x52370d*0x4);return _0x36ce89['sigBytes']=_0x232289*0x4,_0x14ed3e['create']({'key':_0x36ce89,'iv':_0x1502f4,'salt':_0x478539});}},_0x3de50f=_0x1bcb61[_0x5ec7ec(0x155)]=_0x11377a[_0x5ec7ec(0x369)]({'cfg':_0x11377a[_0x5ec7ec(0x12e)][_0x5ec7ec(0x369)]({'kdf':_0x5992aa}),'encrypt':function(_0x3db5cb,_0x27459b,_0x41c72b,_0x5060e6){var _0x1ebf5d=_0x5ec7ec;_0x5060e6=this[_0x1ebf5d(0x12e)][_0x1ebf5d(0x369)](_0x5060e6);var _0x1390f5=_0x5060e6['kdf']['execute'](_0x41c72b,_0x3db5cb[_0x1ebf5d(0x413)],_0x3db5cb[_0x1ebf5d(0x252)],_0x5060e6[_0x1ebf5d(0x3c3)],_0x5060e6[_0x1ebf5d(0x19a)]);_0x5060e6['iv']=_0x1390f5['iv'];var _0x27b1b9=_0x11377a[_0x1ebf5d(0x350)][_0x1ebf5d(0x2ef)](this,_0x3db5cb,_0x27459b,_0x1390f5[_0x1ebf5d(0x312)],_0x5060e6);return _0x27b1b9['mixIn'](_0x1390f5),_0x27b1b9;},'decrypt':function(_0x2b60ad,_0x56ae0c,_0xc2cd2b,_0x27c0e9){var _0x2ec9d0=_0x5ec7ec;_0x27c0e9=this[_0x2ec9d0(0x12e)][_0x2ec9d0(0x369)](_0x27c0e9),_0x56ae0c=this[_0x2ec9d0(0x1ad)](_0x56ae0c,_0x27c0e9[_0x2ec9d0(0x1ce)]);var _0x2d3891=_0x27c0e9[_0x2ec9d0(0x37e)][_0x2ec9d0(0x366)](_0xc2cd2b,_0x2b60ad['keySize'],_0x2b60ad[_0x2ec9d0(0x252)],_0x56ae0c[_0x2ec9d0(0x3c3)],_0x27c0e9[_0x2ec9d0(0x19a)]);_0x27c0e9['iv']=_0x2d3891['iv'];var _0x46adcb=_0x11377a[_0x2ec9d0(0x1ea)][_0x2ec9d0(0x2ef)](this,_0x2b60ad,_0x56ae0c,_0x2d3891[_0x2ec9d0(0x312)],_0x27c0e9);return _0x46adcb;}});}();}));}(Te)),Te['exports'];}var Gi=fe[_0xd6acc8(0x230)],st;function Ki(){var _0x154af4=_0xd6acc8;return st||(st=0x1,function(_0xb4b0ae,_0x594b02){(function(_0x36c27b,_0x5e8077,_0x50a36c){var _0x514f16=_0x2bce;_0xb4b0ae[_0x514f16(0x230)]=_0x5e8077(ee(),Ut(),Hi(),At(),Pt());}(Gi,function(_0x32e007){var _0x4a5006=_0x2bce;return(function(){var _0x4400bc=_0x2bce,_0x29e3d7=_0x32e007,_0x264a9a=_0x29e3d7[_0x4400bc(0x341)],_0x767bb6=_0x264a9a['BlockCipher'],_0x50ff77=_0x29e3d7[_0x4400bc(0x358)],_0x206dea=[],_0x187c78=[],_0x1ce7ba=[],_0x5167c4=[],_0x39caad=[],_0x3d6fe0=[],_0x54b273=[],_0x19a486=[],_0x351d32=[],_0x5b11fd=[];(function(){for(var _0x409682=[],_0xf5eee6=0x0;_0xf5eee6<0x100;_0xf5eee6++)_0xf5eee6<0x80?_0x409682[_0xf5eee6]=_0xf5eee6<<0x1:_0x409682[_0xf5eee6]=_0xf5eee6<<0x1^0x11b;for(var _0x4f56b1=0x0,_0x1ad500=0x0,_0xf5eee6=0x0;_0xf5eee6<0x100;_0xf5eee6++){var _0xa11ed8=_0x1ad500^_0x1ad500<<0x1^_0x1ad500<<0x2^_0x1ad500<<0x3^_0x1ad500<<0x4;_0xa11ed8=_0xa11ed8>>>0x8^_0xa11ed8&0xff^0x63,_0x206dea[_0x4f56b1]=_0xa11ed8,_0x187c78[_0xa11ed8]=_0x4f56b1;var _0x56597b=_0x409682[_0x4f56b1],_0x19f5de=_0x409682[_0x56597b],_0x2b9122=_0x409682[_0x19f5de],_0x1beaa6=_0x409682[_0xa11ed8]*0x101^_0xa11ed8*0x1010100;_0x1ce7ba[_0x4f56b1]=_0x1beaa6<<0x18|_0x1beaa6>>>0x8,_0x5167c4[_0x4f56b1]=_0x1beaa6<<0x10|_0x1beaa6>>>0x10,_0x39caad[_0x4f56b1]=_0x1beaa6<<0x8|_0x1beaa6>>>0x18,_0x3d6fe0[_0x4f56b1]=_0x1beaa6;var _0x1beaa6=_0x2b9122*0x1010101^_0x19f5de*0x10001^_0x56597b*0x101^_0x4f56b1*0x1010100;_0x54b273[_0xa11ed8]=_0x1beaa6<<0x18|_0x1beaa6>>>0x8,_0x19a486[_0xa11ed8]=_0x1beaa6<<0x10|_0x1beaa6>>>0x10,_0x351d32[_0xa11ed8]=_0x1beaa6<<0x8|_0x1beaa6>>>0x18,_0x5b11fd[_0xa11ed8]=_0x1beaa6,_0x4f56b1?(_0x4f56b1=_0x56597b^_0x409682[_0x409682[_0x409682[_0x2b9122^_0x56597b]]],_0x1ad500^=_0x409682[_0x409682[_0x1ad500]]):_0x4f56b1=_0x1ad500=0x1;}}());var _0x4518f8=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x3fd33c=_0x50ff77[_0x4400bc(0x1c3)]=_0x767bb6['extend']({'_doReset':function(){var _0x276271=_0x4400bc,_0x10642f;if(!(this[_0x276271(0x2dd)]&&this['_keyPriorReset']===this[_0x276271(0x25f)])){for(var _0x5889af=this['_keyPriorReset']=this[_0x276271(0x25f)],_0x39fc42=_0x5889af[_0x276271(0x370)],_0x3d81f4=_0x5889af[_0x276271(0x3ae)]/0x4,_0x4a5346=this[_0x276271(0x2dd)]=_0x3d81f4+0x6,_0x56c0b9=(_0x4a5346+0x1)*0x4,_0x1ba893=this[_0x276271(0xe2)]=[],_0x391d57=0x0;_0x391d57<_0x56c0b9;_0x391d57++)_0x391d57<_0x3d81f4?_0x1ba893[_0x391d57]=_0x39fc42[_0x391d57]:(_0x10642f=_0x1ba893[_0x391d57-0x1],_0x391d57%_0x3d81f4?_0x3d81f4>0x6&&_0x391d57%_0x3d81f4==0x4&&(_0x10642f=_0x206dea[_0x10642f>>>0x18]<<0x18|_0x206dea[_0x10642f>>>0x10&0xff]<<0x10|_0x206dea[_0x10642f>>>0x8&0xff]<<0x8|_0x206dea[_0x10642f&0xff]):(_0x10642f=_0x10642f<<0x8|_0x10642f>>>0x18,_0x10642f=_0x206dea[_0x10642f>>>0x18]<<0x18|_0x206dea[_0x10642f>>>0x10&0xff]<<0x10|_0x206dea[_0x10642f>>>0x8&0xff]<<0x8|_0x206dea[_0x10642f&0xff],_0x10642f^=_0x4518f8[_0x391d57/_0x3d81f4|0x0]<<0x18),_0x1ba893[_0x391d57]=_0x1ba893[_0x391d57-_0x3d81f4]^_0x10642f);for(var _0x5bae1b=this[_0x276271(0x1a8)]=[],_0x195001=0x0;_0x195001<_0x56c0b9;_0x195001++){var _0x391d57=_0x56c0b9-_0x195001;if(_0x195001%0x4)var _0x10642f=_0x1ba893[_0x391d57];else var _0x10642f=_0x1ba893[_0x391d57-0x4];_0x195001<0x4||_0x391d57<=0x4?_0x5bae1b[_0x195001]=_0x10642f:_0x5bae1b[_0x195001]=_0x54b273[_0x206dea[_0x10642f>>>0x18]]^_0x19a486[_0x206dea[_0x10642f>>>0x10&0xff]]^_0x351d32[_0x206dea[_0x10642f>>>0x8&0xff]]^_0x5b11fd[_0x206dea[_0x10642f&0xff]];}}},'encryptBlock':function(_0x44b507,_0x2c3fcc){var _0x2110b9=_0x4400bc;this[_0x2110b9(0x2cf)](_0x44b507,_0x2c3fcc,this[_0x2110b9(0xe2)],_0x1ce7ba,_0x5167c4,_0x39caad,_0x3d6fe0,_0x206dea);},'decryptBlock':function(_0x501317,_0x5d9b71){var _0xc0f825=_0x4400bc,_0x17473b=_0x501317[_0x5d9b71+0x1];_0x501317[_0x5d9b71+0x1]=_0x501317[_0x5d9b71+0x3],_0x501317[_0x5d9b71+0x3]=_0x17473b,this[_0xc0f825(0x2cf)](_0x501317,_0x5d9b71,this[_0xc0f825(0x1a8)],_0x54b273,_0x19a486,_0x351d32,_0x5b11fd,_0x187c78);var _0x17473b=_0x501317[_0x5d9b71+0x1];_0x501317[_0x5d9b71+0x1]=_0x501317[_0x5d9b71+0x3],_0x501317[_0x5d9b71+0x3]=_0x17473b;},'_doCryptBlock':function(_0x149dca,_0x2fbcfe,_0xa7d588,_0x52b6f8,_0x261643,_0x389253,_0x51e85a,_0x15ebbc){var _0x53684f=_0x4400bc;for(var _0x37ae0d=this[_0x53684f(0x2dd)],_0x15e5f4=_0x149dca[_0x2fbcfe]^_0xa7d588[0x0],_0x1cedc9=_0x149dca[_0x2fbcfe+0x1]^_0xa7d588[0x1],_0x20b2aa=_0x149dca[_0x2fbcfe+0x2]^_0xa7d588[0x2],_0x18d73b=_0x149dca[_0x2fbcfe+0x3]^_0xa7d588[0x3],_0x531cce=0x4,_0x2e524a=0x1;_0x2e524a<_0x37ae0d;_0x2e524a++){var _0x47c310=_0x52b6f8[_0x15e5f4>>>0x18]^_0x261643[_0x1cedc9>>>0x10&0xff]^_0x389253[_0x20b2aa>>>0x8&0xff]^_0x51e85a[_0x18d73b&0xff]^_0xa7d588[_0x531cce++],_0x383243=_0x52b6f8[_0x1cedc9>>>0x18]^_0x261643[_0x20b2aa>>>0x10&0xff]^_0x389253[_0x18d73b>>>0x8&0xff]^_0x51e85a[_0x15e5f4&0xff]^_0xa7d588[_0x531cce++],_0x2d462f=_0x52b6f8[_0x20b2aa>>>0x18]^_0x261643[_0x18d73b>>>0x10&0xff]^_0x389253[_0x15e5f4>>>0x8&0xff]^_0x51e85a[_0x1cedc9&0xff]^_0xa7d588[_0x531cce++],_0x11a207=_0x52b6f8[_0x18d73b>>>0x18]^_0x261643[_0x15e5f4>>>0x10&0xff]^_0x389253[_0x1cedc9>>>0x8&0xff]^_0x51e85a[_0x20b2aa&0xff]^_0xa7d588[_0x531cce++];_0x15e5f4=_0x47c310,_0x1cedc9=_0x383243,_0x20b2aa=_0x2d462f,_0x18d73b=_0x11a207;}var _0x47c310=(_0x15ebbc[_0x15e5f4>>>0x18]<<0x18|_0x15ebbc[_0x1cedc9>>>0x10&0xff]<<0x10|_0x15ebbc[_0x20b2aa>>>0x8&0xff]<<0x8|_0x15ebbc[_0x18d73b&0xff])^_0xa7d588[_0x531cce++],_0x383243=(_0x15ebbc[_0x1cedc9>>>0x18]<<0x18|_0x15ebbc[_0x20b2aa>>>0x10&0xff]<<0x10|_0x15ebbc[_0x18d73b>>>0x8&0xff]<<0x8|_0x15ebbc[_0x15e5f4&0xff])^_0xa7d588[_0x531cce++],_0x2d462f=(_0x15ebbc[_0x20b2aa>>>0x18]<<0x18|_0x15ebbc[_0x18d73b>>>0x10&0xff]<<0x10|_0x15ebbc[_0x15e5f4>>>0x8&0xff]<<0x8|_0x15ebbc[_0x1cedc9&0xff])^_0xa7d588[_0x531cce++],_0x11a207=(_0x15ebbc[_0x18d73b>>>0x18]<<0x18|_0x15ebbc[_0x15e5f4>>>0x10&0xff]<<0x10|_0x15ebbc[_0x1cedc9>>>0x8&0xff]<<0x8|_0x15ebbc[_0x20b2aa&0xff])^_0xa7d588[_0x531cce++];_0x149dca[_0x2fbcfe]=_0x47c310,_0x149dca[_0x2fbcfe+0x1]=_0x383243,_0x149dca[_0x2fbcfe+0x2]=_0x2d462f,_0x149dca[_0x2fbcfe+0x3]=_0x11a207;},'keySize':0x100/0x20});_0x29e3d7[_0x4400bc(0x1c3)]=_0x767bb6[_0x4400bc(0x141)](_0x3fd33c);}()),_0x32e007[_0x4a5006(0x1c3)];}));}(fe)),fe[_0x154af4(0x230)];}var Yi=Ki();const qi=Se(Yi);var zi=Ut();const ot=Se(zi);var be={'exports':{}},Ji=be[_0xd6acc8(0x230)],at;function Xi(){var _0x404186=_0xd6acc8;return at||(at=0x1,function(_0x4b3c62,_0x1d3125){(function(_0x1f8c36,_0x43dfaf){var _0x50affa=_0x2bce;_0x4b3c62[_0x50affa(0x230)]=_0x43dfaf(ee());}(Ji,function(_0x4edefe){var _0x5430a1=_0x2bce;return _0x4edefe['enc'][_0x5430a1(0x28b)];}));}(be)),be[_0x404186(0x230)];}var Zi=Xi();const Qi=Se(Zi);var Re={'exports':{}},en=Re[_0xd6acc8(0x230)],ct;function tn(){return ct||(ct=0x1,function(_0x26698c,_0x314ace){(function(_0x442738,_0x3f8dd4){_0x26698c['exports']=_0x3f8dd4(ee());}(en,function(_0x730db0){var _0x8000f6=_0x2bce;return(function(){var _0x55410e=_0x2bce;if(typeof ArrayBuffer==_0x55410e(0x2ca)){var _0x431e2f=_0x730db0,_0x524d09=_0x431e2f[_0x55410e(0x341)],_0x4d5fa2=_0x524d09[_0x55410e(0x23a)],_0x3e091=_0x4d5fa2['init'],_0x46815b=_0x4d5fa2[_0x55410e(0x253)]=function(_0x1b731a){var _0x56e87c=_0x55410e;if(_0x1b731a instanceof ArrayBuffer&&(_0x1b731a=new Uint8Array(_0x1b731a)),(_0x1b731a instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x1b731a instanceof Uint8ClampedArray||_0x1b731a instanceof Int16Array||_0x1b731a instanceof Uint16Array||_0x1b731a instanceof Int32Array||_0x1b731a instanceof Uint32Array||_0x1b731a instanceof Float32Array||_0x1b731a instanceof Float64Array)&&(_0x1b731a=new Uint8Array(_0x1b731a[_0x56e87c(0x198)],_0x1b731a['byteOffset'],_0x1b731a[_0x56e87c(0x279)])),_0x1b731a instanceof Uint8Array){for(var _0x208905=_0x1b731a[_0x56e87c(0x279)],_0x5edc28=[],_0x4519bc=0x0;_0x4519bc<_0x208905;_0x4519bc++)_0x5edc28[_0x4519bc>>>0x2]|=_0x1b731a[_0x4519bc]<<0x18-_0x4519bc%0x4*0x8;_0x3e091[_0x56e87c(0x2ef)](this,_0x5edc28,_0x208905);}else _0x3e091[_0x56e87c(0x3c8)](this,arguments);};_0x46815b[_0x55410e(0x2d8)]=_0x4d5fa2;}}()),_0x730db0[_0x8000f6(0x341)]['WordArray'];}));}(Re)),Re['exports'];}var nn=tn();const rn=Se(nn);var Oe={'exports':{}},sn=Oe[_0xd6acc8(0x230)],ht;function on(){var _0x56f5=_0xd6acc8;return ht||(ht=0x1,function(_0x4e3795,_0x28bc3f){(function(_0x2e4724,_0x333df0,_0xac8f2c){_0x4e3795['exports']=_0x333df0(ee(),Pt());}(sn,function(_0x359466){var _0x20ae32=_0x2bce;return _0x359466['pad'][_0x20ae32(0x2db)]={'pad':function(){},'unpad':function(){}},_0x359466[_0x20ae32(0x1fe)]['NoPadding'];}));}(Oe)),Oe[_0x56f5(0x230)];}var an=on();const cn=Se(an);function hn(_0x29cdfe,_0x36d922){var _0x5e1865=_0xd6acc8;const _0x104319=_0x36d922-_0x29cdfe[_0x5e1865(0x108)]%_0x36d922,_0x42faae=String[_0x5e1865(0xfc)](_0x104319)['repeat'](_0x104319);return _0x29cdfe+_0x42faae;}function ln(_0x4eb0d1,_0x2f98aa){var _0x4dc141=_0xd6acc8;const _0x4f6320=rn['random'](0x10),_0x3711ec=hn(_0x4eb0d1,0x10),_0x52a601=qi['encrypt'](Qi[_0x4dc141(0x36d)](_0x3711ec),ot['parse'](_0x2f98aa),{'iv':_0x4f6320,'padding':cn});return _0x4f6320[_0x4dc141(0x30a)](_0x52a601[_0x4dc141(0x200)])[_0x4dc141(0x1b2)](ot);}function _n(){var _0x1e4260=_0xd6acc8;const _0x4f33c5=xt[_0x1e4260(0xd3)]()['__Key__'];if(_0x4f33c5){const _0x2a3730={'time':Math['floor'](Date['now']()/0x3e8),'domain':location[_0x1e4260(0x13c)]};return ln(JSON[_0x1e4260(0xa4)](_0x2a3730),_0x4f33c5);}}var un=Object[_0xd6acc8(0x3b7)],dn=(_0x27087b,_0x3536dc,_0x677b3c,_0x58a4df)=>{var _0x251287=_0xd6acc8;for(var _0x30bf69=_0x58a4df>0x1?void 0x0:_0x58a4df?un(_0x3536dc,_0x677b3c):_0x3536dc,_0x1e2fb1=_0x27087b[_0x251287(0x108)]-0x1,_0x551dbb;_0x1e2fb1>=0x0;_0x1e2fb1--)(_0x551dbb=_0x27087b[_0x1e2fb1])&&(_0x30bf69=_0x551dbb(_0x30bf69)||_0x30bf69);return _0x30bf69;},vn=(_0x28b0f7,_0x8b29ee)=>(_0x4e9deb,_0x255e56)=>_0x8b29ee(_0x4e9deb,_0x255e56,_0x28b0f7);let Ne=class{constructor(_0x4f8cbc){var _0xf9b45d=_0xd6acc8;this[_0xf9b45d(0x3b5)]=_0x4f8cbc,this[_0xf9b45d(0x404)]();}['_initRequestHeader'](){var _0x2a644f=_0xd6acc8;this[_0x2a644f(0x3b5)]['registerHTTPInterceptor']({'interceptor':(_0x28092d,_0x2bb4cb)=>{var _0x3f7ef9=_0x2a644f;const _0x5857db=_0x28092d['headers'],_0x648beb=_n();return _0x648beb&&_0x5857db[_0x3f7ef9(0x3b3)]('x-univer-host',_0x648beb),_0x2bb4cb(_0x28092d);}});}};Ne=dn([vn(0x0,a['Inject'](q['HTTPService']))],Ne);var Sn=Object[_0xd6acc8(0x3b7)],fn=(_0x2eb911,_0x31f8e9,_0x53a925,_0x58f89e)=>{var _0x15f58d=_0xd6acc8;for(var _0x51a9e3=_0x58f89e>0x1?void 0x0:_0x58f89e?Sn(_0x31f8e9,_0x53a925):_0x31f8e9,_0x342bb9=_0x2eb911[_0x15f58d(0x108)]-0x1,_0x4c1d4c;_0x342bb9>=0x0;_0x342bb9--)(_0x4c1d4c=_0x2eb911[_0x342bb9])&&(_0x51a9e3=_0x4c1d4c(_0x51a9e3)||_0x51a9e3);return _0x51a9e3;},Me=(_0x600bd9,_0x200052)=>(_0x50d216,_0x26e0be)=>_0x200052(_0x50d216,_0x26e0be,_0x600bd9);exports[_0xd6acc8(0x323)]=class extends a[_0xd6acc8(0x40b)]{constructor(_0x345812,_0x1efdd2,_0x28446e){var _0xe910ad=_0xd6acc8;super(),A(this,_0xe910ad(0x2e3),new j['BehaviorSubject'](null)),A(this,'unitInfo$',this[_0xe910ad(0x2e3)][_0xe910ad(0x286)]()),(this['_logService']=_0x345812,this['_snapshotService']=_0x1efdd2,this[_0xe910ad(0x3b8)]=_0x28446e);}async['loadUnit'](_0x5db49e,_0x4f4ac9,_0x2c30ba){var _0x2244c2=_0xd6acc8;this[_0x2244c2(0x2e3)][_0x2244c2(0x143)]({'unitId':_0x5db49e,'type':_0x4f4ac9,'subUnitId':_0x2c30ba});let _0x21709f=null;switch(_0x4f4ac9){case X[_0x2244c2(0x315)]:{_0x21709f=await this['_loadSheet'](_0x5db49e);break;}case X['UNIVER_DOC']:{_0x21709f=await this[_0x2244c2(0x357)](_0x5db49e);break;}default:{this[_0x2244c2(0x1fb)]['error'](_0x2244c2(0x13e),_0x2244c2(0x192));break;}}return _0x21709f;}async['_loadSheet'](_0x58cc76){var _0x160a71=_0xd6acc8,_0x17a5e7;let _0x54f979=0x0;const _0x1ce049=await((_0x17a5e7=this[_0x160a71(0x3b8)])==null?void 0x0:_0x17a5e7[_0x160a71(0x35f)](_0x58cc76));return _0x1ce049&&(_0x1ce049['awaitingChangeset']||_0x1ce049[_0x160a71(0x1cc)][_0x160a71(0x108)]!==0x0)&&(_0x54f979=_0x1ce049[_0x160a71(0x2bc)]),_0x54f979===0x0&&this[_0x160a71(0x1fb)]['debug'](_0x160a71(0x13e),_0x160a71(0x2e1)),this[_0x160a71(0x20c)]['loadSheet'](_0x58cc76,_0x54f979);}async[_0xd6acc8(0x357)](_0x1ee7ee){var _0x1a856e=_0xd6acc8,_0x441a39;let _0x359acb=0x0;const _0x5aa53b=await((_0x441a39=this[_0x1a856e(0x3b8)])==null?void 0x0:_0x441a39[_0x1a856e(0x35f)](_0x1ee7ee));return _0x5aa53b&&(_0x5aa53b[_0x1a856e(0x122)]||_0x5aa53b['mutations']['length']!==0x0)&&(_0x359acb=_0x5aa53b[_0x1a856e(0x2bc)]),_0x359acb===0x0&&this['_logService']['debug']('[DataLoaderService]',_0x1a856e(0x2e1)),this[_0x1a856e(0x20c)][_0x1a856e(0x374)](_0x1ee7ee,_0x359acb);}},exports['DataLoaderService']=fn([Me(0x0,a[_0xd6acc8(0xe1)]),Me(0x1,a['Inject'](g[_0xd6acc8(0x3fb)])),Me(0x2,a[_0xd6acc8(0xfb)](z))],exports[_0xd6acc8(0x323)]);var pn=Object[_0xd6acc8(0x3b7)],gn=(_0x4279ea,_0x1abec4,_0x3d2f06,_0x5be4f4)=>{var _0x59c824=_0xd6acc8;for(var _0x47e0bd=_0x5be4f4>0x1?void 0x0:_0x5be4f4?pn(_0x1abec4,_0x3d2f06):_0x1abec4,_0xda668a=_0x4279ea[_0x59c824(0x108)]-0x1,_0x4e704c;_0xda668a>=0x0;_0xda668a--)(_0x4e704c=_0x4279ea[_0xda668a])&&(_0x47e0bd=_0x4e704c(_0x47e0bd)||_0x47e0bd);return _0x47e0bd;},xe=(_0x4e3983,_0x4ffe52)=>(_0x12e102,_0x3784d6)=>_0x4ffe52(_0x12e102,_0x3784d6,_0x4e3983);const mn=[_0xd6acc8(0x367),'image/jpeg',_0xd6acc8(0x249),'image/gif',_0xd6acc8(0x3db)],In=0x5*0x400*0x400,En=_0xd6acc8(0x321),Cn=_0xd6acc8(0x3c2),Tn=_0xd6acc8(0x2ad),bn=_0xd6acc8(0x3cd);exports[_0xd6acc8(0x219)]=class{constructor(_0x9439ac,_0x1d4731,_0x2b16b1){var _0x426475=_0xd6acc8;A(this,_0x426475(0xe9),0x0),A(this,'_change$',new j['Subject']()),A(this,_0x426475(0xb3),this['_change$']),A(this,_0x426475(0x162),new Map()),(this['_httpService']=_0x9439ac,this[_0x426475(0x239)]=_0x1d4731,this[_0x426475(0x14a)]=_0x2b16b1);}[_0xd6acc8(0x1ae)](_0x483deb){var _0x4f6e7e=_0xd6acc8;this[_0x4f6e7e(0xe9)]=_0x483deb,this[_0x4f6e7e(0x241)][_0x4f6e7e(0x143)](_0x483deb);}['getImageSourceCache'](_0x3fda5b,_0x3a4bb3){var _0x46ff19=_0xd6acc8;if(_0x3a4bb3===J[_0x46ff19(0x2d5)][_0x46ff19(0x327)]){const _0x4d7822=new Image();return _0x4d7822[_0x46ff19(0x1cb)]=_0x3fda5b,_0x4d7822;}return this[_0x46ff19(0x162)][_0x46ff19(0x2c8)](_0x3fda5b);}['addImageSourceCache'](_0x2526de,_0x58e18d,_0x539d5f){var _0x243f2b=_0xd6acc8;_0x58e18d===J[_0x243f2b(0x2d5)]['BASE64']||_0x539d5f==null||this[_0x243f2b(0x162)][_0x243f2b(0x3b3)](_0x2526de,_0x539d5f);}async[_0xd6acc8(0xbe)](_0x10f4be){var _0x42ca6d=_0xd6acc8;try{const _0x799cae=this[_0x42ca6d(0x142)](this['_getSignURL'](),''+_0x10f4be),_0x2bb7ac=(await this[_0x42ca6d(0x3b5)][_0x42ca6d(0x2c8)](_0x799cae))[_0x42ca6d(0x32a)];if(_0x2bb7ac[_0x42ca6d(0xf9)]&&_0x2bb7ac[_0x42ca6d(0xf9)][_0x42ca6d(0x1ee)]===Ct['OK']){const _0x2f58e4=new URL(_0x2bb7ac[_0x42ca6d(0x297)],this[_0x42ca6d(0x2e8)]())[_0x42ca6d(0x1b2)]();return Promise[_0x42ca6d(0x396)](_0x2f58e4);}return Promise['reject'](_0x2bb7ac[_0x42ca6d(0xf9)]);}catch(_0x6004ba){return Promise['reject'](_0x6004ba);}}async[_0xd6acc8(0x140)](_0x251d05){var _0x29c2cf=_0xd6acc8;let _0x48cc22='';if(!mn['includes'](_0x251d05['type']))return this[_0x29c2cf(0x27f)](),Promise[_0x29c2cf(0x1b3)](new Error(J[_0x29c2cf(0x1a2)][_0x29c2cf(0x1e5)]));if(_0x251d05[_0x29c2cf(0x1da)]>In)return this['_decreaseWaiting'](),Promise[_0x29c2cf(0x1b3)](new Error(J[_0x29c2cf(0x1a2)][_0x29c2cf(0x1f7)]));try{const _0x495c28=new FormData();_0x495c28[_0x29c2cf(0x3c9)](_0x29c2cf(0x133),_0x251d05);const _0x4360e0=this['_univerInstanceService']['getFocusedUnit'](),_0x14bad6=_0x4360e0==null?void 0x0:_0x4360e0[_0x29c2cf(0x153)]();if(!_0x14bad6)throw new Error(_0x29c2cf(0x2a1));const _0x290b3e=this[_0x29c2cf(0x101)]()+'?size='+_0x251d05[_0x29c2cf(0x1da)]['toString']()+_0x29c2cf(0x1b4)+Tt[_0x29c2cf(0x2dc)]+'&assign='+encodeURIComponent(_0x14bad6),_0x3115aa=await(await fetch(_0x290b3e,{'method':_0x29c2cf(0x2c2),'body':_0x495c28}))[_0x29c2cf(0x26d)]();if(typeof _0x3115aa[_0x29c2cf(0x2fa)]!='string')return this[_0x29c2cf(0x27f)](),Promise[_0x29c2cf(0x1b3)](new Error(J[_0x29c2cf(0x1a2)]['ERROR_IMAGE']));_0x48cc22=_0x3115aa[_0x29c2cf(0x2fa)];}catch{return this[_0x29c2cf(0x27f)](),Promise[_0x29c2cf(0x1b3)](new Error(J[_0x29c2cf(0x1a2)][_0x29c2cf(0x129)]));}return new Promise((_0x5a7f64,_0x124890)=>{var _0x231cac=_0x29c2cf;const _0x1a9477=new FileReader();_0x1a9477[_0x231cac(0x1de)](_0x251d05),_0x1a9477[_0x231cac(0x319)]=_0x39ebcd=>{var _0x66c64e=_0x231cac,_0x17f8e4;const _0x5fee15=(_0x17f8e4=_0x39ebcd[_0x66c64e(0x1bf)])==null?void 0x0:_0x17f8e4[_0x66c64e(0x157)];if(_0x5fee15==null){this[_0x66c64e(0x27f)](),_0x124890(new Error(J[_0x66c64e(0x1a2)][_0x66c64e(0x129)]));return;}const _0x26d59f=a[_0x66c64e(0xa3)]['generateRandomId'](0x6);_0x5a7f64({'imageId':_0x26d59f,'imageSourceType':J['ImageSourceType']['UUID'],'source':_0x48cc22,'base64Cache':_0x5fee15,'status':J['ImageUploadStatusType'][_0x66c64e(0xab)]}),this[_0x66c64e(0x27f)]();};});}[_0xd6acc8(0x101)](){var _0x18953c=_0xd6acc8,_0x5c2088,_0x44b9ae;const _0x2b7f64=this[_0x18953c(0x239)]['getConfig'](En),_0x22ff63=this[_0x18953c(0x239)][_0x18953c(0xc8)](Y);return(_0x44b9ae=(_0x5c2088=_0x22ff63==null?void 0x0:_0x22ff63[_0x18953c(0x124)])!=null?_0x5c2088:_0x2b7f64)!=null?_0x44b9ae:Cn;}['_getSignURL'](){var _0x5a152e=_0xd6acc8,_0x615c02,_0x46f5f8;const _0x145e5e=this[_0x5a152e(0x239)][_0x5a152e(0xc8)](Tn),_0x22ee74=this['_configService']['getConfig'](Y);return(_0x46f5f8=(_0x615c02=_0x22ee74==null?void 0x0:_0x22ee74[_0x5a152e(0x103)])!=null?_0x615c02:_0x145e5e)!=null?_0x46f5f8:bn;}[_0xd6acc8(0x2e8)](){var _0xef7ff5=_0xd6acc8,_0x4b13ad;const _0xfcbcb4=this[_0xef7ff5(0x239)]['getConfig'](Y);return(_0x4b13ad=_0xfcbcb4==null?void 0x0:_0xfcbcb4['downloadEndpointUrl'])!=null?_0x4b13ad:location[_0xef7ff5(0x113)];}['_replaceFileID'](_0x496c66,_0x403cee){var _0x3ce342=_0xd6acc8;return _0x496c66[_0x3ce342(0x37c)](_0x3ce342(0xec),_0x403cee);}[_0xd6acc8(0x27f)](){var _0x2ea9cc=_0xd6acc8;this[_0x2ea9cc(0xe9)]-=0x1,this[_0x2ea9cc(0x241)][_0x2ea9cc(0x143)](this[_0x2ea9cc(0xe9)]);}},exports[_0xd6acc8(0x219)]=gn([xe(0x0,a[_0xd6acc8(0x412)](q[_0xd6acc8(0x2e4)])),xe(0x1,a[_0xd6acc8(0x105)]),xe(0x2,a[_0xd6acc8(0x412)](a[_0xd6acc8(0xd8)]))],exports['CollaborationImageIoService']);var Rn=Object[_0xd6acc8(0x3b7)],On=(_0x25c610,_0x5db67c,_0x58734c,_0x565fe4)=>{for(var _0x2d40d5=_0x565fe4>0x1?void 0x0:_0x565fe4?Rn(_0x5db67c,_0x58734c):_0x5db67c,_0x3c38aa=_0x25c610['length']-0x1,_0x14d776;_0x3c38aa>=0x0;_0x3c38aa--)(_0x14d776=_0x25c610[_0x3c38aa])&&(_0x2d40d5=_0x14d776(_0x2d40d5)||_0x2d40d5);return _0x2d40d5;},lt=(_0x4223de,_0x2d51d5)=>(_0x387459,_0x6c0ba6)=>_0x2d51d5(_0x387459,_0x6c0ba6,_0x4223de);const yn=_0xd6acc8(0x273);exports[_0xd6acc8(0x172)]=class{constructor(_0x2460f8,_0x38838f){var _0x5076b7=_0xd6acc8;this[_0x5076b7(0x239)]=_0x2460f8,this[_0x5076b7(0x19e)]=_0x38838f;}[_0xd6acc8(0x12c)](){var _0x14b09f=_0xd6acc8,_0x123d70,_0x28d334;const _0x3f4bcb=this[_0x14b09f(0x239)]['getConfig'](Ge),_0x20a6e9=this[_0x14b09f(0x239)][_0x14b09f(0xc8)](Y);return(_0x28d334=(_0x123d70=_0x20a6e9==null?void 0x0:_0x20a6e9[_0x14b09f(0x231)])!=null?_0x123d70:_0x3f4bcb)!=null?_0x28d334:yn;}async[_0xd6acc8(0x3a0)](_0x418e80){var _0x47a66b=_0xd6acc8;const _0x4bf986=this[_0x47a66b(0x12c)]()+'/collaborator';return{'list':[{'title':_0x47a66b(0x22f),'mentions':(await this[_0x47a66b(0x19e)]['get'](_0x4bf986,{'params':{'objectID':_0x418e80[_0x47a66b(0x251)],'unitID':_0x418e80[_0x47a66b(0x251)]}}))[_0x47a66b(0x32a)][_0x47a66b(0x283)][_0x47a66b(0x36f)](_0x54a1cd=>({'objectId':_0x54a1cd['id'],'name':_0x54a1cd[_0x47a66b(0x14b)][_0x47a66b(0xc6)],'metadata':{'icon':_0x54a1cd[_0x47a66b(0x14b)]['avatar']},'label':_0x54a1cd[_0x47a66b(0x14b)][_0x47a66b(0xc6)],'objectType':a['MentionType']['PERSON']})),'metadata':{},'type':a[_0x47a66b(0x291)]['PERSON']}]};}},exports[_0xd6acc8(0x172)]=On([lt(0x0,a[_0xd6acc8(0x412)](a['IConfigService'])),lt(0x1,a[_0xd6acc8(0x412)](q[_0xd6acc8(0x2e4)]))],exports['MentionIoHttpService']);var Nn=Object[_0xd6acc8(0x3b7)],Dn=(_0x131b36,_0x20c942,_0xbcfd9a,_0x2b8ff7)=>{var _0xce589d=_0xd6acc8;for(var _0x4f1648=_0x2b8ff7>0x1?void 0x0:_0x2b8ff7?Nn(_0x20c942,_0xbcfd9a):_0x20c942,_0x4a816f=_0x131b36[_0xce589d(0x108)]-0x1,_0x252a1e;_0x4a816f>=0x0;_0x4a816f--)(_0x252a1e=_0x131b36[_0x4a816f])&&(_0x4f1648=_0x252a1e(_0x4f1648)||_0x4f1648);return _0x4f1648;},ue=(_0x570a54,_0x543f68)=>(_0x2e1aed,_0x24930c)=>_0x543f68(_0x2e1aed,_0x24930c,_0x570a54);let De=class extends a[_0xd6acc8(0x40b)]{constructor(_0x35dd4e,_0x307f66,_0x37a5d6,_0x50912c,_0x4dc135){var _0x1f962b=_0xd6acc8;super(),this[_0x1f962b(0x114)]=_0x35dd4e,this[_0x1f962b(0x14a)]=_0x307f66,this[_0x1f962b(0x23c)]=_0x37a5d6,this[_0x1f962b(0xfe)]=_0x50912c,this[_0x1f962b(0x152)]=_0x4dc135,this[_0x1f962b(0x149)](),this['_initCloseConn']();}['_initCloseConn'](){var _0xb6f59e=_0xd6acc8;const _0xf5f411=async _0x59ee54=>{var _0x285631=_0x2bce;(await this[_0x285631(0xfe)][_0x285631(0xb2)](_0x59ee54))['event$']['pipe'](V[_0x285631(0x3ec)](_0x4cac96=>_0x4cac96[_0x285631(0x1a4)]===g[_0x285631(0x1b8)][_0x285631(0x35c)]),V[_0x285631(0x36e)](this[_0x285631(0x3cf)]))['subscribe'](_0x11f214=>{var _0x1cf4e2=_0x285631;const _0x1be371=_0x11f214,{reason:_0x590f4d}=_0x1be371['data'];this[_0x1cf4e2(0x152)][_0x1cf4e2(0x205)]({'id':Q[_0x1cf4e2(0x3ee)],'data':_0x590f4d}),this[_0x1cf4e2(0x23c)][_0x1cf4e2(0x3a4)](new Z[(_0x1cf4e2(0x112))](_0x59ee54)['id'],!0x1),this[_0x1cf4e2(0xfe)][_0x1cf4e2(0x3f6)](_0x59ee54);});};j[_0xb6f59e(0x2ab)](this['_univerInstanceService'][_0xb6f59e(0x232)](a[_0xb6f59e(0x159)]['UNIVER_SHEET']),this[_0xb6f59e(0x14a)][_0xb6f59e(0x232)](a[_0xb6f59e(0x159)]['UNIVER_DOC']))[_0xb6f59e(0x348)](V['map'](_0x59be1c=>_0x59be1c[_0xb6f59e(0x153)]()),V[_0xb6f59e(0x3ec)](_0x5b4678=>!a[_0xb6f59e(0xc7)](_0x5b4678)),V['takeUntil'](this[_0xb6f59e(0x3cf)]))['subscribe'](_0x4c68b5=>{_0xf5f411(_0x4c68b5);});}[_0xd6acc8(0x149)](){var _0x1c42e8=_0xd6acc8;const _0x3d1970=async _0x2c6657=>{var _0x5272c3=_0x2bce;const _0x4b81ae=await this[_0x5272c3(0xfe)]['requireSession'](_0x2c6657),_0x14a37a=this[_0x5272c3(0x114)][_0x5272c3(0x2c8)](Z[_0x5272c3(0x22a)]);_0x4b81ae[_0x5272c3(0x21a)][_0x5272c3(0x348)](V[_0x5272c3(0x3ec)](_0x9d75ab=>_0x9d75ab[_0x5272c3(0x1a4)]===g['CollaborationEvent'][_0x5272c3(0x1d1)]),V[_0x5272c3(0x36e)](this[_0x5272c3(0x3cf)]))[_0x5272c3(0x21b)](_0x36ecd4=>{var _0x4843cb=_0x5272c3;const _0x8c25ef=_0x36ecd4,{objectId:_0x503e76}=_0x8c25ef[_0x4843cb(0x24d)];_0x503e76===_0x2c6657?_0x14a37a[_0x4843cb(0x257)](_0x2c6657):_0x14a37a['refreshPermission'](_0x2c6657,_0x503e76);});};j[_0x1c42e8(0x2ab)](this[_0x1c42e8(0x14a)][_0x1c42e8(0x232)](a['UniverInstanceType'][_0x1c42e8(0x315)]))['pipe'](V[_0x1c42e8(0x36f)](_0x45417a=>_0x45417a[_0x1c42e8(0x153)]()),V[_0x1c42e8(0x3ec)](_0x29bdb1=>!a[_0x1c42e8(0xc7)](_0x29bdb1)),V[_0x1c42e8(0x36e)](this[_0x1c42e8(0x3cf)]))[_0x1c42e8(0x21b)](_0x524a4b=>{_0x3d1970(_0x524a4b);});}};De=Dn([ue(0x0,a[_0xd6acc8(0x412)](a['Injector'])),ue(0x1,a[_0xd6acc8(0xd8)]),ue(0x2,a[_0xd6acc8(0x359)]),ue(0x3,a['Inject'](exports[_0xd6acc8(0xc5)])),ue(0x4,a[_0xd6acc8(0x412)](te))],De);var Un=Object[_0xd6acc8(0x3b7)],An=(_0x1af3e0,_0x59262c,_0x5d0a3f,_0x596daa)=>{for(var _0x517a43=_0x596daa>0x1?void 0x0:_0x596daa?Un(_0x59262c,_0x5d0a3f):_0x59262c,_0x31f930=_0x1af3e0['length']-0x1,_0x260c23;_0x31f930>=0x0;_0x31f930--)(_0x260c23=_0x1af3e0[_0x31f930])&&(_0x517a43=_0x260c23(_0x517a43)||_0x517a43);return _0x517a43;},_t=(_0x3f8969,_0x5a1443)=>(_0x587a7c,_0x49bb8d)=>_0x5a1443(_0x587a7c,_0x49bb8d,_0x3f8969);exports['SnapshotServerOverHTTPService']=class{constructor(_0xc50284,_0x542278){var _0x51d89e=_0xd6acc8;this[_0x51d89e(0x239)]=_0xc50284,this[_0x51d89e(0x3b5)]=_0x542278;}async[_0xd6acc8(0x102)](_0x191e44,_0x157509){var _0x673336=_0xd6acc8,_0x32cd8c;const {unitID:_0x44a148,type:_0x4f3871,revision:_0x1a11d1=0x0}=_0x157509,_0x3bb127=this[_0x673336(0x154)]()+'/'+_0x4f3871+_0x673336(0x220)+_0x44a148+_0x673336(0x3dd)+_0x1a11d1,_0x284894=(await this[_0x673336(0x3b5)][_0x673336(0x2c8)](_0x3bb127))[_0x673336(0x32a)],_0x2e04ff=(_0x32cd8c=_0x284894[_0x673336(0x40f)])==null?void 0x0:_0x32cd8c['workbook'];if(_0x2e04ff){const _0x266299=_0x2e04ff==null?void 0x0:_0x2e04ff['originalMeta'],_0x25e0ac=g[_0x673336(0xf0)]['encode'](g[_0x673336(0xb0)](_0x266299));_0x2e04ff[_0x673336(0x1b7)]=_0x25e0ac,Object[_0x673336(0x27d)](_0x2e04ff['sheets'])[_0x673336(0x3c6)](([,_0x34e19a])=>{var _0x4dd3d4=_0x673336;const _0x3b6210=_0x34e19a[_0x4dd3d4(0x1b7)],_0xbc944c=g[_0x4dd3d4(0xf0)][_0x4dd3d4(0x32d)](g[_0x4dd3d4(0xb0)](_0x3b6210));_0x34e19a[_0x4dd3d4(0x1b7)]=_0xbc944c;});}return _0x284894;}async[_0xd6acc8(0x39a)](_0x2eed55,_0x39d06d){var _0x26c371=_0xd6acc8;const {unitID:_0x5938b7,type:_0x437bb4,blockID:_0x340818}=_0x39d06d,_0xb68774=this[_0x26c371(0x21c)]()+'/'+_0x437bb4+_0x26c371(0x220)+_0x5938b7+_0x26c371(0x31f)+_0x340818;return(await this['_httpService']['get'](_0xb68774))['body'];}async[_0xd6acc8(0x137)](_0x207b98,_0x417cc0){var _0x240fa9=_0xd6acc8;const {unitID:_0x56353d,type:_0x3072e0,blockID:_0x40a440}=_0x417cc0,_0x2cd8c3=this[_0x240fa9(0x21c)]()+_0x240fa9(0x31f)+_0x3072e0+_0x240fa9(0x220)+_0x56353d+_0x240fa9(0x31f)+_0x40a440;return(await this[_0x240fa9(0x3b5)][_0x240fa9(0x2c8)](_0x2cd8c3))['body'];}async[_0xd6acc8(0xe5)](_0x5ceab6,_0x401441){var _0x5671e5=_0xd6acc8;const {unitID:_0x4cde53,type:_0x448169,from:_0x29ef98,to:_0x4337bc}=_0x401441,_0x1f55b4=this[_0x5671e5(0x21c)]()+'/'+_0x448169+_0x5671e5(0x220)+_0x4cde53+_0x5671e5(0x38e)+_0x29ef98+_0x5671e5(0x3bd)+_0x4337bc;return(await this[_0x5671e5(0x3b5)][_0x5671e5(0x2c8)](_0x1f55b4))[_0x5671e5(0x32a)];}[_0xd6acc8(0x154)](){var _0x113d67=_0xd6acc8,_0x412b92;return(_0x412b92=this[_0x113d67(0x239)][_0x113d67(0xc8)](vt))!=null?_0x412b92:this[_0x113d67(0x21c)]();}['_getAPIPrefix'](){var _0x264746=_0xd6acc8,_0xc90c65,_0x46e6ba;const _0x47192e=this[_0x264746(0x239)][_0x264746(0xc8)](dt),_0x129593=this[_0x264746(0x239)][_0x264746(0xc8)](Y);return(_0x46e6ba=(_0xc90c65=_0x129593==null?void 0x0:_0x129593[_0x264746(0x193)])!=null?_0xc90c65:_0x47192e)!=null?_0x46e6ba:kt;}async[_0xd6acc8(0x144)](_0x3f9d06,_0x170863){var _0x12a927=_0xd6acc8;const _0x133164=_0x12a927(0x131)+_0x170863[_0x12a927(0x38a)]+_0x12a927(0x220)+_0x170863[_0x12a927(0x2b8)]+_0x12a927(0x1f5);return(await this[_0x12a927(0x3b5)]['get'](_0x133164,{'params':{'resourceId':JSON[_0x12a927(0xa4)](_0x170863[_0x12a927(0x37d)])}}))[_0x12a927(0x32a)];}[_0xd6acc8(0xdd)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0xd6acc8(0x415)](){var _0xe0dc01=_0xd6acc8;throw new Error(_0xe0dc01(0x261));}[_0xd6acc8(0x2d1)](){var _0x2c1819=_0xd6acc8;throw new Error(_0x2c1819(0x261));}['copyFileMeta'](){var _0x5d10b1=_0xd6acc8;throw new Error(_0x5d10b1(0x261));}['getLatestCsReqIdBySid'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},exports[_0xd6acc8(0x16f)]=An([_t(0x0,a['IConfigService']),_t(0x1,a[_0xd6acc8(0x412)](q[_0xd6acc8(0x2e4)]))],exports['SnapshotServerOverHTTPService']);var Pn=Object[_0xd6acc8(0x3b7)],wn=(_0x46e9ae,_0xb4ab15,_0xbbd874,_0x1183c0)=>{var _0x439c7f=_0xd6acc8;for(var _0x610af0=_0x1183c0>0x1?void 0x0:_0x1183c0?Pn(_0xb4ab15,_0xbbd874):_0xb4ab15,_0x51ab7b=_0x46e9ae[_0x439c7f(0x108)]-0x1,_0x17ef63;_0x51ab7b>=0x0;_0x51ab7b--)(_0x17ef63=_0x46e9ae[_0x51ab7b])&&(_0x610af0=_0x17ef63(_0x610af0)||_0x610af0);return _0x610af0;},de=(_0x5b113f,_0x34e28e)=>(_0x1955df,_0x55c40f)=>_0x34e28e(_0x1955df,_0x55c40f,_0x5b113f);exports[_0xd6acc8(0x36a)]=class extends a['LocalUndoRedoService']{constructor(_0x172f83,_0x2d5fb7,_0x267330,_0x1f61e4,_0x35e8a2){var _0x8e530a=_0xd6acc8;super(_0x172f83,_0x2d5fb7,_0x267330),this['_transformService']=_0x1f61e4,this[_0x8e530a(0x1fb)]=_0x35e8a2;}['transformUndoRedo'](_0x58983a,_0x2bc719){var _0x2ffbe7=_0xd6acc8;const _0x2dc477=this[_0x2ffbe7(0x31d)](_0x58983a);if(_0x2dc477)try{const _0x53cba2=this[_0x2ffbe7(0x1bb)](_0x2dc477,_0x2bc719);this[_0x2ffbe7(0x347)](_0x58983a,_0x53cba2);}catch(_0x42029f){this['_logService'][_0x2ffbe7(0xf9)](_0x2ffbe7(0x106),_0x42029f),this['_clearUndo'](_0x58983a);}const _0x22a71c=this['_getRedoStack'](_0x58983a);if(_0x22a71c)try{const _0xfe402b=this[_0x2ffbe7(0x1bb)](_0x22a71c,_0x2bc719);this[_0x2ffbe7(0x372)](_0x58983a,_0xfe402b);}catch(_0x56ee9e){this[_0x2ffbe7(0x1fb)][_0x2ffbe7(0xf9)](_0x56ee9e),this['_clearRedo'](_0x58983a);}}[_0xd6acc8(0x3f9)](_0x50f7da){var _0x1073da=_0xd6acc8;const _0x3994ba=this[_0x1073da(0x31d)](_0x50f7da);_0x3994ba&&(_0x3994ba[_0x1073da(0x108)]=0x0,this[_0x1073da(0x2e9)]());}[_0xd6acc8(0x173)](_0x426f82){var _0xcad86e=_0xd6acc8;const _0x5574e6=this['_getRedoStack'](_0x426f82);_0x5574e6&&(_0x5574e6['length']=0x0,this[_0xcad86e(0x2e9)]());}[_0xd6acc8(0x347)](_0x15220b,_0x21cbf3){var _0x24a7a1=_0xd6acc8;this['_undoStacks'][_0x24a7a1(0x3b3)](_0x15220b,_0x21cbf3),this[_0x24a7a1(0x2e9)]();}[_0xd6acc8(0x372)](_0xc53c1a,_0x54c14f){var _0x54e827=_0xd6acc8;this[_0x54e827(0x15a)][_0x54e827(0x3b3)](_0xc53c1a,_0x54c14f),this[_0x54e827(0x2e9)]();}[_0xd6acc8(0x1bb)](_0x1d3adf,_0x1ebf93){var _0x232f60=_0xd6acc8;const _0x2a36bb=[];let _0x318262=_0x1ebf93,_0x2e1a07=_0x1ebf93;for(let _0x297c23=_0x1d3adf[_0x232f60(0x108)]-0x1;_0x297c23>=0x0;_0x297c23--){const {unitID:_0x129a6b,undoMutations:_0xbda9dd,redoMutations:_0x32ab33}=_0x1d3adf[_0x297c23],_0x98285=this['_transformService']['transformMutationsWithChangeset'](_0x318262,_0xbda9dd),_0x20380d=this[_0x232f60(0x1b0)][_0x232f60(0x16e)](_0x2e1a07,_0x32ab33);if(g[_0x232f60(0x324)](_0x98285)||g[_0x232f60(0x324)](_0x20380d)){this[_0x232f60(0x1fb)]['error'](_0x232f60(0x106),_0x232f60(0x247),_0x98285,_0x20380d);break;}_0x318262=_0x98285['c1Prime'],_0x2e1a07=_0x20380d[_0x232f60(0x234)],_0x2a36bb['push']({'unitID':_0x129a6b,'undoMutations':_0x98285[_0x232f60(0x150)],'redoMutations':_0x20380d[_0x232f60(0x150)]});}return _0x2a36bb[_0x232f60(0x410)]();}},exports[_0xd6acc8(0x36a)]=wn([de(0x0,a[_0xd6acc8(0xd8)]),de(0x1,a[_0xd6acc8(0x151)]),de(0x2,a[_0xd6acc8(0x225)]),de(0x3,g[_0xd6acc8(0x223)]),de(0x4,a[_0xd6acc8(0xe1)])],exports[_0xd6acc8(0x36a)]);var Ln=Object[_0xd6acc8(0x18a)],Mn=Object[_0xd6acc8(0x3b7)],xn=(_0x30be7a,_0x270497,_0x300cf9)=>_0x270497 in _0x30be7a?Ln(_0x30be7a,_0x270497,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x300cf9}):_0x30be7a[_0x270497]=_0x300cf9,kn=(_0xd51b27,_0x43574e,_0x20e02c,_0x2e8a26)=>{var _0x228936=_0xd6acc8;for(var _0x474372=_0x2e8a26>0x1?void 0x0:_0x2e8a26?Mn(_0x43574e,_0x20e02c):_0x43574e,_0x59d28=_0xd51b27[_0x228936(0x108)]-0x1,_0x371df6;_0x59d28>=0x0;_0x59d28--)(_0x371df6=_0xd51b27[_0x59d28])&&(_0x474372=_0x371df6(_0x474372)||_0x474372);return _0x474372;},ke=(_0x1d5bf0,_0x44428e)=>(_0x468af3,_0x2c05ce)=>_0x44428e(_0x468af3,_0x2c05ce,_0x1d5bf0),Hn=(_0x413cce,_0x1fe9ea,_0x1a751c)=>xn(_0x413cce,_0x1fe9ea+'',_0x1a751c);const jn=_0xd6acc8(0x37f);exports[_0xd6acc8(0x1e1)]=class extends a[_0xd6acc8(0x20b)]{constructor(_0x3af65d,_0x3131b7,_0x39f0aa,_0x5a8129){var _0x4a6300=_0xd6acc8;super(),A(this,'_config'),(this[_0x4a6300(0x1fb)]=_0x3131b7,this[_0x4a6300(0x114)]=_0x39f0aa,this[_0x4a6300(0x239)]=_0x5a8129);const {..._0x32deed}=a[_0x4a6300(0x2ab)]({},Jt,_0x3af65d);if(!_0x32deed[_0x4a6300(0x381)])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0x4a6300(0x16b)]=_0x32deed,this[_0x4a6300(0x239)][_0x4a6300(0x227)](Y,_0x32deed);}['onStarting'](){var _0x50b137=_0xd6acc8;this[_0x50b137(0x1a1)](),this[_0x50b137(0x1a0)]();}['_registerDependencies'](){var _0x284d5a=_0xd6acc8,_0x2c1123,_0x35df6d;this[_0x284d5a(0x114)][_0x284d5a(0x278)](a[_0x284d5a(0x32c)])&&this['_logService'][_0x284d5a(0xf9)](_0x284d5a(0xf8),_0x284d5a(0x2cd));const _0x3378db=a[_0x284d5a(0x1b6)]([[a[_0x284d5a(0x32c)],{'useClass':exports[_0x284d5a(0x36a)]}],[exports[_0x284d5a(0xc5)]],[exports['MemberService']],[exports[_0x284d5a(0x338)]],[ye],[Ne],[Be],[De],[te],[exports[_0x284d5a(0x323)]],[$e,{'useClass':this[_0x284d5a(0x16b)][_0x284d5a(0x381)]}],[g[_0x284d5a(0x23d)],{'useClass':exports['SnapshotServerOverHTTPService']}],[a[_0x284d5a(0x104)],{'useClass':exports[_0x284d5a(0xae)]}],[J[_0x284d5a(0x387)],{'useClass':exports[_0x284d5a(0x219)]}],[a[_0x284d5a(0x2ba)],{'useClass':exports['MentionIoHttpService']}],[exports[_0x284d5a(0x26f)]],[He]],(_0x2c1123=this[_0x284d5a(0x16b)])==null?void 0x0:_0x2c1123[_0x284d5a(0x270)]);if(!((_0x35df6d=this[_0x284d5a(0x16b)])!=null&&_0x35df6d[_0x284d5a(0x229)])){const _0x31ed12=_0x3378db['findIndex'](([_0xd0cea7])=>_0xd0cea7===ve);_0x31ed12!==-0x1&&_0x3378db[_0x284d5a(0x1d3)](_0x31ed12,0x1);}a[_0x284d5a(0x218)](this['_injector'],_0x3378db);}['_initDependencies'](){var _0x53a788=_0xd6acc8,_0x3f0398,_0x2d9234,_0x155597;this[_0x53a788(0x114)][_0x53a788(0x2c8)](q['HTTPService'])[_0x53a788(0x3f3)]({'priority':0x14,'interceptor':q[_0x53a788(0x224)]({'maxParallel':0x6})}),(_0x3f0398=this[_0x53a788(0x16b)])!=null&&_0x3f0398[_0x53a788(0x233)]||(_0x2d9234=this[_0x53a788(0x114)]['get'](z,a[_0x53a788(0x15c)][_0x53a788(0x34f)]))==null||_0x2d9234[_0x53a788(0x313)](),(_0x155597=this[_0x53a788(0x16b)])!=null&&_0x155597[_0x53a788(0x3e3)]&&a[_0x53a788(0x2e6)](this[_0x53a788(0x114)],[[ye]]),a['touchDependencies'](this['_injector'],[[Ne],[exports[_0x53a788(0x26f)]],[De]]);}},Hn(exports[_0xd6acc8(0x1e1)],_0xd6acc8(0x368),jn),exports[_0xd6acc8(0x1e1)]=kn([a[_0xd6acc8(0x1d9)](g[_0xd6acc8(0xe4)],q[_0xd6acc8(0x295)]),ke(0x1,a[_0xd6acc8(0xe1)]),ke(0x2,a['Inject'](a['Injector'])),ke(0x3,a[_0xd6acc8(0x105)])],exports[_0xd6acc8(0x1e1)]),exports['AUTHZ_URL_KEY']=Ge,exports[_0xd6acc8(0x145)]=Y,exports['COLLAB_SUBMIT_CHANGESET_URL_KEY']=It,exports[_0xd6acc8(0x25a)]=St,exports[_0xd6acc8(0x2a3)]=Ve,exports[_0xd6acc8(0x22d)]=Q,exports[_0xd6acc8(0x14c)]=te,exports[_0xd6acc8(0x185)]=Be,exports[_0xd6acc8(0x36b)]=ft,exports['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT']=zt,exports[_0xd6acc8(0x24a)]=$t,exports[_0xd6acc8(0x3f5)]=pt,exports['HEARTBEAT_TIMEOUT_KEY']=je,exports[_0xd6acc8(0xd4)]=$e,exports['ILocalCacheService']=z,exports[_0xd6acc8(0x160)]=bt,exports[_0xd6acc8(0x240)]=ve,exports[_0xd6acc8(0x3d1)]=Gt,exports[_0xd6acc8(0xf7)]=Wt,exports[_0xd6acc8(0x349)]=Et,exports[_0xd6acc8(0x2f1)]=qt,exports['RETRY_CONNECTING_MAX_COUNT_KEY']=mt,exports['SEND_CHANGESET_TIMEOUT_KEY']=Ht,exports['SNAPSHOT_SERVER_URL_KEY']=dt,exports[_0xd6acc8(0x38b)]=vt,exports[_0xd6acc8(0x130)]=se,exports['UnitStatus']=Fe,exports[_0xd6acc8(0x2bd)]=Rt,exports[_0xd6acc8(0x115)]=vi,exports[_0xd6acc8(0xd7)]=Ot;