@univerjs-pro/collaboration-client 0.6.10-nightly.202504161609 → 0.6.10

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 _0x40c17a=_0x1551;(function(_0x12bbb0,_0xec4f6b){var _0x22bd30=_0x1551,_0xc037bf=_0x12bbb0();while(!![]){try{var _0x1deca8=-parseInt(_0x22bd30(0x27d))/0x1*(parseInt(_0x22bd30(0x31d))/0x2)+-parseInt(_0x22bd30(0x2fd))/0x3+parseInt(_0x22bd30(0x28a))/0x4*(parseInt(_0x22bd30(0x315))/0x5)+-parseInt(_0x22bd30(0x40d))/0x6+-parseInt(_0x22bd30(0x2c3))/0x7*(parseInt(_0x22bd30(0x2e7))/0x8)+-parseInt(_0x22bd30(0x49d))/0x9*(parseInt(_0x22bd30(0x344))/0xa)+parseInt(_0x22bd30(0x3f2))/0xb*(parseInt(_0x22bd30(0x461))/0xc);if(_0x1deca8===_0xec4f6b)break;else _0xc037bf['push'](_0xc037bf['shift']());}catch(_0x3ce050){_0xc037bf['push'](_0xc037bf['shift']());}}}(_0x452b,0xd1772));var wt=Object['defineProperty'],Lt=(_0xbdd78c,_0x3f4e9d,_0x3e1337)=>_0x3f4e9d in _0xbdd78c?wt(_0xbdd78c,_0x3f4e9d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3e1337}):_0xbdd78c[_0x3f4e9d]=_0x3e1337,A=(_0xa3d4e,_0x226e03,_0xeb4301)=>Lt(_0xa3d4e,typeof _0x226e03!=_0x40c17a(0x2a1)?_0x226e03+'':_0x226e03,_0xeb4301);Object[_0x40c17a(0x3b1)](exports,Symbol['toStringTag'],{'value':_0x40c17a(0x3d8)});const a=require(_0x40c17a(0x1a2)),j=require(_0x40c17a(0x486)),V=require('rxjs/operators'),g=require(_0x40c17a(0x38e)),q=require('@univerjs/network'),Mt=require(_0x40c17a(0x45e)),ut=require(_0x40c17a(0x2c2)),Z=require(_0x40c17a(0x45c)),J=require('@univerjs/drawing'),xt=require(_0x40c17a(0x493)),dt=_0x40c17a(0x4e2),kt='/universer-api/snapshot',vt='SNAPSHOT_URL_KEY',Ht='SEND_CHANGESET_TIMEOUT',jt=0x7d0,St=_0x40c17a(0x187),ft=_0x40c17a(0x1ac),$t=_0x40c17a(0x403),pt='HEARTBEAT_INTERVAL',Bt=0x7530,je=_0x40c17a(0x468),gt=0x4e20,Ft=0x4e20,mt='RETRY_CONNECTING_MAX_COUNT',Vt=0x3,Wt=_0x40c17a(0x39b),Gt=0x3e8,It=_0x40c17a(0x413),Kt=_0x40c17a(0x27b),Et=_0x40c17a(0x2e4),Yt=_0x40c17a(0x471),qt=_0x40c17a(0x1d7),zt=_0x40c17a(0x251);var Ct=(_0x4348a6=>(_0x4348a6[_0x4348a6['UNDEFINED']=0x0]=_0x40c17a(0x176),_0x4348a6[_0x4348a6['OK']=0x1]='OK',_0x4348a6[_0x4348a6[_0x40c17a(0x442)]=0x2]=_0x40c17a(0x442),_0x4348a6[_0x4348a6[_0x40c17a(0x2ed)]=0x3]=_0x40c17a(0x2ed),_0x4348a6[_0x4348a6[_0x40c17a(0x447)]=0x4]=_0x40c17a(0x447),_0x4348a6[_0x4348a6[_0x40c17a(0x196)]=0x5]=_0x40c17a(0x196),_0x4348a6[_0x4348a6[_0x40c17a(0x34f)]=0x6]='ALREADY_EXISTS',_0x4348a6[_0x4348a6[_0x40c17a(0x458)]=0x7]=_0x40c17a(0x458),_0x4348a6[_0x4348a6[_0x40c17a(0x2ff)]=0x8]=_0x40c17a(0x2ff),_0x4348a6[_0x4348a6[_0x40c17a(0x226)]=0x9]=_0x40c17a(0x226),_0x4348a6[_0x4348a6[_0x40c17a(0x36f)]=0xa]=_0x40c17a(0x36f),_0x4348a6[_0x4348a6[_0x40c17a(0x4ab)]=0x1389]=_0x40c17a(0x4ab),_0x4348a6[_0x4348a6['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x40c17a(0x4b0),_0x4348a6[_0x4348a6[_0x40c17a(0x4e6)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x4348a6[_0x4348a6[_0x40c17a(0x423)]=0x1773]=_0x40c17a(0x423),_0x4348a6[_0x4348a6[_0x40c17a(0x339)]=0x1b59]='APPLY_REJECT',_0x4348a6[_0x4348a6[_0x40c17a(0x354)]=0x1b5a]=_0x40c17a(0x354),_0x4348a6[_0x4348a6[_0x40c17a(0x2cb)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x4348a6[_0x4348a6['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x40c17a(0x207),_0x4348a6[_0x4348a6[_0x40c17a(0x1ff)]=0x1b5d]=_0x40c17a(0x1ff),_0x4348a6[_0x4348a6[_0x40c17a(0x1bb)]=0x1f41]=_0x40c17a(0x1bb),_0x4348a6[_0x4348a6[_0x40c17a(0x390)]=0x2329]=_0x40c17a(0x390),_0x4348a6[_0x4348a6['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x4348a6[_0x4348a6[_0x40c17a(0x30c)]=0x232b]=_0x40c17a(0x30c),_0x4348a6[_0x4348a6[_0x40c17a(0x3af)]=0x232c]=_0x40c17a(0x3af),_0x4348a6[_0x4348a6['LICENSE_DISTRO_REJECTED']=0x232d]=_0x40c17a(0x2b0),_0x4348a6[_0x4348a6[_0x40c17a(0x2e3)]=0x2711]=_0x40c17a(0x2e3),_0x4348a6[_0x4348a6[_0x40c17a(0x4c1)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x4348a6[_0x4348a6[_0x40c17a(0x180)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x4348a6[_0x4348a6['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x40c17a(0x3ea),_0x4348a6[_0x4348a6[_0x40c17a(0x384)]=0x2af9]=_0x40c17a(0x384),_0x4348a6[_0x4348a6['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x40c17a(0x43b),_0x4348a6[_0x4348a6[_0x40c17a(0x407)]=0x2ee2]='INVALID_INVITE_CODE',_0x4348a6[_0x4348a6[_0x40c17a(0x3a1)]=0x2ee3]=_0x40c17a(0x3a1),_0x4348a6[_0x4348a6['USER_NOT_INVITED_CODE']=0x2ee4]=_0x40c17a(0x3e0),_0x4348a6[_0x4348a6[_0x40c17a(0x173)]=0x2ee5]=_0x40c17a(0x173),_0x4348a6[_0x4348a6[_0x40c17a(0x21a)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x4348a6[_0x4348a6[_0x40c17a(0x3a3)]=0x32ca]=_0x40c17a(0x3a3),_0x4348a6[_0x4348a6[_0x40c17a(0x302)]=0x32cb]=_0x40c17a(0x302),_0x4348a6[_0x4348a6[_0x40c17a(0x47c)]=-0x1]=_0x40c17a(0x47c),_0x4348a6))(Ct||{}),X=(_0x502337=>(_0x502337[_0x502337[_0x40c17a(0x3ac)]=0x0]=_0x40c17a(0x3ac),_0x502337[_0x502337[_0x40c17a(0x3fd)]=0x1]=_0x40c17a(0x3fd),_0x502337[_0x502337[_0x40c17a(0x20b)]=0x2]=_0x40c17a(0x20b),_0x502337[_0x502337[_0x40c17a(0x20a)]=0x3]=_0x40c17a(0x20a),_0x502337[_0x502337[_0x40c17a(0x1fd)]=0x4]='UNIVER_PROJECT',_0x502337[_0x502337[_0x40c17a(0x47c)]=-0x1]=_0x40c17a(0x47c),_0x502337))(X||{}),W=(_0x2f5674=>(_0x2f5674[_0x2f5674[_0x40c17a(0x25d)]=0x0]=_0x40c17a(0x25d),_0x2f5674[_0x2f5674[_0x40c17a(0x337)]=0x1]=_0x40c17a(0x337),_0x2f5674[_0x2f5674[_0x40c17a(0x2ca)]=0x2]='JOIN',_0x2f5674[_0x2f5674['LEAVE']=0x3]=_0x40c17a(0x4e7),_0x2f5674[_0x2f5674['INGEST']=0x4]='INGEST',_0x2f5674[_0x2f5674[_0x40c17a(0x3d1)]=0x5]=_0x40c17a(0x3d1),_0x2f5674[_0x2f5674[_0x40c17a(0x2b9)]=0x6]=_0x40c17a(0x2b9),_0x2f5674[_0x2f5674[_0x40c17a(0x47c)]=-0x1]=_0x40c17a(0x47c),_0x2f5674))(W||{}),ae=(_0x3ce539=>(_0x3ce539[_0x3ce539[_0x40c17a(0x280)]=0x0]=_0x40c17a(0x280),_0x3ce539[_0x3ce539['OK']=0x1]='OK',_0x3ce539[_0x3ce539[_0x40c17a(0x281)]=0x2]=_0x40c17a(0x281),_0x3ce539[_0x3ce539[_0x40c17a(0x37b)]=0x3e9]='JOIN_ROOM_FULL',_0x3ce539[_0x3ce539[_0x40c17a(0x22c)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x3ce539[_0x3ce539['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0x40c17a(0x185),_0x3ce539[_0x3ce539[_0x40c17a(0x32c)]=0x3ec]=_0x40c17a(0x32c),_0x3ce539[_0x3ce539[_0x40c17a(0x47c)]=-0x1]='UNRECOGNIZED',_0x3ce539))(ae||{}),Tt=(_0x2aa1dc=>(_0x2aa1dc[_0x2aa1dc[_0x40c17a(0x2aa)]=0x0]=_0x40c17a(0x2aa),_0x2aa1dc[_0x2aa1dc[_0x40c17a(0x4c2)]=0x1]=_0x40c17a(0x4c2),_0x2aa1dc[_0x2aa1dc[_0x40c17a(0x33e)]=0x2]='HttpExport',_0x2aa1dc[_0x2aa1dc['UnitEmbedded']=0x3]=_0x40c17a(0x16f),_0x2aa1dc[_0x2aa1dc[_0x40c17a(0x4d4)]=0x4]='UnitSnapshot',_0x2aa1dc[_0x2aa1dc[_0x40c17a(0x3fb)]=0x5]=_0x40c17a(0x3fb),_0x2aa1dc[_0x2aa1dc[_0x40c17a(0x47c)]=-0x1]=_0x40c17a(0x47c),_0x2aa1dc))(Tt||{});const Y='collaboration-client.config',Jt={};var Q=(_0x1aa8e9=>(_0x1aa8e9[_0x40c17a(0x321)]='OTHER_CLIENT_EDITING',_0x1aa8e9[_0x40c17a(0x2ed)]=_0x40c17a(0x2ed),_0x1aa8e9[_0x40c17a(0x270)]=_0x40c17a(0x270),_0x1aa8e9['CLOSE_ROOM']=_0x40c17a(0x3a5),_0x1aa8e9[_0x40c17a(0x365)]=_0x40c17a(0x365),_0x1aa8e9[_0x40c17a(0x4bb)]=_0x40c17a(0x4bb),_0x1aa8e9['SOCKET_FAILED']='SOCKET_FAILED',_0x1aa8e9[_0x40c17a(0x38c)]=_0x40c17a(0x38c),_0x1aa8e9))(Q||{});class te{constructor(){var _0x306cde=_0x40c17a;A(this,_0x306cde(0x44e),new j[(_0x306cde(0x252))]()),A(this,_0x306cde(0x4d5),this['_event$']['asObservable']());}[_0x40c17a(0x37e)](_0xeb7ba3){var _0x50788d=_0x40c17a;this[_0x50788d(0x44e)][_0x50788d(0x39d)](_0xeb7ba3);}}const bt=a[_0x40c17a(0x312)](_0x40c17a(0x4cf));function Rt(_0x2473fe){var _0x34ea0d=_0x40c17a,_0x1f0e87,_0x59cb9e,_0x14a952,_0x46c24f,_0x140ed8;const _0x31d654=_0x2473fe[_0x34ea0d(0x277)],_0x35063c=JSON[_0x34ea0d(0x36e)](_0x31d654);switch(_0x35063c[_0x34ea0d(0x271)]){case W['HEARTBEAT']:case W['HELLO']:{const _0x4f7ded=_0x35063c[_0x34ea0d(0x42b)];return{..._0x35063c,'data':_0x4f7ded,'cmd':_0x35063c[_0x34ea0d(0x271)]};}case W['JOIN']:{const _0x317903=_0x35063c[_0x34ea0d(0x1cf)];return{..._0x35063c,'data':_0x317903,'cmd':_0x35063c[_0x34ea0d(0x271)]};}case W['RECV']:{const _0x1e313a=_0x35063c[_0x34ea0d(0x2ba)];switch(_0x1e313a[_0x34ea0d(0x3d3)]){case g[_0x34ea0d(0x316)]['PERMISSION_REJ']:return{..._0x35063c,'data':{..._0x1e313a,'data':(_0x1f0e87=_0x1e313a[_0x34ea0d(0x347)])==null?void 0x0:_0x1f0e87['cs']},'cmd':_0x35063c[_0x34ea0d(0x271)]};case g[_0x34ea0d(0x316)][_0x34ea0d(0x4b8)]:return{..._0x35063c,'data':{..._0x1e313a,'data':(_0x59cb9e=_0x1e313a[_0x34ea0d(0x3df)])==null?void 0x0:_0x59cb9e['cs']},'cmd':_0x35063c[_0x34ea0d(0x271)]};case g[_0x34ea0d(0x316)]['NEW_CHANGESETS']:return{..._0x35063c,'data':{..._0x1e313a,'data':(_0x14a952=_0x1e313a[_0x34ea0d(0x184)])==null?void 0x0:_0x14a952['cs']},'cmd':_0x35063c['cmd']};case g[_0x34ea0d(0x316)]['CHANGESET_REJ']:return{..._0x35063c,'data':{..._0x1e313a,'data':(_0x46c24f=_0x1e313a['csRejEvent'])==null?void 0x0:_0x46c24f['cs']},'cmd':_0x35063c[_0x34ea0d(0x271)]};case g[_0x34ea0d(0x316)][_0x34ea0d(0x1bc)]:return{..._0x35063c,'data':{..._0x1e313a,'data':(_0x140ed8=_0x1e313a[_0x34ea0d(0x4f6)])==null?void 0x0:_0x140ed8['cs']},'cmd':_0x35063c[_0x34ea0d(0x271)]};case g[_0x34ea0d(0x316)][_0x34ea0d(0x28b)]:return{..._0x35063c,'data':{..._0x1e313a,'data':_0x1e313a[_0x34ea0d(0x217)]},'cmd':_0x35063c[_0x34ea0d(0x271)]};case g['CollaborationEvent'][_0x34ea0d(0x4da)]:return{..._0x35063c,'data':{..._0x1e313a,'data':_0x1e313a[_0x34ea0d(0x254)]},'cmd':_0x35063c['cmd']};case g['CollaborationEvent']['USERS_LEAVE']:return{..._0x35063c,'data':{..._0x1e313a,'data':_0x1e313a[_0x34ea0d(0x2f6)]},'cmd':_0x35063c[_0x34ea0d(0x271)]};case g[_0x34ea0d(0x316)][_0x34ea0d(0x4be)]:return{..._0x35063c,'data':{..._0x1e313a,'data':_0x1e313a[_0x34ea0d(0x31a)]},'cmd':_0x35063c[_0x34ea0d(0x271)]};case g[_0x34ea0d(0x316)]['LIVESHARE_FETCH_OPERATIONS']:case g[_0x34ea0d(0x316)][_0x34ea0d(0x3e6)]:return{..._0x35063c,'data':{..._0x1e313a,'data':_0x1e313a['liveShareOperation']},'cmd':_0x35063c[_0x34ea0d(0x271)]};case g['CollaborationEvent']['LIVESHARE_TERMINATE']:return{..._0x35063c,'data':{..._0x1e313a,'data':_0x1e313a[_0x34ea0d(0x31a)]},'cmd':_0x35063c[_0x34ea0d(0x271)]};case g[_0x34ea0d(0x316)]['MSG_FOR_ERROR']:return{..._0x35063c,'data':_0x1e313a,'cmd':_0x35063c['cmd']};case g[_0x34ea0d(0x316)][_0x34ea0d(0x18a)]:return{..._0x35063c,'data':{..._0x1e313a,'data':_0x1e313a['commentUpdateEvent']},'cmd':_0x35063c[_0x34ea0d(0x271)]};case g[_0x34ea0d(0x316)][_0x34ea0d(0x452)]:return{..._0x35063c,'data':{..._0x1e313a,'data':_0x1e313a[_0x34ea0d(0x318)]},'cmd':_0x35063c[_0x34ea0d(0x271)]};case g['CollaborationEvent']['SHOULD_CLOSE_CONN']:return{..._0x35063c,'data':{..._0x1e313a,'data':_0x1e313a[_0x34ea0d(0x1d2)]},'cmd':_0x35063c[_0x34ea0d(0x271)]};case g[_0x34ea0d(0x316)]['UNISCRIPT_RUN']:return{..._0x35063c,'data':{..._0x1e313a,'data':_0x1e313a[_0x34ea0d(0x388)]},'cmd':_0x35063c['cmd']};default:return _0x35063c;}}default:return _0x35063c;}}function Ot(_0x18b6ab){var _0x993cf1=_0x40c17a;switch(_0x18b6ab[_0x993cf1(0x271)]){case W['HEARTBEAT']:case W[_0x993cf1(0x337)]:return JSON[_0x993cf1(0x4e5)]({'cmd':_0x18b6ab[_0x993cf1(0x271)],'routeKey':_0x18b6ab[_0x993cf1(0x282)]});case W[_0x993cf1(0x1ba)]:{let _0x19bd11;switch(_0x18b6ab[_0x993cf1(0x277)][_0x993cf1(0x3d3)]){case g['CollaborationEvent'][_0x993cf1(0x28b)]:{_0x19bd11={'eventID':g[_0x993cf1(0x316)][_0x993cf1(0x28b)],'updateCursorEvent':_0x18b6ab['data'][_0x993cf1(0x277)]};break;}case g[_0x993cf1(0x316)][_0x993cf1(0x2c8)]:{_0x19bd11={'eventID':g[_0x993cf1(0x316)][_0x993cf1(0x2c8)],'leaveEvent':_0x18b6ab[_0x993cf1(0x277)]['data']};break;}case g['CollaborationEvent'][_0x993cf1(0x4da)]:{_0x19bd11={'eventID':g[_0x993cf1(0x316)][_0x993cf1(0x4da)],'joinEvent':_0x18b6ab[_0x993cf1(0x277)][_0x993cf1(0x277)]};break;}case g[_0x993cf1(0x316)][_0x993cf1(0x4be)]:{_0x19bd11={'eventID':g[_0x993cf1(0x316)][_0x993cf1(0x4be)],'liveShareNewHost':_0x18b6ab['data'][_0x993cf1(0x277)]};break;}case g[_0x993cf1(0x316)][_0x993cf1(0x3e6)]:{_0x19bd11={'eventID':g[_0x993cf1(0x316)][_0x993cf1(0x3e6)],'liveShareOperation':_0x18b6ab[_0x993cf1(0x277)][_0x993cf1(0x277)]};break;}case g['CollaborationEvent'][_0x993cf1(0x2b8)]:{_0x19bd11={'eventID':g[_0x993cf1(0x316)]['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x18b6ab[_0x993cf1(0x277)][_0x993cf1(0x277)]};break;}case g['CollaborationEvent'][_0x993cf1(0x262)]:{_0x19bd11={'eventID':g[_0x993cf1(0x316)]['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x18b6ab[_0x993cf1(0x277)]['data']};break;}case g[_0x993cf1(0x316)][_0x993cf1(0x2d2)]:{_0x19bd11={'eventID':g['CollaborationEvent'][_0x993cf1(0x2d2)]};break;}default:_0x19bd11={'eventID':_0x18b6ab['data'][_0x993cf1(0x3d3)]};}return JSON['stringify']({'cmd':_0x18b6ab[_0x993cf1(0x271)],'routeKey':_0x18b6ab[_0x993cf1(0x282)],'collaMsg':_0x19bd11});}case W[_0x993cf1(0x2ca)]:return JSON[_0x993cf1(0x4e5)]({'cmd':_0x18b6ab[_0x993cf1(0x271)],'routeKey':_0x18b6ab[_0x993cf1(0x282)],'joinReq':_0x18b6ab[_0x993cf1(0x277)]});case W['LEAVE']:return JSON[_0x993cf1(0x4e5)]({'cmd':_0x18b6ab[_0x993cf1(0x271)],'routeKey':_0x18b6ab[_0x993cf1(0x282)],'leaveReq':_0x18b6ab['data']});default:throw new Error(_0x993cf1(0x2ab));}}var Xt=Object[_0x40c17a(0x2fb)],Zt=(_0x545bfc,_0x186235,_0x583d33,_0x4627b9)=>{var _0x590643=_0x40c17a;for(var _0x131767=_0x4627b9>0x1?void 0x0:_0x4627b9?Xt(_0x186235,_0x583d33):_0x186235,_0x80d666=_0x545bfc[_0x590643(0x2be)]-0x1,_0x4a45c7;_0x80d666>=0x0;_0x80d666--)(_0x4a45c7=_0x545bfc[_0x80d666])&&(_0x131767=_0x4a45c7(_0x131767)||_0x131767);return _0x131767;},_e=(_0x2eec42,_0x3e1a93)=>(_0x1c7d9f,_0x1f6ff4)=>_0x3e1a93(_0x1c7d9f,_0x1f6ff4,_0x2eec42);const $e=a[_0x40c17a(0x312)](_0x40c17a(0x33a));function Qt(_0x28b933,_0x26a466,_0x26de1e){var _0x45400c=_0x40c17a;return _0x28b933+'/'+_0x26a466+_0x45400c(0x237)+_0x26de1e+_0x45400c(0x1c8);}exports[_0x40c17a(0x1f3)]=class extends a[_0x40c17a(0x439)]{constructor(_0x3c4610,_0x2eb051,_0x20ed78,_0x2c5c52,_0x31a971){var _0x137c6f=_0x40c17a;super(),this['_injector']=_0x3c4610,this[_0x137c6f(0x3ce)]=_0x2eb051,this[_0x137c6f(0x1b2)]=_0x20ed78,this[_0x137c6f(0x190)]=_0x2c5c52,this['_snapshotServerService']=_0x31a971;}[_0x40c17a(0x25c)](_0x448ea4){var _0x636502=_0x40c17a;const _0xdeecfe=this[_0x636502(0x2ec)][_0x636502(0x210)](q['ISocketService']);if(!_0xdeecfe)throw new Error(_0x636502(0x1f0));const _0x4aca71=_0xdeecfe['createSocket'](_0x448ea4);if(!_0x4aca71)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x66eee9=new a[(_0x636502(0x43a))](),_0x368fb1=new j[(_0x636502(0x252))]();_0x66eee9[_0x636502(0x4ad)](_0x4aca71[_0x636502(0x3b3)][_0x636502(0x3f3)](_0x14fd2f=>_0x368fb1[_0x636502(0x39d)](_0x14fd2f))),_0x66eee9[_0x636502(0x4ad)](a[_0x636502(0x202)](()=>_0x368fb1[_0x636502(0x395)]()));const _0x405169=new j[(_0x636502(0x252))]();_0x66eee9[_0x636502(0x4ad)](_0x4aca71[_0x636502(0x28c)][_0x636502(0x3f3)](_0x521968=>_0x405169[_0x636502(0x39d)](_0x521968))),_0x66eee9['add'](a[_0x636502(0x202)](()=>_0x405169[_0x636502(0x395)]()));const _0x2ad523=new j[(_0x636502(0x252))]();_0x66eee9[_0x636502(0x4ad)](_0x4aca71[_0x636502(0x3ae)][_0x636502(0x3f3)](_0x1ca53d=>{var _0x108fa=_0x636502;const _0x4fc02a=Rt(_0x1ca53d);_0x2ad523[_0x108fa(0x39d)](_0x4fc02a);})),_0x66eee9[_0x636502(0x4ad)](a[_0x636502(0x202)](()=>_0x2ad523['complete']()));let _0x20d51a;const _0x3e50ad=()=>{var _0x9d37d7=_0x636502;_0x405169[_0x9d37d7(0x39d)](new Event(_0x9d37d7(0x308))),_0x368fb1[_0x9d37d7(0x39d)](new Event(_0x9d37d7(0x308))),_0x20d51a['close']();};return _0x20d51a={'memberID':'','close$':_0x368fb1[_0x636502(0x2a7)](),'error$':_0x405169['asObservable'](),'open$':_0x4aca71[_0x636502(0x3dc)],'message$':_0x2ad523[_0x636502(0x2a7)](),'send':_0x502912=>{var _0x3318ba=_0x636502;if(_0x502912[_0x3318ba(0x271)]===W[_0x3318ba(0x1ba)]){if(_0x502912['data']['eventID']===g['CollaborationEvent'][_0x3318ba(0x19a)]){this[_0x3318ba(0x334)](_0x20d51a,_0x502912[_0x3318ba(0x277)])[_0x3318ba(0x383)](_0x582dbe=>{var _0x4e7922=_0x3318ba;this['_logService'][_0x4e7922(0x45a)](_0x582dbe),_0x3e50ad();});return;}if(_0x502912[_0x3318ba(0x277)][_0x3318ba(0x3d3)]===g[_0x3318ba(0x316)][_0x3318ba(0x3db)]){const _0x32189d=_0x502912[_0x3318ba(0x277)];this[_0x3318ba(0x391)](_0x32189d)[_0x3318ba(0x414)](_0x288377=>{var _0x535cc1=_0x3318ba;_0x2ad523[_0x535cc1(0x39d)]({'cmd':W[_0x535cc1(0x2b9)],'code':ae['OK'],'routeKey':_0x32189d[_0x535cc1(0x277)]['unitID'],'routeType':'','data':{'eventID':g['CollaborationEvent'][_0x535cc1(0x255)],'data':{'changesets':_0x288377}}});})[_0x3318ba(0x383)](_0x1466bb=>{var _0xddb67d=_0x3318ba;this[_0xddb67d(0x190)][_0xddb67d(0x45a)](_0x1466bb),_0x3e50ad();});return;}}_0x4aca71[_0x3318ba(0x470)](Ot(_0x502912));},'close':()=>{var _0x32d4c2=_0x636502;_0x4aca71[_0x32d4c2(0x236)](),_0x66eee9['dispose']();}},_0x20d51a;}async[_0x40c17a(0x334)](_0x542de4,_0x5407fc){var _0x569d4e=_0x40c17a,_0x432b62,_0x5c7bb0;const {unitType:_0x3044c0,unitID:_0x28924f,changeset:_0x40ad6d}=_0x5407fc['data'],_0xe5356d={'unitID':_0x28924f,'memberID':_0x542de4[_0x569d4e(0x4f5)],'type':_0x3044c0,'changeset':g['parseChangesetToProtocol'](_0x40ad6d)},_0x28c917=this[_0x569d4e(0x1b2)][_0x569d4e(0x34e)](It),_0x4a4b69=this[_0x569d4e(0x1b2)][_0x569d4e(0x34e)](Y),_0x2ab3f8=Qt((_0x5c7bb0=(_0x432b62=_0x4a4b69==null?void 0x0:_0x4a4b69[_0x569d4e(0x182)])!=null?_0x432b62:_0x28c917)!=null?_0x5c7bb0:Kt,_0x3044c0,_0x28924f);try{await this[_0x569d4e(0x3ce)][_0x569d4e(0x49a)](_0x2ab3f8,{'body':_0xe5356d});}catch(_0x508115){throw this[_0x569d4e(0x190)]['error'](_0x569d4e(0x484),'submit\x20changeset\x20error!'),_0x508115;}}async['_fetchMissChangesets'](_0x2a58b2){var _0x442832=_0x40c17a;const {unitID:_0x2c0a3d,from:_0x5ecc3e,to:_0x58a777,unitType:_0x29ddd5}=_0x2a58b2[_0x442832(0x277)];return(await this[_0x442832(0x48f)][_0x442832(0x2b1)]({'metadata':void 0x0},{'unitID':_0x2c0a3d,'type':_0x29ddd5,'from':_0x5ecc3e,'to':_0x58a777}))['changesets'];}},exports['CollaborationSocketService']=Zt([_e(0x0,a[_0x40c17a(0x3e8)](a[_0x40c17a(0x325)])),_e(0x1,a[_0x40c17a(0x3e8)](q['HTTPService'])),_e(0x2,a['IConfigService']),_e(0x3,a[_0x40c17a(0x3ba)]),_e(0x4,g[_0x40c17a(0x24d)])],exports[_0x40c17a(0x1f3)]);const ei=_0x40c17a(0x23a);function ti(_0x12b33c){var _0x17bac8=_0x40c17a;return JSON[_0x17bac8(0x4e5)](_0x12b33c)[_0x17bac8(0x2be)];}class Be{constructor(){var _0x458aa5=_0x40c17a;A(this,_0x458aa5(0x3aa),new j[(_0x458aa5(0x252))]()),A(this,'commentUpdate$',this[_0x458aa5(0x3aa)][_0x458aa5(0x2a7)]());}[_0x40c17a(0x3f1)](_0x5f2302){var _0x3e236a=_0x40c17a;this[_0x3e236a(0x3aa)][_0x3e236a(0x39d)](_0x5f2302);}}var ii=Object[_0x40c17a(0x2fb)],ni=(_0x441e9b,_0xdcad95,_0x1fc203,_0x5acebc)=>{var _0x9d0c4b=_0x40c17a;for(var _0x3c2e80=_0x5acebc>0x1?void 0x0:_0x5acebc?ii(_0xdcad95,_0x1fc203):_0xdcad95,_0x4051d1=_0x441e9b[_0x9d0c4b(0x2be)]-0x1,_0x4672e5;_0x4051d1>=0x0;_0x4051d1--)(_0x4672e5=_0x441e9b[_0x4051d1])&&(_0x3c2e80=_0x4672e5(_0x3c2e80)||_0x3c2e80);return _0x3c2e80;},Ke=(_0x7aa0b,_0x2c1d03)=>(_0x5a0722,_0x544303)=>_0x2c1d03(_0x5a0722,_0x544303,_0x7aa0b);exports[_0x40c17a(0x41e)]=class extends a[_0x40c17a(0x439)]{constructor(_0x4ab0e3,_0x3d94f8){var _0x235fbf=_0x40c17a;super(),A(this,'_roomMembers',new Map()),A(this,'_roomCreated$',new j['Subject']()),(this[_0x235fbf(0x16d)]=_0x4ab0e3,this[_0x235fbf(0x2c5)]=_0x3d94f8,this['disposeWithMe'](j[_0x235fbf(0x4b5)](this[_0x235fbf(0x16d)]['getTypeOfUnitDisposed$'](a[_0x235fbf(0x4b9)][_0x235fbf(0x20b)])['pipe'](V[_0x235fbf(0x1ce)](_0x1dc8f5=>_0x1dc8f5[_0x235fbf(0x30b)]())),this[_0x235fbf(0x16d)][_0x235fbf(0x259)](a[_0x235fbf(0x4b9)]['UNIVER_DOC'])['pipe'](V[_0x235fbf(0x1ce)](_0x46b394=>_0x46b394['getUnitId']())),this[_0x235fbf(0x16d)]['getTypeOfUnitDisposed$'](a[_0x235fbf(0x4b9)][_0x235fbf(0x20a)])[_0x235fbf(0x26c)](V[_0x235fbf(0x1ce)](_0x14b6bb=>_0x14b6bb[_0x235fbf(0x30b)]())))['subscribe'](_0xb66aac=>this[_0x235fbf(0x179)](_0xb66aac))));}[_0x40c17a(0x4c7)](_0x5dc009){var _0x5932e9=_0x40c17a;return this['_roomMembers'][_0x5932e9(0x405)](_0x5dc009)?j['of'](this[_0x5932e9(0x4a8)]['get'](_0x5dc009)):this['_roomCreated$'][_0x5932e9(0x26c)](V[_0x5932e9(0x1ce)](_0x4e48b1=>{var _0x4629de=_0x5932e9;if(_0x4e48b1===_0x5dc009)return this[_0x4629de(0x4a8)]['get'](_0x4e48b1);}));}[_0x40c17a(0x1b8)](_0x4ca663){var _0x1acf28=_0x40c17a;this[_0x1acf28(0x2c5)]['setCurrentUser'](_0x4ca663);}['getCurrentUser'](){var _0x4a96ee=_0x40c17a;return this[_0x4a96ee(0x2c5)][_0x4a96ee(0x265)]();}[_0x40c17a(0x215)](_0x41e303,_0x3f2659){var _0x14bb1f=_0x40c17a;let _0x1b7a1c=this['_roomMembers'][_0x14bb1f(0x210)](_0x41e303);_0x1b7a1c||(_0x1b7a1c=new ri(),this['_roomMembers']['set'](_0x41e303,_0x1b7a1c),this[_0x14bb1f(0x178)]['next'](_0x41e303)),_0x1b7a1c[_0x14bb1f(0x215)](_0x3f2659);}['removeMember'](_0x13021d,_0x9c375f){var _0x2b3e90=_0x40c17a;const _0x407039=this[_0x2b3e90(0x4a8)]['get'](_0x13021d);_0x407039&&_0x407039[_0x2b3e90(0x289)](_0x9c375f);}[_0x40c17a(0x4f3)](_0x1c1bc6){var _0x42ac4f=_0x40c17a;return this[_0x42ac4f(0x4a8)][_0x42ac4f(0x210)](_0x1c1bc6);}['getMember'](_0x36409e,_0x4a514c){var _0x49db13=_0x40c17a;const _0x1ede43=this['_roomMembers'][_0x49db13(0x210)](_0x36409e);if(_0x1ede43)return _0x1ede43['getMember'](_0x4a514c);}[_0x40c17a(0x179)](_0x542bb4){var _0x185c2e=_0x40c17a;const _0xb0ecd4=this[_0x185c2e(0x4a8)][_0x185c2e(0x210)](_0x542bb4);_0xb0ecd4&&(_0xb0ecd4[_0x185c2e(0x3b0)](),this['_roomMembers'][_0x185c2e(0x1d6)](_0x542bb4));}[_0x40c17a(0x3b0)](){var _0xbaf712=_0x40c17a;this[_0xbaf712(0x4a8)][_0xbaf712(0x364)](_0x3fdeb8=>_0x3fdeb8[_0xbaf712(0x3b0)]()),this[_0xbaf712(0x4a8)]['clear'](),this[_0xbaf712(0x178)][_0xbaf712(0x395)]();}},exports[_0x40c17a(0x41e)]=ni([Ke(0x0,a[_0x40c17a(0x1bf)]),Ke(0x1,a[_0x40c17a(0x3e8)](a[_0x40c17a(0x218)]))],exports[_0x40c17a(0x41e)]);class ri extends a[_0x40c17a(0x439)]{constructor(){var _0x462a0e=_0x40c17a;super(...arguments),A(this,_0x462a0e(0x1fa),new Map()),A(this,_0x462a0e(0x1f2),new j[(_0x462a0e(0x39e))](this[_0x462a0e(0x1fa)])),A(this,_0x462a0e(0x293),this[_0x462a0e(0x1f2)][_0x462a0e(0x2a7)]());}[_0x40c17a(0x3b0)](){var _0x2315cf=_0x40c17a;this[_0x2315cf(0x1fa)]['clear']();}[_0x40c17a(0x215)](_0x6edb2c){var _0x96b95f=_0x40c17a;this[_0x96b95f(0x1fa)]['set'](_0x6edb2c[_0x96b95f(0x4f5)],_0x6edb2c),this['_emitMembers']();}['removeMember'](_0x406a93){var _0x1be7aa=_0x40c17a;this[_0x1be7aa(0x1fa)][_0x1be7aa(0x1d6)](_0x406a93);}[_0x40c17a(0x350)](_0x2449ba){var _0x588f0f=_0x40c17a;return this[_0x588f0f(0x1fa)][_0x588f0f(0x210)](_0x2449ba);}['getAllMembers'](){var _0xd2b705=_0x40c17a;return Array[_0xd2b705(0x209)](this[_0xd2b705(0x1fa)][_0xd2b705(0x353)]());}[_0x40c17a(0x2b4)](){var _0x3df149=_0x40c17a;this[_0x3df149(0x1f2)][_0x3df149(0x39d)](this['_members']);}}var si=Object[_0x40c17a(0x2fb)],oi=(_0x297e7b,_0x4b875a,_0x272235,_0x49db27)=>{var _0x16e309=_0x40c17a;for(var _0x3efcb0=_0x49db27>0x1?void 0x0:_0x49db27?si(_0x4b875a,_0x272235):_0x4b875a,_0x58733c=_0x297e7b[_0x16e309(0x2be)]-0x1,_0x1cfd9d;_0x58733c>=0x0;_0x58733c--)(_0x1cfd9d=_0x297e7b[_0x58733c])&&(_0x3efcb0=_0x1cfd9d(_0x3efcb0)||_0x3efcb0);return _0x3efcb0;},oe=(_0x22f13e,_0x3528a6)=>(_0x29eaa3,_0x4af527)=>_0x3528a6(_0x29eaa3,_0x4af527,_0x22f13e),se=(_0x35bd50=>(_0x35bd50[_0x35bd50[_0x40c17a(0x44d)]=0x0]=_0x40c17a(0x44d),_0x35bd50[_0x35bd50[_0x40c17a(0x29a)]=0x1]=_0x40c17a(0x29a),_0x35bd50[_0x35bd50[_0x40c17a(0x455)]=0x2]=_0x40c17a(0x455),_0x35bd50[_0x35bd50[_0x40c17a(0x4b4)]=0x3]='ONLINE',_0x35bd50))(se||{});const Ye={[ae[_0x40c17a(0x281)]]:_0x40c17a(0x213),[ae[_0x40c17a(0x37b)]]:_0x40c17a(0x2b6),[ae[_0x40c17a(0x22c)]]:_0x40c17a(0x462),[ae[_0x40c17a(0x185)]]:_0x40c17a(0x2a5),[ae[_0x40c17a(0x32c)]]:_0x40c17a(0x47f)};exports[_0x40c17a(0x3f0)]=class extends a[_0x40c17a(0x47d)]{constructor(_0x378e9b,_0x4bcc5a,_0x1ee197,_0x212264,_0x31c451,_0x38015e,_0x24cff3,_0x5cb933,_0x56ead6){var _0x5e4624=_0x40c17a;super(),A(this,_0x5e4624(0x2fe),new j[(_0x5e4624(0x39e))](0x0)),A(this,_0x5e4624(0x4b6),this[_0x5e4624(0x2fe)]['asObservable']()),A(this,'_event$',new j[(_0x5e4624(0x252))]()),A(this,_0x5e4624(0x4d5),this[_0x5e4624(0x44e)]['asObservable']()),A(this,'_socket'),A(this,'_socketMessageSubscription'),A(this,_0x5e4624(0x3f8)),A(this,_0x5e4624(0x238),!0x1),A(this,_0x5e4624(0x2f5),null),(this[_0x5e4624(0x3e1)]=_0x378e9b,this[_0x5e4624(0x190)]=_0x1ee197,this[_0x5e4624(0x1b2)]=_0x212264,this[_0x5e4624(0x2f4)]=_0x31c451,this[_0x5e4624(0x4a7)]=_0x38015e,this['_commentService']=_0x24cff3,this['_collaborationUIEventService']=_0x5cb933,this[_0x5e4624(0x457)]=_0x56ead6,this['_shouldReportTelemetry']=!!this[_0x5e4624(0x457)],_0x4bcc5a[_0x5e4624(0x26c)](j[_0x5e4624(0x1a1)](this[_0x5e4624(0x44a)]))['subscribe'](_0x445356=>{var _0x58cd2e=_0x5e4624,_0x3364db;typeof _0x445356>'u'||(this[_0x58cd2e(0x33c)]=_0x445356,_0x445356?(this[_0x58cd2e(0x177)](_0x445356),this['_socketMessageSubscription']=_0x445356[_0x58cd2e(0x3ae)][_0x58cd2e(0x3f3)](_0x48be3c=>{var _0x417ee7=_0x58cd2e;_0x48be3c['routeKey']===this[_0x417ee7(0x3e1)]&&this['_onCombEvent'](_0x48be3c);})):(this[_0x58cd2e(0x1ad)](),this[_0x58cd2e(0x2fe)]['next'](0x2),(_0x3364db=this[_0x58cd2e(0x26d)])==null||_0x3364db[_0x58cd2e(0x3cc)](),this['_socketMessageSubscription']=null));}));}get[_0x40c17a(0x4ae)](){var _0x2d1a0f=_0x40c17a;return this[_0x2d1a0f(0x2fe)][_0x2d1a0f(0x477)]();}['getMemberID'](){var _0x1ab421=_0x40c17a,_0x4127aa,_0x16b0ad;return(_0x16b0ad=(_0x4127aa=this[_0x1ab421(0x33c)])==null?void 0x0:_0x4127aa['memberID'])!=null?_0x16b0ad:null;}[_0x40c17a(0x3b0)](){var _0xe22a73=_0x40c17a;super['dispose'](),this[_0xe22a73(0x44a)][_0xe22a73(0x39d)](),this['dispose$'][_0xe22a73(0x395)]();}[_0x40c17a(0x236)](){var _0xf4d9a1=_0x40c17a,_0x4ef133,_0x1dc5f4;this['_throwTelemetryCollaborationNewChangeset'](),(_0x4ef133=this[_0xf4d9a1(0x33c)])==null||_0x4ef133[_0xf4d9a1(0x470)]({'cmd':W[_0xf4d9a1(0x4e7)],'data':{'roomID':this[_0xf4d9a1(0x3e1)]}}),(_0x1dc5f4=this['_socket'])==null||_0x1dc5f4['close'](),this[_0xf4d9a1(0x44e)][_0xf4d9a1(0x395)](),this[_0xf4d9a1(0x2fe)]['complete'](),this[_0xf4d9a1(0x3b0)]();}['_onCombEvent'](_0x5cb2cf){var _0x2ab807=_0x40c17a;_0x5cb2cf['cmd']===W[_0x2ab807(0x2ca)]?this[_0x2ab807(0x2e2)](_0x5cb2cf):_0x5cb2cf[_0x2ab807(0x271)]===W[_0x2ab807(0x2b9)]&&this['_onRecvEvent'](_0x5cb2cf);}[_0x40c17a(0x177)](_0x1ed26b){var _0x167cca=_0x40c17a;this[_0x167cca(0x2fe)][_0x167cca(0x39d)](0x1),_0x1ed26b[_0x167cca(0x470)]({'cmd':W[_0x167cca(0x2ca)],'routeKey':this[_0x167cca(0x3e1)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x40c17a(0x2e2)](_0x296177){var _0x240f67=_0x40c17a,_0x4bda66;if(_0x296177['code']in Ye){this[_0x240f67(0x2a6)]['emitEvent']({'id':Q[_0x240f67(0x365)],'data':Ye[_0x296177[_0x240f67(0x28e)]]}),this[_0x240f67(0x2fe)]['next'](0x2);return;}this['_sessionStatus$'][_0x240f67(0x39d)](0x3);const _0x4f462d=(_0x4bda66=_0x296177[_0x240f67(0x277)][_0x240f67(0x2b7)][this[_0x240f67(0x3e1)]])==null?void 0x0:_0x4bda66[_0x240f67(0x2d7)];_0x4f462d&&_0x4f462d[_0x240f67(0x364)](_0x2d9716=>this[_0x240f67(0x4a7)]['updateMember'](this[_0x240f67(0x3e1)],_0x2d9716));}[_0x40c17a(0x478)](_0x3d2605){var _0x3f6203=_0x40c17a;try{const _0xa587ef=_0x3d2605[_0x3f6203(0x277)];switch(_0xa587ef['eventID']){case g['CollaborationEvent'][_0x3f6203(0x4da)]:this['_onUserJoin'](_0xa587ef),this[_0x3f6203(0x44e)][_0x3f6203(0x39d)](_0xa587ef);break;case g[_0x3f6203(0x316)][_0x3f6203(0x2c8)]:this['_onUserLeave'](_0xa587ef),this[_0x3f6203(0x44e)]['next'](_0xa587ef);break;case g[_0x3f6203(0x316)]['CHANGESET_ACK']:case g[_0x3f6203(0x316)][_0x3f6203(0x1bc)]:this[_0x3f6203(0x417)](),this[_0x3f6203(0x2db)](),this['_event$']['next'](_0xa587ef);break;case g[_0x3f6203(0x316)][_0x3f6203(0x419)]:this['_logService'][_0x3f6203(0x45a)](_0x3f6203(0x46c)+JSON['stringify'](_0xa587ef)),this['_event$'][_0x3f6203(0x39d)](_0xa587ef);break;case g[_0x3f6203(0x316)][_0x3f6203(0x18a)]:this[_0x3f6203(0x17f)][_0x3f6203(0x3f1)](_0xa587ef[_0x3f6203(0x277)]),this[_0x3f6203(0x44e)][_0x3f6203(0x39d)](_0xa587ef);break;default:this[_0x3f6203(0x44e)]['next'](_0xa587ef);}}catch(_0x45f433){this[_0x3f6203(0x190)][_0x3f6203(0x45a)](_0x45f433,_0x3d2605);}}[_0x40c17a(0x3c4)](_0x56429d){var _0x71777b=_0x40c17a;this[_0x71777b(0x4a7)][_0x71777b(0x215)](this[_0x71777b(0x3e1)],_0x56429d[_0x71777b(0x277)]);}[_0x40c17a(0x1b3)](_0x5c2e7f){var _0x38345a=_0x40c17a;this[_0x38345a(0x4a7)][_0x38345a(0x289)](this[_0x38345a(0x3e1)],_0x5c2e7f[_0x38345a(0x277)]['memberID']);}async['send'](_0x5c500a,_0x3ee218){var _0x5c62ec=_0x40c17a;if(this[_0x5c62ec(0x4ae)]!==0x3||!this[_0x5c62ec(0x33c)])throw new Error(_0x5c62ec(0x394));try{_0x5c500a[_0x5c62ec(0x3d3)]===g['CollaborationEvent'][_0x5c62ec(0x19a)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x5c62ec(0x3e3)](_0x5c500a)),this['_socket'][_0x5c62ec(0x470)]({'cmd':W['INGEST'],'routeKey':_0x3ee218,'routeType':'','data':_0x5c500a});}catch(_0x1dc910){this[_0x5c62ec(0x190)][_0x5c62ec(0x45a)](_0x1dc910);}}['_scheduleCollaborationTimeoutTimer'](){var _0x35c629=_0x40c17a,_0x54942d;this[_0x35c629(0x3f8)]=setTimeout(()=>{var _0x41d33d=_0x35c629;this['_collaborationTimeoutTimer']=null,this[_0x41d33d(0x2a6)][_0x41d33d(0x37e)]({'id':Q[_0x41d33d(0x38c)]});},(_0x54942d=this[_0x35c629(0x1b2)][_0x35c629(0x34e)](je))!=null?_0x54942d:gt);}[_0x40c17a(0x2db)](){var _0x548001=_0x40c17a;this[_0x548001(0x3f8)]&&(clearTimeout(this[_0x548001(0x3f8)]),this['_collaborationTimeoutTimer']=null);}[_0x40c17a(0x3e3)](_0x1e62d1){var _0x6553df=_0x40c17a;if(!this[_0x6553df(0x238)])return;const {data:_0x1379da}=_0x1e62d1,{unitID:_0x345e6f,changeset:_0x5eb148}=_0x1379da,{mutations:_0x5aa36d,type:_0x114d1c}=_0x5eb148;this[_0x6553df(0x2f5)]={'unitId':_0x345e6f,'type':_0x114d1c,'startTime':performance[_0x6553df(0x429)](),'stopTime':0x0,'duration':0x0,'size':ti(_0x5aa36d)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x39a5d0=_0x40c17a;if(this[_0x39a5d0(0x238)]){if(!this[_0x39a5d0(0x2f5)]){this[_0x39a5d0(0x190)][_0x39a5d0(0x45a)](_0x39a5d0(0x484),_0x39a5d0(0x19b));return;}this['_telemetryInfo'][_0x39a5d0(0x25f)]=performance[_0x39a5d0(0x429)](),this[_0x39a5d0(0x2f5)][_0x39a5d0(0x495)]=this['_telemetryInfo'][_0x39a5d0(0x25f)]-this[_0x39a5d0(0x2f5)][_0x39a5d0(0x490)],this['_telemetryService']['capture'](ei,this[_0x39a5d0(0x2f5)]),this['_telemetryInfo']=null;}}[_0x40c17a(0x1ad)](){var _0x215b87=_0x40c17a;this[_0x215b87(0x2f5)]=null;}},exports[_0x40c17a(0x3f0)]=oi([oe(0x2,a[_0x40c17a(0x3ba)]),oe(0x3,a[_0x40c17a(0x342)]),oe(0x4,a[_0x40c17a(0x3e8)](a[_0x40c17a(0x20d)])),oe(0x5,a[_0x40c17a(0x3e8)](exports[_0x40c17a(0x41e)])),oe(0x6,a[_0x40c17a(0x3e8)](Be)),oe(0x7,a[_0x40c17a(0x3e8)](te)),oe(0x8,a[_0x40c17a(0x385)](Mt[_0x40c17a(0x3c5)]))],exports['CollaborationSession']);var ai=Object[_0x40c17a(0x2fb)],ci=(_0x12fa21,_0x5a5814,_0x18fd11,_0x457d79)=>{var _0x3aeb97=_0x40c17a;for(var _0x1a8511=_0x457d79>0x1?void 0x0:_0x457d79?ai(_0x5a5814,_0x18fd11):_0x5a5814,_0x3cfedf=_0x12fa21[_0x3aeb97(0x2be)]-0x1,_0x29ec1f;_0x3cfedf>=0x0;_0x3cfedf--)(_0x29ec1f=_0x12fa21[_0x3cfedf])&&(_0x1a8511=_0x29ec1f(_0x1a8511)||_0x1a8511);return _0x1a8511;},le=(_0x4bcf5e,_0x2cd9e7)=>(_0x6ffe7c,_0x566b3c)=>_0x2cd9e7(_0x6ffe7c,_0x566b3c,_0x4bcf5e);exports[_0x40c17a(0x313)]=class extends a[_0x40c17a(0x439)]{constructor(_0x1b6d6b,_0x546c93,_0x285a4b,_0x28ff44,_0x28d3e1,_0x567b59){var _0x3ee64c=_0x40c17a;super(),A(this,'_socket$',new j[(_0x3ee64c(0x39e))](void 0x0)),A(this,'socket$',this['_socket$'][_0x3ee64c(0x2a7)]()),A(this,_0x3ee64c(0x2d8),null),A(this,_0x3ee64c(0x4c4),new Map()),A(this,_0x3ee64c(0x2cd),new j[(_0x3ee64c(0x39e))](se[_0x3ee64c(0x44d)])),A(this,_0x3ee64c(0x48e),this[_0x3ee64c(0x2cd)][_0x3ee64c(0x2a7)]()),A(this,_0x3ee64c(0x30f),!0x1),A(this,_0x3ee64c(0x30a)),A(this,_0x3ee64c(0x28d),0x0),A(this,'_sendHeartbeatTimer'),A(this,'_timeoutTimer'),(this['_injector']=_0x1b6d6b,this[_0x3ee64c(0x190)]=_0x546c93,this['_configService']=_0x285a4b,this[_0x3ee64c(0x240)]=_0x28ff44,this['_collaborationUIEventService']=_0x28d3e1,this[_0x3ee64c(0x172)]=_0x567b59,this['_listenToNetworkCondition']());}get[_0x40c17a(0x33c)](){var _0xc79157=_0x40c17a;return this[_0xc79157(0x434)][_0xc79157(0x477)]();}['_listenToNetworkCondition'](){var _0x15aa9c=_0x40c17a;this[_0x15aa9c(0x172)]&&this['disposeWithMe'](this[_0x15aa9c(0x172)][_0x15aa9c(0x48c)]['subscribe'](_0x2fa2a4=>{var _0x2376ab=_0x15aa9c;_0x2fa2a4&&!this[_0x2376ab(0x33c)]&&this['reconnect'](),_0x2fa2a4||this[_0x2376ab(0x221)]();}));}[_0x40c17a(0x3b0)](){var _0x59a065=_0x40c17a;super[_0x59a065(0x3b0)](),this['_clearRetryConnectingTimer'](),this[_0x59a065(0x326)](),this['_clearHeartbeatTimer'](),this['_sessions'][_0x59a065(0x364)](_0x40b053=>_0x40b053[_0x59a065(0x3b0)]()),this[_0x59a065(0x4c4)][_0x59a065(0x440)](),this[_0x59a065(0x2cd)][_0x59a065(0x395)]();}async[_0x40c17a(0x18c)](_0x414316){var _0x6345e2=_0x40c17a;if(this[_0x6345e2(0x4c4)]['has'](_0x414316))return this[_0x6345e2(0x4c4)]['get'](_0x414316);this[_0x6345e2(0x37d)]();const _0x154d02=this[_0x6345e2(0x2ec)][_0x6345e2(0x3b7)](exports['CollaborationSession'],_0x414316,this[_0x6345e2(0x434)][_0x6345e2(0x2a7)]());return this[_0x6345e2(0x4c4)][_0x6345e2(0x1a8)](_0x414316,_0x154d02),_0x154d02;}['closeSession'](_0x12cbe9){var _0x17b931=_0x40c17a,_0x164d16;const _0x2d4b77=this['_sessions'][_0x17b931(0x210)](_0x12cbe9);_0x2d4b77&&(this[_0x17b931(0x4c4)][_0x17b931(0x1d6)](_0x12cbe9),_0x2d4b77[_0x17b931(0x236)]()),this[_0x17b931(0x4c4)][_0x17b931(0x424)]||(_0x164d16=this[_0x17b931(0x33c)])==null||_0x164d16[_0x17b931(0x236)]();}[_0x40c17a(0x1e5)](){var _0x4f5232=_0x40c17a;this[_0x4f5232(0x28d)]=0x0,this['_clearRetryConnectingTimer'](),this[_0x4f5232(0x230)]();}[_0x40c17a(0x1c5)](){var _0x2f8ace=_0x40c17a;this[_0x2f8ace(0x30a)]!=null&&(clearTimeout(this[_0x2f8ace(0x30a)]),this['_retryConnectingTimer']=null);}async['_createSocket'](){var _0x29520e=_0x40c17a,_0xf3489a,_0x1919e9;const _0x52993=this[_0x29520e(0x1b2)][_0x29520e(0x34e)](St),_0x5d435d=this['_configService'][_0x29520e(0x34e)](Y),_0x38e6ac=(_0x1919e9=(_0xf3489a=_0x5d435d==null?void 0x0:_0x5d435d[_0x29520e(0x36d)])!=null?_0xf3489a:_0x52993)!=null?_0x1919e9:ft,_0x2efaed=await this[_0x29520e(0x240)][_0x29520e(0x2f1)](_0x38e6ac);return this[_0x29520e(0x2d8)]=_0x2efaed,_0x2efaed;}async['_tryEnsureSocket'](){var _0x1ddc11=_0x40c17a,_0x40913d,_0x4fae21;try{const _0x34376b=(_0x4fae21=(_0x40913d=this[_0x1ddc11(0x33c)])!=null?_0x40913d:this['_candidateSocket'])!=null?_0x4fae21:await this['_createSocket']();if(_0x34376b){const _0x5eb87c=_0x34376b[_0x1ddc11(0x470)];_0x34376b[_0x1ddc11(0x470)]=_0x8f0568=>(this[_0x1ddc11(0x4ca)](),_0x5eb87c[_0x1ddc11(0x220)](_0x34376b,[_0x8f0568])),_0x34376b[_0x1ddc11(0x3ae)][_0x1ddc11(0x3f3)](_0x2edc6a=>this[_0x1ddc11(0x3a7)](_0x34376b,_0x2edc6a)),_0x34376b[_0x1ddc11(0x28c)][_0x1ddc11(0x26c)](V[_0x1ddc11(0x193)](0x1))[_0x1ddc11(0x3f3)](_0x4e418f=>this[_0x1ddc11(0x190)]['error']('[CollaborationSessionService]:\x20socket\x20error',_0x4e418f)),_0x34376b['open$'][_0x1ddc11(0x26c)](V[_0x1ddc11(0x193)](0x1))[_0x1ddc11(0x3f3)](()=>{var _0x33c486=_0x1ddc11;this[_0x33c486(0x2a2)](_0x34376b);}),_0x34376b[_0x1ddc11(0x3b3)][_0x1ddc11(0x26c)](V[_0x1ddc11(0x193)](0x1))[_0x1ddc11(0x3f3)](_0x2d5cfb=>{var _0x5b9f3a=_0x1ddc11;this[_0x5b9f3a(0x190)]['debug'](_0x5b9f3a(0x492),_0x5b9f3a(0x362),_0x2d5cfb),this[_0x5b9f3a(0x3d7)]();});}}catch(_0x41f5af){this[_0x1ddc11(0x190)][_0x1ddc11(0x45a)](_0x41f5af),this['_onConnectionFailed']();}}[_0x40c17a(0x2a2)](_0x2955bf){var _0xfdd41e=_0x40c17a;this[_0xfdd41e(0x190)][_0xfdd41e(0x1d8)](_0xfdd41e(0x492),_0xfdd41e(0x239)),_0x2955bf[_0xfdd41e(0x470)]({'cmd':W[_0xfdd41e(0x337)]}),this[_0xfdd41e(0x4ca)]();}[_0x40c17a(0x221)](){var _0x58eb82=_0x40c17a;this['_socketReady']=!0x1,this[_0x58eb82(0x2d8)]=null,this[_0x58eb82(0x2cd)][_0x58eb82(0x39d)](se[_0x58eb82(0x455)]),this[_0x58eb82(0x434)][_0x58eb82(0x39d)](null),this['_clearTimeoutTimer'](),this[_0x58eb82(0x3ca)]();}[_0x40c17a(0x3d7)](){var _0x7adf7c=_0x40c17a,_0x46593f;this[_0x7adf7c(0x221)](),this[_0x7adf7c(0x28d)]<((_0x46593f=this[_0x7adf7c(0x1b2)][_0x7adf7c(0x34e)](mt))!=null?_0x46593f:Vt)?(this['_collaborationUIEventService'][_0x7adf7c(0x37e)]({'id':Q[_0x7adf7c(0x4bb)]}),this[_0x7adf7c(0x230)]()):this[_0x7adf7c(0x2a6)][_0x7adf7c(0x37e)]({'id':Q['SOCKET_FAILED']});}['_tryReconnect'](){var _0xd711b7=_0x40c17a,_0x4f3cce;const _0x16cc6b=this['_retryCount'],_0xca7371=this['_configService'][_0xd711b7(0x34e)](Y),_0x2f8774=_0x16cc6b===0x0?0x0:((_0x4f3cce=_0xca7371==null?void 0x0:_0xca7371[_0xd711b7(0x2a4)])!=null?_0x4f3cce:Ft)*0x2**_0x16cc6b;this[_0xd711b7(0x30a)]=setTimeout(()=>{var _0x80fef3=_0xd711b7;clearTimeout(this[_0x80fef3(0x30a)]),this[_0x80fef3(0x30a)]=null,this[_0x80fef3(0x37d)]();},_0x2f8774),this[_0xd711b7(0x28d)]+=0x1;}[_0x40c17a(0x3a7)](_0x2379bf,_0x43a057){var _0x38a970=_0x40c17a;const {cmd:_0x421d85}=_0x43a057;_0x421d85===W[_0x38a970(0x337)]&&!this[_0x38a970(0x30f)]&&(_0x2379bf[_0x38a970(0x4f5)]=_0x43a057['data'][_0x38a970(0x4f5)],this[_0x38a970(0x434)][_0x38a970(0x39d)](_0x2379bf),this[_0x38a970(0x2cd)][_0x38a970(0x39d)](se[_0x38a970(0x4b4)]),this[_0x38a970(0x30f)]=!0x0,this[_0x38a970(0x2d8)]=null),_0x421d85===W[_0x38a970(0x3d1)]&&this['_clearTimeoutTimer'](),this['_rescheduleHeartbeat']();}[_0x40c17a(0x4ca)](){var _0x56e532=_0x40c17a,_0x16a704;this['_clearHeartbeatTimer'](),this[_0x56e532(0x359)]=setTimeout(()=>this[_0x56e532(0x4ec)](),(_0x16a704=this[_0x56e532(0x1b2)][_0x56e532(0x34e)](pt))!=null?_0x16a704:Bt);}[_0x40c17a(0x4ec)](){var _0x1ce332=_0x40c17a;this[_0x1ce332(0x33c)]['send']({'cmd':W[_0x1ce332(0x3d1)]}),this[_0x1ce332(0x4a2)]();}['_waitForHeartbeatResponse'](){var _0x8f31be=_0x40c17a,_0x197ff0;this[_0x8f31be(0x33f)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x197ff0=this[_0x8f31be(0x1b2)][_0x8f31be(0x34e)](je))!=null?_0x197ff0:gt);}[_0x40c17a(0x3ca)](){var _0x34dcc6=_0x40c17a;this[_0x34dcc6(0x359)]!=null&&(clearTimeout(this[_0x34dcc6(0x359)]),this[_0x34dcc6(0x359)]=null);}[_0x40c17a(0x326)](){var _0x323124=_0x40c17a;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x323124(0x33f)]),this['_timeoutTimer']=null);}},exports[_0x40c17a(0x313)]=ci([le(0x0,a['Inject'](a['Injector'])),le(0x1,a[_0x40c17a(0x3ba)]),le(0x2,a[_0x40c17a(0x342)]),le(0x3,$e),le(0x4,a[_0x40c17a(0x3e8)](te)),le(0x5,a[_0x40c17a(0x385)](bt))],exports[_0x40c17a(0x313)]);const G=[];for(let n=0x0;n<0x100;++n)G[_0x40c17a(0x48a)]((n+0x100)[_0x40c17a(0x285)](0x10)['slice'](0x1));function hi(_0x2ff6f7,_0x12f1a8=0x0){return(G[_0x2ff6f7[_0x12f1a8+0x0]]+G[_0x2ff6f7[_0x12f1a8+0x1]]+G[_0x2ff6f7[_0x12f1a8+0x2]]+G[_0x2ff6f7[_0x12f1a8+0x3]]+'-'+G[_0x2ff6f7[_0x12f1a8+0x4]]+G[_0x2ff6f7[_0x12f1a8+0x5]]+'-'+G[_0x2ff6f7[_0x12f1a8+0x6]]+G[_0x2ff6f7[_0x12f1a8+0x7]]+'-'+G[_0x2ff6f7[_0x12f1a8+0x8]]+G[_0x2ff6f7[_0x12f1a8+0x9]]+'-'+G[_0x2ff6f7[_0x12f1a8+0xa]]+G[_0x2ff6f7[_0x12f1a8+0xb]]+G[_0x2ff6f7[_0x12f1a8+0xc]]+G[_0x2ff6f7[_0x12f1a8+0xd]]+G[_0x2ff6f7[_0x12f1a8+0xe]]+G[_0x2ff6f7[_0x12f1a8+0xf]])['toLowerCase']();}let Ue;const li=new Uint8Array(0x10);function _i(){var _0xbf4df7=_0x40c17a;if(!Ue){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');Ue=crypto[_0xbf4df7(0x211)][_0xbf4df7(0x2a0)](crypto);}return Ue(li);}const ui=typeof crypto<'u'&&crypto['randomUUID']&&crypto[_0x40c17a(0x1c4)][_0x40c17a(0x2a0)](crypto),qe={'randomUUID':ui};function di(_0x1abec6,_0x11d4f3,_0x142147){var _0x3de71d=_0x40c17a,_0x1b739a,_0x19d099,_0x3d6b1;if(qe[_0x3de71d(0x1c4)]&&!_0x1abec6)return qe[_0x3de71d(0x1c4)]();_0x1abec6=_0x1abec6||{};const _0x2a79a5=(_0x3d6b1=(_0x19d099=_0x1abec6[_0x3de71d(0x328)])!=null?_0x19d099:(_0x1b739a=_0x1abec6['rng'])==null?void 0x0:_0x1b739a[_0x3de71d(0x1f6)](_0x1abec6))!=null?_0x3d6b1:_i();if(_0x2a79a5['length']<0x10)throw new Error(_0x3de71d(0x22a));return _0x2a79a5[0x6]=_0x2a79a5[0x6]&0xf|0x40,_0x2a79a5[0x8]=_0x2a79a5[0x8]&0x3f|0x80,hi(_0x2a79a5);}const z=a[_0x40c17a(0x312)](_0x40c17a(0x3f9));function vi(_0x194fb0){var _0x37836c=_0x40c17a;return _0x37836c(0x428)+_0x194fb0;}var Si=Object[_0x40c17a(0x2fb)],fi=(_0x7688fb,_0x1948cf,_0x14311e,_0x7b15af)=>{var _0x5370e6=_0x40c17a;for(var _0x4eb5b5=_0x7b15af>0x1?void 0x0:_0x7b15af?Si(_0x1948cf,_0x14311e):_0x1948cf,_0x3671b7=_0x7688fb[_0x5370e6(0x2be)]-0x1,_0x263809;_0x3671b7>=0x0;_0x3671b7--)(_0x263809=_0x7688fb[_0x3671b7])&&(_0x4eb5b5=_0x263809(_0x4eb5b5)||_0x4eb5b5);return _0x4eb5b5;},Ae=(_0x3d773b,_0x508e55)=>(_0x462ad9,_0x5600cd)=>_0x508e55(_0x462ad9,_0x5600cd,_0x3d773b);function pi(_0x4ffe24){var _0x36f6d3=_0x40c17a;const {unitID:_0x43d483,mutations:_0x288313}=_0x4ffe24;return{'unitId':_0x43d483,'subUnitId':_0x288313[0x0][_0x36f6d3(0x432)][_0x36f6d3(0x2e0)]};}exports[_0x40c17a(0x2d3)]=class{constructor(_0x225b78,_0x1f312a,_0x4d5923){var _0x31b053=_0x40c17a;this[_0x31b053(0x2ec)]=_0x225b78,this[_0x31b053(0x43f)]=_0x1f312a,this[_0x31b053(0x444)]=_0x4d5923;}[_0x40c17a(0x3eb)](_0x12657a){var _0x4ec129=_0x40c17a,_0x1ca2c3,_0x36a49e,_0x1632f2,_0x154337;const _0x6f4a28=this['_injector'][_0x4ec129(0x210)](Z[_0x4ec129(0x345)]),{unitId:_0x15741a,subUnitId:_0x2b4fa7}=pi(_0x12657a),_0x3df119=_0x6f4a28==null?void 0x0:_0x6f4a28[_0x4ec129(0x425)](_0x15741a)[_0x4ec129(0x31c)](),_0x112c7a=(_0x36a49e=(_0x1ca2c3=this['_instanceService'][_0x4ec129(0x39a)](_0x15741a))==null?void 0x0:_0x1ca2c3[_0x4ec129(0x32d)]())==null?void 0x0:_0x36a49e[_0x4ec129(0x4eb)]();if(_0x3df119[_0x4ec129(0x2be)]===0x0||!_0x15741a||!_0x2b4fa7)return;const _0x227e09=[{'id':Z[_0x4ec129(0x360)]['id'],'params':{'unitId':_0x15741a,'subUnitId':_0x112c7a,'selections':a['Tools'][_0x4ec129(0x2d9)](_0x3df119)}}],_0x2454dd=this[_0x4ec129(0x43f)][_0x4ec129(0x4cb)](_0x12657a,_0x227e09);if(!g['isTransformMutationsWithChangesetSuccess'](_0x2454dd))throw _0x2454dd[_0x4ec129(0x45a)];const _0x3b3184=(_0x154337=(_0x1632f2=_0x2454dd[_0x4ec129(0x367)][0x0])==null?void 0x0:_0x1632f2[_0x4ec129(0x432)])==null?void 0x0:_0x154337['selections'];if(Array[_0x4ec129(0x378)](_0x3b3184)&&_0x3b3184[_0x4ec129(0x2be)]){if(_0x3b3184['length']===_0x227e09[0x0][_0x4ec129(0x432)][_0x4ec129(0x25a)][_0x4ec129(0x2be)]&&_0x3b3184[_0x4ec129(0x1e3)]((_0x2ebcbc,_0x3c1cb2)=>a[_0x4ec129(0x4f9)]['equals'](_0x2ebcbc['range'],_0x227e09[0x0][_0x4ec129(0x432)][_0x4ec129(0x25a)][_0x3c1cb2][_0x4ec129(0x311)])))return;this[_0x4ec129(0x2ec)][_0x4ec129(0x210)](a[_0x4ec129(0x21b)])[_0x4ec129(0x208)](Z[_0x4ec129(0x360)]['id'],{'unitId':_0x15741a,'subUnitId':_0x112c7a,'selections':_0x3b3184});}}},exports['SheetTransformSelectionsService']=fi([Ae(0x0,a[_0x40c17a(0x3e8)](a[_0x40c17a(0x325)])),Ae(0x1,g['ITransformService']),Ae(0x2,a[_0x40c17a(0x1bf)])],exports[_0x40c17a(0x2d3)]);const ve=a['createIdentifier'](_0x40c17a(0x16e));var Fe=(_0xbc05d1=>(_0xbc05d1[_0xbc05d1[_0x40c17a(0x244)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0xbc05d1[_0xbc05d1['OTHER_CLIENTS_EDITING']=0x1]=_0x40c17a(0x4a5),_0xbc05d1))(Fe||{});const gi=new Set([Z['InsertSheetMutation']['id']]);function ze(_0x2c1bd1,_0x497247,_0x2967ba,_0x201df0,_0x55eff8){var _0x13a135=_0x40c17a,_0x54b4d2,_0x16c401,_0x4b014b,_0x14446d;const _0xb95d57=[];for(const _0x214181 of _0x2c1bd1)if(gi[_0x13a135(0x405)](_0x214181['id'])){if(_0xb95d57[_0x13a135(0x2be)]>0x0)break;_0xb95d57[_0x13a135(0x48a)](_0x214181);break;}else _0xb95d57['push'](_0x214181);const _0x7f157d=(_0x16c401=(_0x54b4d2=_0x55eff8[_0x13a135(0x265)]())==null?void 0x0:_0x54b4d2['userID'])!=null?_0x16c401:'unknown',_0x1bf674=(_0x14446d=(_0x4b014b=_0x55eff8[_0x13a135(0x265)]())==null?void 0x0:_0x4b014b[_0x13a135(0x4f5)])!=null?_0x14446d:'unknown';return{'changeset':{'unitID':_0x497247,'type':g[_0x13a135(0x460)](_0x2967ba[_0x13a135(0x3fa)](_0x497247)),'baseRev':_0x201df0['getCurrentRevOfUnit'](_0x497247),'revision':0x0,'userID':_0x7f157d,'memberID':_0x1bf674,'mutations':_0xb95d57},'pendingMutations':_0x2c1bd1[_0x13a135(0x24c)](_0xb95d57[_0x13a135(0x2be)])};}function mi(_0x961dad,_0x526ce2,_0x425bbd,_0x8b9d18,_0x517ac8){var _0x4a308a=_0x40c17a,_0x3a3a6e,_0x46b21e,_0x541c34,_0x3a425e;const _0x4da201=[_0x961dad[_0x4a308a(0x2a9)]((_0x1e5ddb,_0x2ae646)=>{var _0x5342a9=_0x4a308a,_0x1dc6e5;const {id:_0x304861}=_0x1e5ddb,{id:_0x2ead43,type:_0x501313}=_0x2ae646,_0xa7b1b0=(_0x1dc6e5=_0x1e5ddb[_0x5342a9(0x432)])!=null?_0x1dc6e5:{'actions':null},_0x1fe188=_0x2ae646[_0x5342a9(0x432)];if(_0x304861&&_0x304861!==_0x2ead43)throw new Error(_0x5342a9(0x401)+_0x304861+_0x5342a9(0x43c)+_0x2ead43+'.');return{..._0x1e5ddb,'id':_0x2ead43,'type':_0x501313,'params':{'unitId':_0x1fe188['unitId'],'textRanges':_0x1fe188[_0x5342a9(0x26e)],'actions':a[_0x5342a9(0x2bf)][_0x5342a9(0x18e)](_0xa7b1b0[_0x5342a9(0x24e)],_0x1fe188[_0x5342a9(0x24e)])}};},{})],_0x2ee1d9=(_0x46b21e=(_0x3a3a6e=_0x517ac8[_0x4a308a(0x265)]())==null?void 0x0:_0x3a3a6e[_0x4a308a(0x23f)])!=null?_0x46b21e:_0x4a308a(0x3c3),_0x2450a5=(_0x3a425e=(_0x541c34=_0x517ac8[_0x4a308a(0x265)]())==null?void 0x0:_0x541c34['memberID'])!=null?_0x3a425e:_0x4a308a(0x3c3);return{'changeset':{'unitID':_0x526ce2,'type':g['mapDocumentTypeToUniverType'](_0x425bbd[_0x4a308a(0x3fa)](_0x526ce2)),'baseRev':_0x8b9d18[_0x4a308a(0x397)](_0x526ce2),'revision':0x0,'userID':_0x2ee1d9,'memberID':_0x2450a5,'mutations':_0x4da201},'pendingMutations':[]};}function yt(_0x17ef64,_0x2bb154){var _0xff132a=_0x40c17a;const _0x385bac=new j['ReplaySubject'](0x1);return setTimeout(()=>_0x385bac[_0xff132a(0x39d)](_0x2bb154),_0x17ef64),_0x385bac['asObservable']()[_0xff132a(0x26c)](j['take'](0x1));}const Ii={'id':Z[_0x40c17a(0x42a)]['id'],'type':a['CommandType'][_0x40c17a(0x406)],'params':{}};var Ei=Object['getOwnPropertyDescriptor'],ce=(_0xec8374,_0x1cd7fd,_0x8f2ce6,_0x214523)=>{for(var _0x46e5e8=_0x214523>0x1?void 0x0:_0x214523?Ei(_0x1cd7fd,_0x8f2ce6):_0x1cd7fd,_0x511e71=_0xec8374['length']-0x1,_0x58467d;_0x511e71>=0x0;_0x511e71--)(_0x58467d=_0xec8374[_0x511e71])&&(_0x46e5e8=_0x58467d(_0x46e5e8)||_0x46e5e8);return _0x46e5e8;},w=(_0xb4f937,_0x53d65a)=>(_0x8f4f95,_0x5cafa4)=>_0x53d65a(_0x8f4f95,_0x5cafa4,_0xb4f937),Ve=(_0x2a9dc2=>(_0x2a9dc2[_0x40c17a(0x174)]='not_collab',_0x2a9dc2[_0x40c17a(0x369)]=_0x40c17a(0x3a0),_0x2a9dc2[_0x40c17a(0x306)]=_0x40c17a(0x330),_0x2a9dc2[_0x40c17a(0x1af)]=_0x40c17a(0x443),_0x2a9dc2[_0x40c17a(0x1ec)]='awaiting_with_pending',_0x2a9dc2[_0x40c17a(0x3c0)]=_0x40c17a(0x372),_0x2a9dc2['CONFLICT']=_0x40c17a(0x2b2),_0x2a9dc2['OFFLINE']=_0x40c17a(0x4ac),_0x2a9dc2))(Ve||{});const Nt=0xea60;class he{constructor(_0x450de1,_0x522eb9,_0x49c1bc,_0x288881,_0x6facc9,_0x3af09b,_0x2917d7,_0x5d26e1,_0x57cd26){var _0x1e18db=_0x40c17a;A(this,'_awaitingChangeset',null),A(this,'_pendingMutations',[]),(this['unitID']=_0x450de1,this[_0x1e18db(0x463)]=_0x522eb9,this[_0x1e18db(0x1cc)]=_0x6facc9,this[_0x1e18db(0x3f6)]=_0x3af09b,this[_0x1e18db(0x23b)]=_0x2917d7,this[_0x1e18db(0x335)]=_0x5d26e1,this[_0x1e18db(0x2c7)]=_0x57cd26,this[_0x1e18db(0x1ca)]=_0x49c1bc,this[_0x1e18db(0x1a5)]=_0x288881);}[_0x40c17a(0x4b3)](_0x42c415){var _0x26b978=_0x40c17a;const _0x506088=this['_revisionService'][_0x26b978(0x397)](this[_0x26b978(0x465)]);return _0x42c415['revision']>_0x506088+0x1?(this['_handler'][_0x26b978(0x4cc)]({'from':_0x506088,'to':_0x42c415[_0x26b978(0x250)]-0x1}),!0x0):!0x1;}[_0x40c17a(0x34a)](_0x1b6ccd){var _0x1af0d2=_0x40c17a;this['_undoRedoService']['transformUndoRedo'](this[_0x1af0d2(0x465)],_0x1b6ccd);}[_0x40c17a(0x3fc)](_0x18cefe){var _0xc4bc61=_0x40c17a,_0x37cc75,_0x409f12;(_0x409f12=(_0x37cc75=this[_0xc4bc61(0x1cc)])[_0xc4bc61(0x2f9)])==null||_0x409f12[_0xc4bc61(0x1f6)](_0x37cc75,_0x18cefe);}[_0x40c17a(0x1bd)](_0x4e0383){var _0x25ea53=_0x40c17a,_0x2a6f56,_0x14376c;return(_0x14376c=(_0x2a6f56=this[_0x25ea53(0x1cc)])[_0x25ea53(0x39c)])==null?void 0x0:_0x14376c['call'](_0x2a6f56,_0x4e0383);}[_0x40c17a(0x298)](_0x4d1a9e){var _0x264696=_0x40c17a,_0x41a20b,_0x3aa8b6;return(_0x3aa8b6=(_0x41a20b=this[_0x264696(0x1cc)])[_0x264696(0x18b)])==null?void 0x0:_0x3aa8b6[_0x264696(0x1f6)](_0x41a20b,_0x4d1a9e);}['_transformRemoteChangesetByIMECache'](_0x935d6f){var _0x209529=_0x40c17a,_0x25e25b,_0x57a4ca,_0x14a6e8;return(_0x14a6e8=(_0x57a4ca=(_0x25e25b=this[_0x209529(0x1cc)])[_0x209529(0x269)])==null?void 0x0:_0x57a4ca[_0x209529(0x1f6)](_0x25e25b,_0x935d6f))!=null?_0x14a6e8:_0x935d6f;}[_0x40c17a(0x4d6)](_0x41cd2a){var _0x5c4f8d=_0x40c17a,_0x25c178,_0x1b7905,_0x27b08d;return(_0x27b08d=(_0x1b7905=(_0x25c178=this[_0x5c4f8d(0x1cc)])[_0x5c4f8d(0x26b)])==null?void 0x0:_0x1b7905[_0x5c4f8d(0x1f6)](_0x25c178,_0x41cd2a))!=null?_0x27b08d:_0x41cd2a;}[_0x40c17a(0x36c)](_0x5d3072){var _0xb3c1e6=_0x40c17a,_0x4cbea3,_0x155f49;if(this[_0xb3c1e6(0x463)]===X[_0xb3c1e6(0x3fd)]){const {unitID:_0x38c4ed,mutations:_0x20cb55,memberID:_0x9d8a09}=_0x5d3072,_0x41d0fd=_0x20cb55[0x0][_0xb3c1e6(0x432)][_0xb3c1e6(0x26e)];Array['isArray'](_0x41d0fd)&&_0x41d0fd['length']>0x0&&((_0x155f49=(_0x4cbea3=this[_0xb3c1e6(0x1cc)])['onSyncEditingCollabCursor'])==null||_0x155f49[_0xb3c1e6(0x1f6)](_0x4cbea3,{'unitID':_0x38c4ed,'memberID':_0x9d8a09,'textRanges':_0x41d0fd}));}}[_0x40c17a(0x48b)](){var _0x122db3=_0x40c17a,_0x262434;(_0x262434=this['_localCacheService'])==null||_0x262434[_0x122db3(0x422)](this[_0x122db3(0x465)],this['type'],this[_0x122db3(0x1ca)],this['_pendingMutations']);}[_0x40c17a(0x29b)](){var _0x36f2ff=_0x40c17a;return this[_0x36f2ff(0x335)]['getCurrentRevOfUnit'](this[_0x36f2ff(0x465)]);}['_incrementRevisionNumber'](){var _0x69c972=_0x40c17a;this['_revisionService']['incrementRevOfUnit'](this[_0x69c972(0x465)]);}[_0x40c17a(0x2f2)](_0x146ab4){var _0x2d243c=_0x40c17a,_0x348d0b;let _0x4a04e4=this[_0x2d243c(0x3cf)](_0x146ab4);_0x4a04e4=this['_transformRemoteChangesetByStateCache'](_0x4a04e4);const _0x4eb941=a[_0x2d243c(0x456)](_0x4a04e4[_0x2d243c(0x1c0)],this['_commandService'],{'fromCollab':!0x0});if(!_0x4eb941[_0x2d243c(0x1c9)])throw _0x4eb941[_0x2d243c(0x45a)]instanceof Error?_0x4eb941['error']:new Error((_0x348d0b=_0x4eb941[_0x2d243c(0x45a)])!=null?_0x348d0b:_0x2d243c(0x1d9));this[_0x2d243c(0x1bd)](_0x4a04e4),this[_0x2d243c(0x298)](_0x4a04e4),this[_0x2d243c(0x34a)](_0x146ab4),this[_0x2d243c(0x3fc)](_0x4a04e4),this[_0x2d243c(0x36c)](_0x4a04e4),this[_0x2d243c(0x1e0)]();}}exports[_0x40c17a(0x35f)]=class extends he{constructor(_0x15d333,_0x13fe0b,_0x5952ef,_0x3fe471,_0xd8bfe5,_0x2b6d58,_0x5e0e1e,_0x25dba1,_0x49878b,_0x242dbe){var _0x33d9b9=_0x40c17a;super(_0x15d333,_0x13fe0b,null,[],_0x5952ef,_0x5e0e1e,_0x2b6d58,_0x3fe471,_0x242dbe),A(this,_0x33d9b9(0x17d),'synced'),(this[_0x33d9b9(0x2ec)]=_0xd8bfe5,this[_0x33d9b9(0x190)]=_0x25dba1,this[_0x33d9b9(0x43f)]=_0x49878b,this[_0x33d9b9(0x45b)]=_0x242dbe);}[_0x40c17a(0x464)](_0x14bddf){var _0x4347df=_0x40c17a;const _0x19638b=this[_0x4347df(0x2ec)][_0x4347df(0x3b7)](exports['PendingState'],this[_0x4347df(0x465)],this[_0x4347df(0x463)],[_0x14bddf],this[_0x4347df(0x1cc)]);return _0x19638b[_0x4347df(0x35d)](),_0x19638b['_updateLocalCache'](),_0x19638b;}[_0x40c17a(0x2e9)](_0x1a76a1){var _0x500c4b=_0x40c17a;if(this[_0x500c4b(0x4b3)](_0x1a76a1))return this[_0x500c4b(0x2ec)][_0x500c4b(0x3b7)](exports['FetchingMissState'],this[_0x500c4b(0x465)],this[_0x500c4b(0x463)],null,[],null,[_0x1a76a1],this[_0x500c4b(0x1cc)]);try{const _0x4b5b52=this['_transformService']['transformMutationsWithChangeset'](_0x1a76a1,[Ii]);if(g[_0x500c4b(0x2d4)](_0x4b5b52)){const {c1Prime:_0x4613d4}=_0x4b5b52;return this[_0x500c4b(0x2f2)](_0x4613d4),this;}throw _0x4b5b52[_0x500c4b(0x45a)];}catch(_0x1e4b3e){return this['_logService'][_0x500c4b(0x45a)](_0x1e4b3e),this[_0x500c4b(0x3bd)](!0x1);}}[_0x40c17a(0x3bd)](_0x12550e){var _0x125415=_0x40c17a;return this[_0x125415(0x2ec)][_0x125415(0x3b7)](exports[_0x125415(0x415)],this[_0x125415(0x465)],this[_0x125415(0x463)],null,[],this[_0x125415(0x1cc)],_0x12550e);}[_0x40c17a(0x200)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x40c17a(0x437)](){var _0x494c11=_0x40c17a;throw new Error(_0x494c11(0x1e4));}['onRemoteRetry'](){return this;}[_0x40c17a(0x418)](){var _0x170ce3=_0x40c17a;return this['_injector'][_0x170ce3(0x3b7)](exports[_0x170ce3(0x3c6)],this[_0x170ce3(0x465)],this[_0x170ce3(0x463)],null,[],this[_0x170ce3(0x1cc)]);}['toggleOnline'](){return this;}['resend'](){var _0x32b366=_0x40c17a;throw new Error(_0x32b366(0x46d));}[_0x40c17a(0x42e)](){var _0x26ca57=_0x40c17a;const _0x22de54=this['_revisionService']['getCurrentRevOfUnit'](this[_0x26ca57(0x465)]);return this[_0x26ca57(0x1cc)][_0x26ca57(0x4cc)]({'from':_0x22de54,'to':0x0}),this[_0x26ca57(0x2ec)][_0x26ca57(0x3b7)](exports['FetchingMissState'],this[_0x26ca57(0x465)],this[_0x26ca57(0x463)],null,[],null,[],this[_0x26ca57(0x1cc)]);}},exports[_0x40c17a(0x35f)]=ce([w(0x3,a['Inject'](g['RevisionService'])),w(0x4,a['Inject'](a[_0x40c17a(0x325)])),w(0x5,a[_0x40c17a(0x41f)]),w(0x6,a[_0x40c17a(0x21b)]),w(0x7,a[_0x40c17a(0x3ba)]),w(0x8,g[_0x40c17a(0x309)]),w(0x9,a['Optional'](z))],exports[_0x40c17a(0x35f)]),exports[_0x40c17a(0x2cf)]=class extends he{constructor(_0x36477d,_0x363730,_0x363172,_0x1ccd00,_0x186873,_0x1241a8,_0x248a8e,_0x424dc7,_0xb1190c,_0x47b20f,_0x9724c8,_0x8e1d20,_0x25c6e2,_0xb35db6){var _0x69636e=_0x40c17a;super(_0x36477d,_0x363730,null,_0x363172,_0x1ccd00,_0xb1190c,_0x25c6e2,_0x1241a8,_0xb35db6),A(this,_0x69636e(0x17d),_0x69636e(0x330)),A(this,_0x69636e(0x376),null),A(this,_0x69636e(0x3b8),null),(this[_0x69636e(0x2ec)]=_0x186873,this[_0x69636e(0x4a7)]=_0x248a8e,this[_0x69636e(0x190)]=_0x424dc7,this['_configService']=_0x47b20f,this[_0x69636e(0x43f)]=_0x9724c8,this['_univerInstanceService']=_0x8e1d20);}[_0x40c17a(0x464)](_0x33cedd){var _0x32c0a9=_0x40c17a;return this[_0x32c0a9(0x1a5)]['push'](_0x33cedd),this[_0x32c0a9(0x48b)](),this;}[_0x40c17a(0x2e9)](_0x2ce7ac){var _0x313490=_0x40c17a;if(this[_0x313490(0x4b3)](_0x2ce7ac))return this['_clearScheduledTask'](),this[_0x313490(0x2ec)][_0x313490(0x3b7)](exports['FetchingMissState'],this[_0x313490(0x465)],this[_0x313490(0x463)],null,this[_0x313490(0x1a5)],null,[_0x2ce7ac],this[_0x313490(0x1cc)]);try{const _0x11bc47=this[_0x313490(0x43f)]['transformMutationsWithChangeset'](_0x2ce7ac,this['_pendingMutations']);if(g[_0x313490(0x2d4)](_0x11bc47)){const {c1Prime:_0x1db568,m2Prime:_0x542261}=_0x11bc47;this[_0x313490(0x2f2)](_0x1db568);const _0xb8bb83=this['_injector'][_0x313490(0x3b7)](exports[_0x313490(0x2cf)],this[_0x313490(0x465)],this[_0x313490(0x463)],_0x542261,this[_0x313490(0x1cc)]);this[_0x313490(0x41c)]();const _0x1cc819=new Date()[_0x313490(0x175)](),_0x5b1e83=this['_scheduleCompleteTimestamp']?Math[_0x313490(0x1a4)](this[_0x313490(0x376)]-_0x1cc819,0x0):this[_0x313490(0x332)]();return _0xb8bb83[_0x313490(0x35d)](_0x5b1e83),_0xb8bb83;}throw _0x11bc47[_0x313490(0x45a)];}catch(_0x4b9694){return this[_0x313490(0x190)][_0x313490(0x45a)](_0x4b9694),this[_0x313490(0x3bd)](!0x1);}}['onRemoteAck'](){var _0x5ad452=_0x40c17a;throw new Error(_0x5ad452(0x454));}['onRemoteRej'](){var _0x459499=_0x40c17a;throw new Error(_0x459499(0x3cb));}[_0x40c17a(0x399)](){return this;}[_0x40c17a(0x418)](){var _0x4efd00=_0x40c17a;return this[_0x4efd00(0x41c)](),this[_0x4efd00(0x2ec)][_0x4efd00(0x3b7)](exports[_0x4efd00(0x3c6)],this[_0x4efd00(0x465)],this[_0x4efd00(0x463)],null,this[_0x4efd00(0x1a5)],this[_0x4efd00(0x1cc)]);}[_0x40c17a(0x4c3)](){return this;}[_0x40c17a(0x35d)](_0x3e499c){var _0x46476a=_0x40c17a;const _0x23b367=_0x3e499c!=null?_0x3e499c:this[_0x46476a(0x332)]();this[_0x46476a(0x376)]=new Date()['getTime']()+_0x23b367,this['_sendingTimer']=setTimeout(()=>{var _0x1da41b=_0x46476a;this[_0x1da41b(0x41c)]();let _0x200522=null;switch(this[_0x1da41b(0x463)]){case X[_0x1da41b(0x20b)]:{_0x200522=ze(this[_0x1da41b(0x1a5)],this[_0x1da41b(0x465)],this['_univerInstanceService'],this[_0x1da41b(0x335)],this[_0x1da41b(0x4a7)]);break;}case X[_0x1da41b(0x3fd)]:{this['_pendingMutations'][_0x1da41b(0x1e3)](_0x8b49c5=>_0x8b49c5['id']===ut[_0x1da41b(0x1ae)]['id'])?_0x200522=mi(this[_0x1da41b(0x1a5)],this[_0x1da41b(0x465)],this[_0x1da41b(0x16d)],this[_0x1da41b(0x335)],this[_0x1da41b(0x4a7)]):_0x200522=ze(this[_0x1da41b(0x1a5)],this['unitID'],this[_0x1da41b(0x16d)],this['_revisionService'],this[_0x1da41b(0x4a7)]);break;}default:throw new Error(_0x1da41b(0x18f)+this[_0x1da41b(0x463)]+'\x20in\x20_schedule.');}const {changeset:_0xfe5832,pendingMutations:_0x192d4b}=_0x200522;this['_handler']['onSendChangeset'](_0xfe5832);const _0x5544b5=_0x192d4b[_0x1da41b(0x2be)]?this[_0x1da41b(0x2ec)][_0x1da41b(0x3b7)](exports['AwaitingWithPendingState'],this['unitID'],this[_0x1da41b(0x463)],_0xfe5832,_0x192d4b,this[_0x1da41b(0x1cc)],void 0x0):this[_0x1da41b(0x2ec)][_0x1da41b(0x3b7)](exports[_0x1da41b(0x327)],this[_0x1da41b(0x465)],this[_0x1da41b(0x463)],_0xfe5832,this['_handler']);_0x5544b5['_updateLocalCache'](),this[_0x1da41b(0x1cc)][_0x1da41b(0x31b)](this,_0x5544b5);},_0x23b367);}[_0x40c17a(0x332)](){var _0x4744d1=_0x40c17a,_0x4ad0c2;const _0x53a7ca=this[_0x4744d1(0x1b2)][_0x4744d1(0x34e)](Y);return(_0x4ad0c2=_0x53a7ca==null?void 0x0:_0x53a7ca[_0x4744d1(0x2e5)])!=null?_0x4ad0c2:jt;}[_0x40c17a(0x324)](){var _0x13a209=_0x40c17a;throw new Error(_0x13a209(0x2ae));}[_0x40c17a(0x41c)](){var _0x3f5cd8=_0x40c17a;this[_0x3f5cd8(0x3b8)]!=null&&(clearTimeout(this[_0x3f5cd8(0x3b8)]),this[_0x3f5cd8(0x3b8)]=null);}[_0x40c17a(0x3bd)](_0x328f69){var _0x4ad8a6=_0x40c17a;return this['_clearScheduledTask'](),this['_injector'][_0x4ad8a6(0x3b7)](exports[_0x4ad8a6(0x415)],this[_0x4ad8a6(0x465)],this[_0x4ad8a6(0x463)],null,this['_pendingMutations'],this['_handler'],_0x328f69);}},exports['PendingState']=ce([w(0x4,a[_0x40c17a(0x3e8)](a['Injector'])),w(0x5,a[_0x40c17a(0x3e8)](g['RevisionService'])),w(0x6,a[_0x40c17a(0x3e8)](exports[_0x40c17a(0x41e)])),w(0x7,a['ILogService']),w(0x8,a['ICommandService']),w(0x9,a[_0x40c17a(0x342)]),w(0xa,g['ITransformService']),w(0xb,a[_0x40c17a(0x1bf)]),w(0xc,a[_0x40c17a(0x41f)]),w(0xd,a[_0x40c17a(0x385)](z))],exports[_0x40c17a(0x2cf)]),exports[_0x40c17a(0x327)]=class extends he{constructor(_0x162cff,_0x2db029,_0x143409,_0x3e9d4b,_0x166d21,_0x32cb11,_0x45465a,_0x3beb10,_0xf5d248,_0x42aac5,_0x989c92){var _0x1e7fe8=_0x40c17a;super(_0x162cff,_0x2db029,_0x143409,[],_0x3e9d4b,_0x45465a,_0x42aac5,_0x32cb11,_0x989c92),A(this,_0x1e7fe8(0x17d),_0x1e7fe8(0x443)),A(this,_0x1e7fe8(0x2a3),0x0),A(this,_0x1e7fe8(0x1f8)),A(this,_0x1e7fe8(0x4a4)),(this['_injector']=_0x166d21,this[_0x1e7fe8(0x190)]=_0x3beb10,this[_0x1e7fe8(0x43f)]=_0xf5d248);}[_0x40c17a(0x464)](_0x2b3f56){var _0x1ec5d8=_0x40c17a;this[_0x1ec5d8(0x41c)]();const _0x5de735=this[_0x1ec5d8(0x2ec)][_0x1ec5d8(0x3b7)](exports['AwaitingWithPendingState'],this['unitID'],this['type'],this['_awaitingChangeset'],[_0x2b3f56],this['_handler'],this[_0x1ec5d8(0x1f8)]);return _0x5de735[_0x1ec5d8(0x48b)](),_0x5de735;}[_0x40c17a(0x2e9)](_0x3c0509){var _0x57de5e=_0x40c17a;if(this[_0x57de5e(0x4b3)](_0x3c0509))return this[_0x57de5e(0x41c)](),this['_injector']['createInstance'](exports['FetchingMissState'],this['unitID'],this[_0x57de5e(0x463)],this['_awaitingChangeset'],[],null,[_0x3c0509],this[_0x57de5e(0x1cc)]);try{const _0x486a43=this[_0x57de5e(0x43f)][_0x57de5e(0x2c1)]([_0x3c0509],[this[_0x57de5e(0x1ca)]],!0x1);if(g[_0x57de5e(0x2dd)](_0x486a43)){const {c1Prime:_0x39575b,c2Prime:_0xa27be9}=_0x486a43;this[_0x57de5e(0x2f2)](_0x39575b[0x0]),_0xa27be9[0x0][_0x57de5e(0x19e)]=this['_getCurrentRevision'](),this['_clearScheduledTask']();const _0x2161e0=this[_0x57de5e(0x2ec)][_0x57de5e(0x3b7)](exports['AwaitingState'],this[_0x57de5e(0x465)],this[_0x57de5e(0x463)],_0xa27be9[0x0],this[_0x57de5e(0x1cc)]);return _0x2161e0[_0x57de5e(0x48b)](),_0x2161e0;}return this['_onConflict'](!0x1);}catch(_0x4a30ab){return this['_logService'][_0x57de5e(0x45a)](_0x4a30ab),this['_onConflict'](!0x1);}}['onRemoteAck'](_0x161c9a){var _0x5b5a8b=_0x40c17a;this[_0x5b5a8b(0x41c)]();const _0x44f8fd=this['_revisionService'][_0x5b5a8b(0x397)](this[_0x5b5a8b(0x465)]);if(_0x161c9a['revision']<_0x44f8fd-0x1)return this;if(this[_0x5b5a8b(0x4b3)](_0x161c9a))return this[_0x5b5a8b(0x2ec)][_0x5b5a8b(0x3b7)](exports[_0x5b5a8b(0x24a)],this[_0x5b5a8b(0x465)],this[_0x5b5a8b(0x463)],null,[],this['_awaitingChangeset'],[],this[_0x5b5a8b(0x1cc)]);this['_incrementRevisionNumber']();const _0x58ce91=this[_0x5b5a8b(0x2ec)]['createInstance'](exports['SyncedState'],this[_0x5b5a8b(0x465)],this[_0x5b5a8b(0x463)],this[_0x5b5a8b(0x1cc)]);return _0x58ce91[_0x5b5a8b(0x48b)](),_0x58ce91;}[_0x40c17a(0x437)](_0x454e3c){var _0x1dc18e=_0x40c17a;return this['_onConflict'](!!(_0x454e3c!=null&&_0x454e3c[_0x1dc18e(0x1be)]));}[_0x40c17a(0x399)](_0x5424a5){var _0x31640c=_0x40c17a;return this[_0x31640c(0x2a3)]>Nt?this[_0x31640c(0x418)]():(this['_resendTimer']=yt(this[_0x31640c(0x2a3)],{'timeout':this['_resendTimeout'],'reqId':_0x5424a5[_0x31640c(0x1b7)]}),this['_sender']=this[_0x31640c(0x1f8)][_0x31640c(0x3f3)](({reqId:_0x5ad72f,timeout:_0xef33f3})=>{this['_resendWithTimeout'](_0x5ad72f,_0xef33f3);}),this);}[_0x40c17a(0x418)](){var _0x21b669=_0x40c17a;return this[_0x21b669(0x41c)](),this[_0x21b669(0x2ec)]['createInstance'](exports[_0x21b669(0x3c6)],this[_0x21b669(0x465)],this[_0x21b669(0x463)],this[_0x21b669(0x1ca)],[],this[_0x21b669(0x1cc)]);}[_0x40c17a(0x4c3)](){return this;}[_0x40c17a(0x324)](){var _0x3b6cbd=_0x40c17a;this[_0x3b6cbd(0x1cc)]['onSendChangeset'](this[_0x3b6cbd(0x1ca)]);}[_0x40c17a(0x3bd)](_0x5e743f){var _0x7d4178=_0x40c17a;return this[_0x7d4178(0x41c)](),this['_injector']['createInstance'](exports['ConflictState'],this[_0x7d4178(0x465)],this['type'],this['_awaitingChangeset'],[],this['_handler'],_0x5e743f);}[_0x40c17a(0x224)](_0x1c7bce,_0x5ccae0){var _0x2e41b2=_0x40c17a,_0x1f5106;_0x1c7bce===((_0x1f5106=this[_0x2e41b2(0x1ca)])==null?void 0x0:_0x1f5106['reqId'])&&(this['resend'](),this[_0x2e41b2(0x2a3)]=_0x5ccae0===0x0?0x3e8:_0x5ccae0*0x2);}[_0x40c17a(0x41c)](){var _0x53c065=_0x40c17a,_0x13950b;(_0x13950b=this[_0x53c065(0x4a4)])==null||_0x13950b[_0x53c065(0x3cc)](),this[_0x53c065(0x2a3)]=0x0;}},exports[_0x40c17a(0x327)]=ce([w(0x4,a['Inject'](a['Injector'])),w(0x5,a[_0x40c17a(0x3e8)](g[_0x40c17a(0x38f)])),w(0x6,a['ICommandService']),w(0x7,a['ILogService']),w(0x8,g[_0x40c17a(0x309)]),w(0x9,a[_0x40c17a(0x41f)]),w(0xa,a[_0x40c17a(0x385)](z))],exports[_0x40c17a(0x327)]),exports[_0x40c17a(0x18d)]=class extends he{constructor(_0x1dd95b,_0x30d0bb,_0x3223ba,_0x1f57cc,_0x3798db,_0x374d88,_0x22c661,_0x7e69d7,_0x33ce30,_0x163eab,_0x4f8031,_0x5003cd,_0x4b5152){var _0x2439ad=_0x40c17a;super(_0x1dd95b,_0x30d0bb,_0x3223ba,_0x1f57cc,_0x3798db,_0x33ce30,_0x5003cd,_0x7e69d7,_0x4b5152),A(this,_0x2439ad(0x17d),_0x2439ad(0x258)),A(this,_0x2439ad(0x2a3),0x0),A(this,_0x2439ad(0x1f8)),A(this,_0x2439ad(0x4a4)),(this['_injector']=_0x22c661,this[_0x2439ad(0x190)]=_0x163eab,this['_transformService']=_0x4f8031,this[_0x2439ad(0x45b)]=_0x4b5152,_0x374d88&&(this[_0x2439ad(0x1f8)]=_0x374d88,this[_0x2439ad(0x4a4)]=this[_0x2439ad(0x1f8)][_0x2439ad(0x3f3)](({reqId:_0x2a1da8,timeout:_0x3d97bd})=>{var _0x3d1c5=_0x2439ad;this[_0x3d1c5(0x224)](_0x2a1da8,_0x3d97bd);})));}['appendMutation'](_0x2ab15b){var _0x20e92c=_0x40c17a;return this[_0x20e92c(0x1a5)][_0x20e92c(0x48a)](_0x2ab15b),this;}[_0x40c17a(0x2e9)](_0x56aef8){var _0x3c30f2=_0x40c17a;if(this[_0x3c30f2(0x4b3)](_0x56aef8))return this[_0x3c30f2(0x41c)](),this['_injector'][_0x3c30f2(0x3b7)](exports[_0x3c30f2(0x24a)],this[_0x3c30f2(0x465)],this[_0x3c30f2(0x463)],this[_0x3c30f2(0x1ca)],this[_0x3c30f2(0x1a5)],null,[_0x56aef8],this[_0x3c30f2(0x1cc)]);try{const _0xe8f1cf=this['_transformService']['transformChangesets']([_0x56aef8],[this['_awaitingChangeset']],!0x1);if(g[_0x3c30f2(0x2dd)](_0xe8f1cf)){const {c1Prime:_0x579af0,c2Prime:_0x3ca8f4}=_0xe8f1cf,_0x24aaed=this[_0x3c30f2(0x43f)]['transformMutationsWithChangeset'](_0x579af0[0x0],this[_0x3c30f2(0x1a5)]);if(g['isTransformMutationsWithChangesetSuccess'](_0x24aaed)){const {c1Prime:_0x3e6654,m2Prime:_0x6b44ed}=_0x24aaed;return this['_executeRemoteChangeset'](_0x3e6654),_0x3ca8f4[0x0]['baseRev']=this[_0x3c30f2(0x29b)](),this[_0x3c30f2(0x41c)](),this[_0x3c30f2(0x2ec)][_0x3c30f2(0x3b7)](exports['AwaitingWithPendingState'],this['unitID'],this[_0x3c30f2(0x463)],_0x3ca8f4[0x0],_0x6b44ed,this[_0x3c30f2(0x1cc)],void 0x0);}throw _0x24aaed[_0x3c30f2(0x45a)];}throw _0xe8f1cf['error'];}catch(_0x570d2e){return this['_logService'][_0x3c30f2(0x45a)](_0x570d2e),this[_0x3c30f2(0x3bd)](!0x1);}}[_0x40c17a(0x200)](_0x558df7){var _0x8168e2=_0x40c17a;if(this[_0x8168e2(0x41c)](),this['_checkMissing'](_0x558df7))return this[_0x8168e2(0x2ec)][_0x8168e2(0x3b7)](exports['FetchingMissState'],this['unitID'],this[_0x8168e2(0x463)],null,this[_0x8168e2(0x1a5)],this['_awaitingChangeset'],[],this[_0x8168e2(0x1cc)]);this[_0x8168e2(0x1e0)]();const _0x2aa1e6=this[_0x8168e2(0x2ec)][_0x8168e2(0x3b7)](exports[_0x8168e2(0x2cf)],this[_0x8168e2(0x465)],this[_0x8168e2(0x463)],this[_0x8168e2(0x1a5)],this[_0x8168e2(0x1cc)]);return _0x2aa1e6[_0x8168e2(0x35d)](),_0x2aa1e6[_0x8168e2(0x48b)](),_0x2aa1e6;}[_0x40c17a(0x437)](_0x2b940e){var _0x5a6d3e=_0x40c17a;return this[_0x5a6d3e(0x3bd)](!!(_0x2b940e!=null&&_0x2b940e[_0x5a6d3e(0x1be)]));}[_0x40c17a(0x399)](_0x3c06d4){var _0x530b03=_0x40c17a;return this['_resendTimeout']>Nt?this[_0x530b03(0x418)]():(this['_resendTimer']=yt(this[_0x530b03(0x2a3)],{'timeout':this[_0x530b03(0x2a3)],'reqId':_0x3c06d4['reqId']}),this[_0x530b03(0x4a4)]=this['_resendTimer']['subscribe'](({reqId:_0x50137c,timeout:_0x10491e})=>{var _0x3b7541=_0x530b03;this[_0x3b7541(0x224)](_0x50137c,_0x10491e);}),this);}[_0x40c17a(0x418)](){var _0x40d7a7=_0x40c17a;return this['_clearScheduledTask'](),this[_0x40d7a7(0x2ec)][_0x40d7a7(0x3b7)](exports[_0x40d7a7(0x3c6)],this[_0x40d7a7(0x465)],this['type'],this[_0x40d7a7(0x1ca)],this[_0x40d7a7(0x1a5)],this[_0x40d7a7(0x1cc)]);}['toggleOnline'](){return this;}[_0x40c17a(0x324)](){var _0x3bdb97=_0x40c17a;this[_0x3bdb97(0x1cc)][_0x3bdb97(0x246)](this[_0x3bdb97(0x1ca)]);}[_0x40c17a(0x3bd)](_0x5589a1){var _0x400f54=_0x40c17a;return this[_0x400f54(0x41c)](),this[_0x400f54(0x2ec)][_0x400f54(0x3b7)](exports['ConflictState'],this['unitID'],this[_0x400f54(0x463)],null,this['_pendingMutations'],this['_handler'],_0x5589a1);}['_resendWithTimeout'](_0x4ce044,_0x5e77ba){var _0x5f3307=_0x40c17a,_0x551fff;_0x4ce044===((_0x551fff=this[_0x5f3307(0x1ca)])==null?void 0x0:_0x551fff[_0x5f3307(0x1b7)])&&(this[_0x5f3307(0x324)](),this[_0x5f3307(0x2a3)]=_0x5e77ba===0x0?0x3e8:_0x5e77ba*0x2);}[_0x40c17a(0x41c)](){var _0x15e7f0=_0x40c17a,_0x4a8f0d;(_0x4a8f0d=this[_0x15e7f0(0x4a4)])==null||_0x4a8f0d[_0x15e7f0(0x3cc)](),this[_0x15e7f0(0x2a3)]=0x0;}},exports['AwaitingWithPendingState']=ce([w(0x6,a[_0x40c17a(0x3e8)](a[_0x40c17a(0x325)])),w(0x7,a[_0x40c17a(0x3e8)](g['RevisionService'])),w(0x8,a['ICommandService']),w(0x9,a['ILogService']),w(0xa,g[_0x40c17a(0x309)]),w(0xb,a[_0x40c17a(0x41f)]),w(0xc,a[_0x40c17a(0x385)](z))],exports[_0x40c17a(0x18d)]),exports[_0x40c17a(0x415)]=class extends he{constructor(_0x96c914,_0x3bde33,_0x2fce42,_0x321fa0,_0xa5f84d,_0x1ab36f=!0x1,_0xacce31,_0x5c6aca,_0x216b41,_0x20dd6f,_0x3af94f,_0x4c31e,_0x16accb){var _0x4067ed=_0x40c17a;super(_0x96c914,_0x3bde33,_0x2fce42,_0x321fa0,_0xa5f84d,_0x5c6aca,_0x216b41,_0x20dd6f,_0x16accb),A(this,_0x4067ed(0x17d),_0x4067ed(0x2b2)),(this[_0x4067ed(0x34d)]=_0x1ab36f,this['_permissionService']=_0xacce31,this['_localeService']=_0x3af94f,this[_0x4067ed(0x2a6)]=_0x4c31e,this[_0x4067ed(0x45b)]=_0x16accb,this[_0x4067ed(0x32e)](),this[_0x4067ed(0x223)](),this['_disableEditing']());}[_0x40c17a(0x464)](){return this;}[_0x40c17a(0x2e9)](){return this;}[_0x40c17a(0x200)](){return this;}['onRemoteRej'](){return this;}[_0x40c17a(0x399)](){return this;}[_0x40c17a(0x418)](){return this;}[_0x40c17a(0x4c3)](){return this;}['resend'](){var _0x214601=_0x40c17a;throw new Error(_0x214601(0x247));}[_0x40c17a(0x223)](){var _0x5732bf=_0x40c17a,_0x426cc7;(_0x426cc7=this[_0x5732bf(0x2c7)])==null||_0x426cc7[_0x5732bf(0x422)](this['unitID'],this[_0x5732bf(0x463)],null,[]);}[_0x40c17a(0x32e)](){var _0x1731cb=_0x40c17a;this[_0x1731cb(0x34d)]?this['_collaborationUIEventService'][_0x1731cb(0x37e)]({'id':Q[_0x1731cb(0x2ed)]}):this[_0x1731cb(0x2a6)]['emitEvent']({'id':Q['CONFLICT']});}[_0x40c17a(0x305)](){var _0x4bd826=_0x40c17a;this[_0x4bd826(0x49e)][_0x4bd826(0x4c0)](new Z[(_0x4bd826(0x49c))](this[_0x4bd826(0x465)])['id'],!0x1);}},exports[_0x40c17a(0x415)]=ce([w(0x6,a[_0x40c17a(0x3e8)](a['IPermissionService'])),w(0x7,a[_0x40c17a(0x21b)]),w(0x8,a[_0x40c17a(0x41f)]),w(0x9,a[_0x40c17a(0x3e8)](g['RevisionService'])),w(0xa,a[_0x40c17a(0x3e8)](a[_0x40c17a(0x20d)])),w(0xb,a[_0x40c17a(0x3e8)](te)),w(0xc,a[_0x40c17a(0x385)](z))],exports[_0x40c17a(0x415)]),exports[_0x40c17a(0x3c6)]=class extends he{constructor(_0x2354d4,_0x445eaa,_0x3c5ee1,_0x545668,_0x1acc2b,_0x512a44,_0x3b06b9,_0x47f7d6,_0x12ddfa,_0x24897c){var _0x37b4a5=_0x40c17a;super(_0x2354d4,_0x445eaa,_0x3c5ee1,_0x545668,_0x1acc2b,_0x47f7d6,_0x12ddfa,_0x3b06b9,_0x24897c),A(this,_0x37b4a5(0x17d),_0x37b4a5(0x4ac)),this['_injector']=_0x512a44;}[_0x40c17a(0x464)](_0x29d6a3){var _0x3a34b6=_0x40c17a;return this[_0x3a34b6(0x1a5)][_0x3a34b6(0x48a)](_0x29d6a3),this['_updateLocalCache'](),this;}[_0x40c17a(0x2e9)](_0x24f76b){var _0x316af2=_0x40c17a;throw new Error(_0x316af2(0x400));}[_0x40c17a(0x200)](){var _0x54f72b=_0x40c17a;throw new Error(_0x54f72b(0x42c));}[_0x40c17a(0x437)](){var _0x184a75=_0x40c17a;throw new Error(_0x184a75(0x483));}[_0x40c17a(0x399)](){return this;}[_0x40c17a(0x418)](){return this;}[_0x40c17a(0x4c3)](){var _0x92dbc0=_0x40c17a;const {_injector:_0x33fa95,_pendingMutations:_0x704079,_awaitingChangeset:_0xd05d42,unitID:_0x55cadd,_handler:_0x1b8405,type:_0x572e5c}=this,_0x47d88f=Dt(_0x33fa95,_0x55cadd,_0x572e5c,_0xd05d42,_0x704079,_0x1b8405);return _0x47d88f instanceof exports['PendingState']?_0x47d88f[_0x92dbc0(0x35d)]():(_0x47d88f instanceof exports[_0x92dbc0(0x18d)]||_0x47d88f instanceof exports[_0x92dbc0(0x327)])&&_0x47d88f[_0x92dbc0(0x324)](),_0x47d88f;}[_0x40c17a(0x324)](){var _0x3ce036=_0x40c17a;throw new Error(_0x3ce036(0x243));}},exports[_0x40c17a(0x3c6)]=ce([w(0x5,a[_0x40c17a(0x3e8)](a[_0x40c17a(0x325)])),w(0x6,a[_0x40c17a(0x3e8)](g[_0x40c17a(0x38f)])),w(0x7,a['ICommandService']),w(0x8,a[_0x40c17a(0x41f)]),w(0x9,a[_0x40c17a(0x385)](z))],exports['OfflineState']),exports[_0x40c17a(0x24a)]=class extends he{constructor(_0x366d03,_0x468055,_0x19c349,_0x5a714c,_0x2fd501,_0x25dde3,_0x19bac5,_0x25948c,_0x18ae43,_0x1a1d78,_0x4a8e46,_0xa3ae57,_0x24f079,_0xa6ada3){var _0x121142=_0x40c17a;super(_0x366d03,_0x468055,_0x19c349,_0x5a714c,_0x19bac5,_0x4a8e46,_0xa3ae57,_0x18ae43,_0xa6ada3),A(this,_0x121142(0x17d),'fetch_missing'),(this[_0x121142(0x382)]=_0x2fd501,this[_0x121142(0x37f)]=_0x25dde3,this['_injector']=_0x25948c,this[_0x121142(0x190)]=_0x1a1d78,this[_0x121142(0x43f)]=_0x24f079,this['localCacheService']=_0xa6ada3);}[_0x40c17a(0x296)](_0x2ff246){var _0x5d405c=_0x40c17a;try{const _0x50c60a=[..._0x2ff246,...this[_0x5d405c(0x37f)]],_0x34a1fd=[this['_awaitingChangeset']||this[_0x5d405c(0x382)]]['filter'](_0x329fee=>!!_0x329fee);let _0x570685,_0x13e079;if(_0x34a1fd['length']){const _0x5065c5=this[_0x5d405c(0x43f)][_0x5d405c(0x2c1)](_0x50c60a,_0x34a1fd,!0x1);if(!g[_0x5d405c(0x2dd)](_0x5065c5))throw _0x5065c5[_0x5d405c(0x45a)];_0x570685=_0x5065c5[_0x5d405c(0x23d)],_0x13e079=_0x5065c5[_0x5d405c(0x26a)];}else _0x570685=_0x50c60a,_0x13e079=[];let _0x2601d4=this[_0x5d405c(0x1a5)];_0x570685[_0x5d405c(0x364)](_0x448b22=>{var _0x585a99=_0x5d405c;let _0xfef810;if(_0x2601d4[_0x585a99(0x2be)]){const _0x4c81ec=this['_transformService'][_0x585a99(0x4cb)](_0x448b22,_0x2601d4);if(!g['isTransformMutationsWithChangesetSuccess'](_0x4c81ec))throw _0x4c81ec['error'];_0xfef810=_0x4c81ec['c1Prime'],_0x2601d4=_0x4c81ec['m2Prime'];}else _0xfef810=_0x448b22;this['_executeRemoteChangeset'](_0xfef810);}),this['_acknowledgedAwaitingChangeset']&&this['_incrementRevisionNumber'](),this[_0x5d405c(0x1ca)]&&_0x13e079['length']&&(_0x13e079[0x0][_0x5d405c(0x19e)]=this[_0x5d405c(0x29b)]());let _0x273694;if(this[_0x5d405c(0x1ca)]&&_0x2601d4[_0x5d405c(0x2be)]!==0x0)_0x273694=this[_0x5d405c(0x2ec)]['createInstance'](exports[_0x5d405c(0x18d)],this['unitID'],this['type'],_0x13e079[0x0],_0x2601d4,this[_0x5d405c(0x1cc)],void 0x0);else{if(this['_awaitingChangeset']&&_0x2601d4[_0x5d405c(0x2be)]===0x0)_0x13e079[0x0][_0x5d405c(0x19e)]=this['_getCurrentRevision'](),_0x273694=this[_0x5d405c(0x2ec)]['createInstance'](exports[_0x5d405c(0x327)],this[_0x5d405c(0x465)],this[_0x5d405c(0x463)],_0x13e079[0x0],this[_0x5d405c(0x1cc)]);else{if(_0x2601d4['length']!==0x0){const _0x59828a=this[_0x5d405c(0x2ec)][_0x5d405c(0x3b7)](exports[_0x5d405c(0x2cf)],this['unitID'],this[_0x5d405c(0x463)],_0x2601d4,this[_0x5d405c(0x1cc)]);_0x59828a[_0x5d405c(0x35d)](),_0x273694=_0x59828a;}else _0x273694=this[_0x5d405c(0x2ec)]['createInstance'](exports[_0x5d405c(0x35f)],this[_0x5d405c(0x465)],this[_0x5d405c(0x463)],this[_0x5d405c(0x1cc)]);}}return _0x273694[_0x5d405c(0x48b)](),_0x273694;}catch(_0x4004b7){return this[_0x5d405c(0x190)][_0x5d405c(0x45a)](_0x5d405c(0x43e),'failed\x20to\x20apply\x20missed\x20changesets!',_0x4004b7),this[_0x5d405c(0x2ec)][_0x5d405c(0x3b7)](exports[_0x5d405c(0x415)],this[_0x5d405c(0x465)],this['type'],this[_0x5d405c(0x1ca)],this[_0x5d405c(0x1a5)],this['_handler'],!0x1);}}[_0x40c17a(0x324)](){var _0x1f7fd2=_0x40c17a;throw new Error(_0x1f7fd2(0x2d0));}['appendMutation'](_0x28327f){var _0xae4722=_0x40c17a;return this[_0xae4722(0x1a5)][_0xae4722(0x48a)](_0x28327f),this;}[_0x40c17a(0x2e9)](_0x35d690){var _0x4e5947=_0x40c17a;return this[_0x4e5947(0x37f)][_0x4e5947(0x48a)](_0x35d690),this;}[_0x40c17a(0x200)](_0x165a01){var _0xe38a52=_0x40c17a;if(this[_0xe38a52(0x1ca)])return this[_0xe38a52(0x382)]=this['_awaitingChangeset'],this['_awaitingChangeset']=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}['onRemoteRej'](_0x53b6e7){var _0x11e747=_0x40c17a;return this[_0x11e747(0x3bd)](!!(_0x53b6e7!=null&&_0x53b6e7[_0x11e747(0x1be)]));}[_0x40c17a(0x399)](){return this;}[_0x40c17a(0x418)](){var _0x155b1a=_0x40c17a;return this[_0x155b1a(0x2ec)][_0x155b1a(0x3b7)](exports[_0x155b1a(0x3c6)],this['unitID'],this[_0x155b1a(0x463)],this[_0x155b1a(0x1ca)],this['_pendingMutations'],this['_handler']);}[_0x40c17a(0x4c3)](){return this;}[_0x40c17a(0x3bd)](_0x1d76bf){var _0x329a00=_0x40c17a;return this[_0x329a00(0x2ec)][_0x329a00(0x3b7)](exports[_0x329a00(0x415)],this[_0x329a00(0x465)],this[_0x329a00(0x463)],this['_awaitingChangeset'],this[_0x329a00(0x1a5)],this['_handler'],_0x1d76bf);}},exports[_0x40c17a(0x24a)]=ce([w(0x7,a[_0x40c17a(0x3e8)](a[_0x40c17a(0x325)])),w(0x8,a['Inject'](g[_0x40c17a(0x38f)])),w(0x9,a[_0x40c17a(0x3ba)]),w(0xa,a['ICommandService']),w(0xb,a[_0x40c17a(0x41f)]),w(0xc,g[_0x40c17a(0x309)]),w(0xd,a[_0x40c17a(0x385)](z))],exports[_0x40c17a(0x24a)]);function Dt(_0x5b054f,_0x27e200,_0x52f752,_0x2f5ad8,_0x4d1632,_0x4270dc){var _0x44411e=_0x40c17a;return _0x2f5ad8&&_0x4d1632[_0x44411e(0x2be)]?_0x5b054f[_0x44411e(0x3b7)](exports[_0x44411e(0x18d)],_0x27e200,_0x52f752,_0x2f5ad8,_0x4d1632,_0x4270dc,void 0x0):_0x2f5ad8?_0x5b054f['createInstance'](exports[_0x44411e(0x327)],_0x27e200,_0x52f752,_0x2f5ad8,_0x4270dc):_0x4d1632['length']?_0x5b054f[_0x44411e(0x3b7)](exports['PendingState'],_0x27e200,_0x52f752,_0x4d1632,_0x4270dc):_0x5b054f[_0x44411e(0x3b7)](exports[_0x44411e(0x35f)],_0x27e200,_0x52f752,_0x4270dc);}var Ci=Object[_0x40c17a(0x2fb)],We=(_0x524112,_0x3e44c4,_0x89519f,_0x1bd17f)=>{var _0x196d3d=_0x40c17a;for(var _0x55f1f5=_0x1bd17f>0x1?void 0x0:_0x1bd17f?Ci(_0x3e44c4,_0x89519f):_0x3e44c4,_0x1d62a6=_0x524112[_0x196d3d(0x2be)]-0x1,_0x96cfcc;_0x1d62a6>=0x0;_0x1d62a6--)(_0x96cfcc=_0x524112[_0x1d62a6])&&(_0x55f1f5=_0x96cfcc(_0x55f1f5)||_0x55f1f5);return _0x55f1f5;},$=(_0x1e7834,_0x40d81f)=>(_0xfa1777,_0x564c6c)=>_0x40d81f(_0xfa1777,_0x564c6c,_0x1e7834);exports[_0x40c17a(0x320)]=class extends a['RxDisposable']{constructor(_0x25aa99,_0x44d4fb,_0x591248,_0x1cdd34,_0x27c5cb,_0x4e7cd9,_0x2e7930,_0x9f1def,_0x58af12,_0x56a698,_0x43fc50,_0x1dcfba,_0x524397){var _0x2477f2=_0x40c17a;super(),A(this,_0x2477f2(0x4fb),new j['BehaviorSubject'](null)),A(this,_0x2477f2(0x197),this['_state$'][_0x2477f2(0x2a7)]()),A(this,'_state'),A(this,_0x2477f2(0x26f),!0x1),A(this,_0x2477f2(0x338),''),A(this,_0x2477f2(0x181),0x0),A(this,_0x2477f2(0x48e),this[_0x2477f2(0x197)][_0x2477f2(0x26c)](j[_0x2477f2(0x1ce)](_0x3a1353=>_0x3a1353?_0x3a1353[_0x2477f2(0x17d)]:Ve['OFFLINE']),j[_0x2477f2(0x253)](0x1))),A(this,_0x2477f2(0x4f1),!0x1),A(this,_0x2477f2(0x46a),[]),(this[_0x2477f2(0x465)]=_0x25aa99,this[_0x2477f2(0x459)]=_0x44d4fb,this[_0x2477f2(0x4f8)]=_0x591248,this[_0x2477f2(0x2ec)]=_0x1cdd34,this[_0x2477f2(0x23c)]=_0x27c5cb,this[_0x2477f2(0x2f4)]=_0x4e7cd9,this['_revisionService']=_0x2e7930,this[_0x2477f2(0x2af)]=_0x9f1def,this[_0x2477f2(0x190)]=_0x58af12,this['_commandService']=_0x56a698,this['_permissionService']=_0x43fc50,this[_0x2477f2(0x4dc)]=_0x1dcfba,this[_0x2477f2(0x2c7)]=_0x524397);}get[_0x40c17a(0x2c9)](){var _0x57175f=_0x40c17a;return this[_0x57175f(0x4e9)];}async[_0x40c17a(0x25b)](){var _0x3a8150=_0x40c17a;if(this[_0x3a8150(0x2c9)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this['_init']();}[_0x40c17a(0x20e)](){var _0x2e4132=_0x40c17a;return this['_collaborationPaused']=!0x0,a[_0x2e4132(0x202)](()=>{var _0x1b5b10=_0x2e4132;this['_collaborationPaused']=!0x1,this[_0x1b5b10(0x1e8)]();});}[_0x40c17a(0x2cc)](_0x115a69){var _0x4d503b=_0x40c17a;this[_0x4d503b(0x30e)](_0x115a69);}[_0x40c17a(0x3ab)](_0x4c0f35){var _0x1b8ccd=_0x40c17a;this[_0x1b8ccd(0x4e9)]=_0x4c0f35,this[_0x1b8ccd(0x4fb)][_0x1b8ccd(0x39d)](_0x4c0f35);}async[_0x40c17a(0x2df)](){var _0x25a9e5=_0x40c17a,_0x16c182;this[_0x25a9e5(0x3ab)](await this[_0x25a9e5(0x186)]()),this['_singleActiveUnitService']&&((_0x16c182=this[_0x25a9e5(0x4dc)])==null||_0x16c182['editingUnit'](this['unitID']),this[_0x25a9e5(0x499)](this[_0x25a9e5(0x4dc)]['getUnitStatus$'](this['unitID'])[_0x25a9e5(0x3f3)](_0x4c2860=>{var _0x12d0f8=_0x25a9e5;this[_0x12d0f8(0x190)][_0x12d0f8(0x1d8)](_0x12d0f8(0x231),_0x12d0f8(0x256),_0x4c2860),_0x4c2860===Fe[_0x12d0f8(0x4a5)]?(this['_eventService']['emitEvent']({'id':Q[_0x12d0f8(0x321)]}),this[_0x12d0f8(0x49e)][_0x12d0f8(0x4c0)](new Z[(_0x12d0f8(0x49c))](this[_0x12d0f8(0x465)])['id'],!0x1),this[_0x12d0f8(0x49e)][_0x12d0f8(0x4f7)](!0x1)):(this[_0x12d0f8(0x49e)][_0x12d0f8(0x4c0)](new Z[(_0x12d0f8(0x49c))](this['unitID'])['id'],!0x0),this[_0x12d0f8(0x49e)]['setShowComponents'](!0x0));})));let _0x56258d=!0x1;return this[_0x25a9e5(0x499)](this[_0x25a9e5(0x459)][_0x25a9e5(0x4b6)]['subscribe'](_0x4b83a4=>{var _0x5cd9a9=_0x25a9e5;_0x4b83a4===se[_0x5cd9a9(0x4b4)]?this['_toggleOnline'](_0x56258d):_0x4b83a4===se['OFFLINE']&&(_0x56258d=!0x0,this[_0x5cd9a9(0x436)]());})),this[_0x25a9e5(0x499)](this[_0x25a9e5(0x459)]['event$'][_0x25a9e5(0x3f3)](_0x37321d=>{var _0x5e4690=_0x25a9e5;try{switch(_0x37321d[_0x5e4690(0x3d3)]){case g['CollaborationEvent'][_0x5e4690(0x375)]:{this[_0x5e4690(0x3f4)](g['parseProtocolChangeset'](_0x37321d['data']));break;}case g['CollaborationEvent']['CHANGESET_ACK']:{this[_0x5e4690(0x40e)](_0x37321d[_0x5e4690(0x277)]);break;}case g[_0x5e4690(0x316)][_0x5e4690(0x42d)]:{this[_0x5e4690(0x41d)]();break;}case g[_0x5e4690(0x316)][_0x5e4690(0x1bc)]:{this[_0x5e4690(0x203)](_0x37321d[_0x5e4690(0x277)]);break;}case g[_0x5e4690(0x316)]['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x5e4690(0x431)](_0x37321d[_0x5e4690(0x277)][_0x5e4690(0x420)][_0x5e4690(0x1ce)](_0x45a0f5=>g[_0x5e4690(0x3d6)](_0x45a0f5)));break;}case g[_0x5e4690(0x316)][_0x5e4690(0x38b)]:{this[_0x5e4690(0x41d)]({'isPermissionRej':!0x0});break;}case g[_0x5e4690(0x316)][_0x5e4690(0x16b)]:break;}}catch(_0x2a8692){throw console[_0x5e4690(0x45a)](_0x5e4690(0x1e1),_0x2a8692),_0x2a8692;}})),this[_0x25a9e5(0x4e9)];}['_unlockTransition'](){var _0x3fa9b8=_0x40c17a;this[_0x3fa9b8(0x4f1)]=!0x1;}['_lockTransition'](){var _0x220e28=_0x40c17a;if(this[_0x220e28(0x4f1)])throw new Error(_0x220e28(0x333));this[_0x220e28(0x4f1)]=!0x0;}[_0x40c17a(0x30e)](_0xdd4517){var _0x141960=_0x40c17a;this[_0x141960(0x323)](),this[_0x141960(0x3ab)](this[_0x141960(0x4e9)]['appendMutation'](_0xdd4517)),this[_0x141960(0x4c6)]();}[_0x40c17a(0x3f4)](_0x53eacd){var _0x5a7055=_0x40c17a;if(!(_0x53eacd[_0x5a7055(0x250)]<=this[_0x5a7055(0x335)][_0x5a7055(0x397)](this[_0x5a7055(0x465)]))){if(this[_0x5a7055(0x26f)]){this['_remoteChangesetQueue'][_0x5a7055(0x48a)](_0x53eacd);return;}this[_0x5a7055(0x31e)](_0x53eacd);}}[_0x40c17a(0x1e8)](){var _0x3e8e02=_0x40c17a;this[_0x3e8e02(0x46a)][_0x3e8e02(0x364)](_0x4589c4=>this[_0x3e8e02(0x31e)](_0x4589c4)),this[_0x3e8e02(0x46a)]=[];}['_applyRemoteChangeset'](_0x4ce6a1){var _0x31e842=_0x40c17a;const _0x4084d1=this[_0x31e842(0x23c)][_0x31e842(0x48d)][_0x31e842(0x340)](this[_0x31e842(0x23c)][_0x31e842(0x48d)]['getInterceptPoints']()[_0x31e842(0x4f4)])(_0x4ce6a1[_0x31e842(0x1c0)],null)||_0x4ce6a1['mutations'],_0x2b87b6={..._0x4ce6a1,'mutations':_0x4084d1};this[_0x31e842(0x323)](),this['_updateState'](this[_0x31e842(0x4e9)]['onRemoteChangeset'](_0x2b87b6)),this['_unlockTransition']();}[_0x40c17a(0x40e)](_0x48d015){var _0x3fd93c=_0x40c17a;this['_lockTransition'](),this['_updateState'](this[_0x3fd93c(0x4e9)][_0x3fd93c(0x200)](_0x48d015)),this['_unlockTransition']();}[_0x40c17a(0x41d)](_0xa80db9){var _0x462cff=_0x40c17a;this[_0x462cff(0x323)](),this[_0x462cff(0x3ab)](this['_state'][_0x462cff(0x437)](_0xa80db9)),this['_unlockTransition']();}['_onRemoteRetry'](_0x4ac796){var _0x579abc=_0x40c17a;this[_0x579abc(0x323)](),this['_updateState'](this[_0x579abc(0x4e9)]['onRemoteRetry'](_0x4ac796)),this[_0x579abc(0x4c6)]();}[_0x40c17a(0x431)](_0x54659a){var _0x44e7bf=_0x40c17a;if(!(this['_state']instanceof exports[_0x44e7bf(0x24a)]))throw new TypeError(_0x44e7bf(0x235));const _0x2f3f0e=_0x54659a[_0x44e7bf(0x1ce)](_0x4fea0a=>{var _0x2e122b=_0x44e7bf;const _0x2db103=this[_0x2e122b(0x23c)][_0x2e122b(0x48d)][_0x2e122b(0x340)](this[_0x2e122b(0x23c)][_0x2e122b(0x48d)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x4fea0a[_0x2e122b(0x1c0)],null)||_0x4fea0a[_0x2e122b(0x1c0)];return{..._0x4fea0a,'mutations':_0x2db103};});this[_0x44e7bf(0x323)](),this[_0x44e7bf(0x3ab)](this[_0x44e7bf(0x4e9)]['onMissedChangesetFetched'](_0x2f3f0e)),this[_0x44e7bf(0x4c6)]();}[_0x40c17a(0x436)](){var _0x47a3ce=_0x40c17a;this[_0x47a3ce(0x323)](),this['_updateState'](this[_0x47a3ce(0x4e9)][_0x47a3ce(0x418)]()),this[_0x47a3ce(0x4c6)]();}[_0x40c17a(0x1e6)](_0x243915=!0x1){var _0x58ef0c=_0x40c17a;this[_0x58ef0c(0x323)](),this[_0x58ef0c(0x3ab)](this[_0x58ef0c(0x4e9)][_0x58ef0c(0x4c3)]()),this[_0x58ef0c(0x4c6)]();const _0x3b87d3=this[_0x58ef0c(0x4e9)];_0x243915&&_0x3b87d3 instanceof exports[_0x58ef0c(0x35f)]&&(this[_0x58ef0c(0x323)](),this[_0x58ef0c(0x3ab)](_0x3b87d3[_0x58ef0c(0x42e)]()),this[_0x58ef0c(0x4c6)]());}async[_0x40c17a(0x186)](){return new Promise(_0x302e13=>{var _0x5dbd07=_0x1551;this[_0x5dbd07(0x459)][_0x5dbd07(0x4b6)]['pipe'](j[_0x5dbd07(0x193)](0x1))[_0x5dbd07(0x3f3)](async _0x450af5=>{var _0x448626=_0x5dbd07;_0x302e13(await this[_0x448626(0x1fb)](_0x450af5===se['ONLINE']));});});}['_createHandler'](){var _0x5c81de=_0x40c17a;const _0x37a0ad=this[_0x5c81de(0x465)];return{'onStateChange':(_0x3b3262,_0x3a40bc)=>{var _0x214e5c=_0x5c81de;if(_0x3b3262!==this[_0x214e5c(0x4e9)])throw new Error(_0x214e5c(0x2f3)+_0x3b3262[_0x214e5c(0x17d)]+'\x0aAfter:\x20'+_0x3a40bc[_0x214e5c(0x17d)]+_0x214e5c(0x212)+this[_0x214e5c(0x4e9)]['status']);this['_updateState'](_0x3a40bc);},'onSendChangeset':_0x477b45=>{var _0x11a7a4=_0x5c81de;_0x477b45[_0x11a7a4(0x49b)]||(_0x477b45[_0x11a7a4(0x49b)]=this['_changesetSessionId'],_0x477b45[_0x11a7a4(0x1b7)]=++this[_0x11a7a4(0x181)]);const _0x593992={'eventID':g[_0x11a7a4(0x316)][_0x11a7a4(0x19a)],'data':{'unitID':_0x477b45[_0x11a7a4(0x465)],'unitType':this[_0x11a7a4(0x4f8)],'changeset':_0x477b45,'memberID':this[_0x11a7a4(0x459)][_0x11a7a4(0x494)]()}};this[_0x11a7a4(0x459)][_0x11a7a4(0x470)](_0x593992,this[_0x11a7a4(0x465)]);},'onMissingChangesets':({from:_0x365272,to:_0x2fe16e})=>{var _0x3de984=_0x5c81de;this[_0x3de984(0x190)]['debug']('[CollaborationEntity]',_0x3de984(0x2da)+_0x365272+'\x20to\x20'+_0x2fe16e);const _0x2e4ed3={'eventID':g[_0x3de984(0x316)][_0x3de984(0x3db)],'data':{'unitID':_0x37a0ad,'unitType':this['_type'],'from':_0x365272,'to':_0x2fe16e}};this[_0x3de984(0x459)][_0x3de984(0x470)](_0x2e4ed3,this[_0x3de984(0x465)]);}};}async['_createInitialStateImpl'](_0x4626de){var _0x7bb586=_0x40c17a,_0x544681,_0x5aa759,_0x4c57db;const _0x474881=await((_0x544681=this[_0x7bb586(0x2c7)])==null?void 0x0:_0x544681[_0x7bb586(0x23e)](this['unitID'])),_0x59a790=(_0x5aa759=_0x474881==null?void 0x0:_0x474881['mutations'])!=null?_0x5aa759:[],_0x1e695a=(_0x4c57db=_0x474881==null?void 0x0:_0x474881[_0x7bb586(0x1e2)])!=null?_0x4c57db:null,_0x42aea7=!!(_0x1e695a!=null&&_0x1e695a['sid'])&&!!(_0x1e695a!=null&&_0x1e695a['reqId']);this[_0x7bb586(0x338)]=_0x42aea7?_0x1e695a[_0x7bb586(0x49b)]:di(),this['_changesetReqId']=_0x42aea7?_0x1e695a['reqId']:0x0;const _0x373aaf=this['unitID'];try{this['_replayCachedMutations'](_0x1e695a,_0x59a790);}catch(_0x53298b){this[_0x7bb586(0x190)][_0x7bb586(0x45a)](_0x53298b);}const _0x261f48=this[_0x7bb586(0x4ba)]();if(_0x4626de){const _0x369b0c=Dt(this[_0x7bb586(0x2ec)],_0x373aaf,this[_0x7bb586(0x4f8)],_0x1e695a,_0x59a790,_0x261f48);return _0x369b0c instanceof exports[_0x7bb586(0x2cf)]?_0x369b0c[_0x7bb586(0x35d)]():(_0x369b0c instanceof exports[_0x7bb586(0x18d)]||_0x369b0c instanceof exports[_0x7bb586(0x327)])&&_0x369b0c[_0x7bb586(0x324)](),_0x369b0c;}return this['_injector'][_0x7bb586(0x3b7)](exports['OfflineState'],_0x373aaf,this[_0x7bb586(0x4f8)],_0x1e695a,_0x59a790,_0x261f48);}[_0x40c17a(0x17c)](_0x587263,_0x5d4c08){var _0x79d9c2=_0x40c17a,_0x5dd837,_0x27e270;const _0x3053b1=this[_0x79d9c2(0x23c)][_0x79d9c2(0x48d)][_0x79d9c2(0x340)](this[_0x79d9c2(0x23c)][_0x79d9c2(0x48d)][_0x79d9c2(0x1a6)]()[_0x79d9c2(0x4f4)]);(_0x5dd837=_0x3053b1((_0x587263==null?void 0x0:_0x587263['mutations'])||[],null))==null||_0x5dd837[_0x79d9c2(0x364)](_0x577664=>this[_0x79d9c2(0x3f6)][_0x79d9c2(0x208)](_0x577664['id'],_0x577664[_0x79d9c2(0x432)])),(_0x27e270=_0x3053b1(_0x5d4c08||[],null))==null||_0x27e270[_0x79d9c2(0x364)](_0x42a0c8=>this[_0x79d9c2(0x3f6)][_0x79d9c2(0x208)](_0x42a0c8['id'],_0x42a0c8[_0x79d9c2(0x432)]));}},exports[_0x40c17a(0x320)]=We([$(0x3,a[_0x40c17a(0x3e8)](a[_0x40c17a(0x325)])),$(0x4,a[_0x40c17a(0x3e8)](g[_0x40c17a(0x2fa)])),$(0x5,a[_0x40c17a(0x3e8)](a[_0x40c17a(0x20d)])),$(0x6,a[_0x40c17a(0x3e8)](g[_0x40c17a(0x38f)])),$(0x7,a[_0x40c17a(0x3e8)](te)),$(0x8,a[_0x40c17a(0x3ba)]),$(0x9,a[_0x40c17a(0x21b)]),$(0xa,a[_0x40c17a(0x49f)]),$(0xb,a[_0x40c17a(0x385)](ve)),$(0xc,a['Optional'](z))],exports['CollaborationEntity']),exports['DocCollaborationEntity']=class extends exports['CollaborationEntity']{constructor(_0x7a295c,_0x4f98b0,_0x9d063d,_0x301ce1,_0x847bb4,_0x4fa2ab,_0x419b28,_0x546478,_0x4301d8,_0x39f57d,_0x57aaf1,_0x17212e,_0x4b5f8e){var _0x49c1c3=_0x40c17a;super(_0x7a295c,_0x9d063d,_0x4f98b0,_0x301ce1,_0x847bb4,_0x4fa2ab,_0x419b28,_0x546478,_0x4301d8,_0x39f57d,_0x57aaf1,_0x17212e,_0x4b5f8e),A(this,_0x49c1c3(0x4a0),null),(this['unitID']=_0x7a295c,this['type']=_0x4f98b0);}[_0x40c17a(0x20f)](_0x427824){var _0x39204a=_0x40c17a;this[_0x39204a(0x4a0)]=_0x427824;}[_0x40c17a(0x3b0)](){var _0x33c242=_0x40c17a;this[_0x33c242(0x4a0)]=null,super['dispose']();}[_0x40c17a(0x4ba)](){var _0x533efd=_0x40c17a;const _0x3bc659=super[_0x533efd(0x4ba)]();return _0x3bc659['onTransformIME']=_0x1faa58=>{var _0x5298e8=_0x533efd,_0x210aa5,_0x1060ba;return(_0x1060ba=(_0x210aa5=this[_0x5298e8(0x4a0)])==null?void 0x0:_0x210aa5[_0x5298e8(0x39c)])==null?void 0x0:_0x1060ba['call'](_0x210aa5,_0x1faa58);},_0x3bc659[_0x533efd(0x18b)]=_0x284d2e=>{var _0x32684d=_0x533efd,_0x1c564f,_0x4db968;return(_0x4db968=(_0x1c564f=this['_handlerCallback'])==null?void 0x0:_0x1c564f['onTransformState'])==null?void 0x0:_0x4db968[_0x32684d(0x1f6)](_0x1c564f,_0x284d2e);},_0x3bc659['onTransformSelections']=_0x5b2b37=>{var _0x283542=_0x533efd,_0x31dc6a,_0x4e83a1;return(_0x4e83a1=(_0x31dc6a=this[_0x283542(0x4a0)])==null?void 0x0:_0x31dc6a['onTransformSelections'])==null?void 0x0:_0x4e83a1[_0x283542(0x1f6)](_0x31dc6a,_0x5b2b37);},_0x3bc659[_0x533efd(0x451)]=_0x2a3936=>{var _0x14808c=_0x533efd,_0x2ef2dd,_0x1217e9;return(_0x1217e9=(_0x2ef2dd=this[_0x14808c(0x4a0)])==null?void 0x0:_0x2ef2dd[_0x14808c(0x451)])==null?void 0x0:_0x1217e9['call'](_0x2ef2dd,_0x2a3936);},_0x3bc659[_0x533efd(0x269)]=_0x18092=>{var _0xcb9720=_0x533efd,_0x561074,_0x4c02ab,_0xc0f12;if(!((_0x561074=this[_0xcb9720(0x4a0)])!=null&&_0x561074[_0xcb9720(0x269)]))throw new Error(_0xcb9720(0x4a3));return(_0xc0f12=(_0x4c02ab=this[_0xcb9720(0x4a0)])==null?void 0x0:_0x4c02ab[_0xcb9720(0x269)])==null?void 0x0:_0xc0f12[_0xcb9720(0x1f6)](_0x4c02ab,_0x18092);},_0x3bc659[_0x533efd(0x26b)]=_0x466b5f=>{var _0x5a37e6=_0x533efd,_0x39ea9e,_0x598d43,_0x4ac3ad;if(!((_0x39ea9e=this[_0x5a37e6(0x4a0)])!=null&&_0x39ea9e[_0x5a37e6(0x26b)]))throw new Error(_0x5a37e6(0x1a0));return(_0x4ac3ad=(_0x598d43=this[_0x5a37e6(0x4a0)])==null?void 0x0:_0x598d43[_0x5a37e6(0x26b)])==null?void 0x0:_0x4ac3ad[_0x5a37e6(0x1f6)](_0x598d43,_0x466b5f);},_0x3bc659;}async[_0x40c17a(0x2df)](){var _0x4477ea=_0x40c17a;const _0xf79f6b=await super[_0x4477ea(0x2df)]();return this[_0x4477ea(0x499)](this['_commandService'][_0x4477ea(0x4d3)]((_0x29601e,_0x3182af)=>{var _0x539df1=_0x4477ea;if(_0x29601e[_0x539df1(0x463)]!==a['CommandType'][_0x539df1(0x406)]||_0x3182af!=null&&_0x3182af[_0x539df1(0x21d)]||_0x3182af!=null&&_0x3182af[_0x539df1(0x2f0)]||_0x29601e['id']===ut['RichTextEditingMutation']['id'])return;const _0x1219a3=_0x29601e[_0x539df1(0x432)];if((_0x1219a3==null?void 0x0:_0x1219a3[_0x539df1(0x297)])!==this[_0x539df1(0x465)])return;const _0x49cadd=_0x29601e,_0x2142b0=this[_0x539df1(0x23c)]['interceptor'][_0x539df1(0x340)](this[_0x539df1(0x23c)][_0x539df1(0x48d)][_0x539df1(0x1a6)]()['COMPRESS_MUTATION_SEND'])([_0x49cadd],null)||[_0x49cadd];this[_0x539df1(0x30e)](_0x2142b0[0x0]);})),_0xf79f6b;}},exports[_0x40c17a(0x476)]=We([$(0x3,a[_0x40c17a(0x3e8)](a[_0x40c17a(0x325)])),$(0x4,a[_0x40c17a(0x3e8)](g['CompressMutationService'])),$(0x5,a[_0x40c17a(0x3e8)](a[_0x40c17a(0x20d)])),$(0x6,a[_0x40c17a(0x3e8)](g[_0x40c17a(0x38f)])),$(0x7,a['Inject'](te)),$(0x8,a[_0x40c17a(0x3ba)]),$(0x9,a[_0x40c17a(0x21b)]),$(0xa,a[_0x40c17a(0x49f)]),$(0xb,a[_0x40c17a(0x385)](ve)),$(0xc,a[_0x40c17a(0x385)](z))],exports[_0x40c17a(0x476)]),exports['SheetCollaborationEntity']=class extends exports[_0x40c17a(0x320)]{constructor(_0x502940,_0x2e4ad9,_0x46bb82,_0x47adb4,_0xeabbbd,_0xe76d2a,_0x455b96,_0x109c75,_0x509c56,_0xce8f5e,_0x4c1691,_0x125b0c,_0x3dbfa7,_0x215e76){var _0x4152b5=_0x40c17a;super(_0x502940,_0x46bb82,_0x2e4ad9,_0x47adb4,_0xeabbbd,_0xe76d2a,_0x455b96,_0x509c56,_0xce8f5e,_0x4c1691,_0x125b0c,_0x3dbfa7,_0x215e76),this[_0x4152b5(0x465)]=_0x502940,this['type']=_0x2e4ad9,this[_0x4152b5(0x199)]=_0x109c75;}[_0x40c17a(0x4ba)](){var _0x32db77=_0x40c17a;const _0x5662f9=super[_0x32db77(0x4ba)]();return _0x5662f9['onTransformSelections']=_0x2a63be=>this[_0x32db77(0x199)][_0x32db77(0x3eb)](_0x2a63be),_0x5662f9;}async[_0x40c17a(0x2df)](){var _0x66dfd3=_0x40c17a;const _0x311f0e=await super['_init']();return this[_0x66dfd3(0x499)](this[_0x66dfd3(0x3f6)][_0x66dfd3(0x4d3)]((_0x32c26f,_0x3efa60)=>{var _0x3fdbd9=_0x66dfd3;if(_0x32c26f[_0x3fdbd9(0x463)]!==a[_0x3fdbd9(0x46b)][_0x3fdbd9(0x406)]||_0x3efa60!=null&&_0x3efa60[_0x3fdbd9(0x21d)]||_0x3efa60!=null&&_0x3efa60[_0x3fdbd9(0x2f0)])return;const _0x4298eb=_0x32c26f[_0x3fdbd9(0x432)];if((_0x4298eb==null?void 0x0:_0x4298eb[_0x3fdbd9(0x297)])!==this[_0x3fdbd9(0x465)])return;const _0x52c717=_0x32c26f,_0x5bd322=this[_0x3fdbd9(0x23c)][_0x3fdbd9(0x48d)][_0x3fdbd9(0x340)](this[_0x3fdbd9(0x23c)][_0x3fdbd9(0x48d)][_0x3fdbd9(0x1a6)]()[_0x3fdbd9(0x2a8)])([_0x52c717],null)||[_0x52c717];this[_0x3fdbd9(0x30e)](_0x5bd322[0x0]);})),_0x311f0e;}},exports[_0x40c17a(0x3b6)]=We([$(0x3,a[_0x40c17a(0x3e8)](a[_0x40c17a(0x325)])),$(0x4,a[_0x40c17a(0x3e8)](g[_0x40c17a(0x2fa)])),$(0x5,a[_0x40c17a(0x3e8)](a[_0x40c17a(0x20d)])),$(0x6,a[_0x40c17a(0x3e8)](g[_0x40c17a(0x38f)])),$(0x7,a[_0x40c17a(0x3e8)](exports[_0x40c17a(0x2d3)])),$(0x8,a['Inject'](te)),$(0x9,a[_0x40c17a(0x3ba)]),$(0xa,a[_0x40c17a(0x21b)]),$(0xb,a[_0x40c17a(0x49f)]),$(0xc,a[_0x40c17a(0x385)](ve)),$(0xd,a['Optional'](z))],exports[_0x40c17a(0x3b6)]);var Ti=Object[_0x40c17a(0x2fb)],bi=(_0x8aa340,_0x10e689,_0x436c26,_0x22a97a)=>{var _0x439037=_0x40c17a;for(var _0x5c3468=_0x22a97a>0x1?void 0x0:_0x22a97a?Ti(_0x10e689,_0x436c26):_0x10e689,_0x1edb66=_0x8aa340[_0x439037(0x2be)]-0x1,_0xe1ab22;_0x1edb66>=0x0;_0x1edb66--)(_0xe1ab22=_0x8aa340[_0x1edb66])&&(_0x5c3468=_0xe1ab22(_0x5c3468)||_0x5c3468);return _0x5c3468;},Pe=(_0x47c48e,_0x42dfc0)=>(_0x1d462a,_0x154a9e)=>_0x42dfc0(_0x1d462a,_0x154a9e,_0x47c48e);exports['CollaborationController']=class extends a[_0x40c17a(0x47d)]{constructor(_0x54fd41,_0xb0157a,_0x4ec39c){var _0x24b761=_0x40c17a;super(),A(this,'_entities',new Map()),A(this,_0x24b761(0x1ed),new j['Subject']()),A(this,_0x24b761(0x356),this[_0x24b761(0x1ed)][_0x24b761(0x2a7)]()),(this['_injector']=_0x54fd41,this[_0x24b761(0x361)]=_0xb0157a,this[_0x24b761(0x16d)]=_0x4ec39c,this[_0x24b761(0x2df)]());}[_0x40c17a(0x3b0)](){var _0x40a9e7=_0x40c17a;super['dispose'](),this[_0x40a9e7(0x274)]['forEach'](_0x2bf0d3=>_0x2bf0d3[_0x40a9e7(0x3b0)]()),this[_0x40a9e7(0x274)]['clear']();}[_0x40c17a(0x2ee)](_0x5f5cb3){var _0x304ba1=_0x40c17a,_0x168fc8;return(_0x168fc8=this[_0x304ba1(0x274)][_0x304ba1(0x210)](_0x5f5cb3))!=null?_0x168fc8:null;}['getCollabEntity$'](_0x5174b5){var _0x598cf9=_0x40c17a;const _0x767ebf=this[_0x598cf9(0x2ee)](_0x5174b5);return _0x767ebf?j['of'](_0x767ebf):this[_0x598cf9(0x1ed)][_0x598cf9(0x26c)](V[_0x598cf9(0x234)](_0x39b63b=>_0x39b63b[_0x598cf9(0x465)]===_0x5174b5));}['readyForCollab'](_0x295442){var _0x3e8205=_0x40c17a;return j[_0x3e8205(0x188)](this['getCollabEntity$'](_0x295442)['pipe'](V[_0x3e8205(0x1ce)](()=>{})));}[_0x40c17a(0x2df)](){var _0xe30678=_0x40c17a;this[_0xe30678(0x16d)][_0xe30678(0x27f)](a[_0xe30678(0x4b9)][_0xe30678(0x20b)])['pipe'](j['takeUntil'](this[_0xe30678(0x44a)]),V[_0xe30678(0x288)](0x10))['subscribe'](async _0x5b87c2=>{var _0x9d9c2d=_0xe30678;const _0xc65900=_0x5b87c2[_0x9d9c2d(0x30b)](),_0x4c41e7=await this[_0x9d9c2d(0x46f)](_0xc65900,X[_0x9d9c2d(0x20b)]);this[_0x9d9c2d(0x274)][_0x9d9c2d(0x1a8)](_0xc65900,_0x4c41e7);}),this[_0xe30678(0x16d)][_0xe30678(0x27f)](a[_0xe30678(0x4b9)][_0xe30678(0x3fd)])['pipe'](j[_0xe30678(0x1a1)](this[_0xe30678(0x44a)]),V['delay'](0x10))[_0xe30678(0x26c)](V[_0xe30678(0x234)](_0x1ec1aa=>!_0x1ec1aa['getUnitId']()[_0xe30678(0x40b)]('__')))[_0xe30678(0x3f3)](async _0x19bd21=>{var _0x3567bd=_0xe30678;const _0x45ba23=_0x19bd21[_0x3567bd(0x30b)](),_0x232d39=await this[_0x3567bd(0x46f)](_0x45ba23,X[_0x3567bd(0x3fd)]);this[_0x3567bd(0x274)][_0x3567bd(0x1a8)](_0x45ba23,_0x232d39);}),j['merge'](this['_univerInstanceService']['getTypeOfUnitDisposed$'](a[_0xe30678(0x4b9)][_0xe30678(0x20b)]),this[_0xe30678(0x16d)][_0xe30678(0x259)](a[_0xe30678(0x4b9)][_0xe30678(0x3fd)]))['pipe'](j[_0xe30678(0x1a1)](this[_0xe30678(0x44a)]))[_0xe30678(0x3f3)](_0x216db1=>{var _0x5e7691=_0xe30678;const _0x3fe3ad=_0x216db1[_0x5e7691(0x30b)](),_0x39c1c6=this[_0x5e7691(0x274)]['get'](_0x3fe3ad);_0x39c1c6&&(_0x39c1c6[_0x5e7691(0x3b0)](),this[_0x5e7691(0x274)]['delete'](_0x3fe3ad));});}async['_startCollaboration'](_0x56b0e1,_0x5b3592){var _0x2610ec=_0x40c17a;const _0x163ddc=await this[_0x2610ec(0x361)][_0x2610ec(0x18c)](_0x56b0e1),_0xaab521=this[_0x2610ec(0x2ec)]['createInstance'](this[_0x2610ec(0x32f)](_0x5b3592),_0x56b0e1,_0x5b3592,_0x163ddc);return await _0xaab521[_0x2610ec(0x25b)](),this['_entityInit$'][_0x2610ec(0x39d)](_0xaab521),_0xaab521;}['_getCtorByUniverType'](_0x1ed1b8){var _0x5a0f0d=_0x40c17a;switch(_0x1ed1b8){case X['UNIVER_DOC']:return exports[_0x5a0f0d(0x476)];case X[_0x5a0f0d(0x20b)]:return exports[_0x5a0f0d(0x3b6)];default:throw new Error(_0x5a0f0d(0x4a9)+_0x1ed1b8);}}},exports['CollaborationController']=bi([Pe(0x0,a['Inject'](a[_0x40c17a(0x325)])),Pe(0x1,a[_0x40c17a(0x3e8)](exports[_0x40c17a(0x313)])),Pe(0x2,a[_0x40c17a(0x1bf)])],exports['CollaborationController']);var Ri=Object[_0x40c17a(0x2fb)],Oi=(_0x4e6ead,_0x3aa5d4,_0x5de7ff,_0xdb28f8)=>{for(var _0x547226=_0xdb28f8>0x1?void 0x0:_0xdb28f8?Ri(_0x3aa5d4,_0x5de7ff):_0x3aa5d4,_0x303b06=_0x4e6ead['length']-0x1,_0x8a7cfc;_0x303b06>=0x0;_0x303b06--)(_0x8a7cfc=_0x4e6ead[_0x303b06])&&(_0x547226=_0x8a7cfc(_0x547226)||_0x547226);return _0x547226;},Je=(_0x1795d6,_0x2d2606)=>(_0x2109ed,_0x28d603)=>_0x2d2606(_0x2109ed,_0x28d603,_0x1795d6);const yi=_0x40c17a(0x4e3),Ni=_0x40c17a(0x1e9);let He=class extends a[_0x40c17a(0x439)]{constructor(_0x20311b,_0x5b7af3){var _0x2a51d2=_0x40c17a;super(),this[_0x2a51d2(0x16d)]=_0x20311b,this[_0x2a51d2(0x1b2)]=_0x5b7af3,this[_0x2a51d2(0x2df)]();}[_0x40c17a(0x2df)](){var _0x1a72e7=_0x40c17a;this[_0x1a72e7(0x499)](this['_univerInstanceService'][_0x1a72e7(0x3d2)]['subscribe'](()=>{var _0x5d46d9=_0x1a72e7,_0x28d434;const _0x4e6e5c=this[_0x5d46d9(0x16d)][_0x5d46d9(0x43d)]();let _0x36570d=(_0x28d434=this['_configService'][_0x5d46d9(0x34e)](yi))!=null?_0x28d434:Ni;_0x4e6e5c instanceof a[_0x5d46d9(0x1b6)]&&(_0x36570d=_0x4e6e5c[_0x5d46d9(0x488)]),document[_0x5d46d9(0x242)]=_0x36570d;}));}};He=Oi([Je(0x0,a[_0x40c17a(0x1bf)]),Je(0x1,a['IConfigService'])],He);var Di=Object[_0x40c17a(0x2fb)],Ui=(_0x479b3a,_0x398ac0,_0x2bc230,_0xe3c80c)=>{for(var _0x45f1e6=_0xe3c80c>0x1?void 0x0:_0xe3c80c?Di(_0x398ac0,_0x2bc230):_0x398ac0,_0x4b4940=_0x479b3a['length']-0x1,_0x6a4095;_0x4b4940>=0x0;_0x4b4940--)(_0x6a4095=_0x479b3a[_0x4b4940])&&(_0x45f1e6=_0x6a4095(_0x45f1e6)||_0x45f1e6);return _0x45f1e6;},we=(_0x163601,_0x172042)=>(_0x16c9ea,_0x26b2b9)=>_0x172042(_0x16c9ea,_0x26b2b9,_0x163601);let ye=class{constructor(_0x4b0ea8,_0x180d8c,_0x22f968){var _0x28c068=_0x40c17a;this[_0x28c068(0x1b2)]=_0x4b0ea8,this[_0x28c068(0x3ce)]=_0x180d8c,this['localeService']=_0x22f968,this[_0x28c068(0x25b)]();}['init'](){var _0x4a9b3c=_0x40c17a;this[_0x4a9b3c(0x3ce)][_0x4a9b3c(0x1df)]({'priority':0x1,'interceptor':(_0x258a1b,_0x574666)=>_0x574666(_0x258a1b)[_0x4a9b3c(0x26c)](j[_0x4a9b3c(0x3be)](async _0x18fadd=>{var _0x55671e=_0x4a9b3c;const _0x1d96c7=_0x18fadd;if(_0x1d96c7[_0x55671e(0x17d)]===0x191){if(typeof window>'u')throw new Error(_0x55671e(0x1b5));if(window[_0x55671e(0x1d3)](this['localeService']['t'](_0x55671e(0x264)))){const _0x393598=window[_0x55671e(0x33b)](window[_0x55671e(0x4cd)][_0x55671e(0x441)]);window[_0x55671e(0x4cd)][_0x55671e(0x441)]=this[_0x55671e(0x1f5)]()+'?url='+_0x393598;}}return _0x1d96c7;}))});}['_getLoginPath'](){var _0x43972c=_0x40c17a,_0x31f222,_0xbe23ba;const _0x25cc9e=this['_configService'][_0x43972c(0x34e)](Et),_0x37e7b4=this['_configService']['getConfig'](Y);return(_0xbe23ba=(_0x31f222=_0x37e7b4==null?void 0x0:_0x37e7b4[_0x43972c(0x3f5)])!=null?_0x31f222:_0x25cc9e)!=null?_0xbe23ba:Yt;}};ye=Ui([we(0x0,a[_0x40c17a(0x342)]),we(0x1,a[_0x40c17a(0x3e8)](q['HTTPService'])),we(0x2,a[_0x40c17a(0x3e8)](a[_0x40c17a(0x20d)]))],ye);var Ai=Object[_0x40c17a(0x2fb)],Pi=(_0x459c1b,_0xe22ada,_0x20a5f6,_0x302900)=>{var _0x2d08e2=_0x40c17a;for(var _0x5f0142=_0x302900>0x1?void 0x0:_0x302900?Ai(_0xe22ada,_0x20a5f6):_0xe22ada,_0xf51276=_0x459c1b[_0x2d08e2(0x2be)]-0x1,_0x1ac914;_0xf51276>=0x0;_0xf51276--)(_0x1ac914=_0x459c1b[_0xf51276])&&(_0x5f0142=_0x1ac914(_0x5f0142)||_0x5f0142);return _0x5f0142;},Xe=(_0x8b94d7,_0x5bac99)=>(_0x3220fe,_0x115533)=>_0x5bac99(_0x3220fe,_0x115533,_0x8b94d7);const Ge='AUTHZ_URL_KEY',wi='/universer-api/authz';exports[_0x40c17a(0x4f0)]=class extends a[_0x40c17a(0x439)]{constructor(_0x4cab80,_0x388c4d){var _0x2a2cb5=_0x40c17a;super(),this['_HTTPService']=_0x4cab80,this[_0x2a2cb5(0x1b2)]=_0x388c4d,this[_0x2a2cb5(0x373)]();}[_0x40c17a(0x373)](){var _0xa1c157=_0x40c17a;const _0x40ccf9=this;this[_0xa1c157(0x499)](this[_0xa1c157(0x469)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':q[_0xa1c157(0x28f)]({'isMatch'(_0x29f7ff){var _0x28cf0c=_0xa1c157,_0x3fb6ae;if(_0x29f7ff[_0x28cf0c(0x47b)]==='POST'&&((_0x3fb6ae=_0x29f7ff[_0x28cf0c(0x1ea)])!=null&&_0x3fb6ae['body'])){const {objectID:_0x5cb5e3,objectType:_0x2b161c}=_0x29f7ff[_0x28cf0c(0x1ea)][_0x28cf0c(0x24f)]||{};if(!_0x5cb5e3||_0x2b161c===void 0x0)return!0x1;const _0x40ec93=_0x40ccf9[_0x28cf0c(0x2b5)]()+'/'+_0x2b161c+'/object/'+_0x5cb5e3+_0x28cf0c(0x4d2);if(_0x29f7ff[_0x28cf0c(0x412)]===_0x40ec93)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x5b0aeb){var _0x24dff8=_0xa1c157,_0x57d624;return(_0x57d624=_0x5b0aeb['requestParams'])==null?void 0x0:_0x57d624[_0x24dff8(0x24f)];},'mergeParamsToRequest'(_0xed898a,_0x2682b5){var _0xf210e6=_0xa1c157;const _0x22872d=_0x40ccf9[_0xf210e6(0x2b5)]()+_0xf210e6(0x446),_0x2e8218=_0xed898a[_0xf210e6(0x2a9)]((_0x10f51f,_0x3600dd)=>{var _0x2188d5=_0xf210e6;const {unitID:_0xf98b39,objectID:_0xfd43a,objectType:_0x2d235c,actions:_0x1db18f}=_0x3600dd;return _0x10f51f[_0xf98b39]||(_0x10f51f[_0xf98b39]={}),_0x10f51f[_0xf98b39][_0xfd43a]||(_0x10f51f[_0xf98b39][_0xfd43a]={'objectID':_0xfd43a,'objectType':_0x2d235c,'actions':[]}),_0x10f51f[_0xf98b39][_0xfd43a]['actions'][_0x2188d5(0x48a)](..._0x1db18f),_0x10f51f;},{}),_0x4c47cd=[];for(const _0x4bd1fd in _0x2e8218)for(const _0x1686d8 in _0x2e8218[_0x4bd1fd]){const {actions:_0x3d71b8,objectType:_0xf2ab24}=_0x2e8218[_0x4bd1fd][_0x1686d8],_0x5df598=[...new Set(_0x3d71b8)];_0x4c47cd['push']({'unitID':_0x4bd1fd,'objectID':_0x1686d8,'objectType':_0xf2ab24,'actions':_0x5df598});}return new q[(_0xf210e6(0x45f))](_0xf210e6(0x1b0),_0x22872d,{'headers':_0x2682b5['headers'],'withCredentials':_0x2682b5[_0xf210e6(0x3e5)],'responseType':_0x2682b5[_0xf210e6(0x479)],'body':{'requests':_0x4c47cd}});}},{'distributeResult'(_0x27dcd4,_0xe51404){var _0x229ce6=_0xa1c157;const {objectActions:_0x367611}=_0x27dcd4;return _0xe51404[_0x229ce6(0x1ce)](_0x232c95=>{var _0x607854=_0x229ce6;const {unitID:_0x5ddcd9,objectID:_0x1ad8fa,actions:_0x57c103}=_0x232c95,_0x34c4f2=_0x367611['find'](_0x43213b=>_0x43213b[_0x607854(0x465)]===_0x5ddcd9&&_0x43213b[_0x607854(0x32b)]===_0x1ad8fa),_0x44dc20=_0x57c103['map'](_0x5472c5=>_0x34c4f2==null?void 0x0:_0x34c4f2[_0x607854(0x24e)]['find'](_0xa93cc8=>_0xa93cc8[_0x607854(0x216)]===_0x5472c5))[_0x607854(0x234)](_0x54efdb=>!!_0x54efdb);return{'config':_0x232c95,'result':{'actions':_0x44dc20,'error':_0x27dcd4[_0x607854(0x45a)]}};});}})}));}[_0x40c17a(0x2b5)](){var _0x842bd7=_0x40c17a,_0xe6a10b,_0x410587;const _0x2162d6=this['_configService'][_0x842bd7(0x34e)](Ge),_0x1b4c6c=this[_0x842bd7(0x1b2)]['getConfig'](Y);return(_0x410587=(_0xe6a10b=_0x1b4c6c==null?void 0x0:_0x1b4c6c['authzUrl'])!=null?_0xe6a10b:_0x2162d6)!=null?_0x410587:wi;}async['create'](_0xc00871){var _0x28b8e4=_0x40c17a;const _0x257212=this[_0x28b8e4(0x2b5)]()+'/'+_0xc00871[_0x28b8e4(0x19d)]+_0x28b8e4(0x4af);return(await this[_0x28b8e4(0x469)][_0x28b8e4(0x49a)](_0x257212,{'body':_0xc00871}))['body'][_0x28b8e4(0x32b)]||'';}async[_0x40c17a(0x37c)](_0xbd091b){var _0x506aac=_0x40c17a;const _0x57a560=this[_0x506aac(0x2b5)]()+_0x506aac(0x393);return(await this[_0x506aac(0x469)][_0x506aac(0x49a)](_0x57a560,{'body':_0xbd091b}))[_0x506aac(0x24f)][_0x506aac(0x198)];}async[_0x40c17a(0x1c2)](_0x3cf504){var _0x321ff0=_0x40c17a,_0x348251,_0x459fa7;const _0x1e49f7=this[_0x321ff0(0x2b5)]()+'/'+_0x3cf504[_0x321ff0(0x19d)]+_0x321ff0(0x267)+_0x3cf504[_0x321ff0(0x32b)],_0x582a77=await this[_0x321ff0(0x469)][_0x321ff0(0x331)](_0x1e49f7,{'body':_0x3cf504});if(((_0x459fa7=(_0x348251=_0x582a77==null?void 0x0:_0x582a77[_0x321ff0(0x24f)])==null?void 0x0:_0x348251[_0x321ff0(0x45a)])==null?void 0x0:_0x459fa7[_0x321ff0(0x28e)])!==0x1)throw new Error(_0x321ff0(0x275));}async[_0x40c17a(0x1fc)](_0x5626c7){var _0x4be1fb=_0x40c17a;const _0x1cd96a=this[_0x4be1fb(0x2b5)]()+'/'+_0x5626c7[_0x4be1fb(0x19d)]+'/object/'+_0x5626c7[_0x4be1fb(0x32b)]+'/allowed';return(await this['_HTTPService'][_0x4be1fb(0x49a)](_0x1cd96a,{'body':_0x5626c7}))[_0x4be1fb(0x24f)]['actions'];}async[_0x40c17a(0x40c)](_0x143352){var _0x127da5=_0x40c17a;const _0x15fbb9=this['_getAPIPrefixPath']()+_0x127da5(0x446);return(await this['_HTTPService'][_0x127da5(0x49a)](_0x15fbb9,{'body':{'requests':_0x143352}}))['body'][_0x127da5(0x38d)];}async['listRoles'](_0x4489cf){var _0x1e269d=_0x40c17a;const _0xfa24d5=this[_0x1e269d(0x2b5)]()+'/'+_0x4489cf[_0x1e269d(0x19d)]+'/role',_0x10bc36=await this[_0x1e269d(0x469)][_0x1e269d(0x49a)](_0xfa24d5,{'body':_0x4489cf});return{'roles':_0x10bc36['body']['roles'],'actions':_0x10bc36[_0x1e269d(0x24f)][_0x1e269d(0x24e)]};}async[_0x40c17a(0x453)](_0x3678a5){var _0x1010b3=_0x40c17a;const _0x54bfa3=this[_0x1010b3(0x2b5)]()+'/collaborator';await this[_0x1010b3(0x469)][_0x1010b3(0x1d6)](_0x54bfa3,{'params':{'collaboratorID':_0x3678a5[_0x1010b3(0x17b)],'objectID':_0x3678a5['objectID'],'unitID':_0x3678a5['unitID']}});}async['updateCollaborator'](_0x1602ef){var _0x5318e8=_0x40c17a;const _0x13ce11=this[_0x5318e8(0x2b5)]()+_0x5318e8(0x389);await this['_HTTPService']['patch'](_0x13ce11,{'body':_0x1602ef});}async[_0x40c17a(0x498)](_0x2b150f){var _0x31ed77=_0x40c17a;const _0x1cd075=this[_0x31ed77(0x2b5)]()+_0x31ed77(0x389);await this[_0x31ed77(0x469)][_0x31ed77(0x49a)](_0x1cd075,{'body':_0x2b150f});}async[_0x40c17a(0x201)](_0x1fbe86){var _0x1125fb=_0x40c17a;const _0x390388=this[_0x1125fb(0x2b5)]()+'/collaborator';return(await this[_0x1125fb(0x469)]['get'](_0x390388,{'params':{'objectID':_0x1fbe86[_0x1125fb(0x32b)],'unitID':_0x1fbe86[_0x1125fb(0x465)]}}))[_0x1125fb(0x24f)][_0x1125fb(0x497)];}async[_0x40c17a(0x19c)](_0x8565a3){var _0x44fcf5=_0x40c17a;const _0x20ce84=this[_0x44fcf5(0x2b5)]()+'/collaborator';await this['_HTTPService'][_0x44fcf5(0x331)](_0x20ce84,{'body':_0x8565a3});}},exports[_0x40c17a(0x4f0)]=Pi([Xe(0x0,a[_0x40c17a(0x3e8)](q[_0x40c17a(0x3cd)])),Xe(0x1,a[_0x40c17a(0x3e8)](a[_0x40c17a(0x342)]))],exports[_0x40c17a(0x4f0)]);var Le=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x452b(){var _0x570aa8=['_lockTransition','resend','Injector','_clearTimeoutTimer','AwaitingState','random','subject','Utf8','objectID','GLOBAL_ROOMS_CNT_EXCEEDS','getActiveSheet','_showConflictNotification','_getCtorByUniverType','pending','put','_getSendChangesetTimeout','[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.','_submitChangeset','_revisionService','_getUndoStack','HELLO','_changesetSessionId','APPLY_REJECT','univer-pro.collaboration-client-socket-service','encodeURIComponent','_socket','_change$','HttpExport','_timeoutTimer','fetchThroughInterceptors','SNAPSHOT_URL_KEY','IConfigService','readAsDataURL','20JvIBOa','SheetsSelectionsService','kdf','permissionRejEvent','CollaborativeUndoRedoService','reset','_transformUndoredo','touchDependencies','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_isPermissionRej','getConfig','ALREADY_EXISTS','getMember','cfg','append','values','APPLY_NON_SEQUENTIAL_REVISION','image/jpeg','entityInit$','originalMeta','override','_sendHeartbeatTimer','clamp','CollaborationUIEventService','PERSON','_schedule','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','SyncedState','SetSelectionsOperation','_collabSessionService','socket\x20close','msCrypto','forEach','JOIN_ROOM_FAILED','_initCloseConn','m2Prime','setConfig','SYNCED','_process','hasOwnProperty','_syncEditingCollabCursor','collabWebSocketUrl','parse','LOGIN_FAILED','_cipher','reverse','fetch_missing','_initMergeInterceptor','_hash','NEW_CHANGESETS','_scheduleCompleteTimestamp','getResourcesRequest','isArray','_config','_initRequestHeader','JOIN_ROOM_FULL','list','_tryEnsureSocket','emitEvent','_queuedRemoteChangesets','_imageSourceCache','UniverCollaborationPlugin','_acknowledgedAwaitingChangeset','catch','PY_RUNTIME_SCRIPT_ERROR','Optional','_doFinalize','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','uniscriptRunEvent','/collaborator','_key','PERMISSION_REJ','SUBMIT_CHANGESET_TIMEOUT','objectActions','@univerjs-pro/collaboration','RevisionService','LICENSE_MAX_UNITS_EXCEEDED','_fetchMissChangesets','createDecryptor','/-/object/list','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','complete','_prevBlock','getCurrentRevOfUnit','StreamCipher','onRemoteRetry','getUnit','LOCAL_CACHE_INTERVAL','onTransformIME','next','BehaviorSubject','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','synced','INVITE_CODE_REQUIRED','_createHelper','MOBILE_HAS_BEEN_BOUND','x-univer-host','CLOSE_ROOM','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_onMessage','charCodeAt','mode','_commentUpdate$','_updateState','UNIVER_UNKNOWN','_getRedoStack','message$','LICENSE_EXPORT_SIZE_EXCEEDED','dispose','defineProperty','pad','close$','LOCAL_CACHE_INTERVAL_KEY','BASE64','SheetCollaborationEntity','createInstance','_sendingTimer','MD5','ILogService','SHOULD_CLOSE_CONN','fromCharCode','_onConflict','concatMap','HmacMD5','FETCH_MISS','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','Pkcs7','unknown','_onUserJoin','ITelemetryService','OfflineState','isInternalEditorID','clone','reject','_clearHeartbeatTimer','[PendingState]:\x20received\x20rejection.','unsubscribe','HTTPService','_httpService','_transformRemoteChangesetByIMECache','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','HEARTBEAT','focused$','eventID','ImageSourceType','_keySchedule','parseProtocolChangeset','_onConnectionFailed','Module','_initUnitPermissionChange','_doProcessBlock','FETCH_MISSING','open$','snapshotServerUrl','image/bmp','csAckEvent','USER_NOT_INVITED_CODE','_unitID','textEncoder','_startTelemetryCollaborationNewChangeset','DEFAULT_WS_SESSION_TICKET_URL','withCredentials','LIVESHARE_OPERATION','byteLength','Inject','BufferedBlockAlgorithm','YUUMI_SUBSCRIPTION_NOT_FOUND','transformSelections','FileId','_initDependencies','enableOfflineEditing','CipherParams','CollaborationSession','onCommentUpdate','33743039uBrQLp','subscribe','_onRemoteChangeset','loginUrlKey','_commandService','finalize','_collaborationTimeoutTimer','collaboration-client.local-cache-service','getUnitType','UserProfileImg','_transformSelections','UNIVER_DOC','_DEC_XFORM_MODE','_transformStack','[OfflineState]:\x20received\x20changeset.','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_collaborationSessionService','/universer-api/user/session-ticket','keySize','has','MUTATION','INVALID_INVITE_CODE','BlockCipherMode','string','CommentService','startsWith','batchAllowed','8991510SwkZTE','_onRemoteACK','Cipher','[CollaborationUndoRedoService]','IMentionIOService','url','COLLAB_SUBMIT_CHANGESET_URL','then','ConflictState','encrypt','_stopTelemetryCollaborationNewChangeset','toggleOffline','MSG_FOR_ERROR','WordArray','getSnapshotAPIPath','_clearScheduledTask','_onRemoteRejected','MemberService','IUndoRedoService','changesets','loadDoc','updateOfflineData','ENSURE_SNAPSHOT_EXECUTION','size','getWorkbookSelections','refreshPermission','_getUploadFileURL','unit-cache-','now','EmptyMutation','infoRsp','[OfflineState]:\x20received\x20acknowledgement.','CHANGESET_REJ','fetchMiss','sin','resolve','_onFetchMissResult','params','IAuthzIoService','_socket$','NoPadding','_toggleOffline','onRemoteRej','OpenSSL','Disposable','DisposableCollection','INVITE_CODE_HAS_BEEN_UES','\x20-\x20','getFocusedUnit','[FetchMissState]','_transformService','clear','href','INTERNAL_ERROR','awaiting','_instanceService','_nRounds','/-/object/-/batch_allowed','NOT_FOUND','_map','__creator','dispose$','_mode','substr','IDLE','_event$','closeSession','/resources','onSyncEditingCollabCursor','UPDATE_PERMISSION_OBJ','deleteCollaborator','[PendingState]:\x20received\x20acknowledgement.','OFFLINE','sequenceExecute','_telemetryService','INVALID_ARGUMENT','session','error','localCacheService','@univerjs/sheets','isTransformMutationsWithChangesetFailure','@univerjs/telemetry','HTTPRequest','mapDocumentTypeToUniverType','12vzhmbC','session.room-not-exists','type','appendMutation','unitID','$super','BlockCipher','HEARTBEAT_TIMEOUT','_HTTPService','_remoteChangesetQueue','CommandType','save\x20fail\x20reason\x20is\x20','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','sigBytes','_startCollaboration','send','/universer-api/oidc/authpage','_keyPriorReset','MentionType','SnapshotServerOverHTTPService','DependentOn','DocCollaborationEntity','getValue','_onRecvEvent','responseType','_getAPIPrefix','method','UNRECOGNIZED','RxDisposable','SUCCUSS','session.room-cnt-exceeds','ciphertext','snapshot','/universer-api/snapshot/','[OfflineState]:\x20received\x20rejection.','[CollaborationSession]','CollaborationStatus','rxjs','DataLoaderService','name','_createHmacHelper','push','_updateLocalCache','online$','interceptor','status$','_snapshotServerService','startTime','includes','[CollaborationSessionService]','@univerjs-pro/license','getMemberID','duration','createEncryptor','collaborators','createCollaborator','disposeWithMe','post','sid','WorkbookEditablePermission','1828917jJDZMa','_permissionService','IPermissionService','_handlerCallback','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','_waitForHeartbeatResponse','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_sender','OTHER_CLIENTS_EDITING','ceil','_memberService','_roomMembers','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','hasher','CHANGESET_REVISION_CONFILICT','offline','add','sessionStatus','/object','SNAPSHOT_INVALID_SNAPSHOT','_ENC_XFORM_MODE','unitInfo$','_checkMissing','ONLINE','merge','sessionStatus$','padding','CHANGESET_ACK','UniverInstanceType','_createHandler','SOCKET_FAILED_RETRY','entries','UNIVER_COLLABORATION_CLIENT_PLUGIN','LIVESHARE_NEW_HOST','DEFAULT_COLLAB_WEB_SOCKET_URL','updatePermissionPoint','YUUMI_URL_COL_OUT_OF_RANGE','HttpImport','toggleOnline','_sessions','default','_unlockTransition','waitForRoom$','Base64','CollaborationImageIoService','_rescheduleHeartbeat','transformMutationsWithChangeset','onMissingChangesets','location','getImageSourceCache','univer-pro.collaboration-client.network-condition.service','SessionStatus','PasswordBasedCipher','/allowed','onCommandExecuted','UnitSnapshot','event$','_transformRemoteChangesetByStateCache','create','_snapshotService','exports','USERS_ENTER','_loadSheet','_singleActiveUnitService','readInt32LE','HMAC','concat','workbook','_reverseMap','SNAPSHOT_SERVER_URL_KEY','DEFAULT_FILE_NAME','_minBufferSize','stringify','SNAPSHOT_HAS_BEEN_REMOVED','LEAVE','src','_state','People','getSheetId','_sendHeartbeat','lib','avatar','function','AuthzIoHttpService','_transitionLocked','ILocalCacheService','getRoom','COMPRESS_MUTATION_APPLY','memberID','csShouldRetryEvent','setShowComponents','_type','Rectangle','encryptBlock','_state$','format','UNISCRIPT_RUN','CBC','_univerInstanceService','univer-pro.collaboration-client.single-active-unit-service','UnitEmbedded','SnapshotService','ERROR_IMAGE','_networkConditionService','INVITE_CODE_ALREADY_BOUND','NOT_COLLAB','getTime','UNDEFINED','_joinRoom','_roomCreated$','_removeRoom','IContextService','collaboratorID','_replayCachedMutations','status','getLocalCacheKey','_commentService','YUUMI_RATE_OVER_LIMIT','_changesetReqId','collabSubmitChangesetUrl','_parse','newCsEvent','JOIN_ROOM_PERMISSION_DENIED','_createInitialState','COLLAB_WEB_SOCKET_URL','firstValueFrom','floor','COMMENT_UPDATE','onTransformState','requireSession','AwaitingWithPendingState','compose','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_logService','unpad','compute','take','_getSignURL','headers','UNAUTHENTICATED','state$','objects','_sheetTransformSelectionsService','SUBMIT_CHANGESET','telemetry\x20info\x20is\x20not\x20initialized','putCollaborators','objectType','baseRev','_substituteUndoStack','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','takeUntil','@univerjs/core','Decryptor','max','_pendingMutations','getInterceptPoints','processBlock','set','key','_iKey','rev','ws://127.0.0.1:8000/universer-api/comb/connect','_throwTelemetryCollaborationNewChangeset','RichTextEditingMutation','AWAITING','POST','ivSize','_configService','_onUserLeave','_getDownloadEndpointURL','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','Workbook','reqId','setCurrentUser','extend','INGEST','CONNECTOR_DATA_TOO_LARGE','CHANGESET_SHOULD_RETRY','_transformIMECache','isPermissionRej','IUniverInstanceService','mutations','_decreaseWaiting','update','saveSheetBlock','randomUUID','_clearRetryConnectingTimer','Hasher','LocalUndoRedoService','/new_changes','result','_awaitingChangeset','encode','_handler','_nDataBytes','map','joinRsp','_doCryptBlock','indexOf','shouldCloseConn','confirm','_data','[DataLoaderService]','delete','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','debug','[CollaborationState]:\x20apply\x20error!','execute','authzUrl','b64DecodeUnicode','ImageUploadStatusType','Base','registerHTTPInterceptor','_incrementRevisionNumber','Error\x20on\x20receiving\x20event','awaitingChangeset','every','[SyncedState]:\x20received\x20rejection.','reconnect','_toggleOnline','getUnitOnRev','_exhaustRemoteChangesetQueue','Univer','requestParams','getSheetBlock','AWAITING_WITH_PENDING','_entityInit$','OPTIONAL','MentionIoHttpService','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','Malformed\x20UTF-8\x20data','_members$','CollaborationSocketService','_clearUndo','_getLoginPath','call','words','_resendTimer','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_members','_createInitialStateImpl','allowed','UNIVER_PROJECT','_oKey','APPLY_DUPLICATED','onRemoteAck','listCollaborators','toDisposable','_onRemoteRetry','_redoStacks','transformUndoRedo','splice','APPLY_PERMISSION_DENIED','executeCommand','from','UNIVER_SLIDE','UNIVER_SHEET','prototype','LocaleService','pauseCollaboration','addHandlerCallback','get','getRandomValues','\x0aCurrent:\x20','session.join-failed','registerDependencies','updateMember','action','updateCursorEvent','UserManagerService','socketService','WECHAT_HAS_BEEN_BOUND','ICommandService','_append','fromCollab','UniverCollaborationClientPlugin','decrypt','apply','_onOffline','getImage','_clearLocalCache','_resendWithTimeout','uploadFileServerUrl','COMPLETION_FINISHED','enc','resourceIDs','Plugin','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','RETRY_CONNECTING_MAX_COUNT_KEY','JOIN_ROOM_NOT_EXISTS','/universer-api/authz','_substituteRedoStack','&assign=','_tryReconnect','[CollaborationEntity]','Could\x20not\x20dynamically\x20require\x20\x22','?size=','filter','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','close','/unit/','_shouldReportTelemetry','socket\x20open.','collaboration_new_changeset','_undoRedoService','_compressMutationService','c1Prime','loadOfflineData','userID','_socketService','_replaceFileID','title','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','NO_OTHER_CLIENTS_EDITING','__Key__','onSendChangeset','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','blockSize','UniverNetworkPlugin','FetchingMissState','join','slice','ISnapshotServerService','actions','body','revision','/universer-api/uniscript','Subject','shareReplay','joinEvent','PSEUDO_FETCH_MISSING_RESULT','editing\x20status\x20changed\x20to','json','awaiting_with_pending','getTypeOfUnitDisposed$','selections','init','_doCreateSocket','UNKNOWN_CMD','&to=','stopTime','image/png','ERROR_EXCEED_SIZE','LIVESHARE_REQUEST_HOST','EvpKDF','auth.needGotoLoginAlert','getCurrentUser','COLLAB_SUBMIT_CHANGESET_URL_KEY','/object/','EXCHANGE_SIGN_URL_SERVER_URL_KEY','onTransformRemoteChangesetByIMECache','c2Prime','onTransformRemoteChangesetByStateCache','pipe','_socketMessageSubscription','textRanges','_collaborationPaused','CONFLICT','cmd','abs','CollaborationUIEventId','_entities','Failed\x20to\x20update\x20permission\x20point','_clearRedo','data','serializeCombRequest','decryptBlock','Hex','/universer-api/comb','loadSheet','233zIiutA','HmacSHA1','getTypeOfUnitAdded$','UNKNOWN_CODE','FAIL','routeKey','_doReset','&source=','toString','salt','getGlobalObject','delay','removeMember','4ZbxHbp','UPDATE_CURSOR','error$','_retryCount','code','MergeInterceptorFactory','generateRandomId','UnitStatus','saveSnapshot','members$','onload','_waitCount','onMissedChangesetFetched','unitId','_transformStateCache','initWorkbookPermissionChange','JOINING','_getCurrentRevision','_loadDoc','Tools','/rev/','ERROR_IMAGE_TYPE','bind','symbol','_onConnectionOpen','_resendTimeout','retryConnectingInterval','session.room-permission-denied','_collaborationUIEventService','asObservable','COMPRESS_MUTATION_SEND','reduce','Undefined','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','/block/','[UniverCollaborationClientPlugin]','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_eventService','LICENSE_DISTRO_REJECTED','fetchMissingChangesets','conflict','image/jpg','_emitMembers','_getAPIPrefixPath','session.room-full','roomInfos','LIVESHARE_TERMINATE','RECV','collaMsg','AES','mixIn','SerializableCipher','length','JSONX','SEND_CHANGESET_TIMEOUT_KEY','transformChangesets','@univerjs/docs','4016271GjtbYg','_xformMode','_userManagerService','getLatestCsReqIdBySid','_localCacheService','USERS_LEAVE','state','JOIN','APPLY_REVISION_CONFILICT','onLocalMutation','_status$','Encryptor','PendingState','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_invKeySchedule','LIVESHARE_FETCH_OPERATIONS','SheetTransformSelectionsService','isTransformMutationsWithChangesetSuccess','hostname','crypto','members','_candidateSocket','deepClone','fetching\x20missing\x20changesets\x20from\x20','_clearCollaborationTimeoutTimer','target','isTransformChangesetsSuccess','mergeOverrideWithDependencies','_init','subUnitId','image/gif','_onJoinRoomEvent','YUUMI_UNABLE_LOAD_URL','LOGIN_URL_KEY','sendChangesetTimeout','_updateStatus','8SHKqUd','_iv','onRemoteChangeset','byteOffset','saveImage','_injector','PERMISSION_DENIED','getCollabEntity','IImageIoService','onlyLocal','createSocket','_executeRemoteChangeset','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_localeService','_telemetryInfo','leaveEvent','HEARTBEAT_INTERVAL_KEY','findIndex','onTransformSelections','CompressMutationService','getOwnPropertyDescriptor','algo','3257856qflaSM','_sessionStatus$','TOO_MANY_REQUESTS','_unitInfo$','formatter','EMAIL_HAS_BEEN_BOUND','downloadEndpointUrl','_hasher','_disableEditing','PENDING','charAt','connection\x20error','ITransformService','_retryConnectingTimer','getUnitId','LICENSE_IMPORT_SIZE_EXCEEDED','disableLocalCache','_onLocalMutation','_socketReady','_registerDependencies','range','createIdentifier','CollaborationSessionService','SHA1','7072760DxYvBe','CollaborationEvent','unitId\x20is\x20not\x20found','updatePermissionObjEvent','CollaborationController','liveShareNewHost','onStateChange','getCurrentSelections','510KeejAm','_applyRemoteChangeset','transformStack\x20failed!','CollaborationEntity','OTHER_CLIENT_EDITING','/universer-api/file/{fileID}/sign-url'];_0x452b=function(){return _0x570aa8;};return _0x452b();}function Se(_0x104416){var _0x268faa=_0x40c17a;return _0x104416&&_0x104416['__esModule']&&Object['prototype']['hasOwnProperty'][_0x268faa(0x1f6)](_0x104416,_0x268faa(0x4c5))?_0x104416[_0x268faa(0x4c5)]:_0x104416;}var fe={'exports':{}};function Li(_0x5b2734){var _0x43c3d6=_0x40c17a;throw new Error(_0x43c3d6(0x232)+_0x5b2734+_0x43c3d6(0x35e));}var pe={'exports':{}},Mi=pe[_0x40c17a(0x4d9)],Ze;function ee(){var _0x1f3d89=_0x40c17a;return Ze||(Ze=0x1,function(_0x5dda65,_0x2c8c12){(function(_0x12e8a2,_0x483cd7){var _0x463ac8=_0x1551;_0x5dda65[_0x463ac8(0x4d9)]=_0x483cd7();}(Mi,function(){var _0x30560f=_0x30560f||function(_0x1f9f46,_0x433159){var _0x52cb11=_0x1551,_0x47af1b;if(typeof window<'u'&&window[_0x52cb11(0x2d6)]&&(_0x47af1b=window[_0x52cb11(0x2d6)]),typeof self<'u'&&self[_0x52cb11(0x2d6)]&&(_0x47af1b=self[_0x52cb11(0x2d6)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x47af1b=globalThis['crypto']),!_0x47af1b&&typeof window<'u'&&window[_0x52cb11(0x363)]&&(_0x47af1b=window[_0x52cb11(0x363)]),!_0x47af1b&&typeof Le<'u'&&Le[_0x52cb11(0x2d6)]&&(_0x47af1b=Le[_0x52cb11(0x2d6)]),!_0x47af1b&&typeof Li=='function')try{_0x47af1b=require('crypto');}catch{}var _0x515d69=function(){var _0x18bbf1=_0x52cb11;if(_0x47af1b){if(typeof _0x47af1b[_0x18bbf1(0x211)]==_0x18bbf1(0x4ef))try{return _0x47af1b[_0x18bbf1(0x211)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x47af1b['randomBytes']==_0x18bbf1(0x4ef))try{return _0x47af1b['randomBytes'](0x4)[_0x18bbf1(0x4dd)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x2e0fe4=Object[_0x52cb11(0x4d7)]||(function(){function _0x521a21(){}return function(_0x1c40cf){var _0x25645e=_0x1551,_0x209c1e;return _0x521a21[_0x25645e(0x20c)]=_0x1c40cf,_0x209c1e=new _0x521a21(),_0x521a21['prototype']=null,_0x209c1e;};}()),_0x284b43={},_0x59211a=_0x284b43[_0x52cb11(0x4ed)]={},_0x36fda0=_0x59211a[_0x52cb11(0x1de)]=(function(){return{'extend':function(_0xc527ad){var _0x4650d0=_0x1551,_0xd6f40d=_0x2e0fe4(this);return _0xc527ad&&_0xd6f40d['mixIn'](_0xc527ad),(!_0xd6f40d[_0x4650d0(0x36b)](_0x4650d0(0x25b))||this['init']===_0xd6f40d[_0x4650d0(0x25b)])&&(_0xd6f40d[_0x4650d0(0x25b)]=function(){var _0x2df105=_0x4650d0;_0xd6f40d[_0x2df105(0x466)][_0x2df105(0x25b)][_0x2df105(0x220)](this,arguments);}),_0xd6f40d[_0x4650d0(0x25b)][_0x4650d0(0x20c)]=_0xd6f40d,_0xd6f40d[_0x4650d0(0x466)]=this,_0xd6f40d;},'create':function(){var _0x2cceef=_0x1551,_0x4b950a=this[_0x2cceef(0x1b9)]();return _0x4b950a[_0x2cceef(0x25b)]['apply'](_0x4b950a,arguments),_0x4b950a;},'init':function(){},'mixIn':function(_0x4fbe5c){var _0x573785=_0x1551;for(var _0x4bb6c7 in _0x4fbe5c)_0x4fbe5c[_0x573785(0x36b)](_0x4bb6c7)&&(this[_0x4bb6c7]=_0x4fbe5c[_0x4bb6c7]);_0x4fbe5c['hasOwnProperty']('toString')&&(this[_0x573785(0x285)]=_0x4fbe5c['toString']);},'clone':function(){var _0x4df150=_0x1551;return this['init'][_0x4df150(0x20c)][_0x4df150(0x1b9)](this);}};}()),_0x2e7c46=_0x59211a[_0x52cb11(0x41a)]=_0x36fda0[_0x52cb11(0x1b9)]({'init':function(_0x49f0d0,_0x405a93){var _0x1fae4a=_0x52cb11;_0x49f0d0=this['words']=_0x49f0d0||[],_0x405a93!=_0x433159?this[_0x1fae4a(0x46e)]=_0x405a93:this[_0x1fae4a(0x46e)]=_0x49f0d0[_0x1fae4a(0x2be)]*0x4;},'toString':function(_0xe76b98){var _0x2663b4=_0x52cb11;return(_0xe76b98||_0x4a4706)[_0x2663b4(0x4e5)](this);},'concat':function(_0x462fb1){var _0x1e7eec=_0x52cb11,_0x1d3a9e=this[_0x1e7eec(0x1f7)],_0x3de30b=_0x462fb1[_0x1e7eec(0x1f7)],_0x2052e7=this['sigBytes'],_0x164eb9=_0x462fb1[_0x1e7eec(0x46e)];if(this[_0x1e7eec(0x35a)](),_0x2052e7%0x4)for(var _0x387360=0x0;_0x387360<_0x164eb9;_0x387360++){var _0x24f5d4=_0x3de30b[_0x387360>>>0x2]>>>0x18-_0x387360%0x4*0x8&0xff;_0x1d3a9e[_0x2052e7+_0x387360>>>0x2]|=_0x24f5d4<<0x18-(_0x2052e7+_0x387360)%0x4*0x8;}else{for(var _0x47758d=0x0;_0x47758d<_0x164eb9;_0x47758d+=0x4)_0x1d3a9e[_0x2052e7+_0x47758d>>>0x2]=_0x3de30b[_0x47758d>>>0x2];}return this[_0x1e7eec(0x46e)]+=_0x164eb9,this;},'clamp':function(){var _0x2fdf42=_0x52cb11,_0x5b1d36=this[_0x2fdf42(0x1f7)],_0x342b50=this[_0x2fdf42(0x46e)];_0x5b1d36[_0x342b50>>>0x2]&=0xffffffff<<0x20-_0x342b50%0x4*0x8,_0x5b1d36[_0x2fdf42(0x2be)]=_0x1f9f46['ceil'](_0x342b50/0x4);},'clone':function(){var _0x3d3379=_0x52cb11,_0x3b3471=_0x36fda0[_0x3d3379(0x3c8)][_0x3d3379(0x1f6)](this);return _0x3b3471[_0x3d3379(0x1f7)]=this[_0x3d3379(0x1f7)][_0x3d3379(0x24c)](0x0),_0x3b3471;},'random':function(_0x1a76ca){var _0x3952c8=_0x52cb11;for(var _0x3fd905=[],_0xf03cd6=0x0;_0xf03cd6<_0x1a76ca;_0xf03cd6+=0x4)_0x3fd905['push'](_0x515d69());return new _0x2e7c46[(_0x3952c8(0x25b))](_0x3fd905,_0x1a76ca);}}),_0x5c3a73=_0x284b43[_0x52cb11(0x227)]={},_0x4a4706=_0x5c3a73[_0x52cb11(0x27a)]={'stringify':function(_0x301875){var _0x4d5f8b=_0x52cb11;for(var _0x2bd3fa=_0x301875[_0x4d5f8b(0x1f7)],_0xbb3173=_0x301875['sigBytes'],_0x40ad6b=[],_0x38ddeb=0x0;_0x38ddeb<_0xbb3173;_0x38ddeb++){var _0x4c46e6=_0x2bd3fa[_0x38ddeb>>>0x2]>>>0x18-_0x38ddeb%0x4*0x8&0xff;_0x40ad6b['push']((_0x4c46e6>>>0x4)[_0x4d5f8b(0x285)](0x10)),_0x40ad6b['push']((_0x4c46e6&0xf)[_0x4d5f8b(0x285)](0x10));}return _0x40ad6b['join']('');},'parse':function(_0x25d739){var _0x59d5d9=_0x52cb11;for(var _0x45213a=_0x25d739[_0x59d5d9(0x2be)],_0x44119b=[],_0x460aff=0x0;_0x460aff<_0x45213a;_0x460aff+=0x2)_0x44119b[_0x460aff>>>0x3]|=parseInt(_0x25d739[_0x59d5d9(0x44c)](_0x460aff,0x2),0x10)<<0x18-_0x460aff%0x8*0x4;return new _0x2e7c46['init'](_0x44119b,_0x45213a/0x2);}},_0x1ce03a=_0x5c3a73['Latin1']={'stringify':function(_0x3346f5){var _0x440dbb=_0x52cb11;for(var _0x2e0f1d=_0x3346f5['words'],_0x1227a2=_0x3346f5[_0x440dbb(0x46e)],_0x32012a=[],_0x5186f0=0x0;_0x5186f0<_0x1227a2;_0x5186f0++){var _0x5e28b1=_0x2e0f1d[_0x5186f0>>>0x2]>>>0x18-_0x5186f0%0x4*0x8&0xff;_0x32012a['push'](String['fromCharCode'](_0x5e28b1));}return _0x32012a[_0x440dbb(0x24b)]('');},'parse':function(_0x177217){var _0x44781e=_0x52cb11;for(var _0x27148b=_0x177217[_0x44781e(0x2be)],_0x449776=[],_0x48c92b=0x0;_0x48c92b<_0x27148b;_0x48c92b++)_0x449776[_0x48c92b>>>0x2]|=(_0x177217[_0x44781e(0x3a8)](_0x48c92b)&0xff)<<0x18-_0x48c92b%0x4*0x8;return new _0x2e7c46[(_0x44781e(0x25b))](_0x449776,_0x27148b);}},_0x3e68bd=_0x5c3a73['Utf8']={'stringify':function(_0x512b78){var _0x3db844=_0x52cb11;try{return decodeURIComponent(escape(_0x1ce03a[_0x3db844(0x4e5)](_0x512b78)));}catch{throw new Error(_0x3db844(0x1f1));}},'parse':function(_0x4ba31e){var _0x30d1a8=_0x52cb11;return _0x1ce03a[_0x30d1a8(0x36e)](unescape(encodeURIComponent(_0x4ba31e)));}},_0x2a0129=_0x59211a[_0x52cb11(0x3e9)]=_0x36fda0[_0x52cb11(0x1b9)]({'reset':function(){var _0x347c0c=_0x52cb11;this['_data']=new _0x2e7c46[(_0x347c0c(0x25b))](),this['_nDataBytes']=0x0;},'_append':function(_0x20d71c){var _0x582fcb=_0x52cb11;typeof _0x20d71c==_0x582fcb(0x409)&&(_0x20d71c=_0x3e68bd['parse'](_0x20d71c)),this[_0x582fcb(0x1d4)][_0x582fcb(0x4df)](_0x20d71c),this['_nDataBytes']+=_0x20d71c[_0x582fcb(0x46e)];},'_process':function(_0x2fede0){var _0x1dccc8=_0x52cb11,_0x214d98,_0x5cd411=this[_0x1dccc8(0x1d4)],_0xc2466=_0x5cd411[_0x1dccc8(0x1f7)],_0x336e0b=_0x5cd411[_0x1dccc8(0x46e)],_0x23938d=this[_0x1dccc8(0x248)],_0x574c6f=_0x23938d*0x4,_0x4ed14a=_0x336e0b/_0x574c6f;_0x2fede0?_0x4ed14a=_0x1f9f46[_0x1dccc8(0x4a6)](_0x4ed14a):_0x4ed14a=_0x1f9f46[_0x1dccc8(0x1a4)]((_0x4ed14a|0x0)-this[_0x1dccc8(0x4e4)],0x0);var _0x1509f9=_0x4ed14a*_0x23938d,_0x3bc612=_0x1f9f46['min'](_0x1509f9*0x4,_0x336e0b);if(_0x1509f9){for(var _0x50f991=0x0;_0x50f991<_0x1509f9;_0x50f991+=_0x23938d)this[_0x1dccc8(0x3da)](_0xc2466,_0x50f991);_0x214d98=_0xc2466['splice'](0x0,_0x1509f9),_0x5cd411[_0x1dccc8(0x46e)]-=_0x3bc612;}return new _0x2e7c46[(_0x1dccc8(0x25b))](_0x214d98,_0x3bc612);},'clone':function(){var _0x5cb29a=_0x52cb11,_0x22d379=_0x36fda0[_0x5cb29a(0x3c8)][_0x5cb29a(0x1f6)](this);return _0x22d379[_0x5cb29a(0x1d4)]=this[_0x5cb29a(0x1d4)][_0x5cb29a(0x3c8)](),_0x22d379;},'_minBufferSize':0x0});_0x59211a[_0x52cb11(0x1c6)]=_0x2a0129[_0x52cb11(0x1b9)]({'cfg':_0x36fda0[_0x52cb11(0x1b9)](),'init':function(_0x1363af){var _0x14f8df=_0x52cb11;this['cfg']=this[_0x14f8df(0x351)][_0x14f8df(0x1b9)](_0x1363af),this[_0x14f8df(0x349)]();},'reset':function(){var _0x2d6d64=_0x52cb11;_0x2a0129[_0x2d6d64(0x349)][_0x2d6d64(0x1f6)](this),this[_0x2d6d64(0x283)]();},'update':function(_0x2175c8){var _0x56b7bc=_0x52cb11;return this[_0x56b7bc(0x21c)](_0x2175c8),this['_process'](),this;},'finalize':function(_0x5a919a){var _0x26e408=_0x52cb11;_0x5a919a&&this[_0x26e408(0x21c)](_0x5a919a);var _0x45c3f0=this[_0x26e408(0x386)]();return _0x45c3f0;},'blockSize':0x10,'_createHelper':function(_0x27c36b){return function(_0x59d4fc,_0x2ca9e5){var _0x427351=_0x1551;return new _0x27c36b['init'](_0x2ca9e5)[_0x427351(0x3f7)](_0x59d4fc);};},'_createHmacHelper':function(_0x5e47c6){return function(_0x145f91,_0x550d74){var _0x415e89=_0x1551;return new _0x519c4e[(_0x415e89(0x4de))][(_0x415e89(0x25b))](_0x5e47c6,_0x550d74)[_0x415e89(0x3f7)](_0x145f91);};}});var _0x519c4e=_0x284b43[_0x52cb11(0x2fc)]={};return _0x284b43;}(Math);return _0x30560f;}));}(pe)),pe[_0x1f3d89(0x4d9)];}var ge={'exports':{}},xi=ge[_0x40c17a(0x4d9)],Qe;function Ut(){return Qe||(Qe=0x1,function(_0x3ad996,_0x4a0845){(function(_0x5b1887,_0x4c920d){var _0x10defc=_0x1551;_0x3ad996[_0x10defc(0x4d9)]=_0x4c920d(ee());}(xi,function(_0xb83b10){var _0x29e3d6=_0x1551;return(function(){var _0x5d5837=_0x1551,_0x5a66b9=_0xb83b10,_0x4a23bc=_0x5a66b9[_0x5d5837(0x4ed)],_0x209f1a=_0x4a23bc[_0x5d5837(0x41a)],_0xd485b1=_0x5a66b9[_0x5d5837(0x227)];_0xd485b1[_0x5d5837(0x4c8)]={'stringify':function(_0x5841c1){var _0x14915b=_0x5d5837,_0x45c4d1=_0x5841c1['words'],_0x1279ab=_0x5841c1[_0x14915b(0x46e)],_0xe13249=this['_map'];_0x5841c1[_0x14915b(0x35a)]();for(var _0x5cc367=[],_0x383f63=0x0;_0x383f63<_0x1279ab;_0x383f63+=0x3)for(var _0x42c44d=_0x45c4d1[_0x383f63>>>0x2]>>>0x18-_0x383f63%0x4*0x8&0xff,_0xf29500=_0x45c4d1[_0x383f63+0x1>>>0x2]>>>0x18-(_0x383f63+0x1)%0x4*0x8&0xff,_0xaefc8b=_0x45c4d1[_0x383f63+0x2>>>0x2]>>>0x18-(_0x383f63+0x2)%0x4*0x8&0xff,_0x2f8ec3=_0x42c44d<<0x10|_0xf29500<<0x8|_0xaefc8b,_0xcaec39=0x0;_0xcaec39<0x4&&_0x383f63+_0xcaec39*0.75<_0x1279ab;_0xcaec39++)_0x5cc367[_0x14915b(0x48a)](_0xe13249[_0x14915b(0x307)](_0x2f8ec3>>>0x6*(0x3-_0xcaec39)&0x3f));var _0x134e83=_0xe13249['charAt'](0x40);if(_0x134e83){for(;_0x5cc367['length']%0x4;)_0x5cc367[_0x14915b(0x48a)](_0x134e83);}return _0x5cc367['join']('');},'parse':function(_0x30bdd8){var _0x404bc5=_0x5d5837,_0x4a53fd=_0x30bdd8[_0x404bc5(0x2be)],_0xb0f7eb=this[_0x404bc5(0x448)],_0x34cb63=this[_0x404bc5(0x4e1)];if(!_0x34cb63){_0x34cb63=this[_0x404bc5(0x4e1)]=[];for(var _0x31c10b=0x0;_0x31c10b<_0xb0f7eb[_0x404bc5(0x2be)];_0x31c10b++)_0x34cb63[_0xb0f7eb[_0x404bc5(0x3a8)](_0x31c10b)]=_0x31c10b;}var _0x182714=_0xb0f7eb['charAt'](0x40);if(_0x182714){var _0x47cf93=_0x30bdd8[_0x404bc5(0x1d1)](_0x182714);_0x47cf93!==-0x1&&(_0x4a53fd=_0x47cf93);}return _0x2304f8(_0x30bdd8,_0x4a53fd,_0x34cb63);},'_map':_0x5d5837(0x39f)};function _0x2304f8(_0x118995,_0x5ded7d,_0x1c22cd){var _0x1abd57=_0x5d5837;for(var _0x1951f0=[],_0x758bb4=0x0,_0x496e72=0x0;_0x496e72<_0x5ded7d;_0x496e72++)if(_0x496e72%0x4){var _0x47eb5d=_0x1c22cd[_0x118995[_0x1abd57(0x3a8)](_0x496e72-0x1)]<<_0x496e72%0x4*0x2,_0x2ebac0=_0x1c22cd[_0x118995['charCodeAt'](_0x496e72)]>>>0x6-_0x496e72%0x4*0x2,_0x57990b=_0x47eb5d|_0x2ebac0;_0x1951f0[_0x758bb4>>>0x2]|=_0x57990b<<0x18-_0x758bb4%0x4*0x8,_0x758bb4++;}return _0x209f1a['create'](_0x1951f0,_0x758bb4);}}()),_0xb83b10['enc'][_0x29e3d6(0x4c8)];}));}(ge)),ge['exports'];}function _0x1551(_0x4b8eca,_0x994301){var _0x452b16=_0x452b();return _0x1551=function(_0x1551aa,_0x2c2cdf){_0x1551aa=_0x1551aa-0x16b;var _0x1443f0=_0x452b16[_0x1551aa];return _0x1443f0;},_0x1551(_0x4b8eca,_0x994301);}var me={'exports':{}},ki=me[_0x40c17a(0x4d9)],et;function Hi(){var _0x267587=_0x40c17a;return et||(et=0x1,function(_0x1aace0,_0x5e451a){(function(_0x510ba9,_0x468859){var _0x1fd918=_0x1551;_0x1aace0[_0x1fd918(0x4d9)]=_0x468859(ee());}(ki,function(_0xcb1edf){var _0x23a9a6=_0x1551;return function(_0x31135b){var _0x187ba0=_0x1551,_0x4e45a0=_0xcb1edf,_0x4773a8=_0x4e45a0[_0x187ba0(0x4ed)],_0x57e598=_0x4773a8[_0x187ba0(0x41a)],_0x245b62=_0x4773a8[_0x187ba0(0x1c6)],_0x34e61d=_0x4e45a0[_0x187ba0(0x2fc)],_0x111b69=[];(function(){var _0x4db3d3=_0x187ba0;for(var _0x48f422=0x0;_0x48f422<0x40;_0x48f422++)_0x111b69[_0x48f422]=_0x31135b[_0x4db3d3(0x272)](_0x31135b[_0x4db3d3(0x42f)](_0x48f422+0x1))*0x100000000|0x0;}());var _0x350641=_0x34e61d[_0x187ba0(0x3b9)]=_0x245b62['extend']({'_doReset':function(){var _0xc35cfe=_0x187ba0;this[_0xc35cfe(0x374)]=new _0x57e598['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x5b3f70,_0x5391ad){var _0x5a8bc0=_0x187ba0;for(var _0x1725be=0x0;_0x1725be<0x10;_0x1725be++){var _0x1776a7=_0x5391ad+_0x1725be,_0x465aed=_0x5b3f70[_0x1776a7];_0x5b3f70[_0x1776a7]=(_0x465aed<<0x8|_0x465aed>>>0x18)&0xff00ff|(_0x465aed<<0x18|_0x465aed>>>0x8)&0xff00ff00;}var _0x28220e=this[_0x5a8bc0(0x374)][_0x5a8bc0(0x1f7)],_0x2bd591=_0x5b3f70[_0x5391ad+0x0],_0x249131=_0x5b3f70[_0x5391ad+0x1],_0x46228a=_0x5b3f70[_0x5391ad+0x2],_0x201e40=_0x5b3f70[_0x5391ad+0x3],_0x49057d=_0x5b3f70[_0x5391ad+0x4],_0x4e6177=_0x5b3f70[_0x5391ad+0x5],_0x24accc=_0x5b3f70[_0x5391ad+0x6],_0x38dc8e=_0x5b3f70[_0x5391ad+0x7],_0x594758=_0x5b3f70[_0x5391ad+0x8],_0x1a3d1a=_0x5b3f70[_0x5391ad+0x9],_0x3c9302=_0x5b3f70[_0x5391ad+0xa],_0x2b3fd5=_0x5b3f70[_0x5391ad+0xb],_0x453888=_0x5b3f70[_0x5391ad+0xc],_0x39f922=_0x5b3f70[_0x5391ad+0xd],_0x2b90c5=_0x5b3f70[_0x5391ad+0xe],_0xaad1b8=_0x5b3f70[_0x5391ad+0xf],_0xd82122=_0x28220e[0x0],_0x1817f3=_0x28220e[0x1],_0x39a0ca=_0x28220e[0x2],_0x50e1f8=_0x28220e[0x3];_0xd82122=_0x1f0865(_0xd82122,_0x1817f3,_0x39a0ca,_0x50e1f8,_0x2bd591,0x7,_0x111b69[0x0]),_0x50e1f8=_0x1f0865(_0x50e1f8,_0xd82122,_0x1817f3,_0x39a0ca,_0x249131,0xc,_0x111b69[0x1]),_0x39a0ca=_0x1f0865(_0x39a0ca,_0x50e1f8,_0xd82122,_0x1817f3,_0x46228a,0x11,_0x111b69[0x2]),_0x1817f3=_0x1f0865(_0x1817f3,_0x39a0ca,_0x50e1f8,_0xd82122,_0x201e40,0x16,_0x111b69[0x3]),_0xd82122=_0x1f0865(_0xd82122,_0x1817f3,_0x39a0ca,_0x50e1f8,_0x49057d,0x7,_0x111b69[0x4]),_0x50e1f8=_0x1f0865(_0x50e1f8,_0xd82122,_0x1817f3,_0x39a0ca,_0x4e6177,0xc,_0x111b69[0x5]),_0x39a0ca=_0x1f0865(_0x39a0ca,_0x50e1f8,_0xd82122,_0x1817f3,_0x24accc,0x11,_0x111b69[0x6]),_0x1817f3=_0x1f0865(_0x1817f3,_0x39a0ca,_0x50e1f8,_0xd82122,_0x38dc8e,0x16,_0x111b69[0x7]),_0xd82122=_0x1f0865(_0xd82122,_0x1817f3,_0x39a0ca,_0x50e1f8,_0x594758,0x7,_0x111b69[0x8]),_0x50e1f8=_0x1f0865(_0x50e1f8,_0xd82122,_0x1817f3,_0x39a0ca,_0x1a3d1a,0xc,_0x111b69[0x9]),_0x39a0ca=_0x1f0865(_0x39a0ca,_0x50e1f8,_0xd82122,_0x1817f3,_0x3c9302,0x11,_0x111b69[0xa]),_0x1817f3=_0x1f0865(_0x1817f3,_0x39a0ca,_0x50e1f8,_0xd82122,_0x2b3fd5,0x16,_0x111b69[0xb]),_0xd82122=_0x1f0865(_0xd82122,_0x1817f3,_0x39a0ca,_0x50e1f8,_0x453888,0x7,_0x111b69[0xc]),_0x50e1f8=_0x1f0865(_0x50e1f8,_0xd82122,_0x1817f3,_0x39a0ca,_0x39f922,0xc,_0x111b69[0xd]),_0x39a0ca=_0x1f0865(_0x39a0ca,_0x50e1f8,_0xd82122,_0x1817f3,_0x2b90c5,0x11,_0x111b69[0xe]),_0x1817f3=_0x1f0865(_0x1817f3,_0x39a0ca,_0x50e1f8,_0xd82122,_0xaad1b8,0x16,_0x111b69[0xf]),_0xd82122=_0xac4cb1(_0xd82122,_0x1817f3,_0x39a0ca,_0x50e1f8,_0x249131,0x5,_0x111b69[0x10]),_0x50e1f8=_0xac4cb1(_0x50e1f8,_0xd82122,_0x1817f3,_0x39a0ca,_0x24accc,0x9,_0x111b69[0x11]),_0x39a0ca=_0xac4cb1(_0x39a0ca,_0x50e1f8,_0xd82122,_0x1817f3,_0x2b3fd5,0xe,_0x111b69[0x12]),_0x1817f3=_0xac4cb1(_0x1817f3,_0x39a0ca,_0x50e1f8,_0xd82122,_0x2bd591,0x14,_0x111b69[0x13]),_0xd82122=_0xac4cb1(_0xd82122,_0x1817f3,_0x39a0ca,_0x50e1f8,_0x4e6177,0x5,_0x111b69[0x14]),_0x50e1f8=_0xac4cb1(_0x50e1f8,_0xd82122,_0x1817f3,_0x39a0ca,_0x3c9302,0x9,_0x111b69[0x15]),_0x39a0ca=_0xac4cb1(_0x39a0ca,_0x50e1f8,_0xd82122,_0x1817f3,_0xaad1b8,0xe,_0x111b69[0x16]),_0x1817f3=_0xac4cb1(_0x1817f3,_0x39a0ca,_0x50e1f8,_0xd82122,_0x49057d,0x14,_0x111b69[0x17]),_0xd82122=_0xac4cb1(_0xd82122,_0x1817f3,_0x39a0ca,_0x50e1f8,_0x1a3d1a,0x5,_0x111b69[0x18]),_0x50e1f8=_0xac4cb1(_0x50e1f8,_0xd82122,_0x1817f3,_0x39a0ca,_0x2b90c5,0x9,_0x111b69[0x19]),_0x39a0ca=_0xac4cb1(_0x39a0ca,_0x50e1f8,_0xd82122,_0x1817f3,_0x201e40,0xe,_0x111b69[0x1a]),_0x1817f3=_0xac4cb1(_0x1817f3,_0x39a0ca,_0x50e1f8,_0xd82122,_0x594758,0x14,_0x111b69[0x1b]),_0xd82122=_0xac4cb1(_0xd82122,_0x1817f3,_0x39a0ca,_0x50e1f8,_0x39f922,0x5,_0x111b69[0x1c]),_0x50e1f8=_0xac4cb1(_0x50e1f8,_0xd82122,_0x1817f3,_0x39a0ca,_0x46228a,0x9,_0x111b69[0x1d]),_0x39a0ca=_0xac4cb1(_0x39a0ca,_0x50e1f8,_0xd82122,_0x1817f3,_0x38dc8e,0xe,_0x111b69[0x1e]),_0x1817f3=_0xac4cb1(_0x1817f3,_0x39a0ca,_0x50e1f8,_0xd82122,_0x453888,0x14,_0x111b69[0x1f]),_0xd82122=_0x2a8b7e(_0xd82122,_0x1817f3,_0x39a0ca,_0x50e1f8,_0x4e6177,0x4,_0x111b69[0x20]),_0x50e1f8=_0x2a8b7e(_0x50e1f8,_0xd82122,_0x1817f3,_0x39a0ca,_0x594758,0xb,_0x111b69[0x21]),_0x39a0ca=_0x2a8b7e(_0x39a0ca,_0x50e1f8,_0xd82122,_0x1817f3,_0x2b3fd5,0x10,_0x111b69[0x22]),_0x1817f3=_0x2a8b7e(_0x1817f3,_0x39a0ca,_0x50e1f8,_0xd82122,_0x2b90c5,0x17,_0x111b69[0x23]),_0xd82122=_0x2a8b7e(_0xd82122,_0x1817f3,_0x39a0ca,_0x50e1f8,_0x249131,0x4,_0x111b69[0x24]),_0x50e1f8=_0x2a8b7e(_0x50e1f8,_0xd82122,_0x1817f3,_0x39a0ca,_0x49057d,0xb,_0x111b69[0x25]),_0x39a0ca=_0x2a8b7e(_0x39a0ca,_0x50e1f8,_0xd82122,_0x1817f3,_0x38dc8e,0x10,_0x111b69[0x26]),_0x1817f3=_0x2a8b7e(_0x1817f3,_0x39a0ca,_0x50e1f8,_0xd82122,_0x3c9302,0x17,_0x111b69[0x27]),_0xd82122=_0x2a8b7e(_0xd82122,_0x1817f3,_0x39a0ca,_0x50e1f8,_0x39f922,0x4,_0x111b69[0x28]),_0x50e1f8=_0x2a8b7e(_0x50e1f8,_0xd82122,_0x1817f3,_0x39a0ca,_0x2bd591,0xb,_0x111b69[0x29]),_0x39a0ca=_0x2a8b7e(_0x39a0ca,_0x50e1f8,_0xd82122,_0x1817f3,_0x201e40,0x10,_0x111b69[0x2a]),_0x1817f3=_0x2a8b7e(_0x1817f3,_0x39a0ca,_0x50e1f8,_0xd82122,_0x24accc,0x17,_0x111b69[0x2b]),_0xd82122=_0x2a8b7e(_0xd82122,_0x1817f3,_0x39a0ca,_0x50e1f8,_0x1a3d1a,0x4,_0x111b69[0x2c]),_0x50e1f8=_0x2a8b7e(_0x50e1f8,_0xd82122,_0x1817f3,_0x39a0ca,_0x453888,0xb,_0x111b69[0x2d]),_0x39a0ca=_0x2a8b7e(_0x39a0ca,_0x50e1f8,_0xd82122,_0x1817f3,_0xaad1b8,0x10,_0x111b69[0x2e]),_0x1817f3=_0x2a8b7e(_0x1817f3,_0x39a0ca,_0x50e1f8,_0xd82122,_0x46228a,0x17,_0x111b69[0x2f]),_0xd82122=_0x185885(_0xd82122,_0x1817f3,_0x39a0ca,_0x50e1f8,_0x2bd591,0x6,_0x111b69[0x30]),_0x50e1f8=_0x185885(_0x50e1f8,_0xd82122,_0x1817f3,_0x39a0ca,_0x38dc8e,0xa,_0x111b69[0x31]),_0x39a0ca=_0x185885(_0x39a0ca,_0x50e1f8,_0xd82122,_0x1817f3,_0x2b90c5,0xf,_0x111b69[0x32]),_0x1817f3=_0x185885(_0x1817f3,_0x39a0ca,_0x50e1f8,_0xd82122,_0x4e6177,0x15,_0x111b69[0x33]),_0xd82122=_0x185885(_0xd82122,_0x1817f3,_0x39a0ca,_0x50e1f8,_0x453888,0x6,_0x111b69[0x34]),_0x50e1f8=_0x185885(_0x50e1f8,_0xd82122,_0x1817f3,_0x39a0ca,_0x201e40,0xa,_0x111b69[0x35]),_0x39a0ca=_0x185885(_0x39a0ca,_0x50e1f8,_0xd82122,_0x1817f3,_0x3c9302,0xf,_0x111b69[0x36]),_0x1817f3=_0x185885(_0x1817f3,_0x39a0ca,_0x50e1f8,_0xd82122,_0x249131,0x15,_0x111b69[0x37]),_0xd82122=_0x185885(_0xd82122,_0x1817f3,_0x39a0ca,_0x50e1f8,_0x594758,0x6,_0x111b69[0x38]),_0x50e1f8=_0x185885(_0x50e1f8,_0xd82122,_0x1817f3,_0x39a0ca,_0xaad1b8,0xa,_0x111b69[0x39]),_0x39a0ca=_0x185885(_0x39a0ca,_0x50e1f8,_0xd82122,_0x1817f3,_0x24accc,0xf,_0x111b69[0x3a]),_0x1817f3=_0x185885(_0x1817f3,_0x39a0ca,_0x50e1f8,_0xd82122,_0x39f922,0x15,_0x111b69[0x3b]),_0xd82122=_0x185885(_0xd82122,_0x1817f3,_0x39a0ca,_0x50e1f8,_0x49057d,0x6,_0x111b69[0x3c]),_0x50e1f8=_0x185885(_0x50e1f8,_0xd82122,_0x1817f3,_0x39a0ca,_0x2b3fd5,0xa,_0x111b69[0x3d]),_0x39a0ca=_0x185885(_0x39a0ca,_0x50e1f8,_0xd82122,_0x1817f3,_0x46228a,0xf,_0x111b69[0x3e]),_0x1817f3=_0x185885(_0x1817f3,_0x39a0ca,_0x50e1f8,_0xd82122,_0x1a3d1a,0x15,_0x111b69[0x3f]),_0x28220e[0x0]=_0x28220e[0x0]+_0xd82122|0x0,_0x28220e[0x1]=_0x28220e[0x1]+_0x1817f3|0x0,_0x28220e[0x2]=_0x28220e[0x2]+_0x39a0ca|0x0,_0x28220e[0x3]=_0x28220e[0x3]+_0x50e1f8|0x0;},'_doFinalize':function(){var _0x2a90de=_0x187ba0,_0x35f336=this[_0x2a90de(0x1d4)],_0x50487d=_0x35f336[_0x2a90de(0x1f7)],_0x39fa33=this[_0x2a90de(0x1cd)]*0x8,_0x1453d4=_0x35f336[_0x2a90de(0x46e)]*0x8;_0x50487d[_0x1453d4>>>0x5]|=0x80<<0x18-_0x1453d4%0x20;var _0x2bc8aa=_0x31135b[_0x2a90de(0x189)](_0x39fa33/0x100000000),_0x4c7f62=_0x39fa33;_0x50487d[(_0x1453d4+0x40>>>0x9<<0x4)+0xf]=(_0x2bc8aa<<0x8|_0x2bc8aa>>>0x18)&0xff00ff|(_0x2bc8aa<<0x18|_0x2bc8aa>>>0x8)&0xff00ff00,_0x50487d[(_0x1453d4+0x40>>>0x9<<0x4)+0xe]=(_0x4c7f62<<0x8|_0x4c7f62>>>0x18)&0xff00ff|(_0x4c7f62<<0x18|_0x4c7f62>>>0x8)&0xff00ff00,_0x35f336[_0x2a90de(0x46e)]=(_0x50487d[_0x2a90de(0x2be)]+0x1)*0x4,this[_0x2a90de(0x36a)]();for(var _0x5f4848=this[_0x2a90de(0x374)],_0x7d2698=_0x5f4848[_0x2a90de(0x1f7)],_0x5ef791=0x0;_0x5ef791<0x4;_0x5ef791++){var _0x36fe8b=_0x7d2698[_0x5ef791];_0x7d2698[_0x5ef791]=(_0x36fe8b<<0x8|_0x36fe8b>>>0x18)&0xff00ff|(_0x36fe8b<<0x18|_0x36fe8b>>>0x8)&0xff00ff00;}return _0x5f4848;},'clone':function(){var _0x40b212=_0x187ba0,_0x1c5f17=_0x245b62['clone'][_0x40b212(0x1f6)](this);return _0x1c5f17[_0x40b212(0x374)]=this[_0x40b212(0x374)]['clone'](),_0x1c5f17;}});function _0x1f0865(_0x1ac320,_0x4f8bc4,_0x2f2379,_0x170f46,_0x5a5e57,_0x47e32d,_0x3a691a){var _0x45b593=_0x1ac320+(_0x4f8bc4&_0x2f2379|~_0x4f8bc4&_0x170f46)+_0x5a5e57+_0x3a691a;return(_0x45b593<<_0x47e32d|_0x45b593>>>0x20-_0x47e32d)+_0x4f8bc4;}function _0xac4cb1(_0x244785,_0x50a511,_0x14bf2d,_0x17716e,_0x5b4190,_0x2b2a5b,_0x3aeb3a){var _0x4009b3=_0x244785+(_0x50a511&_0x17716e|_0x14bf2d&~_0x17716e)+_0x5b4190+_0x3aeb3a;return(_0x4009b3<<_0x2b2a5b|_0x4009b3>>>0x20-_0x2b2a5b)+_0x50a511;}function _0x2a8b7e(_0x167c84,_0xf4d258,_0x2bae6c,_0x266dcc,_0x368e80,_0x46787d,_0x1fec7c){var _0x528d44=_0x167c84+(_0xf4d258^_0x2bae6c^_0x266dcc)+_0x368e80+_0x1fec7c;return(_0x528d44<<_0x46787d|_0x528d44>>>0x20-_0x46787d)+_0xf4d258;}function _0x185885(_0x5872dd,_0x1dae2b,_0x131b3b,_0x4c5623,_0x426e49,_0x1beea2,_0x2577cc){var _0x3d437b=_0x5872dd+(_0x131b3b^(_0x1dae2b|~_0x4c5623))+_0x426e49+_0x2577cc;return(_0x3d437b<<_0x1beea2|_0x3d437b>>>0x20-_0x1beea2)+_0x1dae2b;}_0x4e45a0[_0x187ba0(0x3b9)]=_0x245b62[_0x187ba0(0x3a2)](_0x350641),_0x4e45a0[_0x187ba0(0x3bf)]=_0x245b62[_0x187ba0(0x489)](_0x350641);}(Math),_0xcb1edf[_0x23a9a6(0x3b9)];}));}(me)),me[_0x267587(0x4d9)];}var Ie={'exports':{}},Ee={'exports':{}},ji=Ee['exports'],tt;function $i(){var _0xa2c439=_0x40c17a;return tt||(tt=0x1,function(_0x2bd901,_0xb1259c){(function(_0x495d72,_0x484f18){var _0x3e74fb=_0x1551;_0x2bd901[_0x3e74fb(0x4d9)]=_0x484f18(ee());}(ji,function(_0x9a46d4){var _0x119290=_0x1551;return(function(){var _0x257530=_0x1551,_0x141020=_0x9a46d4,_0x5c10be=_0x141020[_0x257530(0x4ed)],_0x162cd9=_0x5c10be[_0x257530(0x41a)],_0x1daa5c=_0x5c10be['Hasher'],_0x4ec5c1=_0x141020[_0x257530(0x2fc)],_0x541f68=[],_0x2108e0=_0x4ec5c1[_0x257530(0x314)]=_0x1daa5c['extend']({'_doReset':function(){var _0xd9c47f=_0x257530;this[_0xd9c47f(0x374)]=new _0x162cd9['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x558cf9,_0x20a4ab){var _0x471d29=_0x257530;for(var _0x3a488b=this[_0x471d29(0x374)][_0x471d29(0x1f7)],_0x505a9b=_0x3a488b[0x0],_0x45b3fb=_0x3a488b[0x1],_0x21a460=_0x3a488b[0x2],_0x461b42=_0x3a488b[0x3],_0x438f17=_0x3a488b[0x4],_0x45b7e5=0x0;_0x45b7e5<0x50;_0x45b7e5++){if(_0x45b7e5<0x10)_0x541f68[_0x45b7e5]=_0x558cf9[_0x20a4ab+_0x45b7e5]|0x0;else{var _0x1183fd=_0x541f68[_0x45b7e5-0x3]^_0x541f68[_0x45b7e5-0x8]^_0x541f68[_0x45b7e5-0xe]^_0x541f68[_0x45b7e5-0x10];_0x541f68[_0x45b7e5]=_0x1183fd<<0x1|_0x1183fd>>>0x1f;}var _0x503c0c=(_0x505a9b<<0x5|_0x505a9b>>>0x1b)+_0x438f17+_0x541f68[_0x45b7e5];_0x45b7e5<0x14?_0x503c0c+=(_0x45b3fb&_0x21a460|~_0x45b3fb&_0x461b42)+0x5a827999:_0x45b7e5<0x28?_0x503c0c+=(_0x45b3fb^_0x21a460^_0x461b42)+0x6ed9eba1:_0x45b7e5<0x3c?_0x503c0c+=(_0x45b3fb&_0x21a460|_0x45b3fb&_0x461b42|_0x21a460&_0x461b42)-0x70e44324:_0x503c0c+=(_0x45b3fb^_0x21a460^_0x461b42)-0x359d3e2a,_0x438f17=_0x461b42,_0x461b42=_0x21a460,_0x21a460=_0x45b3fb<<0x1e|_0x45b3fb>>>0x2,_0x45b3fb=_0x505a9b,_0x505a9b=_0x503c0c;}_0x3a488b[0x0]=_0x3a488b[0x0]+_0x505a9b|0x0,_0x3a488b[0x1]=_0x3a488b[0x1]+_0x45b3fb|0x0,_0x3a488b[0x2]=_0x3a488b[0x2]+_0x21a460|0x0,_0x3a488b[0x3]=_0x3a488b[0x3]+_0x461b42|0x0,_0x3a488b[0x4]=_0x3a488b[0x4]+_0x438f17|0x0;},'_doFinalize':function(){var _0x28d176=_0x257530,_0x5601d1=this['_data'],_0x47808c=_0x5601d1[_0x28d176(0x1f7)],_0x76af53=this[_0x28d176(0x1cd)]*0x8,_0x3586dd=_0x5601d1[_0x28d176(0x46e)]*0x8;return _0x47808c[_0x3586dd>>>0x5]|=0x80<<0x18-_0x3586dd%0x20,_0x47808c[(_0x3586dd+0x40>>>0x9<<0x4)+0xe]=Math[_0x28d176(0x189)](_0x76af53/0x100000000),_0x47808c[(_0x3586dd+0x40>>>0x9<<0x4)+0xf]=_0x76af53,_0x5601d1['sigBytes']=_0x47808c['length']*0x4,this[_0x28d176(0x36a)](),this[_0x28d176(0x374)];},'clone':function(){var _0x23f66b=_0x257530,_0xd71cc3=_0x1daa5c[_0x23f66b(0x3c8)][_0x23f66b(0x1f6)](this);return _0xd71cc3[_0x23f66b(0x374)]=this[_0x23f66b(0x374)]['clone'](),_0xd71cc3;}});_0x141020[_0x257530(0x314)]=_0x1daa5c[_0x257530(0x3a2)](_0x2108e0),_0x141020[_0x257530(0x27e)]=_0x1daa5c[_0x257530(0x489)](_0x2108e0);}()),_0x9a46d4[_0x119290(0x314)];}));}(Ee)),Ee[_0xa2c439(0x4d9)];}var Ce={'exports':{}},Bi=Ce[_0x40c17a(0x4d9)],it;function Fi(){return it||(it=0x1,function(_0x667916,_0x57bb75){(function(_0x22281a,_0x387154){var _0x40afd4=_0x1551;_0x667916[_0x40afd4(0x4d9)]=_0x387154(ee());}(Bi,function(_0xd2d910){(function(){var _0x2579bc=_0x1551,_0xa5ea65=_0xd2d910,_0x2d467a=_0xa5ea65['lib'],_0x41f84f=_0x2d467a['Base'],_0x264177=_0xa5ea65['enc'],_0x12887a=_0x264177[_0x2579bc(0x32a)],_0x4ee515=_0xa5ea65[_0x2579bc(0x2fc)];_0x4ee515[_0x2579bc(0x4de)]=_0x41f84f[_0x2579bc(0x1b9)]({'init':function(_0x12c262,_0x398e42){var _0x5aef82=_0x2579bc;_0x12c262=this[_0x5aef82(0x304)]=new _0x12c262[(_0x5aef82(0x25b))](),typeof _0x398e42=='string'&&(_0x398e42=_0x12887a[_0x5aef82(0x36e)](_0x398e42));var _0x6b431c=_0x12c262['blockSize'],_0x35a055=_0x6b431c*0x4;_0x398e42['sigBytes']>_0x35a055&&(_0x398e42=_0x12c262[_0x5aef82(0x3f7)](_0x398e42)),_0x398e42[_0x5aef82(0x35a)]();for(var _0x4af600=this[_0x5aef82(0x1fe)]=_0x398e42[_0x5aef82(0x3c8)](),_0x3000a2=this[_0x5aef82(0x1aa)]=_0x398e42[_0x5aef82(0x3c8)](),_0x2ee174=_0x4af600['words'],_0x585ac0=_0x3000a2[_0x5aef82(0x1f7)],_0xe98555=0x0;_0xe98555<_0x6b431c;_0xe98555++)_0x2ee174[_0xe98555]^=0x5c5c5c5c,_0x585ac0[_0xe98555]^=0x36363636;_0x4af600['sigBytes']=_0x3000a2[_0x5aef82(0x46e)]=_0x35a055,this[_0x5aef82(0x349)]();},'reset':function(){var _0x5d0e52=_0x2579bc,_0x5bd4cf=this[_0x5d0e52(0x304)];_0x5bd4cf[_0x5d0e52(0x349)](),_0x5bd4cf[_0x5d0e52(0x1c2)](this[_0x5d0e52(0x1aa)]);},'update':function(_0x31a6c8){var _0x124866=_0x2579bc;return this[_0x124866(0x304)][_0x124866(0x1c2)](_0x31a6c8),this;},'finalize':function(_0x109f91){var _0x480d3b=_0x2579bc,_0x5e8463=this[_0x480d3b(0x304)],_0x2cc64e=_0x5e8463[_0x480d3b(0x3f7)](_0x109f91);_0x5e8463[_0x480d3b(0x349)]();var _0x7c5321=_0x5e8463[_0x480d3b(0x3f7)](this[_0x480d3b(0x1fe)][_0x480d3b(0x3c8)]()[_0x480d3b(0x4df)](_0x2cc64e));return _0x7c5321;}});}());}));}(Ce)),Ce['exports'];}var Vi=Ie[_0x40c17a(0x4d9)],nt;function At(){var _0x4be518=_0x40c17a;return nt||(nt=0x1,function(_0x3fb0d1,_0x188f47){(function(_0x23f7f2,_0x570391,_0x12865a){var _0x3bb377=_0x1551;_0x3fb0d1[_0x3bb377(0x4d9)]=_0x570391(ee(),$i(),Fi());}(Vi,function(_0x458e08){return(function(){var _0x4d5a0b=_0x1551,_0x3cb368=_0x458e08,_0x105eb0=_0x3cb368[_0x4d5a0b(0x4ed)],_0x550f75=_0x105eb0[_0x4d5a0b(0x1de)],_0x16ea6e=_0x105eb0[_0x4d5a0b(0x41a)],_0x42e822=_0x3cb368[_0x4d5a0b(0x2fc)],_0x31aeae=_0x42e822[_0x4d5a0b(0x3b9)],_0x4b6205=_0x42e822[_0x4d5a0b(0x263)]=_0x550f75[_0x4d5a0b(0x1b9)]({'cfg':_0x550f75[_0x4d5a0b(0x1b9)]({'keySize':0x80/0x20,'hasher':_0x31aeae,'iterations':0x1}),'init':function(_0x1c6429){var _0x1a1ffc=_0x4d5a0b;this['cfg']=this[_0x1a1ffc(0x351)]['extend'](_0x1c6429);},'compute':function(_0x557e5b,_0x457ff7){var _0x69dbbf=_0x4d5a0b;for(var _0x15f9d6,_0x45b78d=this[_0x69dbbf(0x351)],_0x57c97c=_0x45b78d[_0x69dbbf(0x4aa)][_0x69dbbf(0x4d7)](),_0x48adb4=_0x16ea6e[_0x69dbbf(0x4d7)](),_0x22a467=_0x48adb4[_0x69dbbf(0x1f7)],_0x7ccb7a=_0x45b78d[_0x69dbbf(0x404)],_0x20d1e8=_0x45b78d['iterations'];_0x22a467[_0x69dbbf(0x2be)]<_0x7ccb7a;){_0x15f9d6&&_0x57c97c['update'](_0x15f9d6),_0x15f9d6=_0x57c97c[_0x69dbbf(0x1c2)](_0x557e5b)[_0x69dbbf(0x3f7)](_0x457ff7),_0x57c97c[_0x69dbbf(0x349)]();for(var _0x391e01=0x1;_0x391e01<_0x20d1e8;_0x391e01++)_0x15f9d6=_0x57c97c[_0x69dbbf(0x3f7)](_0x15f9d6),_0x57c97c[_0x69dbbf(0x349)]();_0x48adb4[_0x69dbbf(0x4df)](_0x15f9d6);}return _0x48adb4[_0x69dbbf(0x46e)]=_0x7ccb7a*0x4,_0x48adb4;}});_0x3cb368[_0x4d5a0b(0x263)]=function(_0x4a2ec,_0x1e1968,_0x3900f4){var _0x4cc593=_0x4d5a0b;return _0x4b6205[_0x4cc593(0x4d7)](_0x3900f4)[_0x4cc593(0x192)](_0x4a2ec,_0x1e1968);};}()),_0x458e08['EvpKDF'];}));}(Ie)),Ie[_0x4be518(0x4d9)];}var Te={'exports':{}},Wi=Te[_0x40c17a(0x4d9)],rt;function Pt(){var _0x386bc9=_0x40c17a;return rt||(rt=0x1,function(_0x509c0d,_0x13c523){(function(_0x212b59,_0x3b3bfd,_0x3c2288){_0x509c0d['exports']=_0x3b3bfd(ee(),At());}(Wi,function(_0x204c43){var _0x553024=_0x1551;_0x204c43[_0x553024(0x4ed)][_0x553024(0x40f)]||function(_0x54d450){var _0x1b9b61=_0x553024,_0x585168=_0x204c43,_0x879f5b=_0x585168[_0x1b9b61(0x4ed)],_0x9064ee=_0x879f5b['Base'],_0x4f5aba=_0x879f5b['WordArray'],_0x57091c=_0x879f5b[_0x1b9b61(0x3e9)],_0x5bbaa0=_0x585168[_0x1b9b61(0x227)];_0x5bbaa0[_0x1b9b61(0x32a)];var _0x1803b7=_0x5bbaa0[_0x1b9b61(0x4c8)],_0x44f736=_0x585168[_0x1b9b61(0x2fc)],_0x6544f4=_0x44f736[_0x1b9b61(0x263)],_0x2c72f5=_0x879f5b[_0x1b9b61(0x40f)]=_0x57091c[_0x1b9b61(0x1b9)]({'cfg':_0x9064ee[_0x1b9b61(0x1b9)](),'createEncryptor':function(_0x256bcb,_0x2affd4){var _0x28d90c=_0x1b9b61;return this[_0x28d90c(0x4d7)](this[_0x28d90c(0x4b1)],_0x256bcb,_0x2affd4);},'createDecryptor':function(_0x41df38,_0x12f42e){var _0x44eb24=_0x1b9b61;return this['create'](this[_0x44eb24(0x3fe)],_0x41df38,_0x12f42e);},'init':function(_0x3f5d89,_0x123e02,_0x46f814){var _0x5f555c=_0x1b9b61;this[_0x5f555c(0x351)]=this[_0x5f555c(0x351)][_0x5f555c(0x1b9)](_0x46f814),this[_0x5f555c(0x2c4)]=_0x3f5d89,this[_0x5f555c(0x38a)]=_0x123e02,this[_0x5f555c(0x349)]();},'reset':function(){var _0x1d6440=_0x1b9b61;_0x57091c[_0x1d6440(0x349)][_0x1d6440(0x1f6)](this),this[_0x1d6440(0x283)]();},'process':function(_0x3d529d){var _0x2d9841=_0x1b9b61;return this[_0x2d9841(0x21c)](_0x3d529d),this[_0x2d9841(0x36a)]();},'finalize':function(_0xebb8a0){_0xebb8a0&&this['_append'](_0xebb8a0);var _0x153289=this['_doFinalize']();return _0x153289;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x11ab7a(_0x4c7161){var _0x559d80=_0x1551;return typeof _0x4c7161==_0x559d80(0x409)?_0x3d23c0:_0x2cd49a;}return function(_0x2ba690){return{'encrypt':function(_0xc58d65,_0x5998fb,_0x359d7f){return _0x11ab7a(_0x5998fb)['encrypt'](_0x2ba690,_0xc58d65,_0x5998fb,_0x359d7f);},'decrypt':function(_0x134c8a,_0x817b10,_0x6b18c7){var _0x389559=_0x1551;return _0x11ab7a(_0x817b10)[_0x389559(0x21f)](_0x2ba690,_0x134c8a,_0x817b10,_0x6b18c7);}};};}())});_0x879f5b[_0x1b9b61(0x398)]=_0x2c72f5[_0x1b9b61(0x1b9)]({'_doFinalize':function(){var _0x3b849f=this['_process'](!0x0);return _0x3b849f;},'blockSize':0x1});var _0x3b7025=_0x585168[_0x1b9b61(0x3a9)]={},_0x9376cf=_0x879f5b[_0x1b9b61(0x408)]=_0x9064ee['extend']({'createEncryptor':function(_0x22e1a6,_0x5af739){var _0x11b31e=_0x1b9b61;return this[_0x11b31e(0x2ce)][_0x11b31e(0x4d7)](_0x22e1a6,_0x5af739);},'createDecryptor':function(_0x5690f3,_0xa10458){return this['Decryptor']['create'](_0x5690f3,_0xa10458);},'init':function(_0x26efb2,_0x5433f8){var _0x35add8=_0x1b9b61;this[_0x35add8(0x370)]=_0x26efb2,this[_0x35add8(0x2e8)]=_0x5433f8;}}),_0x35773f=_0x3b7025[_0x1b9b61(0x16c)]=(function(){var _0x2c0100=_0x1b9b61,_0x3e751f=_0x9376cf[_0x2c0100(0x1b9)]();_0x3e751f[_0x2c0100(0x2ce)]=_0x3e751f['extend']({'processBlock':function(_0x4d2ee6,_0x5c87dc){var _0x2fb1ff=_0x2c0100,_0x574031=this[_0x2fb1ff(0x370)],_0x398165=_0x574031[_0x2fb1ff(0x248)];_0x2d15b3[_0x2fb1ff(0x1f6)](this,_0x4d2ee6,_0x5c87dc,_0x398165),_0x574031[_0x2fb1ff(0x4fa)](_0x4d2ee6,_0x5c87dc),this[_0x2fb1ff(0x396)]=_0x4d2ee6[_0x2fb1ff(0x24c)](_0x5c87dc,_0x5c87dc+_0x398165);}}),_0x3e751f[_0x2c0100(0x1a3)]=_0x3e751f[_0x2c0100(0x1b9)]({'processBlock':function(_0x4ff66d,_0x2187f7){var _0x3ed5a4=_0x2c0100,_0x47a69e=this[_0x3ed5a4(0x370)],_0x458d2d=_0x47a69e['blockSize'],_0x163e83=_0x4ff66d[_0x3ed5a4(0x24c)](_0x2187f7,_0x2187f7+_0x458d2d);_0x47a69e[_0x3ed5a4(0x279)](_0x4ff66d,_0x2187f7),_0x2d15b3['call'](this,_0x4ff66d,_0x2187f7,_0x458d2d),this[_0x3ed5a4(0x396)]=_0x163e83;}});function _0x2d15b3(_0x4e2101,_0x263268,_0x3f2ab9){var _0x98ca8a=_0x2c0100,_0x227acb,_0x464122=this[_0x98ca8a(0x2e8)];_0x464122?(_0x227acb=_0x464122,this['_iv']=_0x54d450):_0x227acb=this[_0x98ca8a(0x396)];for(var _0x2ae356=0x0;_0x2ae356<_0x3f2ab9;_0x2ae356++)_0x4e2101[_0x263268+_0x2ae356]^=_0x227acb[_0x2ae356];}return _0x3e751f;}()),_0x357fb9=_0x585168[_0x1b9b61(0x3b2)]={},_0x28e3ed=_0x357fb9[_0x1b9b61(0x3c2)]={'pad':function(_0xadb186,_0x164b41){var _0x18d3a4=_0x1b9b61;for(var _0x51e39f=_0x164b41*0x4,_0x3164c5=_0x51e39f-_0xadb186['sigBytes']%_0x51e39f,_0x3dc028=_0x3164c5<<0x18|_0x3164c5<<0x10|_0x3164c5<<0x8|_0x3164c5,_0x2f9aa0=[],_0x33b37f=0x0;_0x33b37f<_0x3164c5;_0x33b37f+=0x4)_0x2f9aa0[_0x18d3a4(0x48a)](_0x3dc028);var _0x539684=_0x4f5aba[_0x18d3a4(0x4d7)](_0x2f9aa0,_0x3164c5);_0xadb186[_0x18d3a4(0x4df)](_0x539684);},'unpad':function(_0x3e82b4){var _0x4880e9=_0x1b9b61,_0x26f1b6=_0x3e82b4['words'][_0x3e82b4['sigBytes']-0x1>>>0x2]&0xff;_0x3e82b4[_0x4880e9(0x46e)]-=_0x26f1b6;}};_0x879f5b['BlockCipher']=_0x2c72f5[_0x1b9b61(0x1b9)]({'cfg':_0x2c72f5[_0x1b9b61(0x351)]['extend']({'mode':_0x35773f,'padding':_0x28e3ed}),'reset':function(){var _0x2adf0d=_0x1b9b61,_0x17725a;_0x2c72f5['reset'][_0x2adf0d(0x1f6)](this);var _0x5dd95e=this['cfg'],_0x5ef46f=_0x5dd95e['iv'],_0x4dc0f9=_0x5dd95e[_0x2adf0d(0x3a9)];this['_xformMode']==this['_ENC_XFORM_MODE']?_0x17725a=_0x4dc0f9['createEncryptor']:(_0x17725a=_0x4dc0f9['createDecryptor'],this['_minBufferSize']=0x1),this[_0x2adf0d(0x44b)]&&this['_mode'][_0x2adf0d(0x449)]==_0x17725a?this['_mode'][_0x2adf0d(0x25b)](this,_0x5ef46f&&_0x5ef46f[_0x2adf0d(0x1f7)]):(this[_0x2adf0d(0x44b)]=_0x17725a[_0x2adf0d(0x1f6)](_0x4dc0f9,this,_0x5ef46f&&_0x5ef46f[_0x2adf0d(0x1f7)]),this['_mode'][_0x2adf0d(0x449)]=_0x17725a);},'_doProcessBlock':function(_0x48689a,_0x45a2e8){var _0x119a2a=_0x1b9b61;this[_0x119a2a(0x44b)][_0x119a2a(0x1a7)](_0x48689a,_0x45a2e8);},'_doFinalize':function(){var _0x4122ad=_0x1b9b61,_0x2ca61d,_0x9fca51=this[_0x4122ad(0x351)]['padding'];return this[_0x4122ad(0x2c4)]==this[_0x4122ad(0x4b1)]?(_0x9fca51[_0x4122ad(0x3b2)](this['_data'],this['blockSize']),_0x2ca61d=this[_0x4122ad(0x36a)](!0x0)):(_0x2ca61d=this[_0x4122ad(0x36a)](!0x0),_0x9fca51[_0x4122ad(0x191)](_0x2ca61d)),_0x2ca61d;},'blockSize':0x80/0x20});var _0xa362ea=_0x879f5b[_0x1b9b61(0x3ef)]=_0x9064ee[_0x1b9b61(0x1b9)]({'init':function(_0x1e1a83){this['mixIn'](_0x1e1a83);},'toString':function(_0x1461e7){var _0x4a6736=_0x1b9b61;return(_0x1461e7||this[_0x4a6736(0x301)])['stringify'](this);}}),_0xee5852=_0x585168[_0x1b9b61(0x4fc)]={},_0x4ff57d=_0xee5852[_0x1b9b61(0x438)]={'stringify':function(_0x2df34f){var _0x22281f=_0x1b9b61,_0x23ea62,_0x2d69a4=_0x2df34f[_0x22281f(0x480)],_0x9a0ea3=_0x2df34f['salt'];return _0x9a0ea3?_0x23ea62=_0x4f5aba[_0x22281f(0x4d7)]([0x53616c74,0x65645f5f])['concat'](_0x9a0ea3)[_0x22281f(0x4df)](_0x2d69a4):_0x23ea62=_0x2d69a4,_0x23ea62[_0x22281f(0x285)](_0x1803b7);},'parse':function(_0x2ea182){var _0x4b1b34=_0x1b9b61,_0x3a61aa,_0x5af00e=_0x1803b7['parse'](_0x2ea182),_0x3462a8=_0x5af00e[_0x4b1b34(0x1f7)];return _0x3462a8[0x0]==0x53616c74&&_0x3462a8[0x1]==0x65645f5f&&(_0x3a61aa=_0x4f5aba[_0x4b1b34(0x4d7)](_0x3462a8['slice'](0x2,0x4)),_0x3462a8[_0x4b1b34(0x206)](0x0,0x4),_0x5af00e[_0x4b1b34(0x46e)]-=0x10),_0xa362ea['create']({'ciphertext':_0x5af00e,'salt':_0x3a61aa});}},_0x2cd49a=_0x879f5b[_0x1b9b61(0x2bd)]=_0x9064ee[_0x1b9b61(0x1b9)]({'cfg':_0x9064ee[_0x1b9b61(0x1b9)]({'format':_0x4ff57d}),'encrypt':function(_0x1937c2,_0x375cba,_0x59fc72,_0x12e1e3){var _0x36ffb8=_0x1b9b61;_0x12e1e3=this[_0x36ffb8(0x351)][_0x36ffb8(0x1b9)](_0x12e1e3);var _0x3d7054=_0x1937c2[_0x36ffb8(0x496)](_0x59fc72,_0x12e1e3),_0x405a6a=_0x3d7054[_0x36ffb8(0x3f7)](_0x375cba),_0x249edb=_0x3d7054[_0x36ffb8(0x351)];return _0xa362ea['create']({'ciphertext':_0x405a6a,'key':_0x59fc72,'iv':_0x249edb['iv'],'algorithm':_0x1937c2,'mode':_0x249edb['mode'],'padding':_0x249edb[_0x36ffb8(0x4b7)],'blockSize':_0x1937c2['blockSize'],'formatter':_0x12e1e3[_0x36ffb8(0x4fc)]});},'decrypt':function(_0x1a374f,_0x4c3727,_0x221a6a,_0x43f3a0){var _0x3cd2bb=_0x1b9b61;_0x43f3a0=this['cfg'][_0x3cd2bb(0x1b9)](_0x43f3a0),_0x4c3727=this['_parse'](_0x4c3727,_0x43f3a0['format']);var _0x2ae08f=_0x1a374f[_0x3cd2bb(0x392)](_0x221a6a,_0x43f3a0)[_0x3cd2bb(0x3f7)](_0x4c3727[_0x3cd2bb(0x480)]);return _0x2ae08f;},'_parse':function(_0x4d1ca0,_0x778144){var _0x2c6a25=_0x1b9b61;return typeof _0x4d1ca0==_0x2c6a25(0x409)?_0x778144[_0x2c6a25(0x36e)](_0x4d1ca0,this):_0x4d1ca0;}}),_0x3e96d2=_0x585168[_0x1b9b61(0x346)]={},_0x1405de=_0x3e96d2[_0x1b9b61(0x438)]={'execute':function(_0x4f71fd,_0x29bd77,_0x246c89,_0x5b8e9d,_0x5d8da1){var _0xb44fa=_0x1b9b61;if(_0x5b8e9d||(_0x5b8e9d=_0x4f5aba[_0xb44fa(0x328)](0x40/0x8)),_0x5d8da1)var _0x293e6a=_0x6544f4[_0xb44fa(0x4d7)]({'keySize':_0x29bd77+_0x246c89,'hasher':_0x5d8da1})[_0xb44fa(0x192)](_0x4f71fd,_0x5b8e9d);else var _0x293e6a=_0x6544f4[_0xb44fa(0x4d7)]({'keySize':_0x29bd77+_0x246c89})['compute'](_0x4f71fd,_0x5b8e9d);var _0x2ce374=_0x4f5aba['create'](_0x293e6a[_0xb44fa(0x1f7)][_0xb44fa(0x24c)](_0x29bd77),_0x246c89*0x4);return _0x293e6a[_0xb44fa(0x46e)]=_0x29bd77*0x4,_0xa362ea[_0xb44fa(0x4d7)]({'key':_0x293e6a,'iv':_0x2ce374,'salt':_0x5b8e9d});}},_0x3d23c0=_0x879f5b[_0x1b9b61(0x4d1)]=_0x2cd49a[_0x1b9b61(0x1b9)]({'cfg':_0x2cd49a[_0x1b9b61(0x351)][_0x1b9b61(0x1b9)]({'kdf':_0x1405de}),'encrypt':function(_0x38ac9f,_0x2ed6d6,_0x18c6b0,_0x3654f2){var _0x5dc23a=_0x1b9b61;_0x3654f2=this[_0x5dc23a(0x351)][_0x5dc23a(0x1b9)](_0x3654f2);var _0x4e46a2=_0x3654f2[_0x5dc23a(0x346)][_0x5dc23a(0x1da)](_0x18c6b0,_0x38ac9f['keySize'],_0x38ac9f[_0x5dc23a(0x1b1)],_0x3654f2[_0x5dc23a(0x286)],_0x3654f2[_0x5dc23a(0x4aa)]);_0x3654f2['iv']=_0x4e46a2['iv'];var _0xbda3b1=_0x2cd49a[_0x5dc23a(0x416)][_0x5dc23a(0x1f6)](this,_0x38ac9f,_0x2ed6d6,_0x4e46a2[_0x5dc23a(0x1a9)],_0x3654f2);return _0xbda3b1[_0x5dc23a(0x2bc)](_0x4e46a2),_0xbda3b1;},'decrypt':function(_0x2fee70,_0x15bd7b,_0x213033,_0x2dfe64){var _0x12b799=_0x1b9b61;_0x2dfe64=this['cfg'][_0x12b799(0x1b9)](_0x2dfe64),_0x15bd7b=this[_0x12b799(0x183)](_0x15bd7b,_0x2dfe64[_0x12b799(0x4fc)]);var _0x227298=_0x2dfe64['kdf'][_0x12b799(0x1da)](_0x213033,_0x2fee70[_0x12b799(0x404)],_0x2fee70[_0x12b799(0x1b1)],_0x15bd7b[_0x12b799(0x286)],_0x2dfe64[_0x12b799(0x4aa)]);_0x2dfe64['iv']=_0x227298['iv'];var _0xa0a029=_0x2cd49a['decrypt']['call'](this,_0x2fee70,_0x15bd7b,_0x227298[_0x12b799(0x1a9)],_0x2dfe64);return _0xa0a029;}});}();}));}(Te)),Te[_0x386bc9(0x4d9)];}var Gi=fe['exports'],st;function Ki(){var _0x2ce3df=_0x40c17a;return st||(st=0x1,function(_0x5e3384,_0x277466){(function(_0x158bf4,_0x1cca40,_0x3b967a){var _0x1b4853=_0x1551;_0x5e3384[_0x1b4853(0x4d9)]=_0x1cca40(ee(),Ut(),Hi(),At(),Pt());}(Gi,function(_0x5066b2){var _0x361c73=_0x1551;return(function(){var _0x1a09b3=_0x1551,_0x3660a3=_0x5066b2,_0x22aec9=_0x3660a3[_0x1a09b3(0x4ed)],_0x115532=_0x22aec9[_0x1a09b3(0x467)],_0x3d8e4a=_0x3660a3['algo'],_0x49d287=[],_0x46cdcf=[],_0x2b9f86=[],_0x539ffc=[],_0x3e9de1=[],_0x526278=[],_0x4672b0=[],_0xf5fee1=[],_0x25dc1d=[],_0x944330=[];(function(){for(var _0x49c7c6=[],_0x31e927=0x0;_0x31e927<0x100;_0x31e927++)_0x31e927<0x80?_0x49c7c6[_0x31e927]=_0x31e927<<0x1:_0x49c7c6[_0x31e927]=_0x31e927<<0x1^0x11b;for(var _0x5d5f67=0x0,_0x411fa8=0x0,_0x31e927=0x0;_0x31e927<0x100;_0x31e927++){var _0xd1ace6=_0x411fa8^_0x411fa8<<0x1^_0x411fa8<<0x2^_0x411fa8<<0x3^_0x411fa8<<0x4;_0xd1ace6=_0xd1ace6>>>0x8^_0xd1ace6&0xff^0x63,_0x49d287[_0x5d5f67]=_0xd1ace6,_0x46cdcf[_0xd1ace6]=_0x5d5f67;var _0x4efec4=_0x49c7c6[_0x5d5f67],_0x180140=_0x49c7c6[_0x4efec4],_0x4ff062=_0x49c7c6[_0x180140],_0x33195f=_0x49c7c6[_0xd1ace6]*0x101^_0xd1ace6*0x1010100;_0x2b9f86[_0x5d5f67]=_0x33195f<<0x18|_0x33195f>>>0x8,_0x539ffc[_0x5d5f67]=_0x33195f<<0x10|_0x33195f>>>0x10,_0x3e9de1[_0x5d5f67]=_0x33195f<<0x8|_0x33195f>>>0x18,_0x526278[_0x5d5f67]=_0x33195f;var _0x33195f=_0x4ff062*0x1010101^_0x180140*0x10001^_0x4efec4*0x101^_0x5d5f67*0x1010100;_0x4672b0[_0xd1ace6]=_0x33195f<<0x18|_0x33195f>>>0x8,_0xf5fee1[_0xd1ace6]=_0x33195f<<0x10|_0x33195f>>>0x10,_0x25dc1d[_0xd1ace6]=_0x33195f<<0x8|_0x33195f>>>0x18,_0x944330[_0xd1ace6]=_0x33195f,_0x5d5f67?(_0x5d5f67=_0x4efec4^_0x49c7c6[_0x49c7c6[_0x49c7c6[_0x4ff062^_0x4efec4]]],_0x411fa8^=_0x49c7c6[_0x49c7c6[_0x411fa8]]):_0x5d5f67=_0x411fa8=0x1;}}());var _0x3b0a5b=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x5c83ba=_0x3d8e4a[_0x1a09b3(0x2bb)]=_0x115532['extend']({'_doReset':function(){var _0x4803b0=_0x1a09b3,_0x3089a8;if(!(this[_0x4803b0(0x445)]&&this[_0x4803b0(0x472)]===this[_0x4803b0(0x38a)])){for(var _0x42570c=this[_0x4803b0(0x472)]=this[_0x4803b0(0x38a)],_0x16b43b=_0x42570c[_0x4803b0(0x1f7)],_0x2f4c90=_0x42570c[_0x4803b0(0x46e)]/0x4,_0xa90b4a=this[_0x4803b0(0x445)]=_0x2f4c90+0x6,_0x3714ff=(_0xa90b4a+0x1)*0x4,_0x410c0f=this[_0x4803b0(0x3d5)]=[],_0x2e9e9e=0x0;_0x2e9e9e<_0x3714ff;_0x2e9e9e++)_0x2e9e9e<_0x2f4c90?_0x410c0f[_0x2e9e9e]=_0x16b43b[_0x2e9e9e]:(_0x3089a8=_0x410c0f[_0x2e9e9e-0x1],_0x2e9e9e%_0x2f4c90?_0x2f4c90>0x6&&_0x2e9e9e%_0x2f4c90==0x4&&(_0x3089a8=_0x49d287[_0x3089a8>>>0x18]<<0x18|_0x49d287[_0x3089a8>>>0x10&0xff]<<0x10|_0x49d287[_0x3089a8>>>0x8&0xff]<<0x8|_0x49d287[_0x3089a8&0xff]):(_0x3089a8=_0x3089a8<<0x8|_0x3089a8>>>0x18,_0x3089a8=_0x49d287[_0x3089a8>>>0x18]<<0x18|_0x49d287[_0x3089a8>>>0x10&0xff]<<0x10|_0x49d287[_0x3089a8>>>0x8&0xff]<<0x8|_0x49d287[_0x3089a8&0xff],_0x3089a8^=_0x3b0a5b[_0x2e9e9e/_0x2f4c90|0x0]<<0x18),_0x410c0f[_0x2e9e9e]=_0x410c0f[_0x2e9e9e-_0x2f4c90]^_0x3089a8);for(var _0x530c88=this[_0x4803b0(0x2d1)]=[],_0x229c78=0x0;_0x229c78<_0x3714ff;_0x229c78++){var _0x2e9e9e=_0x3714ff-_0x229c78;if(_0x229c78%0x4)var _0x3089a8=_0x410c0f[_0x2e9e9e];else var _0x3089a8=_0x410c0f[_0x2e9e9e-0x4];_0x229c78<0x4||_0x2e9e9e<=0x4?_0x530c88[_0x229c78]=_0x3089a8:_0x530c88[_0x229c78]=_0x4672b0[_0x49d287[_0x3089a8>>>0x18]]^_0xf5fee1[_0x49d287[_0x3089a8>>>0x10&0xff]]^_0x25dc1d[_0x49d287[_0x3089a8>>>0x8&0xff]]^_0x944330[_0x49d287[_0x3089a8&0xff]];}}},'encryptBlock':function(_0x246121,_0x318b65){var _0x144e8c=_0x1a09b3;this[_0x144e8c(0x1d0)](_0x246121,_0x318b65,this[_0x144e8c(0x3d5)],_0x2b9f86,_0x539ffc,_0x3e9de1,_0x526278,_0x49d287);},'decryptBlock':function(_0x382c0e,_0x5e2dc8){var _0x3bd832=_0x1a09b3,_0xd9bad9=_0x382c0e[_0x5e2dc8+0x1];_0x382c0e[_0x5e2dc8+0x1]=_0x382c0e[_0x5e2dc8+0x3],_0x382c0e[_0x5e2dc8+0x3]=_0xd9bad9,this[_0x3bd832(0x1d0)](_0x382c0e,_0x5e2dc8,this[_0x3bd832(0x2d1)],_0x4672b0,_0xf5fee1,_0x25dc1d,_0x944330,_0x46cdcf);var _0xd9bad9=_0x382c0e[_0x5e2dc8+0x1];_0x382c0e[_0x5e2dc8+0x1]=_0x382c0e[_0x5e2dc8+0x3],_0x382c0e[_0x5e2dc8+0x3]=_0xd9bad9;},'_doCryptBlock':function(_0x40fc42,_0x978de5,_0x29b9c3,_0x5a6dbf,_0x1061ab,_0x3023fe,_0x369c9a,_0x5a79a3){var _0x3186a4=_0x1a09b3;for(var _0x2479e5=this[_0x3186a4(0x445)],_0x95ddc9=_0x40fc42[_0x978de5]^_0x29b9c3[0x0],_0x40b896=_0x40fc42[_0x978de5+0x1]^_0x29b9c3[0x1],_0x58791f=_0x40fc42[_0x978de5+0x2]^_0x29b9c3[0x2],_0x43af5f=_0x40fc42[_0x978de5+0x3]^_0x29b9c3[0x3],_0x439988=0x4,_0x1e3435=0x1;_0x1e3435<_0x2479e5;_0x1e3435++){var _0x4c6dc4=_0x5a6dbf[_0x95ddc9>>>0x18]^_0x1061ab[_0x40b896>>>0x10&0xff]^_0x3023fe[_0x58791f>>>0x8&0xff]^_0x369c9a[_0x43af5f&0xff]^_0x29b9c3[_0x439988++],_0x58a6f2=_0x5a6dbf[_0x40b896>>>0x18]^_0x1061ab[_0x58791f>>>0x10&0xff]^_0x3023fe[_0x43af5f>>>0x8&0xff]^_0x369c9a[_0x95ddc9&0xff]^_0x29b9c3[_0x439988++],_0x45acd3=_0x5a6dbf[_0x58791f>>>0x18]^_0x1061ab[_0x43af5f>>>0x10&0xff]^_0x3023fe[_0x95ddc9>>>0x8&0xff]^_0x369c9a[_0x40b896&0xff]^_0x29b9c3[_0x439988++],_0x338066=_0x5a6dbf[_0x43af5f>>>0x18]^_0x1061ab[_0x95ddc9>>>0x10&0xff]^_0x3023fe[_0x40b896>>>0x8&0xff]^_0x369c9a[_0x58791f&0xff]^_0x29b9c3[_0x439988++];_0x95ddc9=_0x4c6dc4,_0x40b896=_0x58a6f2,_0x58791f=_0x45acd3,_0x43af5f=_0x338066;}var _0x4c6dc4=(_0x5a79a3[_0x95ddc9>>>0x18]<<0x18|_0x5a79a3[_0x40b896>>>0x10&0xff]<<0x10|_0x5a79a3[_0x58791f>>>0x8&0xff]<<0x8|_0x5a79a3[_0x43af5f&0xff])^_0x29b9c3[_0x439988++],_0x58a6f2=(_0x5a79a3[_0x40b896>>>0x18]<<0x18|_0x5a79a3[_0x58791f>>>0x10&0xff]<<0x10|_0x5a79a3[_0x43af5f>>>0x8&0xff]<<0x8|_0x5a79a3[_0x95ddc9&0xff])^_0x29b9c3[_0x439988++],_0x45acd3=(_0x5a79a3[_0x58791f>>>0x18]<<0x18|_0x5a79a3[_0x43af5f>>>0x10&0xff]<<0x10|_0x5a79a3[_0x95ddc9>>>0x8&0xff]<<0x8|_0x5a79a3[_0x40b896&0xff])^_0x29b9c3[_0x439988++],_0x338066=(_0x5a79a3[_0x43af5f>>>0x18]<<0x18|_0x5a79a3[_0x95ddc9>>>0x10&0xff]<<0x10|_0x5a79a3[_0x40b896>>>0x8&0xff]<<0x8|_0x5a79a3[_0x58791f&0xff])^_0x29b9c3[_0x439988++];_0x40fc42[_0x978de5]=_0x4c6dc4,_0x40fc42[_0x978de5+0x1]=_0x58a6f2,_0x40fc42[_0x978de5+0x2]=_0x45acd3,_0x40fc42[_0x978de5+0x3]=_0x338066;},'keySize':0x100/0x20});_0x3660a3[_0x1a09b3(0x2bb)]=_0x115532[_0x1a09b3(0x3a2)](_0x5c83ba);}()),_0x5066b2[_0x361c73(0x2bb)];}));}(fe)),fe[_0x2ce3df(0x4d9)];}var Yi=Ki();const qi=Se(Yi);var zi=Ut();const ot=Se(zi);var be={'exports':{}},Ji=be['exports'],at;function Xi(){var _0x37a0a7=_0x40c17a;return at||(at=0x1,function(_0x16d546,_0x5163ec){(function(_0x417cab,_0x511bc6){var _0x4520ca=_0x1551;_0x16d546[_0x4520ca(0x4d9)]=_0x511bc6(ee());}(Ji,function(_0x2ed5d0){var _0x5423dd=_0x1551;return _0x2ed5d0[_0x5423dd(0x227)][_0x5423dd(0x32a)];}));}(be)),be[_0x37a0a7(0x4d9)];}var Zi=Xi();const Qi=Se(Zi);var Re={'exports':{}},en=Re[_0x40c17a(0x4d9)],ct;function tn(){return ct||(ct=0x1,function(_0x51eb8d,_0x2ec04b){(function(_0x440c2b,_0x3566d2){var _0x1e6132=_0x1551;_0x51eb8d[_0x1e6132(0x4d9)]=_0x3566d2(ee());}(en,function(_0x99a0d5){var _0x33ecaa=_0x1551;return(function(){var _0x56ad1a=_0x1551;if(typeof ArrayBuffer==_0x56ad1a(0x4ef)){var _0x5210f9=_0x99a0d5,_0xca28ec=_0x5210f9[_0x56ad1a(0x4ed)],_0x24d744=_0xca28ec[_0x56ad1a(0x41a)],_0x5e0b0f=_0x24d744['init'],_0x3fcda5=_0x24d744[_0x56ad1a(0x25b)]=function(_0x47c2df){var _0x1234d1=_0x56ad1a;if(_0x47c2df instanceof ArrayBuffer&&(_0x47c2df=new Uint8Array(_0x47c2df)),(_0x47c2df instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x47c2df instanceof Uint8ClampedArray||_0x47c2df instanceof Int16Array||_0x47c2df instanceof Uint16Array||_0x47c2df instanceof Int32Array||_0x47c2df instanceof Uint32Array||_0x47c2df instanceof Float32Array||_0x47c2df instanceof Float64Array)&&(_0x47c2df=new Uint8Array(_0x47c2df['buffer'],_0x47c2df[_0x1234d1(0x2ea)],_0x47c2df[_0x1234d1(0x3e7)])),_0x47c2df instanceof Uint8Array){for(var _0x16d57e=_0x47c2df[_0x1234d1(0x3e7)],_0x1e88bf=[],_0x76b082=0x0;_0x76b082<_0x16d57e;_0x76b082++)_0x1e88bf[_0x76b082>>>0x2]|=_0x47c2df[_0x76b082]<<0x18-_0x76b082%0x4*0x8;_0x5e0b0f['call'](this,_0x1e88bf,_0x16d57e);}else _0x5e0b0f['apply'](this,arguments);};_0x3fcda5['prototype']=_0x24d744;}}()),_0x99a0d5[_0x33ecaa(0x4ed)][_0x33ecaa(0x41a)];}));}(Re)),Re['exports'];}var nn=tn();const rn=Se(nn);var Oe={'exports':{}},sn=Oe[_0x40c17a(0x4d9)],ht;function on(){var _0x57707b=_0x40c17a;return ht||(ht=0x1,function(_0x2dd428,_0x3d2d0f){(function(_0x4149c6,_0x1b148c,_0x52058d){var _0x138228=_0x1551;_0x2dd428[_0x138228(0x4d9)]=_0x1b148c(ee(),Pt());}(sn,function(_0x39ca75){var _0x5dcf4f=_0x1551;return _0x39ca75['pad'][_0x5dcf4f(0x435)]={'pad':function(){},'unpad':function(){}},_0x39ca75[_0x5dcf4f(0x3b2)][_0x5dcf4f(0x435)];}));}(Oe)),Oe[_0x57707b(0x4d9)];}var an=on();const cn=Se(an);function hn(_0x3c7cd3,_0x15d04e){var _0x44d5d2=_0x40c17a;const _0x5343c2=_0x15d04e-_0x3c7cd3[_0x44d5d2(0x2be)]%_0x15d04e,_0x5a9128=String[_0x44d5d2(0x3bc)](_0x5343c2)['repeat'](_0x5343c2);return _0x3c7cd3+_0x5a9128;}function ln(_0x32bce9,_0x2552d5){var _0x22fb77=_0x40c17a;const _0x266274=rn[_0x22fb77(0x328)](0x10),_0x50f6f8=hn(_0x32bce9,0x10),_0x49499b=qi[_0x22fb77(0x416)](Qi[_0x22fb77(0x36e)](_0x50f6f8),ot[_0x22fb77(0x36e)](_0x2552d5),{'iv':_0x266274,'padding':cn});return _0x266274[_0x22fb77(0x4df)](_0x49499b[_0x22fb77(0x480)])[_0x22fb77(0x285)](ot);}function _n(){var _0x3426bf=_0x40c17a;const _0x4fa962=xt[_0x3426bf(0x287)]()[_0x3426bf(0x245)];if(_0x4fa962){const _0x8c078a={'time':Math['floor'](Date['now']()/0x3e8),'domain':location[_0x3426bf(0x2d5)]};return ln(JSON[_0x3426bf(0x4e5)](_0x8c078a),_0x4fa962);}}var un=Object['getOwnPropertyDescriptor'],dn=(_0x1f40b2,_0x35625b,_0x1e469d,_0x2f9c19)=>{for(var _0x5846c4=_0x2f9c19>0x1?void 0x0:_0x2f9c19?un(_0x35625b,_0x1e469d):_0x35625b,_0x1b85b2=_0x1f40b2['length']-0x1,_0x3c89f8;_0x1b85b2>=0x0;_0x1b85b2--)(_0x3c89f8=_0x1f40b2[_0x1b85b2])&&(_0x5846c4=_0x3c89f8(_0x5846c4)||_0x5846c4);return _0x5846c4;},vn=(_0x55f9de,_0x5e9cb1)=>(_0x386206,_0x20aaf6)=>_0x5e9cb1(_0x386206,_0x20aaf6,_0x55f9de);let Ne=class{constructor(_0x1f4355){var _0x459b3b=_0x40c17a;this[_0x459b3b(0x3ce)]=_0x1f4355,this[_0x459b3b(0x37a)]();}[_0x40c17a(0x37a)](){var _0x49a9c7=_0x40c17a;this[_0x49a9c7(0x3ce)]['registerHTTPInterceptor']({'interceptor':(_0xeba603,_0x54030b)=>{var _0x295b64=_0x49a9c7;const _0x32d74c=_0xeba603[_0x295b64(0x195)],_0xcc1d0c=_n();return _0xcc1d0c&&_0x32d74c[_0x295b64(0x1a8)](_0x295b64(0x3a4),_0xcc1d0c),_0x54030b(_0xeba603);}});}};Ne=dn([vn(0x0,a[_0x40c17a(0x3e8)](q[_0x40c17a(0x3cd)]))],Ne);var Sn=Object[_0x40c17a(0x2fb)],fn=(_0x4e7ffa,_0x4c8b05,_0x3372a5,_0x1ee7db)=>{var _0x6f75b8=_0x40c17a;for(var _0x16ff09=_0x1ee7db>0x1?void 0x0:_0x1ee7db?Sn(_0x4c8b05,_0x3372a5):_0x4c8b05,_0x944755=_0x4e7ffa[_0x6f75b8(0x2be)]-0x1,_0x5cf249;_0x944755>=0x0;_0x944755--)(_0x5cf249=_0x4e7ffa[_0x944755])&&(_0x16ff09=_0x5cf249(_0x16ff09)||_0x16ff09);return _0x16ff09;},Me=(_0x48f3ed,_0x403915)=>(_0x552697,_0x3719aa)=>_0x403915(_0x552697,_0x3719aa,_0x48f3ed);exports['DataLoaderService']=class extends a['RxDisposable']{constructor(_0x2cc9b7,_0x3f735a,_0x13e3e8){var _0x562dcc=_0x40c17a;super(),A(this,'_unitInfo$',new j[(_0x562dcc(0x39e))](null)),A(this,_0x562dcc(0x4b2),this[_0x562dcc(0x300)]['asObservable']()),(this['_logService']=_0x2cc9b7,this[_0x562dcc(0x4d8)]=_0x3f735a,this[_0x562dcc(0x2c7)]=_0x13e3e8);}async['loadUnit'](_0x44d5f2,_0x4b9c0a,_0x59a330){var _0x33b2dd=_0x40c17a;this[_0x33b2dd(0x300)][_0x33b2dd(0x39d)]({'unitId':_0x44d5f2,'type':_0x4b9c0a,'subUnitId':_0x59a330});let _0x498f5a=null;switch(_0x4b9c0a){case X['UNIVER_SHEET']:{_0x498f5a=await this[_0x33b2dd(0x4db)](_0x44d5f2);break;}case X['UNIVER_DOC']:{_0x498f5a=await this[_0x33b2dd(0x29c)](_0x44d5f2);break;}default:{this[_0x33b2dd(0x190)][_0x33b2dd(0x45a)](_0x33b2dd(0x1d5),_0x33b2dd(0x1f9));break;}}return _0x498f5a;}async['_loadSheet'](_0xd8ad27){var _0x56ed56=_0x40c17a,_0x581e2f;let _0x4ff8ce=0x0;const _0xd2e6ae=await((_0x581e2f=this[_0x56ed56(0x2c7)])==null?void 0x0:_0x581e2f[_0x56ed56(0x23e)](_0xd8ad27));return _0xd2e6ae&&(_0xd2e6ae['awaitingChangeset']||_0xd2e6ae[_0x56ed56(0x1c0)][_0x56ed56(0x2be)]!==0x0)&&(_0x4ff8ce=_0xd2e6ae[_0x56ed56(0x1ab)]),_0x4ff8ce===0x0&&this[_0x56ed56(0x190)]['debug'](_0x56ed56(0x1d5),_0x56ed56(0x3d0)),this[_0x56ed56(0x4d8)][_0x56ed56(0x27c)](_0xd8ad27,_0x4ff8ce);}async[_0x40c17a(0x29c)](_0x2b9b15){var _0x1a5010=_0x40c17a,_0x1bb366;let _0x2ec79a=0x0;const _0x2bba5c=await((_0x1bb366=this[_0x1a5010(0x2c7)])==null?void 0x0:_0x1bb366[_0x1a5010(0x23e)](_0x2b9b15));return _0x2bba5c&&(_0x2bba5c['awaitingChangeset']||_0x2bba5c['mutations']['length']!==0x0)&&(_0x2ec79a=_0x2bba5c['rev']),_0x2ec79a===0x0&&this[_0x1a5010(0x190)]['debug'](_0x1a5010(0x1d5),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x1a5010(0x4d8)][_0x1a5010(0x421)](_0x2b9b15,_0x2ec79a);}},exports[_0x40c17a(0x487)]=fn([Me(0x0,a[_0x40c17a(0x3ba)]),Me(0x1,a[_0x40c17a(0x3e8)](g[_0x40c17a(0x170)])),Me(0x2,a[_0x40c17a(0x385)](z))],exports[_0x40c17a(0x487)]);var pn=Object[_0x40c17a(0x2fb)],gn=(_0xecffa0,_0x136875,_0x1a44eb,_0x51f112)=>{var _0x5b891a=_0x40c17a;for(var _0x59d565=_0x51f112>0x1?void 0x0:_0x51f112?pn(_0x136875,_0x1a44eb):_0x136875,_0x3b67f2=_0xecffa0[_0x5b891a(0x2be)]-0x1,_0x291e28;_0x3b67f2>=0x0;_0x3b67f2--)(_0x291e28=_0xecffa0[_0x3b67f2])&&(_0x59d565=_0x291e28(_0x59d565)||_0x59d565);return _0x59d565;},xe=(_0x5a2b8b,_0xaf2fd3)=>(_0x348002,_0x147948)=>_0xaf2fd3(_0x348002,_0x147948,_0x5a2b8b);const mn=[_0x40c17a(0x260),_0x40c17a(0x355),_0x40c17a(0x2b3),_0x40c17a(0x2e1),_0x40c17a(0x3de)],In=0x5*0x400*0x400,En='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',Cn='/universer-api/stream/file/upload',Tn=_0x40c17a(0x268),bn=_0x40c17a(0x322);exports[_0x40c17a(0x4c9)]=class{constructor(_0xb8b09a,_0x3ea49b,_0x2eafa0){var _0x2689b7=_0x40c17a;A(this,_0x2689b7(0x295),0x0),A(this,_0x2689b7(0x33d),new j[(_0x2689b7(0x252))]()),A(this,'change$',this[_0x2689b7(0x33d)]),A(this,'_imageSourceCache',new Map()),(this[_0x2689b7(0x3ce)]=_0xb8b09a,this[_0x2689b7(0x1b2)]=_0x3ea49b,this[_0x2689b7(0x16d)]=_0x2eafa0);}['setWaitCount'](_0x4a4c59){var _0xa4c196=_0x40c17a;this[_0xa4c196(0x295)]=_0x4a4c59,this[_0xa4c196(0x33d)][_0xa4c196(0x39d)](_0x4a4c59);}[_0x40c17a(0x4ce)](_0x5a67f0,_0x264348){var _0x17d1dc=_0x40c17a;if(_0x264348===J['ImageSourceType'][_0x17d1dc(0x3b5)]){const _0x3440b8=new Image();return _0x3440b8[_0x17d1dc(0x4e8)]=_0x5a67f0,_0x3440b8;}return this[_0x17d1dc(0x380)][_0x17d1dc(0x210)](_0x5a67f0);}['addImageSourceCache'](_0x245ebb,_0x5e00cf,_0x2b89af){var _0x9856e2=_0x40c17a;_0x5e00cf===J[_0x9856e2(0x3d4)][_0x9856e2(0x3b5)]||_0x2b89af==null||this[_0x9856e2(0x380)]['set'](_0x245ebb,_0x2b89af);}async[_0x40c17a(0x222)](_0x15fc19){var _0x4d4351=_0x40c17a;try{const _0x373b1e=this[_0x4d4351(0x241)](this[_0x4d4351(0x194)](),''+_0x15fc19),_0x2ae455=(await this['_httpService'][_0x4d4351(0x210)](_0x373b1e))[_0x4d4351(0x24f)];if(_0x2ae455[_0x4d4351(0x45a)]&&_0x2ae455[_0x4d4351(0x45a)][_0x4d4351(0x28e)]===Ct['OK']){const _0x3d1b3d=new URL(_0x2ae455[_0x4d4351(0x412)],this[_0x4d4351(0x1b4)]())['toString']();return Promise[_0x4d4351(0x430)](_0x3d1b3d);}return Promise[_0x4d4351(0x3c9)](_0x2ae455['error']);}catch(_0x4694ab){return Promise['reject'](_0x4694ab);}}async[_0x40c17a(0x2eb)](_0x15698a){var _0x31e685=_0x40c17a;let _0x132715='';if(!mn[_0x31e685(0x491)](_0x15698a['type']))return this[_0x31e685(0x1c1)](),Promise[_0x31e685(0x3c9)](new Error(J[_0x31e685(0x1dd)][_0x31e685(0x29f)]));if(_0x15698a[_0x31e685(0x424)]>In)return this[_0x31e685(0x1c1)](),Promise['reject'](new Error(J[_0x31e685(0x1dd)][_0x31e685(0x261)]));try{const _0x418729=new FormData();_0x418729[_0x31e685(0x352)]('file',_0x15698a);const _0x5631f3=this[_0x31e685(0x16d)][_0x31e685(0x43d)](),_0x4584b1=_0x5631f3==null?void 0x0:_0x5631f3['getUnitId']();if(!_0x4584b1)throw new Error(_0x31e685(0x317));const _0x5b3294=this[_0x31e685(0x427)]()+_0x31e685(0x233)+_0x15698a[_0x31e685(0x424)][_0x31e685(0x285)]()+_0x31e685(0x284)+Tt[_0x31e685(0x16f)]+_0x31e685(0x22f)+encodeURIComponent(_0x4584b1),_0x455cb8=await(await fetch(_0x5b3294,{'method':_0x31e685(0x1b0),'body':_0x418729}))[_0x31e685(0x257)]();if(typeof _0x455cb8['FileId']!=_0x31e685(0x409))return this['_decreaseWaiting'](),Promise[_0x31e685(0x3c9)](new Error(J['ImageUploadStatusType'][_0x31e685(0x171)]));_0x132715=_0x455cb8[_0x31e685(0x3ec)];}catch{return this[_0x31e685(0x1c1)](),Promise['reject'](new Error(J['ImageUploadStatusType'][_0x31e685(0x171)]));}return new Promise((_0x296790,_0xef9331)=>{var _0xf8a61=_0x31e685;const _0x33c97a=new FileReader();_0x33c97a[_0xf8a61(0x343)](_0x15698a),_0x33c97a[_0xf8a61(0x294)]=_0x426275=>{var _0x1d4569=_0xf8a61,_0x196c18;const _0x93e680=(_0x196c18=_0x426275[_0x1d4569(0x2dc)])==null?void 0x0:_0x196c18[_0x1d4569(0x1c9)];if(_0x93e680==null){this[_0x1d4569(0x1c1)](),_0xef9331(new Error(J[_0x1d4569(0x1dd)][_0x1d4569(0x171)]));return;}const _0x4365b0=a[_0x1d4569(0x29d)][_0x1d4569(0x290)](0x6);_0x296790({'imageId':_0x4365b0,'imageSourceType':J['ImageSourceType']['UUID'],'source':_0x132715,'base64Cache':_0x93e680,'status':J[_0x1d4569(0x1dd)][_0x1d4569(0x47e)]}),this['_decreaseWaiting']();};});}['_getUploadFileURL'](){var _0x9a4786=_0x40c17a,_0x14df12,_0x21d0cb;const _0x54ccc1=this['_configService']['getConfig'](En),_0x309250=this[_0x9a4786(0x1b2)][_0x9a4786(0x34e)](Y);return(_0x21d0cb=(_0x14df12=_0x309250==null?void 0x0:_0x309250[_0x9a4786(0x225)])!=null?_0x14df12:_0x54ccc1)!=null?_0x21d0cb:Cn;}[_0x40c17a(0x194)](){var _0x2f3e0a=_0x40c17a,_0x50b190,_0x1dd172;const _0x11961d=this[_0x2f3e0a(0x1b2)][_0x2f3e0a(0x34e)](Tn),_0x52252e=this[_0x2f3e0a(0x1b2)][_0x2f3e0a(0x34e)](Y);return(_0x1dd172=(_0x50b190=_0x52252e==null?void 0x0:_0x52252e['signUrlServerUrl'])!=null?_0x50b190:_0x11961d)!=null?_0x1dd172:bn;}[_0x40c17a(0x1b4)](){var _0x2069a7=_0x40c17a,_0x8e1baf;const _0x3ba039=this[_0x2069a7(0x1b2)][_0x2069a7(0x34e)](Y);return(_0x8e1baf=_0x3ba039==null?void 0x0:_0x3ba039[_0x2069a7(0x303)])!=null?_0x8e1baf:location['origin'];}[_0x40c17a(0x241)](_0x9db5a4,_0x1140b8){return _0x9db5a4['replace']('{fileID}',_0x1140b8);}[_0x40c17a(0x1c1)](){var _0x2255ef=_0x40c17a;this[_0x2255ef(0x295)]-=0x1,this['_change$'][_0x2255ef(0x39d)](this['_waitCount']);}},exports[_0x40c17a(0x4c9)]=gn([xe(0x0,a['Inject'](q[_0x40c17a(0x3cd)])),xe(0x1,a[_0x40c17a(0x342)]),xe(0x2,a[_0x40c17a(0x3e8)](a[_0x40c17a(0x1bf)]))],exports['CollaborationImageIoService']);var Rn=Object[_0x40c17a(0x2fb)],On=(_0xd648ec,_0x53955f,_0x115a8f,_0x91486b)=>{for(var _0x2769dc=_0x91486b>0x1?void 0x0:_0x91486b?Rn(_0x53955f,_0x115a8f):_0x53955f,_0x7044a8=_0xd648ec['length']-0x1,_0xbcd819;_0x7044a8>=0x0;_0x7044a8--)(_0xbcd819=_0xd648ec[_0x7044a8])&&(_0x2769dc=_0xbcd819(_0x2769dc)||_0x2769dc);return _0x2769dc;},lt=(_0xfaaede,_0x24bb86)=>(_0x2fd07c,_0xa095c7)=>_0x24bb86(_0x2fd07c,_0xa095c7,_0xfaaede);const yn=_0x40c17a(0x22d);exports[_0x40c17a(0x1ef)]=class{constructor(_0x19291c,_0x9be8e2){var _0x2e4090=_0x40c17a;this[_0x2e4090(0x1b2)]=_0x19291c,this[_0x2e4090(0x469)]=_0x9be8e2;}['_getAPIPrefixPath'](){var _0x4ea9af=_0x40c17a,_0x3a732d,_0x4e03b1;const _0x3e6819=this['_configService']['getConfig'](Ge),_0xabd7f6=this[_0x4ea9af(0x1b2)]['getConfig'](Y);return(_0x4e03b1=(_0x3a732d=_0xabd7f6==null?void 0x0:_0xabd7f6[_0x4ea9af(0x1db)])!=null?_0x3a732d:_0x3e6819)!=null?_0x4e03b1:yn;}async['list'](_0x273bfa){var _0x37b932=_0x40c17a;const _0x43e163=this['_getAPIPrefixPath']()+_0x37b932(0x389);return{'list':[{'title':_0x37b932(0x4ea),'mentions':(await this[_0x37b932(0x469)]['get'](_0x43e163,{'params':{'objectID':_0x273bfa['unitId'],'unitID':_0x273bfa[_0x37b932(0x297)]}}))['body']['collaborators'][_0x37b932(0x1ce)](_0x1be5a9=>({'objectId':_0x1be5a9['id'],'name':_0x1be5a9[_0x37b932(0x329)][_0x37b932(0x488)],'metadata':{'icon':_0x1be5a9[_0x37b932(0x329)][_0x37b932(0x4ee)]},'label':_0x1be5a9[_0x37b932(0x329)][_0x37b932(0x488)],'objectType':a[_0x37b932(0x473)][_0x37b932(0x35c)]})),'metadata':{},'type':a[_0x37b932(0x473)][_0x37b932(0x35c)]}]};}},exports[_0x40c17a(0x1ef)]=On([lt(0x0,a[_0x40c17a(0x3e8)](a['IConfigService'])),lt(0x1,a['Inject'](q[_0x40c17a(0x3cd)]))],exports[_0x40c17a(0x1ef)]);var Nn=Object[_0x40c17a(0x2fb)],Dn=(_0x3b80f8,_0x1e4530,_0x18b7dc,_0x141a9f)=>{var _0xf44f4=_0x40c17a;for(var _0x1d21a9=_0x141a9f>0x1?void 0x0:_0x141a9f?Nn(_0x1e4530,_0x18b7dc):_0x1e4530,_0x132941=_0x3b80f8[_0xf44f4(0x2be)]-0x1,_0x42a8de;_0x132941>=0x0;_0x132941--)(_0x42a8de=_0x3b80f8[_0x132941])&&(_0x1d21a9=_0x42a8de(_0x1d21a9)||_0x1d21a9);return _0x1d21a9;},ue=(_0x2d47c3,_0x32843e)=>(_0xfbe69f,_0x3c8a84)=>_0x32843e(_0xfbe69f,_0x3c8a84,_0x2d47c3);let De=class extends a[_0x40c17a(0x47d)]{constructor(_0xa4e5a,_0xd334e4,_0x4fd1e1,_0x2574b2,_0x5818b5){var _0x4603c0=_0x40c17a;super(),this[_0x4603c0(0x2ec)]=_0xa4e5a,this['_univerInstanceService']=_0xd334e4,this[_0x4603c0(0x49e)]=_0x4fd1e1,this['_collaborationSessionService']=_0x2574b2,this['_collaborationUIEventService']=_0x5818b5,this['_initUnitPermissionChange'](),this[_0x4603c0(0x366)]();}[_0x40c17a(0x366)](){var _0x22a898=_0x40c17a;const _0x4ac02f=async _0x31542b=>{var _0x2758e6=_0x1551;(await this[_0x2758e6(0x402)][_0x2758e6(0x18c)](_0x31542b))[_0x2758e6(0x4d5)][_0x2758e6(0x26c)](V[_0x2758e6(0x234)](_0x3c80f0=>_0x3c80f0[_0x2758e6(0x3d3)]===g[_0x2758e6(0x316)][_0x2758e6(0x3bb)]),V[_0x2758e6(0x1a1)](this[_0x2758e6(0x44a)]))[_0x2758e6(0x3f3)](_0x30f968=>{var _0x2110c1=_0x2758e6;const _0x59f513=_0x30f968,{reason:_0x32f130}=_0x59f513[_0x2110c1(0x277)];this[_0x2110c1(0x2a6)][_0x2110c1(0x37e)]({'id':Q[_0x2110c1(0x3a5)],'data':_0x32f130}),this[_0x2110c1(0x49e)][_0x2110c1(0x4c0)](new Z[(_0x2110c1(0x49c))](_0x31542b)['id'],!0x1),this[_0x2110c1(0x402)][_0x2110c1(0x44f)](_0x31542b);});};j['merge'](this[_0x22a898(0x16d)][_0x22a898(0x27f)](a[_0x22a898(0x4b9)][_0x22a898(0x20b)]),this[_0x22a898(0x16d)][_0x22a898(0x27f)](a[_0x22a898(0x4b9)][_0x22a898(0x3fd)]))[_0x22a898(0x26c)](V[_0x22a898(0x1ce)](_0x49de01=>_0x49de01[_0x22a898(0x30b)]()),V[_0x22a898(0x234)](_0x3d6b57=>!a['isInternalEditorID'](_0x3d6b57)),V[_0x22a898(0x1a1)](this['dispose$']))['subscribe'](_0x23d589=>{_0x4ac02f(_0x23d589);});}[_0x40c17a(0x3d9)](){var _0x2b15b1=_0x40c17a;const _0x2bac7a=async _0x7ec64d=>{var _0x324636=_0x1551;const _0x204b5d=await this[_0x324636(0x402)]['requireSession'](_0x7ec64d),_0xc0949f=this['_injector'][_0x324636(0x210)](Z['SheetPermissionInitController']);_0x204b5d[_0x324636(0x4d5)][_0x324636(0x26c)](V[_0x324636(0x234)](_0x4e88b5=>_0x4e88b5[_0x324636(0x3d3)]===g[_0x324636(0x316)][_0x324636(0x452)]),V['takeUntil'](this[_0x324636(0x44a)]))['subscribe'](_0x2bb0c6=>{var _0x9074a7=_0x324636;const _0x5566db=_0x2bb0c6,{objectId:_0x546f8c}=_0x5566db[_0x9074a7(0x277)];_0x546f8c===_0x7ec64d?_0xc0949f[_0x9074a7(0x299)](_0x7ec64d):_0xc0949f[_0x9074a7(0x426)](_0x7ec64d,_0x546f8c);});};j[_0x2b15b1(0x4b5)](this[_0x2b15b1(0x16d)][_0x2b15b1(0x27f)](a[_0x2b15b1(0x4b9)][_0x2b15b1(0x20b)]))[_0x2b15b1(0x26c)](V[_0x2b15b1(0x1ce)](_0x48827a=>_0x48827a[_0x2b15b1(0x30b)]()),V['filter'](_0x6bbc16=>!a[_0x2b15b1(0x3c7)](_0x6bbc16)),V['takeUntil'](this['dispose$']))[_0x2b15b1(0x3f3)](_0x38d76b=>{_0x2bac7a(_0x38d76b);});}};De=Dn([ue(0x0,a[_0x40c17a(0x3e8)](a[_0x40c17a(0x325)])),ue(0x1,a['IUniverInstanceService']),ue(0x2,a[_0x40c17a(0x49f)]),ue(0x3,a[_0x40c17a(0x3e8)](exports['CollaborationSessionService'])),ue(0x4,a[_0x40c17a(0x3e8)](te))],De);var Un=Object[_0x40c17a(0x2fb)],An=(_0x5ab27c,_0x264218,_0x477f61,_0x3968e0)=>{var _0x520fed=_0x40c17a;for(var _0x26523d=_0x3968e0>0x1?void 0x0:_0x3968e0?Un(_0x264218,_0x477f61):_0x264218,_0x396d60=_0x5ab27c[_0x520fed(0x2be)]-0x1,_0x203903;_0x396d60>=0x0;_0x396d60--)(_0x203903=_0x5ab27c[_0x396d60])&&(_0x26523d=_0x203903(_0x26523d)||_0x26523d);return _0x26523d;},_t=(_0x9e523d,_0x4dab4e)=>(_0x46dcad,_0x2f2ea7)=>_0x4dab4e(_0x46dcad,_0x2f2ea7,_0x9e523d);exports[_0x40c17a(0x474)]=class{constructor(_0x48c7e0,_0xbb70b5){var _0x50e993=_0x40c17a;this[_0x50e993(0x1b2)]=_0x48c7e0,this[_0x50e993(0x3ce)]=_0xbb70b5;}async[_0x40c17a(0x1e7)](_0x9dce1b,_0xf917df){var _0x235b29=_0x40c17a,_0x23fbc1;const {unitID:_0x526cdd,type:_0x206344,revision:_0x12e9c7=0x0}=_0xf917df,_0x31d5b2=this[_0x235b29(0x41b)]()+'/'+_0x206344+_0x235b29(0x237)+_0x526cdd+_0x235b29(0x29e)+_0x12e9c7,_0xea63f6=(await this[_0x235b29(0x3ce)][_0x235b29(0x210)](_0x31d5b2))[_0x235b29(0x24f)],_0x5781ea=(_0x23fbc1=_0xea63f6[_0x235b29(0x481)])==null?void 0x0:_0x23fbc1[_0x235b29(0x4e0)];if(_0x5781ea){const _0xd6d555=_0x5781ea==null?void 0x0:_0x5781ea[_0x235b29(0x357)],_0x326e8e=g[_0x235b29(0x3e2)]['encode'](g[_0x235b29(0x1dc)](_0xd6d555));_0x5781ea[_0x235b29(0x357)]=_0x326e8e,Object[_0x235b29(0x4bc)](_0x5781ea['sheets'])[_0x235b29(0x364)](([,_0x999dfd])=>{var _0x309e61=_0x235b29;const _0x453e8f=_0x999dfd[_0x309e61(0x357)],_0x997166=g[_0x309e61(0x3e2)][_0x309e61(0x1cb)](g[_0x309e61(0x1dc)](_0x453e8f));_0x999dfd[_0x309e61(0x357)]=_0x997166;});}return _0xea63f6;}async[_0x40c17a(0x1eb)](_0xb757cf,_0x205290){var _0x2b2bcb=_0x40c17a;const {unitID:_0x13321a,type:_0x3a93e2,blockID:_0x29ec1d}=_0x205290,_0x2de00d=this[_0x2b2bcb(0x47a)]()+'/'+_0x3a93e2+_0x2b2bcb(0x237)+_0x13321a+'/block/'+_0x29ec1d;return(await this[_0x2b2bcb(0x3ce)][_0x2b2bcb(0x210)](_0x2de00d))['body'];}async['getDeserializedSheetBlock'](_0x54a628,_0x3c88cf){var _0x506a89=_0x40c17a;const {unitID:_0x185ac3,type:_0x4b8915,blockID:_0x3d5f3f}=_0x3c88cf,_0x43a286=this['_getAPIPrefix']()+_0x506a89(0x2ac)+_0x4b8915+'/unit/'+_0x185ac3+_0x506a89(0x2ac)+_0x3d5f3f;return(await this[_0x506a89(0x3ce)][_0x506a89(0x210)](_0x43a286))[_0x506a89(0x24f)];}async[_0x40c17a(0x2b1)](_0x3d075d,_0x557e92){var _0x9e78=_0x40c17a;const {unitID:_0xb1ff5b,type:_0x83cb04,from:_0x23e0ca,to:_0x565161}=_0x557e92,_0x7af279=this[_0x9e78(0x47a)]()+'/'+_0x83cb04+_0x9e78(0x237)+_0xb1ff5b+'/fetchmissing?from='+_0x23e0ca+_0x9e78(0x25e)+_0x565161;return(await this[_0x9e78(0x3ce)][_0x9e78(0x210)](_0x7af279))[_0x9e78(0x24f)];}['getSnapshotAPIPath'](){var _0x189f40=_0x40c17a,_0xf1b75c;return(_0xf1b75c=this[_0x189f40(0x1b2)]['getConfig'](vt))!=null?_0xf1b75c:this[_0x189f40(0x47a)]();}[_0x40c17a(0x47a)](){var _0x356893=_0x40c17a,_0x21b30f,_0x48910a;const _0x48e2fb=this[_0x356893(0x1b2)][_0x356893(0x34e)](dt),_0x4d40f8=this[_0x356893(0x1b2)]['getConfig'](Y);return(_0x48910a=(_0x21b30f=_0x4d40f8==null?void 0x0:_0x4d40f8[_0x356893(0x3dd)])!=null?_0x21b30f:_0x48e2fb)!=null?_0x48910a:kt;}async[_0x40c17a(0x377)](_0x597161,_0x47d6ea){var _0x44974c=_0x40c17a;const _0x257d87=_0x44974c(0x482)+_0x47d6ea[_0x44974c(0x463)]+_0x44974c(0x237)+_0x47d6ea[_0x44974c(0x465)]+_0x44974c(0x450);return(await this[_0x44974c(0x3ce)][_0x44974c(0x210)](_0x257d87,{'params':{'resourceId':JSON[_0x44974c(0x4e5)](_0x47d6ea[_0x44974c(0x228)])}}))[_0x44974c(0x24f)];}[_0x40c17a(0x292)](){var _0x3bbb73=_0x40c17a;throw new Error(_0x3bbb73(0x3a6));}[_0x40c17a(0x1c3)](){var _0x407e2b=_0x40c17a;throw new Error(_0x407e2b(0x3a6));}['saveChangeset'](){var _0x2bf780=_0x40c17a;throw new Error(_0x2bf780(0x3a6));}['copyFileMeta'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x40c17a(0x2c6)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},exports[_0x40c17a(0x474)]=An([_t(0x0,a[_0x40c17a(0x342)]),_t(0x1,a['Inject'](q['HTTPService']))],exports[_0x40c17a(0x474)]);var Pn=Object[_0x40c17a(0x2fb)],wn=(_0x200db0,_0x579919,_0x30d151,_0x409aea)=>{for(var _0x18f4fc=_0x409aea>0x1?void 0x0:_0x409aea?Pn(_0x579919,_0x30d151):_0x579919,_0xb5b7cd=_0x200db0['length']-0x1,_0x2b2045;_0xb5b7cd>=0x0;_0xb5b7cd--)(_0x2b2045=_0x200db0[_0xb5b7cd])&&(_0x18f4fc=_0x2b2045(_0x18f4fc)||_0x18f4fc);return _0x18f4fc;},de=(_0x36de1e,_0x3e6ab0)=>(_0xf120dc,_0x513ede)=>_0x3e6ab0(_0xf120dc,_0x513ede,_0x36de1e);exports[_0x40c17a(0x348)]=class extends a[_0x40c17a(0x1c7)]{constructor(_0x38c147,_0x33fe70,_0x2b1559,_0x3020bd,_0xdf00fa){var _0x4e325b=_0x40c17a;super(_0x38c147,_0x33fe70,_0x2b1559),this[_0x4e325b(0x43f)]=_0x3020bd,this[_0x4e325b(0x190)]=_0xdf00fa;}[_0x40c17a(0x205)](_0x235e2c,_0x48001c){var _0x21f0c4=_0x40c17a;const _0x595341=this[_0x21f0c4(0x336)](_0x235e2c);if(_0x595341)try{const _0xddee61=this['_transformStack'](_0x595341,_0x48001c);this[_0x21f0c4(0x19f)](_0x235e2c,_0xddee61);}catch(_0x2dc7ec){this[_0x21f0c4(0x190)]['error'](_0x21f0c4(0x410),_0x2dc7ec),this[_0x21f0c4(0x1f4)](_0x235e2c);}const _0x4d7420=this[_0x21f0c4(0x3ad)](_0x235e2c);if(_0x4d7420)try{const _0x562fba=this[_0x21f0c4(0x3ff)](_0x4d7420,_0x48001c);this[_0x21f0c4(0x22e)](_0x235e2c,_0x562fba);}catch(_0xf033cd){this['_logService'][_0x21f0c4(0x45a)](_0xf033cd),this[_0x21f0c4(0x276)](_0x235e2c);}}[_0x40c17a(0x1f4)](_0x3ea29d){var _0x3fccaf=_0x40c17a;const _0x279bb2=this[_0x3fccaf(0x336)](_0x3ea29d);_0x279bb2&&(_0x279bb2[_0x3fccaf(0x2be)]=0x0,this[_0x3fccaf(0x2e6)]());}[_0x40c17a(0x276)](_0x2af0b2){var _0x4bc2c6=_0x40c17a;const _0x1b47e9=this[_0x4bc2c6(0x3ad)](_0x2af0b2);_0x1b47e9&&(_0x1b47e9[_0x4bc2c6(0x2be)]=0x0,this[_0x4bc2c6(0x2e6)]());}[_0x40c17a(0x19f)](_0x454b76,_0x1b3aef){var _0x1a6cac=_0x40c17a;this['_undoStacks']['set'](_0x454b76,_0x1b3aef),this[_0x1a6cac(0x2e6)]();}[_0x40c17a(0x22e)](_0x78c626,_0x426857){var _0x16637f=_0x40c17a;this[_0x16637f(0x204)][_0x16637f(0x1a8)](_0x78c626,_0x426857),this[_0x16637f(0x2e6)]();}[_0x40c17a(0x3ff)](_0x66b163,_0x1873c5){var _0x4f0ca9=_0x40c17a;const _0x358f8d=[];let _0x5455c3=_0x1873c5,_0x21f299=_0x1873c5;for(let _0x4b8600=_0x66b163[_0x4f0ca9(0x2be)]-0x1;_0x4b8600>=0x0;_0x4b8600--){const {unitID:_0x4236a0,undoMutations:_0x2962d4,redoMutations:_0x520775}=_0x66b163[_0x4b8600],_0x491755=this[_0x4f0ca9(0x43f)][_0x4f0ca9(0x4cb)](_0x5455c3,_0x2962d4),_0x25b49b=this[_0x4f0ca9(0x43f)][_0x4f0ca9(0x4cb)](_0x21f299,_0x520775);if(g['isTransformMutationsWithChangesetFailure'](_0x491755)||g[_0x4f0ca9(0x45d)](_0x25b49b)){this['_logService'][_0x4f0ca9(0x45a)](_0x4f0ca9(0x410),_0x4f0ca9(0x31f),_0x491755,_0x25b49b);break;}_0x5455c3=_0x491755[_0x4f0ca9(0x23d)],_0x21f299=_0x25b49b[_0x4f0ca9(0x23d)],_0x358f8d['push']({'unitID':_0x4236a0,'undoMutations':_0x491755[_0x4f0ca9(0x367)],'redoMutations':_0x25b49b[_0x4f0ca9(0x367)]});}return _0x358f8d[_0x4f0ca9(0x371)]();}},exports[_0x40c17a(0x348)]=wn([de(0x0,a[_0x40c17a(0x1bf)]),de(0x1,a['ICommandService']),de(0x2,a[_0x40c17a(0x17a)]),de(0x3,g['ITransformService']),de(0x4,a[_0x40c17a(0x3ba)])],exports[_0x40c17a(0x348)]);var Ln=Object[_0x40c17a(0x3b1)],Mn=Object[_0x40c17a(0x2fb)],xn=(_0x336d2c,_0x27a7c3,_0x73c9c3)=>_0x27a7c3 in _0x336d2c?Ln(_0x336d2c,_0x27a7c3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x73c9c3}):_0x336d2c[_0x27a7c3]=_0x73c9c3,kn=(_0x859aba,_0x177e86,_0x5c9a14,_0x278c24)=>{var _0x20fadb=_0x40c17a;for(var _0x41dee8=_0x278c24>0x1?void 0x0:_0x278c24?Mn(_0x177e86,_0x5c9a14):_0x177e86,_0x1fddd9=_0x859aba[_0x20fadb(0x2be)]-0x1,_0x401968;_0x1fddd9>=0x0;_0x1fddd9--)(_0x401968=_0x859aba[_0x1fddd9])&&(_0x41dee8=_0x401968(_0x41dee8)||_0x41dee8);return _0x41dee8;},ke=(_0x1c968c,_0x1456d2)=>(_0x3bd0f0,_0x243f5f)=>_0x1456d2(_0x3bd0f0,_0x243f5f,_0x1c968c),Hn=(_0x3717c8,_0x1d2485,_0x47ccd5)=>xn(_0x3717c8,_0x1d2485+'',_0x47ccd5);const jn=_0x40c17a(0x4bd);exports[_0x40c17a(0x21e)]=class extends a[_0x40c17a(0x229)]{constructor(_0x3baa3c,_0x933667,_0x5ba274,_0x260be3){var _0x23d804=_0x40c17a;super(),A(this,'_config'),(this[_0x23d804(0x190)]=_0x933667,this[_0x23d804(0x2ec)]=_0x5ba274,this[_0x23d804(0x1b2)]=_0x260be3);const {..._0x3a3cd5}=a['merge']({},Jt,_0x3baa3c);if(!_0x3a3cd5['socketService'])throw new Error(_0x23d804(0x4a1));this[_0x23d804(0x379)]=_0x3a3cd5,this[_0x23d804(0x1b2)][_0x23d804(0x368)](Y,_0x3a3cd5);}['onStarting'](){var _0x524cab=_0x40c17a;this[_0x524cab(0x310)](),this[_0x524cab(0x3ed)]();}[_0x40c17a(0x310)](){var _0x23ea2e=_0x40c17a,_0x21dcca,_0x557039;this[_0x23ea2e(0x2ec)][_0x23ea2e(0x405)](a['IUndoRedoService'])&&this[_0x23ea2e(0x190)][_0x23ea2e(0x45a)](_0x23ea2e(0x2ad),_0x23ea2e(0x387));const _0x2b497b=a[_0x23ea2e(0x2de)]([[a[_0x23ea2e(0x41f)],{'useClass':exports[_0x23ea2e(0x348)]}],[exports[_0x23ea2e(0x313)]],[exports[_0x23ea2e(0x41e)]],[exports['SheetTransformSelectionsService']],[ye],[Ne],[Be],[De],[te],[exports[_0x23ea2e(0x487)]],[$e,{'useClass':this[_0x23ea2e(0x379)][_0x23ea2e(0x219)]}],[g[_0x23ea2e(0x24d)],{'useClass':exports[_0x23ea2e(0x474)]}],[a[_0x23ea2e(0x433)],{'useClass':exports[_0x23ea2e(0x4f0)]}],[J[_0x23ea2e(0x2ef)],{'useClass':exports['CollaborationImageIoService']}],[a[_0x23ea2e(0x411)],{'useClass':exports[_0x23ea2e(0x1ef)]}],[exports[_0x23ea2e(0x319)]],[He]],(_0x21dcca=this[_0x23ea2e(0x379)])==null?void 0x0:_0x21dcca[_0x23ea2e(0x358)]);if(!((_0x557039=this['_config'])!=null&&_0x557039['enableSingleActiveInstanceLock'])){const _0x3cf6c6=_0x2b497b[_0x23ea2e(0x2f8)](([_0x498b50])=>_0x498b50===ve);_0x3cf6c6!==-0x1&&_0x2b497b['splice'](_0x3cf6c6,0x1);}a[_0x23ea2e(0x214)](this[_0x23ea2e(0x2ec)],_0x2b497b);}[_0x40c17a(0x3ed)](){var _0x34ef4c=_0x40c17a,_0x4e1b76,_0x37508e,_0xd1df0d;this['_injector']['get'](q[_0x34ef4c(0x3cd)])['registerHTTPInterceptor']({'priority':0x14,'interceptor':q['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x4e1b76=this[_0x34ef4c(0x379)])!=null&&_0x4e1b76[_0x34ef4c(0x3ee)]||(_0x37508e=this[_0x34ef4c(0x2ec)][_0x34ef4c(0x210)](z,a['Quantity'][_0x34ef4c(0x1ee)]))==null||_0x37508e[_0x34ef4c(0x30d)](),(_0xd1df0d=this[_0x34ef4c(0x379)])!=null&&_0xd1df0d['enableAuthServer']&&a[_0x34ef4c(0x34b)](this[_0x34ef4c(0x2ec)],[[ye]]),a[_0x34ef4c(0x34b)](this[_0x34ef4c(0x2ec)],[[Ne],[exports[_0x34ef4c(0x319)]],[De]]);}},Hn(exports[_0x40c17a(0x21e)],'pluginName',jn),exports[_0x40c17a(0x21e)]=kn([a[_0x40c17a(0x475)](g[_0x40c17a(0x381)],q[_0x40c17a(0x249)]),ke(0x1,a[_0x40c17a(0x3ba)]),ke(0x2,a['Inject'](a[_0x40c17a(0x325)])),ke(0x3,a[_0x40c17a(0x342)])],exports[_0x40c17a(0x21e)]),exports['AUTHZ_URL_KEY']=Ge,exports[_0x40c17a(0x3c1)]=Y,exports[_0x40c17a(0x266)]=It,exports['COLLAB_WEB_SOCKET_URL_KEY']=St,exports[_0x40c17a(0x485)]=Ve,exports[_0x40c17a(0x273)]=Q,exports[_0x40c17a(0x35b)]=te,exports[_0x40c17a(0x40a)]=Be,exports[_0x40c17a(0x4bf)]=ft,exports['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT']=zt,exports[_0x40c17a(0x3e4)]=$t,exports[_0x40c17a(0x2f7)]=pt,exports['HEARTBEAT_TIMEOUT_KEY']=je,exports['ICollaborationSocketService']=$e,exports[_0x40c17a(0x4f2)]=z,exports['INetworkConditionService']=bt,exports['ISingleActiveUnitService']=ve,exports['LOCAL_CACHE_INTERVAL']=Gt,exports[_0x40c17a(0x3b4)]=Wt,exports[_0x40c17a(0x2e4)]=Et,exports[_0x40c17a(0x34c)]=qt,exports[_0x40c17a(0x22b)]=mt,exports[_0x40c17a(0x2c0)]=Ht,exports[_0x40c17a(0x4e2)]=dt,exports[_0x40c17a(0x341)]=vt,exports[_0x40c17a(0x4d0)]=se,exports[_0x40c17a(0x291)]=Fe,exports['deserializeToCombResponse']=Rt,exports[_0x40c17a(0x17e)]=vi,exports[_0x40c17a(0x278)]=Ot;
1
+ 'use strict';var _0x5a48c0=_0x5815;(function(_0x17d0eb,_0x51e33a){var _0xc30173=_0x5815,_0x41ecd5=_0x17d0eb();while(!![]){try{var _0x1f26a6=parseInt(_0xc30173(0x3fc))/0x1+-parseInt(_0xc30173(0x241))/0x2+parseInt(_0xc30173(0x36d))/0x3*(parseInt(_0xc30173(0x1d7))/0x4)+-parseInt(_0xc30173(0x3e1))/0x5*(parseInt(_0xc30173(0x33d))/0x6)+-parseInt(_0xc30173(0x287))/0x7*(-parseInt(_0xc30173(0x2ef))/0x8)+-parseInt(_0xc30173(0x3ae))/0x9+-parseInt(_0xc30173(0x3f0))/0xa*(parseInt(_0xc30173(0x214))/0xb);if(_0x1f26a6===_0x51e33a)break;else _0x41ecd5['push'](_0x41ecd5['shift']());}catch(_0x34d214){_0x41ecd5['push'](_0x41ecd5['shift']());}}}(_0x157b,0xd7e45));var wt=Object[_0x5a48c0(0x1de)],Lt=(_0x14dc4b,_0x4e0332,_0x2f9515)=>_0x4e0332 in _0x14dc4b?wt(_0x14dc4b,_0x4e0332,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2f9515}):_0x14dc4b[_0x4e0332]=_0x2f9515,A=(_0x139117,_0x57714a,_0x5dd39c)=>Lt(_0x139117,typeof _0x57714a!=_0x5a48c0(0x115)?_0x57714a+'':_0x57714a,_0x5dd39c);Object[_0x5a48c0(0x1de)](exports,Symbol[_0x5a48c0(0x120)],{'value':_0x5a48c0(0x1cd)});const a=require(_0x5a48c0(0x169)),j=require('rxjs'),V=require(_0x5a48c0(0x40c)),g=require(_0x5a48c0(0x245)),q=require('@univerjs/network'),Mt=require(_0x5a48c0(0x366)),ut=require('@univerjs/docs'),Z=require(_0x5a48c0(0x157)),J=require(_0x5a48c0(0x364)),xt=require('@univerjs-pro/license'),dt=_0x5a48c0(0x236),kt=_0x5a48c0(0x1a6),vt=_0x5a48c0(0x2b5),Ht=_0x5a48c0(0x33c),jt=0x7d0,St=_0x5a48c0(0x24b),ft=_0x5a48c0(0x13b),$t=_0x5a48c0(0x2b1),pt=_0x5a48c0(0x114),Bt=0x7530,je=_0x5a48c0(0x3a1),gt=0x4e20,Ft=0x4e20,It='RETRY_CONNECTING_MAX_COUNT',Vt=0x3,Wt='LOCAL_CACHE_INTERVAL',Gt=0x3e8,mt=_0x5a48c0(0x2a2),Kt=_0x5a48c0(0x31d),Et=_0x5a48c0(0x119),Yt=_0x5a48c0(0x20c),qt=_0x5a48c0(0x225),zt=_0x5a48c0(0x274);var Ct=(_0x31bf48=>(_0x31bf48[_0x31bf48[_0x5a48c0(0x3c7)]=0x0]=_0x5a48c0(0x3c7),_0x31bf48[_0x31bf48['OK']=0x1]='OK',_0x31bf48[_0x31bf48[_0x5a48c0(0x1d5)]=0x2]=_0x5a48c0(0x1d5),_0x31bf48[_0x31bf48[_0x5a48c0(0x219)]=0x3]='PERMISSION_DENIED',_0x31bf48[_0x31bf48[_0x5a48c0(0x3f7)]=0x4]=_0x5a48c0(0x3f7),_0x31bf48[_0x31bf48[_0x5a48c0(0x350)]=0x5]=_0x5a48c0(0x350),_0x31bf48[_0x31bf48['ALREADY_EXISTS']=0x6]=_0x5a48c0(0x2e5),_0x31bf48[_0x31bf48['INVALID_ARGUMENT']=0x7]=_0x5a48c0(0x329),_0x31bf48[_0x31bf48[_0x5a48c0(0x128)]=0x8]=_0x5a48c0(0x128),_0x31bf48[_0x31bf48[_0x5a48c0(0x2ab)]=0x9]='COMPLETION_FINISHED',_0x31bf48[_0x31bf48['LOGIN_FAILED']=0xa]='LOGIN_FAILED',_0x31bf48[_0x31bf48[_0x5a48c0(0x406)]=0x1389]=_0x5a48c0(0x406),_0x31bf48[_0x31bf48[_0x5a48c0(0x222)]=0x1771]=_0x5a48c0(0x222),_0x31bf48[_0x31bf48[_0x5a48c0(0x2aa)]=0x1772]=_0x5a48c0(0x2aa),_0x31bf48[_0x31bf48[_0x5a48c0(0x3c1)]=0x1773]=_0x5a48c0(0x3c1),_0x31bf48[_0x31bf48['APPLY_REJECT']=0x1b59]=_0x5a48c0(0x335),_0x31bf48[_0x31bf48[_0x5a48c0(0x29e)]=0x1b5a]=_0x5a48c0(0x29e),_0x31bf48[_0x31bf48['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x5a48c0(0x3b3),_0x31bf48[_0x31bf48['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x5a48c0(0x413),_0x31bf48[_0x31bf48[_0x5a48c0(0x358)]=0x1b5d]='APPLY_DUPLICATED',_0x31bf48[_0x31bf48[_0x5a48c0(0x303)]=0x1f41]=_0x5a48c0(0x303),_0x31bf48[_0x31bf48['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x5a48c0(0x42a),_0x31bf48[_0x31bf48[_0x5a48c0(0x210)]=0x232a]=_0x5a48c0(0x210),_0x31bf48[_0x31bf48['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x5a48c0(0x3f1),_0x31bf48[_0x31bf48['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x5a48c0(0x410),_0x31bf48[_0x31bf48[_0x5a48c0(0x161)]=0x232d]=_0x5a48c0(0x161),_0x31bf48[_0x31bf48[_0x5a48c0(0x1e5)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x31bf48[_0x31bf48[_0x5a48c0(0x10d)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x31bf48[_0x31bf48[_0x5a48c0(0x134)]=0x2713]=_0x5a48c0(0x134),_0x31bf48[_0x31bf48[_0x5a48c0(0x10c)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x31bf48[_0x31bf48['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x5a48c0(0x3a0),_0x31bf48[_0x31bf48[_0x5a48c0(0x25a)]=0x271b]=_0x5a48c0(0x25a),_0x31bf48[_0x31bf48['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x5a48c0(0x265),_0x31bf48[_0x31bf48['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x5a48c0(0x44d),_0x31bf48[_0x31bf48['INVALID_INVITE_CODE']=0x2ee2]=_0x5a48c0(0x150),_0x31bf48[_0x31bf48[_0x5a48c0(0x3ff)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x31bf48[_0x31bf48[_0x5a48c0(0x178)]=0x2ee4]=_0x5a48c0(0x178),_0x31bf48[_0x31bf48[_0x5a48c0(0x35d)]=0x2ee5]=_0x5a48c0(0x35d),_0x31bf48[_0x31bf48['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x5a48c0(0x27c),_0x31bf48[_0x31bf48[_0x5a48c0(0x37b)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x31bf48[_0x31bf48[_0x5a48c0(0x3eb)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x31bf48[_0x31bf48[_0x5a48c0(0xec)]=-0x1]=_0x5a48c0(0xec),_0x31bf48))(Ct||{}),X=(_0x7adeca=>(_0x7adeca[_0x7adeca[_0x5a48c0(0x43a)]=0x0]='UNIVER_UNKNOWN',_0x7adeca[_0x7adeca[_0x5a48c0(0x327)]=0x1]=_0x5a48c0(0x327),_0x7adeca[_0x7adeca['UNIVER_SHEET']=0x2]=_0x5a48c0(0x3b2),_0x7adeca[_0x7adeca[_0x5a48c0(0x1ae)]=0x3]=_0x5a48c0(0x1ae),_0x7adeca[_0x7adeca[_0x5a48c0(0x1e7)]=0x4]=_0x5a48c0(0x1e7),_0x7adeca[_0x7adeca[_0x5a48c0(0xec)]=-0x1]='UNRECOGNIZED',_0x7adeca))(X||{}),W=(_0xc83764=>(_0xc83764[_0xc83764[_0x5a48c0(0x1c2)]=0x0]='UNKNOWN_CMD',_0xc83764[_0xc83764[_0x5a48c0(0x1b5)]=0x1]='HELLO',_0xc83764[_0xc83764['JOIN']=0x2]='JOIN',_0xc83764[_0xc83764[_0x5a48c0(0x2e1)]=0x3]='LEAVE',_0xc83764[_0xc83764['INGEST']=0x4]='INGEST',_0xc83764[_0xc83764[_0x5a48c0(0x18b)]=0x5]=_0x5a48c0(0x18b),_0xc83764[_0xc83764['RECV']=0x6]=_0x5a48c0(0x402),_0xc83764[_0xc83764['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0xc83764))(W||{}),ae=(_0x5ec08c=>(_0x5ec08c[_0x5ec08c[_0x5a48c0(0x1eb)]=0x0]=_0x5a48c0(0x1eb),_0x5ec08c[_0x5ec08c['OK']=0x1]='OK',_0x5ec08c[_0x5ec08c['FAIL']=0x2]='FAIL',_0x5ec08c[_0x5ec08c[_0x5a48c0(0x2b8)]=0x3e9]=_0x5a48c0(0x2b8),_0x5ec08c[_0x5ec08c[_0x5a48c0(0x217)]=0x3ea]=_0x5a48c0(0x217),_0x5ec08c[_0x5ec08c['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x5ec08c[_0x5ec08c['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x5ec08c[_0x5ec08c[_0x5a48c0(0xec)]=-0x1]=_0x5a48c0(0xec),_0x5ec08c))(ae||{}),Tt=(_0xd0c48c=>(_0xd0c48c[_0xd0c48c[_0x5a48c0(0x24d)]=0x0]=_0x5a48c0(0x24d),_0xd0c48c[_0xd0c48c['HttpImport']=0x1]=_0x5a48c0(0x253),_0xd0c48c[_0xd0c48c[_0x5a48c0(0x328)]=0x2]=_0x5a48c0(0x328),_0xd0c48c[_0xd0c48c[_0x5a48c0(0x246)]=0x3]=_0x5a48c0(0x246),_0xd0c48c[_0xd0c48c[_0x5a48c0(0x408)]=0x4]=_0x5a48c0(0x408),_0xd0c48c[_0xd0c48c[_0x5a48c0(0x2c2)]=0x5]=_0x5a48c0(0x2c2),_0xd0c48c[_0xd0c48c[_0x5a48c0(0xec)]=-0x1]=_0x5a48c0(0xec),_0xd0c48c))(Tt||{});const Y=_0x5a48c0(0x10e),Jt={};var Q=(_0x537ab4=>(_0x537ab4[_0x5a48c0(0x1e4)]=_0x5a48c0(0x1e4),_0x537ab4[_0x5a48c0(0x219)]='PERMISSION_DENIED',_0x537ab4[_0x5a48c0(0x2ca)]='CONFLICT',_0x537ab4[_0x5a48c0(0x267)]=_0x5a48c0(0x267),_0x537ab4['JOIN_ROOM_FAILED']=_0x5a48c0(0xea),_0x537ab4[_0x5a48c0(0x3c2)]=_0x5a48c0(0x3c2),_0x537ab4[_0x5a48c0(0x1f0)]=_0x5a48c0(0x1f0),_0x537ab4[_0x5a48c0(0x152)]=_0x5a48c0(0x152),_0x537ab4))(Q||{});class te{constructor(){var _0x59f23d=_0x5a48c0;A(this,'_event$',new j[(_0x59f23d(0x426))]()),A(this,_0x59f23d(0x306),this[_0x59f23d(0x1e8)]['asObservable']());}[_0x5a48c0(0x33e)](_0x12cbee){var _0x5c3394=_0x5a48c0;this[_0x5c3394(0x1e8)]['next'](_0x12cbee);}}const bt=a[_0x5a48c0(0x26d)](_0x5a48c0(0x1d0));function Rt(_0x32d60d){var _0x58df96=_0x5a48c0,_0x1f89a4,_0x24eb30,_0x2c777b,_0x4a6b61,_0x21deaa;const _0x5da64d=_0x32d60d['data'],_0x2ceb72=JSON[_0x58df96(0x425)](_0x5da64d);switch(_0x2ceb72[_0x58df96(0x38f)]){case W[_0x58df96(0x18b)]:case W['HELLO']:{const _0x27182a=_0x2ceb72[_0x58df96(0x3cd)];return{..._0x2ceb72,'data':_0x27182a,'cmd':_0x2ceb72['cmd']};}case W[_0x58df96(0x422)]:{const _0x4ac3de=_0x2ceb72[_0x58df96(0x35a)];return{..._0x2ceb72,'data':_0x4ac3de,'cmd':_0x2ceb72[_0x58df96(0x38f)]};}case W['RECV']:{const _0x1e2a77=_0x2ceb72[_0x58df96(0x3e9)];switch(_0x1e2a77[_0x58df96(0x144)]){case g[_0x58df96(0x166)][_0x58df96(0x2d7)]:return{..._0x2ceb72,'data':{..._0x1e2a77,'data':(_0x1f89a4=_0x1e2a77[_0x58df96(0x29a)])==null?void 0x0:_0x1f89a4['cs']},'cmd':_0x2ceb72[_0x58df96(0x38f)]};case g[_0x58df96(0x166)][_0x58df96(0x378)]:return{..._0x2ceb72,'data':{..._0x1e2a77,'data':(_0x24eb30=_0x1e2a77[_0x58df96(0x43d)])==null?void 0x0:_0x24eb30['cs']},'cmd':_0x2ceb72['cmd']};case g[_0x58df96(0x166)]['NEW_CHANGESETS']:return{..._0x2ceb72,'data':{..._0x1e2a77,'data':(_0x2c777b=_0x1e2a77[_0x58df96(0x346)])==null?void 0x0:_0x2c777b['cs']},'cmd':_0x2ceb72[_0x58df96(0x38f)]};case g[_0x58df96(0x166)]['CHANGESET_REJ']:return{..._0x2ceb72,'data':{..._0x1e2a77,'data':(_0x4a6b61=_0x1e2a77['csRejEvent'])==null?void 0x0:_0x4a6b61['cs']},'cmd':_0x2ceb72[_0x58df96(0x38f)]};case g[_0x58df96(0x166)][_0x58df96(0x2d6)]:return{..._0x2ceb72,'data':{..._0x1e2a77,'data':(_0x21deaa=_0x1e2a77[_0x58df96(0x10f)])==null?void 0x0:_0x21deaa['cs']},'cmd':_0x2ceb72[_0x58df96(0x38f)]};case g[_0x58df96(0x166)][_0x58df96(0x2eb)]:return{..._0x2ceb72,'data':{..._0x1e2a77,'data':_0x1e2a77[_0x58df96(0xe9)]},'cmd':_0x2ceb72['cmd']};case g[_0x58df96(0x166)][_0x58df96(0x250)]:return{..._0x2ceb72,'data':{..._0x1e2a77,'data':_0x1e2a77[_0x58df96(0x1f1)]},'cmd':_0x2ceb72[_0x58df96(0x38f)]};case g[_0x58df96(0x166)][_0x58df96(0x22a)]:return{..._0x2ceb72,'data':{..._0x1e2a77,'data':_0x1e2a77[_0x58df96(0x17b)]},'cmd':_0x2ceb72[_0x58df96(0x38f)]};case g[_0x58df96(0x166)][_0x58df96(0x177)]:return{..._0x2ceb72,'data':{..._0x1e2a77,'data':_0x1e2a77[_0x58df96(0xf1)]},'cmd':_0x2ceb72[_0x58df96(0x38f)]};case g[_0x58df96(0x166)]['LIVESHARE_FETCH_OPERATIONS']:case g[_0x58df96(0x166)][_0x58df96(0x1c3)]:return{..._0x2ceb72,'data':{..._0x1e2a77,'data':_0x1e2a77[_0x58df96(0xf0)]},'cmd':_0x2ceb72['cmd']};case g['CollaborationEvent'][_0x58df96(0x360)]:return{..._0x2ceb72,'data':{..._0x1e2a77,'data':_0x1e2a77[_0x58df96(0xf1)]},'cmd':_0x2ceb72[_0x58df96(0x38f)]};case g[_0x58df96(0x166)][_0x58df96(0x42e)]:return{..._0x2ceb72,'data':_0x1e2a77,'cmd':_0x2ceb72['cmd']};case g[_0x58df96(0x166)][_0x58df96(0x103)]:return{..._0x2ceb72,'data':{..._0x1e2a77,'data':_0x1e2a77['commentUpdateEvent']},'cmd':_0x2ceb72[_0x58df96(0x38f)]};case g[_0x58df96(0x166)]['UPDATE_PERMISSION_OBJ']:return{..._0x2ceb72,'data':{..._0x1e2a77,'data':_0x1e2a77[_0x58df96(0x28a)]},'cmd':_0x2ceb72['cmd']};case g[_0x58df96(0x166)]['SHOULD_CLOSE_CONN']:return{..._0x2ceb72,'data':{..._0x1e2a77,'data':_0x1e2a77[_0x58df96(0x192)]},'cmd':_0x2ceb72[_0x58df96(0x38f)]};case g[_0x58df96(0x166)][_0x58df96(0x1d3)]:return{..._0x2ceb72,'data':{..._0x1e2a77,'data':_0x1e2a77[_0x58df96(0x125)]},'cmd':_0x2ceb72['cmd']};default:return _0x2ceb72;}}default:return _0x2ceb72;}}function Ot(_0x37961d){var _0x4f952b=_0x5a48c0;switch(_0x37961d[_0x4f952b(0x38f)]){case W[_0x4f952b(0x18b)]:case W[_0x4f952b(0x1b5)]:return JSON[_0x4f952b(0x208)]({'cmd':_0x37961d['cmd'],'routeKey':_0x37961d[_0x4f952b(0x290)]});case W[_0x4f952b(0x334)]:{let _0x1ccca0;switch(_0x37961d[_0x4f952b(0x332)][_0x4f952b(0x144)]){case g[_0x4f952b(0x166)][_0x4f952b(0x2eb)]:{_0x1ccca0={'eventID':g[_0x4f952b(0x166)][_0x4f952b(0x2eb)],'updateCursorEvent':_0x37961d[_0x4f952b(0x332)][_0x4f952b(0x332)]};break;}case g['CollaborationEvent']['USERS_LEAVE']:{_0x1ccca0={'eventID':g['CollaborationEvent'][_0x4f952b(0x22a)],'leaveEvent':_0x37961d[_0x4f952b(0x332)][_0x4f952b(0x332)]};break;}case g['CollaborationEvent'][_0x4f952b(0x250)]:{_0x1ccca0={'eventID':g[_0x4f952b(0x166)][_0x4f952b(0x250)],'joinEvent':_0x37961d[_0x4f952b(0x332)][_0x4f952b(0x332)]};break;}case g['CollaborationEvent'][_0x4f952b(0x177)]:{_0x1ccca0={'eventID':g['CollaborationEvent'][_0x4f952b(0x177)],'liveShareNewHost':_0x37961d[_0x4f952b(0x332)][_0x4f952b(0x332)]};break;}case g[_0x4f952b(0x166)]['LIVESHARE_OPERATION']:{_0x1ccca0={'eventID':g[_0x4f952b(0x166)][_0x4f952b(0x1c3)],'liveShareOperation':_0x37961d[_0x4f952b(0x332)][_0x4f952b(0x332)]};break;}case g[_0x4f952b(0x166)][_0x4f952b(0x360)]:{_0x1ccca0={'eventID':g[_0x4f952b(0x166)][_0x4f952b(0x360)],'liveShareTerminate':_0x37961d[_0x4f952b(0x332)][_0x4f952b(0x332)]};break;}case g[_0x4f952b(0x166)][_0x4f952b(0x412)]:{_0x1ccca0={'eventID':g[_0x4f952b(0x166)][_0x4f952b(0x412)],'liveShareRequestHost':_0x37961d[_0x4f952b(0x332)][_0x4f952b(0x332)]};break;}case g['CollaborationEvent'][_0x4f952b(0x36a)]:{_0x1ccca0={'eventID':g[_0x4f952b(0x166)]['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x1ccca0={'eventID':_0x37961d[_0x4f952b(0x332)]['eventID']};}return JSON[_0x4f952b(0x208)]({'cmd':_0x37961d[_0x4f952b(0x38f)],'routeKey':_0x37961d[_0x4f952b(0x290)],'collaMsg':_0x1ccca0});}case W[_0x4f952b(0x422)]:return JSON[_0x4f952b(0x208)]({'cmd':_0x37961d[_0x4f952b(0x38f)],'routeKey':_0x37961d[_0x4f952b(0x290)],'joinReq':_0x37961d[_0x4f952b(0x332)]});case W[_0x4f952b(0x2e1)]:return JSON[_0x4f952b(0x208)]({'cmd':_0x37961d[_0x4f952b(0x38f)],'routeKey':_0x37961d['routeKey'],'leaveReq':_0x37961d[_0x4f952b(0x332)]});default:throw new Error(_0x4f952b(0x14c));}}var Xt=Object[_0x5a48c0(0xe7)],Zt=(_0x134769,_0x306b2c,_0x2480dc,_0x9c3e9c)=>{var _0x4a59b6=_0x5a48c0;for(var _0x38b74e=_0x9c3e9c>0x1?void 0x0:_0x9c3e9c?Xt(_0x306b2c,_0x2480dc):_0x306b2c,_0x1ca476=_0x134769[_0x4a59b6(0x143)]-0x1,_0x393ffc;_0x1ca476>=0x0;_0x1ca476--)(_0x393ffc=_0x134769[_0x1ca476])&&(_0x38b74e=_0x393ffc(_0x38b74e)||_0x38b74e);return _0x38b74e;},le=(_0x11e5be,_0x48706a)=>(_0x3c19dd,_0x2ddb9b)=>_0x48706a(_0x3c19dd,_0x2ddb9b,_0x11e5be);const $e=a[_0x5a48c0(0x26d)](_0x5a48c0(0x424));function Qt(_0x4b691a,_0x1ceb0e,_0x2dc32b){var _0x5f5712=_0x5a48c0;return _0x4b691a+'/'+_0x1ceb0e+_0x5f5712(0x1e6)+_0x2dc32b+_0x5f5712(0x42c);}exports['CollaborationSocketService']=class extends a[_0x5a48c0(0x362)]{constructor(_0x36b5a4,_0x55eacd,_0xe1c5fc,_0x394638,_0x199895){var _0x13beaf=_0x5a48c0;super(),this[_0x13beaf(0x211)]=_0x36b5a4,this[_0x13beaf(0x26a)]=_0x55eacd,this['_configService']=_0xe1c5fc,this[_0x13beaf(0x39b)]=_0x394638,this[_0x13beaf(0x127)]=_0x199895;}[_0x5a48c0(0x2c1)](_0x51b7d1){var _0x9c412e=_0x5a48c0;const _0x3038e7=this[_0x9c412e(0x211)][_0x9c412e(0x39a)](q[_0x9c412e(0x1c0)]);if(!_0x3038e7)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x1ebada=_0x3038e7[_0x9c412e(0x170)](_0x51b7d1);if(!_0x1ebada)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x54a605=new a[(_0x9c412e(0x107))](),_0x579510=new j['Subject']();_0x54a605[_0x9c412e(0x102)](_0x1ebada[_0x9c412e(0x195)][_0x9c412e(0x27f)](_0x437792=>_0x579510[_0x9c412e(0x110)](_0x437792))),_0x54a605[_0x9c412e(0x102)](a['toDisposable'](()=>_0x579510[_0x9c412e(0x409)]()));const _0x458cb7=new j[(_0x9c412e(0x426))]();_0x54a605[_0x9c412e(0x102)](_0x1ebada[_0x9c412e(0x13f)][_0x9c412e(0x27f)](_0x446dda=>_0x458cb7['next'](_0x446dda))),_0x54a605[_0x9c412e(0x102)](a['toDisposable'](()=>_0x458cb7[_0x9c412e(0x409)]()));const _0x311027=new j['Subject']();_0x54a605['add'](_0x1ebada[_0x9c412e(0x31a)][_0x9c412e(0x27f)](_0x25eb43=>{var _0x47c406=_0x9c412e;const _0x5de820=Rt(_0x25eb43);_0x311027[_0x47c406(0x110)](_0x5de820);})),_0x54a605[_0x9c412e(0x102)](a[_0x9c412e(0x255)](()=>_0x311027['complete']()));let _0x39e35e;const _0x49b010=()=>{var _0x244c62=_0x9c412e;_0x458cb7[_0x244c62(0x110)](new Event(_0x244c62(0x3a5))),_0x579510[_0x244c62(0x110)](new Event('connection\x20error')),_0x39e35e[_0x244c62(0x3ee)]();};return _0x39e35e={'memberID':'','close$':_0x579510[_0x9c412e(0x3a4)](),'error$':_0x458cb7['asObservable'](),'open$':_0x1ebada[_0x9c412e(0x2bc)],'message$':_0x311027[_0x9c412e(0x3a4)](),'send':_0x48ac86=>{var _0x38304f=_0x9c412e;if(_0x48ac86[_0x38304f(0x38f)]===W['INGEST']){if(_0x48ac86['data'][_0x38304f(0x144)]===g[_0x38304f(0x166)][_0x38304f(0x39e)]){this[_0x38304f(0x1a1)](_0x39e35e,_0x48ac86[_0x38304f(0x332)])['catch'](_0x5a650d=>{var _0x3714a6=_0x38304f;this['_logService'][_0x3714a6(0x16f)](_0x5a650d),_0x49b010();});return;}if(_0x48ac86[_0x38304f(0x332)]['eventID']===g[_0x38304f(0x166)]['FETCH_MISSING']){const _0x13ed9c=_0x48ac86['data'];this[_0x38304f(0x171)](_0x13ed9c)[_0x38304f(0x2ba)](_0xd8625=>{var _0x55d806=_0x38304f;_0x311027[_0x55d806(0x110)]({'cmd':W[_0x55d806(0x402)],'code':ae['OK'],'routeKey':_0x13ed9c[_0x55d806(0x332)][_0x55d806(0x3dc)],'routeType':'','data':{'eventID':g[_0x55d806(0x166)][_0x55d806(0x19b)],'data':{'changesets':_0xd8625}}});})[_0x38304f(0x1bf)](_0x2bf93c=>{var _0x30c273=_0x38304f;this[_0x30c273(0x39b)][_0x30c273(0x16f)](_0x2bf93c),_0x49b010();});return;}}_0x1ebada[_0x38304f(0x1bd)](Ot(_0x48ac86));},'close':()=>{var _0x580b02=_0x9c412e;_0x1ebada[_0x580b02(0x3ee)](),_0x54a605[_0x580b02(0x31c)]();}},_0x39e35e;}async[_0x5a48c0(0x1a1)](_0x5b6fc2,_0x2a2fbc){var _0x264cbf=_0x5a48c0,_0x381ba3,_0x43c374;const {unitType:_0x23ed6e,unitID:_0x5c4e74,changeset:_0x4cdbd2}=_0x2a2fbc[_0x264cbf(0x332)],_0x3af5d2={'unitID':_0x5c4e74,'memberID':_0x5b6fc2[_0x264cbf(0x189)],'type':_0x23ed6e,'changeset':g[_0x264cbf(0x2b9)](_0x4cdbd2)},_0x446a1f=this[_0x264cbf(0x41a)][_0x264cbf(0x2d1)](mt),_0x310987=this[_0x264cbf(0x41a)][_0x264cbf(0x2d1)](Y),_0x4ec2a7=Qt((_0x43c374=(_0x381ba3=_0x310987==null?void 0x0:_0x310987[_0x264cbf(0x449)])!=null?_0x381ba3:_0x446a1f)!=null?_0x43c374:Kt,_0x23ed6e,_0x5c4e74);try{await this[_0x264cbf(0x26a)][_0x264cbf(0x249)](_0x4ec2a7,{'body':_0x3af5d2});}catch(_0x40b3fc){throw this[_0x264cbf(0x39b)][_0x264cbf(0x16f)]('[CollaborationSession]',_0x264cbf(0x21e)),_0x40b3fc;}}async[_0x5a48c0(0x171)](_0x5cc655){var _0x3f13d4=_0x5a48c0;const {unitID:_0xe8cd77,from:_0x222636,to:_0x4deff6,unitType:_0x3e913d}=_0x5cc655[_0x3f13d4(0x332)];return(await this[_0x3f13d4(0x127)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0xe8cd77,'type':_0x3e913d,'from':_0x222636,'to':_0x4deff6}))[_0x3f13d4(0x349)];}},exports[_0x5a48c0(0x43f)]=Zt([le(0x0,a[_0x5a48c0(0xd9)](a[_0x5a48c0(0x30c)])),le(0x1,a[_0x5a48c0(0xd9)](q[_0x5a48c0(0x216)])),le(0x2,a[_0x5a48c0(0x244)]),le(0x3,a[_0x5a48c0(0x2e9)]),le(0x4,g[_0x5a48c0(0xf5)])],exports['CollaborationSocketService']);const ei=_0x5a48c0(0x229);function ti(_0xf558ff){return JSON['stringify'](_0xf558ff)['length'];}class Be{constructor(){var _0x38d19a=_0x5a48c0;A(this,_0x38d19a(0x3a8),new j[(_0x38d19a(0x426))]()),A(this,'commentUpdate$',this[_0x38d19a(0x3a8)][_0x38d19a(0x3a4)]());}[_0x5a48c0(0x22b)](_0x2af13c){var _0x54ac68=_0x5a48c0;this[_0x54ac68(0x3a8)][_0x54ac68(0x110)](_0x2af13c);}}var ii=Object['getOwnPropertyDescriptor'],ni=(_0x25fa33,_0x3290b8,_0x3a84d7,_0x1156c3)=>{var _0x2e787d=_0x5a48c0;for(var _0xb0bc03=_0x1156c3>0x1?void 0x0:_0x1156c3?ii(_0x3290b8,_0x3a84d7):_0x3290b8,_0x24217f=_0x25fa33[_0x2e787d(0x143)]-0x1,_0x2f23af;_0x24217f>=0x0;_0x24217f--)(_0x2f23af=_0x25fa33[_0x24217f])&&(_0xb0bc03=_0x2f23af(_0xb0bc03)||_0xb0bc03);return _0xb0bc03;},Ke=(_0x151698,_0x16cab4)=>(_0x5a01e6,_0x2523f9)=>_0x16cab4(_0x5a01e6,_0x2523f9,_0x151698);exports[_0x5a48c0(0x1be)]=class extends a[_0x5a48c0(0x362)]{constructor(_0x24f261,_0x3c80c0){var _0x21a6c8=_0x5a48c0;super(),A(this,'_roomMembers',new Map()),A(this,_0x21a6c8(0xef),new j[(_0x21a6c8(0x426))]()),(this['_univerInstanceService']=_0x24f261,this[_0x21a6c8(0x3c6)]=_0x3c80c0,this[_0x21a6c8(0x439)](j[_0x21a6c8(0x149)](this['_univerInstanceService'][_0x21a6c8(0x3fb)](a[_0x21a6c8(0x442)][_0x21a6c8(0x3b2)])[_0x21a6c8(0x1ce)](V[_0x21a6c8(0x2f9)](_0x426054=>_0x426054[_0x21a6c8(0x123)]())),this[_0x21a6c8(0x421)]['getTypeOfUnitDisposed$'](a['UniverInstanceType'][_0x21a6c8(0x327)])[_0x21a6c8(0x1ce)](V[_0x21a6c8(0x2f9)](_0x304b7c=>_0x304b7c[_0x21a6c8(0x123)]())),this[_0x21a6c8(0x421)][_0x21a6c8(0x3fb)](a[_0x21a6c8(0x442)]['UNIVER_SLIDE'])['pipe'](V[_0x21a6c8(0x2f9)](_0x491fde=>_0x491fde[_0x21a6c8(0x123)]())))[_0x21a6c8(0x27f)](_0x19f090=>this[_0x21a6c8(0x1ad)](_0x19f090))));}[_0x5a48c0(0x233)](_0x395530){var _0x5245fb=_0x5a48c0;return this['_roomMembers']['has'](_0x395530)?j['of'](this[_0x5245fb(0x32a)][_0x5245fb(0x39a)](_0x395530)):this[_0x5245fb(0xef)]['pipe'](V[_0x5245fb(0x2f9)](_0x3e2e55=>{var _0x2e9ded=_0x5245fb;if(_0x3e2e55===_0x395530)return this[_0x2e9ded(0x32a)][_0x2e9ded(0x39a)](_0x3e2e55);}));}[_0x5a48c0(0x19e)](_0x1f2274){var _0x35169e=_0x5a48c0;this[_0x35169e(0x3c6)][_0x35169e(0x19e)](_0x1f2274);}['getCurrentUser'](){var _0x46f8c1=_0x5a48c0;return this[_0x46f8c1(0x3c6)][_0x46f8c1(0x10a)]();}[_0x5a48c0(0x12d)](_0x3e6a06,_0x11af09){var _0x382ed0=_0x5a48c0;let _0x32d5dc=this['_roomMembers'][_0x382ed0(0x39a)](_0x3e6a06);_0x32d5dc||(_0x32d5dc=new ri(),this[_0x382ed0(0x32a)]['set'](_0x3e6a06,_0x32d5dc),this[_0x382ed0(0xef)][_0x382ed0(0x110)](_0x3e6a06)),_0x32d5dc[_0x382ed0(0x12d)](_0x11af09);}['removeMember'](_0x45943c,_0x2717fc){var _0xfaf2fe=_0x5a48c0;const _0x52134f=this[_0xfaf2fe(0x32a)][_0xfaf2fe(0x39a)](_0x45943c);_0x52134f&&_0x52134f[_0xfaf2fe(0x2b7)](_0x2717fc);}['getRoom'](_0x5b4651){var _0x1768c8=_0x5a48c0;return this[_0x1768c8(0x32a)][_0x1768c8(0x39a)](_0x5b4651);}['getMember'](_0x5e5302,_0x460b05){var _0x263240=_0x5a48c0;const _0x897c52=this[_0x263240(0x32a)][_0x263240(0x39a)](_0x5e5302);if(_0x897c52)return _0x897c52[_0x263240(0x20b)](_0x460b05);}[_0x5a48c0(0x1ad)](_0x8f2b4d){var _0x2ad284=_0x5a48c0;const _0x1a22c6=this[_0x2ad284(0x32a)][_0x2ad284(0x39a)](_0x8f2b4d);_0x1a22c6&&(_0x1a22c6[_0x2ad284(0x31c)](),this['_roomMembers'][_0x2ad284(0x385)](_0x8f2b4d));}[_0x5a48c0(0x31c)](){var _0x36977c=_0x5a48c0;this[_0x36977c(0x32a)][_0x36977c(0x1af)](_0x25ef98=>_0x25ef98[_0x36977c(0x31c)]()),this[_0x36977c(0x32a)][_0x36977c(0x380)](),this[_0x36977c(0xef)][_0x36977c(0x409)]();}},exports[_0x5a48c0(0x1be)]=ni([Ke(0x0,a[_0x5a48c0(0x3de)]),Ke(0x1,a[_0x5a48c0(0xd9)](a['UserManagerService']))],exports[_0x5a48c0(0x1be)]);class ri extends a[_0x5a48c0(0x362)]{constructor(){var _0x20b19b=_0x5a48c0;super(...arguments),A(this,_0x20b19b(0x314),new Map()),A(this,'_members$',new j[(_0x20b19b(0x1d4))](this[_0x20b19b(0x314)])),A(this,_0x20b19b(0x289),this[_0x20b19b(0x43c)][_0x20b19b(0x3a4)]());}[_0x5a48c0(0x31c)](){var _0x307ef5=_0x5a48c0;this[_0x307ef5(0x314)][_0x307ef5(0x380)]();}[_0x5a48c0(0x12d)](_0x36736c){var _0x315a28=_0x5a48c0;this[_0x315a28(0x314)][_0x315a28(0x3d5)](_0x36736c[_0x315a28(0x189)],_0x36736c),this[_0x315a28(0x284)]();}['removeMember'](_0x1f8652){var _0x2920c0=_0x5a48c0;this['_members'][_0x2920c0(0x385)](_0x1f8652);}[_0x5a48c0(0x20b)](_0x1b8834){var _0x3174f8=_0x5a48c0;return this[_0x3174f8(0x314)]['get'](_0x1b8834);}['getAllMembers'](){var _0x168633=_0x5a48c0;return Array[_0x168633(0x417)](this['_members'][_0x168633(0x2a6)]());}['_emitMembers'](){var _0x2d4ed3=_0x5a48c0;this[_0x2d4ed3(0x43c)][_0x2d4ed3(0x110)](this['_members']);}}var si=Object['getOwnPropertyDescriptor'],oi=(_0x1ce50b,_0x8a1237,_0x56a8dd,_0xbf4dce)=>{for(var _0x115a69=_0xbf4dce>0x1?void 0x0:_0xbf4dce?si(_0x8a1237,_0x56a8dd):_0x8a1237,_0xb84293=_0x1ce50b['length']-0x1,_0x2c163e;_0xb84293>=0x0;_0xb84293--)(_0x2c163e=_0x1ce50b[_0xb84293])&&(_0x115a69=_0x2c163e(_0x115a69)||_0x115a69);return _0x115a69;},oe=(_0x29358f,_0x422b78)=>(_0x35dea4,_0x39eaba)=>_0x422b78(_0x35dea4,_0x39eaba,_0x29358f),se=(_0x2b69e8=>(_0x2b69e8[_0x2b69e8[_0x5a48c0(0x263)]=0x0]=_0x5a48c0(0x263),_0x2b69e8[_0x2b69e8[_0x5a48c0(0x16c)]=0x1]='JOINING',_0x2b69e8[_0x2b69e8['OFFLINE']=0x2]=_0x5a48c0(0x1fa),_0x2b69e8[_0x2b69e8[_0x5a48c0(0x160)]=0x3]=_0x5a48c0(0x160),_0x2b69e8))(se||{});const Ye={[ae['FAIL']]:'session.join-failed',[ae[_0x5a48c0(0x2b8)]]:_0x5a48c0(0x3d6),[ae['JOIN_ROOM_NOT_EXISTS']]:_0x5a48c0(0x30b),[ae[_0x5a48c0(0x1dc)]]:_0x5a48c0(0x2fd),[ae[_0x5a48c0(0x3ce)]]:_0x5a48c0(0x207)};exports['CollaborationSession']=class extends a['RxDisposable']{constructor(_0x543a54,_0x4d9a0f,_0x48c8bf,_0x6eb7c,_0x45e043,_0xaa53dd,_0x273381,_0x165faa,_0x22d67f){var _0x255817=_0x5a48c0;super(),A(this,_0x255817(0x159),new j[(_0x255817(0x1d4))](0x0)),A(this,'sessionStatus$',this[_0x255817(0x159)][_0x255817(0x3a4)]()),A(this,_0x255817(0x1e8),new j[(_0x255817(0x426))]()),A(this,_0x255817(0x306),this[_0x255817(0x1e8)]['asObservable']()),A(this,'_socket'),A(this,_0x255817(0x20f)),A(this,_0x255817(0x3e5)),A(this,_0x255817(0x2d9),!0x1),A(this,_0x255817(0x2d8),null),(this[_0x255817(0xd7)]=_0x543a54,this[_0x255817(0x39b)]=_0x48c8bf,this['_configService']=_0x6eb7c,this['_localeService']=_0x45e043,this[_0x255817(0x41c)]=_0xaa53dd,this['_commentService']=_0x273381,this['_collaborationUIEventService']=_0x165faa,this['_telemetryService']=_0x22d67f,this[_0x255817(0x2d9)]=!!this[_0x255817(0x2ea)],_0x4d9a0f[_0x255817(0x1ce)](j[_0x255817(0x136)](this[_0x255817(0x2e3)]))[_0x255817(0x27f)](_0x7d0c90=>{var _0xde8ee3=_0x255817,_0x579ab6;typeof _0x7d0c90>'u'||(this[_0xde8ee3(0x343)]=_0x7d0c90,_0x7d0c90?(this['_joinRoom'](_0x7d0c90),this['_socketMessageSubscription']=_0x7d0c90[_0xde8ee3(0x31a)][_0xde8ee3(0x27f)](_0x43d0e2=>{var _0x428661=_0xde8ee3;_0x43d0e2['routeKey']===this['_unitID']&&this[_0x428661(0x220)](_0x43d0e2);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0xde8ee3(0x159)]['next'](0x2),(_0x579ab6=this[_0xde8ee3(0x20f)])==null||_0x579ab6[_0xde8ee3(0x21f)](),this[_0xde8ee3(0x20f)]=null));}));}get['sessionStatus'](){var _0x5271c0=_0x5a48c0;return this[_0x5271c0(0x159)]['getValue']();}[_0x5a48c0(0x321)](){var _0x48c2a2=_0x5a48c0,_0x174fd8,_0x278175;return(_0x278175=(_0x174fd8=this[_0x48c2a2(0x343)])==null?void 0x0:_0x174fd8['memberID'])!=null?_0x278175:null;}[_0x5a48c0(0x31c)](){var _0x2be306=_0x5a48c0;super[_0x2be306(0x31c)](),this['dispose$'][_0x2be306(0x110)](),this[_0x2be306(0x2e3)][_0x2be306(0x409)]();}[_0x5a48c0(0x3ee)](){var _0x3313a8=_0x5a48c0,_0x3153a5,_0x20ea3e;this[_0x3313a8(0x1fb)](),(_0x3153a5=this[_0x3313a8(0x343)])==null||_0x3153a5[_0x3313a8(0x1bd)]({'cmd':W[_0x3313a8(0x2e1)],'data':{'roomID':this['_unitID']}}),(_0x20ea3e=this[_0x3313a8(0x343)])==null||_0x20ea3e[_0x3313a8(0x3ee)](),this['_event$'][_0x3313a8(0x409)](),this[_0x3313a8(0x159)]['complete'](),this[_0x3313a8(0x31c)]();}[_0x5a48c0(0x220)](_0x4d34ac){var _0x2025f6=_0x5a48c0;_0x4d34ac[_0x2025f6(0x38f)]===W[_0x2025f6(0x422)]?this[_0x2025f6(0x2ce)](_0x4d34ac):_0x4d34ac[_0x2025f6(0x38f)]===W[_0x2025f6(0x402)]&&this[_0x2025f6(0x251)](_0x4d34ac);}['_joinRoom'](_0x51e471){var _0x20e4e5=_0x5a48c0;this['_sessionStatus$'][_0x20e4e5(0x110)](0x1),_0x51e471[_0x20e4e5(0x1bd)]({'cmd':W[_0x20e4e5(0x422)],'routeKey':this[_0x20e4e5(0xd7)],'routeType':'','data':{'rooms':[{'roomID':this[_0x20e4e5(0xd7)]}]}});}['_onJoinRoomEvent'](_0x9bdd27){var _0xa95cd2=_0x5a48c0,_0x4bb6ff;if(_0x9bdd27[_0xa95cd2(0x25e)]in Ye){this[_0xa95cd2(0x193)][_0xa95cd2(0x33e)]({'id':Q[_0xa95cd2(0xea)],'data':Ye[_0x9bdd27[_0xa95cd2(0x25e)]]}),this[_0xa95cd2(0x159)][_0xa95cd2(0x110)](0x2);return;}this['_sessionStatus$'][_0xa95cd2(0x110)](0x3);const _0x316537=(_0x4bb6ff=_0x9bdd27['data']['roomInfos'][this[_0xa95cd2(0xd7)]])==null?void 0x0:_0x4bb6ff[_0xa95cd2(0xdc)];_0x316537&&_0x316537[_0xa95cd2(0x1af)](_0x3116c8=>this[_0xa95cd2(0x41c)][_0xa95cd2(0x12d)](this['_unitID'],_0x3116c8));}[_0x5a48c0(0x251)](_0x585770){var _0x150fba=_0x5a48c0;try{const _0x2401da=_0x585770['data'];switch(_0x2401da[_0x150fba(0x144)]){case g['CollaborationEvent'][_0x150fba(0x250)]:this['_onUserJoin'](_0x2401da),this['_event$'][_0x150fba(0x110)](_0x2401da);break;case g['CollaborationEvent'][_0x150fba(0x22a)]:this[_0x150fba(0xff)](_0x2401da),this[_0x150fba(0x1e8)]['next'](_0x2401da);break;case g['CollaborationEvent']['CHANGESET_ACK']:case g[_0x150fba(0x166)][_0x150fba(0x2d6)]:this[_0x150fba(0x2e4)](),this[_0x150fba(0x34f)](),this[_0x150fba(0x1e8)]['next'](_0x2401da);break;case g['CollaborationEvent'][_0x150fba(0x42e)]:this[_0x150fba(0x39b)]['error'](_0x150fba(0x3bf)+JSON[_0x150fba(0x208)](_0x2401da)),this[_0x150fba(0x1e8)][_0x150fba(0x110)](_0x2401da);break;case g[_0x150fba(0x166)][_0x150fba(0x103)]:this['_commentService'][_0x150fba(0x22b)](_0x2401da[_0x150fba(0x332)]),this[_0x150fba(0x1e8)]['next'](_0x2401da);break;default:this[_0x150fba(0x1e8)]['next'](_0x2401da);}}catch(_0x3f7ca6){this['_logService'][_0x150fba(0x16f)](_0x3f7ca6,_0x585770);}}[_0x5a48c0(0x130)](_0x47e9e1){var _0x247a57=_0x5a48c0;this[_0x247a57(0x41c)]['updateMember'](this[_0x247a57(0xd7)],_0x47e9e1[_0x247a57(0x332)]);}[_0x5a48c0(0xff)](_0x64286a){var _0x1d265f=_0x5a48c0;this[_0x1d265f(0x41c)][_0x1d265f(0x2b7)](this[_0x1d265f(0xd7)],_0x64286a['data']['memberID']);}async[_0x5a48c0(0x1bd)](_0x58abba,_0x5e1fae){var _0x86080d=_0x5a48c0;if(this['sessionStatus']!==0x3||!this['_socket'])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x58abba[_0x86080d(0x144)]===g[_0x86080d(0x166)][_0x86080d(0x39e)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x86080d(0x35e)](_0x58abba)),this[_0x86080d(0x343)][_0x86080d(0x1bd)]({'cmd':W['INGEST'],'routeKey':_0x5e1fae,'routeType':'','data':_0x58abba});}catch(_0x299ca6){this[_0x86080d(0x39b)][_0x86080d(0x16f)](_0x299ca6);}}[_0x5a48c0(0xe1)](){var _0xda2b80=_0x5a48c0,_0x5f100d;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0xde4008=_0x5815;this[_0xde4008(0x3e5)]=null,this['_collaborationUIEventService'][_0xde4008(0x33e)]({'id':Q[_0xde4008(0x152)]});},(_0x5f100d=this[_0xda2b80(0x41a)][_0xda2b80(0x2d1)](je))!=null?_0x5f100d:gt);}[_0x5a48c0(0x34f)](){var _0x5ec0f0=_0x5a48c0;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x5ec0f0(0x3e5)]),this[_0x5ec0f0(0x3e5)]=null);}[_0x5a48c0(0x35e)](_0x28342a){var _0x3b0182=_0x5a48c0;if(!this['_shouldReportTelemetry'])return;const {data:_0x4a53f9}=_0x28342a,{unitID:_0x3d38f9,changeset:_0x2450b7}=_0x4a53f9,{mutations:_0x596ba1,type:_0x223793}=_0x2450b7;this[_0x3b0182(0x2d8)]={'unitId':_0x3d38f9,'type':_0x223793,'startTime':performance[_0x3b0182(0x280)](),'stopTime':0x0,'duration':0x0,'size':ti(_0x596ba1)};}[_0x5a48c0(0x2e4)](){var _0x20a58a=_0x5a48c0;if(this['_shouldReportTelemetry']){if(!this[_0x20a58a(0x2d8)]){this['_logService'][_0x20a58a(0x16f)]('[CollaborationSession]',_0x20a58a(0x403));return;}this[_0x20a58a(0x2d8)][_0x20a58a(0x3f3)]=performance[_0x20a58a(0x280)](),this['_telemetryInfo']['duration']=this[_0x20a58a(0x2d8)][_0x20a58a(0x3f3)]-this[_0x20a58a(0x2d8)][_0x20a58a(0x295)],this[_0x20a58a(0x2ea)]['capture'](ei,this[_0x20a58a(0x2d8)]),this[_0x20a58a(0x2d8)]=null;}}[_0x5a48c0(0x1fb)](){var _0x33144c=_0x5a48c0;this[_0x33144c(0x2d8)]=null;}},exports[_0x5a48c0(0x418)]=oi([oe(0x2,a[_0x5a48c0(0x2e9)]),oe(0x3,a['IConfigService']),oe(0x4,a[_0x5a48c0(0xd9)](a[_0x5a48c0(0x27b)])),oe(0x5,a[_0x5a48c0(0xd9)](exports[_0x5a48c0(0x1be)])),oe(0x6,a[_0x5a48c0(0xd9)](Be)),oe(0x7,a[_0x5a48c0(0xd9)](te)),oe(0x8,a['Optional'](Mt[_0x5a48c0(0x254)]))],exports['CollaborationSession']);var ai=Object[_0x5a48c0(0xe7)],ci=(_0x4473f7,_0x154d95,_0x107199,_0x48c2c8)=>{var _0x5a401f=_0x5a48c0;for(var _0x5339c3=_0x48c2c8>0x1?void 0x0:_0x48c2c8?ai(_0x154d95,_0x107199):_0x154d95,_0x40645c=_0x4473f7[_0x5a401f(0x143)]-0x1,_0x303e9c;_0x40645c>=0x0;_0x40645c--)(_0x303e9c=_0x4473f7[_0x40645c])&&(_0x5339c3=_0x303e9c(_0x5339c3)||_0x5339c3);return _0x5339c3;},_e=(_0x4a6740,_0x32ff3b)=>(_0x326bd0,_0x5d7d4b)=>_0x32ff3b(_0x326bd0,_0x5d7d4b,_0x4a6740);exports[_0x5a48c0(0x155)]=class extends a[_0x5a48c0(0x362)]{constructor(_0x57326f,_0x5555bc,_0x12fc45,_0x56c159,_0x179c7a,_0x4fef0c){var _0x3dff22=_0x5a48c0;super(),A(this,_0x3dff22(0x238),new j[(_0x3dff22(0x1d4))](void 0x0)),A(this,'socket$',this[_0x3dff22(0x238)]['asObservable']()),A(this,_0x3dff22(0x440),null),A(this,_0x3dff22(0xde),new Map()),A(this,_0x3dff22(0x34b),new j[(_0x3dff22(0x1d4))](se[_0x3dff22(0x263)])),A(this,'status$',this[_0x3dff22(0x34b)][_0x3dff22(0x3a4)]()),A(this,_0x3dff22(0x1d9),!0x1),A(this,_0x3dff22(0x3f2)),A(this,_0x3dff22(0x13e),0x0),A(this,_0x3dff22(0x400)),A(this,_0x3dff22(0x191)),(this[_0x3dff22(0x211)]=_0x57326f,this[_0x3dff22(0x39b)]=_0x5555bc,this[_0x3dff22(0x41a)]=_0x12fc45,this[_0x3dff22(0x22c)]=_0x56c159,this[_0x3dff22(0x193)]=_0x179c7a,this['_networkConditionService']=_0x4fef0c,this[_0x3dff22(0x28c)]());}get[_0x5a48c0(0x343)](){var _0x18e694=_0x5a48c0;return this[_0x18e694(0x238)][_0x18e694(0x3d4)]();}['_listenToNetworkCondition'](){var _0x15f12d=_0x5a48c0;this[_0x15f12d(0x16a)]&&this[_0x15f12d(0x439)](this['_networkConditionService'][_0x15f12d(0x112)][_0x15f12d(0x27f)](_0xb58bb4=>{var _0x58be06=_0x15f12d;_0xb58bb4&&!this[_0x58be06(0x343)]&&this['reconnect'](),_0xb58bb4||this['_onOffline']();}));}[_0x5a48c0(0x31c)](){var _0x47edeb=_0x5a48c0;super[_0x47edeb(0x31c)](),this['_clearRetryConnectingTimer'](),this[_0x47edeb(0x1a4)](),this[_0x47edeb(0x299)](),this[_0x47edeb(0xde)][_0x47edeb(0x1af)](_0x67a271=>_0x67a271[_0x47edeb(0x31c)]()),this[_0x47edeb(0xde)][_0x47edeb(0x380)](),this[_0x47edeb(0x34b)][_0x47edeb(0x409)]();}async[_0x5a48c0(0x11b)](_0x2a8aff){var _0xc7e79c=_0x5a48c0;if(this[_0xc7e79c(0xde)][_0xc7e79c(0x212)](_0x2a8aff))return this[_0xc7e79c(0xde)][_0xc7e79c(0x39a)](_0x2a8aff);this[_0xc7e79c(0x147)]();const _0x221c81=this[_0xc7e79c(0x211)][_0xc7e79c(0x444)](exports[_0xc7e79c(0x418)],_0x2a8aff,this['_socket$'][_0xc7e79c(0x3a4)]());return this[_0xc7e79c(0xde)][_0xc7e79c(0x3d5)](_0x2a8aff,_0x221c81),_0x221c81;}[_0x5a48c0(0x300)](_0xfebe1d){var _0x6fe970=_0x5a48c0,_0x4d8eab;const _0x2f011d=this['_sessions'][_0x6fe970(0x39a)](_0xfebe1d);_0x2f011d&&(this[_0x6fe970(0xde)][_0x6fe970(0x385)](_0xfebe1d),_0x2f011d[_0x6fe970(0x3ee)]()),this[_0x6fe970(0xde)][_0x6fe970(0x361)]||(_0x4d8eab=this['_socket'])==null||_0x4d8eab['close']();}[_0x5a48c0(0x282)](){var _0x2f8fcf=_0x5a48c0;this[_0x2f8fcf(0x13e)]=0x0,this['_clearRetryConnectingTimer'](),this[_0x2f8fcf(0x1a5)]();}['_clearRetryConnectingTimer'](){var _0xe6d8c=_0x5a48c0;this[_0xe6d8c(0x3f2)]!=null&&(clearTimeout(this[_0xe6d8c(0x3f2)]),this[_0xe6d8c(0x3f2)]=null);}async['_createSocket'](){var _0x166ae9=_0x5a48c0,_0x39afd9,_0x34bdad;const _0x2d4072=this[_0x166ae9(0x41a)][_0x166ae9(0x2d1)](St),_0x509d0b=this['_configService'][_0x166ae9(0x2d1)](Y),_0x32669c=(_0x34bdad=(_0x39afd9=_0x509d0b==null?void 0x0:_0x509d0b[_0x166ae9(0xdb)])!=null?_0x39afd9:_0x2d4072)!=null?_0x34bdad:ft,_0x138713=await this['_socketService'][_0x166ae9(0x170)](_0x32669c);return this[_0x166ae9(0x440)]=_0x138713,_0x138713;}async['_tryEnsureSocket'](){var _0x2e42c3=_0x5a48c0,_0x38b778,_0x32a9f1;try{const _0x2e9198=(_0x32a9f1=(_0x38b778=this[_0x2e42c3(0x343)])!=null?_0x38b778:this[_0x2e42c3(0x440)])!=null?_0x32a9f1:await this[_0x2e42c3(0x36b)]();if(_0x2e9198){const _0x36f0e2=_0x2e9198[_0x2e42c3(0x1bd)];_0x2e9198[_0x2e42c3(0x1bd)]=_0x58e0c6=>(this['_rescheduleHeartbeat'](),_0x36f0e2['apply'](_0x2e9198,[_0x58e0c6])),_0x2e9198[_0x2e42c3(0x31a)][_0x2e42c3(0x27f)](_0x40189b=>this['_onMessage'](_0x2e9198,_0x40189b)),_0x2e9198[_0x2e42c3(0x13f)]['pipe'](V[_0x2e42c3(0x1f5)](0x1))[_0x2e42c3(0x27f)](_0x3707a2=>this['_logService'][_0x2e42c3(0x16f)](_0x2e42c3(0x140),_0x3707a2)),_0x2e9198[_0x2e42c3(0x2bc)][_0x2e42c3(0x1ce)](V[_0x2e42c3(0x1f5)](0x1))[_0x2e42c3(0x27f)](()=>{var _0x3f321e=_0x2e42c3;this[_0x3f321e(0x381)](_0x2e9198);}),_0x2e9198[_0x2e42c3(0x195)][_0x2e42c3(0x1ce)](V[_0x2e42c3(0x1f5)](0x1))[_0x2e42c3(0x27f)](_0x1fa297=>{var _0xd5e3df=_0x2e42c3;this[_0xd5e3df(0x39b)][_0xd5e3df(0x3a3)]('[CollaborationSessionService]',_0xd5e3df(0x186),_0x1fa297),this[_0xd5e3df(0x165)]();});}}catch(_0x481aeb){this[_0x2e42c3(0x39b)][_0x2e42c3(0x16f)](_0x481aeb),this[_0x2e42c3(0x165)]();}}[_0x5a48c0(0x381)](_0x205591){var _0x4c5acb=_0x5a48c0;this[_0x4c5acb(0x39b)]['debug'](_0x4c5acb(0x179),'socket\x20open.'),_0x205591[_0x4c5acb(0x1bd)]({'cmd':W[_0x4c5acb(0x1b5)]}),this[_0x4c5acb(0x450)]();}[_0x5a48c0(0x363)](){var _0x58bd69=_0x5a48c0;this[_0x58bd69(0x1d9)]=!0x1,this[_0x58bd69(0x440)]=null,this[_0x58bd69(0x34b)][_0x58bd69(0x110)](se['OFFLINE']),this['_socket$'][_0x58bd69(0x110)](null),this[_0x58bd69(0x1a4)](),this[_0x58bd69(0x299)]();}['_onConnectionFailed'](){var _0x59756c=_0x5a48c0,_0x25b25b;this[_0x59756c(0x363)](),this['_retryCount']<((_0x25b25b=this[_0x59756c(0x41a)]['getConfig'](It))!=null?_0x25b25b:Vt)?(this[_0x59756c(0x193)][_0x59756c(0x33e)]({'id':Q[_0x59756c(0x3c2)]}),this['_tryReconnect']()):this[_0x59756c(0x193)]['emitEvent']({'id':Q[_0x59756c(0x1f0)]});}['_tryReconnect'](){var _0x1173ce=_0x5a48c0,_0x9405f3;const _0x24dd6=this[_0x1173ce(0x13e)],_0x4e8a61=this[_0x1173ce(0x41a)][_0x1173ce(0x2d1)](Y),_0x634533=_0x24dd6===0x0?0x0:((_0x9405f3=_0x4e8a61==null?void 0x0:_0x4e8a61[_0x1173ce(0x15f)])!=null?_0x9405f3:Ft)*0x2**_0x24dd6;this[_0x1173ce(0x3f2)]=setTimeout(()=>{var _0x256589=_0x1173ce;clearTimeout(this[_0x256589(0x3f2)]),this[_0x256589(0x3f2)]=null,this[_0x256589(0x147)]();},_0x634533),this[_0x1173ce(0x13e)]+=0x1;}['_onMessage'](_0xf58b6e,_0x483061){var _0xfa9076=_0x5a48c0;const {cmd:_0x2232a0}=_0x483061;_0x2232a0===W[_0xfa9076(0x1b5)]&&!this[_0xfa9076(0x1d9)]&&(_0xf58b6e[_0xfa9076(0x189)]=_0x483061[_0xfa9076(0x332)][_0xfa9076(0x189)],this[_0xfa9076(0x238)]['next'](_0xf58b6e),this[_0xfa9076(0x34b)][_0xfa9076(0x110)](se[_0xfa9076(0x160)]),this[_0xfa9076(0x1d9)]=!0x0,this[_0xfa9076(0x440)]=null),_0x2232a0===W[_0xfa9076(0x18b)]&&this['_clearTimeoutTimer'](),this[_0xfa9076(0x450)]();}['_rescheduleHeartbeat'](){var _0x1b912a=_0x5a48c0,_0x11ab38;this[_0x1b912a(0x299)](),this[_0x1b912a(0x400)]=setTimeout(()=>this[_0x1b912a(0x183)](),(_0x11ab38=this[_0x1b912a(0x41a)][_0x1b912a(0x2d1)](pt))!=null?_0x11ab38:Bt);}[_0x5a48c0(0x183)](){var _0x3a576f=_0x5a48c0;this[_0x3a576f(0x343)][_0x3a576f(0x1bd)]({'cmd':W[_0x3a576f(0x18b)]}),this['_waitForHeartbeatResponse']();}[_0x5a48c0(0x3aa)](){var _0x2dc430=_0x5a48c0,_0x1c5294;this[_0x2dc430(0x191)]=setTimeout(()=>this[_0x2dc430(0x165)](),(_0x1c5294=this[_0x2dc430(0x41a)][_0x2dc430(0x2d1)](je))!=null?_0x1c5294:gt);}[_0x5a48c0(0x299)](){var _0x13fdf6=_0x5a48c0;this[_0x13fdf6(0x400)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x13fdf6(0x400)]=null);}[_0x5a48c0(0x1a4)](){var _0x281f6d=_0x5a48c0;this[_0x281f6d(0x191)]!=null&&(clearTimeout(this[_0x281f6d(0x191)]),this[_0x281f6d(0x191)]=null);}},exports['CollaborationSessionService']=ci([_e(0x0,a['Inject'](a[_0x5a48c0(0x30c)])),_e(0x1,a[_0x5a48c0(0x2e9)]),_e(0x2,a[_0x5a48c0(0x244)]),_e(0x3,$e),_e(0x4,a[_0x5a48c0(0xd9)](te)),_e(0x5,a['Optional'](bt))],exports['CollaborationSessionService']);const G=[];function _0x5815(_0xec2c25,_0x497a6c){var _0x157bdc=_0x157b();return _0x5815=function(_0x5815f8,_0x5d15de){_0x5815f8=_0x5815f8-0xd7;var _0x57f625=_0x157bdc[_0x5815f8];return _0x57f625;},_0x5815(_0xec2c25,_0x497a6c);}for(let n=0x0;n<0x100;++n)G[_0x5a48c0(0x437)]((n+0x100)[_0x5a48c0(0x232)](0x10)[_0x5a48c0(0x1ee)](0x1));function hi(_0x110951,_0x2f197b=0x0){var _0x35f904=_0x5a48c0;return(G[_0x110951[_0x2f197b+0x0]]+G[_0x110951[_0x2f197b+0x1]]+G[_0x110951[_0x2f197b+0x2]]+G[_0x110951[_0x2f197b+0x3]]+'-'+G[_0x110951[_0x2f197b+0x4]]+G[_0x110951[_0x2f197b+0x5]]+'-'+G[_0x110951[_0x2f197b+0x6]]+G[_0x110951[_0x2f197b+0x7]]+'-'+G[_0x110951[_0x2f197b+0x8]]+G[_0x110951[_0x2f197b+0x9]]+'-'+G[_0x110951[_0x2f197b+0xa]]+G[_0x110951[_0x2f197b+0xb]]+G[_0x110951[_0x2f197b+0xc]]+G[_0x110951[_0x2f197b+0xd]]+G[_0x110951[_0x2f197b+0xe]]+G[_0x110951[_0x2f197b+0xf]])[_0x35f904(0x415)]();}let Ue;const _i=new Uint8Array(0x10);function li(){var _0x5ec448=_0x5a48c0;if(!Ue){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error(_0x5ec448(0x41f));Ue=crypto[_0x5ec448(0x2a0)][_0x5ec448(0x164)](crypto);}return Ue(_i);}const ui=typeof crypto<'u'&&crypto[_0x5a48c0(0x1ec)]&&crypto[_0x5a48c0(0x1ec)]['bind'](crypto),qe={'randomUUID':ui};function di(_0x12251d,_0x364c07,_0x5d6b69){var _0x2f3fcd=_0x5a48c0,_0x46930a,_0x1b139c,_0x24fbde;if(qe['randomUUID']&&!_0x12251d)return qe['randomUUID']();_0x12251d=_0x12251d||{};const _0x35e05f=(_0x24fbde=(_0x1b139c=_0x12251d[_0x2f3fcd(0x36e)])!=null?_0x1b139c:(_0x46930a=_0x12251d[_0x2f3fcd(0x1bc)])==null?void 0x0:_0x46930a['call'](_0x12251d))!=null?_0x24fbde:li();if(_0x35e05f[_0x2f3fcd(0x143)]<0x10)throw new Error('Random\x20bytes\x20length\x20must\x20be\x20>=\x2016');return _0x35e05f[0x6]=_0x35e05f[0x6]&0xf|0x40,_0x35e05f[0x8]=_0x35e05f[0x8]&0x3f|0x80,hi(_0x35e05f);}const z=a[_0x5a48c0(0x26d)](_0x5a48c0(0x15b));function vi(_0xe172c2){var _0xaeb8c1=_0x5a48c0;return _0xaeb8c1(0x248)+_0xe172c2;}var Si=Object[_0x5a48c0(0xe7)],fi=(_0x395baf,_0x428711,_0x46405b,_0x7f1d9c)=>{var _0x558cf1=_0x5a48c0;for(var _0x3bfc7f=_0x7f1d9c>0x1?void 0x0:_0x7f1d9c?Si(_0x428711,_0x46405b):_0x428711,_0x395f78=_0x395baf[_0x558cf1(0x143)]-0x1,_0x3b8f4b;_0x395f78>=0x0;_0x395f78--)(_0x3b8f4b=_0x395baf[_0x395f78])&&(_0x3bfc7f=_0x3b8f4b(_0x3bfc7f)||_0x3bfc7f);return _0x3bfc7f;},Ae=(_0x2b0f22,_0x2c8bc0)=>(_0x222e05,_0xf7ec2b)=>_0x2c8bc0(_0x222e05,_0xf7ec2b,_0x2b0f22);function pi(_0x4a3a38){var _0x3787aa=_0x5a48c0;const {unitID:_0x256b9e,mutations:_0x417d1c}=_0x4a3a38;return{'unitId':_0x256b9e,'subUnitId':_0x417d1c[0x0][_0x3787aa(0x2cd)]['subUnitId']};}exports[_0x5a48c0(0x20a)]=class{constructor(_0x4c88aa,_0x402d74,_0x5ccc75){var _0x159310=_0x5a48c0;this[_0x159310(0x211)]=_0x4c88aa,this[_0x159310(0x319)]=_0x402d74,this['_instanceService']=_0x5ccc75;}[_0x5a48c0(0x342)](_0x4274a3){var _0x289351=_0x5a48c0,_0x16cb96,_0x240def,_0x57d43d,_0x1c8231;const _0x2f1ec8=this[_0x289351(0x211)][_0x289351(0x39a)](Z[_0x289351(0x17d)]),{unitId:_0x1260ba,subUnitId:_0x339bfb}=pi(_0x4274a3),_0x5740c0=_0x2f1ec8==null?void 0x0:_0x2f1ec8[_0x289351(0x24c)](_0x1260ba)['getCurrentSelections'](),_0x4e1226=(_0x240def=(_0x16cb96=this[_0x289351(0x181)]['getUnit'](_0x1260ba))==null?void 0x0:_0x16cb96[_0x289351(0x411)]())==null?void 0x0:_0x240def[_0x289351(0x16e)]();if(_0x5740c0[_0x289351(0x143)]===0x0||!_0x1260ba||!_0x339bfb)return;const _0x3d2925=[{'id':Z[_0x289351(0x25b)]['id'],'params':{'unitId':_0x1260ba,'subUnitId':_0x4e1226,'selections':a[_0x289351(0x338)][_0x289351(0x1b1)](_0x5740c0)}}],_0x1fc9ab=this[_0x289351(0x319)][_0x289351(0x108)](_0x4274a3,_0x3d2925);if(!g[_0x289351(0x1e3)](_0x1fc9ab))throw _0x1fc9ab[_0x289351(0x16f)];const _0x2407d8=(_0x1c8231=(_0x57d43d=_0x1fc9ab[_0x289351(0x19c)][0x0])==null?void 0x0:_0x57d43d[_0x289351(0x2cd)])==null?void 0x0:_0x1c8231[_0x289351(0x2cf)];if(Array[_0x289351(0x2b6)](_0x2407d8)&&_0x2407d8[_0x289351(0x143)]){if(_0x2407d8[_0x289351(0x143)]===_0x3d2925[0x0][_0x289351(0x2cd)][_0x289351(0x2cf)][_0x289351(0x143)]&&_0x2407d8[_0x289351(0x2ae)]((_0x1dabc7,_0xbd6064)=>a[_0x289351(0x23e)]['equals'](_0x1dabc7['range'],_0x3d2925[0x0][_0x289351(0x2cd)][_0x289351(0x2cf)][_0xbd6064][_0x289351(0x2fb)])))return;this[_0x289351(0x211)][_0x289351(0x39a)](a[_0x289351(0x206)])[_0x289351(0x26b)](Z[_0x289351(0x25b)]['id'],{'unitId':_0x1260ba,'subUnitId':_0x4e1226,'selections':_0x2407d8});}}},exports['SheetTransformSelectionsService']=fi([Ae(0x0,a[_0x5a48c0(0xd9)](a[_0x5a48c0(0x30c)])),Ae(0x1,g[_0x5a48c0(0x2f5)]),Ae(0x2,a[_0x5a48c0(0x3de)])],exports['SheetTransformSelectionsService']);const ve=a[_0x5a48c0(0x26d)]('univer-pro.collaboration-client.single-active-unit-service');var Fe=(_0x8e8ba6=>(_0x8e8ba6[_0x8e8ba6[_0x5a48c0(0x197)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x8e8ba6[_0x8e8ba6['OTHER_CLIENTS_EDITING']=0x1]=_0x5a48c0(0x272),_0x8e8ba6))(Fe||{});const gi=new Set([Z[_0x5a48c0(0x368)]['id']]);function ze(_0x3f34d2,_0x3e3a7d,_0x372eaf,_0x11f498,_0x5187f6){var _0x65957=_0x5a48c0,_0x1896bc,_0x12b74b,_0x1fd510,_0x3bf2b7;const _0x588aa0=[];for(const _0x1a64d9 of _0x3f34d2)if(gi['has'](_0x1a64d9['id'])){if(_0x588aa0[_0x65957(0x143)]>0x0)break;_0x588aa0[_0x65957(0x437)](_0x1a64d9);break;}else _0x588aa0[_0x65957(0x437)](_0x1a64d9);const _0x23c32b=(_0x12b74b=(_0x1896bc=_0x5187f6[_0x65957(0x10a)]())==null?void 0x0:_0x1896bc['userID'])!=null?_0x12b74b:'unknown',_0x4396d4=(_0x3bf2b7=(_0x1fd510=_0x5187f6[_0x65957(0x10a)]())==null?void 0x0:_0x1fd510[_0x65957(0x189)])!=null?_0x3bf2b7:_0x65957(0x3cc);return{'changeset':{'unitID':_0x3e3a7d,'type':g[_0x65957(0x3e7)](_0x372eaf[_0x65957(0x151)](_0x3e3a7d)),'baseRev':_0x11f498[_0x65957(0x109)](_0x3e3a7d),'revision':0x0,'userID':_0x23c32b,'memberID':_0x4396d4,'mutations':_0x588aa0},'pendingMutations':_0x3f34d2[_0x65957(0x1ee)](_0x588aa0[_0x65957(0x143)])};}function Ii(_0x241cf0,_0x3e885d,_0x51180f,_0x4e4331,_0x55b309){var _0x4fad9b=_0x5a48c0,_0x5c2572,_0x4002a6,_0x1535fd,_0x34e338;const _0x1d9782=[_0x241cf0[_0x4fad9b(0xe3)]((_0x1e0d9a,_0x196371)=>{var _0x37ad60=_0x4fad9b,_0x15ff14;const {id:_0x42c4f0}=_0x1e0d9a,{id:_0x1a047a,type:_0x51d3bc}=_0x196371,_0x5da69c=(_0x15ff14=_0x1e0d9a['params'])!=null?_0x15ff14:{'actions':null},_0x5ba247=_0x196371['params'];if(_0x42c4f0&&_0x42c4f0!==_0x1a047a)throw new Error(_0x37ad60(0x1da)+_0x42c4f0+_0x37ad60(0x269)+_0x1a047a+'.');return{..._0x1e0d9a,'id':_0x1a047a,'type':_0x51d3bc,'params':{'unitId':_0x5ba247[_0x37ad60(0x1cb)],'textRanges':_0x5ba247[_0x37ad60(0x2c7)],'actions':a[_0x37ad60(0x1fe)][_0x37ad60(0x10b)](_0x5da69c[_0x37ad60(0x278)],_0x5ba247[_0x37ad60(0x278)])}};},{})],_0x49a01c=(_0x4002a6=(_0x5c2572=_0x55b309[_0x4fad9b(0x10a)]())==null?void 0x0:_0x5c2572[_0x4fad9b(0x203)])!=null?_0x4002a6:_0x4fad9b(0x3cc),_0x44f1fc=(_0x34e338=(_0x1535fd=_0x55b309['getCurrentUser']())==null?void 0x0:_0x1535fd[_0x4fad9b(0x189)])!=null?_0x34e338:'unknown';return{'changeset':{'unitID':_0x3e885d,'type':g['mapDocumentTypeToUniverType'](_0x51180f[_0x4fad9b(0x151)](_0x3e885d)),'baseRev':_0x4e4331[_0x4fad9b(0x109)](_0x3e885d),'revision':0x0,'userID':_0x49a01c,'memberID':_0x44f1fc,'mutations':_0x1d9782},'pendingMutations':[]};}function yt(_0x2404b5,_0xaf5bf7){var _0x4fcfdb=_0x5a48c0;const _0x38a9a9=new j['ReplaySubject'](0x1);return setTimeout(()=>_0x38a9a9[_0x4fcfdb(0x110)](_0xaf5bf7),_0x2404b5),_0x38a9a9['asObservable']()[_0x4fcfdb(0x1ce)](j[_0x4fcfdb(0x1f5)](0x1));}const mi={'id':Z[_0x5a48c0(0x373)]['id'],'type':a[_0x5a48c0(0xfa)][_0x5a48c0(0x414)],'params':{}};var Ei=Object[_0x5a48c0(0xe7)],ce=(_0x583f00,_0x4a4f19,_0x500d07,_0x2412a3)=>{var _0x589611=_0x5a48c0;for(var _0x2f3e68=_0x2412a3>0x1?void 0x0:_0x2412a3?Ei(_0x4a4f19,_0x500d07):_0x4a4f19,_0x3ed969=_0x583f00[_0x589611(0x143)]-0x1,_0x45c1af;_0x3ed969>=0x0;_0x3ed969--)(_0x45c1af=_0x583f00[_0x3ed969])&&(_0x2f3e68=_0x45c1af(_0x2f3e68)||_0x2f3e68);return _0x2f3e68;},w=(_0x4efbfa,_0x2c0382)=>(_0x224766,_0x17b6fc)=>_0x2c0382(_0x224766,_0x17b6fc,_0x4efbfa),Ve=(_0x53133d=>(_0x53133d[_0x5a48c0(0x388)]=_0x5a48c0(0x1a8),_0x53133d[_0x5a48c0(0x2e8)]='synced',_0x53133d[_0x5a48c0(0x1c7)]=_0x5a48c0(0x266),_0x53133d['AWAITING']='awaiting',_0x53133d[_0x5a48c0(0x213)]='awaiting_with_pending',_0x53133d[_0x5a48c0(0x29d)]=_0x5a48c0(0x37e),_0x53133d[_0x5a48c0(0x2ca)]=_0x5a48c0(0x310),_0x53133d[_0x5a48c0(0x1fa)]='offline',_0x53133d))(Ve||{});const Nt=0xea60;class he{constructor(_0x2d161a,_0x3a5c15,_0x47f54f,_0x571831,_0x3ee65a,_0x1a8d6e,_0x44df25,_0x3d1b73,_0x504eb8){var _0x52aa1d=_0x5a48c0;A(this,_0x52aa1d(0x198),null),A(this,'_pendingMutations',[]),(this['unitID']=_0x2d161a,this[_0x52aa1d(0x315)]=_0x3a5c15,this[_0x52aa1d(0x2c9)]=_0x3ee65a,this['_commandService']=_0x1a8d6e,this[_0x52aa1d(0x1b4)]=_0x44df25,this[_0x52aa1d(0x42b)]=_0x3d1b73,this[_0x52aa1d(0x118)]=_0x504eb8,this[_0x52aa1d(0x198)]=_0x47f54f,this[_0x52aa1d(0x1db)]=_0x571831);}[_0x5a48c0(0x3a9)](_0x468a6f){var _0xf1e54=_0x5a48c0;const _0x5f2753=this[_0xf1e54(0x42b)][_0xf1e54(0x109)](this['unitID']);return _0x468a6f[_0xf1e54(0x317)]>_0x5f2753+0x1?(this[_0xf1e54(0x2c9)][_0xf1e54(0x1c5)]({'from':_0x5f2753,'to':_0x468a6f[_0xf1e54(0x317)]-0x1}),!0x0):!0x1;}[_0x5a48c0(0x369)](_0x5412c6){var _0x3112d8=_0x5a48c0;this['_undoRedoService'][_0x3112d8(0x305)](this[_0x3112d8(0x3dc)],_0x5412c6);}[_0x5a48c0(0x129)](_0x3d02dc){var _0xe74041=_0x5a48c0,_0x7e1477,_0x26bf0a;(_0x26bf0a=(_0x7e1477=this['_handler'])[_0xe74041(0xfb)])==null||_0x26bf0a['call'](_0x7e1477,_0x3d02dc);}[_0x5a48c0(0x12a)](_0x1faf03){var _0xdbbe26,_0x2aef7b;return(_0x2aef7b=(_0xdbbe26=this['_handler'])['onTransformIME'])==null?void 0x0:_0x2aef7b['call'](_0xdbbe26,_0x1faf03);}[_0x5a48c0(0x17c)](_0x23760e){var _0x1ced17=_0x5a48c0,_0x3c384e,_0x1909ca;return(_0x1909ca=(_0x3c384e=this[_0x1ced17(0x2c9)])[_0x1ced17(0x38a)])==null?void 0x0:_0x1909ca[_0x1ced17(0x3f8)](_0x3c384e,_0x23760e);}['_transformRemoteChangesetByIMECache'](_0x59247f){var _0x50fcb7=_0x5a48c0,_0x27f168,_0x34c84c,_0x4a4dad;return(_0x4a4dad=(_0x34c84c=(_0x27f168=this[_0x50fcb7(0x2c9)])[_0x50fcb7(0x28b)])==null?void 0x0:_0x34c84c[_0x50fcb7(0x3f8)](_0x27f168,_0x59247f))!=null?_0x4a4dad:_0x59247f;}[_0x5a48c0(0x18a)](_0x52b608){var _0x296616=_0x5a48c0,_0x4d2b8f,_0x29bc81,_0x2d8e72;return(_0x2d8e72=(_0x29bc81=(_0x4d2b8f=this['_handler'])[_0x296616(0x11e)])==null?void 0x0:_0x29bc81[_0x296616(0x3f8)](_0x4d2b8f,_0x52b608))!=null?_0x2d8e72:_0x52b608;}[_0x5a48c0(0x40d)](_0x28c3f8){var _0x280652=_0x5a48c0,_0x3ab5b1,_0x3b15fd;if(this['type']===X[_0x280652(0x327)]){const {unitID:_0x13e241,mutations:_0x3af090,memberID:_0x1deea8}=_0x28c3f8,_0x3fdeaf=_0x3af090[0x0]['params'][_0x280652(0x2c7)];Array[_0x280652(0x2b6)](_0x3fdeaf)&&_0x3fdeaf[_0x280652(0x143)]>0x0&&((_0x3b15fd=(_0x3ab5b1=this[_0x280652(0x2c9)])['onSyncEditingCollabCursor'])==null||_0x3b15fd[_0x280652(0x3f8)](_0x3ab5b1,{'unitID':_0x13e241,'memberID':_0x1deea8,'textRanges':_0x3fdeaf}));}}[_0x5a48c0(0x14b)](){var _0x296574=_0x5a48c0,_0x4a139d;(_0x4a139d=this[_0x296574(0x118)])==null||_0x4a139d['updateOfflineData'](this[_0x296574(0x3dc)],this[_0x296574(0x315)],this[_0x296574(0x198)],this[_0x296574(0x1db)]);}[_0x5a48c0(0x23d)](){var _0x388311=_0x5a48c0;return this['_revisionService'][_0x388311(0x109)](this[_0x388311(0x3dc)]);}[_0x5a48c0(0x154)](){var _0x3c49d8=_0x5a48c0;this[_0x3c49d8(0x42b)][_0x3c49d8(0x226)](this[_0x3c49d8(0x3dc)]);}[_0x5a48c0(0x28e)](_0x558921){var _0x1d7fc4=_0x5a48c0,_0x4e1faa;let _0x2d2998=this['_transformRemoteChangesetByIMECache'](_0x558921);_0x2d2998=this[_0x1d7fc4(0x18a)](_0x2d2998);const _0x4f759d=a[_0x1d7fc4(0x38e)](_0x2d2998['mutations'],this[_0x1d7fc4(0x3be)],{'fromCollab':!0x0});if(!_0x4f759d[_0x1d7fc4(0x121)])throw _0x4f759d['error']instanceof Error?_0x4f759d[_0x1d7fc4(0x16f)]:new Error((_0x4e1faa=_0x4f759d[_0x1d7fc4(0x16f)])!=null?_0x4e1faa:_0x1d7fc4(0x1a2));this[_0x1d7fc4(0x12a)](_0x2d2998),this[_0x1d7fc4(0x17c)](_0x2d2998),this['_transformUndoredo'](_0x558921),this[_0x1d7fc4(0x129)](_0x2d2998),this[_0x1d7fc4(0x40d)](_0x2d2998),this[_0x1d7fc4(0x154)]();}}exports['SyncedState']=class extends he{constructor(_0x28e8c9,_0x13d59a,_0x3a89ee,_0x3f0bf9,_0x5a5110,_0x164c56,_0x497ea4,_0x5be53b,_0x4bbe32,_0x2cc945){var _0x24aee6=_0x5a48c0;super(_0x28e8c9,_0x13d59a,null,[],_0x3a89ee,_0x497ea4,_0x164c56,_0x3f0bf9,_0x2cc945),A(this,_0x24aee6(0x2bf),_0x24aee6(0x3a7)),(this['_injector']=_0x5a5110,this[_0x24aee6(0x39b)]=_0x5be53b,this[_0x24aee6(0x319)]=_0x4bbe32,this[_0x24aee6(0x42f)]=_0x2cc945);}[_0x5a48c0(0x292)](_0x4a8109){var _0x5f0afb=_0x5a48c0;const _0x357f22=this[_0x5f0afb(0x211)]['createInstance'](exports[_0x5f0afb(0x168)],this['unitID'],this['type'],[_0x4a8109],this['_handler']);return _0x357f22[_0x5f0afb(0x23a)](),_0x357f22[_0x5f0afb(0x14b)](),_0x357f22;}[_0x5a48c0(0x30e)](_0x212096){var _0x4e216f=_0x5a48c0;if(this['_checkMissing'](_0x212096))return this['_injector']['createInstance'](exports['FetchingMissState'],this[_0x4e216f(0x3dc)],this[_0x4e216f(0x315)],null,[],null,[_0x212096],this[_0x4e216f(0x2c9)]);try{const _0x1d73c4=this['_transformService']['transformMutationsWithChangeset'](_0x212096,[mi]);if(g[_0x4e216f(0x1e3)](_0x1d73c4)){const {c1Prime:_0x50f826}=_0x1d73c4;return this[_0x4e216f(0x28e)](_0x50f826),this;}throw _0x1d73c4[_0x4e216f(0x16f)];}catch(_0x23432a){return this[_0x4e216f(0x39b)][_0x4e216f(0x16f)](_0x23432a),this[_0x4e216f(0x2f6)](!0x1);}}[_0x5a48c0(0x2f6)](_0xf21c66){var _0x2baf09=_0x5a48c0;return this[_0x2baf09(0x211)][_0x2baf09(0x444)](exports[_0x2baf09(0x1b3)],this[_0x2baf09(0x3dc)],this[_0x2baf09(0x315)],null,[],this[_0x2baf09(0x2c9)],_0xf21c66);}['onRemoteAck'](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x5a48c0(0x3bc)](){var _0x38f054=_0x5a48c0;throw new Error(_0x38f054(0x17a));}[_0x5a48c0(0x27e)](){return this;}['toggleOffline'](){var _0x443c51=_0x5a48c0;return this['_injector']['createInstance'](exports[_0x443c51(0x441)],this[_0x443c51(0x3dc)],this[_0x443c51(0x315)],null,[],this[_0x443c51(0x2c9)]);}[_0x5a48c0(0x243)](){return this;}[_0x5a48c0(0x22d)](){var _0x1b555e=_0x5a48c0;throw new Error(_0x1b555e(0x348));}[_0x5a48c0(0x196)](){var _0x297862=_0x5a48c0;const _0x1417a0=this['_revisionService'][_0x297862(0x109)](this[_0x297862(0x3dc)]);return this['_handler'][_0x297862(0x1c5)]({'from':_0x1417a0,'to':0x0}),this['_injector'][_0x297862(0x444)](exports[_0x297862(0x1d2)],this['unitID'],this[_0x297862(0x315)],null,[],null,[],this['_handler']);}},exports['SyncedState']=ce([w(0x3,a[_0x5a48c0(0xd9)](g[_0x5a48c0(0x374)])),w(0x4,a['Inject'](a[_0x5a48c0(0x30c)])),w(0x5,a[_0x5a48c0(0x2d2)]),w(0x6,a[_0x5a48c0(0x206)]),w(0x7,a['ILogService']),w(0x8,g[_0x5a48c0(0x2f5)]),w(0x9,a[_0x5a48c0(0x41d)](z))],exports['SyncedState']),exports[_0x5a48c0(0x168)]=class extends he{constructor(_0x1eb1ce,_0x10f04b,_0x50116f,_0x5ed30d,_0x2dfd28,_0x16432f,_0x5afa5e,_0xe1f192,_0x345e35,_0xf46b39,_0x40a694,_0x3187b8,_0xc27032,_0x4aff1b){var _0x4e71d4=_0x5a48c0;super(_0x1eb1ce,_0x10f04b,null,_0x50116f,_0x5ed30d,_0x345e35,_0xc27032,_0x16432f,_0x4aff1b),A(this,_0x4e71d4(0x2bf),_0x4e71d4(0x266)),A(this,'_scheduleCompleteTimestamp',null),A(this,_0x4e71d4(0x215),null),(this[_0x4e71d4(0x211)]=_0x2dfd28,this[_0x4e71d4(0x41c)]=_0x5afa5e,this[_0x4e71d4(0x39b)]=_0xe1f192,this[_0x4e71d4(0x41a)]=_0xf46b39,this['_transformService']=_0x40a694,this[_0x4e71d4(0x421)]=_0x3187b8);}[_0x5a48c0(0x292)](_0x412a4b){var _0x9d3e2f=_0x5a48c0;return this[_0x9d3e2f(0x1db)][_0x9d3e2f(0x437)](_0x412a4b),this[_0x9d3e2f(0x14b)](),this;}['onRemoteChangeset'](_0xe0df1c){var _0x52804b=_0x5a48c0;if(this[_0x52804b(0x3a9)](_0xe0df1c))return this['_clearScheduledTask'](),this[_0x52804b(0x211)][_0x52804b(0x444)](exports[_0x52804b(0x1d2)],this[_0x52804b(0x3dc)],this['type'],null,this[_0x52804b(0x1db)],null,[_0xe0df1c],this[_0x52804b(0x2c9)]);try{const _0x2614c2=this[_0x52804b(0x319)][_0x52804b(0x108)](_0xe0df1c,this[_0x52804b(0x1db)]);if(g[_0x52804b(0x1e3)](_0x2614c2)){const {c1Prime:_0x461cf5,m2Prime:_0x4fe667}=_0x2614c2;this['_executeRemoteChangeset'](_0x461cf5);const _0x3bb7c6=this[_0x52804b(0x211)]['createInstance'](exports[_0x52804b(0x168)],this[_0x52804b(0x3dc)],this[_0x52804b(0x315)],_0x4fe667,this[_0x52804b(0x2c9)]);this[_0x52804b(0x291)]();const _0x4477cc=new Date()['getTime'](),_0xc82ce4=this[_0x52804b(0x16b)]?Math[_0x52804b(0x2cb)](this[_0x52804b(0x16b)]-_0x4477cc,0x0):this[_0x52804b(0x23f)]();return _0x3bb7c6[_0x52804b(0x23a)](_0xc82ce4),_0x3bb7c6;}throw _0x2614c2['error'];}catch(_0x51030b){return this['_logService'][_0x52804b(0x16f)](_0x51030b),this[_0x52804b(0x2f6)](!0x1);}}['onRemoteAck'](){var _0x238c53=_0x5a48c0;throw new Error(_0x238c53(0x227));}[_0x5a48c0(0x3bc)](){var _0x342b16=_0x5a48c0;throw new Error(_0x342b16(0x1ef));}['onRemoteRetry'](){return this;}[_0x5a48c0(0x132)](){var _0x4f5ac2=_0x5a48c0;return this['_clearScheduledTask'](),this[_0x4f5ac2(0x211)][_0x4f5ac2(0x444)](exports[_0x4f5ac2(0x441)],this[_0x4f5ac2(0x3dc)],this['type'],null,this['_pendingMutations'],this[_0x4f5ac2(0x2c9)]);}[_0x5a48c0(0x243)](){return this;}[_0x5a48c0(0x23a)](_0x28c2e4){var _0x3a9510=_0x5a48c0;const _0x4b22c4=_0x28c2e4!=null?_0x28c2e4:this['_getSendChangesetTimeout']();this['_scheduleCompleteTimestamp']=new Date()[_0x3a9510(0x2db)]()+_0x4b22c4,this['_sendingTimer']=setTimeout(()=>{var _0x34e8c7=_0x3a9510;this[_0x34e8c7(0x291)]();let _0x2d6ddd=null;switch(this[_0x34e8c7(0x315)]){case X[_0x34e8c7(0x3b2)]:{_0x2d6ddd=ze(this['_pendingMutations'],this[_0x34e8c7(0x3dc)],this[_0x34e8c7(0x421)],this[_0x34e8c7(0x42b)],this[_0x34e8c7(0x41c)]);break;}case X[_0x34e8c7(0x327)]:{this[_0x34e8c7(0x1db)][_0x34e8c7(0x2ae)](_0x40fa0f=>_0x40fa0f['id']===ut[_0x34e8c7(0x432)]['id'])?_0x2d6ddd=Ii(this[_0x34e8c7(0x1db)],this[_0x34e8c7(0x3dc)],this[_0x34e8c7(0x421)],this[_0x34e8c7(0x42b)],this[_0x34e8c7(0x41c)]):_0x2d6ddd=ze(this[_0x34e8c7(0x1db)],this[_0x34e8c7(0x3dc)],this[_0x34e8c7(0x421)],this[_0x34e8c7(0x42b)],this[_0x34e8c7(0x41c)]);break;}default:throw new Error(_0x34e8c7(0x31e)+this[_0x34e8c7(0x315)]+_0x34e8c7(0x44b));}const {changeset:_0x57e31e,pendingMutations:_0x1ef31e}=_0x2d6ddd;this[_0x34e8c7(0x2c9)][_0x34e8c7(0x313)](_0x57e31e);const _0x5d2c01=_0x1ef31e[_0x34e8c7(0x143)]?this[_0x34e8c7(0x211)][_0x34e8c7(0x444)](exports[_0x34e8c7(0xe6)],this[_0x34e8c7(0x3dc)],this[_0x34e8c7(0x315)],_0x57e31e,_0x1ef31e,this[_0x34e8c7(0x2c9)],void 0x0):this[_0x34e8c7(0x211)][_0x34e8c7(0x444)](exports[_0x34e8c7(0x18c)],this[_0x34e8c7(0x3dc)],this[_0x34e8c7(0x315)],_0x57e31e,this[_0x34e8c7(0x2c9)]);_0x5d2c01[_0x34e8c7(0x14b)](),this[_0x34e8c7(0x2c9)][_0x34e8c7(0x325)](this,_0x5d2c01);},_0x4b22c4);}['_getSendChangesetTimeout'](){var _0x5c8683=_0x5a48c0,_0xf59272;const _0xb379d3=this[_0x5c8683(0x41a)][_0x5c8683(0x2d1)](Y);return(_0xf59272=_0xb379d3==null?void 0x0:_0xb379d3['sendChangesetTimeout'])!=null?_0xf59272:jt;}[_0x5a48c0(0x22d)](){var _0x50a69e=_0x5a48c0;throw new Error(_0x50a69e(0xe4));}['_clearScheduledTask'](){var _0x37cf4a=_0x5a48c0;this[_0x37cf4a(0x215)]!=null&&(clearTimeout(this[_0x37cf4a(0x215)]),this['_sendingTimer']=null);}[_0x5a48c0(0x2f6)](_0x2f380d){var _0x7a8588=_0x5a48c0;return this['_clearScheduledTask'](),this['_injector'][_0x7a8588(0x444)](exports[_0x7a8588(0x1b3)],this['unitID'],this['type'],null,this[_0x7a8588(0x1db)],this['_handler'],_0x2f380d);}},exports[_0x5a48c0(0x168)]=ce([w(0x4,a[_0x5a48c0(0xd9)](a[_0x5a48c0(0x30c)])),w(0x5,a[_0x5a48c0(0xd9)](g[_0x5a48c0(0x374)])),w(0x6,a[_0x5a48c0(0xd9)](exports[_0x5a48c0(0x1be)])),w(0x7,a[_0x5a48c0(0x2e9)]),w(0x8,a[_0x5a48c0(0x206)]),w(0x9,a['IConfigService']),w(0xa,g[_0x5a48c0(0x2f5)]),w(0xb,a[_0x5a48c0(0x3de)]),w(0xc,a['IUndoRedoService']),w(0xd,a[_0x5a48c0(0x41d)](z))],exports[_0x5a48c0(0x168)]),exports['AwaitingState']=class extends he{constructor(_0xa657e1,_0x454f88,_0x443f49,_0x28b5c5,_0x6d4fdf,_0x4f9ffa,_0x57443f,_0x14438d,_0xbcbc01,_0x5d4995,_0x5eb877){var _0x4ab6a7=_0x5a48c0;super(_0xa657e1,_0x454f88,_0x443f49,[],_0x28b5c5,_0x57443f,_0x5d4995,_0x4f9ffa,_0x5eb877),A(this,_0x4ab6a7(0x2bf),_0x4ab6a7(0x3d8)),A(this,_0x4ab6a7(0x3d0),0x0),A(this,_0x4ab6a7(0x2a7)),A(this,_0x4ab6a7(0x3b5)),(this[_0x4ab6a7(0x211)]=_0x6d4fdf,this[_0x4ab6a7(0x39b)]=_0x14438d,this['_transformService']=_0xbcbc01);}[_0x5a48c0(0x292)](_0x10d0ab){var _0x53d892=_0x5a48c0;this[_0x53d892(0x291)]();const _0x4cbc32=this[_0x53d892(0x211)][_0x53d892(0x444)](exports[_0x53d892(0xe6)],this['unitID'],this[_0x53d892(0x315)],this[_0x53d892(0x198)],[_0x10d0ab],this['_handler'],this[_0x53d892(0x2a7)]);return _0x4cbc32['_updateLocalCache'](),_0x4cbc32;}[_0x5a48c0(0x30e)](_0x15c257){var _0x1c1653=_0x5a48c0;if(this['_checkMissing'](_0x15c257))return this['_clearScheduledTask'](),this[_0x1c1653(0x211)][_0x1c1653(0x444)](exports[_0x1c1653(0x1d2)],this[_0x1c1653(0x3dc)],this[_0x1c1653(0x315)],this['_awaitingChangeset'],[],null,[_0x15c257],this[_0x1c1653(0x2c9)]);try{const _0x1f4d19=this[_0x1c1653(0x319)][_0x1c1653(0xf9)]([_0x15c257],[this['_awaitingChangeset']],!0x1);if(g[_0x1c1653(0x322)](_0x1f4d19)){const {c1Prime:_0x4fadbc,c2Prime:_0x379e90}=_0x1f4d19;this[_0x1c1653(0x28e)](_0x4fadbc[0x0]),_0x379e90[0x0]['baseRev']=this['_getCurrentRevision'](),this[_0x1c1653(0x291)]();const _0x25247e=this[_0x1c1653(0x211)][_0x1c1653(0x444)](exports['AwaitingState'],this[_0x1c1653(0x3dc)],this[_0x1c1653(0x315)],_0x379e90[0x0],this[_0x1c1653(0x2c9)]);return _0x25247e[_0x1c1653(0x14b)](),_0x25247e;}return this['_onConflict'](!0x1);}catch(_0x33e68c){return this['_logService'][_0x1c1653(0x16f)](_0x33e68c),this[_0x1c1653(0x2f6)](!0x1);}}['onRemoteAck'](_0x20a74c){var _0x1b6c74=_0x5a48c0;this['_clearScheduledTask']();const _0x15bb06=this['_revisionService'][_0x1b6c74(0x109)](this['unitID']);if(_0x20a74c[_0x1b6c74(0x317)]<_0x15bb06-0x1)return this;if(this[_0x1b6c74(0x3a9)](_0x20a74c))return this[_0x1b6c74(0x211)][_0x1b6c74(0x444)](exports[_0x1b6c74(0x1d2)],this[_0x1b6c74(0x3dc)],this[_0x1b6c74(0x315)],null,[],this[_0x1b6c74(0x198)],[],this[_0x1b6c74(0x2c9)]);this[_0x1b6c74(0x154)]();const _0x42806a=this[_0x1b6c74(0x211)][_0x1b6c74(0x444)](exports[_0x1b6c74(0x3c9)],this[_0x1b6c74(0x3dc)],this[_0x1b6c74(0x315)],this[_0x1b6c74(0x2c9)]);return _0x42806a[_0x1b6c74(0x14b)](),_0x42806a;}['onRemoteRej'](_0x2f7922){var _0x2a7fad=_0x5a48c0;return this[_0x2a7fad(0x2f6)](!!(_0x2f7922!=null&&_0x2f7922[_0x2a7fad(0x231)]));}[_0x5a48c0(0x27e)](_0x30d704){var _0x2e6d95=_0x5a48c0;return this[_0x2e6d95(0x3d0)]>Nt?this[_0x2e6d95(0x132)]():(this['_resendTimer']=yt(this[_0x2e6d95(0x3d0)],{'timeout':this[_0x2e6d95(0x3d0)],'reqId':_0x30d704[_0x2e6d95(0x2a1)]}),this['_sender']=this['_resendTimer'][_0x2e6d95(0x27f)](({reqId:_0x14d15a,timeout:_0x27c8b6})=>{var _0x6ad0c8=_0x2e6d95;this[_0x6ad0c8(0x22f)](_0x14d15a,_0x27c8b6);}),this);}[_0x5a48c0(0x132)](){var _0x13b264=_0x5a48c0;return this[_0x13b264(0x291)](),this[_0x13b264(0x211)][_0x13b264(0x444)](exports[_0x13b264(0x441)],this[_0x13b264(0x3dc)],this[_0x13b264(0x315)],this['_awaitingChangeset'],[],this[_0x13b264(0x2c9)]);}['toggleOnline'](){return this;}[_0x5a48c0(0x22d)](){var _0x23ba15=_0x5a48c0;this[_0x23ba15(0x2c9)][_0x23ba15(0x313)](this[_0x23ba15(0x198)]);}['_onConflict'](_0x2181db){var _0x69c28e=_0x5a48c0;return this[_0x69c28e(0x291)](),this[_0x69c28e(0x211)][_0x69c28e(0x444)](exports[_0x69c28e(0x1b3)],this[_0x69c28e(0x3dc)],this[_0x69c28e(0x315)],this[_0x69c28e(0x198)],[],this['_handler'],_0x2181db);}[_0x5a48c0(0x22f)](_0x542dc0,_0x2a936b){var _0x5952dd=_0x5a48c0,_0x41f82e;_0x542dc0===((_0x41f82e=this[_0x5952dd(0x198)])==null?void 0x0:_0x41f82e[_0x5952dd(0x2a1)])&&(this[_0x5952dd(0x22d)](),this[_0x5952dd(0x3d0)]=_0x2a936b===0x0?0x3e8:_0x2a936b*0x2);}[_0x5a48c0(0x291)](){var _0x506ce6=_0x5a48c0,_0x20eb63;(_0x20eb63=this[_0x506ce6(0x3b5)])==null||_0x20eb63[_0x506ce6(0x21f)](),this[_0x506ce6(0x3d0)]=0x0;}},exports[_0x5a48c0(0x18c)]=ce([w(0x4,a[_0x5a48c0(0xd9)](a[_0x5a48c0(0x30c)])),w(0x5,a[_0x5a48c0(0xd9)](g[_0x5a48c0(0x374)])),w(0x6,a['ICommandService']),w(0x7,a[_0x5a48c0(0x2e9)]),w(0x8,g[_0x5a48c0(0x2f5)]),w(0x9,a[_0x5a48c0(0x2d2)]),w(0xa,a[_0x5a48c0(0x41d)](z))],exports[_0x5a48c0(0x18c)]),exports[_0x5a48c0(0xe6)]=class extends he{constructor(_0x473413,_0x34dd86,_0x586eb4,_0x247dd7,_0x6279ea,_0x1f6160,_0x4deef1,_0x3b72be,_0x38abd4,_0x566e72,_0x480773,_0x2e38cb,_0x50d34b){var _0x424971=_0x5a48c0;super(_0x473413,_0x34dd86,_0x586eb4,_0x247dd7,_0x6279ea,_0x38abd4,_0x2e38cb,_0x3b72be,_0x50d34b),A(this,'status','awaiting_with_pending'),A(this,_0x424971(0x3d0),0x0),A(this,_0x424971(0x2a7)),A(this,_0x424971(0x3b5)),(this[_0x424971(0x211)]=_0x4deef1,this['_logService']=_0x566e72,this[_0x424971(0x319)]=_0x480773,this['localCacheService']=_0x50d34b,_0x1f6160&&(this['_resendTimer']=_0x1f6160,this['_sender']=this[_0x424971(0x2a7)][_0x424971(0x27f)](({reqId:_0x4e5087,timeout:_0x370c1d})=>{var _0x4dd497=_0x424971;this[_0x4dd497(0x22f)](_0x4e5087,_0x370c1d);})));}[_0x5a48c0(0x292)](_0xf1fb7){var _0x588d23=_0x5a48c0;return this['_pendingMutations'][_0x588d23(0x437)](_0xf1fb7),this;}[_0x5a48c0(0x30e)](_0x364eb7){var _0x2eac47=_0x5a48c0;if(this[_0x2eac47(0x3a9)](_0x364eb7))return this[_0x2eac47(0x291)](),this[_0x2eac47(0x211)][_0x2eac47(0x444)](exports['FetchingMissState'],this[_0x2eac47(0x3dc)],this[_0x2eac47(0x315)],this[_0x2eac47(0x198)],this['_pendingMutations'],null,[_0x364eb7],this[_0x2eac47(0x2c9)]);try{const _0x1329dd=this[_0x2eac47(0x319)][_0x2eac47(0xf9)]([_0x364eb7],[this[_0x2eac47(0x198)]],!0x1);if(g[_0x2eac47(0x322)](_0x1329dd)){const {c1Prime:_0x483419,c2Prime:_0x1b7f4e}=_0x1329dd,_0x4285c0=this[_0x2eac47(0x319)]['transformMutationsWithChangeset'](_0x483419[0x0],this[_0x2eac47(0x1db)]);if(g[_0x2eac47(0x1e3)](_0x4285c0)){const {c1Prime:_0xda8336,m2Prime:_0x21f7fd}=_0x4285c0;return this[_0x2eac47(0x28e)](_0xda8336),_0x1b7f4e[0x0]['baseRev']=this[_0x2eac47(0x23d)](),this[_0x2eac47(0x291)](),this[_0x2eac47(0x211)][_0x2eac47(0x444)](exports[_0x2eac47(0xe6)],this[_0x2eac47(0x3dc)],this['type'],_0x1b7f4e[0x0],_0x21f7fd,this['_handler'],void 0x0);}throw _0x4285c0['error'];}throw _0x1329dd[_0x2eac47(0x16f)];}catch(_0x2f7720){return this['_logService'][_0x2eac47(0x16f)](_0x2f7720),this[_0x2eac47(0x2f6)](!0x1);}}[_0x5a48c0(0x14d)](_0x288a2c){var _0x52b9bb=_0x5a48c0;if(this[_0x52b9bb(0x291)](),this['_checkMissing'](_0x288a2c))return this[_0x52b9bb(0x211)]['createInstance'](exports[_0x52b9bb(0x1d2)],this[_0x52b9bb(0x3dc)],this[_0x52b9bb(0x315)],null,this[_0x52b9bb(0x1db)],this[_0x52b9bb(0x198)],[],this[_0x52b9bb(0x2c9)]);this['_incrementRevisionNumber']();const _0x3aae91=this[_0x52b9bb(0x211)][_0x52b9bb(0x444)](exports[_0x52b9bb(0x168)],this['unitID'],this[_0x52b9bb(0x315)],this['_pendingMutations'],this[_0x52b9bb(0x2c9)]);return _0x3aae91[_0x52b9bb(0x23a)](),_0x3aae91[_0x52b9bb(0x14b)](),_0x3aae91;}[_0x5a48c0(0x3bc)](_0x96d9b6){return this['_onConflict'](!!(_0x96d9b6!=null&&_0x96d9b6['isPermissionRej']));}[_0x5a48c0(0x27e)](_0x394562){var _0x316daf=_0x5a48c0;return this[_0x316daf(0x3d0)]>Nt?this[_0x316daf(0x132)]():(this[_0x316daf(0x2a7)]=yt(this['_resendTimeout'],{'timeout':this[_0x316daf(0x3d0)],'reqId':_0x394562['reqId']}),this[_0x316daf(0x3b5)]=this[_0x316daf(0x2a7)]['subscribe'](({reqId:_0x33cbb5,timeout:_0x13faeb})=>{this['_resendWithTimeout'](_0x33cbb5,_0x13faeb);}),this);}[_0x5a48c0(0x132)](){var _0xd36484=_0x5a48c0;return this['_clearScheduledTask'](),this[_0xd36484(0x211)][_0xd36484(0x444)](exports[_0xd36484(0x441)],this[_0xd36484(0x3dc)],this[_0xd36484(0x315)],this[_0xd36484(0x198)],this[_0xd36484(0x1db)],this[_0xd36484(0x2c9)]);}[_0x5a48c0(0x243)](){return this;}[_0x5a48c0(0x22d)](){var _0x341065=_0x5a48c0;this['_handler'][_0x341065(0x313)](this[_0x341065(0x198)]);}[_0x5a48c0(0x2f6)](_0x583587){var _0x4f5c92=_0x5a48c0;return this[_0x4f5c92(0x291)](),this[_0x4f5c92(0x211)][_0x4f5c92(0x444)](exports[_0x4f5c92(0x1b3)],this[_0x4f5c92(0x3dc)],this[_0x4f5c92(0x315)],null,this[_0x4f5c92(0x1db)],this[_0x4f5c92(0x2c9)],_0x583587);}['_resendWithTimeout'](_0x2b7b14,_0xd2e410){var _0x98628c=_0x5a48c0,_0x585c23;_0x2b7b14===((_0x585c23=this[_0x98628c(0x198)])==null?void 0x0:_0x585c23[_0x98628c(0x2a1)])&&(this[_0x98628c(0x22d)](),this[_0x98628c(0x3d0)]=_0xd2e410===0x0?0x3e8:_0xd2e410*0x2);}['_clearScheduledTask'](){var _0x4fb2cf=_0x5a48c0,_0x28c2be;(_0x28c2be=this[_0x4fb2cf(0x3b5)])==null||_0x28c2be[_0x4fb2cf(0x21f)](),this[_0x4fb2cf(0x3d0)]=0x0;}},exports[_0x5a48c0(0xe6)]=ce([w(0x6,a[_0x5a48c0(0xd9)](a['Injector'])),w(0x7,a[_0x5a48c0(0xd9)](g[_0x5a48c0(0x374)])),w(0x8,a[_0x5a48c0(0x206)]),w(0x9,a['ILogService']),w(0xa,g[_0x5a48c0(0x2f5)]),w(0xb,a[_0x5a48c0(0x2d2)]),w(0xc,a[_0x5a48c0(0x41d)](z))],exports[_0x5a48c0(0xe6)]),exports[_0x5a48c0(0x1b3)]=class extends he{constructor(_0xfff45c,_0x33a908,_0xfe290e,_0x4ba67b,_0x38db5a,_0x34b2a6=!0x1,_0xceea2c,_0x545c7b,_0x3dff87,_0x25b4c8,_0x19075c,_0x151cc7,_0x24a318){var _0x28a0e5=_0x5a48c0;super(_0xfff45c,_0x33a908,_0xfe290e,_0x4ba67b,_0x38db5a,_0x545c7b,_0x3dff87,_0x25b4c8,_0x24a318),A(this,_0x28a0e5(0x2bf),_0x28a0e5(0x310)),(this[_0x28a0e5(0x40a)]=_0x34b2a6,this['_permissionService']=_0xceea2c,this[_0x28a0e5(0x40f)]=_0x19075c,this[_0x28a0e5(0x193)]=_0x151cc7,this['localCacheService']=_0x24a318,this[_0x28a0e5(0x1f7)](),this[_0x28a0e5(0x448)](),this[_0x28a0e5(0x240)]());}[_0x5a48c0(0x292)](){return this;}[_0x5a48c0(0x30e)](){return this;}['onRemoteAck'](){return this;}[_0x5a48c0(0x3bc)](){return this;}[_0x5a48c0(0x27e)](){return this;}[_0x5a48c0(0x132)](){return this;}['toggleOnline'](){return this;}[_0x5a48c0(0x22d)](){var _0x3db070=_0x5a48c0;throw new Error(_0x3db070(0x3e4));}[_0x5a48c0(0x448)](){var _0x407664=_0x5a48c0,_0x582ad1;(_0x582ad1=this[_0x407664(0x118)])==null||_0x582ad1[_0x407664(0x228)](this[_0x407664(0x3dc)],this[_0x407664(0x315)],null,[]);}['_showConflictNotification'](){var _0x55b7b7=_0x5a48c0;this['_isPermissionRej']?this[_0x55b7b7(0x193)]['emitEvent']({'id':Q[_0x55b7b7(0x219)]}):this[_0x55b7b7(0x193)][_0x55b7b7(0x33e)]({'id':Q[_0x55b7b7(0x2ca)]});}[_0x5a48c0(0x240)](){var _0x5b837e=_0x5a48c0;this[_0x5b837e(0x1e2)][_0x5b837e(0x399)](new Z['WorkbookEditablePermission'](this[_0x5b837e(0x3dc)])['id'],!0x1);}},exports[_0x5a48c0(0x1b3)]=ce([w(0x6,a[_0x5a48c0(0xd9)](a[_0x5a48c0(0x330)])),w(0x7,a[_0x5a48c0(0x206)]),w(0x8,a[_0x5a48c0(0x2d2)]),w(0x9,a['Inject'](g[_0x5a48c0(0x374)])),w(0xa,a[_0x5a48c0(0xd9)](a[_0x5a48c0(0x27b)])),w(0xb,a['Inject'](te)),w(0xc,a[_0x5a48c0(0x41d)](z))],exports[_0x5a48c0(0x1b3)]),exports['OfflineState']=class extends he{constructor(_0x1b3c27,_0x25524e,_0x5e2a94,_0x4b1983,_0xe1e80d,_0xae9e6d,_0x316200,_0x403380,_0x137359,_0x1d81d4){var _0x24785b=_0x5a48c0;super(_0x1b3c27,_0x25524e,_0x5e2a94,_0x4b1983,_0xe1e80d,_0x403380,_0x137359,_0x316200,_0x1d81d4),A(this,'status',_0x24785b(0x146)),this['_injector']=_0xae9e6d;}[_0x5a48c0(0x292)](_0x34f2c3){var _0x34da30=_0x5a48c0;return this[_0x34da30(0x1db)][_0x34da30(0x437)](_0x34f2c3),this[_0x34da30(0x14b)](),this;}[_0x5a48c0(0x30e)](_0x3c55bc){var _0x5f437c=_0x5a48c0;throw new Error(_0x5f437c(0x2ad));}[_0x5a48c0(0x14d)](){var _0x3e3bb9=_0x5a48c0;throw new Error(_0x3e3bb9(0x2e7));}['onRemoteRej'](){var _0x577136=_0x5a48c0;throw new Error(_0x577136(0x29c));}[_0x5a48c0(0x27e)](){return this;}[_0x5a48c0(0x132)](){return this;}[_0x5a48c0(0x243)](){var _0x5a022e=_0x5a48c0;const {_injector:_0x55b4c2,_pendingMutations:_0x5ca601,_awaitingChangeset:_0x297620,unitID:_0x5ea015,_handler:_0x7a7057,type:_0x131c88}=this,_0x4bf806=Dt(_0x55b4c2,_0x5ea015,_0x131c88,_0x297620,_0x5ca601,_0x7a7057);return _0x4bf806 instanceof exports[_0x5a022e(0x168)]?_0x4bf806[_0x5a022e(0x23a)]():(_0x4bf806 instanceof exports[_0x5a022e(0xe6)]||_0x4bf806 instanceof exports['AwaitingState'])&&_0x4bf806[_0x5a022e(0x22d)](),_0x4bf806;}[_0x5a48c0(0x22d)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}},exports[_0x5a48c0(0x441)]=ce([w(0x5,a['Inject'](a[_0x5a48c0(0x30c)])),w(0x6,a[_0x5a48c0(0xd9)](g[_0x5a48c0(0x374)])),w(0x7,a['ICommandService']),w(0x8,a[_0x5a48c0(0x2d2)]),w(0x9,a[_0x5a48c0(0x41d)](z))],exports[_0x5a48c0(0x441)]),exports['FetchingMissState']=class extends he{constructor(_0x27819b,_0x5dcc36,_0x5df0af,_0x22a67c,_0x473e3a,_0x48d5cd,_0x381afd,_0x15715d,_0xe9717a,_0x2877fd,_0x13adcc,_0x26f8a3,_0x1c03d7,_0x3178fc){var _0x54b869=_0x5a48c0;super(_0x27819b,_0x5dcc36,_0x5df0af,_0x22a67c,_0x381afd,_0x13adcc,_0x26f8a3,_0xe9717a,_0x3178fc),A(this,_0x54b869(0x2bf),_0x54b869(0x37e)),(this['_acknowledgedAwaitingChangeset']=_0x473e3a,this[_0x54b869(0x100)]=_0x48d5cd,this['_injector']=_0x15715d,this[_0x54b869(0x39b)]=_0x2877fd,this[_0x54b869(0x319)]=_0x1c03d7,this[_0x54b869(0x42f)]=_0x3178fc);}[_0x5a48c0(0x311)](_0x2f5293){var _0x128f20=_0x5a48c0;try{const _0x2da616=[..._0x2f5293,...this[_0x128f20(0x100)]],_0x1a5efb=[this[_0x128f20(0x198)]||this[_0x128f20(0x40e)]][_0x128f20(0x15a)](_0x5afd93=>!!_0x5afd93);let _0x4d1170,_0x4da463;if(_0x1a5efb['length']){const _0xe40f57=this[_0x128f20(0x319)][_0x128f20(0xf9)](_0x2da616,_0x1a5efb,!0x1);if(!g[_0x128f20(0x322)](_0xe40f57))throw _0xe40f57[_0x128f20(0x16f)];_0x4d1170=_0xe40f57[_0x128f20(0x176)],_0x4da463=_0xe40f57[_0x128f20(0x393)];}else _0x4d1170=_0x2da616,_0x4da463=[];let _0x3e4eb9=this[_0x128f20(0x1db)];_0x4d1170[_0x128f20(0x1af)](_0x584d8e=>{var _0x1651b1=_0x128f20;let _0x36fa4e;if(_0x3e4eb9[_0x1651b1(0x143)]){const _0x48b2d5=this[_0x1651b1(0x319)][_0x1651b1(0x108)](_0x584d8e,_0x3e4eb9);if(!g[_0x1651b1(0x1e3)](_0x48b2d5))throw _0x48b2d5[_0x1651b1(0x16f)];_0x36fa4e=_0x48b2d5[_0x1651b1(0x176)],_0x3e4eb9=_0x48b2d5[_0x1651b1(0x19c)];}else _0x36fa4e=_0x584d8e;this[_0x1651b1(0x28e)](_0x36fa4e);}),this[_0x128f20(0x40e)]&&this['_incrementRevisionNumber'](),this['_awaitingChangeset']&&_0x4da463[_0x128f20(0x143)]&&(_0x4da463[0x0][_0x128f20(0x3d1)]=this[_0x128f20(0x23d)]());let _0x1914cc;if(this['_awaitingChangeset']&&_0x3e4eb9[_0x128f20(0x143)]!==0x0)_0x1914cc=this[_0x128f20(0x211)][_0x128f20(0x444)](exports['AwaitingWithPendingState'],this['unitID'],this[_0x128f20(0x315)],_0x4da463[0x0],_0x3e4eb9,this[_0x128f20(0x2c9)],void 0x0);else{if(this[_0x128f20(0x198)]&&_0x3e4eb9[_0x128f20(0x143)]===0x0)_0x4da463[0x0]['baseRev']=this[_0x128f20(0x23d)](),_0x1914cc=this[_0x128f20(0x211)]['createInstance'](exports[_0x128f20(0x18c)],this['unitID'],this['type'],_0x4da463[0x0],this[_0x128f20(0x2c9)]);else{if(_0x3e4eb9[_0x128f20(0x143)]!==0x0){const _0x15cdaf=this['_injector'][_0x128f20(0x444)](exports[_0x128f20(0x168)],this[_0x128f20(0x3dc)],this[_0x128f20(0x315)],_0x3e4eb9,this['_handler']);_0x15cdaf[_0x128f20(0x23a)](),_0x1914cc=_0x15cdaf;}else _0x1914cc=this[_0x128f20(0x211)]['createInstance'](exports['SyncedState'],this[_0x128f20(0x3dc)],this['type'],this[_0x128f20(0x2c9)]);}}return _0x1914cc[_0x128f20(0x14b)](),_0x1914cc;}catch(_0x3b8ee1){return this['_logService']['error'](_0x128f20(0x3f6),_0x128f20(0x2f7),_0x3b8ee1),this[_0x128f20(0x211)][_0x128f20(0x444)](exports[_0x128f20(0x1b3)],this[_0x128f20(0x3dc)],this[_0x128f20(0x315)],this[_0x128f20(0x198)],this[_0x128f20(0x1db)],this[_0x128f20(0x2c9)],!0x1);}}['resend'](){var _0x339b69=_0x5a48c0;throw new Error(_0x339b69(0x3a6));}[_0x5a48c0(0x292)](_0x5610b5){var _0x277023=_0x5a48c0;return this[_0x277023(0x1db)][_0x277023(0x437)](_0x5610b5),this;}[_0x5a48c0(0x30e)](_0x274e34){var _0x2ec2a4=_0x5a48c0;return this[_0x2ec2a4(0x100)][_0x2ec2a4(0x437)](_0x274e34),this;}['onRemoteAck'](_0x463ba1){if(this['_awaitingChangeset'])return this['_acknowledgedAwaitingChangeset']=this['_awaitingChangeset'],this['_awaitingChangeset']=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}['onRemoteRej'](_0x3ada6a){var _0x461306=_0x5a48c0;return this[_0x461306(0x2f6)](!!(_0x3ada6a!=null&&_0x3ada6a[_0x461306(0x231)]));}[_0x5a48c0(0x27e)](){return this;}[_0x5a48c0(0x132)](){var _0x335f3d=_0x5a48c0;return this[_0x335f3d(0x211)][_0x335f3d(0x444)](exports[_0x335f3d(0x441)],this['unitID'],this[_0x335f3d(0x315)],this[_0x335f3d(0x198)],this[_0x335f3d(0x1db)],this[_0x335f3d(0x2c9)]);}[_0x5a48c0(0x243)](){return this;}[_0x5a48c0(0x2f6)](_0x472904){var _0x4c1c9b=_0x5a48c0;return this[_0x4c1c9b(0x211)]['createInstance'](exports[_0x4c1c9b(0x1b3)],this[_0x4c1c9b(0x3dc)],this[_0x4c1c9b(0x315)],this[_0x4c1c9b(0x198)],this[_0x4c1c9b(0x1db)],this[_0x4c1c9b(0x2c9)],_0x472904);}},exports['FetchingMissState']=ce([w(0x7,a[_0x5a48c0(0xd9)](a[_0x5a48c0(0x30c)])),w(0x8,a[_0x5a48c0(0xd9)](g[_0x5a48c0(0x374)])),w(0x9,a['ILogService']),w(0xa,a[_0x5a48c0(0x206)]),w(0xb,a['IUndoRedoService']),w(0xc,g[_0x5a48c0(0x2f5)]),w(0xd,a[_0x5a48c0(0x41d)](z))],exports[_0x5a48c0(0x1d2)]);function Dt(_0x53c76a,_0x56ec39,_0x3254cc,_0x30c67f,_0x182880,_0x59a5e2){var _0x3354c8=_0x5a48c0;return _0x30c67f&&_0x182880[_0x3354c8(0x143)]?_0x53c76a[_0x3354c8(0x444)](exports[_0x3354c8(0xe6)],_0x56ec39,_0x3254cc,_0x30c67f,_0x182880,_0x59a5e2,void 0x0):_0x30c67f?_0x53c76a[_0x3354c8(0x444)](exports[_0x3354c8(0x18c)],_0x56ec39,_0x3254cc,_0x30c67f,_0x59a5e2):_0x182880['length']?_0x53c76a['createInstance'](exports[_0x3354c8(0x168)],_0x56ec39,_0x3254cc,_0x182880,_0x59a5e2):_0x53c76a[_0x3354c8(0x444)](exports[_0x3354c8(0x3c9)],_0x56ec39,_0x3254cc,_0x59a5e2);}var Ci=Object[_0x5a48c0(0xe7)],We=(_0x3e6150,_0x46cd79,_0x451d4a,_0x80f897)=>{var _0x1fdfc0=_0x5a48c0;for(var _0x3c60d6=_0x80f897>0x1?void 0x0:_0x80f897?Ci(_0x46cd79,_0x451d4a):_0x46cd79,_0x478606=_0x3e6150[_0x1fdfc0(0x143)]-0x1,_0x45eebb;_0x478606>=0x0;_0x478606--)(_0x45eebb=_0x3e6150[_0x478606])&&(_0x3c60d6=_0x45eebb(_0x3c60d6)||_0x3c60d6);return _0x3c60d6;},$=(_0x39e7db,_0xce8b2e)=>(_0x167a42,_0x31f158)=>_0xce8b2e(_0x167a42,_0x31f158,_0x39e7db);exports[_0x5a48c0(0x142)]=class extends a[_0x5a48c0(0x3bb)]{constructor(_0x14e087,_0x336078,_0x23bfe3,_0x61ae49,_0xdd291e,_0x3bcbef,_0x49ccd2,_0x29fcd3,_0x40eab1,_0x18f8f3,_0x22c577,_0xb610cb,_0x5f05ce){var _0x48d0be=_0x5a48c0;super(),A(this,'_state$',new j[(_0x48d0be(0x1d4))](null)),A(this,_0x48d0be(0x326),this[_0x48d0be(0x320)]['asObservable']()),A(this,_0x48d0be(0x276)),A(this,_0x48d0be(0x3a2),!0x1),A(this,'_changesetSessionId',''),A(this,_0x48d0be(0x30a),0x0),A(this,_0x48d0be(0x230),this[_0x48d0be(0x326)][_0x48d0be(0x1ce)](j['map'](_0x3cc5e2=>_0x3cc5e2?_0x3cc5e2[_0x48d0be(0x2bf)]:Ve[_0x48d0be(0x1fa)]),j[_0x48d0be(0x404)](0x1))),A(this,_0x48d0be(0x39f),!0x1),A(this,'_remoteChangesetQueue',[]),(this[_0x48d0be(0x3dc)]=_0x14e087,this[_0x48d0be(0x2ed)]=_0x336078,this[_0x48d0be(0x2f0)]=_0x23bfe3,this[_0x48d0be(0x211)]=_0x61ae49,this[_0x48d0be(0x3f5)]=_0xdd291e,this[_0x48d0be(0x40f)]=_0x3bcbef,this[_0x48d0be(0x42b)]=_0x49ccd2,this[_0x48d0be(0x1a7)]=_0x29fcd3,this[_0x48d0be(0x39b)]=_0x40eab1,this[_0x48d0be(0x3be)]=_0x18f8f3,this['_permissionService']=_0x22c577,this[_0x48d0be(0x1c8)]=_0xb610cb,this[_0x48d0be(0x118)]=_0x5f05ce);}get[_0x5a48c0(0x2de)](){var _0x2d3168=_0x5a48c0;return this[_0x2d3168(0x276)];}async['init'](){var _0xad47fe=_0x5a48c0;if(this['state'])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0xad47fe(0x302)]();}['pauseCollaboration'](){var _0x197789=_0x5a48c0;return this['_collaborationPaused']=!0x0,a[_0x197789(0x255)](()=>{var _0x3f02ab=_0x197789;this[_0x3f02ab(0x3a2)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x5a48c0(0x301)](_0x13a687){var _0x310fd1=_0x5a48c0;this[_0x310fd1(0x18e)](_0x13a687);}[_0x5a48c0(0x131)](_0x1921a3){var _0x3304ee=_0x5a48c0;this[_0x3304ee(0x276)]=_0x1921a3,this['_state$'][_0x3304ee(0x110)](_0x1921a3);}async['_init'](){var _0x5dc930=_0x5a48c0,_0x2643d2;this[_0x5dc930(0x131)](await this[_0x5dc930(0x21a)]()),this[_0x5dc930(0x1c8)]&&((_0x2643d2=this['_singleActiveUnitService'])==null||_0x2643d2[_0x5dc930(0x2bb)](this[_0x5dc930(0x3dc)]),this[_0x5dc930(0x439)](this[_0x5dc930(0x1c8)][_0x5dc930(0x389)](this[_0x5dc930(0x3dc)])[_0x5dc930(0x27f)](_0x278a57=>{var _0x544fdc=_0x5dc930;this['_logService']['debug'](_0x544fdc(0x41e),_0x544fdc(0x359),_0x278a57),_0x278a57===Fe[_0x544fdc(0x272)]?(this[_0x544fdc(0x1a7)][_0x544fdc(0x33e)]({'id':Q['OTHER_CLIENT_EDITING']}),this[_0x544fdc(0x1e2)][_0x544fdc(0x399)](new Z['WorkbookEditablePermission'](this[_0x544fdc(0x3dc)])['id'],!0x1),this['_permissionService']['setShowComponents'](!0x1)):(this[_0x544fdc(0x1e2)][_0x544fdc(0x399)](new Z[(_0x544fdc(0x256))](this[_0x544fdc(0x3dc)])['id'],!0x0),this[_0x544fdc(0x1e2)][_0x544fdc(0x34d)](!0x0));})));let _0x5d9e99=!0x1;return this[_0x5dc930(0x439)](this[_0x5dc930(0x2ed)][_0x5dc930(0x182)][_0x5dc930(0x27f)](_0x1317df=>{var _0x4fc681=_0x5dc930;_0x1317df===se[_0x4fc681(0x160)]?this['_toggleOnline'](_0x5d9e99):_0x1317df===se[_0x4fc681(0x1fa)]&&(_0x5d9e99=!0x0,this['_toggleOffline']());})),this[_0x5dc930(0x439)](this[_0x5dc930(0x2ed)][_0x5dc930(0x306)][_0x5dc930(0x27f)](_0x591761=>{var _0x157d31=_0x5dc930;try{switch(_0x591761[_0x157d31(0x144)]){case g[_0x157d31(0x166)]['NEW_CHANGESETS']:{this[_0x157d31(0x1b8)](g['parseProtocolChangeset'](_0x591761[_0x157d31(0x332)]));break;}case g[_0x157d31(0x166)][_0x157d31(0x378)]:{this['_onRemoteACK'](_0x591761['data']);break;}case g[_0x157d31(0x166)][_0x157d31(0x218)]:{this[_0x157d31(0x2d4)]();break;}case g[_0x157d31(0x166)]['CHANGESET_SHOULD_RETRY']:{this[_0x157d31(0x26f)](_0x591761['data']);break;}case g[_0x157d31(0x166)][_0x157d31(0x19b)]:{this[_0x157d31(0x35c)](_0x591761[_0x157d31(0x332)][_0x157d31(0x349)][_0x157d31(0x2f9)](_0x595656=>g['parseProtocolChangeset'](_0x595656)));break;}case g['CollaborationEvent']['PERMISSION_REJ']:{this[_0x157d31(0x2d4)]({'isPermissionRej':!0x0});break;}case g[_0x157d31(0x166)][_0x157d31(0x1d3)]:break;}}catch(_0x3ac152){throw console['error'](_0x157d31(0x235),_0x3ac152),_0x3ac152;}})),this[_0x5dc930(0x276)];}[_0x5a48c0(0x2be)](){this['_transitionLocked']=!0x1;}['_lockTransition'](){var _0x5e2b17=_0x5a48c0;if(this['_transitionLocked'])throw new Error(_0x5e2b17(0x436));this['_transitionLocked']=!0x0;}[_0x5a48c0(0x18e)](_0x202550){var _0x452647=_0x5a48c0;this[_0x452647(0x15e)](),this[_0x452647(0x131)](this[_0x452647(0x276)][_0x452647(0x292)](_0x202550)),this[_0x452647(0x2be)]();}['_onRemoteChangeset'](_0x314a20){var _0x4fcb81=_0x5a48c0;if(!(_0x314a20[_0x4fcb81(0x317)]<=this[_0x4fcb81(0x42b)][_0x4fcb81(0x109)](this[_0x4fcb81(0x3dc)]))){if(this[_0x4fcb81(0x3a2)]){this['_remoteChangesetQueue'][_0x4fcb81(0x437)](_0x314a20);return;}this[_0x4fcb81(0x428)](_0x314a20);}}[_0x5a48c0(0x3fa)](){var _0x55d518=_0x5a48c0;this[_0x55d518(0x395)]['forEach'](_0x234c30=>this['_applyRemoteChangeset'](_0x234c30)),this[_0x55d518(0x395)]=[];}[_0x5a48c0(0x428)](_0x433228){var _0x4a9a08=_0x5a48c0;const _0x13c6e6=this['_compressMutationService'][_0x4a9a08(0x387)][_0x4a9a08(0x331)](this[_0x4a9a08(0x3f5)][_0x4a9a08(0x387)][_0x4a9a08(0x36f)]()[_0x4a9a08(0x283)])(_0x433228[_0x4a9a08(0x430)],null)||_0x433228[_0x4a9a08(0x430)],_0x103154={..._0x433228,'mutations':_0x13c6e6};this[_0x4a9a08(0x15e)](),this[_0x4a9a08(0x131)](this[_0x4a9a08(0x276)]['onRemoteChangeset'](_0x103154)),this[_0x4a9a08(0x2be)]();}[_0x5a48c0(0x1b6)](_0x2db629){var _0x18faf0=_0x5a48c0;this[_0x18faf0(0x15e)](),this[_0x18faf0(0x131)](this[_0x18faf0(0x276)][_0x18faf0(0x14d)](_0x2db629)),this['_unlockTransition']();}[_0x5a48c0(0x2d4)](_0x42befe){var _0x4e5e78=_0x5a48c0;this[_0x4e5e78(0x15e)](),this['_updateState'](this[_0x4e5e78(0x276)]['onRemoteRej'](_0x42befe)),this[_0x4e5e78(0x2be)]();}[_0x5a48c0(0x26f)](_0x5aec34){var _0x5677db=_0x5a48c0;this['_lockTransition'](),this['_updateState'](this[_0x5677db(0x276)][_0x5677db(0x27e)](_0x5aec34)),this[_0x5677db(0x2be)]();}[_0x5a48c0(0x35c)](_0x355938){var _0x520407=_0x5a48c0;if(!(this[_0x520407(0x276)]instanceof exports[_0x520407(0x1d2)]))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x5bf3d9=_0x355938[_0x520407(0x2f9)](_0x5b71f2=>{var _0x35a784=_0x520407;const _0x29b44c=this[_0x35a784(0x3f5)][_0x35a784(0x387)][_0x35a784(0x331)](this[_0x35a784(0x3f5)]['interceptor'][_0x35a784(0x36f)]()[_0x35a784(0x283)])(_0x5b71f2[_0x35a784(0x430)],null)||_0x5b71f2[_0x35a784(0x430)];return{..._0x5b71f2,'mutations':_0x29b44c};});this[_0x520407(0x15e)](),this['_updateState'](this[_0x520407(0x276)][_0x520407(0x311)](_0x5bf3d9)),this['_unlockTransition']();}[_0x5a48c0(0x3c0)](){var _0x45dcb5=_0x5a48c0;this[_0x45dcb5(0x15e)](),this[_0x45dcb5(0x131)](this[_0x45dcb5(0x276)][_0x45dcb5(0x132)]()),this[_0x45dcb5(0x2be)]();}['_toggleOnline'](_0x108ce4=!0x1){var _0x1aad80=_0x5a48c0;this[_0x1aad80(0x15e)](),this[_0x1aad80(0x131)](this[_0x1aad80(0x276)]['toggleOnline']()),this[_0x1aad80(0x2be)]();const _0x81f7f7=this[_0x1aad80(0x276)];_0x108ce4&&_0x81f7f7 instanceof exports[_0x1aad80(0x3c9)]&&(this['_lockTransition'](),this[_0x1aad80(0x131)](_0x81f7f7[_0x1aad80(0x196)]()),this[_0x1aad80(0x2be)]());}async[_0x5a48c0(0x21a)](){return new Promise(_0x4c0209=>{var _0x92ba68=_0x5815;this[_0x92ba68(0x2ed)][_0x92ba68(0x182)][_0x92ba68(0x1ce)](j[_0x92ba68(0x1f5)](0x1))[_0x92ba68(0x27f)](async _0x2bba01=>{var _0x2487e5=_0x92ba68;_0x4c0209(await this['_createInitialStateImpl'](_0x2bba01===se[_0x2487e5(0x160)]));});});}[_0x5a48c0(0x126)](){var _0x22c6c2=_0x5a48c0;const _0x3e70cc=this[_0x22c6c2(0x3dc)];return{'onStateChange':(_0x376ddd,_0x346b99)=>{var _0x250642=_0x22c6c2;if(_0x376ddd!==this[_0x250642(0x276)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x376ddd[_0x250642(0x2bf)]+_0x250642(0x371)+_0x346b99['status']+'\x0aCurrent:\x20'+this[_0x250642(0x276)][_0x250642(0x2bf)]);this[_0x250642(0x131)](_0x346b99);},'onSendChangeset':_0x5d05a3=>{var _0x2c1a03=_0x22c6c2;_0x5d05a3[_0x2c1a03(0x390)]||(_0x5d05a3[_0x2c1a03(0x390)]=this[_0x2c1a03(0x3ab)],_0x5d05a3['reqId']=++this[_0x2c1a03(0x30a)]);const _0x323ea5={'eventID':g['CollaborationEvent'][_0x2c1a03(0x39e)],'data':{'unitID':_0x5d05a3[_0x2c1a03(0x3dc)],'unitType':this[_0x2c1a03(0x2f0)],'changeset':_0x5d05a3,'memberID':this[_0x2c1a03(0x2ed)][_0x2c1a03(0x321)]()}};this[_0x2c1a03(0x2ed)]['send'](_0x323ea5,this[_0x2c1a03(0x3dc)]);},'onMissingChangesets':({from:_0x3bd82a,to:_0x34afc7})=>{var _0xa6fc05=_0x22c6c2;this[_0xa6fc05(0x39b)][_0xa6fc05(0x3a3)](_0xa6fc05(0x41e),_0xa6fc05(0x2b3)+_0x3bd82a+'\x20to\x20'+_0x34afc7);const _0x509b2b={'eventID':g[_0xa6fc05(0x166)]['FETCH_MISSING'],'data':{'unitID':_0x3e70cc,'unitType':this[_0xa6fc05(0x2f0)],'from':_0x3bd82a,'to':_0x34afc7}};this[_0xa6fc05(0x2ed)][_0xa6fc05(0x1bd)](_0x509b2b,this[_0xa6fc05(0x3dc)]);}};}async['_createInitialStateImpl'](_0x536ee9){var _0x4fc108=_0x5a48c0,_0x4672ff,_0x3e7905,_0x3c03f1;const _0x57c7da=await((_0x4672ff=this[_0x4fc108(0x118)])==null?void 0x0:_0x4672ff['loadOfflineData'](this[_0x4fc108(0x3dc)])),_0x20bc59=(_0x3e7905=_0x57c7da==null?void 0x0:_0x57c7da[_0x4fc108(0x430)])!=null?_0x3e7905:[],_0x44fa93=(_0x3c03f1=_0x57c7da==null?void 0x0:_0x57c7da[_0x4fc108(0x259)])!=null?_0x3c03f1:null,_0x129c1f=!!(_0x44fa93!=null&&_0x44fa93['sid'])&&!!(_0x44fa93!=null&&_0x44fa93['reqId']);this[_0x4fc108(0x3ab)]=_0x129c1f?_0x44fa93[_0x4fc108(0x390)]:di(),this[_0x4fc108(0x30a)]=_0x129c1f?_0x44fa93[_0x4fc108(0x2a1)]:0x0;const _0x44bac2=this[_0x4fc108(0x3dc)];try{this[_0x4fc108(0x2dd)](_0x44fa93,_0x20bc59);}catch(_0x29393d){this[_0x4fc108(0x39b)]['error'](_0x29393d);}const _0x23146e=this['_createHandler']();if(_0x536ee9){const _0x35b3d6=Dt(this[_0x4fc108(0x211)],_0x44bac2,this[_0x4fc108(0x2f0)],_0x44fa93,_0x20bc59,_0x23146e);return _0x35b3d6 instanceof exports['PendingState']?_0x35b3d6[_0x4fc108(0x23a)]():(_0x35b3d6 instanceof exports[_0x4fc108(0xe6)]||_0x35b3d6 instanceof exports[_0x4fc108(0x18c)])&&_0x35b3d6[_0x4fc108(0x22d)](),_0x35b3d6;}return this[_0x4fc108(0x211)]['createInstance'](exports[_0x4fc108(0x441)],_0x44bac2,this[_0x4fc108(0x2f0)],_0x44fa93,_0x20bc59,_0x23146e);}[_0x5a48c0(0x2dd)](_0x118b94,_0x420da1){var _0x20de9b=_0x5a48c0,_0x1abcfc,_0xc5714a;const _0x452424=this[_0x20de9b(0x3f5)][_0x20de9b(0x387)][_0x20de9b(0x331)](this['_compressMutationService'][_0x20de9b(0x387)][_0x20de9b(0x36f)]()['COMPRESS_MUTATION_APPLY']);(_0x1abcfc=_0x452424((_0x118b94==null?void 0x0:_0x118b94[_0x20de9b(0x430)])||[],null))==null||_0x1abcfc[_0x20de9b(0x1af)](_0x3d225a=>this[_0x20de9b(0x3be)][_0x20de9b(0x26b)](_0x3d225a['id'],_0x3d225a['params'])),(_0xc5714a=_0x452424(_0x420da1||[],null))==null||_0xc5714a[_0x20de9b(0x1af)](_0x12def0=>this[_0x20de9b(0x3be)][_0x20de9b(0x26b)](_0x12def0['id'],_0x12def0['params']));}},exports[_0x5a48c0(0x142)]=We([$(0x3,a[_0x5a48c0(0xd9)](a[_0x5a48c0(0x30c)])),$(0x4,a[_0x5a48c0(0xd9)](g[_0x5a48c0(0x39c)])),$(0x5,a[_0x5a48c0(0xd9)](a[_0x5a48c0(0x27b)])),$(0x6,a['Inject'](g[_0x5a48c0(0x374)])),$(0x7,a[_0x5a48c0(0xd9)](te)),$(0x8,a[_0x5a48c0(0x2e9)]),$(0x9,a[_0x5a48c0(0x206)]),$(0xa,a[_0x5a48c0(0x330)]),$(0xb,a[_0x5a48c0(0x41d)](ve)),$(0xc,a[_0x5a48c0(0x41d)](z))],exports[_0x5a48c0(0x142)]),exports['DocCollaborationEntity']=class extends exports[_0x5a48c0(0x142)]{constructor(_0x43d48b,_0x5e5e69,_0x1bcb31,_0x2ed569,_0x20a996,_0x448def,_0x25a02e,_0x421946,_0x229ff5,_0x56cfd1,_0x517e78,_0x407768,_0x48dc33){var _0x317c04=_0x5a48c0;super(_0x43d48b,_0x1bcb31,_0x5e5e69,_0x2ed569,_0x20a996,_0x448def,_0x25a02e,_0x421946,_0x229ff5,_0x56cfd1,_0x517e78,_0x407768,_0x48dc33),A(this,'_handlerCallback',null),(this[_0x317c04(0x3dc)]=_0x43d48b,this[_0x317c04(0x315)]=_0x5e5e69);}[_0x5a48c0(0x242)](_0x21956b){this['_handlerCallback']=_0x21956b;}[_0x5a48c0(0x31c)](){this['_handlerCallback']=null,super['dispose']();}[_0x5a48c0(0x126)](){var _0x3dd826=_0x5a48c0;const _0x1b074c=super[_0x3dd826(0x126)]();return _0x1b074c[_0x3dd826(0x345)]=_0x23b76d=>{var _0x53d06f=_0x3dd826,_0x2d2741,_0x45d9c8;return(_0x45d9c8=(_0x2d2741=this['_handlerCallback'])==null?void 0x0:_0x2d2741[_0x53d06f(0x345)])==null?void 0x0:_0x45d9c8['call'](_0x2d2741,_0x23b76d);},_0x1b074c['onTransformState']=_0x2be0c0=>{var _0x3ab06d=_0x3dd826,_0x1fd396,_0x244696;return(_0x244696=(_0x1fd396=this[_0x3ab06d(0x3b6)])==null?void 0x0:_0x1fd396[_0x3ab06d(0x38a)])==null?void 0x0:_0x244696['call'](_0x1fd396,_0x2be0c0);},_0x1b074c[_0x3dd826(0xfb)]=_0x17178e=>{var _0x352070=_0x3dd826,_0x5fba0,_0x5c9df8;return(_0x5c9df8=(_0x5fba0=this[_0x352070(0x3b6)])==null?void 0x0:_0x5fba0[_0x352070(0xfb)])==null?void 0x0:_0x5c9df8['call'](_0x5fba0,_0x17178e);},_0x1b074c[_0x3dd826(0x2b4)]=_0xadecdf=>{var _0x2a8d6f=_0x3dd826,_0x5c33d2,_0x33967b;return(_0x33967b=(_0x5c33d2=this[_0x2a8d6f(0x3b6)])==null?void 0x0:_0x5c33d2['onSyncEditingCollabCursor'])==null?void 0x0:_0x33967b[_0x2a8d6f(0x3f8)](_0x5c33d2,_0xadecdf);},_0x1b074c['onTransformRemoteChangesetByIMECache']=_0x1c3966=>{var _0x26fa66=_0x3dd826,_0x29f596,_0x101fa1,_0x179dca;if(!((_0x29f596=this[_0x26fa66(0x3b6)])!=null&&_0x29f596[_0x26fa66(0x28b)]))throw new Error(_0x26fa66(0x124));return(_0x179dca=(_0x101fa1=this[_0x26fa66(0x3b6)])==null?void 0x0:_0x101fa1[_0x26fa66(0x28b)])==null?void 0x0:_0x179dca[_0x26fa66(0x3f8)](_0x101fa1,_0x1c3966);},_0x1b074c['onTransformRemoteChangesetByStateCache']=_0x1d3f30=>{var _0x3bdee5=_0x3dd826,_0x45db17,_0x1d228a,_0x1b5033;if(!((_0x45db17=this['_handlerCallback'])!=null&&_0x45db17[_0x3bdee5(0x11e)]))throw new Error(_0x3bdee5(0x308));return(_0x1b5033=(_0x1d228a=this[_0x3bdee5(0x3b6)])==null?void 0x0:_0x1d228a[_0x3bdee5(0x11e)])==null?void 0x0:_0x1b5033[_0x3bdee5(0x3f8)](_0x1d228a,_0x1d3f30);},_0x1b074c;}async[_0x5a48c0(0x302)](){var _0x5f4c01=_0x5a48c0;const _0x440833=await super[_0x5f4c01(0x302)]();return this[_0x5f4c01(0x439)](this[_0x5f4c01(0x3be)][_0x5f4c01(0x30f)]((_0x5afe23,_0x1ab188)=>{var _0x420bbe=_0x5f4c01;if(_0x5afe23[_0x420bbe(0x315)]!==a[_0x420bbe(0xfa)][_0x420bbe(0x414)]||_0x1ab188!=null&&_0x1ab188[_0x420bbe(0x2ee)]||_0x1ab188!=null&&_0x1ab188[_0x420bbe(0x367)]||_0x5afe23['id']===ut[_0x420bbe(0x432)]['id'])return;const _0x1b91a=_0x5afe23[_0x420bbe(0x2cd)];if((_0x1b91a==null?void 0x0:_0x1b91a[_0x420bbe(0x1cb)])!==this[_0x420bbe(0x3dc)])return;const _0x4623c0=_0x5afe23,_0x351a3c=this[_0x420bbe(0x3f5)][_0x420bbe(0x387)]['fetchThroughInterceptors'](this[_0x420bbe(0x3f5)]['interceptor'][_0x420bbe(0x36f)]()['COMPRESS_MUTATION_SEND'])([_0x4623c0],null)||[_0x4623c0];this[_0x420bbe(0x18e)](_0x351a3c[0x0]);})),_0x440833;}},exports[_0x5a48c0(0x356)]=We([$(0x3,a['Inject'](a[_0x5a48c0(0x30c)])),$(0x4,a[_0x5a48c0(0xd9)](g[_0x5a48c0(0x39c)])),$(0x5,a[_0x5a48c0(0xd9)](a[_0x5a48c0(0x27b)])),$(0x6,a[_0x5a48c0(0xd9)](g[_0x5a48c0(0x374)])),$(0x7,a[_0x5a48c0(0xd9)](te)),$(0x8,a['ILogService']),$(0x9,a[_0x5a48c0(0x206)]),$(0xa,a[_0x5a48c0(0x330)]),$(0xb,a[_0x5a48c0(0x41d)](ve)),$(0xc,a[_0x5a48c0(0x41d)](z))],exports[_0x5a48c0(0x356)]),exports[_0x5a48c0(0x3ad)]=class extends exports[_0x5a48c0(0x142)]{constructor(_0xe4c0be,_0x590e70,_0x12ab40,_0x4a001f,_0x100692,_0x275fd4,_0x1ae7c7,_0x2c3903,_0xb6b3,_0x53e029,_0x2a36c3,_0x19215c,_0x357d47,_0x212fcd){var _0x5700ab=_0x5a48c0;super(_0xe4c0be,_0x12ab40,_0x590e70,_0x4a001f,_0x100692,_0x275fd4,_0x1ae7c7,_0xb6b3,_0x53e029,_0x2a36c3,_0x19215c,_0x357d47,_0x212fcd),this[_0x5700ab(0x3dc)]=_0xe4c0be,this[_0x5700ab(0x315)]=_0x590e70,this[_0x5700ab(0xf4)]=_0x2c3903;}[_0x5a48c0(0x126)](){var _0x1c08a9=_0x5a48c0;const _0x4e9020=super[_0x1c08a9(0x126)]();return _0x4e9020[_0x1c08a9(0xfb)]=_0x50c25e=>this[_0x1c08a9(0xf4)][_0x1c08a9(0x342)](_0x50c25e),_0x4e9020;}async[_0x5a48c0(0x302)](){var _0x1466d5=_0x5a48c0;const _0x219292=await super[_0x1466d5(0x302)]();return this[_0x1466d5(0x439)](this[_0x1466d5(0x3be)][_0x1466d5(0x30f)]((_0x401568,_0x5b5fd6)=>{var _0x1b5852=_0x1466d5;if(_0x401568[_0x1b5852(0x315)]!==a[_0x1b5852(0xfa)][_0x1b5852(0x414)]||_0x5b5fd6!=null&&_0x5b5fd6[_0x1b5852(0x2ee)]||_0x5b5fd6!=null&&_0x5b5fd6[_0x1b5852(0x367)])return;const _0x553d0f=_0x401568[_0x1b5852(0x2cd)];if((_0x553d0f==null?void 0x0:_0x553d0f['unitId'])!==this[_0x1b5852(0x3dc)])return;const _0xed0fa0=_0x401568,_0x4c7fa1=this['_compressMutationService'][_0x1b5852(0x387)]['fetchThroughInterceptors'](this[_0x1b5852(0x3f5)][_0x1b5852(0x387)]['getInterceptPoints']()[_0x1b5852(0x138)])([_0xed0fa0],null)||[_0xed0fa0];this[_0x1b5852(0x18e)](_0x4c7fa1[0x0]);})),_0x219292;}},exports[_0x5a48c0(0x3ad)]=We([$(0x3,a[_0x5a48c0(0xd9)](a[_0x5a48c0(0x30c)])),$(0x4,a[_0x5a48c0(0xd9)](g[_0x5a48c0(0x39c)])),$(0x5,a[_0x5a48c0(0xd9)](a['LocaleService'])),$(0x6,a[_0x5a48c0(0xd9)](g[_0x5a48c0(0x374)])),$(0x7,a['Inject'](exports['SheetTransformSelectionsService'])),$(0x8,a[_0x5a48c0(0xd9)](te)),$(0x9,a[_0x5a48c0(0x2e9)]),$(0xa,a[_0x5a48c0(0x206)]),$(0xb,a['IPermissionService']),$(0xc,a[_0x5a48c0(0x41d)](ve)),$(0xd,a['Optional'](z))],exports[_0x5a48c0(0x3ad)]);var Ti=Object['getOwnPropertyDescriptor'],bi=(_0x50a83b,_0x56a4b8,_0x4a9224,_0x401116)=>{for(var _0x1b6329=_0x401116>0x1?void 0x0:_0x401116?Ti(_0x56a4b8,_0x4a9224):_0x56a4b8,_0x1867e8=_0x50a83b['length']-0x1,_0x1a9ec6;_0x1867e8>=0x0;_0x1867e8--)(_0x1a9ec6=_0x50a83b[_0x1867e8])&&(_0x1b6329=_0x1a9ec6(_0x1b6329)||_0x1b6329);return _0x1b6329;},Pe=(_0x1d74c4,_0x45f267)=>(_0x1b2428,_0x33373d)=>_0x45f267(_0x1b2428,_0x33373d,_0x1d74c4);exports[_0x5a48c0(0x141)]=class extends a[_0x5a48c0(0x3bb)]{constructor(_0x438adc,_0x99b153,_0x26347a){var _0x3abc4b=_0x5a48c0;super(),A(this,'_entities',new Map()),A(this,'_entityInit$',new j[(_0x3abc4b(0x426))]()),A(this,_0x3abc4b(0x1ea),this[_0x3abc4b(0x3b8)]['asObservable']()),(this[_0x3abc4b(0x211)]=_0x438adc,this[_0x3abc4b(0x297)]=_0x99b153,this['_univerInstanceService']=_0x26347a,this[_0x3abc4b(0x302)]());}[_0x5a48c0(0x31c)](){var _0x3d7d55=_0x5a48c0;super['dispose'](),this[_0x3d7d55(0x31f)][_0x3d7d55(0x1af)](_0x17f5e5=>_0x17f5e5[_0x3d7d55(0x31c)]()),this['_entities'][_0x3d7d55(0x380)]();}[_0x5a48c0(0xfe)](_0x1f6d83){var _0x5cb15c=_0x5a48c0,_0x28ae73;return(_0x28ae73=this[_0x5cb15c(0x31f)][_0x5cb15c(0x39a)](_0x1f6d83))!=null?_0x28ae73:null;}['getCollabEntity$'](_0x3121ab){var _0x474890=_0x5a48c0;const _0x3cf386=this['getCollabEntity'](_0x3121ab);return _0x3cf386?j['of'](_0x3cf386):this['_entityInit$'][_0x474890(0x1ce)](V[_0x474890(0x15a)](_0x418b3b=>_0x418b3b[_0x474890(0x3dc)]===_0x3121ab));}['readyForCollab'](_0x5f28c3){var _0x236942=_0x5a48c0;return j[_0x236942(0xdd)](this[_0x236942(0x224)](_0x5f28c3)[_0x236942(0x1ce)](V[_0x236942(0x2f9)](()=>{})));}[_0x5a48c0(0x302)](){var _0x305767=_0x5a48c0;this[_0x305767(0x421)]['getTypeOfUnitAdded$'](a[_0x305767(0x442)][_0x305767(0x3b2)])[_0x305767(0x1ce)](j['takeUntil'](this[_0x305767(0x2e3)]),V['delay'](0x10))[_0x305767(0x27f)](async _0x2496fe=>{var _0x37489a=_0x305767;const _0x400bab=_0x2496fe[_0x37489a(0x123)](),_0x51fd1e=await this[_0x37489a(0x2c5)](_0x400bab,X['UNIVER_SHEET']);this[_0x37489a(0x31f)][_0x37489a(0x3d5)](_0x400bab,_0x51fd1e);}),this[_0x305767(0x421)][_0x305767(0x204)](a[_0x305767(0x442)][_0x305767(0x327)])[_0x305767(0x1ce)](j[_0x305767(0x136)](this[_0x305767(0x2e3)]),V[_0x305767(0x187)](0x10))[_0x305767(0x1ce)](V[_0x305767(0x15a)](_0x52bc96=>!_0x52bc96[_0x305767(0x123)]()[_0x305767(0x3dd)]('__')))[_0x305767(0x27f)](async _0x1d9a78=>{var _0x163c0b=_0x305767;const _0x558922=_0x1d9a78[_0x163c0b(0x123)](),_0x1ac020=await this[_0x163c0b(0x2c5)](_0x558922,X[_0x163c0b(0x327)]);this[_0x163c0b(0x31f)][_0x163c0b(0x3d5)](_0x558922,_0x1ac020);}),j[_0x305767(0x149)](this[_0x305767(0x421)][_0x305767(0x3fb)](a[_0x305767(0x442)][_0x305767(0x3b2)]),this[_0x305767(0x421)][_0x305767(0x3fb)](a[_0x305767(0x442)][_0x305767(0x327)]))[_0x305767(0x1ce)](j[_0x305767(0x136)](this[_0x305767(0x2e3)]))[_0x305767(0x27f)](_0x182afd=>{var _0x423181=_0x305767;const _0x39afa9=_0x182afd[_0x423181(0x123)](),_0x185f42=this['_entities'][_0x423181(0x39a)](_0x39afa9);_0x185f42&&(_0x185f42[_0x423181(0x31c)](),this['_entities'][_0x423181(0x385)](_0x39afa9));});}async[_0x5a48c0(0x2c5)](_0x23150e,_0x2c17e0){var _0x1435c3=_0x5a48c0;const _0x287fd1=await this[_0x1435c3(0x297)][_0x1435c3(0x11b)](_0x23150e),_0xd6d6e4=this[_0x1435c3(0x211)][_0x1435c3(0x444)](this[_0x1435c3(0x286)](_0x2c17e0),_0x23150e,_0x2c17e0,_0x287fd1);return await _0xd6d6e4[_0x1435c3(0x261)](),this['_entityInit$']['next'](_0xd6d6e4),_0xd6d6e4;}[_0x5a48c0(0x286)](_0xe41445){var _0x19a0f8=_0x5a48c0;switch(_0xe41445){case X[_0x19a0f8(0x327)]:return exports['DocCollaborationEntity'];case X['UNIVER_SHEET']:return exports[_0x19a0f8(0x3ad)];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0xe41445);}}},exports[_0x5a48c0(0x141)]=bi([Pe(0x0,a['Inject'](a[_0x5a48c0(0x30c)])),Pe(0x1,a[_0x5a48c0(0xd9)](exports[_0x5a48c0(0x155)])),Pe(0x2,a['IUniverInstanceService'])],exports[_0x5a48c0(0x141)]);var Ri=Object[_0x5a48c0(0xe7)],Oi=(_0x57d40f,_0x55ce5c,_0x183175,_0x50b8f8)=>{var _0x42f0c9=_0x5a48c0;for(var _0x6e2565=_0x50b8f8>0x1?void 0x0:_0x50b8f8?Ri(_0x55ce5c,_0x183175):_0x55ce5c,_0x357f87=_0x57d40f[_0x42f0c9(0x143)]-0x1,_0x54598c;_0x357f87>=0x0;_0x357f87--)(_0x54598c=_0x57d40f[_0x357f87])&&(_0x6e2565=_0x54598c(_0x6e2565)||_0x6e2565);return _0x6e2565;},Je=(_0x13772e,_0x14fbb6)=>(_0x21a896,_0x38ae3c)=>_0x14fbb6(_0x21a896,_0x38ae3c,_0x13772e);const yi=_0x5a48c0(0x25f),Ni=_0x5a48c0(0x158);let He=class extends a[_0x5a48c0(0x362)]{constructor(_0x78fe16,_0x2472bb){var _0x103bba=_0x5a48c0;super(),this[_0x103bba(0x421)]=_0x78fe16,this[_0x103bba(0x41a)]=_0x2472bb,this[_0x103bba(0x302)]();}[_0x5a48c0(0x302)](){var _0x3ef0ab=_0x5a48c0;this[_0x3ef0ab(0x439)](this[_0x3ef0ab(0x421)][_0x3ef0ab(0xfc)][_0x3ef0ab(0x27f)](()=>{var _0x29fe7a=_0x3ef0ab,_0x2d236a;const _0x1de4ae=this['_univerInstanceService'][_0x29fe7a(0x2af)]();let _0x20a328=(_0x2d236a=this[_0x29fe7a(0x41a)][_0x29fe7a(0x2d1)](yi))!=null?_0x2d236a:Ni;_0x1de4ae instanceof a[_0x29fe7a(0x1ca)]&&(_0x20a328=_0x1de4ae[_0x29fe7a(0x122)]),document[_0x29fe7a(0x20d)]=_0x20a328;}));}};He=Oi([Je(0x0,a['IUniverInstanceService']),Je(0x1,a[_0x5a48c0(0x244)])],He);var Di=Object[_0x5a48c0(0xe7)],Ui=(_0x2bc6be,_0x41e96d,_0x372bd5,_0x4c8e9c)=>{for(var _0x4422a6=_0x4c8e9c>0x1?void 0x0:_0x4c8e9c?Di(_0x41e96d,_0x372bd5):_0x41e96d,_0x2be6bc=_0x2bc6be['length']-0x1,_0x76643b;_0x2be6bc>=0x0;_0x2be6bc--)(_0x76643b=_0x2bc6be[_0x2be6bc])&&(_0x4422a6=_0x76643b(_0x4422a6)||_0x4422a6);return _0x4422a6;},we=(_0x12fa17,_0x3c5b6d)=>(_0x7f385e,_0x2c39ec)=>_0x3c5b6d(_0x7f385e,_0x2c39ec,_0x12fa17);let ye=class{constructor(_0x5df303,_0x5eff9b,_0xc3b675){var _0x5a149a=_0x5a48c0;this[_0x5a149a(0x41a)]=_0x5df303,this['_httpService']=_0x5eff9b,this[_0x5a149a(0x318)]=_0xc3b675,this['init']();}[_0x5a48c0(0x261)](){var _0x1f204e=_0x5a48c0;this[_0x1f204e(0x26a)][_0x1f204e(0x3d7)]({'priority':0x1,'interceptor':(_0x1ed653,_0x41109d)=>_0x41109d(_0x1ed653)['pipe'](j[_0x1f204e(0x2f2)](async _0x30b6ed=>{var _0x50026e=_0x1f204e;const _0x2a140e=_0x30b6ed;if(_0x2a140e[_0x50026e(0x2bf)]===0x191){if(typeof window>'u')throw new Error(_0x50026e(0x201));if(window['confirm'](this[_0x50026e(0x318)]['t'](_0x50026e(0x105)))){const _0xc3ab23=window[_0x50026e(0x383)](window[_0x50026e(0x435)]['href']);window[_0x50026e(0x435)]['href']=this['_getLoginPath']()+'?url='+_0xc3ab23;}}return _0x2a140e;}))});}[_0x5a48c0(0x2da)](){var _0x5f5d32=_0x5a48c0,_0x5670fd,_0x18504b;const _0xcee17a=this['_configService'][_0x5f5d32(0x2d1)](Et),_0x41849e=this['_configService'][_0x5f5d32(0x2d1)](Y);return(_0x18504b=(_0x5670fd=_0x41849e==null?void 0x0:_0x41849e[_0x5f5d32(0x188)])!=null?_0x5670fd:_0xcee17a)!=null?_0x18504b:Yt;}};ye=Ui([we(0x0,a[_0x5a48c0(0x244)]),we(0x1,a[_0x5a48c0(0xd9)](q[_0x5a48c0(0x216)])),we(0x2,a[_0x5a48c0(0xd9)](a['LocaleService']))],ye);var Ai=Object[_0x5a48c0(0xe7)],Pi=(_0xaba210,_0x4e26f6,_0x1b57d0,_0x27f849)=>{for(var _0x4571f9=_0x27f849>0x1?void 0x0:_0x27f849?Ai(_0x4e26f6,_0x1b57d0):_0x4e26f6,_0x34bc58=_0xaba210['length']-0x1,_0x22d8a9;_0x34bc58>=0x0;_0x34bc58--)(_0x22d8a9=_0xaba210[_0x34bc58])&&(_0x4571f9=_0x22d8a9(_0x4571f9)||_0x4571f9);return _0x4571f9;},Xe=(_0x318311,_0x3323df)=>(_0x4f470c,_0x25fe7e)=>_0x3323df(_0x4f470c,_0x25fe7e,_0x318311);const Ge='AUTHZ_URL_KEY',wi=_0x5a48c0(0x153);exports[_0x5a48c0(0xf3)]=class extends a[_0x5a48c0(0x362)]{constructor(_0x197ca5,_0x4022d2){var _0x2cc0b8=_0x5a48c0;super(),this[_0x2cc0b8(0xf2)]=_0x197ca5,this[_0x2cc0b8(0x41a)]=_0x4022d2,this[_0x2cc0b8(0x405)]();}[_0x5a48c0(0x405)](){var _0x20d336=_0x5a48c0;const _0x6a3d30=this;this[_0x20d336(0x439)](this[_0x20d336(0xf2)][_0x20d336(0x3d7)]({'priority':0x3e7,'interceptor':q[_0x20d336(0x1d6)]({'isMatch'(_0x3d2227){var _0x2139ca=_0x20d336,_0x5d5541;if(_0x3d2227['method']==='POST'&&((_0x5d5541=_0x3d2227['requestParams'])!=null&&_0x5d5541[_0x2139ca(0x14a)])){const {objectID:_0x302118,objectType:_0x243fc3}=_0x3d2227['requestParams'][_0x2139ca(0x14a)]||{};if(!_0x302118||_0x243fc3===void 0x0)return!0x1;const _0x5844d6=_0x6a3d30[_0x2139ca(0x1bb)]()+'/'+_0x243fc3+_0x2139ca(0x223)+_0x302118+'/allowed';if(_0x3d2227['url']===_0x5844d6)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x18d498){var _0x2dcbe0=_0x20d336,_0x417f85;return(_0x417f85=_0x18d498['requestParams'])==null?void 0x0:_0x417f85[_0x2dcbe0(0x14a)];},'mergeParamsToRequest'(_0x20b815,_0x3f02b7){var _0x28b706=_0x20d336;const _0x1cb617=_0x6a3d30['_getAPIPrefixPath']()+'/-/object/-/batch_allowed',_0x443954=_0x20b815[_0x28b706(0xe3)]((_0xe33f5a,_0x431950)=>{const {unitID:_0x50159a,objectID:_0x3e6644,objectType:_0x48ab8c,actions:_0x332b9b}=_0x431950;return _0xe33f5a[_0x50159a]||(_0xe33f5a[_0x50159a]={}),_0xe33f5a[_0x50159a][_0x3e6644]||(_0xe33f5a[_0x50159a][_0x3e6644]={'objectID':_0x3e6644,'objectType':_0x48ab8c,'actions':[]}),_0xe33f5a[_0x50159a][_0x3e6644]['actions']['push'](..._0x332b9b),_0xe33f5a;},{}),_0x442a25=[];for(const _0x3ad85b in _0x443954)for(const _0x1eb180 in _0x443954[_0x3ad85b]){const {actions:_0x28d5f8,objectType:_0x5f098b}=_0x443954[_0x3ad85b][_0x1eb180],_0x567fe6=[...new Set(_0x28d5f8)];_0x442a25[_0x28b706(0x437)]({'unitID':_0x3ad85b,'objectID':_0x1eb180,'objectType':_0x5f098b,'actions':_0x567fe6});}return new q[(_0x28b706(0x1f3))](_0x28b706(0x205),_0x1cb617,{'headers':_0x3f02b7[_0x28b706(0x34a)],'withCredentials':_0x3f02b7[_0x28b706(0x21b)],'responseType':_0x3f02b7[_0x28b706(0x234)],'body':{'requests':_0x442a25}});}},{'distributeResult'(_0x5812d7,_0x10e626){var _0x297118=_0x20d336;const {objectActions:_0x5ef16e}=_0x5812d7;return _0x10e626[_0x297118(0x2f9)](_0x42fd74=>{var _0x110b90=_0x297118;const {unitID:_0x3d4ac5,objectID:_0x83fc7c,actions:_0x338d1e}=_0x42fd74,_0xf59e32=_0x5ef16e[_0x110b90(0x1d1)](_0x544c80=>_0x544c80[_0x110b90(0x3dc)]===_0x3d4ac5&&_0x544c80[_0x110b90(0x434)]===_0x83fc7c),_0xab4d66=_0x338d1e[_0x110b90(0x2f9)](_0xa82897=>_0xf59e32==null?void 0x0:_0xf59e32['actions'][_0x110b90(0x1d1)](_0x47b06f=>_0x47b06f['action']===_0xa82897))[_0x110b90(0x15a)](_0x5d6397=>!!_0x5d6397);return{'config':_0x42fd74,'result':{'actions':_0xab4d66,'error':_0x5812d7['error']}};});}})}));}[_0x5a48c0(0x1bb)](){var _0x2965e7=_0x5a48c0,_0x566c27,_0x1a90f6;const _0x93d5dc=this['_configService']['getConfig'](Ge),_0x52358a=this[_0x2965e7(0x41a)][_0x2965e7(0x2d1)](Y);return(_0x1a90f6=(_0x566c27=_0x52358a==null?void 0x0:_0x52358a[_0x2965e7(0x1b9)])!=null?_0x566c27:_0x93d5dc)!=null?_0x1a90f6:wi;}async[_0x5a48c0(0x2a8)](_0x17b22e){var _0x196de4=_0x5a48c0;const _0x35c1db=this[_0x196de4(0x1bb)]()+'/'+_0x17b22e['objectType']+'/object';return(await this[_0x196de4(0xf2)]['post'](_0x35c1db,{'body':_0x17b22e}))['body'][_0x196de4(0x434)]||'';}async[_0x5a48c0(0x24a)](_0x565f0f){var _0x3f85c8=_0x5a48c0;const _0x184912=this[_0x3f85c8(0x1bb)]()+_0x3f85c8(0xf6);return(await this[_0x3f85c8(0xf2)][_0x3f85c8(0x249)](_0x184912,{'body':_0x565f0f}))['body'][_0x3f85c8(0x2c0)];}async[_0x5a48c0(0x101)](_0x17c61c){var _0x468554=_0x5a48c0,_0x4aaf17,_0x917106;const _0x8d6243=this[_0x468554(0x1bb)]()+'/'+_0x17c61c[_0x468554(0x375)]+_0x468554(0x223)+_0x17c61c[_0x468554(0x434)],_0x18bb1d=await this[_0x468554(0xf2)][_0x468554(0x167)](_0x8d6243,{'body':_0x17c61c});if(((_0x917106=(_0x4aaf17=_0x18bb1d==null?void 0x0:_0x18bb1d[_0x468554(0x14a)])==null?void 0x0:_0x4aaf17[_0x468554(0x16f)])==null?void 0x0:_0x917106[_0x468554(0x25e)])!==0x1)throw new Error(_0x468554(0x44c));}async[_0x5a48c0(0x117)](_0x10c6c2){var _0x1deb03=_0x5a48c0;const _0x563c08=this[_0x1deb03(0x1bb)]()+'/'+_0x10c6c2[_0x1deb03(0x375)]+_0x1deb03(0x223)+_0x10c6c2[_0x1deb03(0x434)]+_0x1deb03(0x309);return(await this['_HTTPService']['post'](_0x563c08,{'body':_0x10c6c2}))['body'][_0x1deb03(0x278)];}async[_0x5a48c0(0x1e1)](_0x84e2bd){var _0x4dc719=_0x5a48c0;const _0x3e0214=this[_0x4dc719(0x1bb)]()+_0x4dc719(0x185);return(await this[_0x4dc719(0xf2)][_0x4dc719(0x249)](_0x3e0214,{'body':{'requests':_0x84e2bd}}))[_0x4dc719(0x14a)]['objectActions'];}async[_0x5a48c0(0x3c4)](_0x10d538){var _0x628fc9=_0x5a48c0;const _0x28832d=this[_0x628fc9(0x1bb)]()+'/'+_0x10d538[_0x628fc9(0x375)]+_0x628fc9(0x429),_0x13435a=await this[_0x628fc9(0xf2)][_0x628fc9(0x249)](_0x28832d,{'body':_0x10d538});return{'roles':_0x13435a[_0x628fc9(0x14a)][_0x628fc9(0x173)],'actions':_0x13435a['body']['actions']};}async['deleteCollaborator'](_0x27bac4){var _0x5dde90=_0x5a48c0;const _0x3cb3a9=this[_0x5dde90(0x1bb)]()+_0x5dde90(0x40b);await this['_HTTPService'][_0x5dde90(0x385)](_0x3cb3a9,{'params':{'collaboratorID':_0x27bac4[_0x5dde90(0x382)],'objectID':_0x27bac4['objectID'],'unitID':_0x27bac4[_0x5dde90(0x3dc)]}});}async['updateCollaborator'](_0x3b639b){var _0x3e6edc=_0x5a48c0;const _0x4647f5=this[_0x3e6edc(0x1bb)]()+_0x3e6edc(0x40b);await this[_0x3e6edc(0xf2)][_0x3e6edc(0x273)](_0x4647f5,{'body':_0x3b639b});}async[_0x5a48c0(0x20e)](_0x3b52e9){var _0x2abb6b=_0x5a48c0;const _0xeeff95=this[_0x2abb6b(0x1bb)]()+_0x2abb6b(0x40b);await this[_0x2abb6b(0xf2)][_0x2abb6b(0x249)](_0xeeff95,{'body':_0x3b52e9});}async[_0x5a48c0(0x3b9)](_0x5eac7b){var _0x3bd6df=_0x5a48c0;const _0x404f4d=this[_0x3bd6df(0x1bb)]()+'/collaborator';return(await this['_HTTPService'][_0x3bd6df(0x39a)](_0x404f4d,{'params':{'objectID':_0x5eac7b[_0x3bd6df(0x434)],'unitID':_0x5eac7b[_0x3bd6df(0x3dc)]}}))[_0x3bd6df(0x14a)][_0x3bd6df(0x312)];}async[_0x5a48c0(0xe2)](_0x4bc5a3){var _0x17d018=_0x5a48c0;const _0x4f24a4=this[_0x17d018(0x1bb)]()+'/collaborator';await this[_0x17d018(0xf2)]['put'](_0x4f24a4,{'body':_0x4bc5a3});}},exports['AuthzIoHttpService']=Pi([Xe(0x0,a['Inject'](q[_0x5a48c0(0x216)])),Xe(0x1,a[_0x5a48c0(0xd9)](a[_0x5a48c0(0x244)]))],exports[_0x5a48c0(0xf3)]);var Le=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function Se(_0x30a5c3){var _0x301fba=_0x5a48c0;return _0x30a5c3&&_0x30a5c3[_0x301fba(0x37f)]&&Object['prototype']['hasOwnProperty'][_0x301fba(0x3f8)](_0x30a5c3,_0x301fba(0x423))?_0x30a5c3[_0x301fba(0x423)]:_0x30a5c3;}var fe={'exports':{}};function Li(_0x4c9374){var _0x5d86d5=_0x5a48c0;throw new Error(_0x5d86d5(0x38b)+_0x4c9374+_0x5d86d5(0x2d0));}var pe={'exports':{}},Mi=pe[_0x5a48c0(0x1df)],Ze;function ee(){var _0x161dec=_0x5a48c0;return Ze||(Ze=0x1,function(_0x4312f5,_0x2c6ede){(function(_0x2527ca,_0x1b5370){var _0x49bc55=_0x5815;_0x4312f5[_0x49bc55(0x1df)]=_0x1b5370();}(Mi,function(){var _0xe3384c=_0xe3384c||function(_0x5965d6,_0x4149ab){var _0x521267=_0x5815,_0x180efd;if(typeof window<'u'&&window[_0x521267(0x22e)]&&(_0x180efd=window[_0x521267(0x22e)]),typeof self<'u'&&self[_0x521267(0x22e)]&&(_0x180efd=self[_0x521267(0x22e)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x180efd=globalThis[_0x521267(0x22e)]),!_0x180efd&&typeof window<'u'&&window[_0x521267(0x1e9)]&&(_0x180efd=window[_0x521267(0x1e9)]),!_0x180efd&&typeof Le<'u'&&Le[_0x521267(0x22e)]&&(_0x180efd=Le[_0x521267(0x22e)]),!_0x180efd&&typeof Li==_0x521267(0x3af))try{_0x180efd=require(_0x521267(0x22e));}catch{}var _0x11ef4a=function(){var _0x57aea3=_0x521267;if(_0x180efd){if(typeof _0x180efd[_0x57aea3(0x2a0)]=='function')try{return _0x180efd['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x180efd[_0x57aea3(0x209)]==_0x57aea3(0x3af))try{return _0x180efd[_0x57aea3(0x209)](0x4)[_0x57aea3(0x3e3)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x19f13c=Object[_0x521267(0x2a8)]||(function(){function _0x573c00(){}return function(_0x1ee39f){var _0x598cb7=_0x5815,_0x2019dc;return _0x573c00[_0x598cb7(0x2f8)]=_0x1ee39f,_0x2019dc=new _0x573c00(),_0x573c00[_0x598cb7(0x2f8)]=null,_0x2019dc;};}()),_0x304f4c={},_0x11c95d=_0x304f4c[_0x521267(0x2c4)]={},_0x2cfb9f=_0x11c95d[_0x521267(0x3f9)]=(function(){return{'extend':function(_0x2f1e41){var _0x375577=_0x5815,_0x277378=_0x19f13c(this);return _0x2f1e41&&_0x277378[_0x375577(0x247)](_0x2f1e41),(!_0x277378[_0x375577(0x354)](_0x375577(0x261))||this[_0x375577(0x261)]===_0x277378[_0x375577(0x261)])&&(_0x277378[_0x375577(0x261)]=function(){var _0xb4c79f=_0x375577;_0x277378[_0xb4c79f(0x3f4)]['init'][_0xb4c79f(0x36c)](this,arguments);}),_0x277378[_0x375577(0x261)]['prototype']=_0x277378,_0x277378[_0x375577(0x3f4)]=this,_0x277378;},'create':function(){var _0x2c910a=_0x5815,_0x269c92=this[_0x2c910a(0x1e0)]();return _0x269c92[_0x2c910a(0x261)]['apply'](_0x269c92,arguments),_0x269c92;},'init':function(){},'mixIn':function(_0x3ed416){var _0x162d11=_0x5815;for(var _0x326f8e in _0x3ed416)_0x3ed416[_0x162d11(0x354)](_0x326f8e)&&(this[_0x326f8e]=_0x3ed416[_0x326f8e]);_0x3ed416['hasOwnProperty'](_0x162d11(0x232))&&(this[_0x162d11(0x232)]=_0x3ed416['toString']);},'clone':function(){var _0x2303df=_0x5815;return this[_0x2303df(0x261)][_0x2303df(0x2f8)]['extend'](this);}};}()),_0x2149ab=_0x11c95d['WordArray']=_0x2cfb9f[_0x521267(0x1e0)]({'init':function(_0x22e915,_0x29781a){var _0x44463b=_0x521267;_0x22e915=this[_0x44463b(0x370)]=_0x22e915||[],_0x29781a!=_0x4149ab?this[_0x44463b(0x296)]=_0x29781a:this['sigBytes']=_0x22e915[_0x44463b(0x143)]*0x4;},'toString':function(_0x49c3ae){var _0x3adca9=_0x521267;return(_0x49c3ae||_0x340813)[_0x3adca9(0x208)](this);},'concat':function(_0x58cfe1){var _0x3d27f7=_0x521267,_0x1e86d9=this[_0x3d27f7(0x370)],_0x444b67=_0x58cfe1[_0x3d27f7(0x370)],_0x3e8826=this['sigBytes'],_0x480969=_0x58cfe1['sigBytes'];if(this['clamp'](),_0x3e8826%0x4)for(var _0x5bd275=0x0;_0x5bd275<_0x480969;_0x5bd275++){var _0x5a083f=_0x444b67[_0x5bd275>>>0x2]>>>0x18-_0x5bd275%0x4*0x8&0xff;_0x1e86d9[_0x3e8826+_0x5bd275>>>0x2]|=_0x5a083f<<0x18-(_0x3e8826+_0x5bd275)%0x4*0x8;}else{for(var _0x5e3ac0=0x0;_0x5e3ac0<_0x480969;_0x5e3ac0+=0x4)_0x1e86d9[_0x3e8826+_0x5e3ac0>>>0x2]=_0x444b67[_0x5e3ac0>>>0x2];}return this[_0x3d27f7(0x296)]+=_0x480969,this;},'clamp':function(){var _0x363c21=_0x521267,_0x42d88e=this[_0x363c21(0x370)],_0x1e2522=this['sigBytes'];_0x42d88e[_0x1e2522>>>0x2]&=0xffffffff<<0x20-_0x1e2522%0x4*0x8,_0x42d88e[_0x363c21(0x143)]=_0x5965d6[_0x363c21(0x2ac)](_0x1e2522/0x4);},'clone':function(){var _0x559ac8=_0x521267,_0x2f7882=_0x2cfb9f['clone'][_0x559ac8(0x3f8)](this);return _0x2f7882[_0x559ac8(0x370)]=this[_0x559ac8(0x370)][_0x559ac8(0x1ee)](0x0),_0x2f7882;},'random':function(_0x305898){var _0x52ac25=_0x521267;for(var _0x384252=[],_0x379c7=0x0;_0x379c7<_0x305898;_0x379c7+=0x4)_0x384252[_0x52ac25(0x437)](_0x11ef4a());return new _0x2149ab[(_0x52ac25(0x261))](_0x384252,_0x305898);}}),_0x1b15c6=_0x304f4c['enc']={},_0x340813=_0x1b15c6[_0x521267(0x137)]={'stringify':function(_0x5ed81e){var _0x3e75bb=_0x521267;for(var _0x52130c=_0x5ed81e[_0x3e75bb(0x370)],_0x228422=_0x5ed81e['sigBytes'],_0x478783=[],_0x1e06e6=0x0;_0x1e06e6<_0x228422;_0x1e06e6++){var _0x5a780d=_0x52130c[_0x1e06e6>>>0x2]>>>0x18-_0x1e06e6%0x4*0x8&0xff;_0x478783[_0x3e75bb(0x437)]((_0x5a780d>>>0x4)['toString'](0x10)),_0x478783['push']((_0x5a780d&0xf)[_0x3e75bb(0x232)](0x10));}return _0x478783['join']('');},'parse':function(_0xa79e85){var _0x906691=_0x521267;for(var _0x2f3eeb=_0xa79e85[_0x906691(0x143)],_0x681444=[],_0x141142=0x0;_0x141142<_0x2f3eeb;_0x141142+=0x2)_0x681444[_0x141142>>>0x3]|=parseInt(_0xa79e85[_0x906691(0x19d)](_0x141142,0x2),0x10)<<0x18-_0x141142%0x8*0x4;return new _0x2149ab['init'](_0x681444,_0x2f3eeb/0x2);}},_0x488f41=_0x1b15c6[_0x521267(0x1f2)]={'stringify':function(_0x216bd9){var _0xf9cb45=_0x521267;for(var _0x49247f=_0x216bd9['words'],_0x247b04=_0x216bd9[_0xf9cb45(0x296)],_0x2d6e8a=[],_0x7d0733=0x0;_0x7d0733<_0x247b04;_0x7d0733++){var _0x1cdb77=_0x49247f[_0x7d0733>>>0x2]>>>0x18-_0x7d0733%0x4*0x8&0xff;_0x2d6e8a[_0xf9cb45(0x437)](String['fromCharCode'](_0x1cdb77));}return _0x2d6e8a[_0xf9cb45(0x31b)]('');},'parse':function(_0x5ccc6d){var _0x3d3f30=_0x521267;for(var _0x2cc229=_0x5ccc6d[_0x3d3f30(0x143)],_0x4862bf=[],_0x963248=0x0;_0x963248<_0x2cc229;_0x963248++)_0x4862bf[_0x963248>>>0x2]|=(_0x5ccc6d[_0x3d3f30(0x293)](_0x963248)&0xff)<<0x18-_0x963248%0x4*0x8;return new _0x2149ab[(_0x3d3f30(0x261))](_0x4862bf,_0x2cc229);}},_0x307a69=_0x1b15c6[_0x521267(0x28d)]={'stringify':function(_0x7f2097){var _0x4afea8=_0x521267;try{return decodeURIComponent(escape(_0x488f41[_0x4afea8(0x208)](_0x7f2097)));}catch{throw new Error(_0x4afea8(0x275));}},'parse':function(_0xc1806){return _0x488f41['parse'](unescape(encodeURIComponent(_0xc1806)));}},_0x387a6f=_0x11c95d['BufferedBlockAlgorithm']=_0x2cfb9f['extend']({'reset':function(){var _0x511e6b=_0x521267;this['_data']=new _0x2149ab[(_0x511e6b(0x261))](),this[_0x511e6b(0x113)]=0x0;},'_append':function(_0x3941ed){var _0x533390=_0x521267;typeof _0x3941ed=='string'&&(_0x3941ed=_0x307a69['parse'](_0x3941ed)),this['_data'][_0x533390(0x116)](_0x3941ed),this[_0x533390(0x113)]+=_0x3941ed[_0x533390(0x296)];},'_process':function(_0x423cc8){var _0x31870c=_0x521267,_0x463a7d,_0x574b70=this[_0x31870c(0x29b)],_0x2e13af=_0x574b70['words'],_0x7e8740=_0x574b70[_0x31870c(0x296)],_0x4c6eb8=this[_0x31870c(0x376)],_0xe25bf2=_0x4c6eb8*0x4,_0xf63224=_0x7e8740/_0xe25bf2;_0x423cc8?_0xf63224=_0x5965d6['ceil'](_0xf63224):_0xf63224=_0x5965d6[_0x31870c(0x2cb)]((_0xf63224|0x0)-this[_0x31870c(0x446)],0x0);var _0x162975=_0xf63224*_0x4c6eb8,_0x14a682=_0x5965d6['min'](_0x162975*0x4,_0x7e8740);if(_0x162975){for(var _0x1d11a0=0x0;_0x1d11a0<_0x162975;_0x1d11a0+=_0x4c6eb8)this['_doProcessBlock'](_0x2e13af,_0x1d11a0);_0x463a7d=_0x2e13af['splice'](0x0,_0x162975),_0x574b70['sigBytes']-=_0x14a682;}return new _0x2149ab['init'](_0x463a7d,_0x14a682);},'clone':function(){var _0x12fcac=_0x521267,_0xa23b7=_0x2cfb9f[_0x12fcac(0x257)][_0x12fcac(0x3f8)](this);return _0xa23b7['_data']=this['_data'][_0x12fcac(0x257)](),_0xa23b7;},'_minBufferSize':0x0});_0x11c95d[_0x521267(0x33b)]=_0x387a6f[_0x521267(0x1e0)]({'cfg':_0x2cfb9f['extend'](),'init':function(_0x31ff37){var _0x4375f4=_0x521267;this[_0x4375f4(0x1c4)]=this['cfg'][_0x4375f4(0x1e0)](_0x31ff37),this[_0x4375f4(0x23b)]();},'reset':function(){var _0x1fb47a=_0x521267;_0x387a6f[_0x1fb47a(0x23b)]['call'](this),this['_doReset']();},'update':function(_0x20bd62){var _0x465f64=_0x521267;return this[_0x465f64(0x3ba)](_0x20bd62),this[_0x465f64(0x407)](),this;},'finalize':function(_0x5f5be9){var _0x486126=_0x521267;_0x5f5be9&&this[_0x486126(0x3ba)](_0x5f5be9);var _0x16f028=this[_0x486126(0x1f8)]();return _0x16f028;},'blockSize':0x10,'_createHelper':function(_0x4d9705){return function(_0x1b3c94,_0x1a9429){var _0xd41801=_0x5815;return new _0x4d9705[(_0xd41801(0x261))](_0x1a9429)[_0xd41801(0xe5)](_0x1b3c94);};},'_createHmacHelper':function(_0x15cbfd){return function(_0x2d9c94,_0x5bda7f){var _0x12778d=_0x5815;return new _0xb332f4[(_0x12778d(0x1a0))]['init'](_0x15cbfd,_0x5bda7f)['finalize'](_0x2d9c94);};}});var _0xb332f4=_0x304f4c[_0x521267(0x11c)]={};return _0x304f4c;}(Math);return _0xe3384c;}));}(pe)),pe[_0x161dec(0x1df)];}var ge={'exports':{}},xi=ge[_0x5a48c0(0x1df)],Qe;function Ut(){return Qe||(Qe=0x1,function(_0x29bedf,_0x39aaf8){(function(_0x40318e,_0x2914ba){var _0x1f0a49=_0x5815;_0x29bedf[_0x1f0a49(0x1df)]=_0x2914ba(ee());}(xi,function(_0x8bba10){var _0x454fb3=_0x5815;return(function(){var _0x37d4f9=_0x5815,_0x12193d=_0x8bba10,_0x2bb7b0=_0x12193d[_0x37d4f9(0x2c4)],_0xf9e2ae=_0x2bb7b0[_0x37d4f9(0x24f)],_0x9584ef=_0x12193d['enc'];_0x9584ef[_0x37d4f9(0x2b0)]={'stringify':function(_0x4c68c0){var _0x595eec=_0x37d4f9,_0x3fdc1e=_0x4c68c0[_0x595eec(0x370)],_0x464a3b=_0x4c68c0['sigBytes'],_0x23113e=this['_map'];_0x4c68c0[_0x595eec(0x2d3)]();for(var _0x4ede71=[],_0x5823b5=0x0;_0x5823b5<_0x464a3b;_0x5823b5+=0x3)for(var _0x12f9b3=_0x3fdc1e[_0x5823b5>>>0x2]>>>0x18-_0x5823b5%0x4*0x8&0xff,_0x4b9c32=_0x3fdc1e[_0x5823b5+0x1>>>0x2]>>>0x18-(_0x5823b5+0x1)%0x4*0x8&0xff,_0x4dda9a=_0x3fdc1e[_0x5823b5+0x2>>>0x2]>>>0x18-(_0x5823b5+0x2)%0x4*0x8&0xff,_0x240d11=_0x12f9b3<<0x10|_0x4b9c32<<0x8|_0x4dda9a,_0x701b2d=0x0;_0x701b2d<0x4&&_0x5823b5+_0x701b2d*0.75<_0x464a3b;_0x701b2d++)_0x4ede71[_0x595eec(0x437)](_0x23113e[_0x595eec(0x32b)](_0x240d11>>>0x6*(0x3-_0x701b2d)&0x3f));var _0x2670c1=_0x23113e[_0x595eec(0x32b)](0x40);if(_0x2670c1){for(;_0x4ede71[_0x595eec(0x143)]%0x4;)_0x4ede71[_0x595eec(0x437)](_0x2670c1);}return _0x4ede71[_0x595eec(0x31b)]('');},'parse':function(_0x277467){var _0x5db225=_0x37d4f9,_0x176954=_0x277467[_0x5db225(0x143)],_0x1dc327=this[_0x5db225(0x12f)],_0x42aa01=this[_0x5db225(0x21d)];if(!_0x42aa01){_0x42aa01=this[_0x5db225(0x21d)]=[];for(var _0x3ee0a3=0x0;_0x3ee0a3<_0x1dc327['length'];_0x3ee0a3++)_0x42aa01[_0x1dc327['charCodeAt'](_0x3ee0a3)]=_0x3ee0a3;}var _0xe1b0eb=_0x1dc327[_0x5db225(0x32b)](0x40);if(_0xe1b0eb){var _0x22182c=_0x277467[_0x5db225(0x2fe)](_0xe1b0eb);_0x22182c!==-0x1&&(_0x176954=_0x22182c);}return _0x43bdee(_0x277467,_0x176954,_0x42aa01);},'_map':_0x37d4f9(0x35b)};function _0x43bdee(_0x4ca907,_0x46d9ac,_0x3a06af){var _0x1882df=_0x37d4f9;for(var _0x54abb1=[],_0x458137=0x0,_0x15ef92=0x0;_0x15ef92<_0x46d9ac;_0x15ef92++)if(_0x15ef92%0x4){var _0x1b72f5=_0x3a06af[_0x4ca907[_0x1882df(0x293)](_0x15ef92-0x1)]<<_0x15ef92%0x4*0x2,_0xc98137=_0x3a06af[_0x4ca907['charCodeAt'](_0x15ef92)]>>>0x6-_0x15ef92%0x4*0x2,_0x44ab2b=_0x1b72f5|_0xc98137;_0x54abb1[_0x458137>>>0x2]|=_0x44ab2b<<0x18-_0x458137%0x4*0x8,_0x458137++;}return _0xf9e2ae[_0x1882df(0x2a8)](_0x54abb1,_0x458137);}}()),_0x8bba10[_0x454fb3(0x148)]['Base64'];}));}(ge)),ge['exports'];}var Ie={'exports':{}},ki=Ie[_0x5a48c0(0x1df)],et;function Hi(){return et||(et=0x1,function(_0x4917dc,_0x33e668){(function(_0x4d3fd2,_0xc24f3d){_0x4917dc['exports']=_0xc24f3d(ee());}(ki,function(_0x1ccb90){var _0x26ef69=_0x5815;return function(_0x46be59){var _0x420c4c=_0x5815,_0xb69b92=_0x1ccb90,_0x120125=_0xb69b92[_0x420c4c(0x2c4)],_0x289d27=_0x120125[_0x420c4c(0x24f)],_0x112069=_0x120125[_0x420c4c(0x33b)],_0xffa6fc=_0xb69b92[_0x420c4c(0x11c)],_0x5b9881=[];(function(){var _0x551ead=_0x420c4c;for(var _0xecb102=0x0;_0xecb102<0x40;_0xecb102++)_0x5b9881[_0xecb102]=_0x46be59[_0x551ead(0x3e2)](_0x46be59[_0x551ead(0x19f)](_0xecb102+0x1))*0x100000000|0x0;}());var _0x205c91=_0xffa6fc['MD5']=_0x112069[_0x420c4c(0x1e0)]({'_doReset':function(){var _0x5e6ad4=_0x420c4c;this[_0x5e6ad4(0x33f)]=new _0x289d27['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x23dcae,_0x1e67d3){var _0x25f92c=_0x420c4c;for(var _0x2982d5=0x0;_0x2982d5<0x10;_0x2982d5++){var _0x140173=_0x1e67d3+_0x2982d5,_0x180926=_0x23dcae[_0x140173];_0x23dcae[_0x140173]=(_0x180926<<0x8|_0x180926>>>0x18)&0xff00ff|(_0x180926<<0x18|_0x180926>>>0x8)&0xff00ff00;}var _0xeb74c=this[_0x25f92c(0x33f)]['words'],_0x94eeb7=_0x23dcae[_0x1e67d3+0x0],_0x200760=_0x23dcae[_0x1e67d3+0x1],_0x5152f8=_0x23dcae[_0x1e67d3+0x2],_0xd7f561=_0x23dcae[_0x1e67d3+0x3],_0x24098d=_0x23dcae[_0x1e67d3+0x4],_0x53fd4c=_0x23dcae[_0x1e67d3+0x5],_0x14d2a0=_0x23dcae[_0x1e67d3+0x6],_0x1ba1df=_0x23dcae[_0x1e67d3+0x7],_0x2c28cc=_0x23dcae[_0x1e67d3+0x8],_0x1d1d4b=_0x23dcae[_0x1e67d3+0x9],_0x248e65=_0x23dcae[_0x1e67d3+0xa],_0x5c58e8=_0x23dcae[_0x1e67d3+0xb],_0x4a135a=_0x23dcae[_0x1e67d3+0xc],_0x642778=_0x23dcae[_0x1e67d3+0xd],_0x81825=_0x23dcae[_0x1e67d3+0xe],_0x1a41ab=_0x23dcae[_0x1e67d3+0xf],_0x4823ae=_0xeb74c[0x0],_0x4c2faa=_0xeb74c[0x1],_0x43f1ad=_0xeb74c[0x2],_0x17ef94=_0xeb74c[0x3];_0x4823ae=_0x427047(_0x4823ae,_0x4c2faa,_0x43f1ad,_0x17ef94,_0x94eeb7,0x7,_0x5b9881[0x0]),_0x17ef94=_0x427047(_0x17ef94,_0x4823ae,_0x4c2faa,_0x43f1ad,_0x200760,0xc,_0x5b9881[0x1]),_0x43f1ad=_0x427047(_0x43f1ad,_0x17ef94,_0x4823ae,_0x4c2faa,_0x5152f8,0x11,_0x5b9881[0x2]),_0x4c2faa=_0x427047(_0x4c2faa,_0x43f1ad,_0x17ef94,_0x4823ae,_0xd7f561,0x16,_0x5b9881[0x3]),_0x4823ae=_0x427047(_0x4823ae,_0x4c2faa,_0x43f1ad,_0x17ef94,_0x24098d,0x7,_0x5b9881[0x4]),_0x17ef94=_0x427047(_0x17ef94,_0x4823ae,_0x4c2faa,_0x43f1ad,_0x53fd4c,0xc,_0x5b9881[0x5]),_0x43f1ad=_0x427047(_0x43f1ad,_0x17ef94,_0x4823ae,_0x4c2faa,_0x14d2a0,0x11,_0x5b9881[0x6]),_0x4c2faa=_0x427047(_0x4c2faa,_0x43f1ad,_0x17ef94,_0x4823ae,_0x1ba1df,0x16,_0x5b9881[0x7]),_0x4823ae=_0x427047(_0x4823ae,_0x4c2faa,_0x43f1ad,_0x17ef94,_0x2c28cc,0x7,_0x5b9881[0x8]),_0x17ef94=_0x427047(_0x17ef94,_0x4823ae,_0x4c2faa,_0x43f1ad,_0x1d1d4b,0xc,_0x5b9881[0x9]),_0x43f1ad=_0x427047(_0x43f1ad,_0x17ef94,_0x4823ae,_0x4c2faa,_0x248e65,0x11,_0x5b9881[0xa]),_0x4c2faa=_0x427047(_0x4c2faa,_0x43f1ad,_0x17ef94,_0x4823ae,_0x5c58e8,0x16,_0x5b9881[0xb]),_0x4823ae=_0x427047(_0x4823ae,_0x4c2faa,_0x43f1ad,_0x17ef94,_0x4a135a,0x7,_0x5b9881[0xc]),_0x17ef94=_0x427047(_0x17ef94,_0x4823ae,_0x4c2faa,_0x43f1ad,_0x642778,0xc,_0x5b9881[0xd]),_0x43f1ad=_0x427047(_0x43f1ad,_0x17ef94,_0x4823ae,_0x4c2faa,_0x81825,0x11,_0x5b9881[0xe]),_0x4c2faa=_0x427047(_0x4c2faa,_0x43f1ad,_0x17ef94,_0x4823ae,_0x1a41ab,0x16,_0x5b9881[0xf]),_0x4823ae=_0x4203a8(_0x4823ae,_0x4c2faa,_0x43f1ad,_0x17ef94,_0x200760,0x5,_0x5b9881[0x10]),_0x17ef94=_0x4203a8(_0x17ef94,_0x4823ae,_0x4c2faa,_0x43f1ad,_0x14d2a0,0x9,_0x5b9881[0x11]),_0x43f1ad=_0x4203a8(_0x43f1ad,_0x17ef94,_0x4823ae,_0x4c2faa,_0x5c58e8,0xe,_0x5b9881[0x12]),_0x4c2faa=_0x4203a8(_0x4c2faa,_0x43f1ad,_0x17ef94,_0x4823ae,_0x94eeb7,0x14,_0x5b9881[0x13]),_0x4823ae=_0x4203a8(_0x4823ae,_0x4c2faa,_0x43f1ad,_0x17ef94,_0x53fd4c,0x5,_0x5b9881[0x14]),_0x17ef94=_0x4203a8(_0x17ef94,_0x4823ae,_0x4c2faa,_0x43f1ad,_0x248e65,0x9,_0x5b9881[0x15]),_0x43f1ad=_0x4203a8(_0x43f1ad,_0x17ef94,_0x4823ae,_0x4c2faa,_0x1a41ab,0xe,_0x5b9881[0x16]),_0x4c2faa=_0x4203a8(_0x4c2faa,_0x43f1ad,_0x17ef94,_0x4823ae,_0x24098d,0x14,_0x5b9881[0x17]),_0x4823ae=_0x4203a8(_0x4823ae,_0x4c2faa,_0x43f1ad,_0x17ef94,_0x1d1d4b,0x5,_0x5b9881[0x18]),_0x17ef94=_0x4203a8(_0x17ef94,_0x4823ae,_0x4c2faa,_0x43f1ad,_0x81825,0x9,_0x5b9881[0x19]),_0x43f1ad=_0x4203a8(_0x43f1ad,_0x17ef94,_0x4823ae,_0x4c2faa,_0xd7f561,0xe,_0x5b9881[0x1a]),_0x4c2faa=_0x4203a8(_0x4c2faa,_0x43f1ad,_0x17ef94,_0x4823ae,_0x2c28cc,0x14,_0x5b9881[0x1b]),_0x4823ae=_0x4203a8(_0x4823ae,_0x4c2faa,_0x43f1ad,_0x17ef94,_0x642778,0x5,_0x5b9881[0x1c]),_0x17ef94=_0x4203a8(_0x17ef94,_0x4823ae,_0x4c2faa,_0x43f1ad,_0x5152f8,0x9,_0x5b9881[0x1d]),_0x43f1ad=_0x4203a8(_0x43f1ad,_0x17ef94,_0x4823ae,_0x4c2faa,_0x1ba1df,0xe,_0x5b9881[0x1e]),_0x4c2faa=_0x4203a8(_0x4c2faa,_0x43f1ad,_0x17ef94,_0x4823ae,_0x4a135a,0x14,_0x5b9881[0x1f]),_0x4823ae=_0xe0131c(_0x4823ae,_0x4c2faa,_0x43f1ad,_0x17ef94,_0x53fd4c,0x4,_0x5b9881[0x20]),_0x17ef94=_0xe0131c(_0x17ef94,_0x4823ae,_0x4c2faa,_0x43f1ad,_0x2c28cc,0xb,_0x5b9881[0x21]),_0x43f1ad=_0xe0131c(_0x43f1ad,_0x17ef94,_0x4823ae,_0x4c2faa,_0x5c58e8,0x10,_0x5b9881[0x22]),_0x4c2faa=_0xe0131c(_0x4c2faa,_0x43f1ad,_0x17ef94,_0x4823ae,_0x81825,0x17,_0x5b9881[0x23]),_0x4823ae=_0xe0131c(_0x4823ae,_0x4c2faa,_0x43f1ad,_0x17ef94,_0x200760,0x4,_0x5b9881[0x24]),_0x17ef94=_0xe0131c(_0x17ef94,_0x4823ae,_0x4c2faa,_0x43f1ad,_0x24098d,0xb,_0x5b9881[0x25]),_0x43f1ad=_0xe0131c(_0x43f1ad,_0x17ef94,_0x4823ae,_0x4c2faa,_0x1ba1df,0x10,_0x5b9881[0x26]),_0x4c2faa=_0xe0131c(_0x4c2faa,_0x43f1ad,_0x17ef94,_0x4823ae,_0x248e65,0x17,_0x5b9881[0x27]),_0x4823ae=_0xe0131c(_0x4823ae,_0x4c2faa,_0x43f1ad,_0x17ef94,_0x642778,0x4,_0x5b9881[0x28]),_0x17ef94=_0xe0131c(_0x17ef94,_0x4823ae,_0x4c2faa,_0x43f1ad,_0x94eeb7,0xb,_0x5b9881[0x29]),_0x43f1ad=_0xe0131c(_0x43f1ad,_0x17ef94,_0x4823ae,_0x4c2faa,_0xd7f561,0x10,_0x5b9881[0x2a]),_0x4c2faa=_0xe0131c(_0x4c2faa,_0x43f1ad,_0x17ef94,_0x4823ae,_0x14d2a0,0x17,_0x5b9881[0x2b]),_0x4823ae=_0xe0131c(_0x4823ae,_0x4c2faa,_0x43f1ad,_0x17ef94,_0x1d1d4b,0x4,_0x5b9881[0x2c]),_0x17ef94=_0xe0131c(_0x17ef94,_0x4823ae,_0x4c2faa,_0x43f1ad,_0x4a135a,0xb,_0x5b9881[0x2d]),_0x43f1ad=_0xe0131c(_0x43f1ad,_0x17ef94,_0x4823ae,_0x4c2faa,_0x1a41ab,0x10,_0x5b9881[0x2e]),_0x4c2faa=_0xe0131c(_0x4c2faa,_0x43f1ad,_0x17ef94,_0x4823ae,_0x5152f8,0x17,_0x5b9881[0x2f]),_0x4823ae=_0x2a2f63(_0x4823ae,_0x4c2faa,_0x43f1ad,_0x17ef94,_0x94eeb7,0x6,_0x5b9881[0x30]),_0x17ef94=_0x2a2f63(_0x17ef94,_0x4823ae,_0x4c2faa,_0x43f1ad,_0x1ba1df,0xa,_0x5b9881[0x31]),_0x43f1ad=_0x2a2f63(_0x43f1ad,_0x17ef94,_0x4823ae,_0x4c2faa,_0x81825,0xf,_0x5b9881[0x32]),_0x4c2faa=_0x2a2f63(_0x4c2faa,_0x43f1ad,_0x17ef94,_0x4823ae,_0x53fd4c,0x15,_0x5b9881[0x33]),_0x4823ae=_0x2a2f63(_0x4823ae,_0x4c2faa,_0x43f1ad,_0x17ef94,_0x4a135a,0x6,_0x5b9881[0x34]),_0x17ef94=_0x2a2f63(_0x17ef94,_0x4823ae,_0x4c2faa,_0x43f1ad,_0xd7f561,0xa,_0x5b9881[0x35]),_0x43f1ad=_0x2a2f63(_0x43f1ad,_0x17ef94,_0x4823ae,_0x4c2faa,_0x248e65,0xf,_0x5b9881[0x36]),_0x4c2faa=_0x2a2f63(_0x4c2faa,_0x43f1ad,_0x17ef94,_0x4823ae,_0x200760,0x15,_0x5b9881[0x37]),_0x4823ae=_0x2a2f63(_0x4823ae,_0x4c2faa,_0x43f1ad,_0x17ef94,_0x2c28cc,0x6,_0x5b9881[0x38]),_0x17ef94=_0x2a2f63(_0x17ef94,_0x4823ae,_0x4c2faa,_0x43f1ad,_0x1a41ab,0xa,_0x5b9881[0x39]),_0x43f1ad=_0x2a2f63(_0x43f1ad,_0x17ef94,_0x4823ae,_0x4c2faa,_0x14d2a0,0xf,_0x5b9881[0x3a]),_0x4c2faa=_0x2a2f63(_0x4c2faa,_0x43f1ad,_0x17ef94,_0x4823ae,_0x642778,0x15,_0x5b9881[0x3b]),_0x4823ae=_0x2a2f63(_0x4823ae,_0x4c2faa,_0x43f1ad,_0x17ef94,_0x24098d,0x6,_0x5b9881[0x3c]),_0x17ef94=_0x2a2f63(_0x17ef94,_0x4823ae,_0x4c2faa,_0x43f1ad,_0x5c58e8,0xa,_0x5b9881[0x3d]),_0x43f1ad=_0x2a2f63(_0x43f1ad,_0x17ef94,_0x4823ae,_0x4c2faa,_0x5152f8,0xf,_0x5b9881[0x3e]),_0x4c2faa=_0x2a2f63(_0x4c2faa,_0x43f1ad,_0x17ef94,_0x4823ae,_0x1d1d4b,0x15,_0x5b9881[0x3f]),_0xeb74c[0x0]=_0xeb74c[0x0]+_0x4823ae|0x0,_0xeb74c[0x1]=_0xeb74c[0x1]+_0x4c2faa|0x0,_0xeb74c[0x2]=_0xeb74c[0x2]+_0x43f1ad|0x0,_0xeb74c[0x3]=_0xeb74c[0x3]+_0x17ef94|0x0;},'_doFinalize':function(){var _0x19817e=_0x420c4c,_0x39b3e6=this[_0x19817e(0x29b)],_0x151526=_0x39b3e6[_0x19817e(0x370)],_0xaee4ba=this[_0x19817e(0x113)]*0x8,_0x4495c6=_0x39b3e6[_0x19817e(0x296)]*0x8;_0x151526[_0x4495c6>>>0x5]|=0x80<<0x18-_0x4495c6%0x20;var _0x57fa08=_0x46be59[_0x19817e(0x279)](_0xaee4ba/0x100000000),_0x408bd3=_0xaee4ba;_0x151526[(_0x4495c6+0x40>>>0x9<<0x4)+0xf]=(_0x57fa08<<0x8|_0x57fa08>>>0x18)&0xff00ff|(_0x57fa08<<0x18|_0x57fa08>>>0x8)&0xff00ff00,_0x151526[(_0x4495c6+0x40>>>0x9<<0x4)+0xe]=(_0x408bd3<<0x8|_0x408bd3>>>0x18)&0xff00ff|(_0x408bd3<<0x18|_0x408bd3>>>0x8)&0xff00ff00,_0x39b3e6[_0x19817e(0x296)]=(_0x151526[_0x19817e(0x143)]+0x1)*0x4,this['_process']();for(var _0x28d725=this[_0x19817e(0x33f)],_0x59d0a7=_0x28d725[_0x19817e(0x370)],_0x3f1885=0x0;_0x3f1885<0x4;_0x3f1885++){var _0x162e8f=_0x59d0a7[_0x3f1885];_0x59d0a7[_0x3f1885]=(_0x162e8f<<0x8|_0x162e8f>>>0x18)&0xff00ff|(_0x162e8f<<0x18|_0x162e8f>>>0x8)&0xff00ff00;}return _0x28d725;},'clone':function(){var _0x15c0a2=_0x420c4c,_0x40c125=_0x112069['clone'][_0x15c0a2(0x3f8)](this);return _0x40c125['_hash']=this['_hash'][_0x15c0a2(0x257)](),_0x40c125;}});function _0x427047(_0x401dcb,_0x1be5ee,_0x2c0b37,_0x17ec16,_0x5c93c2,_0xac861c,_0x1b9cec){var _0x18ff7c=_0x401dcb+(_0x1be5ee&_0x2c0b37|~_0x1be5ee&_0x17ec16)+_0x5c93c2+_0x1b9cec;return(_0x18ff7c<<_0xac861c|_0x18ff7c>>>0x20-_0xac861c)+_0x1be5ee;}function _0x4203a8(_0x74b4ec,_0x391349,_0x15f1cc,_0x354b5e,_0x2e22c0,_0x565cd1,_0x388663){var _0x19c8cd=_0x74b4ec+(_0x391349&_0x354b5e|_0x15f1cc&~_0x354b5e)+_0x2e22c0+_0x388663;return(_0x19c8cd<<_0x565cd1|_0x19c8cd>>>0x20-_0x565cd1)+_0x391349;}function _0xe0131c(_0x415d72,_0x2cefa6,_0x264274,_0x1ce732,_0x4e3f3c,_0x561c8b,_0x41cd9f){var _0x27a6b6=_0x415d72+(_0x2cefa6^_0x264274^_0x1ce732)+_0x4e3f3c+_0x41cd9f;return(_0x27a6b6<<_0x561c8b|_0x27a6b6>>>0x20-_0x561c8b)+_0x2cefa6;}function _0x2a2f63(_0x5757f1,_0x12da38,_0x2debe0,_0x3248e0,_0x33ee64,_0xb44e72,_0x4935e9){var _0x3ba832=_0x5757f1+(_0x2debe0^(_0x12da38|~_0x3248e0))+_0x33ee64+_0x4935e9;return(_0x3ba832<<_0xb44e72|_0x3ba832>>>0x20-_0xb44e72)+_0x12da38;}_0xb69b92[_0x420c4c(0x200)]=_0x112069[_0x420c4c(0x416)](_0x205c91),_0xb69b92[_0x420c4c(0x12c)]=_0x112069['_createHmacHelper'](_0x205c91);}(Math),_0x1ccb90[_0x26ef69(0x200)];}));}(Ie)),Ie['exports'];}var me={'exports':{}},Ee={'exports':{}},ji=Ee['exports'],tt;function $i(){var _0x16a860=_0x5a48c0;return tt||(tt=0x1,function(_0x1f0da2,_0x5c8e8c){(function(_0x74405a,_0x2eeffa){_0x1f0da2['exports']=_0x2eeffa(ee());}(ji,function(_0x4d8742){var _0x7370cc=_0x5815;return(function(){var _0x512b3b=_0x5815,_0x534c6f=_0x4d8742,_0x125f84=_0x534c6f[_0x512b3b(0x2c4)],_0x812f7c=_0x125f84['WordArray'],_0x43d6d3=_0x125f84[_0x512b3b(0x33b)],_0x19afb1=_0x534c6f[_0x512b3b(0x11c)],_0x381720=[],_0x13e4a2=_0x19afb1[_0x512b3b(0x397)]=_0x43d6d3[_0x512b3b(0x1e0)]({'_doReset':function(){var _0xa9b86b=_0x512b3b;this[_0xa9b86b(0x33f)]=new _0x812f7c['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x3a0947,_0x566f26){var _0x576e06=_0x512b3b;for(var _0x349f95=this[_0x576e06(0x33f)][_0x576e06(0x370)],_0x3f92ac=_0x349f95[0x0],_0xac147e=_0x349f95[0x1],_0x588cbb=_0x349f95[0x2],_0x31154a=_0x349f95[0x3],_0x126846=_0x349f95[0x4],_0x398e6c=0x0;_0x398e6c<0x50;_0x398e6c++){if(_0x398e6c<0x10)_0x381720[_0x398e6c]=_0x3a0947[_0x566f26+_0x398e6c]|0x0;else{var _0x36686a=_0x381720[_0x398e6c-0x3]^_0x381720[_0x398e6c-0x8]^_0x381720[_0x398e6c-0xe]^_0x381720[_0x398e6c-0x10];_0x381720[_0x398e6c]=_0x36686a<<0x1|_0x36686a>>>0x1f;}var _0x34a0ac=(_0x3f92ac<<0x5|_0x3f92ac>>>0x1b)+_0x126846+_0x381720[_0x398e6c];_0x398e6c<0x14?_0x34a0ac+=(_0xac147e&_0x588cbb|~_0xac147e&_0x31154a)+0x5a827999:_0x398e6c<0x28?_0x34a0ac+=(_0xac147e^_0x588cbb^_0x31154a)+0x6ed9eba1:_0x398e6c<0x3c?_0x34a0ac+=(_0xac147e&_0x588cbb|_0xac147e&_0x31154a|_0x588cbb&_0x31154a)-0x70e44324:_0x34a0ac+=(_0xac147e^_0x588cbb^_0x31154a)-0x359d3e2a,_0x126846=_0x31154a,_0x31154a=_0x588cbb,_0x588cbb=_0xac147e<<0x1e|_0xac147e>>>0x2,_0xac147e=_0x3f92ac,_0x3f92ac=_0x34a0ac;}_0x349f95[0x0]=_0x349f95[0x0]+_0x3f92ac|0x0,_0x349f95[0x1]=_0x349f95[0x1]+_0xac147e|0x0,_0x349f95[0x2]=_0x349f95[0x2]+_0x588cbb|0x0,_0x349f95[0x3]=_0x349f95[0x3]+_0x31154a|0x0,_0x349f95[0x4]=_0x349f95[0x4]+_0x126846|0x0;},'_doFinalize':function(){var _0x19bc82=_0x512b3b,_0x5b2f20=this[_0x19bc82(0x29b)],_0x450208=_0x5b2f20[_0x19bc82(0x370)],_0x4a59e3=this[_0x19bc82(0x113)]*0x8,_0x33251e=_0x5b2f20[_0x19bc82(0x296)]*0x8;return _0x450208[_0x33251e>>>0x5]|=0x80<<0x18-_0x33251e%0x20,_0x450208[(_0x33251e+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x4a59e3/0x100000000),_0x450208[(_0x33251e+0x40>>>0x9<<0x4)+0xf]=_0x4a59e3,_0x5b2f20[_0x19bc82(0x296)]=_0x450208[_0x19bc82(0x143)]*0x4,this[_0x19bc82(0x407)](),this['_hash'];},'clone':function(){var _0x1c70f3=_0x512b3b,_0x4afa9f=_0x43d6d3['clone'][_0x1c70f3(0x3f8)](this);return _0x4afa9f[_0x1c70f3(0x33f)]=this[_0x1c70f3(0x33f)][_0x1c70f3(0x257)](),_0x4afa9f;}});_0x534c6f[_0x512b3b(0x397)]=_0x43d6d3[_0x512b3b(0x416)](_0x13e4a2),_0x534c6f[_0x512b3b(0xf8)]=_0x43d6d3[_0x512b3b(0xe8)](_0x13e4a2);}()),_0x4d8742[_0x7370cc(0x397)];}));}(Ee)),Ee[_0x16a860(0x1df)];}var Ce={'exports':{}},Bi=Ce['exports'],it;function Fi(){return it||(it=0x1,function(_0x3799df,_0x4ff745){(function(_0x30c12b,_0x17ed53){var _0x5b6bf8=_0x5815;_0x3799df[_0x5b6bf8(0x1df)]=_0x17ed53(ee());}(Bi,function(_0x56e4f1){(function(){var _0x4f516b=_0x5815,_0x1b07af=_0x56e4f1,_0x35c3d0=_0x1b07af[_0x4f516b(0x2c4)],_0x7012ba=_0x35c3d0['Base'],_0x2d8984=_0x1b07af[_0x4f516b(0x148)],_0x1738f2=_0x2d8984[_0x4f516b(0x28d)],_0x3dc677=_0x1b07af[_0x4f516b(0x11c)];_0x3dc677[_0x4f516b(0x1a0)]=_0x7012ba['extend']({'init':function(_0x7e09f,_0x46fbb1){var _0x4fb804=_0x4f516b;_0x7e09f=this[_0x4fb804(0x32c)]=new _0x7e09f[(_0x4fb804(0x261))](),typeof _0x46fbb1==_0x4fb804(0x324)&&(_0x46fbb1=_0x1738f2[_0x4fb804(0x425)](_0x46fbb1));var _0xb9455c=_0x7e09f['blockSize'],_0x319158=_0xb9455c*0x4;_0x46fbb1[_0x4fb804(0x296)]>_0x319158&&(_0x46fbb1=_0x7e09f[_0x4fb804(0xe5)](_0x46fbb1)),_0x46fbb1[_0x4fb804(0x2d3)]();for(var _0x3a4189=this[_0x4fb804(0x2df)]=_0x46fbb1[_0x4fb804(0x257)](),_0x4ea2e6=this[_0x4fb804(0x396)]=_0x46fbb1[_0x4fb804(0x257)](),_0x10fee8=_0x3a4189[_0x4fb804(0x370)],_0x133310=_0x4ea2e6[_0x4fb804(0x370)],_0x1bf4f9=0x0;_0x1bf4f9<_0xb9455c;_0x1bf4f9++)_0x10fee8[_0x1bf4f9]^=0x5c5c5c5c,_0x133310[_0x1bf4f9]^=0x36363636;_0x3a4189[_0x4fb804(0x296)]=_0x4ea2e6[_0x4fb804(0x296)]=_0x319158,this[_0x4fb804(0x23b)]();},'reset':function(){var _0x60265a=_0x4f516b,_0x4c0164=this[_0x60265a(0x32c)];_0x4c0164['reset'](),_0x4c0164[_0x60265a(0x101)](this[_0x60265a(0x396)]);},'update':function(_0x4b1e42){var _0x2f1d8c=_0x4f516b;return this[_0x2f1d8c(0x32c)]['update'](_0x4b1e42),this;},'finalize':function(_0x48bfbe){var _0x3cbb99=_0x4f516b,_0x11926f=this[_0x3cbb99(0x32c)],_0x3a035e=_0x11926f['finalize'](_0x48bfbe);_0x11926f[_0x3cbb99(0x23b)]();var _0x57e94d=_0x11926f[_0x3cbb99(0xe5)](this[_0x3cbb99(0x2df)][_0x3cbb99(0x257)]()['concat'](_0x3a035e));return _0x57e94d;}});}());}));}(Ce)),Ce['exports'];}var Vi=me['exports'],nt;function At(){var _0x240aaf=_0x5a48c0;return nt||(nt=0x1,function(_0x584333,_0x1dc726){(function(_0x53e572,_0x271fb6,_0x46548e){_0x584333['exports']=_0x271fb6(ee(),$i(),Fi());}(Vi,function(_0x2a354b){var _0x464239=_0x5815;return(function(){var _0x3dccd4=_0x5815,_0x49f82c=_0x2a354b,_0x489a94=_0x49f82c[_0x3dccd4(0x2c4)],_0x4c91d1=_0x489a94[_0x3dccd4(0x3f9)],_0x33fb3c=_0x489a94[_0x3dccd4(0x24f)],_0x2ed3bb=_0x49f82c[_0x3dccd4(0x11c)],_0x536ff1=_0x2ed3bb[_0x3dccd4(0x200)],_0x1a00aa=_0x2ed3bb[_0x3dccd4(0x37a)]=_0x4c91d1[_0x3dccd4(0x1e0)]({'cfg':_0x4c91d1[_0x3dccd4(0x1e0)]({'keySize':0x80/0x20,'hasher':_0x536ff1,'iterations':0x1}),'init':function(_0x3aa66e){var _0x5592b6=_0x3dccd4;this[_0x5592b6(0x1c4)]=this[_0x5592b6(0x1c4)][_0x5592b6(0x1e0)](_0x3aa66e);},'compute':function(_0x3d61d1,_0x9db99a){var _0x334b1=_0x3dccd4;for(var _0x518931,_0x571ba1=this[_0x334b1(0x1c4)],_0x2e3636=_0x571ba1['hasher'][_0x334b1(0x2a8)](),_0x29577=_0x33fb3c[_0x334b1(0x2a8)](),_0x1589b1=_0x29577['words'],_0x98c50d=_0x571ba1['keySize'],_0x5d87f0=_0x571ba1['iterations'];_0x1589b1['length']<_0x98c50d;){_0x518931&&_0x2e3636[_0x334b1(0x101)](_0x518931),_0x518931=_0x2e3636['update'](_0x3d61d1)[_0x334b1(0xe5)](_0x9db99a),_0x2e3636[_0x334b1(0x23b)]();for(var _0x490317=0x1;_0x490317<_0x5d87f0;_0x490317++)_0x518931=_0x2e3636[_0x334b1(0xe5)](_0x518931),_0x2e3636[_0x334b1(0x23b)]();_0x29577[_0x334b1(0x116)](_0x518931);}return _0x29577[_0x334b1(0x296)]=_0x98c50d*0x4,_0x29577;}});_0x49f82c[_0x3dccd4(0x37a)]=function(_0x30ac39,_0x5bbe59,_0x31a5d4){var _0x4db4cc=_0x3dccd4;return _0x1a00aa['create'](_0x31a5d4)[_0x4db4cc(0x37c)](_0x30ac39,_0x5bbe59);};}()),_0x2a354b[_0x464239(0x37a)];}));}(me)),me[_0x240aaf(0x1df)];}var Te={'exports':{}},Wi=Te['exports'],rt;function Pt(){var _0x1d35a0=_0x5a48c0;return rt||(rt=0x1,function(_0x1457bc,_0x31fe88){(function(_0x3499f4,_0x115356,_0x46f72b){_0x1457bc['exports']=_0x115356(ee(),At());}(Wi,function(_0x8582d3){var _0x5db09d=_0x5815;_0x8582d3[_0x5db09d(0x2c4)][_0x5db09d(0x3ed)]||function(_0x216c31){var _0x2c92e5=_0x5db09d,_0x39189a=_0x8582d3,_0x142635=_0x39189a['lib'],_0xf5780=_0x142635[_0x2c92e5(0x3f9)],_0x28dfb7=_0x142635['WordArray'],_0x681415=_0x142635[_0x2c92e5(0x32f)],_0x170b52=_0x39189a['enc'];_0x170b52['Utf8'];var _0x3efd08=_0x170b52['Base64'],_0xbd8958=_0x39189a['algo'],_0x50f972=_0xbd8958['EvpKDF'],_0x39744d=_0x142635[_0x2c92e5(0x3ed)]=_0x681415[_0x2c92e5(0x1e0)]({'cfg':_0xf5780[_0x2c92e5(0x1e0)](),'createEncryptor':function(_0x28e4c2,_0x295c7b){var _0x4e6dfe=_0x2c92e5;return this[_0x4e6dfe(0x2a8)](this[_0x4e6dfe(0x135)],_0x28e4c2,_0x295c7b);},'createDecryptor':function(_0x3f44b4,_0x24775e){var _0x221acb=_0x2c92e5;return this[_0x221acb(0x2a8)](this[_0x221acb(0x2c3)],_0x3f44b4,_0x24775e);},'init':function(_0x1bc2ad,_0x317d42,_0xf1111c){var _0x1a6fd5=_0x2c92e5;this[_0x1a6fd5(0x1c4)]=this[_0x1a6fd5(0x1c4)][_0x1a6fd5(0x1e0)](_0xf1111c),this['_xformMode']=_0x1bc2ad,this[_0x1a6fd5(0x1cf)]=_0x317d42,this[_0x1a6fd5(0x23b)]();},'reset':function(){var _0x432329=_0x2c92e5;_0x681415['reset'][_0x432329(0x3f8)](this),this[_0x432329(0x111)]();},'process':function(_0xfca378){var _0x3e37a2=_0x2c92e5;return this[_0x3e37a2(0x3ba)](_0xfca378),this[_0x3e37a2(0x407)]();},'finalize':function(_0x178156){var _0x5d37db=_0x2c92e5;_0x178156&&this[_0x5d37db(0x3ba)](_0x178156);var _0x5cf0c2=this[_0x5d37db(0x1f8)]();return _0x5cf0c2;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x27826e(_0x1be0ba){var _0x3e62e6=_0x5815;return typeof _0x1be0ba==_0x3e62e6(0x324)?_0x331d1f:_0x5555a2;}return function(_0x4ea929){return{'encrypt':function(_0x1cbfa0,_0x363a25,_0x558f23){return _0x27826e(_0x363a25)['encrypt'](_0x4ea929,_0x1cbfa0,_0x363a25,_0x558f23);},'decrypt':function(_0x4ade99,_0x239936,_0x5eedee){return _0x27826e(_0x239936)['decrypt'](_0x4ea929,_0x4ade99,_0x239936,_0x5eedee);}};};}())});_0x142635[_0x2c92e5(0xda)]=_0x39744d[_0x2c92e5(0x1e0)]({'_doFinalize':function(){var _0x219c82=_0x2c92e5,_0x4dd74d=this[_0x219c82(0x407)](!0x0);return _0x4dd74d;},'blockSize':0x1});var _0x7c12ca=_0x39189a[_0x2c92e5(0x23c)]={},_0x6f9b4b=_0x142635['BlockCipherMode']=_0xf5780[_0x2c92e5(0x1e0)]({'createEncryptor':function(_0x2ae336,_0x52f8ea){var _0xccd4ff=_0x2c92e5;return this['Encryptor'][_0xccd4ff(0x2a8)](_0x2ae336,_0x52f8ea);},'createDecryptor':function(_0x170cef,_0x220f72){var _0x31ad80=_0x2c92e5;return this[_0x31ad80(0x365)][_0x31ad80(0x2a8)](_0x170cef,_0x220f72);},'init':function(_0x5b4b00,_0x2deb9d){var _0x3fae04=_0x2c92e5;this[_0x3fae04(0x3fd)]=_0x5b4b00,this[_0x3fae04(0x268)]=_0x2deb9d;}}),_0x2a861e=_0x7c12ca[_0x2c92e5(0x30d)]=(function(){var _0x1e4b63=_0x2c92e5,_0x197238=_0x6f9b4b['extend']();_0x197238[_0x1e4b63(0x156)]=_0x197238[_0x1e4b63(0x1e0)]({'processBlock':function(_0x122ab8,_0x4826ae){var _0xa9242c=_0x1e4b63,_0x4e3204=this[_0xa9242c(0x3fd)],_0x56c89f=_0x4e3204['blockSize'];_0x528473[_0xa9242c(0x3f8)](this,_0x122ab8,_0x4826ae,_0x56c89f),_0x4e3204[_0xa9242c(0x17e)](_0x122ab8,_0x4826ae),this[_0xa9242c(0x2a9)]=_0x122ab8[_0xa9242c(0x1ee)](_0x4826ae,_0x4826ae+_0x56c89f);}}),_0x197238[_0x1e4b63(0x365)]=_0x197238[_0x1e4b63(0x1e0)]({'processBlock':function(_0x24c11f,_0x55e7fe){var _0x421e00=_0x1e4b63,_0x1e31ac=this['_cipher'],_0x4b6139=_0x1e31ac['blockSize'],_0x14a494=_0x24c11f[_0x421e00(0x1ee)](_0x55e7fe,_0x55e7fe+_0x4b6139);_0x1e31ac[_0x421e00(0x3d9)](_0x24c11f,_0x55e7fe),_0x528473[_0x421e00(0x3f8)](this,_0x24c11f,_0x55e7fe,_0x4b6139),this['_prevBlock']=_0x14a494;}});function _0x528473(_0x1c05fa,_0x367014,_0x15f923){var _0x16e48e=_0x1e4b63,_0x11b76f,_0x1b0fcc=this[_0x16e48e(0x268)];_0x1b0fcc?(_0x11b76f=_0x1b0fcc,this['_iv']=_0x216c31):_0x11b76f=this[_0x16e48e(0x2a9)];for(var _0x5669b0=0x0;_0x5669b0<_0x15f923;_0x5669b0++)_0x1c05fa[_0x367014+_0x5669b0]^=_0x11b76f[_0x5669b0];}return _0x197238;}()),_0x24cc79=_0x39189a[_0x2c92e5(0x21c)]={},_0x320130=_0x24cc79[_0x2c92e5(0x3ef)]={'pad':function(_0x54cc7f,_0x462ce4){var _0x306a0b=_0x2c92e5;for(var _0x3372e8=_0x462ce4*0x4,_0x1c53ee=_0x3372e8-_0x54cc7f[_0x306a0b(0x296)]%_0x3372e8,_0x46a287=_0x1c53ee<<0x18|_0x1c53ee<<0x10|_0x1c53ee<<0x8|_0x1c53ee,_0x2caeb0=[],_0x38a43c=0x0;_0x38a43c<_0x1c53ee;_0x38a43c+=0x4)_0x2caeb0['push'](_0x46a287);var _0x19406d=_0x28dfb7[_0x306a0b(0x2a8)](_0x2caeb0,_0x1c53ee);_0x54cc7f[_0x306a0b(0x116)](_0x19406d);},'unpad':function(_0x35bc91){var _0x5c2f16=_0x2c92e5,_0x496966=_0x35bc91[_0x5c2f16(0x370)][_0x35bc91[_0x5c2f16(0x296)]-0x1>>>0x2]&0xff;_0x35bc91['sigBytes']-=_0x496966;}};_0x142635['BlockCipher']=_0x39744d[_0x2c92e5(0x1e0)]({'cfg':_0x39744d[_0x2c92e5(0x1c4)][_0x2c92e5(0x1e0)]({'mode':_0x2a861e,'padding':_0x320130}),'reset':function(){var _0x147fe5=_0x2c92e5,_0x1a5d77;_0x39744d[_0x147fe5(0x23b)][_0x147fe5(0x3f8)](this);var _0x52ae69=this[_0x147fe5(0x1c4)],_0x96b80b=_0x52ae69['iv'],_0x7e623f=_0x52ae69[_0x147fe5(0x23c)];this[_0x147fe5(0x1ed)]==this['_ENC_XFORM_MODE']?_0x1a5d77=_0x7e623f['createEncryptor']:(_0x1a5d77=_0x7e623f['createDecryptor'],this['_minBufferSize']=0x1),this[_0x147fe5(0x1a3)]&&this[_0x147fe5(0x1a3)][_0x147fe5(0x15d)]==_0x1a5d77?this['_mode'][_0x147fe5(0x261)](this,_0x96b80b&&_0x96b80b[_0x147fe5(0x370)]):(this[_0x147fe5(0x1a3)]=_0x1a5d77[_0x147fe5(0x3f8)](_0x7e623f,this,_0x96b80b&&_0x96b80b[_0x147fe5(0x370)]),this['_mode'][_0x147fe5(0x15d)]=_0x1a5d77);},'_doProcessBlock':function(_0x1619ad,_0x35968a){var _0x2e1b4e=_0x2c92e5;this[_0x2e1b4e(0x1a3)][_0x2e1b4e(0x355)](_0x1619ad,_0x35968a);},'_doFinalize':function(){var _0x56bf98=_0x2c92e5,_0x1d85cf,_0x59527e=this[_0x56bf98(0x1c4)][_0x56bf98(0x139)];return this[_0x56bf98(0x1ed)]==this[_0x56bf98(0x135)]?(_0x59527e[_0x56bf98(0x21c)](this[_0x56bf98(0x29b)],this[_0x56bf98(0x376)]),_0x1d85cf=this[_0x56bf98(0x407)](!0x0)):(_0x1d85cf=this[_0x56bf98(0x407)](!0x0),_0x59527e[_0x56bf98(0x25c)](_0x1d85cf)),_0x1d85cf;},'blockSize':0x80/0x20});var _0x50ab20=_0x142635['CipherParams']=_0xf5780[_0x2c92e5(0x1e0)]({'init':function(_0x2d2a8f){this['mixIn'](_0x2d2a8f);},'toString':function(_0x1514fc){var _0x170d49=_0x2c92e5;return(_0x1514fc||this[_0x170d49(0x2f1)])[_0x170d49(0x208)](this);}}),_0x371b72=_0x39189a[_0x2c92e5(0xe0)]={},_0x31c6bc=_0x371b72[_0x2c92e5(0x133)]={'stringify':function(_0xd5c975){var _0x1497cc=_0x2c92e5,_0x480afb,_0x59bf7c=_0xd5c975[_0x1497cc(0x344)],_0x1139f9=_0xd5c975[_0x1497cc(0x32e)];return _0x1139f9?_0x480afb=_0x28dfb7[_0x1497cc(0x2a8)]([0x53616c74,0x65645f5f])['concat'](_0x1139f9)[_0x1497cc(0x116)](_0x59bf7c):_0x480afb=_0x59bf7c,_0x480afb[_0x1497cc(0x232)](_0x3efd08);},'parse':function(_0x3407d6){var _0x3ebdaa=_0x2c92e5,_0x3a090c,_0x38dbc9=_0x3efd08[_0x3ebdaa(0x425)](_0x3407d6),_0x1b98f5=_0x38dbc9[_0x3ebdaa(0x370)];return _0x1b98f5[0x0]==0x53616c74&&_0x1b98f5[0x1]==0x65645f5f&&(_0x3a090c=_0x28dfb7[_0x3ebdaa(0x2a8)](_0x1b98f5[_0x3ebdaa(0x1ee)](0x2,0x4)),_0x1b98f5[_0x3ebdaa(0x34c)](0x0,0x4),_0x38dbc9['sigBytes']-=0x10),_0x50ab20['create']({'ciphertext':_0x38dbc9,'salt':_0x3a090c});}},_0x5555a2=_0x142635[_0x2c92e5(0x445)]=_0xf5780[_0x2c92e5(0x1e0)]({'cfg':_0xf5780[_0x2c92e5(0x1e0)]({'format':_0x31c6bc}),'encrypt':function(_0x5d0f27,_0x1ce4cf,_0x892c7,_0x5c68a0){var _0x29ad71=_0x2c92e5;_0x5c68a0=this[_0x29ad71(0x1c4)][_0x29ad71(0x1e0)](_0x5c68a0);var _0x11cab1=_0x5d0f27[_0x29ad71(0x202)](_0x892c7,_0x5c68a0),_0x3c336c=_0x11cab1[_0x29ad71(0xe5)](_0x1ce4cf),_0x405b29=_0x11cab1[_0x29ad71(0x1c4)];return _0x50ab20[_0x29ad71(0x2a8)]({'ciphertext':_0x3c336c,'key':_0x892c7,'iv':_0x405b29['iv'],'algorithm':_0x5d0f27,'mode':_0x405b29[_0x29ad71(0x23c)],'padding':_0x405b29['padding'],'blockSize':_0x5d0f27[_0x29ad71(0x376)],'formatter':_0x5c68a0[_0x29ad71(0xe0)]});},'decrypt':function(_0x4f6d11,_0x4f6411,_0x544107,_0x57ab1f){var _0x5c02bb=_0x2c92e5;_0x57ab1f=this['cfg']['extend'](_0x57ab1f),_0x4f6411=this[_0x5c02bb(0x1ba)](_0x4f6411,_0x57ab1f['format']);var _0x20c83d=_0x4f6d11[_0x5c02bb(0xed)](_0x544107,_0x57ab1f)[_0x5c02bb(0xe5)](_0x4f6411[_0x5c02bb(0x344)]);return _0x20c83d;},'_parse':function(_0x1e660b,_0x1434d8){var _0x4872d6=_0x2c92e5;return typeof _0x1e660b==_0x4872d6(0x324)?_0x1434d8[_0x4872d6(0x425)](_0x1e660b,this):_0x1e660b;}}),_0x4544ad=_0x39189a[_0x2c92e5(0x337)]={},_0x292a6c=_0x4544ad[_0x2c92e5(0x133)]={'execute':function(_0x26e39e,_0x50b6da,_0x183cae,_0x168e54,_0x3318f5){var _0x131f66=_0x2c92e5;if(_0x168e54||(_0x168e54=_0x28dfb7[_0x131f66(0x36e)](0x40/0x8)),_0x3318f5)var _0x211389=_0x50f972[_0x131f66(0x2a8)]({'keySize':_0x50b6da+_0x183cae,'hasher':_0x3318f5})[_0x131f66(0x37c)](_0x26e39e,_0x168e54);else var _0x211389=_0x50f972[_0x131f66(0x2a8)]({'keySize':_0x50b6da+_0x183cae})[_0x131f66(0x37c)](_0x26e39e,_0x168e54);var _0x4d91d3=_0x28dfb7[_0x131f66(0x2a8)](_0x211389['words'][_0x131f66(0x1ee)](_0x50b6da),_0x183cae*0x4);return _0x211389['sigBytes']=_0x50b6da*0x4,_0x50ab20[_0x131f66(0x2a8)]({'key':_0x211389,'iv':_0x4d91d3,'salt':_0x168e54});}},_0x331d1f=_0x142635[_0x2c92e5(0x2a4)]=_0x5555a2[_0x2c92e5(0x1e0)]({'cfg':_0x5555a2['cfg']['extend']({'kdf':_0x292a6c}),'encrypt':function(_0x2426c7,_0x177f60,_0x59e661,_0x135ccd){var _0x2bcda6=_0x2c92e5;_0x135ccd=this['cfg']['extend'](_0x135ccd);var _0x473c1b=_0x135ccd[_0x2bcda6(0x337)][_0x2bcda6(0x17f)](_0x59e661,_0x2426c7[_0x2bcda6(0x2f4)],_0x2426c7[_0x2bcda6(0x3d2)],_0x135ccd['salt'],_0x135ccd[_0x2bcda6(0x1dd)]);_0x135ccd['iv']=_0x473c1b['iv'];var _0x28eebd=_0x5555a2['encrypt']['call'](this,_0x2426c7,_0x177f60,_0x473c1b[_0x2bcda6(0x2e2)],_0x135ccd);return _0x28eebd['mixIn'](_0x473c1b),_0x28eebd;},'decrypt':function(_0x21b2e9,_0x2b58af,_0x2e158b,_0x219a0e){var _0x236599=_0x2c92e5;_0x219a0e=this['cfg'][_0x236599(0x1e0)](_0x219a0e),_0x2b58af=this[_0x236599(0x1ba)](_0x2b58af,_0x219a0e[_0x236599(0xe0)]);var _0x282bf0=_0x219a0e[_0x236599(0x337)][_0x236599(0x17f)](_0x2e158b,_0x21b2e9[_0x236599(0x2f4)],_0x21b2e9[_0x236599(0x3d2)],_0x2b58af[_0x236599(0x32e)],_0x219a0e[_0x236599(0x1dd)]);_0x219a0e['iv']=_0x282bf0['iv'];var _0x193a7c=_0x5555a2[_0x236599(0x2fa)][_0x236599(0x3f8)](this,_0x21b2e9,_0x2b58af,_0x282bf0[_0x236599(0x2e2)],_0x219a0e);return _0x193a7c;}});}();}));}(Te)),Te[_0x1d35a0(0x1df)];}var Gi=fe[_0x5a48c0(0x1df)],st;function Ki(){var _0x378087=_0x5a48c0;return st||(st=0x1,function(_0x5d0b3,_0x2dcea8){(function(_0x21151c,_0x2e1f31,_0x3b9446){_0x5d0b3['exports']=_0x2e1f31(ee(),Ut(),Hi(),At(),Pt());}(Gi,function(_0xb7adbd){return(function(){var _0x31c1b9=_0x5815,_0x4bac46=_0xb7adbd,_0x13036f=_0x4bac46[_0x31c1b9(0x2c4)],_0x5ac35a=_0x13036f[_0x31c1b9(0x3e8)],_0x4e34db=_0x4bac46[_0x31c1b9(0x11c)],_0x199b5e=[],_0x88b459=[],_0x2d8d41=[],_0x252a09=[],_0x21b7c2=[],_0x3278cd=[],_0x17196c=[],_0xd0a4de=[],_0x118ebc=[],_0x2ae297=[];(function(){for(var _0x28f924=[],_0x4c5285=0x0;_0x4c5285<0x100;_0x4c5285++)_0x4c5285<0x80?_0x28f924[_0x4c5285]=_0x4c5285<<0x1:_0x28f924[_0x4c5285]=_0x4c5285<<0x1^0x11b;for(var _0x308517=0x0,_0x21a6e2=0x0,_0x4c5285=0x0;_0x4c5285<0x100;_0x4c5285++){var _0x5ea778=_0x21a6e2^_0x21a6e2<<0x1^_0x21a6e2<<0x2^_0x21a6e2<<0x3^_0x21a6e2<<0x4;_0x5ea778=_0x5ea778>>>0x8^_0x5ea778&0xff^0x63,_0x199b5e[_0x308517]=_0x5ea778,_0x88b459[_0x5ea778]=_0x308517;var _0x5ee7fe=_0x28f924[_0x308517],_0x59ee18=_0x28f924[_0x5ee7fe],_0x4caf64=_0x28f924[_0x59ee18],_0x10307a=_0x28f924[_0x5ea778]*0x101^_0x5ea778*0x1010100;_0x2d8d41[_0x308517]=_0x10307a<<0x18|_0x10307a>>>0x8,_0x252a09[_0x308517]=_0x10307a<<0x10|_0x10307a>>>0x10,_0x21b7c2[_0x308517]=_0x10307a<<0x8|_0x10307a>>>0x18,_0x3278cd[_0x308517]=_0x10307a;var _0x10307a=_0x4caf64*0x1010101^_0x59ee18*0x10001^_0x5ee7fe*0x101^_0x308517*0x1010100;_0x17196c[_0x5ea778]=_0x10307a<<0x18|_0x10307a>>>0x8,_0xd0a4de[_0x5ea778]=_0x10307a<<0x10|_0x10307a>>>0x10,_0x118ebc[_0x5ea778]=_0x10307a<<0x8|_0x10307a>>>0x18,_0x2ae297[_0x5ea778]=_0x10307a,_0x308517?(_0x308517=_0x5ee7fe^_0x28f924[_0x28f924[_0x28f924[_0x4caf64^_0x5ee7fe]]],_0x21a6e2^=_0x28f924[_0x28f924[_0x21a6e2]]):_0x308517=_0x21a6e2=0x1;}}());var _0x290ccb=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x54ef67=_0x4e34db[_0x31c1b9(0x18d)]=_0x5ac35a[_0x31c1b9(0x1e0)]({'_doReset':function(){var _0x3c5fb6=_0x31c1b9,_0x2c01ce;if(!(this[_0x3c5fb6(0x304)]&&this[_0x3c5fb6(0xfd)]===this['_key'])){for(var _0x30182e=this[_0x3c5fb6(0xfd)]=this[_0x3c5fb6(0x1cf)],_0x42db1e=_0x30182e[_0x3c5fb6(0x370)],_0x377d22=_0x30182e['sigBytes']/0x4,_0x4e1f8a=this[_0x3c5fb6(0x304)]=_0x377d22+0x6,_0x1c61f4=(_0x4e1f8a+0x1)*0x4,_0x101314=this[_0x3c5fb6(0x2f3)]=[],_0x1ac739=0x0;_0x1ac739<_0x1c61f4;_0x1ac739++)_0x1ac739<_0x377d22?_0x101314[_0x1ac739]=_0x42db1e[_0x1ac739]:(_0x2c01ce=_0x101314[_0x1ac739-0x1],_0x1ac739%_0x377d22?_0x377d22>0x6&&_0x1ac739%_0x377d22==0x4&&(_0x2c01ce=_0x199b5e[_0x2c01ce>>>0x18]<<0x18|_0x199b5e[_0x2c01ce>>>0x10&0xff]<<0x10|_0x199b5e[_0x2c01ce>>>0x8&0xff]<<0x8|_0x199b5e[_0x2c01ce&0xff]):(_0x2c01ce=_0x2c01ce<<0x8|_0x2c01ce>>>0x18,_0x2c01ce=_0x199b5e[_0x2c01ce>>>0x18]<<0x18|_0x199b5e[_0x2c01ce>>>0x10&0xff]<<0x10|_0x199b5e[_0x2c01ce>>>0x8&0xff]<<0x8|_0x199b5e[_0x2c01ce&0xff],_0x2c01ce^=_0x290ccb[_0x1ac739/_0x377d22|0x0]<<0x18),_0x101314[_0x1ac739]=_0x101314[_0x1ac739-_0x377d22]^_0x2c01ce);for(var _0x46a215=this[_0x3c5fb6(0x12b)]=[],_0x29c801=0x0;_0x29c801<_0x1c61f4;_0x29c801++){var _0x1ac739=_0x1c61f4-_0x29c801;if(_0x29c801%0x4)var _0x2c01ce=_0x101314[_0x1ac739];else var _0x2c01ce=_0x101314[_0x1ac739-0x4];_0x29c801<0x4||_0x1ac739<=0x4?_0x46a215[_0x29c801]=_0x2c01ce:_0x46a215[_0x29c801]=_0x17196c[_0x199b5e[_0x2c01ce>>>0x18]]^_0xd0a4de[_0x199b5e[_0x2c01ce>>>0x10&0xff]]^_0x118ebc[_0x199b5e[_0x2c01ce>>>0x8&0xff]]^_0x2ae297[_0x199b5e[_0x2c01ce&0xff]];}}},'encryptBlock':function(_0x23719a,_0x3df65c){var _0x4d7ad3=_0x31c1b9;this[_0x4d7ad3(0x43e)](_0x23719a,_0x3df65c,this['_keySchedule'],_0x2d8d41,_0x252a09,_0x21b7c2,_0x3278cd,_0x199b5e);},'decryptBlock':function(_0x460dd0,_0x5a0372){var _0x3f70b2=_0x31c1b9,_0x5d1e90=_0x460dd0[_0x5a0372+0x1];_0x460dd0[_0x5a0372+0x1]=_0x460dd0[_0x5a0372+0x3],_0x460dd0[_0x5a0372+0x3]=_0x5d1e90,this[_0x3f70b2(0x43e)](_0x460dd0,_0x5a0372,this[_0x3f70b2(0x12b)],_0x17196c,_0xd0a4de,_0x118ebc,_0x2ae297,_0x88b459);var _0x5d1e90=_0x460dd0[_0x5a0372+0x1];_0x460dd0[_0x5a0372+0x1]=_0x460dd0[_0x5a0372+0x3],_0x460dd0[_0x5a0372+0x3]=_0x5d1e90;},'_doCryptBlock':function(_0x5f5e01,_0x4e1184,_0x5c2ff4,_0xc4419e,_0x4b87a3,_0x58c1c6,_0x32f7f9,_0x595876){for(var _0x5e4fb3=this['_nRounds'],_0x3da43a=_0x5f5e01[_0x4e1184]^_0x5c2ff4[0x0],_0x256af1=_0x5f5e01[_0x4e1184+0x1]^_0x5c2ff4[0x1],_0x50f1e7=_0x5f5e01[_0x4e1184+0x2]^_0x5c2ff4[0x2],_0x42ade0=_0x5f5e01[_0x4e1184+0x3]^_0x5c2ff4[0x3],_0x3e63b2=0x4,_0x109caa=0x1;_0x109caa<_0x5e4fb3;_0x109caa++){var _0x3b6939=_0xc4419e[_0x3da43a>>>0x18]^_0x4b87a3[_0x256af1>>>0x10&0xff]^_0x58c1c6[_0x50f1e7>>>0x8&0xff]^_0x32f7f9[_0x42ade0&0xff]^_0x5c2ff4[_0x3e63b2++],_0xf16b5a=_0xc4419e[_0x256af1>>>0x18]^_0x4b87a3[_0x50f1e7>>>0x10&0xff]^_0x58c1c6[_0x42ade0>>>0x8&0xff]^_0x32f7f9[_0x3da43a&0xff]^_0x5c2ff4[_0x3e63b2++],_0x5e6604=_0xc4419e[_0x50f1e7>>>0x18]^_0x4b87a3[_0x42ade0>>>0x10&0xff]^_0x58c1c6[_0x3da43a>>>0x8&0xff]^_0x32f7f9[_0x256af1&0xff]^_0x5c2ff4[_0x3e63b2++],_0x137c76=_0xc4419e[_0x42ade0>>>0x18]^_0x4b87a3[_0x3da43a>>>0x10&0xff]^_0x58c1c6[_0x256af1>>>0x8&0xff]^_0x32f7f9[_0x50f1e7&0xff]^_0x5c2ff4[_0x3e63b2++];_0x3da43a=_0x3b6939,_0x256af1=_0xf16b5a,_0x50f1e7=_0x5e6604,_0x42ade0=_0x137c76;}var _0x3b6939=(_0x595876[_0x3da43a>>>0x18]<<0x18|_0x595876[_0x256af1>>>0x10&0xff]<<0x10|_0x595876[_0x50f1e7>>>0x8&0xff]<<0x8|_0x595876[_0x42ade0&0xff])^_0x5c2ff4[_0x3e63b2++],_0xf16b5a=(_0x595876[_0x256af1>>>0x18]<<0x18|_0x595876[_0x50f1e7>>>0x10&0xff]<<0x10|_0x595876[_0x42ade0>>>0x8&0xff]<<0x8|_0x595876[_0x3da43a&0xff])^_0x5c2ff4[_0x3e63b2++],_0x5e6604=(_0x595876[_0x50f1e7>>>0x18]<<0x18|_0x595876[_0x42ade0>>>0x10&0xff]<<0x10|_0x595876[_0x3da43a>>>0x8&0xff]<<0x8|_0x595876[_0x256af1&0xff])^_0x5c2ff4[_0x3e63b2++],_0x137c76=(_0x595876[_0x42ade0>>>0x18]<<0x18|_0x595876[_0x3da43a>>>0x10&0xff]<<0x10|_0x595876[_0x256af1>>>0x8&0xff]<<0x8|_0x595876[_0x50f1e7&0xff])^_0x5c2ff4[_0x3e63b2++];_0x5f5e01[_0x4e1184]=_0x3b6939,_0x5f5e01[_0x4e1184+0x1]=_0xf16b5a,_0x5f5e01[_0x4e1184+0x2]=_0x5e6604,_0x5f5e01[_0x4e1184+0x3]=_0x137c76;},'keySize':0x100/0x20});_0x4bac46['AES']=_0x5ac35a[_0x31c1b9(0x416)](_0x54ef67);}()),_0xb7adbd['AES'];}));}(fe)),fe[_0x378087(0x1df)];}var Yi=Ki();const qi=Se(Yi);var zi=Ut();const ot=Se(zi);var be={'exports':{}},Ji=be[_0x5a48c0(0x1df)],at;function Xi(){var _0x4295e1=_0x5a48c0;return at||(at=0x1,function(_0x46ff27,_0x595705){(function(_0x84dcd6,_0x5ac05f){var _0x21e71c=_0x5815;_0x46ff27[_0x21e71c(0x1df)]=_0x5ac05f(ee());}(Ji,function(_0x363b7d){var _0x50b64c=_0x5815;return _0x363b7d[_0x50b64c(0x148)][_0x50b64c(0x28d)];}));}(be)),be[_0x4295e1(0x1df)];}var Zi=Xi();const Qi=Se(Zi);var Re={'exports':{}},en=Re[_0x5a48c0(0x1df)],ct;function tn(){return ct||(ct=0x1,function(_0x5d0dd4,_0xe4bc8a){(function(_0x306474,_0xd435c0){var _0x217ec4=_0x5815;_0x5d0dd4[_0x217ec4(0x1df)]=_0xd435c0(ee());}(en,function(_0x328cb9){var _0x171694=_0x5815;return(function(){var _0x3d07bd=_0x5815;if(typeof ArrayBuffer==_0x3d07bd(0x3af)){var _0x40f5c1=_0x328cb9,_0x4cbf8c=_0x40f5c1['lib'],_0x19bf93=_0x4cbf8c[_0x3d07bd(0x24f)],_0x4df22c=_0x19bf93[_0x3d07bd(0x261)],_0x1e4cd2=_0x19bf93['init']=function(_0x1d00c4){var _0xef3e6c=_0x3d07bd;if(_0x1d00c4 instanceof ArrayBuffer&&(_0x1d00c4=new Uint8Array(_0x1d00c4)),(_0x1d00c4 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x1d00c4 instanceof Uint8ClampedArray||_0x1d00c4 instanceof Int16Array||_0x1d00c4 instanceof Uint16Array||_0x1d00c4 instanceof Int32Array||_0x1d00c4 instanceof Uint32Array||_0x1d00c4 instanceof Float32Array||_0x1d00c4 instanceof Float64Array)&&(_0x1d00c4=new Uint8Array(_0x1d00c4[_0xef3e6c(0x15c)],_0x1d00c4['byteOffset'],_0x1d00c4['byteLength'])),_0x1d00c4 instanceof Uint8Array){for(var _0x55c6aa=_0x1d00c4['byteLength'],_0x17d5b0=[],_0x5407c8=0x0;_0x5407c8<_0x55c6aa;_0x5407c8++)_0x17d5b0[_0x5407c8>>>0x2]|=_0x1d00c4[_0x5407c8]<<0x18-_0x5407c8%0x4*0x8;_0x4df22c[_0xef3e6c(0x3f8)](this,_0x17d5b0,_0x55c6aa);}else _0x4df22c['apply'](this,arguments);};_0x1e4cd2[_0x3d07bd(0x2f8)]=_0x19bf93;}}()),_0x328cb9[_0x171694(0x2c4)][_0x171694(0x24f)];}));}(Re)),Re['exports'];}var nn=tn();const rn=Se(nn);var Oe={'exports':{}},sn=Oe[_0x5a48c0(0x1df)],ht;function on(){return ht||(ht=0x1,function(_0x57655b,_0x532a77){(function(_0x23d761,_0x1ca21d,_0x1911b7){var _0x463e05=_0x5815;_0x57655b[_0x463e05(0x1df)]=_0x1ca21d(ee(),Pt());}(sn,function(_0x95a5b3){var _0x40122b=_0x5815;return _0x95a5b3[_0x40122b(0x21c)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x95a5b3[_0x40122b(0x21c)]['NoPadding'];}));}(Oe)),Oe['exports'];}var an=on();const cn=Se(an);function hn(_0x243b41,_0x484d5e){var _0xd66941=_0x5a48c0;const _0x3ee415=_0x484d5e-_0x243b41[_0xd66941(0x143)]%_0x484d5e,_0x47dd94=String['fromCharCode'](_0x3ee415)[_0xd66941(0x2ff)](_0x3ee415);return _0x243b41+_0x47dd94;}function _n(_0x214b5,_0x5aee93){var _0x2f03c4=_0x5a48c0;const _0x56af02=rn[_0x2f03c4(0x36e)](0x10),_0x570b65=hn(_0x214b5,0x10),_0x374fd3=qi['encrypt'](Qi[_0x2f03c4(0x425)](_0x570b65),ot[_0x2f03c4(0x425)](_0x5aee93),{'iv':_0x56af02,'padding':cn});return _0x56af02[_0x2f03c4(0x116)](_0x374fd3[_0x2f03c4(0x344)])[_0x2f03c4(0x232)](ot);}function ln(){var _0x44cff5=_0x5a48c0;const _0x127595=xt['getGlobalObject']()[_0x44cff5(0x25d)];if(_0x127595){const _0x4dcba1={'time':Math[_0x44cff5(0x279)](Date[_0x44cff5(0x280)]()/0x3e8),'domain':location[_0x44cff5(0x420)]};return _n(JSON['stringify'](_0x4dcba1),_0x127595);}}var un=Object[_0x5a48c0(0xe7)],dn=(_0x2437c0,_0x1a97e8,_0x42465d,_0x257de2)=>{for(var _0x4e897c=_0x257de2>0x1?void 0x0:_0x257de2?un(_0x1a97e8,_0x42465d):_0x1a97e8,_0x3730fa=_0x2437c0['length']-0x1,_0x34c825;_0x3730fa>=0x0;_0x3730fa--)(_0x34c825=_0x2437c0[_0x3730fa])&&(_0x4e897c=_0x34c825(_0x4e897c)||_0x4e897c);return _0x4e897c;},vn=(_0x40d71b,_0x522054)=>(_0x447a6a,_0x914393)=>_0x522054(_0x447a6a,_0x914393,_0x40d71b);let Ne=class{constructor(_0x4bb5c8){var _0x3f57c7=_0x5a48c0;this['_httpService']=_0x4bb5c8,this[_0x3f57c7(0x1c1)]();}[_0x5a48c0(0x1c1)](){var _0x118591=_0x5a48c0;this[_0x118591(0x26a)][_0x118591(0x3d7)]({'interceptor':(_0xfad1fc,_0x2d6920)=>{var _0x17ccfe=_0x118591;const _0x532dc5=_0xfad1fc[_0x17ccfe(0x34a)],_0x50ac78=ln();return _0x50ac78&&_0x532dc5[_0x17ccfe(0x3d5)]('x-univer-host',_0x50ac78),_0x2d6920(_0xfad1fc);}});}};Ne=dn([vn(0x0,a[_0x5a48c0(0xd9)](q[_0x5a48c0(0x216)]))],Ne);var Sn=Object[_0x5a48c0(0xe7)],fn=(_0x4800f3,_0x40ff25,_0x14a642,_0x20dbf0)=>{var _0x1040fe=_0x5a48c0;for(var _0xb3fcda=_0x20dbf0>0x1?void 0x0:_0x20dbf0?Sn(_0x40ff25,_0x14a642):_0x40ff25,_0x3cb1ca=_0x4800f3[_0x1040fe(0x143)]-0x1,_0x1755ac;_0x3cb1ca>=0x0;_0x3cb1ca--)(_0x1755ac=_0x4800f3[_0x3cb1ca])&&(_0xb3fcda=_0x1755ac(_0xb3fcda)||_0xb3fcda);return _0xb3fcda;},Me=(_0x4e6357,_0x5d7239)=>(_0x461a06,_0x4c3829)=>_0x5d7239(_0x461a06,_0x4c3829,_0x4e6357);exports[_0x5a48c0(0x285)]=class extends a[_0x5a48c0(0x3bb)]{constructor(_0x3fa419,_0x427b7e,_0x44bb6c){var _0x5c7849=_0x5a48c0;super(),A(this,_0x5c7849(0x162),new j[(_0x5c7849(0x1d4))](null)),A(this,'unitInfo$',this[_0x5c7849(0x162)]['asObservable']()),(this[_0x5c7849(0x39b)]=_0x3fa419,this[_0x5c7849(0x1fc)]=_0x427b7e,this[_0x5c7849(0x118)]=_0x44bb6c);}async['loadUnit'](_0x1faef8,_0xb8a18f,_0x339403){var _0x1df58f=_0x5a48c0;this[_0x1df58f(0x162)][_0x1df58f(0x110)]({'unitId':_0x1faef8,'type':_0xb8a18f,'subUnitId':_0x339403});let _0x5cff17=null;switch(_0xb8a18f){case X['UNIVER_SHEET']:{_0x5cff17=await this[_0x1df58f(0x2a3)](_0x1faef8);break;}case X[_0x1df58f(0x327)]:{_0x5cff17=await this['_loadDoc'](_0x1faef8);break;}default:{this[_0x1df58f(0x39b)][_0x1df58f(0x16f)](_0x1df58f(0x372),_0x1df58f(0x11d));break;}}return _0x5cff17;}async[_0x5a48c0(0x2a3)](_0x2528de){var _0x5de2ba=_0x5a48c0,_0x3e9f22;let _0x248b12=0x0;const _0x286fa4=await((_0x3e9f22=this[_0x5de2ba(0x118)])==null?void 0x0:_0x3e9f22[_0x5de2ba(0x33a)](_0x2528de));return _0x286fa4&&(_0x286fa4[_0x5de2ba(0x259)]||_0x286fa4[_0x5de2ba(0x430)]['length']!==0x0)&&(_0x248b12=_0x286fa4[_0x5de2ba(0x307)]),_0x248b12===0x0&&this[_0x5de2ba(0x39b)][_0x5de2ba(0x3a3)](_0x5de2ba(0x372),_0x5de2ba(0x11f)),this['_snapshotService']['loadSheet'](_0x2528de,_0x248b12);}async['_loadDoc'](_0x5140f9){var _0x5dbd31=_0x5a48c0,_0x4e5511;let _0x59ebcb=0x0;const _0xda8e71=await((_0x4e5511=this['_localCacheService'])==null?void 0x0:_0x4e5511['loadOfflineData'](_0x5140f9));return _0xda8e71&&(_0xda8e71[_0x5dbd31(0x259)]||_0xda8e71[_0x5dbd31(0x430)][_0x5dbd31(0x143)]!==0x0)&&(_0x59ebcb=_0xda8e71[_0x5dbd31(0x307)]),_0x59ebcb===0x0&&this['_logService'][_0x5dbd31(0x3a3)]('[DataLoaderService]',_0x5dbd31(0x11f)),this[_0x5dbd31(0x1fc)]['loadDoc'](_0x5140f9,_0x59ebcb);}},exports[_0x5a48c0(0x285)]=fn([Me(0x0,a[_0x5a48c0(0x2e9)]),Me(0x1,a[_0x5a48c0(0xd9)](g[_0x5a48c0(0x199)])),Me(0x2,a[_0x5a48c0(0x41d)](z))],exports[_0x5a48c0(0x285)]);var pn=Object[_0x5a48c0(0xe7)],gn=(_0x480863,_0x3d2940,_0x5221f1,_0x1dd697)=>{for(var _0x751fc8=_0x1dd697>0x1?void 0x0:_0x1dd697?pn(_0x3d2940,_0x5221f1):_0x3d2940,_0x310276=_0x480863['length']-0x1,_0x187fa2;_0x310276>=0x0;_0x310276--)(_0x187fa2=_0x480863[_0x310276])&&(_0x751fc8=_0x187fa2(_0x751fc8)||_0x751fc8);return _0x751fc8;},xe=(_0x426801,_0x33062c)=>(_0x5e6046,_0x175915)=>_0x33062c(_0x5e6046,_0x175915,_0x426801);const In=[_0x5a48c0(0x39d),'image/jpeg',_0x5a48c0(0x145),'image/gif',_0x5a48c0(0x38d)],mn=0x5*0x400*0x400,En=_0x5a48c0(0x42d),Cn=_0x5a48c0(0x384),Tn=_0x5a48c0(0x377),bn=_0x5a48c0(0x26e);function _0x157b(){var _0x452a41=['kdf','Tools','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','loadOfflineData','Hasher','SEND_CHANGESET_TIMEOUT','7086aYMhpD','emitEvent','_hash','ICollaborationSocketService','_clearRedo','transformSelections','_socket','ciphertext','onTransformIME','newCsEvent','?size=','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','changesets','headers','_status$','splice','setShowComponents','_getRedoStack','_clearCollaborationTimeoutTimer','UNAUTHENTICATED','_registerDependencies','avatar','encode','hasOwnProperty','processBlock','DocCollaborationEntity','ImageSourceType','APPLY_DUPLICATED','editing\x20status\x20changed\x20to','joinRsp','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_onFetchMissResult','INVITE_CODE_ALREADY_BOUND','_startTelemetryCollaborationNewChangeset','SEND_CHANGESET_TIMEOUT_KEY','LIVESHARE_TERMINATE','size','Disposable','_onOffline','@univerjs/drawing','Decryptor','@univerjs/telemetry','onlyLocal','InsertSheetMutation','_transformUndoredo','LIVESHARE_FETCH_OPERATIONS','_createSocket','apply','3azWYtw','random','getInterceptPoints','words','\x0aAfter:\x20','[DataLoaderService]','EmptyMutation','RevisionService','objectType','blockSize','EXCHANGE_SIGN_URL_SERVER_URL_KEY','CHANGESET_ACK','mergeOverrideWithDependencies','EvpKDF','MOBILE_HAS_BEEN_BOUND','compute','sheets','fetch_missing','__esModule','clear','_onConnectionOpen','collaboratorID','encodeURIComponent','/universer-api/stream/file/upload','delete','UUID','interceptor','NOT_COLLAB','getUnitStatus$','onTransformState','Could\x20not\x20dynamically\x20require\x20\x22','replace','image/bmp','sequenceExecute','cmd','sid','_initUnitPermissionChange','pluginName','c2Prime','/rev/','_remoteChangesetQueue','_iKey','SHA1','CollaborationImageIoService','updatePermissionPoint','get','_logService','CompressMutationService','image/png','SUBMIT_CHANGESET','_transitionLocked','YUUMI_NO_CUBOID_FOR_QUESTION','HEARTBEAT_TIMEOUT','_collaborationPaused','debug','asObservable','connection\x20error','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','synced','_commentUpdate$','_checkMissing','_waitForHeartbeatResponse','_changesetSessionId','_redoStacks','SheetCollaborationEntity','7356654aLLlHl','function','originalMeta','HEARTBEAT_INTERVAL_KEY','UNIVER_SHEET','APPLY_REVISION_CONFILICT','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_sender','_handlerCallback','disableLocalCache','_entityInit$','listCollaborators','_append','RxDisposable','onRemoteRej','ImageUploadStatusType','_commandService','save\x20fail\x20reason\x20is\x20','_toggleOffline','ENSURE_SNAPSHOT_EXECUTION','SOCKET_FAILED_RETRY','target','listRoles','CollaborativeUndoRedoService','_userManagerService','UNDEFINED','saveChangeset','SyncedState','_waitCount','/resources','unknown','infoRsp','GLOBAL_ROOMS_CNT_EXCEEDS','ILocalCacheService','_resendTimeout','baseRev','ivSize','COLLAB_SUBMIT_CHANGESET_URL_KEY','getValue','set','session.room-full','registerHTTPInterceptor','awaiting','decryptBlock','refreshPermission','_clearUndo','unitID','startsWith','IUniverInstanceService','_getAPIPrefix','json','955txoesJ','abs','readInt32LE','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_collaborationTimeoutTimer','UniverCollaborationPlugin','mapDocumentTypeToUniverType','BlockCipher','collaMsg','signUrlServerUrl','EMAIL_HAS_BEEN_BOUND','readAsDataURL','Cipher','close','Pkcs7','1801850TxdnBb','LICENSE_IMPORT_SIZE_EXCEEDED','_retryConnectingTimer','stopTime','$super','_compressMutationService','[FetchMissState]','NOT_FOUND','call','Base','_exhaustRemoteChangesetQueue','getTypeOfUnitDisposed$','1038965VudCBz','_cipher','DependentOn','INVITE_CODE_REQUIRED','_sendHeartbeatTimer','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','RECV','telemetry\x20info\x20is\x20not\x20initialized','shareReplay','_initMergeInterceptor','CHANGESET_REVISION_CONFILICT','_process','UnitSnapshot','complete','_isPermissionRej','/collaborator','rxjs/operators','_syncEditingCollabCursor','_acknowledgedAwaitingChangeset','_localeService','LICENSE_EXPORT_SIZE_EXCEEDED','getActiveSheet','LIVESHARE_REQUEST_HOST','APPLY_PERMISSION_DENIED','MUTATION','toLowerCase','_createHelper','from','CollaborationSession','change$','_configService','{fileID}','_memberService','Optional','[CollaborationEntity]','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','hostname','_univerInstanceService','JOIN','default','univer-pro.collaboration-client-socket-service','parse','Subject','isInternalEditorID','_applyRemoteChangeset','/role','LICENSE_MAX_UNITS_EXCEEDED','_revisionService','/new_changes','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','MSG_FOR_ERROR','localCacheService','mutations','/fetchmissing?from=','RichTextEditingMutation','onStarting','objectID','location','[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.','push','_change$','disposeWithMe','UNIVER_UNKNOWN','SessionStatus','_members$','csAckEvent','_doCryptBlock','CollaborationSocketService','_candidateSocket','OfflineState','UniverInstanceType','getResourcesRequest','createInstance','SerializableCipher','_minBufferSize','UPDATE_PERMISSION_OBJ','_clearLocalCache','collabSubmitChangesetUrl','entries','\x20in\x20_schedule.','Failed\x20to\x20update\x20permission\x20point','INVITE_CODE_HAS_BEEN_UES','UNIVER_COLLABORATION_CLIENT_PLUGIN','_replaceFileID','_rescheduleHeartbeat','_unitID','workbook','Inject','StreamCipher','collabWebSocketUrl','members','firstValueFrom','_sessions','LocalUndoRedoService','format','_scheduleCollaborationTimeoutTimer','putCollaborators','reduce','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','finalize','AwaitingWithPendingState','getOwnPropertyDescriptor','_createHmacHelper','updateCursorEvent','JOIN_ROOM_FAILED','_initDependencies','UNRECOGNIZED','createDecryptor','CollaborationUIEventId','_roomCreated$','liveShareOperation','liveShareNewHost','_HTTPService','AuthzIoHttpService','_sheetTransformSelectionsService','ISnapshotServerService','/-/object/list','uploadFileServerUrl','HmacSHA1','transformChangesets','CommandType','onTransformSelections','focused$','_keyPriorReset','getCollabEntity','_onUserLeave','_queuedRemoteChangesets','update','add','COMMENT_UPDATE','getLatestCsReqIdBySid','auth.needGotoLoginAlert','setConfig','DisposableCollection','transformMutationsWithChangeset','getCurrentRevOfUnit','getCurrentUser','compose','YUUMI_SUBSCRIPTION_NOT_FOUND','YUUMI_URL_COL_OUT_OF_RANGE','collaboration-client.config','csShouldRetryEvent','next','_doReset','online$','_nDataBytes','HEARTBEAT_INTERVAL','symbol','concat','allowed','_localCacheService','LOGIN_URL_KEY','_imageSourceCache','requireSession','algo','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','onTransformRemoteChangesetByStateCache','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','toStringTag','result','name','getUnitId','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','uniscriptRunEvent','_createHandler','_snapshotServerService','TOO_MANY_REQUESTS','_transformSelections','_transformIMECache','_invKeySchedule','HmacMD5','updateMember','SnapshotServerOverHTTPService','_map','_onUserJoin','_updateState','toggleOffline','OpenSSL','YUUMI_RATE_OVER_LIMIT','_ENC_XFORM_MODE','takeUntil','Hex','COMPRESS_MUTATION_SEND','padding','setWaitCount','ws://127.0.0.1:8000/universer-api/comb/connect','copyFileMeta','INetworkConditionService','_retryCount','error$','[CollaborationSessionService]:\x20socket\x20error','CollaborationController','CollaborationEntity','length','eventID','image/jpg','offline','_tryEnsureSocket','enc','merge','body','_updateLocalCache','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','onRemoteAck','getLocalCacheKey','downloadEndpointUrl','INVALID_INVITE_CODE','getUnitType','SUBMIT_CHANGESET_TIMEOUT','/universer-api/authz','_incrementRevisionNumber','CollaborationSessionService','Encryptor','@univerjs/sheets','Univer','_sessionStatus$','filter','collaboration-client.local-cache-service','buffer','__creator','_lockTransition','retryConnectingInterval','ONLINE','LICENSE_DISTRO_REJECTED','_unitInfo$','url','bind','_onConnectionFailed','CollaborationEvent','put','PendingState','@univerjs/core','_networkConditionService','_scheduleCompleteTimestamp','JOINING','ISingleActiveUnitService','getSheetId','error','createSocket','_fetchMissChangesets','transformStack\x20failed!','roles','socketService','origin','c1Prime','LIVESHARE_NEW_HOST','USER_NOT_INVITED_CODE','[CollaborationSessionService]','[SyncedState]:\x20received\x20rejection.','leaveEvent','_transformStateCache','SheetsSelectionsService','encryptBlock','execute','UnitStatus','_instanceService','sessionStatus$','_sendHeartbeat','reject','/-/object/-/batch_allowed','socket\x20close','delay','loginUrlKey','memberID','_transformRemoteChangesetByStateCache','HEARTBEAT','AwaitingState','AES','_onLocalMutation','ERROR_IMAGE','/block/','_timeoutTimer','shouldCloseConn','_collaborationUIEventService','UniverCollaborationClientPlugin','close$','fetchMiss','NO_OTHER_CLIENTS_EDITING','_awaitingChangeset','SnapshotService','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','PSEUDO_FETCH_MISSING_RESULT','m2Prime','substr','setCurrentUser','sin','HMAC','_submitChangeset','[CollaborationState]:\x20apply\x20error!','_mode','_clearTimeoutTimer','_tryReconnect','/universer-api/snapshot','_eventService','not_collab','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','addImageSourceCache','_substituteRedoStack','IAuthzIoService','_removeRoom','UNIVER_SLIDE','forEach','_getDownloadEndpointURL','deepClone','ERROR_EXCEED_SIZE','ConflictState','_undoRedoService','HELLO','_onRemoteACK','[CollaborationUndoRedoService]','_onRemoteChangeset','authzUrl','_parse','_getAPIPrefixPath','rng','send','MemberService','catch','ISocketService','_initRequestHeader','UNKNOWN_CMD','LIVESHARE_OPERATION','cfg','onMissingChangesets','_initCloseConn','PENDING','_singleActiveUnitService','b64DecodeUnicode','Workbook','unitId','_updateStatus','Module','pipe','_key','univer-pro.collaboration-client.network-condition.service','find','FetchingMissState','UNISCRIPT_RUN','BehaviorSubject','INTERNAL_ERROR','MergeInterceptorFactory','6920008autJcD','_undoStacks','_socketReady','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_pendingMutations','JOIN_ROOM_PERMISSION_DENIED','hasher','defineProperty','exports','extend','batchAllowed','_permissionService','isTransformMutationsWithChangesetSuccess','OTHER_CLIENT_EDITING','YUUMI_UNABLE_LOAD_URL','/unit/','UNIVER_PROJECT','_event$','msCrypto','entityInit$','UNKNOWN_CODE','randomUUID','_xformMode','slice','[PendingState]:\x20received\x20rejection.','SOCKET_FAILED','joinEvent','Latin1','HTTPRequest','_getUploadFileURL','take','SheetPermissionInitController','_showConflictNotification','_doFinalize','_config','OFFLINE','_throwTelemetryCollaborationNewChangeset','_snapshotService','snapshotServerUrl','JSONX','IContextService','MD5','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','createEncryptor','userID','getTypeOfUnitAdded$','POST','ICommandService','session.room-cnt-exceeds','stringify','randomBytes','SheetTransformSelectionsService','getMember','/universer-api/oidc/authpage','title','createCollaborator','_socketMessageSubscription','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_injector','has','AWAITING_WITH_PENDING','55nhdtVi','_sendingTimer','HTTPService','JOIN_ROOM_NOT_EXISTS','CHANGESET_REJ','PERMISSION_DENIED','_createInitialState','withCredentials','pad','_reverseMap','submit\x20changeset\x20error!','unsubscribe','_onCombEvent','getImage','SNAPSHOT_INVALID_SNAPSHOT','/object/','getCollabEntity$','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','incrementRevOfUnit','[PendingState]:\x20received\x20acknowledgement.','updateOfflineData','collaboration_new_changeset','USERS_LEAVE','onCommentUpdate','_socketService','resend','crypto','_resendWithTimeout','status$','isPermissionRej','toString','waitForRoom$','responseType','Error\x20on\x20receiving\x20event','SNAPSHOT_SERVER_URL_KEY','PERSON','_socket$','MentionType','_schedule','reset','mode','_getCurrentRevision','Rectangle','_getSendChangesetTimeout','_disableEditing','2535764EeLSCy','addHandlerCallback','toggleOnline','IConfigService','@univerjs-pro/collaboration','UnitEmbedded','mixIn','unit-cache-','post','list','COLLAB_WEB_SOCKET_URL','getWorkbookSelections','Undefined','initWorkbookPermissionChange','WordArray','USERS_ENTER','_onRecvEvent','override','HttpImport','ITelemetryService','toDisposable','WorkbookEditablePermission','clone','OPTIONAL','awaitingChangeset','YUUMI_ASYNCIO_CANCELLED','SetSelectionsOperation','unpad','__Key__','code','DEFAULT_FILE_NAME','generateRandomId','init','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','IDLE','enableAuthServer','PY_RUNTIME_SCRIPT_ERROR','pending','CLOSE_ROOM','_iv','\x20-\x20','_httpService','executeCommand','getSnapshotAPIPath','createIdentifier','/universer-api/file/{fileID}/sign-url','_onRemoteRetry','LOCAL_CACHE_INTERVAL','_getUndoStack','OTHER_CLIENTS_EDITING','patch','/universer-api/uniscript','Malformed\x20UTF-8\x20data','_state','_getSignURL','actions','floor','RETRY_CONNECTING_MAX_COUNT_KEY','LocaleService','WECHAT_HAS_BEEN_BOUND','People','onRemoteRetry','subscribe','now','HEARTBEAT_TIMEOUT_KEY','reconnect','COMPRESS_MUTATION_APPLY','_emitMembers','DataLoaderService','_getCtorByUniverType','651RyROXw','isTransformMutationsWithChangesetFailure','members$','updatePermissionObjEvent','onTransformRemoteChangesetByIMECache','_listenToNetworkCondition','Utf8','_executeRemoteChangeset','_collaborationSessionService','routeKey','_clearScheduledTask','appendMutation','charCodeAt','saveSheetBlock','startTime','sigBytes','_collabSessionService','AUTHZ_URL_KEY','_clearHeartbeatTimer','permissionRejEvent','_data','[OfflineState]:\x20received\x20rejection.','FETCH_MISS','APPLY_NON_SEQUENTIAL_REVISION','subject','getRandomValues','reqId','COLLAB_SUBMIT_CHANGESET_URL','_loadSheet','PasswordBasedCipher','getImageSourceCache','values','_resendTimer','create','_prevBlock','SNAPSHOT_HAS_BEEN_REMOVED','COMPLETION_FINISHED','ceil','[OfflineState]:\x20received\x20changeset.','every','getFocusedUnit','Base64','/universer-api/user/session-ticket','append','fetching\x20missing\x20changesets\x20from\x20','onSyncEditingCollabCursor','SNAPSHOT_URL_KEY','isArray','removeMember','JOIN_ROOM_FULL','parseChangesetToProtocol','then','editingUnit','open$','UniverNetworkPlugin','_unlockTransition','status','objects','_doCreateSocket','UserProfileImg','_DEC_XFORM_MODE','lib','_startCollaboration','reverse','textRanges','_substituteUndoStack','_handler','CONFLICT','max','_decreaseWaiting','params','_onJoinRoomEvent','selections','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','getConfig','IUndoRedoService','clamp','_onRemoteRejected','FileId','CHANGESET_SHOULD_RETRY','PERMISSION_REJ','_telemetryInfo','_shouldReportTelemetry','_getLoginPath','getTime','serializeCombRequest','_replayCachedMutations','state','_oKey','BASE64','LEAVE','key','dispose$','_stopTelemetryCollaborationNewChangeset','ALREADY_EXISTS','getDeserializedSheetBlock','[OfflineState]:\x20received\x20acknowledgement.','SYNCED','ILogService','_telemetryService','UPDATE_CURSOR','saveSnapshot','session','fromCollab','114160LpJUiz','_type','formatter','concatMap','_keySchedule','keySize','ITransformService','_onConflict','failed\x20to\x20apply\x20missed\x20changesets!','prototype','map','decrypt','range','touchDependencies','session.room-permission-denied','indexOf','repeat','closeSession','onLocalMutation','_init','CONNECTOR_DATA_TOO_LARGE','_nRounds','transformUndoRedo','event$','rev','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','/allowed','_changesetReqId','session.room-not-exists','Injector','CBC','onRemoteChangeset','onCommandExecuted','conflict','onMissedChangesetFetched','collaborators','onSendChangeset','_members','type','_transformStack','revision','localeService','_transformService','message$','join','dispose','/universer-api/comb','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_entities','_state$','getMemberID','isTransformChangesetsSuccess','registerDependencies','string','onStateChange','state$','UNIVER_DOC','HttpExport','INVALID_ARGUMENT','_roomMembers','charAt','_hasher','MentionIoHttpService','salt','BufferedBlockAlgorithm','IPermissionService','fetchThroughInterceptors','data','enableSingleActiveInstanceLock','INGEST','APPLY_REJECT','SHOULD_CLOSE_CONN'];_0x157b=function(){return _0x452a41;};return _0x157b();}exports[_0x5a48c0(0x398)]=class{constructor(_0x1cfa04,_0x4ebf30,_0x2a0115){var _0x12490d=_0x5a48c0;A(this,_0x12490d(0x3ca),0x0),A(this,'_change$',new j[(_0x12490d(0x426))]()),A(this,_0x12490d(0x419),this[_0x12490d(0x438)]),A(this,'_imageSourceCache',new Map()),(this['_httpService']=_0x1cfa04,this[_0x12490d(0x41a)]=_0x4ebf30,this['_univerInstanceService']=_0x2a0115);}[_0x5a48c0(0x13a)](_0x349639){var _0x38412b=_0x5a48c0;this['_waitCount']=_0x349639,this['_change$'][_0x38412b(0x110)](_0x349639);}[_0x5a48c0(0x2a5)](_0x4dd32b,_0x25b6bc){var _0x50d1b8=_0x5a48c0;if(_0x25b6bc===J['ImageSourceType'][_0x50d1b8(0x2e0)]){const _0x34c4f8=new Image();return _0x34c4f8['src']=_0x4dd32b,_0x34c4f8;}return this[_0x50d1b8(0x11a)][_0x50d1b8(0x39a)](_0x4dd32b);}[_0x5a48c0(0x1aa)](_0x7ef01d,_0x24a3d3,_0x166a77){var _0x24faa6=_0x5a48c0;_0x24a3d3===J[_0x24faa6(0x357)][_0x24faa6(0x2e0)]||_0x166a77==null||this['_imageSourceCache'][_0x24faa6(0x3d5)](_0x7ef01d,_0x166a77);}async[_0x5a48c0(0x221)](_0x29a6bf){var _0x3612cf=_0x5a48c0;try{const _0x3fb886=this['_replaceFileID'](this[_0x3612cf(0x277)](),''+_0x29a6bf),_0x4dd8c2=(await this['_httpService'][_0x3612cf(0x39a)](_0x3fb886))['body'];if(_0x4dd8c2[_0x3612cf(0x16f)]&&_0x4dd8c2[_0x3612cf(0x16f)][_0x3612cf(0x25e)]===Ct['OK']){const _0x4e273f=new URL(_0x4dd8c2[_0x3612cf(0x163)],this['_getDownloadEndpointURL']())[_0x3612cf(0x232)]();return Promise['resolve'](_0x4e273f);}return Promise[_0x3612cf(0x184)](_0x4dd8c2[_0x3612cf(0x16f)]);}catch(_0x263752){return Promise['reject'](_0x263752);}}async['saveImage'](_0x1957c0){var _0x4f2dc2=_0x5a48c0;let _0x5c03a9='';if(!In['includes'](_0x1957c0['type']))return this[_0x4f2dc2(0x2cc)](),Promise['reject'](new Error(J[_0x4f2dc2(0x3bd)]['ERROR_IMAGE_TYPE']));if(_0x1957c0['size']>mn)return this['_decreaseWaiting'](),Promise[_0x4f2dc2(0x184)](new Error(J[_0x4f2dc2(0x3bd)][_0x4f2dc2(0x1b2)]));try{const _0x410845=new FormData();_0x410845[_0x4f2dc2(0x2b2)]('file',_0x1957c0);const _0x1883b8=this[_0x4f2dc2(0x421)][_0x4f2dc2(0x2af)](),_0x156205=_0x1883b8==null?void 0x0:_0x1883b8[_0x4f2dc2(0x123)]();if(!_0x156205)throw new Error('unitId\x20is\x20not\x20found');const _0x3b2240=this[_0x4f2dc2(0x1f4)]()+_0x4f2dc2(0x347)+_0x1957c0['size']['toString']()+'&source='+Tt[_0x4f2dc2(0x246)]+'&assign='+encodeURIComponent(_0x156205),_0x56113d=await(await fetch(_0x3b2240,{'method':_0x4f2dc2(0x205),'body':_0x410845}))[_0x4f2dc2(0x3e0)]();if(typeof _0x56113d[_0x4f2dc2(0x2d5)]!=_0x4f2dc2(0x324))return this['_decreaseWaiting'](),Promise[_0x4f2dc2(0x184)](new Error(J[_0x4f2dc2(0x3bd)][_0x4f2dc2(0x18f)]));_0x5c03a9=_0x56113d[_0x4f2dc2(0x2d5)];}catch{return this[_0x4f2dc2(0x2cc)](),Promise['reject'](new Error(J[_0x4f2dc2(0x3bd)][_0x4f2dc2(0x18f)]));}return new Promise((_0x5895c2,_0x584e64)=>{var _0x1b1e2d=_0x4f2dc2;const _0x31c754=new FileReader();_0x31c754[_0x1b1e2d(0x3ec)](_0x1957c0),_0x31c754['onload']=_0x1d2120=>{var _0x24f840=_0x1b1e2d,_0x134e68;const _0x9e232a=(_0x134e68=_0x1d2120[_0x24f840(0x3c3)])==null?void 0x0:_0x134e68['result'];if(_0x9e232a==null){this[_0x24f840(0x2cc)](),_0x584e64(new Error(J[_0x24f840(0x3bd)]['ERROR_IMAGE']));return;}const _0x131a46=a[_0x24f840(0x338)][_0x24f840(0x260)](0x6);_0x5895c2({'imageId':_0x131a46,'imageSourceType':J[_0x24f840(0x357)][_0x24f840(0x386)],'source':_0x5c03a9,'base64Cache':_0x9e232a,'status':J[_0x24f840(0x3bd)]['SUCCUSS']}),this[_0x24f840(0x2cc)]();};});}[_0x5a48c0(0x1f4)](){var _0x7c0c75=_0x5a48c0,_0x237e64,_0x47cedc;const _0x15ef9f=this[_0x7c0c75(0x41a)][_0x7c0c75(0x2d1)](En),_0x1b0490=this['_configService']['getConfig'](Y);return(_0x47cedc=(_0x237e64=_0x1b0490==null?void 0x0:_0x1b0490[_0x7c0c75(0xf7)])!=null?_0x237e64:_0x15ef9f)!=null?_0x47cedc:Cn;}[_0x5a48c0(0x277)](){var _0x4ec96b=_0x5a48c0,_0x301b25,_0x4e0a32;const _0x5953dd=this[_0x4ec96b(0x41a)][_0x4ec96b(0x2d1)](Tn),_0x250b44=this[_0x4ec96b(0x41a)][_0x4ec96b(0x2d1)](Y);return(_0x4e0a32=(_0x301b25=_0x250b44==null?void 0x0:_0x250b44[_0x4ec96b(0x3ea)])!=null?_0x301b25:_0x5953dd)!=null?_0x4e0a32:bn;}[_0x5a48c0(0x1b0)](){var _0x3210aa=_0x5a48c0,_0x21c58e;const _0x280fc3=this[_0x3210aa(0x41a)]['getConfig'](Y);return(_0x21c58e=_0x280fc3==null?void 0x0:_0x280fc3[_0x3210aa(0x14f)])!=null?_0x21c58e:location[_0x3210aa(0x175)];}[_0x5a48c0(0x44f)](_0x21b16c,_0x14e0ec){var _0xab5651=_0x5a48c0;return _0x21b16c[_0xab5651(0x38c)](_0xab5651(0x41b),_0x14e0ec);}['_decreaseWaiting'](){var _0x22e11e=_0x5a48c0;this['_waitCount']-=0x1,this[_0x22e11e(0x438)][_0x22e11e(0x110)](this['_waitCount']);}},exports[_0x5a48c0(0x398)]=gn([xe(0x0,a[_0x5a48c0(0xd9)](q[_0x5a48c0(0x216)])),xe(0x1,a[_0x5a48c0(0x244)]),xe(0x2,a[_0x5a48c0(0xd9)](a[_0x5a48c0(0x3de)]))],exports[_0x5a48c0(0x398)]);var Rn=Object[_0x5a48c0(0xe7)],On=(_0x35119f,_0x53bdec,_0x2db501,_0x25e049)=>{var _0x3699b2=_0x5a48c0;for(var _0x239894=_0x25e049>0x1?void 0x0:_0x25e049?Rn(_0x53bdec,_0x2db501):_0x53bdec,_0xe0426=_0x35119f[_0x3699b2(0x143)]-0x1,_0x1836c9;_0xe0426>=0x0;_0xe0426--)(_0x1836c9=_0x35119f[_0xe0426])&&(_0x239894=_0x1836c9(_0x239894)||_0x239894);return _0x239894;},_t=(_0x56c7ad,_0xc54698)=>(_0x5e5152,_0x2bab5e)=>_0xc54698(_0x5e5152,_0x2bab5e,_0x56c7ad);const yn=_0x5a48c0(0x153);exports[_0x5a48c0(0x32d)]=class{constructor(_0xf25826,_0x570e3a){var _0x35056c=_0x5a48c0;this['_configService']=_0xf25826,this[_0x35056c(0xf2)]=_0x570e3a;}[_0x5a48c0(0x1bb)](){var _0x2efb5c=_0x5a48c0,_0x57b598,_0x51caf6;const _0x920361=this[_0x2efb5c(0x41a)]['getConfig'](Ge),_0x549948=this['_configService'][_0x2efb5c(0x2d1)](Y);return(_0x51caf6=(_0x57b598=_0x549948==null?void 0x0:_0x549948[_0x2efb5c(0x1b9)])!=null?_0x57b598:_0x920361)!=null?_0x51caf6:yn;}async[_0x5a48c0(0x24a)](_0x375433){var _0x55b65b=_0x5a48c0;const _0x498df9=this[_0x55b65b(0x1bb)]()+'/collaborator';return{'list':[{'title':_0x55b65b(0x27d),'mentions':(await this[_0x55b65b(0xf2)][_0x55b65b(0x39a)](_0x498df9,{'params':{'objectID':_0x375433[_0x55b65b(0x1cb)],'unitID':_0x375433[_0x55b65b(0x1cb)]}}))[_0x55b65b(0x14a)][_0x55b65b(0x312)][_0x55b65b(0x2f9)](_0x42688e=>({'objectId':_0x42688e['id'],'name':_0x42688e['subject'][_0x55b65b(0x122)],'metadata':{'icon':_0x42688e[_0x55b65b(0x29f)][_0x55b65b(0x352)]},'label':_0x42688e[_0x55b65b(0x29f)][_0x55b65b(0x122)],'objectType':a[_0x55b65b(0x239)][_0x55b65b(0x237)]})),'metadata':{},'type':a['MentionType']['PERSON']}]};}},exports[_0x5a48c0(0x32d)]=On([_t(0x0,a[_0x5a48c0(0xd9)](a[_0x5a48c0(0x244)])),_t(0x1,a[_0x5a48c0(0xd9)](q[_0x5a48c0(0x216)]))],exports['MentionIoHttpService']);var Nn=Object[_0x5a48c0(0xe7)],Dn=(_0x1215af,_0x4fda09,_0x544ccd,_0x1dbd8d)=>{var _0x564d08=_0x5a48c0;for(var _0x47153a=_0x1dbd8d>0x1?void 0x0:_0x1dbd8d?Nn(_0x4fda09,_0x544ccd):_0x4fda09,_0x2257f4=_0x1215af[_0x564d08(0x143)]-0x1,_0x4f38a0;_0x2257f4>=0x0;_0x2257f4--)(_0x4f38a0=_0x1215af[_0x2257f4])&&(_0x47153a=_0x4f38a0(_0x47153a)||_0x47153a);return _0x47153a;},ue=(_0x2ca9e3,_0x4a3e7e)=>(_0x2de38f,_0x4520b5)=>_0x4a3e7e(_0x2de38f,_0x4520b5,_0x2ca9e3);let De=class extends a[_0x5a48c0(0x3bb)]{constructor(_0x2c682f,_0x426357,_0x127bb0,_0x314610,_0x57dc69){var _0x35282b=_0x5a48c0;super(),this['_injector']=_0x2c682f,this[_0x35282b(0x421)]=_0x426357,this[_0x35282b(0x1e2)]=_0x127bb0,this[_0x35282b(0x28f)]=_0x314610,this[_0x35282b(0x193)]=_0x57dc69,this[_0x35282b(0x391)](),this[_0x35282b(0x1c6)]();}[_0x5a48c0(0x1c6)](){var _0x2cca16=_0x5a48c0;const _0x59b2de=async _0x1f424d=>{var _0xeffeb7=_0x5815;(await this[_0xeffeb7(0x28f)][_0xeffeb7(0x11b)](_0x1f424d))[_0xeffeb7(0x306)][_0xeffeb7(0x1ce)](V[_0xeffeb7(0x15a)](_0x1cba25=>_0x1cba25['eventID']===g[_0xeffeb7(0x166)][_0xeffeb7(0x336)]),V['takeUntil'](this[_0xeffeb7(0x2e3)]))['subscribe'](_0x447c09=>{var _0x3807c2=_0xeffeb7;const _0x51b70d=_0x447c09,{reason:_0x56dea7}=_0x51b70d['data'];this[_0x3807c2(0x193)][_0x3807c2(0x33e)]({'id':Q[_0x3807c2(0x267)],'data':_0x56dea7}),this['_permissionService'][_0x3807c2(0x399)](new Z[(_0x3807c2(0x256))](_0x1f424d)['id'],!0x1),this[_0x3807c2(0x28f)][_0x3807c2(0x300)](_0x1f424d);});};j[_0x2cca16(0x149)](this[_0x2cca16(0x421)]['getTypeOfUnitAdded$'](a[_0x2cca16(0x442)][_0x2cca16(0x3b2)]),this[_0x2cca16(0x421)][_0x2cca16(0x204)](a[_0x2cca16(0x442)]['UNIVER_DOC']))[_0x2cca16(0x1ce)](V['map'](_0x463245=>_0x463245[_0x2cca16(0x123)]()),V['filter'](_0x40fe70=>!a['isInternalEditorID'](_0x40fe70)),V[_0x2cca16(0x136)](this[_0x2cca16(0x2e3)]))[_0x2cca16(0x27f)](_0x4b23d8=>{_0x59b2de(_0x4b23d8);});}[_0x5a48c0(0x391)](){var _0x2aa21d=_0x5a48c0;const _0xb19a4d=async _0x3a9709=>{var _0x416923=_0x5815;const _0x16a5d3=await this[_0x416923(0x28f)]['requireSession'](_0x3a9709),_0x13c115=this[_0x416923(0x211)][_0x416923(0x39a)](Z[_0x416923(0x1f6)]);_0x16a5d3[_0x416923(0x306)][_0x416923(0x1ce)](V[_0x416923(0x15a)](_0x4966cb=>_0x4966cb[_0x416923(0x144)]===g[_0x416923(0x166)][_0x416923(0x447)]),V[_0x416923(0x136)](this[_0x416923(0x2e3)]))[_0x416923(0x27f)](_0x455370=>{var _0x2fbf85=_0x416923;const _0x4e8320=_0x455370,{objectId:_0x24426a}=_0x4e8320[_0x2fbf85(0x332)];_0x24426a===_0x3a9709?_0x13c115[_0x2fbf85(0x24e)](_0x3a9709):_0x13c115[_0x2fbf85(0x3da)](_0x3a9709,_0x24426a);});};j[_0x2aa21d(0x149)](this[_0x2aa21d(0x421)]['getTypeOfUnitAdded$'](a['UniverInstanceType'][_0x2aa21d(0x3b2)]))[_0x2aa21d(0x1ce)](V[_0x2aa21d(0x2f9)](_0x4d5014=>_0x4d5014[_0x2aa21d(0x123)]()),V[_0x2aa21d(0x15a)](_0x4fb765=>!a[_0x2aa21d(0x427)](_0x4fb765)),V[_0x2aa21d(0x136)](this[_0x2aa21d(0x2e3)]))[_0x2aa21d(0x27f)](_0x52e108=>{_0xb19a4d(_0x52e108);});}};De=Dn([ue(0x0,a['Inject'](a[_0x5a48c0(0x30c)])),ue(0x1,a[_0x5a48c0(0x3de)]),ue(0x2,a[_0x5a48c0(0x330)]),ue(0x3,a[_0x5a48c0(0xd9)](exports[_0x5a48c0(0x155)])),ue(0x4,a[_0x5a48c0(0xd9)](te))],De);var Un=Object['getOwnPropertyDescriptor'],An=(_0x34c2c3,_0x234854,_0x7490fa,_0x411412)=>{var _0x3ca7c3=_0x5a48c0;for(var _0x306fdd=_0x411412>0x1?void 0x0:_0x411412?Un(_0x234854,_0x7490fa):_0x234854,_0x594eec=_0x34c2c3[_0x3ca7c3(0x143)]-0x1,_0x54065c;_0x594eec>=0x0;_0x594eec--)(_0x54065c=_0x34c2c3[_0x594eec])&&(_0x306fdd=_0x54065c(_0x306fdd)||_0x306fdd);return _0x306fdd;},lt=(_0x4ff612,_0x3cb069)=>(_0x250608,_0xfc2b4)=>_0x3cb069(_0x250608,_0xfc2b4,_0x4ff612);exports[_0x5a48c0(0x12e)]=class{constructor(_0x12ab8f,_0x33a245){var _0x1b6703=_0x5a48c0;this[_0x1b6703(0x41a)]=_0x12ab8f,this[_0x1b6703(0x26a)]=_0x33a245;}async['getUnitOnRev'](_0x5ee6ac,_0x3b6c9c){var _0x1d1f40=_0x5a48c0,_0x35ba9e;const {unitID:_0xd5c3e6,type:_0x3a8884,revision:_0x32d02d=0x0}=_0x3b6c9c,_0x1608da=this[_0x1d1f40(0x26c)]()+'/'+_0x3a8884+_0x1d1f40(0x1e6)+_0xd5c3e6+_0x1d1f40(0x394)+_0x32d02d,_0x5923ff=(await this[_0x1d1f40(0x26a)][_0x1d1f40(0x39a)](_0x1608da))[_0x1d1f40(0x14a)],_0x397e9c=(_0x35ba9e=_0x5923ff['snapshot'])==null?void 0x0:_0x35ba9e[_0x1d1f40(0xd8)];if(_0x397e9c){const _0xd85aa6=_0x397e9c==null?void 0x0:_0x397e9c[_0x1d1f40(0x3b0)],_0x270603=g['textEncoder'][_0x1d1f40(0x353)](g[_0x1d1f40(0x1c9)](_0xd85aa6));_0x397e9c[_0x1d1f40(0x3b0)]=_0x270603,Object[_0x1d1f40(0x44a)](_0x397e9c[_0x1d1f40(0x37d)])['forEach'](([,_0x2cf691])=>{var _0xe13a51=_0x1d1f40;const _0x77cf=_0x2cf691['originalMeta'],_0x166828=g['textEncoder'][_0xe13a51(0x353)](g['b64DecodeUnicode'](_0x77cf));_0x2cf691[_0xe13a51(0x3b0)]=_0x166828;});}return _0x5923ff;}async['getSheetBlock'](_0x518eab,_0x5bca9a){var _0x4ac70a=_0x5a48c0;const {unitID:_0x237be2,type:_0x1ab5aa,blockID:_0x2b56a6}=_0x5bca9a,_0x3134ab=this[_0x4ac70a(0x3df)]()+'/'+_0x1ab5aa+_0x4ac70a(0x1e6)+_0x237be2+'/block/'+_0x2b56a6;return(await this[_0x4ac70a(0x26a)][_0x4ac70a(0x39a)](_0x3134ab))['body'];}async[_0x5a48c0(0x2e6)](_0x3b010d,_0x2518ee){var _0x450403=_0x5a48c0;const {unitID:_0x11076a,type:_0x3e450c,blockID:_0x2168cb}=_0x2518ee,_0x192446=this['_getAPIPrefix']()+_0x450403(0x190)+_0x3e450c+_0x450403(0x1e6)+_0x11076a+_0x450403(0x190)+_0x2168cb;return(await this[_0x450403(0x26a)]['get'](_0x192446))[_0x450403(0x14a)];}async['fetchMissingChangesets'](_0x1d01a4,_0x20a5c6){var _0x123b27=_0x5a48c0;const {unitID:_0x418a07,type:_0x389b84,from:_0x4c5456,to:_0x5bb149}=_0x20a5c6,_0xddb2a2=this['_getAPIPrefix']()+'/'+_0x389b84+_0x123b27(0x1e6)+_0x418a07+_0x123b27(0x431)+_0x4c5456+'&to='+_0x5bb149;return(await this['_httpService'][_0x123b27(0x39a)](_0xddb2a2))[_0x123b27(0x14a)];}['getSnapshotAPIPath'](){var _0x20140b=_0x5a48c0,_0x3d98e7;return(_0x3d98e7=this[_0x20140b(0x41a)][_0x20140b(0x2d1)](vt))!=null?_0x3d98e7:this[_0x20140b(0x3df)]();}['_getAPIPrefix'](){var _0x3fe45d=_0x5a48c0,_0x4b7b99,_0x1ec3bb;const _0x306b3e=this['_configService'][_0x3fe45d(0x2d1)](dt),_0x15059a=this[_0x3fe45d(0x41a)][_0x3fe45d(0x2d1)](Y);return(_0x1ec3bb=(_0x4b7b99=_0x15059a==null?void 0x0:_0x15059a[_0x3fe45d(0x1fd)])!=null?_0x4b7b99:_0x306b3e)!=null?_0x1ec3bb:kt;}async[_0x5a48c0(0x443)](_0x44fa3e,_0x2a8772){var _0x29cc52=_0x5a48c0;const _0x3f726f='/universer-api/snapshot/'+_0x2a8772[_0x29cc52(0x315)]+'/unit/'+_0x2a8772[_0x29cc52(0x3dc)]+_0x29cc52(0x3cb);return(await this[_0x29cc52(0x26a)][_0x29cc52(0x39a)](_0x3f726f,{'params':{'resourceId':JSON[_0x29cc52(0x208)](_0x2a8772['resourceIDs'])}}))[_0x29cc52(0x14a)];}[_0x5a48c0(0x2ec)](){var _0x4e2f6d=_0x5a48c0;throw new Error(_0x4e2f6d(0x3b4));}[_0x5a48c0(0x294)](){var _0x16d141=_0x5a48c0;throw new Error(_0x16d141(0x3b4));}[_0x5a48c0(0x3c8)](){var _0x5c5f47=_0x5a48c0;throw new Error(_0x5c5f47(0x3b4));}[_0x5a48c0(0x13c)](){var _0x56b638=_0x5a48c0;throw new Error(_0x56b638(0x3b4));}[_0x5a48c0(0x104)](){var _0x2e145c=_0x5a48c0;throw new Error(_0x2e145c(0x3b4));}},exports[_0x5a48c0(0x12e)]=An([lt(0x0,a['IConfigService']),lt(0x1,a[_0x5a48c0(0xd9)](q[_0x5a48c0(0x216)]))],exports['SnapshotServerOverHTTPService']);var Pn=Object[_0x5a48c0(0xe7)],wn=(_0x6e5402,_0x2ba254,_0x33c971,_0x5d85b8)=>{for(var _0x5f384e=_0x5d85b8>0x1?void 0x0:_0x5d85b8?Pn(_0x2ba254,_0x33c971):_0x2ba254,_0x50f74a=_0x6e5402['length']-0x1,_0xf64132;_0x50f74a>=0x0;_0x50f74a--)(_0xf64132=_0x6e5402[_0x50f74a])&&(_0x5f384e=_0xf64132(_0x5f384e)||_0x5f384e);return _0x5f384e;},de=(_0x6ee40e,_0x4d28d3)=>(_0x5c9451,_0x553798)=>_0x4d28d3(_0x5c9451,_0x553798,_0x6ee40e);exports[_0x5a48c0(0x3c5)]=class extends a[_0x5a48c0(0xdf)]{constructor(_0x1a0f77,_0x567558,_0x4e7f74,_0x1cc618,_0x544b0a){var _0x361f0c=_0x5a48c0;super(_0x1a0f77,_0x567558,_0x4e7f74),this[_0x361f0c(0x319)]=_0x1cc618,this[_0x361f0c(0x39b)]=_0x544b0a;}[_0x5a48c0(0x305)](_0x1e5e5f,_0x5e9463){var _0x1e9a64=_0x5a48c0;const _0x1821b4=this['_getUndoStack'](_0x1e5e5f);if(_0x1821b4)try{const _0xe07ada=this[_0x1e9a64(0x316)](_0x1821b4,_0x5e9463);this[_0x1e9a64(0x2c8)](_0x1e5e5f,_0xe07ada);}catch(_0x3caaa1){this['_logService'][_0x1e9a64(0x16f)](_0x1e9a64(0x1b7),_0x3caaa1),this[_0x1e9a64(0x3db)](_0x1e5e5f);}const _0x3c35ff=this[_0x1e9a64(0x34e)](_0x1e5e5f);if(_0x3c35ff)try{const _0x11df74=this[_0x1e9a64(0x316)](_0x3c35ff,_0x5e9463);this[_0x1e9a64(0x1ab)](_0x1e5e5f,_0x11df74);}catch(_0x1ee3bf){this[_0x1e9a64(0x39b)]['error'](_0x1ee3bf),this[_0x1e9a64(0x341)](_0x1e5e5f);}}[_0x5a48c0(0x3db)](_0x2e9726){var _0x178f50=_0x5a48c0;const _0x290a02=this[_0x178f50(0x271)](_0x2e9726);_0x290a02&&(_0x290a02[_0x178f50(0x143)]=0x0,this[_0x178f50(0x1cc)]());}[_0x5a48c0(0x341)](_0x548694){var _0x4ab87c=_0x5a48c0;const _0x341401=this[_0x4ab87c(0x34e)](_0x548694);_0x341401&&(_0x341401[_0x4ab87c(0x143)]=0x0,this['_updateStatus']());}['_substituteUndoStack'](_0x3ce82e,_0x3c07ea){var _0x2b545f=_0x5a48c0;this[_0x2b545f(0x1d8)][_0x2b545f(0x3d5)](_0x3ce82e,_0x3c07ea),this['_updateStatus']();}['_substituteRedoStack'](_0x94ee16,_0x362e80){var _0x36c2be=_0x5a48c0;this[_0x36c2be(0x3ac)][_0x36c2be(0x3d5)](_0x94ee16,_0x362e80),this[_0x36c2be(0x1cc)]();}[_0x5a48c0(0x316)](_0x5ad980,_0x304ed6){var _0x3ca02c=_0x5a48c0;const _0x46bac3=[];let _0x3f84be=_0x304ed6,_0x36ddcb=_0x304ed6;for(let _0x2fdb44=_0x5ad980[_0x3ca02c(0x143)]-0x1;_0x2fdb44>=0x0;_0x2fdb44--){const {unitID:_0x532f7c,undoMutations:_0xb987d6,redoMutations:_0x5e674f}=_0x5ad980[_0x2fdb44],_0x3a6d4b=this[_0x3ca02c(0x319)][_0x3ca02c(0x108)](_0x3f84be,_0xb987d6),_0x3e51a9=this['_transformService']['transformMutationsWithChangeset'](_0x36ddcb,_0x5e674f);if(g['isTransformMutationsWithChangesetFailure'](_0x3a6d4b)||g[_0x3ca02c(0x288)](_0x3e51a9)){this[_0x3ca02c(0x39b)][_0x3ca02c(0x16f)](_0x3ca02c(0x1b7),_0x3ca02c(0x172),_0x3a6d4b,_0x3e51a9);break;}_0x3f84be=_0x3a6d4b[_0x3ca02c(0x176)],_0x36ddcb=_0x3e51a9['c1Prime'],_0x46bac3[_0x3ca02c(0x437)]({'unitID':_0x532f7c,'undoMutations':_0x3a6d4b[_0x3ca02c(0x19c)],'redoMutations':_0x3e51a9[_0x3ca02c(0x19c)]});}return _0x46bac3[_0x3ca02c(0x2c6)]();}},exports[_0x5a48c0(0x3c5)]=wn([de(0x0,a[_0x5a48c0(0x3de)]),de(0x1,a[_0x5a48c0(0x206)]),de(0x2,a[_0x5a48c0(0x1ff)]),de(0x3,g['ITransformService']),de(0x4,a[_0x5a48c0(0x2e9)])],exports[_0x5a48c0(0x3c5)]);var Ln=Object[_0x5a48c0(0x1de)],Mn=Object[_0x5a48c0(0xe7)],xn=(_0x30baa4,_0x132cd0,_0x3ddf03)=>_0x132cd0 in _0x30baa4?Ln(_0x30baa4,_0x132cd0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3ddf03}):_0x30baa4[_0x132cd0]=_0x3ddf03,kn=(_0x3e8483,_0x26a36e,_0x28808f,_0x42ff49)=>{for(var _0x517db6=_0x42ff49>0x1?void 0x0:_0x42ff49?Mn(_0x26a36e,_0x28808f):_0x26a36e,_0x224b10=_0x3e8483['length']-0x1,_0x5be728;_0x224b10>=0x0;_0x224b10--)(_0x5be728=_0x3e8483[_0x224b10])&&(_0x517db6=_0x5be728(_0x517db6)||_0x517db6);return _0x517db6;},ke=(_0x5ee989,_0x2cd73a)=>(_0x2fcd0f,_0x2f3615)=>_0x2cd73a(_0x2fcd0f,_0x2f3615,_0x5ee989),Hn=(_0x2e2c24,_0xf17aa8,_0x4103be)=>xn(_0x2e2c24,_0xf17aa8+'',_0x4103be);const jn=_0x5a48c0(0x44e);exports[_0x5a48c0(0x194)]=class extends a['Plugin']{constructor(_0x1b6458,_0xbaf8c2,_0x23f55d,_0x3dffe9){var _0x4bd1ae=_0x5a48c0;super(),A(this,'_config'),(this[_0x4bd1ae(0x39b)]=_0xbaf8c2,this[_0x4bd1ae(0x211)]=_0x23f55d,this[_0x4bd1ae(0x41a)]=_0x3dffe9);const {..._0x556aaf}=a[_0x4bd1ae(0x149)]({},Jt,_0x1b6458);if(!_0x556aaf[_0x4bd1ae(0x174)])throw new Error(_0x4bd1ae(0x262));this['_config']=_0x556aaf,this[_0x4bd1ae(0x41a)][_0x4bd1ae(0x106)](Y,_0x556aaf);}[_0x5a48c0(0x433)](){var _0x202ea6=_0x5a48c0;this[_0x202ea6(0x351)](),this[_0x202ea6(0xeb)]();}[_0x5a48c0(0x351)](){var _0x495892=_0x5a48c0,_0x4510c9,_0x35d7d2;this[_0x495892(0x211)][_0x495892(0x212)](a[_0x495892(0x2d2)])&&this[_0x495892(0x39b)][_0x495892(0x16f)]('[UniverCollaborationClientPlugin]',_0x495892(0x339));const _0x5ba9e0=a[_0x495892(0x379)]([[a[_0x495892(0x2d2)],{'useClass':exports[_0x495892(0x3c5)]}],[exports[_0x495892(0x155)]],[exports['MemberService']],[exports[_0x495892(0x20a)]],[ye],[Ne],[Be],[De],[te],[exports[_0x495892(0x285)]],[$e,{'useClass':this[_0x495892(0x1f9)][_0x495892(0x174)]}],[g[_0x495892(0xf5)],{'useClass':exports[_0x495892(0x12e)]}],[a[_0x495892(0x1ac)],{'useClass':exports['AuthzIoHttpService']}],[J['IImageIoService'],{'useClass':exports[_0x495892(0x398)]}],[a['IMentionIOService'],{'useClass':exports[_0x495892(0x32d)]}],[exports[_0x495892(0x141)]],[He]],(_0x4510c9=this[_0x495892(0x1f9)])==null?void 0x0:_0x4510c9[_0x495892(0x252)]);if(!((_0x35d7d2=this[_0x495892(0x1f9)])!=null&&_0x35d7d2[_0x495892(0x333)])){const _0x2905e2=_0x5ba9e0['findIndex'](([_0x35ed4f])=>_0x35ed4f===ve);_0x2905e2!==-0x1&&_0x5ba9e0['splice'](_0x2905e2,0x1);}a[_0x495892(0x323)](this[_0x495892(0x211)],_0x5ba9e0);}['_initDependencies'](){var _0x26c778=_0x5a48c0,_0x1be708,_0x51c96f,_0x1fa525;this[_0x26c778(0x211)][_0x26c778(0x39a)](q[_0x26c778(0x216)])[_0x26c778(0x3d7)]({'priority':0x14,'interceptor':q['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x1be708=this['_config'])!=null&&_0x1be708['enableOfflineEditing']||(_0x51c96f=this[_0x26c778(0x211)][_0x26c778(0x39a)](z,a['Quantity'][_0x26c778(0x258)]))==null||_0x51c96f[_0x26c778(0x3b7)](),(_0x1fa525=this['_config'])!=null&&_0x1fa525[_0x26c778(0x264)]&&a[_0x26c778(0x2fc)](this[_0x26c778(0x211)],[[ye]]),a[_0x26c778(0x2fc)](this['_injector'],[[Ne],[exports['CollaborationController']],[De]]);}},Hn(exports[_0x5a48c0(0x194)],_0x5a48c0(0x392),jn),exports['UniverCollaborationClientPlugin']=kn([a[_0x5a48c0(0x3fe)](g[_0x5a48c0(0x3e6)],q[_0x5a48c0(0x2bd)]),ke(0x1,a['ILogService']),ke(0x2,a[_0x5a48c0(0xd9)](a[_0x5a48c0(0x30c)])),ke(0x3,a['IConfigService'])],exports[_0x5a48c0(0x194)]),exports[_0x5a48c0(0x298)]=Ge,exports[_0x5a48c0(0x19a)]=Y,exports[_0x5a48c0(0x3d3)]=mt,exports['COLLAB_WEB_SOCKET_URL_KEY']=St,exports['CollaborationStatus']=Ve,exports[_0x5a48c0(0xee)]=Q,exports['CollaborationUIEventService']=te,exports['CommentService']=Be,exports['DEFAULT_COLLAB_WEB_SOCKET_URL']=ft,exports[_0x5a48c0(0x401)]=zt,exports['DEFAULT_WS_SESSION_TICKET_URL']=$t,exports[_0x5a48c0(0x3b1)]=pt,exports[_0x5a48c0(0x281)]=je,exports[_0x5a48c0(0x340)]=$e,exports[_0x5a48c0(0x3cf)]=z,exports[_0x5a48c0(0x13d)]=bt,exports[_0x5a48c0(0x16d)]=ve,exports[_0x5a48c0(0x270)]=Gt,exports['LOCAL_CACHE_INTERVAL_KEY']=Wt,exports['LOGIN_URL_KEY']=Et,exports[_0x5a48c0(0x1a9)]=qt,exports[_0x5a48c0(0x27a)]=It,exports[_0x5a48c0(0x35f)]=Ht,exports[_0x5a48c0(0x236)]=dt,exports[_0x5a48c0(0x2b5)]=vt,exports[_0x5a48c0(0x43b)]=se,exports[_0x5a48c0(0x180)]=Fe,exports['deserializeToCombResponse']=Rt,exports[_0x5a48c0(0x14e)]=vi,exports[_0x5a48c0(0x2dc)]=Ot;