@univerjs-pro/collaboration-client 0.5.1-nightly.202412121606 → 0.5.1-nightly.202412131606

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 _0x17863a=_0x491b;(function(_0xdfe474,_0x492189){var _0x3bc160=_0x491b,_0x28071c=_0xdfe474();while(!![]){try{var _0x5e62e5=-parseInt(_0x3bc160(0x454))/0x1+parseInt(_0x3bc160(0x492))/0x2+-parseInt(_0x3bc160(0x350))/0x3*(-parseInt(_0x3bc160(0x218))/0x4)+parseInt(_0x3bc160(0x464))/0x5*(parseInt(_0x3bc160(0x201))/0x6)+-parseInt(_0x3bc160(0x211))/0x7*(-parseInt(_0x3bc160(0x200))/0x8)+-parseInt(_0x3bc160(0x3f1))/0x9+parseInt(_0x3bc160(0x236))/0xa*(parseInt(_0x3bc160(0x189))/0xb);if(_0x5e62e5===_0x492189)break;else _0x28071c['push'](_0x28071c['shift']());}catch(_0x37475d){_0x28071c['push'](_0x28071c['shift']());}}}(_0x3ed5,0xd7533));var Lt=Object[_0x17863a(0x3d8)],Mt=(_0x13e05a,_0x5e9f82,_0x4e36ed)=>_0x5e9f82 in _0x13e05a?Lt(_0x13e05a,_0x5e9f82,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4e36ed}):_0x13e05a[_0x5e9f82]=_0x4e36ed,w=(_0x435029,_0x2f4688,_0x2afb52)=>Mt(_0x435029,typeof _0x2f4688!=_0x17863a(0x4a6)?_0x2f4688+'':_0x2f4688,_0x2afb52);Object[_0x17863a(0x3d8)](exports,Symbol[_0x17863a(0x467)],{'value':_0x17863a(0x2ef)});const a=require(_0x17863a(0x2c5)),B=require(_0x17863a(0x252)),V=require('rxjs/operators'),z=require(_0x17863a(0x186)),m=require(_0x17863a(0x4cb)),xt=require(_0x17863a(0x499)),ut=require(_0x17863a(0x317)),W=require(_0x17863a(0x2db)),X=require(_0x17863a(0x4e3)),jt=require('@univerjs-pro/license'),dt=_0x17863a(0x36c),$t=_0x17863a(0x1e1),vt='SNAPSHOT_URL_KEY',Ht=_0x17863a(0x19b),kt=0x7d0,ft=_0x17863a(0x251),St=_0x17863a(0x18e),Bt=_0x17863a(0x395),pt=_0x17863a(0x23c),Ft=0x7530,He=_0x17863a(0x3e8),gt=0x4e20,Wt=0x4e20,mt=_0x17863a(0x50e),Vt=0x3,Gt=_0x17863a(0x4d4),Kt=0x3e8,It=_0x17863a(0x45b),Yt=_0x17863a(0x2e3),Et=_0x17863a(0x28a),qt='/universer-api/oidc/authpage';var Ct=(_0x49e15d=>(_0x49e15d[_0x49e15d['UNDEFINED']=0x0]=_0x17863a(0x1da),_0x49e15d[_0x49e15d['OK']=0x1]='OK',_0x49e15d[_0x49e15d[_0x17863a(0x46f)]=0x2]='INTERNAL_ERROR',_0x49e15d[_0x49e15d[_0x17863a(0x2e0)]=0x3]='PERMISSION_DENIED',_0x49e15d[_0x49e15d[_0x17863a(0x2c0)]=0x4]=_0x17863a(0x2c0),_0x49e15d[_0x49e15d[_0x17863a(0x33e)]=0x5]='UNAUTHENTICATED',_0x49e15d[_0x49e15d[_0x17863a(0x313)]=0x6]=_0x17863a(0x313),_0x49e15d[_0x49e15d[_0x17863a(0x476)]=0x7]='INVALID_ARGUMENT',_0x49e15d[_0x49e15d[_0x17863a(0x239)]=0x8]=_0x17863a(0x239),_0x49e15d[_0x49e15d['COMPLETION_FINISHED']=0x9]=_0x17863a(0x415),_0x49e15d[_0x49e15d[_0x17863a(0x33a)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x49e15d[_0x49e15d[_0x17863a(0x1dc)]=0x1771]=_0x17863a(0x1dc),_0x49e15d[_0x49e15d[_0x17863a(0x3f2)]=0x1772]=_0x17863a(0x3f2),_0x49e15d[_0x49e15d[_0x17863a(0x27d)]=0x1773]=_0x17863a(0x27d),_0x49e15d[_0x49e15d[_0x17863a(0x463)]=0x1b59]=_0x17863a(0x463),_0x49e15d[_0x49e15d['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x17863a(0x480),_0x49e15d[_0x49e15d[_0x17863a(0x43d)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x49e15d[_0x49e15d[_0x17863a(0x22c)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x49e15d[_0x49e15d[_0x17863a(0x181)]=0x1b5d]=_0x17863a(0x181),_0x49e15d[_0x49e15d['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x17863a(0x412),_0x49e15d[_0x49e15d[_0x17863a(0x4d7)]=0x2329]=_0x17863a(0x4d7),_0x49e15d[_0x49e15d[_0x17863a(0x4de)]=0x232a]=_0x17863a(0x4de),_0x49e15d[_0x49e15d[_0x17863a(0x455)]=0x232b]=_0x17863a(0x455),_0x49e15d[_0x49e15d['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x17863a(0x25f),_0x49e15d[_0x49e15d[_0x17863a(0x3c7)]=0x232d]=_0x17863a(0x3c7),_0x49e15d[_0x49e15d['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x17863a(0x192),_0x49e15d[_0x49e15d[_0x17863a(0x295)]=0x2712]=_0x17863a(0x295),_0x49e15d[_0x49e15d[_0x17863a(0x1c8)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x49e15d[_0x49e15d[_0x17863a(0x3b3)]=0x2714]=_0x17863a(0x3b3),_0x49e15d[_0x49e15d[_0x17863a(0x502)]=-0x1]=_0x17863a(0x502),_0x49e15d))(Ct||{}),Z=(_0x512b07=>(_0x512b07[_0x512b07[_0x17863a(0x373)]=0x0]=_0x17863a(0x373),_0x512b07[_0x512b07['UNIVER_DOC']=0x1]=_0x17863a(0x1d4),_0x512b07[_0x512b07[_0x17863a(0x309)]=0x2]=_0x17863a(0x309),_0x512b07[_0x512b07[_0x17863a(0x403)]=0x3]=_0x17863a(0x403),_0x512b07[_0x512b07[_0x17863a(0x2fa)]=0x4]=_0x17863a(0x2fa),_0x512b07[_0x512b07[_0x17863a(0x502)]=-0x1]=_0x17863a(0x502),_0x512b07))(Z||{}),G=(_0x3d821d=>(_0x3d821d[_0x3d821d[_0x17863a(0x385)]=0x0]=_0x17863a(0x385),_0x3d821d[_0x3d821d[_0x17863a(0x210)]=0x1]=_0x17863a(0x210),_0x3d821d[_0x3d821d['JOIN']=0x2]=_0x17863a(0x453),_0x3d821d[_0x3d821d[_0x17863a(0x22b)]=0x3]='LEAVE',_0x3d821d[_0x3d821d[_0x17863a(0x3ea)]=0x4]=_0x17863a(0x3ea),_0x3d821d[_0x3d821d[_0x17863a(0x3a9)]=0x5]=_0x17863a(0x3a9),_0x3d821d[_0x3d821d[_0x17863a(0x34b)]=0x6]=_0x17863a(0x34b),_0x3d821d[_0x3d821d[_0x17863a(0x502)]=-0x1]=_0x17863a(0x502),_0x3d821d))(G||{}),he=(_0x5c779e=>(_0x5c779e[_0x5c779e[_0x17863a(0x225)]=0x0]='UNKNOWN_CODE',_0x5c779e[_0x5c779e['OK']=0x1]='OK',_0x5c779e[_0x5c779e[_0x17863a(0x408)]=0x2]=_0x17863a(0x408),_0x5c779e[_0x5c779e[_0x17863a(0x1f7)]=0x3e9]=_0x17863a(0x1f7),_0x5c779e[_0x5c779e[_0x17863a(0x241)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x5c779e[_0x5c779e[_0x17863a(0x43e)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x5c779e[_0x5c779e[_0x17863a(0x40e)]=0x3ec]=_0x17863a(0x40e),_0x5c779e[_0x5c779e['UNRECOGNIZED']=-0x1]=_0x17863a(0x502),_0x5c779e))(he||{}),Tt=(_0x43eea3=>(_0x43eea3[_0x43eea3[_0x17863a(0x48f)]=0x0]=_0x17863a(0x48f),_0x43eea3[_0x43eea3[_0x17863a(0x2f4)]=0x1]='HttpImport',_0x43eea3[_0x43eea3[_0x17863a(0x440)]=0x2]='HttpExport',_0x43eea3[_0x43eea3[_0x17863a(0x441)]=0x3]=_0x17863a(0x441),_0x43eea3[_0x43eea3['UnitSnapshot']=0x4]=_0x17863a(0x4aa),_0x43eea3[_0x43eea3[_0x17863a(0x502)]=-0x1]='UNRECOGNIZED',_0x43eea3))(Tt||{});const q=_0x17863a(0x4ba),zt={};var Q=(_0x1c2ad1=>(_0x1c2ad1[_0x17863a(0x474)]=_0x17863a(0x474),_0x1c2ad1['PERMISSION_DENIED']=_0x17863a(0x2e0),_0x1c2ad1[_0x17863a(0x485)]=_0x17863a(0x485),_0x1c2ad1[_0x17863a(0x2b5)]=_0x17863a(0x2b5),_0x1c2ad1[_0x17863a(0x1cc)]=_0x17863a(0x1cc),_0x1c2ad1[_0x17863a(0x4ca)]=_0x17863a(0x4ca),_0x1c2ad1[_0x17863a(0x358)]=_0x17863a(0x358),_0x1c2ad1[_0x17863a(0x26b)]='SUBMIT_CHANGESET_TIMEOUT',_0x1c2ad1))(Q||{});class te{constructor(){var _0x2bcb85=_0x17863a;w(this,_0x2bcb85(0x389),new B[(_0x2bcb85(0x2e9))]()),w(this,_0x2bcb85(0x345),this[_0x2bcb85(0x389)]['asObservable']());}['emitEvent'](_0x278208){var _0x29c132=_0x17863a;this[_0x29c132(0x389)][_0x29c132(0x2ed)](_0x278208);}}const bt=a[_0x17863a(0x3d2)](_0x17863a(0x3ab));function Rt(_0x2aab90){var _0x307e9e=_0x17863a,_0x2accd6,_0x32280f,_0x2f1723,_0x27742f,_0x3045d4;const _0x45388e=_0x2aab90['data'],_0x6cec2a=JSON[_0x307e9e(0x4ee)](_0x45388e);switch(_0x6cec2a[_0x307e9e(0x330)]){case G[_0x307e9e(0x3a9)]:case G[_0x307e9e(0x210)]:{const _0x3ded2e=_0x6cec2a[_0x307e9e(0x46a)];return{..._0x6cec2a,'data':_0x3ded2e,'cmd':_0x6cec2a[_0x307e9e(0x330)]};}case G[_0x307e9e(0x453)]:{const _0x1ba57c=_0x6cec2a[_0x307e9e(0x31f)];return{..._0x6cec2a,'data':_0x1ba57c,'cmd':_0x6cec2a[_0x307e9e(0x330)]};}case G[_0x307e9e(0x34b)]:{const _0x317263=_0x6cec2a['collaMsg'];switch(_0x317263[_0x307e9e(0x271)]){case m['CollaborationEvent'][_0x307e9e(0x2d6)]:return{..._0x6cec2a,'data':{..._0x317263,'data':(_0x2accd6=_0x317263[_0x307e9e(0x3cf)])==null?void 0x0:_0x2accd6['cs']},'cmd':_0x6cec2a['cmd']};case m[_0x307e9e(0x334)]['CHANGESET_ACK']:return{..._0x6cec2a,'data':{..._0x317263,'data':(_0x32280f=_0x317263[_0x307e9e(0x508)])==null?void 0x0:_0x32280f['cs']},'cmd':_0x6cec2a[_0x307e9e(0x330)]};case m[_0x307e9e(0x334)][_0x307e9e(0x1d8)]:return{..._0x6cec2a,'data':{..._0x317263,'data':(_0x2f1723=_0x317263[_0x307e9e(0x386)])==null?void 0x0:_0x2f1723['cs']},'cmd':_0x6cec2a['cmd']};case m[_0x307e9e(0x334)]['CHANGESET_REJ']:return{..._0x6cec2a,'data':{..._0x317263,'data':(_0x27742f=_0x317263[_0x307e9e(0x18c)])==null?void 0x0:_0x27742f['cs']},'cmd':_0x6cec2a[_0x307e9e(0x330)]};case m['CollaborationEvent']['CHANGESET_SHOULD_RETRY']:return{..._0x6cec2a,'data':{..._0x317263,'data':(_0x3045d4=_0x317263[_0x307e9e(0x407)])==null?void 0x0:_0x3045d4['cs']},'cmd':_0x6cec2a[_0x307e9e(0x330)]};case m['CollaborationEvent'][_0x307e9e(0x4b9)]:return{..._0x6cec2a,'data':{..._0x317263,'data':_0x317263[_0x307e9e(0x49a)]},'cmd':_0x6cec2a[_0x307e9e(0x330)]};case m[_0x307e9e(0x334)][_0x307e9e(0x4e6)]:return{..._0x6cec2a,'data':{..._0x317263,'data':_0x317263[_0x307e9e(0x275)]},'cmd':_0x6cec2a['cmd']};case m[_0x307e9e(0x334)][_0x307e9e(0x235)]:return{..._0x6cec2a,'data':{..._0x317263,'data':_0x317263['leaveEvent']},'cmd':_0x6cec2a['cmd']};case m[_0x307e9e(0x334)][_0x307e9e(0x24f)]:return{..._0x6cec2a,'data':{..._0x317263,'data':_0x317263[_0x307e9e(0x304)]},'cmd':_0x6cec2a[_0x307e9e(0x330)]};case m[_0x307e9e(0x334)][_0x307e9e(0x308)]:case m[_0x307e9e(0x334)][_0x307e9e(0x282)]:return{..._0x6cec2a,'data':{..._0x317263,'data':_0x317263['liveShareOperation']},'cmd':_0x6cec2a['cmd']};case m[_0x307e9e(0x334)][_0x307e9e(0x260)]:return{..._0x6cec2a,'data':{..._0x317263,'data':_0x317263[_0x307e9e(0x304)]},'cmd':_0x6cec2a[_0x307e9e(0x330)]};case m[_0x307e9e(0x334)]['MSG_FOR_ERROR']:return{..._0x6cec2a,'data':_0x317263,'cmd':_0x6cec2a['cmd']};case m[_0x307e9e(0x334)][_0x307e9e(0x2b7)]:return{..._0x6cec2a,'data':{..._0x317263,'data':_0x317263[_0x307e9e(0x383)]},'cmd':_0x6cec2a[_0x307e9e(0x330)]};case m['CollaborationEvent'][_0x307e9e(0x394)]:return{..._0x6cec2a,'data':{..._0x317263,'data':_0x317263['updatePermissionObjEvent']},'cmd':_0x6cec2a['cmd']};case m[_0x307e9e(0x334)]['SHOULD_CLOSE_CONN']:return{..._0x6cec2a,'data':{..._0x317263,'data':_0x317263[_0x307e9e(0x443)]},'cmd':_0x6cec2a[_0x307e9e(0x330)]};case m[_0x307e9e(0x334)][_0x307e9e(0x339)]:return{..._0x6cec2a,'data':{..._0x317263,'data':_0x317263[_0x307e9e(0x29f)]},'cmd':_0x6cec2a[_0x307e9e(0x330)]};default:return _0x6cec2a;}}default:return _0x6cec2a;}}function yt(_0x151a50){var _0x908124=_0x17863a;switch(_0x151a50[_0x908124(0x330)]){case G[_0x908124(0x3a9)]:case G[_0x908124(0x210)]:return JSON[_0x908124(0x390)]({'cmd':_0x151a50[_0x908124(0x330)],'routeKey':_0x151a50[_0x908124(0x214)]});case G[_0x908124(0x3ea)]:{let _0x2c9a88;switch(_0x151a50['data']['eventID']){case m[_0x908124(0x334)][_0x908124(0x4b9)]:{_0x2c9a88={'eventID':m[_0x908124(0x334)][_0x908124(0x4b9)],'updateCursorEvent':_0x151a50[_0x908124(0x34a)][_0x908124(0x34a)]};break;}case m[_0x908124(0x334)][_0x908124(0x235)]:{_0x2c9a88={'eventID':m[_0x908124(0x334)][_0x908124(0x235)],'leaveEvent':_0x151a50['data'][_0x908124(0x34a)]};break;}case m['CollaborationEvent']['USERS_ENTER']:{_0x2c9a88={'eventID':m['CollaborationEvent'][_0x908124(0x4e6)],'joinEvent':_0x151a50[_0x908124(0x34a)][_0x908124(0x34a)]};break;}case m[_0x908124(0x334)][_0x908124(0x24f)]:{_0x2c9a88={'eventID':m['CollaborationEvent']['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x151a50['data'][_0x908124(0x34a)]};break;}case m[_0x908124(0x334)][_0x908124(0x282)]:{_0x2c9a88={'eventID':m[_0x908124(0x334)]['LIVESHARE_OPERATION'],'liveShareOperation':_0x151a50[_0x908124(0x34a)]['data']};break;}case m[_0x908124(0x334)]['LIVESHARE_TERMINATE']:{_0x2c9a88={'eventID':m[_0x908124(0x334)][_0x908124(0x260)],'liveShareTerminate':_0x151a50[_0x908124(0x34a)]['data']};break;}case m[_0x908124(0x334)]['LIVESHARE_REQUEST_HOST']:{_0x2c9a88={'eventID':m[_0x908124(0x334)][_0x908124(0x2e8)],'liveShareRequestHost':_0x151a50[_0x908124(0x34a)][_0x908124(0x34a)]};break;}case m[_0x908124(0x334)][_0x908124(0x308)]:{_0x2c9a88={'eventID':m[_0x908124(0x334)][_0x908124(0x308)]};break;}default:_0x2c9a88={'eventID':_0x151a50['data'][_0x908124(0x271)]};}return JSON[_0x908124(0x390)]({'cmd':_0x151a50[_0x908124(0x330)],'routeKey':_0x151a50[_0x908124(0x214)],'collaMsg':_0x2c9a88});}case G[_0x908124(0x453)]:return JSON[_0x908124(0x390)]({'cmd':_0x151a50[_0x908124(0x330)],'routeKey':_0x151a50[_0x908124(0x214)],'joinReq':_0x151a50[_0x908124(0x34a)]});case G[_0x908124(0x22b)]:return JSON[_0x908124(0x390)]({'cmd':_0x151a50[_0x908124(0x330)],'routeKey':_0x151a50['routeKey'],'leaveReq':_0x151a50[_0x908124(0x34a)]});default:throw new Error(_0x908124(0x1cd));}}var Jt=Object['defineProperty'],Xt=Object[_0x17863a(0x381)],Zt=(_0x443fbe,_0x49269e,_0xb76c10,_0x2d7d73)=>{for(var _0xe03ceb=_0x2d7d73>0x1?void 0x0:_0x2d7d73?Xt(_0x49269e,_0xb76c10):_0x49269e,_0x16f58f=_0x443fbe['length']-0x1,_0x5a788e;_0x16f58f>=0x0;_0x16f58f--)(_0x5a788e=_0x443fbe[_0x16f58f])&&(_0xe03ceb=(_0x2d7d73?_0x5a788e(_0x49269e,_0xb76c10,_0xe03ceb):_0x5a788e(_0xe03ceb))||_0xe03ceb);return _0x2d7d73&&_0xe03ceb&&Jt(_0x49269e,_0xb76c10,_0xe03ceb),_0xe03ceb;},ue=(_0x25a737,_0x46d2d2)=>(_0x4df20a,_0x53673e)=>_0x46d2d2(_0x4df20a,_0x53673e,_0x25a737);const ke=a[_0x17863a(0x3d2)](_0x17863a(0x319));function Qt(_0x43f382,_0x2301b7,_0x3dd9fe){var _0x16d9b9=_0x17863a;return _0x43f382+'/'+_0x2301b7+_0x16d9b9(0x459)+_0x3dd9fe+_0x16d9b9(0x3ca);}exports['CollaborationSocketService']=class extends a['Disposable']{constructor(_0x1b7163,_0x22e69e,_0x271e8b,_0x16cfd0,_0x5172d9){var _0x5697ee=_0x17863a;super(),this['_injector']=_0x1b7163,this[_0x5697ee(0x279)]=_0x22e69e,this[_0x5697ee(0x483)]=_0x271e8b,this[_0x5697ee(0x3df)]=_0x16cfd0,this[_0x5697ee(0x3fa)]=_0x5172d9;}[_0x17863a(0x306)](_0x12444b){var _0x258910=_0x17863a;const _0x20ba23=this[_0x258910(0x3f8)]['get'](z[_0x258910(0x504)]);if(!_0x20ba23)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x262040=_0x20ba23[_0x258910(0x306)](_0x12444b);if(!_0x262040)throw new Error(_0x258910(0x42e));const _0x4c267b=new a[(_0x258910(0x466))](),_0x4783e3=new B[(_0x258910(0x2e9))]();_0x4c267b[_0x258910(0x38a)](_0x262040[_0x258910(0x1ab)]['subscribe'](_0x6b9660=>_0x4783e3[_0x258910(0x2ed)](_0x6b9660))),_0x4c267b[_0x258910(0x38a)](a['toDisposable'](()=>_0x4783e3[_0x258910(0x31d)]()));const _0x4af2f6=new B[(_0x258910(0x2e9))]();_0x4c267b[_0x258910(0x38a)](_0x262040[_0x258910(0x3da)][_0x258910(0x3b0)](_0x435763=>_0x4af2f6[_0x258910(0x2ed)](_0x435763))),_0x4c267b[_0x258910(0x38a)](a[_0x258910(0x297)](()=>_0x4af2f6[_0x258910(0x31d)]()));const _0x4c8c44=new B['Subject']();_0x4c267b[_0x258910(0x38a)](_0x262040['message$'][_0x258910(0x3b0)](_0x46d47a=>{var _0x13836e=_0x258910;const _0x84aa8=Rt(_0x46d47a);_0x4c8c44[_0x13836e(0x2ed)](_0x84aa8);})),_0x4c267b[_0x258910(0x38a)](a[_0x258910(0x297)](()=>_0x4c8c44['complete']()));let _0x5b6802;const _0x34b823=()=>{var _0x2e7024=_0x258910;_0x4af2f6[_0x2e7024(0x2ed)](new Event('connection\x20error')),_0x4783e3[_0x2e7024(0x2ed)](new CloseEvent(_0x2e7024(0x264))),_0x5b6802[_0x2e7024(0x343)]();};return _0x5b6802={'memberID':'','close$':_0x4783e3[_0x258910(0x314)](),'error$':_0x4af2f6[_0x258910(0x314)](),'open$':_0x262040[_0x258910(0x4ae)],'message$':_0x4c8c44['asObservable'](),'send':_0x24d81e=>{var _0x2ffbd2=_0x258910;if(_0x24d81e[_0x2ffbd2(0x330)]===G[_0x2ffbd2(0x3ea)]){if(_0x24d81e['data'][_0x2ffbd2(0x271)]===m['CollaborationEvent'][_0x2ffbd2(0x269)]){this[_0x2ffbd2(0x19e)](_0x5b6802,_0x24d81e[_0x2ffbd2(0x34a)])[_0x2ffbd2(0x3af)](_0x48b7b3=>{var _0x882c6d=_0x2ffbd2;this[_0x882c6d(0x3df)]['error'](_0x48b7b3),_0x34b823();});return;}if(_0x24d81e[_0x2ffbd2(0x34a)][_0x2ffbd2(0x271)]===m[_0x2ffbd2(0x334)][_0x2ffbd2(0x32a)]){const _0x4dcbd2=_0x24d81e['data'];this[_0x2ffbd2(0x36f)](_0x4dcbd2)[_0x2ffbd2(0x2f7)](_0x41697a=>{var _0x30da72=_0x2ffbd2;_0x4c8c44[_0x30da72(0x2ed)]({'cmd':G['RECV'],'code':he['OK'],'routeKey':_0x4dcbd2[_0x30da72(0x34a)][_0x30da72(0x418)],'routeType':'','data':{'eventID':m[_0x30da72(0x334)][_0x30da72(0x368)],'data':{'changesets':_0x41697a}}});})[_0x2ffbd2(0x3af)](_0x326cd2=>{var _0x412657=_0x2ffbd2;this[_0x412657(0x3df)][_0x412657(0x198)](_0x326cd2),_0x34b823();});return;}}_0x262040[_0x2ffbd2(0x3b5)](yt(_0x24d81e));},'close':()=>{var _0x20b257=_0x258910;_0x262040[_0x20b257(0x343)](),_0x4c267b[_0x20b257(0x17e)]();}},_0x5b6802;}async[_0x17863a(0x19e)](_0x5a94a1,_0x1c5657){var _0x44c6c9=_0x17863a,_0xf04046,_0x7ba231;const {unitType:_0x2e37dd,unitID:_0x252515,changeset:_0x31819b}=_0x1c5657['data'],_0x4c649f={'unitID':_0x252515,'memberID':_0x5a94a1[_0x44c6c9(0x475)],'type':_0x2e37dd,'changeset':m[_0x44c6c9(0x2fd)](_0x31819b)},_0x2341a2=this[_0x44c6c9(0x483)][_0x44c6c9(0x17d)](It),_0x295bec=this[_0x44c6c9(0x483)][_0x44c6c9(0x17d)](q),_0x444a4e=Qt((_0x7ba231=(_0xf04046=_0x295bec==null?void 0x0:_0x295bec['collabSubmitChangesetUrl'])!=null?_0xf04046:_0x2341a2)!=null?_0x7ba231:Yt,_0x2e37dd,_0x252515);try{await this[_0x44c6c9(0x279)][_0x44c6c9(0x302)](_0x444a4e,{'body':_0x4c649f});}catch(_0x38296d){throw this['_logService'][_0x44c6c9(0x198)](_0x44c6c9(0x40b),_0x44c6c9(0x31b)),_0x38296d;}}async[_0x17863a(0x36f)](_0x11ddf1){var _0x5e0a28=_0x17863a;const {unitID:_0x307505,from:_0x47bd71,to:_0x5df5fe,unitType:_0x1cef88}=_0x11ddf1[_0x5e0a28(0x34a)];return(await this['_snapshotServerService']['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x307505,'type':_0x1cef88,'from':_0x47bd71,'to':_0x5df5fe}))[_0x5e0a28(0x270)];}},exports[_0x17863a(0x1c9)]=Zt([ue(0x0,a[_0x17863a(0x45c)](a['Injector'])),ue(0x1,a[_0x17863a(0x45c)](z[_0x17863a(0x3e6)])),ue(0x2,a['IConfigService']),ue(0x3,a[_0x17863a(0x4fa)]),ue(0x4,m[_0x17863a(0x42c)])],exports[_0x17863a(0x1c9)]);const ei=_0x17863a(0x4fc);function ti(_0x38d7b3){var _0x4a760d=_0x17863a;return JSON[_0x4a760d(0x390)](_0x38d7b3)[_0x4a760d(0x291)];}class Be{constructor(){var _0x527e12=_0x17863a;w(this,_0x527e12(0x258),new B[(_0x527e12(0x2e9))]()),w(this,_0x527e12(0x4ef),this[_0x527e12(0x258)][_0x527e12(0x314)]());}[_0x17863a(0x2c3)](_0x1bb405){var _0x5c19eb=_0x17863a;this[_0x5c19eb(0x258)][_0x5c19eb(0x2ed)](_0x1bb405);}}var ii=Object[_0x17863a(0x3d8)],ni=Object[_0x17863a(0x381)],ri=(_0x2a834f,_0x1a402f,_0x4ab16f,_0x58010e)=>{var _0x4caa99=_0x17863a;for(var _0x289686=_0x58010e>0x1?void 0x0:_0x58010e?ni(_0x1a402f,_0x4ab16f):_0x1a402f,_0x1b63ff=_0x2a834f[_0x4caa99(0x291)]-0x1,_0x29c15b;_0x1b63ff>=0x0;_0x1b63ff--)(_0x29c15b=_0x2a834f[_0x1b63ff])&&(_0x289686=(_0x58010e?_0x29c15b(_0x1a402f,_0x4ab16f,_0x289686):_0x29c15b(_0x289686))||_0x289686);return _0x58010e&&_0x289686&&ii(_0x1a402f,_0x4ab16f,_0x289686),_0x289686;},Ke=(_0x4b9547,_0x48cdcc)=>(_0x4c18bc,_0x43c258)=>_0x48cdcc(_0x4c18bc,_0x43c258,_0x4b9547);exports['MemberService']=class extends a[_0x17863a(0x4ec)]{constructor(_0x99f406,_0x47f6de){var _0x3a1c0c=_0x17863a;super(),w(this,_0x3a1c0c(0x2a6),new Map()),(this[_0x3a1c0c(0x3a6)]=_0x99f406,this[_0x3a1c0c(0x436)]=_0x47f6de,this[_0x3a1c0c(0x2fe)](a['toDisposable'](B[_0x3a1c0c(0x2ab)](this[_0x3a1c0c(0x3a6)]['getTypeOfUnitDisposed$'](a[_0x3a1c0c(0x3c8)][_0x3a1c0c(0x309)])['pipe'](V['map'](_0x5575f3=>_0x5575f3[_0x3a1c0c(0x281)]())),this['_univerInstanceService'][_0x3a1c0c(0x4ce)](a[_0x3a1c0c(0x3c8)][_0x3a1c0c(0x1d4)])[_0x3a1c0c(0x457)](V['map'](_0x270f1b=>_0x270f1b[_0x3a1c0c(0x281)]())),this[_0x3a1c0c(0x3a6)][_0x3a1c0c(0x4ce)](a[_0x3a1c0c(0x3c8)][_0x3a1c0c(0x403)])[_0x3a1c0c(0x457)](V['map'](_0x2e21ba=>_0x2e21ba[_0x3a1c0c(0x281)]())))['subscribe'](_0x580295=>this['_removeRoom'](_0x580295)))));}[_0x17863a(0x4c5)](_0x4b58f7){var _0x5a2505=_0x17863a;this[_0x5a2505(0x436)][_0x5a2505(0x4c5)](_0x4b58f7);}[_0x17863a(0x27f)](){var _0x3d3ed5=_0x17863a;return this['_userManagerService'][_0x3d3ed5(0x27f)]();}[_0x17863a(0x32d)](_0x3c2a37,_0xa30728){var _0x3ddaae=_0x17863a;let _0x2f6cc2=this[_0x3ddaae(0x2a6)][_0x3ddaae(0x1f9)](_0x3c2a37);_0x2f6cc2||(_0x2f6cc2=new si(),this['_roomMembers'][_0x3ddaae(0x471)](_0x3c2a37,_0x2f6cc2)),_0x2f6cc2['updateMember'](_0xa30728);}['removeMember'](_0x63f492,_0x5d6f28){var _0x45f1d1=_0x17863a;const _0x45e405=this[_0x45f1d1(0x2a6)][_0x45f1d1(0x1f9)](_0x63f492);_0x45e405&&_0x45e405[_0x45f1d1(0x2d3)](_0x5d6f28);}[_0x17863a(0x4be)](_0x49f1f4){var _0x3784b5=_0x17863a;return this[_0x3784b5(0x2a6)][_0x3784b5(0x1f9)](_0x49f1f4);}[_0x17863a(0x442)](_0x5157cd,_0x3c89f3){var _0x1d775f=_0x17863a;const _0x165c38=this[_0x1d775f(0x2a6)][_0x1d775f(0x1f9)](_0x5157cd);if(_0x165c38)return _0x165c38[_0x1d775f(0x442)](_0x3c89f3);}[_0x17863a(0x32f)](_0x346435){var _0x20c1e3=_0x17863a;const _0x2538dd=this['_roomMembers'][_0x20c1e3(0x1f9)](_0x346435);_0x2538dd&&(_0x2538dd[_0x20c1e3(0x17e)](),this[_0x20c1e3(0x2a6)]['delete'](_0x346435));}[_0x17863a(0x17e)](){var _0x431c08=_0x17863a;this[_0x431c08(0x2a6)][_0x431c08(0x209)](_0x2a9ae9=>_0x2a9ae9[_0x431c08(0x17e)]()),this[_0x431c08(0x2a6)][_0x431c08(0x3d7)]();}},exports[_0x17863a(0x283)]=ri([Ke(0x0,a[_0x17863a(0x1ba)]),Ke(0x1,a[_0x17863a(0x45c)](a[_0x17863a(0x187)]))],exports[_0x17863a(0x283)]);class si extends a[_0x17863a(0x4ec)]{constructor(){var _0x262c2f=_0x17863a;super(...arguments),w(this,_0x262c2f(0x47c),new Map());}[_0x17863a(0x17e)](){var _0x260976=_0x17863a;this[_0x260976(0x47c)][_0x260976(0x3d7)]();}[_0x17863a(0x32d)](_0x4c82b7){var _0x2725b=_0x17863a;this[_0x2725b(0x47c)][_0x2725b(0x471)](_0x4c82b7[_0x2725b(0x475)],_0x4c82b7);}['removeMember'](_0x28aa13){var _0x4b8f3d=_0x17863a;this[_0x4b8f3d(0x47c)][_0x4b8f3d(0x40f)](_0x28aa13);}[_0x17863a(0x442)](_0x1f3c47){var _0x147f3c=_0x17863a;return this['_members'][_0x147f3c(0x1f9)](_0x1f3c47);}['getAllMembers'](){var _0x487cbc=_0x17863a;return Array[_0x487cbc(0x1d6)](this['_members'][_0x487cbc(0x267)]());}}var oi=Object[_0x17863a(0x3d8)],ai=Object[_0x17863a(0x381)],ci=(_0x3578f5,_0x41f916,_0x2eba7c,_0x51e91b)=>{var _0x5913ad=_0x17863a;for(var _0x59c641=_0x51e91b>0x1?void 0x0:_0x51e91b?ai(_0x41f916,_0x2eba7c):_0x41f916,_0x71092c=_0x3578f5[_0x5913ad(0x291)]-0x1,_0x21a5c3;_0x71092c>=0x0;_0x71092c--)(_0x21a5c3=_0x3578f5[_0x71092c])&&(_0x59c641=(_0x51e91b?_0x21a5c3(_0x41f916,_0x2eba7c,_0x59c641):_0x21a5c3(_0x59c641))||_0x59c641);return _0x51e91b&&_0x59c641&&oi(_0x41f916,_0x2eba7c,_0x59c641),_0x59c641;},oe=(_0x4a637f,_0x299954)=>(_0x5bbef5,_0x2088c1)=>_0x299954(_0x5bbef5,_0x2088c1,_0x4a637f),se=(_0x37713b=>(_0x37713b[_0x37713b[_0x17863a(0x227)]=0x0]=_0x17863a(0x227),_0x37713b[_0x37713b[_0x17863a(0x2b9)]=0x1]=_0x17863a(0x2b9),_0x37713b[_0x37713b[_0x17863a(0x20d)]=0x2]=_0x17863a(0x20d),_0x37713b[_0x37713b[_0x17863a(0x1a2)]=0x3]=_0x17863a(0x1a2),_0x37713b))(se||{});const Ye={[he[_0x17863a(0x408)]]:_0x17863a(0x1f0),[he[_0x17863a(0x1f7)]]:_0x17863a(0x1ef),[he[_0x17863a(0x241)]]:_0x17863a(0x30e),[he[_0x17863a(0x43e)]]:_0x17863a(0x1e7),[he['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x17863a(0x35d)};exports['CollaborationSession']=class extends a[_0x17863a(0x1de)]{constructor(_0x323ece,_0x35ae21,_0x4e9619,_0x3c69dc,_0x502666,_0x19f259,_0x3ef46f,_0x497323,_0x5a01e0){var _0x59f308=_0x17863a;super(),w(this,_0x59f308(0x1c1),new B['BehaviorSubject'](0x0)),w(this,_0x59f308(0x2c1),this[_0x59f308(0x1c1)][_0x59f308(0x314)]()),w(this,_0x59f308(0x389),new B[(_0x59f308(0x2e9))]()),w(this,_0x59f308(0x345),this[_0x59f308(0x389)]['asObservable']()),w(this,_0x59f308(0x444)),w(this,'_socketMessageSubscription'),w(this,'_collaborationTimeoutTimer'),w(this,'_shouldReportTelemetry',!0x1),w(this,'_telemetryInfo',null),(this['_unitID']=_0x323ece,this['_logService']=_0x4e9619,this['_configService']=_0x3c69dc,this[_0x59f308(0x312)]=_0x502666,this['_memberService']=_0x19f259,this['_commentService']=_0x3ef46f,this['_collaborationUIEventService']=_0x497323,this[_0x59f308(0x298)]=_0x5a01e0,this['_shouldReportTelemetry']=!!this[_0x59f308(0x298)],_0x35ae21[_0x59f308(0x457)](B[_0x59f308(0x50f)](this[_0x59f308(0x1db)]))[_0x59f308(0x3b0)](_0x336545=>{var _0x16c30f=_0x59f308,_0x2cd3a7;typeof _0x336545>'u'||(this[_0x16c30f(0x444)]=_0x336545,_0x336545?(this[_0x16c30f(0x46b)](_0x336545),this[_0x16c30f(0x324)]=_0x336545['message$']['subscribe'](_0xc31852=>{var _0x34346a=_0x16c30f;_0xc31852['routeKey']===this[_0x34346a(0x19a)]&&this['_onCombEvent'](_0xc31852);})):(this[_0x16c30f(0x4e8)](),this['_sessionStatus$']['next'](0x2),(_0x2cd3a7=this[_0x16c30f(0x324)])==null||_0x2cd3a7[_0x16c30f(0x205)](),this[_0x16c30f(0x324)]=null));}));}get[_0x17863a(0x2d0)](){return this['_sessionStatus$']['getValue']();}['getMemberID'](){var _0x414f1a=_0x17863a,_0x728e57,_0x4a3dee;return(_0x4a3dee=(_0x728e57=this[_0x414f1a(0x444)])==null?void 0x0:_0x728e57[_0x414f1a(0x475)])!=null?_0x4a3dee:null;}[_0x17863a(0x17e)](){var _0x36cf36=_0x17863a;super[_0x36cf36(0x17e)](),this[_0x36cf36(0x1db)][_0x36cf36(0x2ed)](),this[_0x36cf36(0x1db)][_0x36cf36(0x31d)]();}['close'](){var _0x45ca9f=_0x17863a,_0x2215f8,_0x520703;this['_throwTelemetryCollaborationNewChangeset'](),(_0x2215f8=this[_0x45ca9f(0x444)])==null||_0x2215f8['send']({'cmd':G['LEAVE'],'data':{'roomID':this[_0x45ca9f(0x19a)]}}),(_0x520703=this[_0x45ca9f(0x444)])==null||_0x520703[_0x45ca9f(0x343)](),this[_0x45ca9f(0x389)]['complete'](),this['_sessionStatus$'][_0x45ca9f(0x31d)](),this[_0x45ca9f(0x17e)]();}[_0x17863a(0x37a)](_0x3491fd){var _0x5f4bc3=_0x17863a;_0x3491fd['cmd']===G[_0x5f4bc3(0x453)]?this[_0x5f4bc3(0x3db)](_0x3491fd):_0x3491fd[_0x5f4bc3(0x330)]===G[_0x5f4bc3(0x34b)]&&this[_0x5f4bc3(0x361)](_0x3491fd);}[_0x17863a(0x46b)](_0x4f73e5){var _0x241d98=_0x17863a;this[_0x241d98(0x1c1)][_0x241d98(0x2ed)](0x1),_0x4f73e5['send']({'cmd':G['JOIN'],'routeKey':this[_0x241d98(0x19a)],'routeType':'','data':{'rooms':[{'roomID':this[_0x241d98(0x19a)]}]}});}['_onJoinRoomEvent'](_0x53d168){var _0x5b3e83=_0x17863a,_0x144fe4;if(_0x53d168[_0x5b3e83(0x2dc)]in Ye){this[_0x5b3e83(0x431)][_0x5b3e83(0x410)]({'id':Q['JOIN_ROOM_FAILED'],'data':Ye[_0x53d168[_0x5b3e83(0x2dc)]]}),this[_0x5b3e83(0x1c1)][_0x5b3e83(0x2ed)](0x2);return;}this[_0x5b3e83(0x1c1)][_0x5b3e83(0x2ed)](0x3);const _0xad659d=(_0x144fe4=_0x53d168[_0x5b3e83(0x34a)][_0x5b3e83(0x355)][this[_0x5b3e83(0x19a)]])==null?void 0x0:_0x144fe4[_0x5b3e83(0x40d)];_0xad659d&&_0xad659d['forEach'](_0x44093f=>this['_memberService']['updateMember'](this[_0x5b3e83(0x19a)],_0x44093f));}[_0x17863a(0x361)](_0x45f294){var _0x14d277=_0x17863a;try{const _0x264b98=_0x45f294[_0x14d277(0x34a)];switch(_0x264b98['eventID']){case m[_0x14d277(0x334)][_0x14d277(0x4e6)]:this[_0x14d277(0x4f6)](_0x264b98),this[_0x14d277(0x389)][_0x14d277(0x2ed)](_0x264b98);break;case m[_0x14d277(0x334)][_0x14d277(0x235)]:this[_0x14d277(0x31c)](_0x264b98),this[_0x14d277(0x389)][_0x14d277(0x2ed)](_0x264b98);break;case m[_0x14d277(0x334)]['CHANGESET_ACK']:case m[_0x14d277(0x334)][_0x14d277(0x372)]:this[_0x14d277(0x1d1)](),this['_clearCollaborationTimeoutTimer'](),this['_event$'][_0x14d277(0x2ed)](_0x264b98);break;case m[_0x14d277(0x334)][_0x14d277(0x2a9)]:this[_0x14d277(0x3df)][_0x14d277(0x198)](_0x14d277(0x4e0)+JSON[_0x14d277(0x390)](_0x264b98)),this['_event$'][_0x14d277(0x2ed)](_0x264b98);break;case m['CollaborationEvent'][_0x14d277(0x2b7)]:this['_commentService'][_0x14d277(0x2c3)](_0x264b98[_0x14d277(0x34a)]),this[_0x14d277(0x389)]['next'](_0x264b98);break;default:this[_0x14d277(0x389)][_0x14d277(0x2ed)](_0x264b98);}}catch(_0x5b2201){this[_0x14d277(0x3df)][_0x14d277(0x198)](_0x5b2201,_0x45f294);}}[_0x17863a(0x4f6)](_0x35dc4e){var _0x56b45d=_0x17863a;this[_0x56b45d(0x344)][_0x56b45d(0x32d)](this['_unitID'],_0x35dc4e['data']);}[_0x17863a(0x31c)](_0xf88acb){var _0x243666=_0x17863a;this[_0x243666(0x344)][_0x243666(0x2d3)](this['_unitID'],_0xf88acb[_0x243666(0x34a)][_0x243666(0x475)]);}async[_0x17863a(0x3b5)](_0xdc11fd,_0x11dc23){var _0x1eaa93=_0x17863a;if(this[_0x1eaa93(0x2d0)]!==0x3||!this[_0x1eaa93(0x444)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0xdc11fd['eventID']===m['CollaborationEvent'][_0x1eaa93(0x269)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x1eaa93(0x398)](_0xdc11fd)),this[_0x1eaa93(0x444)][_0x1eaa93(0x3b5)]({'cmd':G[_0x1eaa93(0x3ea)],'routeKey':_0x11dc23,'routeType':'','data':_0xdc11fd});}catch(_0x3ec883){this['_logService'][_0x1eaa93(0x198)](_0x3ec883);}}[_0x17863a(0x438)](){var _0x2a3c75=_0x17863a,_0x552415;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x19e9e8=_0x491b;this[_0x19e9e8(0x481)]=null,this['_collaborationUIEventService'][_0x19e9e8(0x410)]({'id':Q[_0x19e9e8(0x26b)]});},(_0x552415=this[_0x2a3c75(0x483)][_0x2a3c75(0x17d)](He))!=null?_0x552415:gt);}[_0x17863a(0x4d5)](){var _0x64e31=_0x17863a;this[_0x64e31(0x481)]&&(clearTimeout(this[_0x64e31(0x481)]),this[_0x64e31(0x481)]=null);}[_0x17863a(0x398)](_0x58a655){var _0x17c20f=_0x17863a;if(!this['_shouldReportTelemetry'])return;const {data:_0x527c2f}=_0x58a655,{unitID:_0x635897,changeset:_0x11b6db}=_0x527c2f,{mutations:_0x544cd0,type:_0x27fa4c}=_0x11b6db;this[_0x17c20f(0x421)]={'unitId':_0x635897,'type':_0x27fa4c,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':ti(_0x544cd0)};}[_0x17863a(0x1d1)](){var _0x35d5ff=_0x17863a;if(this[_0x35d5ff(0x20b)]){if(!this['_telemetryInfo']){this[_0x35d5ff(0x3df)][_0x35d5ff(0x198)](_0x35d5ff(0x40b),'telemetry\x20info\x20is\x20not\x20initialized');return;}this['_telemetryInfo'][_0x35d5ff(0x4f7)]=performance[_0x35d5ff(0x255)](),this[_0x35d5ff(0x421)][_0x35d5ff(0x1c0)]=this[_0x35d5ff(0x421)][_0x35d5ff(0x4f7)]-this['_telemetryInfo'][_0x35d5ff(0x40a)],this[_0x35d5ff(0x298)][_0x35d5ff(0x32b)](ei,this[_0x35d5ff(0x421)]),this[_0x35d5ff(0x421)]=null;}}[_0x17863a(0x4e8)](){var _0x18b570=_0x17863a;this[_0x18b570(0x421)]=null;}},exports[_0x17863a(0x375)]=ci([oe(0x2,a[_0x17863a(0x4fa)]),oe(0x3,a[_0x17863a(0x29c)]),oe(0x4,a['Inject'](a[_0x17863a(0x411)])),oe(0x5,a[_0x17863a(0x45c)](exports[_0x17863a(0x283)])),oe(0x6,a[_0x17863a(0x45c)](Be)),oe(0x7,a[_0x17863a(0x45c)](te)),oe(0x8,a['Optional'](xt['ITelemetryService']))],exports[_0x17863a(0x375)]);var hi=Object[_0x17863a(0x3d8)],li=Object[_0x17863a(0x381)],_i=(_0x235931,_0xd7a208,_0x26ec1c,_0x3a6c45)=>{var _0x580e4c=_0x17863a;for(var _0x53ff19=_0x3a6c45>0x1?void 0x0:_0x3a6c45?li(_0xd7a208,_0x26ec1c):_0xd7a208,_0x166ddc=_0x235931[_0x580e4c(0x291)]-0x1,_0x2712b9;_0x166ddc>=0x0;_0x166ddc--)(_0x2712b9=_0x235931[_0x166ddc])&&(_0x53ff19=(_0x3a6c45?_0x2712b9(_0xd7a208,_0x26ec1c,_0x53ff19):_0x2712b9(_0x53ff19))||_0x53ff19);return _0x3a6c45&&_0x53ff19&&hi(_0xd7a208,_0x26ec1c,_0x53ff19),_0x53ff19;},ae=(_0x1efad3,_0x5dabe3)=>(_0x59642f,_0x49bffc)=>_0x5dabe3(_0x59642f,_0x49bffc,_0x1efad3);exports['CollaborationSessionService']=class extends a[_0x17863a(0x4ec)]{constructor(_0x564478,_0x47d71d,_0x308127,_0x67bf65,_0x1cad22,_0x1f01db,_0x5a03fe){var _0x219c72=_0x17863a;super(),w(this,_0x219c72(0x461),new B[(_0x219c72(0x224))](void 0x0)),w(this,_0x219c72(0x340),this[_0x219c72(0x461)][_0x219c72(0x314)]()),w(this,'_candidateSocket',null),w(this,_0x219c72(0x38e),new Map()),w(this,_0x219c72(0x24c),new B[(_0x219c72(0x224))](se[_0x219c72(0x227)])),w(this,_0x219c72(0x482),this[_0x219c72(0x24c)]['asObservable']()),w(this,'_socketReady',!0x1),w(this,'_retryConnectingTimer'),w(this,_0x219c72(0x3c5),0x0),w(this,_0x219c72(0x310)),w(this,_0x219c72(0x48a)),(this[_0x219c72(0x3f8)]=_0x564478,this['_logService']=_0x47d71d,this[_0x219c72(0x483)]=_0x308127,this[_0x219c72(0x2c8)]=_0x67bf65,this[_0x219c72(0x22f)]=_0x1cad22,this[_0x219c72(0x431)]=_0x1f01db,this[_0x219c72(0x50d)]=_0x5a03fe,this[_0x219c72(0x363)]());}get[_0x17863a(0x444)](){var _0x55828b=_0x17863a;return this[_0x55828b(0x461)][_0x55828b(0x41c)]();}[_0x17863a(0x363)](){var _0xe2be81=_0x17863a;this[_0xe2be81(0x50d)]&&this[_0xe2be81(0x2fe)](this[_0xe2be81(0x50d)][_0xe2be81(0x433)]['subscribe'](_0x580b94=>{var _0x2efd1b=_0xe2be81;_0x580b94&&!this[_0x2efd1b(0x444)]&&this[_0x2efd1b(0x188)](),_0x580b94||this['_onOffline']();}));}[_0x17863a(0x17e)](){var _0x601d2f=_0x17863a;super[_0x601d2f(0x17e)](),this[_0x601d2f(0x38e)][_0x601d2f(0x209)](_0x3feaed=>_0x3feaed['dispose']()),this['_sessions']['clear'](),this[_0x601d2f(0x24c)][_0x601d2f(0x31d)]();}async[_0x17863a(0x2a3)](_0x3ec3ce){var _0x1941ef=_0x17863a;if(this[_0x1941ef(0x38e)]['has'](_0x3ec3ce))return this[_0x1941ef(0x38e)][_0x1941ef(0x1f9)](_0x3ec3ce);this[_0x1941ef(0x3a7)]();const _0x642fe2=this['_injector']['createInstance'](exports[_0x1941ef(0x375)],_0x3ec3ce,this['_socket$']['asObservable']());return this[_0x1941ef(0x38e)][_0x1941ef(0x471)](_0x3ec3ce,_0x642fe2),_0x642fe2;}[_0x17863a(0x288)](_0x3b29e1){var _0x45f82c=_0x17863a,_0x53ad32;const _0x5a03e9=this['_sessions'][_0x45f82c(0x1f9)](_0x3b29e1);_0x5a03e9&&(this[_0x45f82c(0x38e)][_0x45f82c(0x40f)](_0x3b29e1),_0x5a03e9['close']()),this['_sessions'][_0x45f82c(0x391)]||(_0x53ad32=this['_socket'])==null||_0x53ad32[_0x45f82c(0x343)]();}[_0x17863a(0x188)](){var _0x1cf697=_0x17863a;this['_retryCount']=0x0,this[_0x1cf697(0x2cd)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null),this[_0x1cf697(0x4c0)]();}async[_0x17863a(0x3ec)](){var _0x14c581=_0x17863a,_0x5c38f4,_0x1552b9,_0x4082cf;const _0x3da304=this[_0x14c581(0x483)][_0x14c581(0x17d)](q),_0x2a7662=(_0x5c38f4=_0x3da304==null?void 0x0:_0x3da304['wsSessionTicketUrl'])!=null?_0x5c38f4:Bt;return(_0x4082cf=(_0x1552b9=(await this[_0x14c581(0x22f)][_0x14c581(0x1f9)](_0x2a7662,{'headers':{'Content-Type':_0x14c581(0x2bb)}}))['body'])==null?void 0x0:_0x1552b9[_0x14c581(0x447)])!=null?_0x4082cf:'';}[_0x17863a(0x3c3)](_0x30e22d){var _0x53dfef=_0x17863a,_0x14d1e4,_0x107948;const _0x59f5e8=this['_configService'][_0x53dfef(0x17d)](ft),_0x298bac=this[_0x53dfef(0x483)][_0x53dfef(0x17d)](q),_0x411786=(_0x107948=(_0x14d1e4=_0x298bac==null?void 0x0:_0x298bac[_0x53dfef(0x39e)])!=null?_0x14d1e4:_0x59f5e8)!=null?_0x107948:St,_0x5b987f=typeof window>'u'?new URL(_0x411786):new URL(_0x411786,window[_0x53dfef(0x2b0)][_0x53dfef(0x3ac)]);_0x5b987f[_0x53dfef(0x2f8)][_0x53dfef(0x471)](_0x53dfef(0x4f8),_0x30e22d);const _0x7beb67=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x53dfef(0x2b0)][_0x53dfef(0x1be)]);return _0x7beb67[_0x53dfef(0x1f9)](_0x53dfef(0x434))&&_0x5b987f['searchParams'][_0x53dfef(0x471)]('runId',_0x7beb67[_0x53dfef(0x1f9)]('runId')),_0x5b987f[_0x53dfef(0x1f5)]();}async[_0x17863a(0x23a)](){var _0x1796d9=_0x17863a;const _0x27c2ee=await this[_0x1796d9(0x3ec)](),_0x4506de=this[_0x1796d9(0x3c3)](_0x27c2ee),_0x5f109b=this[_0x1796d9(0x2c8)][_0x1796d9(0x306)](_0x4506de);return this['_candidateSocket']=_0x5f109b,_0x5f109b;}async[_0x17863a(0x3a7)](){var _0xb80469=_0x17863a,_0x43a5ca,_0x4e7fc5;try{const _0x405d11=(_0x4e7fc5=(_0x43a5ca=this[_0xb80469(0x444)])!=null?_0x43a5ca:this[_0xb80469(0x1fe)])!=null?_0x4e7fc5:await this[_0xb80469(0x23a)]();if(_0x405d11){const _0x3cbc3e=_0x405d11[_0xb80469(0x3b5)];_0x405d11[_0xb80469(0x3b5)]=_0x17cb89=>(this[_0xb80469(0x222)](),_0x3cbc3e[_0xb80469(0x3ce)](_0x405d11,[_0x17cb89])),_0x405d11[_0xb80469(0x316)]['subscribe'](_0x341be7=>this['_onMessage'](_0x405d11,_0x341be7)),_0x405d11[_0xb80469(0x3da)][_0xb80469(0x457)](V[_0xb80469(0x2ca)](0x1))['subscribe'](_0x14976c=>this[_0xb80469(0x3df)]['error'](_0xb80469(0x2b4),_0x14976c)),_0x405d11['open$'][_0xb80469(0x457)](V[_0xb80469(0x2ca)](0x1))['subscribe'](()=>{this['_onConnectionOpen'](_0x405d11);}),_0x405d11[_0xb80469(0x1ab)][_0xb80469(0x457)](V[_0xb80469(0x2ca)](0x1))['subscribe'](_0x5cf660=>{var _0x59cfd0=_0xb80469;this[_0x59cfd0(0x3df)][_0x59cfd0(0x28d)](_0x59cfd0(0x2ea),'socket\x20close',_0x5cf660),this[_0x59cfd0(0x1c4)]();});}}catch(_0x35bc38){this[_0xb80469(0x3df)][_0xb80469(0x198)](_0x35bc38),this[_0xb80469(0x1c4)]();}}[_0x17863a(0x3d0)](_0x344f0f){var _0x5a866f=_0x17863a;this[_0x5a866f(0x3df)]['debug'](_0x5a866f(0x2ea),_0x5a866f(0x2a8)),_0x344f0f[_0x5a866f(0x3b5)]({'cmd':G['HELLO']}),this[_0x5a866f(0x222)]();}[_0x17863a(0x346)](){var _0x5b6463=_0x17863a;this[_0x5b6463(0x511)]=!0x1,this[_0x5b6463(0x1fe)]=null,this[_0x5b6463(0x24c)][_0x5b6463(0x2ed)](se[_0x5b6463(0x20d)]),this['_socket$'][_0x5b6463(0x2ed)](null),this[_0x5b6463(0x2af)](),this[_0x5b6463(0x1eb)]();}['_onConnectionFailed'](){var _0x438fe0=_0x17863a,_0xee4e5d;this[_0x438fe0(0x346)](),this[_0x438fe0(0x3c5)]<((_0xee4e5d=this['_configService'][_0x438fe0(0x17d)](mt))!=null?_0xee4e5d:Vt)?(this[_0x438fe0(0x431)][_0x438fe0(0x410)]({'id':Q['SOCKET_FAILED_RETRY']}),this[_0x438fe0(0x4c0)]()):this[_0x438fe0(0x431)][_0x438fe0(0x410)]({'id':Q[_0x438fe0(0x358)]});}[_0x17863a(0x4c0)](){var _0x3f3607=_0x17863a,_0x23abb9;const _0x1cd4ac=this['_retryCount'],_0xc5680=this['_configService']['getConfig'](q),_0x3063f8=_0x1cd4ac===0x0?0x0:((_0x23abb9=_0xc5680==null?void 0x0:_0xc5680[_0x3f3607(0x2bf)])!=null?_0x23abb9:Wt)*0x2**_0x1cd4ac;this[_0x3f3607(0x2cd)]=setTimeout(()=>{var _0x32a6d3=_0x3f3607;clearTimeout(this[_0x32a6d3(0x2cd)]),this[_0x32a6d3(0x2cd)]=null,this[_0x32a6d3(0x3a7)]();},_0x3063f8),this[_0x3f3607(0x3c5)]+=0x1;}[_0x17863a(0x321)](_0x4f57e1,_0x5a90d3){var _0x2d80f6=_0x17863a;const {cmd:_0x53b7b3}=_0x5a90d3;_0x53b7b3===G['HELLO']&&!this[_0x2d80f6(0x511)]&&(_0x4f57e1[_0x2d80f6(0x475)]=_0x5a90d3[_0x2d80f6(0x34a)]['memberID'],this[_0x2d80f6(0x461)]['next'](_0x4f57e1),this[_0x2d80f6(0x24c)]['next'](se[_0x2d80f6(0x1a2)]),this[_0x2d80f6(0x511)]=!0x0,this[_0x2d80f6(0x1fe)]=null),_0x53b7b3===G[_0x2d80f6(0x3a9)]&&this[_0x2d80f6(0x2af)](),this[_0x2d80f6(0x222)]();}[_0x17863a(0x222)](){var _0x5ab391=_0x17863a,_0x3983a7;this['_clearHeartbeatTimer'](),this[_0x5ab391(0x310)]=setTimeout(()=>this[_0x5ab391(0x338)](),(_0x3983a7=this[_0x5ab391(0x483)][_0x5ab391(0x17d)](pt))!=null?_0x3983a7:Ft);}['_sendHeartbeat'](){var _0x545701=_0x17863a;this['_socket']['send']({'cmd':G[_0x545701(0x3a9)]}),this[_0x545701(0x2da)]();}[_0x17863a(0x2da)](){var _0x49306c=_0x17863a,_0x293779;this[_0x49306c(0x48a)]=setTimeout(()=>this[_0x49306c(0x1c4)](),(_0x293779=this[_0x49306c(0x483)][_0x49306c(0x17d)](He))!=null?_0x293779:gt);}[_0x17863a(0x1eb)](){var _0x102e71=_0x17863a;this[_0x102e71(0x310)]!=null&&(clearTimeout(this[_0x102e71(0x310)]),this[_0x102e71(0x310)]=null);}[_0x17863a(0x2af)](){var _0x35b1c9=_0x17863a;this[_0x35b1c9(0x48a)]!=null&&(clearTimeout(this[_0x35b1c9(0x48a)]),this[_0x35b1c9(0x48a)]=null);}},exports[_0x17863a(0x488)]=_i([ae(0x0,a['Inject'](a[_0x17863a(0x470)])),ae(0x1,a[_0x17863a(0x4fa)]),ae(0x2,a[_0x17863a(0x29c)]),ae(0x3,ke),ae(0x4,a[_0x17863a(0x45c)](z[_0x17863a(0x3e6)])),ae(0x5,a[_0x17863a(0x45c)](te)),ae(0x6,a[_0x17863a(0x23d)](bt))],exports['CollaborationSessionService']);const K=[];for(let r=0x0;r<0x100;++r)K[_0x17863a(0x327)]((r+0x100)[_0x17863a(0x1f5)](0x10)[_0x17863a(0x4ab)](0x1));function ui(_0x4d788e,_0x34eee8=0x0){var _0x441ff2=_0x17863a;return(K[_0x4d788e[_0x34eee8+0x0]]+K[_0x4d788e[_0x34eee8+0x1]]+K[_0x4d788e[_0x34eee8+0x2]]+K[_0x4d788e[_0x34eee8+0x3]]+'-'+K[_0x4d788e[_0x34eee8+0x4]]+K[_0x4d788e[_0x34eee8+0x5]]+'-'+K[_0x4d788e[_0x34eee8+0x6]]+K[_0x4d788e[_0x34eee8+0x7]]+'-'+K[_0x4d788e[_0x34eee8+0x8]]+K[_0x4d788e[_0x34eee8+0x9]]+'-'+K[_0x4d788e[_0x34eee8+0xa]]+K[_0x4d788e[_0x34eee8+0xb]]+K[_0x4d788e[_0x34eee8+0xc]]+K[_0x4d788e[_0x34eee8+0xd]]+K[_0x4d788e[_0x34eee8+0xe]]+K[_0x4d788e[_0x34eee8+0xf]])[_0x441ff2(0x30b)]();}let De;const di=new Uint8Array(0x10);function vi(){var _0x275375=_0x17863a;if(!De){if(typeof crypto>'u'||!crypto[_0x275375(0x356)])throw new Error(_0x275375(0x232));De=crypto[_0x275375(0x356)][_0x275375(0x31e)](crypto);}return De(di);}const fi=typeof crypto<'u'&&crypto[_0x17863a(0x3fe)]&&crypto['randomUUID'][_0x17863a(0x31e)](crypto),qe={'randomUUID':fi};function Si(_0x3b4fe2,_0x244fad,_0x2dc211){var _0xea27c3=_0x17863a;if(qe['randomUUID']&&!_0x244fad&&!_0x3b4fe2)return qe[_0xea27c3(0x3fe)]();_0x3b4fe2=_0x3b4fe2||{};const _0x2dcbe1=_0x3b4fe2[_0xea27c3(0x1cf)]||(_0x3b4fe2['rng']||vi)();return _0x2dcbe1[0x6]=_0x2dcbe1[0x6]&0xf|0x40,_0x2dcbe1[0x8]=_0x2dcbe1[0x8]&0x3f|0x80,ui(_0x2dcbe1);}const J=a[_0x17863a(0x3d2)](_0x17863a(0x18d));function pi(_0x46c4eb){var _0x9e3f6c=_0x17863a;return _0x9e3f6c(0x318)+_0x46c4eb;}var gi=Object[_0x17863a(0x3d8)],mi=Object[_0x17863a(0x381)],Ii=(_0x3dc95d,_0x2e8d89,_0x34ad8c,_0x46fd4e)=>{for(var _0x5b82f2=_0x46fd4e>0x1?void 0x0:_0x46fd4e?mi(_0x2e8d89,_0x34ad8c):_0x2e8d89,_0x1fd194=_0x3dc95d['length']-0x1,_0x3284aa;_0x1fd194>=0x0;_0x1fd194--)(_0x3284aa=_0x3dc95d[_0x1fd194])&&(_0x5b82f2=(_0x46fd4e?_0x3284aa(_0x2e8d89,_0x34ad8c,_0x5b82f2):_0x3284aa(_0x5b82f2))||_0x5b82f2);return _0x46fd4e&&_0x5b82f2&&gi(_0x2e8d89,_0x34ad8c,_0x5b82f2),_0x5b82f2;},Ne=(_0x2906fb,_0x510920)=>(_0x23d6f1,_0xdd1b2e)=>_0x510920(_0x23d6f1,_0xdd1b2e,_0x2906fb);function Ei(_0x1e8268){const {unitID:_0x16f7bc,mutations:_0xd794c8}=_0x1e8268;return{'unitId':_0x16f7bc,'subUnitId':_0xd794c8[0x0]['params']['subUnitId']};}exports[_0x17863a(0x41d)]=class{constructor(_0x35f3d8,_0x2e6586,_0x1518c3){var _0x38374c=_0x17863a;this[_0x38374c(0x3f8)]=_0x35f3d8,this[_0x38374c(0x245)]=_0x2e6586,this[_0x38374c(0x23b)]=_0x1518c3;}[_0x17863a(0x280)](_0x22ffae){var _0x3d39ba=_0x17863a,_0x3722d2,_0x79b493,_0x4c5430,_0x460057;const _0x23adae=this['_injector'][_0x3d39ba(0x1f9)](W[_0x3d39ba(0x1b2)]),{unitId:_0x3ab787,subUnitId:_0x5b8321}=Ei(_0x22ffae),_0x58bc86=_0x23adae==null?void 0x0:_0x23adae[_0x3d39ba(0x1bc)](_0x3ab787)[_0x3d39ba(0x4f5)](),_0x185246=(_0x79b493=(_0x3722d2=this[_0x3d39ba(0x23b)][_0x3d39ba(0x1e4)](_0x3ab787))==null?void 0x0:_0x3722d2[_0x3d39ba(0x4cf)]())==null?void 0x0:_0x79b493[_0x3d39ba(0x37e)]();if(_0x58bc86[_0x3d39ba(0x291)]===0x0||!_0x3ab787||!_0x5b8321)return;const _0x1b0fd0=[{'id':W[_0x3d39ba(0x500)]['id'],'params':{'unitId':_0x3ab787,'subUnitId':_0x185246,'selections':a[_0x3d39ba(0x315)][_0x3d39ba(0x4b2)](_0x58bc86)}}],_0x2d2a5b=this[_0x3d39ba(0x245)]['transformMutationsWithChangeset'](_0x22ffae,_0x1b0fd0);if(!m[_0x3d39ba(0x216)](_0x2d2a5b))throw _0x2d2a5b[_0x3d39ba(0x198)];const _0x5cab55=(_0x460057=(_0x4c5430=_0x2d2a5b[_0x3d39ba(0x2d4)][0x0])==null?void 0x0:_0x4c5430[_0x3d39ba(0x19f)])==null?void 0x0:_0x460057['selections'];if(Array[_0x3d39ba(0x35a)](_0x5cab55)&&_0x5cab55[_0x3d39ba(0x291)]){if(_0x5cab55[_0x3d39ba(0x291)]===_0x1b0fd0[0x0]['params'][_0x3d39ba(0x1c7)][_0x3d39ba(0x291)]&&_0x5cab55['every']((_0x39f597,_0x2d36dc)=>a['Rectangle'][_0x3d39ba(0x292)](_0x39f597[_0x3d39ba(0x4c2)],_0x1b0fd0[0x0][_0x3d39ba(0x19f)]['selections'][_0x2d36dc]['range'])))return;this['_injector'][_0x3d39ba(0x1f9)](a['ICommandService'])[_0x3d39ba(0x509)](W[_0x3d39ba(0x500)]['id'],{'unitId':_0x3ab787,'subUnitId':_0x185246,'selections':_0x5cab55});}}},exports[_0x17863a(0x41d)]=Ii([Ne(0x0,a[_0x17863a(0x45c)](a[_0x17863a(0x470)])),Ne(0x1,m[_0x17863a(0x4bc)]),Ne(0x2,a[_0x17863a(0x1ba)])],exports[_0x17863a(0x41d)]);const ve=a['createIdentifier'](_0x17863a(0x1b7));function _0x491b(_0x458d02,_0x4cb7f4){var _0x3ed5bf=_0x3ed5();return _0x491b=function(_0x491b4b,_0x2fdca0){_0x491b4b=_0x491b4b-0x17d;var _0x42aa80=_0x3ed5bf[_0x491b4b];return _0x42aa80;},_0x491b(_0x458d02,_0x4cb7f4);}var Fe=(_0x5dda11=>(_0x5dda11[_0x5dda11['NO_OTHER_CLIENTS_EDITING']=0x0]='NO_OTHER_CLIENTS_EDITING',_0x5dda11[_0x5dda11['OTHER_CLIENTS_EDITING']=0x1]='OTHER_CLIENTS_EDITING',_0x5dda11))(Fe||{});const Ci=new Set([W[_0x17863a(0x2c4)]['id']]);function ze(_0x1cbb1f,_0x37b326,_0x15b940,_0x202286,_0x33ed2e){var _0x5533ec=_0x17863a,_0x21c11e,_0x5b6dc0,_0x367ed7,_0x2b5ce9;const _0x256591=[];for(const _0x571e9e of _0x1cbb1f)if(Ci[_0x5533ec(0x3f0)](_0x571e9e['id'])){if(_0x256591[_0x5533ec(0x291)]>0x0)break;_0x256591[_0x5533ec(0x327)](_0x571e9e);break;}else _0x256591[_0x5533ec(0x327)](_0x571e9e);const _0x47889f=(_0x5b6dc0=(_0x21c11e=_0x33ed2e[_0x5533ec(0x27f)]())==null?void 0x0:_0x21c11e[_0x5533ec(0x44f)])!=null?_0x5b6dc0:'unknown',_0x45ae40=(_0x2b5ce9=(_0x367ed7=_0x33ed2e[_0x5533ec(0x27f)]())==null?void 0x0:_0x367ed7[_0x5533ec(0x475)])!=null?_0x2b5ce9:_0x5533ec(0x3f7);return{'changeset':{'unitID':_0x37b326,'type':m[_0x5533ec(0x490)](_0x15b940[_0x5533ec(0x451)](_0x37b326)),'baseRev':_0x202286[_0x5533ec(0x2b2)](_0x37b326),'revision':0x0,'userID':_0x47889f,'memberID':_0x45ae40,'mutations':_0x256591},'pendingMutations':_0x1cbb1f['slice'](_0x256591[_0x5533ec(0x291)])};}function Ti(_0x599779,_0x813bdd,_0x3c1a69,_0x189a03,_0x3c5628){var _0x5481b8=_0x17863a,_0x5bf377,_0x1bb0ab,_0x389993,_0x108177;const _0x5914e0=[_0x599779[_0x5481b8(0x28c)]((_0xf5ca7c,_0x14df55)=>{var _0x5b5ea0=_0x5481b8,_0x2c199e;const {id:_0xe690e9}=_0xf5ca7c,{id:_0x700cef,type:_0x4f57d4}=_0x14df55,_0x588b0e=(_0x2c199e=_0xf5ca7c[_0x5b5ea0(0x19f)])!=null?_0x2c199e:{'actions':null},_0x4c5f51=_0x14df55[_0x5b5ea0(0x19f)];if(_0xe690e9&&_0xe690e9!==_0x700cef)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0xe690e9+_0x5b5ea0(0x30c)+_0x700cef+'.');return{..._0xf5ca7c,'id':_0x700cef,'type':_0x4f57d4,'params':{'unitId':_0x4c5f51[_0x5b5ea0(0x4d2)],'textRanges':_0x4c5f51[_0x5b5ea0(0x4ff)],'actions':a[_0x5b5ea0(0x199)][_0x5b5ea0(0x3cd)](_0x588b0e[_0x5b5ea0(0x3d9)],_0x4c5f51[_0x5b5ea0(0x3d9)])}};},{})],_0x5f3e64=(_0x1bb0ab=(_0x5bf377=_0x3c5628[_0x5481b8(0x27f)]())==null?void 0x0:_0x5bf377['userID'])!=null?_0x1bb0ab:_0x5481b8(0x3f7),_0x258ebd=(_0x108177=(_0x389993=_0x3c5628[_0x5481b8(0x27f)]())==null?void 0x0:_0x389993['memberID'])!=null?_0x108177:_0x5481b8(0x3f7);return{'changeset':{'unitID':_0x813bdd,'type':m[_0x5481b8(0x490)](_0x3c1a69[_0x5481b8(0x451)](_0x813bdd)),'baseRev':_0x189a03['getCurrentRevOfUnit'](_0x813bdd),'revision':0x0,'userID':_0x5f3e64,'memberID':_0x258ebd,'mutations':_0x5914e0},'pendingMutations':[]};}function Ot(_0xdc3d82,_0x1fe7b1){var _0x14e5b0=_0x17863a;const _0x3159f0=new B[(_0x14e5b0(0x2ee))](0x1);return setTimeout(()=>_0x3159f0[_0x14e5b0(0x2ed)](_0x1fe7b1),_0xdc3d82),_0x3159f0[_0x14e5b0(0x314)]()[_0x14e5b0(0x457)](B['take'](0x1));}const bi={'id':W[_0x17863a(0x347)]['id'],'type':a[_0x17863a(0x230)][_0x17863a(0x3fb)],'params':{}};var Ri=Object['defineProperty'],yi=Object[_0x17863a(0x381)],le=(_0x173ba7,_0x3e3486,_0x2aaa22,_0x1fecc0)=>{var _0x50a17a=_0x17863a;for(var _0x449143=_0x1fecc0>0x1?void 0x0:_0x1fecc0?yi(_0x3e3486,_0x2aaa22):_0x3e3486,_0x3323b0=_0x173ba7[_0x50a17a(0x291)]-0x1,_0x1bdd37;_0x3323b0>=0x0;_0x3323b0--)(_0x1bdd37=_0x173ba7[_0x3323b0])&&(_0x449143=(_0x1fecc0?_0x1bdd37(_0x3e3486,_0x2aaa22,_0x449143):_0x1bdd37(_0x449143))||_0x449143);return _0x1fecc0&&_0x449143&&Ri(_0x3e3486,_0x2aaa22,_0x449143),_0x449143;},A=(_0x347251,_0xb72f16)=>(_0x247605,_0x284482)=>_0xb72f16(_0x247605,_0x284482,_0x347251),We=(_0x5ef871=>(_0x5ef871[_0x17863a(0x3ae)]='not_collab',_0x5ef871[_0x17863a(0x2f2)]=_0x17863a(0x1ee),_0x5ef871['PENDING']=_0x17863a(0x3dd),_0x5ef871[_0x17863a(0x393)]=_0x17863a(0x22a),_0x5ef871['AWAITING_WITH_PENDING']=_0x17863a(0x4ad),_0x5ef871[_0x17863a(0x322)]=_0x17863a(0x1fd),_0x5ef871[_0x17863a(0x485)]='conflict',_0x5ef871['OFFLINE']=_0x17863a(0x3a5),_0x5ef871))(We||{});const Pt=0xea60;class _e{constructor(_0x1e74ad,_0x555aac,_0x219cf5,_0x46a07e,_0x3a2a99,_0x26b01e,_0x4f44b1,_0x3be39e,_0x5e59e7){var _0x113b64=_0x17863a;w(this,'_awaitingChangeset',null),w(this,_0x113b64(0x46d),[]),(this[_0x113b64(0x418)]=_0x1e74ad,this[_0x113b64(0x21d)]=_0x555aac,this[_0x113b64(0x203)]=_0x3a2a99,this['_commandService']=_0x26b01e,this['_undoRedoService']=_0x4f44b1,this[_0x113b64(0x493)]=_0x3be39e,this[_0x113b64(0x194)]=_0x5e59e7,this[_0x113b64(0x2a7)]=_0x219cf5,this[_0x113b64(0x46d)]=_0x46a07e);}[_0x17863a(0x49e)](_0x39a35b){var _0x14fb5f=_0x17863a;const _0x22bf86=this[_0x14fb5f(0x493)][_0x14fb5f(0x2b2)](this['unitID']);return _0x39a35b[_0x14fb5f(0x2ae)]>_0x22bf86+0x1?(this[_0x14fb5f(0x203)]['onMissingChangesets']({'from':_0x22bf86,'to':_0x39a35b['revision']-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x1e4d8a){var _0x4616e0=_0x17863a;this[_0x4616e0(0x23f)][_0x4616e0(0x2ce)](this['unitID'],_0x1e4d8a);}[_0x17863a(0x3a4)](_0xaf8595){var _0xba7140=_0x17863a,_0x48f0d0,_0x265dd0;(_0x265dd0=(_0x48f0d0=this[_0xba7140(0x203)])[_0xba7140(0x4b1)])==null||_0x265dd0[_0xba7140(0x243)](_0x48f0d0,_0xaf8595);}[_0x17863a(0x437)](_0x149cb4){var _0x357146=_0x17863a,_0x1de06c,_0x53e0c8;return(_0x53e0c8=(_0x1de06c=this['_handler'])[_0x357146(0x47d)])==null?void 0x0:_0x53e0c8['call'](_0x1de06c,_0x149cb4);}['_transformStateCache'](_0x1a4c55){var _0x4339a2=_0x17863a,_0x2a3fa2,_0x57093c;return(_0x57093c=(_0x2a3fa2=this[_0x4339a2(0x203)])[_0x4339a2(0x3ad)])==null?void 0x0:_0x57093c[_0x4339a2(0x243)](_0x2a3fa2,_0x1a4c55);}[_0x17863a(0x2b3)](_0x48b656){var _0x1251b1=_0x17863a,_0x293559,_0x566353,_0x45840a;return(_0x45840a=(_0x566353=(_0x293559=this[_0x1251b1(0x203)])[_0x1251b1(0x242)])==null?void 0x0:_0x566353[_0x1251b1(0x243)](_0x293559,_0x48b656))!=null?_0x45840a:_0x48b656;}['_transformRemoteChangesetByStateCache'](_0x732fad){var _0x1d470a,_0x14d99e,_0x26068a;return(_0x26068a=(_0x14d99e=(_0x1d470a=this['_handler'])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x14d99e['call'](_0x1d470a,_0x732fad))!=null?_0x26068a:_0x732fad;}[_0x17863a(0x22e)](_0x1a3076){var _0x117eb4=_0x17863a,_0x271937,_0x3067a2;if(this['type']===Z[_0x117eb4(0x1d4)]){const {unitID:_0xd3e35e,mutations:_0x27c50f,memberID:_0x189a36}=_0x1a3076,_0x48f4f0=_0x27c50f[0x0]['params'][_0x117eb4(0x4ff)];Array[_0x117eb4(0x35a)](_0x48f4f0)&&_0x48f4f0[_0x117eb4(0x291)]>0x0&&((_0x3067a2=(_0x271937=this['_handler'])['onSyncEditingCollabCursor'])==null||_0x3067a2['call'](_0x271937,{'unitID':_0xd3e35e,'memberID':_0x189a36,'textRanges':_0x48f4f0}));}}['_updateLocalCache'](){var _0xe1e8bb=_0x17863a,_0x4063d6;(_0x4063d6=this[_0xe1e8bb(0x194)])==null||_0x4063d6[_0xe1e8bb(0x41a)](this[_0xe1e8bb(0x418)],this[_0xe1e8bb(0x21d)],this[_0xe1e8bb(0x2a7)],this['_pendingMutations']);}[_0x17863a(0x1a9)](){var _0x1951f5=_0x17863a;return this[_0x1951f5(0x493)]['getCurrentRevOfUnit'](this['unitID']);}['_incrementRevisionNumber'](){var _0x4f2121=_0x17863a;this[_0x4f2121(0x493)]['incrementRevOfUnit'](this['unitID']);}[_0x17863a(0x3c6)](_0x36d614){var _0x189738=_0x17863a,_0x24bde0;let _0xc5a56e=this[_0x189738(0x2b3)](_0x36d614);_0xc5a56e=this[_0x189738(0x342)](_0xc5a56e);const _0x40f148=a[_0x189738(0x4a4)](_0xc5a56e[_0x189738(0x221)],this['_commandService'],{'fromCollab':!0x0});if(!_0x40f148[_0x189738(0x4c3)])throw _0x40f148['error']instanceof Error?_0x40f148[_0x189738(0x198)]:new Error((_0x24bde0=_0x40f148[_0x189738(0x198)])!=null?_0x24bde0:_0x189738(0x23e));this[_0x189738(0x437)](_0xc5a56e),this['_transformStateCache'](_0xc5a56e),this['_transformUndoredo'](_0x36d614),this[_0x189738(0x3a4)](_0xc5a56e),this['_syncEditingCollabCursor'](_0xc5a56e),this[_0x189738(0x278)]();}}exports[_0x17863a(0x3f5)]=class extends _e{constructor(_0x1c442c,_0x4f4658,_0x560f50,_0x1557ba,_0x5a8cc4,_0xa58620,_0x5318ea,_0x1fab2f,_0x566cc3,_0x4db99f){var _0xaa8d2f=_0x17863a;super(_0x1c442c,_0x4f4658,null,[],_0x560f50,_0x5318ea,_0xa58620,_0x1557ba,_0x4db99f),w(this,_0xaa8d2f(0x422),_0xaa8d2f(0x1ee)),(this[_0xaa8d2f(0x3f8)]=_0x5a8cc4,this[_0xaa8d2f(0x3df)]=_0x1fab2f,this[_0xaa8d2f(0x245)]=_0x566cc3,this['localCacheService']=_0x4db99f);}[_0x17863a(0x2ec)](_0x5439f4){var _0x458788=_0x17863a;const _0x3e10e0=this[_0x458788(0x3f8)][_0x458788(0x35e)](exports['PendingState'],this[_0x458788(0x418)],this[_0x458788(0x21d)],[_0x5439f4],this['_handler']);return _0x3e10e0['_schedule'](),_0x3e10e0[_0x458788(0x4fe)](),_0x3e10e0;}[_0x17863a(0x1fc)](_0x3186ef){var _0x126c40=_0x17863a;if(this['_checkMissing'](_0x3186ef))return this[_0x126c40(0x3f8)][_0x126c40(0x35e)](exports['FetchingMissState'],this[_0x126c40(0x418)],this[_0x126c40(0x21d)],null,[],null,[_0x3186ef],this[_0x126c40(0x203)]);try{const _0x3e2faa=this[_0x126c40(0x245)][_0x126c40(0x43b)](_0x3186ef,[bi]);if(m[_0x126c40(0x216)](_0x3e2faa)){const {c1Prime:_0x5245a2}=_0x3e2faa;return this[_0x126c40(0x3c6)](_0x5245a2),this;}throw _0x3e2faa[_0x126c40(0x198)];}catch(_0x3d6682){return this[_0x126c40(0x3df)][_0x126c40(0x198)](_0x3d6682),this[_0x126c40(0x1d3)](!0x1);}}[_0x17863a(0x1d3)](_0x2ae9eb){var _0x26655c=_0x17863a;return this[_0x26655c(0x3f8)][_0x26655c(0x35e)](exports[_0x26655c(0x468)],this[_0x26655c(0x418)],this[_0x26655c(0x21d)],null,[],this[_0x26655c(0x203)],_0x2ae9eb);}[_0x17863a(0x43a)](){var _0xdc24b2=_0x17863a;throw new Error(_0xdc24b2(0x3e3));}[_0x17863a(0x36a)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0x17863a(0x4b6)](){var _0x5954ab=_0x17863a;return this['_injector'][_0x5954ab(0x35e)](exports[_0x5954ab(0x247)],this[_0x5954ab(0x418)],this['type'],null,[],this[_0x5954ab(0x203)]);}['toggleOnline'](){return this;}[_0x17863a(0x36d)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x17863a(0x311)](){var _0x5b8c3d=_0x17863a;const _0x3666c4=this[_0x5b8c3d(0x493)]['getCurrentRevOfUnit'](this[_0x5b8c3d(0x418)]);return this[_0x5b8c3d(0x203)][_0x5b8c3d(0x354)]({'from':_0x3666c4,'to':0x0}),this[_0x5b8c3d(0x3f8)]['createInstance'](exports[_0x5b8c3d(0x1e0)],this[_0x5b8c3d(0x418)],this['type'],null,[],null,[],this[_0x5b8c3d(0x203)]);}},exports[_0x17863a(0x3f5)]=le([A(0x3,a[_0x17863a(0x45c)](m[_0x17863a(0x380)])),A(0x4,a[_0x17863a(0x45c)](a['Injector'])),A(0x5,a[_0x17863a(0x3b1)]),A(0x6,a['ICommandService']),A(0x7,a[_0x17863a(0x4fa)]),A(0x8,m['ITransformService']),A(0x9,a[_0x17863a(0x23d)](J))],exports[_0x17863a(0x3f5)]),exports[_0x17863a(0x24e)]=class extends _e{constructor(_0x2954aa,_0xb07083,_0x33d169,_0x28e8df,_0x456fdb,_0x18367f,_0x2acab1,_0x59a2f6,_0x123d55,_0x17c07f,_0x3c68e6,_0x4c7319,_0x43c9ed,_0x250185){var _0x576411=_0x17863a;super(_0x2954aa,_0xb07083,null,_0x33d169,_0x28e8df,_0x123d55,_0x43c9ed,_0x18367f,_0x250185),w(this,'status',_0x576411(0x3dd)),w(this,'_scheduleTimestamp',null),w(this,_0x576411(0x323),null),(this[_0x576411(0x3f8)]=_0x456fdb,this['_memberService']=_0x2acab1,this['_logService']=_0x59a2f6,this['_configService']=_0x17c07f,this[_0x576411(0x245)]=_0x3c68e6,this[_0x576411(0x3a6)]=_0x4c7319);}[_0x17863a(0x2ec)](_0x344399){var _0x5c0604=_0x17863a;return this[_0x5c0604(0x46d)][_0x5c0604(0x327)](_0x344399),this['_updateLocalCache'](),this;}[_0x17863a(0x1fc)](_0x210c4e){var _0x2431d1=_0x17863a;if(this['_checkMissing'](_0x210c4e))return this[_0x2431d1(0x462)](),this['_injector'][_0x2431d1(0x35e)](exports[_0x2431d1(0x1e0)],this[_0x2431d1(0x418)],this['type'],null,this[_0x2431d1(0x46d)],null,[_0x210c4e],this[_0x2431d1(0x203)]);try{const _0x2dab15=this[_0x2431d1(0x245)]['transformMutationsWithChangeset'](_0x210c4e,this[_0x2431d1(0x46d)]);if(m[_0x2431d1(0x216)](_0x2dab15)){const {c1Prime:_0x5c6994,m2Prime:_0xe04807}=_0x2dab15;this['_executeRemoteChangeset'](_0x5c6994);const _0x2ba18d=this[_0x2431d1(0x3f8)][_0x2431d1(0x35e)](exports[_0x2431d1(0x24e)],this[_0x2431d1(0x418)],this[_0x2431d1(0x21d)],_0xe04807,this[_0x2431d1(0x203)]);return this[_0x2431d1(0x462)](),_0x2ba18d['_schedule'](this['_scheduleTimestamp']?Math[_0x2431d1(0x399)](0x0,new Date()[_0x2431d1(0x45e)]()-this[_0x2431d1(0x4b8)]):this[_0x2431d1(0x1b4)]()),_0x2ba18d;}throw _0x2dab15['error'];}catch(_0x157dbb){return this[_0x2431d1(0x3df)][_0x2431d1(0x198)](_0x157dbb),this[_0x2431d1(0x1d3)](!0x1);}}['onRemoteAck'](){var _0x1da040=_0x17863a;throw new Error(_0x1da040(0x374));}[_0x17863a(0x36a)](){var _0x1aec2e=_0x17863a;throw new Error(_0x1aec2e(0x501));}[_0x17863a(0x30f)](){return this;}['toggleOffline'](){var _0x3319d3=_0x17863a;return this[_0x3319d3(0x462)](),this['_injector'][_0x3319d3(0x35e)](exports[_0x3319d3(0x247)],this[_0x3319d3(0x418)],this[_0x3319d3(0x21d)],null,this[_0x3319d3(0x46d)],this[_0x3319d3(0x203)]);}[_0x17863a(0x289)](){return this;}[_0x17863a(0x1a4)](_0x1b61d6){var _0x7c4692=_0x17863a;const _0x2480af=_0x1b61d6!=null?_0x1b61d6:this['_getSendChangesetTimeout']();this[_0x7c4692(0x4b8)]=new Date()[_0x7c4692(0x45e)](),this[_0x7c4692(0x323)]=setTimeout(()=>{var _0x5c8aa3=_0x7c4692;this['_clearScheduledTask']();let _0x261f40=null;switch(this['type']){case Z[_0x5c8aa3(0x309)]:{_0x261f40=ze(this[_0x5c8aa3(0x46d)],this['unitID'],this['_univerInstanceService'],this[_0x5c8aa3(0x493)],this[_0x5c8aa3(0x344)]);break;}case Z[_0x5c8aa3(0x1d4)]:{this[_0x5c8aa3(0x46d)][_0x5c8aa3(0x238)](_0x43b2a2=>_0x43b2a2['id']===ut[_0x5c8aa3(0x4fb)]['id'])?_0x261f40=Ti(this['_pendingMutations'],this[_0x5c8aa3(0x418)],this[_0x5c8aa3(0x3a6)],this[_0x5c8aa3(0x493)],this[_0x5c8aa3(0x344)]):_0x261f40=ze(this[_0x5c8aa3(0x46d)],this[_0x5c8aa3(0x418)],this[_0x5c8aa3(0x3a6)],this[_0x5c8aa3(0x493)],this[_0x5c8aa3(0x344)]);break;}default:throw new Error(_0x5c8aa3(0x4e1)+this[_0x5c8aa3(0x21d)]+_0x5c8aa3(0x4dd));}const {changeset:_0x5f2363,pendingMutations:_0x3a3bfc}=_0x261f40;this[_0x5c8aa3(0x203)][_0x5c8aa3(0x2eb)](_0x5f2363);const _0x1a465e=_0x3a3bfc['length']?this[_0x5c8aa3(0x3f8)]['createInstance'](exports['AwaitingWithPendingState'],this['unitID'],this[_0x5c8aa3(0x21d)],_0x5f2363,_0x3a3bfc,this[_0x5c8aa3(0x203)],void 0x0):this[_0x5c8aa3(0x3f8)][_0x5c8aa3(0x35e)](exports[_0x5c8aa3(0x1af)],this[_0x5c8aa3(0x418)],this[_0x5c8aa3(0x21d)],_0x5f2363,this['_handler']);_0x1a465e['_updateLocalCache'](),this[_0x5c8aa3(0x203)]['onStateChange'](this,_0x1a465e);},_0x2480af);}['_getSendChangesetTimeout'](){var _0x2a0b52=_0x17863a,_0x2eea44;const _0x5a1bcf=this[_0x2a0b52(0x483)][_0x2a0b52(0x17d)](q);return(_0x2eea44=_0x5a1bcf==null?void 0x0:_0x5a1bcf[_0x2a0b52(0x4da)])!=null?_0x2eea44:kt;}['resend'](){var _0x36802d=_0x17863a;throw new Error(_0x36802d(0x1bd));}[_0x17863a(0x462)](){var _0x5474aa=_0x17863a;this['_sendingTimer']!=null&&(clearTimeout(this[_0x5474aa(0x323)]),this[_0x5474aa(0x323)]=null);}[_0x17863a(0x1d3)](_0x1ef1c9){var _0x31f736=_0x17863a;return this['_clearScheduledTask'](),this[_0x31f736(0x3f8)][_0x31f736(0x35e)](exports['ConflictState'],this['unitID'],this[_0x31f736(0x21d)],null,this[_0x31f736(0x46d)],this[_0x31f736(0x203)],_0x1ef1c9);}},exports[_0x17863a(0x24e)]=le([A(0x4,a[_0x17863a(0x45c)](a[_0x17863a(0x470)])),A(0x5,a[_0x17863a(0x45c)](m['RevisionService'])),A(0x6,a['Inject'](exports[_0x17863a(0x283)])),A(0x7,a[_0x17863a(0x4fa)]),A(0x8,a[_0x17863a(0x204)]),A(0x9,a[_0x17863a(0x29c)]),A(0xa,m['ITransformService']),A(0xb,a[_0x17863a(0x1ba)]),A(0xc,a[_0x17863a(0x3b1)]),A(0xd,a[_0x17863a(0x23d)](J))],exports[_0x17863a(0x24e)]),exports['AwaitingState']=class extends _e{constructor(_0x421503,_0x5f2214,_0x37c532,_0x779ab3,_0x2fe820,_0x2dc809,_0x374796,_0x5bd77d,_0x23eb0f,_0x42d628,_0x584a70){var _0x35df10=_0x17863a;super(_0x421503,_0x5f2214,_0x37c532,[],_0x779ab3,_0x374796,_0x42d628,_0x2dc809,_0x584a70),w(this,_0x35df10(0x422),'awaiting'),w(this,_0x35df10(0x217),0x0),w(this,'_resendTimer'),w(this,'_sender'),(this[_0x35df10(0x3f8)]=_0x2fe820,this['_logService']=_0x5bd77d,this['_transformService']=_0x23eb0f);}['appendMutation'](_0x2d709c){var _0x154bde=_0x17863a;this[_0x154bde(0x462)]();const _0x544d92=this[_0x154bde(0x3f8)][_0x154bde(0x35e)](exports['AwaitingWithPendingState'],this[_0x154bde(0x418)],this[_0x154bde(0x21d)],this[_0x154bde(0x2a7)],[_0x2d709c],this['_handler'],this[_0x154bde(0x1ca)]);return _0x544d92[_0x154bde(0x4fe)](),_0x544d92;}[_0x17863a(0x1fc)](_0x158bb7){var _0x114afb=_0x17863a;if(this[_0x114afb(0x49e)](_0x158bb7))return this[_0x114afb(0x462)](),this[_0x114afb(0x3f8)][_0x114afb(0x35e)](exports[_0x114afb(0x1e0)],this[_0x114afb(0x418)],this[_0x114afb(0x21d)],this[_0x114afb(0x2a7)],[],null,[_0x158bb7],this[_0x114afb(0x203)]);try{const _0x574b28=this[_0x114afb(0x245)][_0x114afb(0x379)]([_0x158bb7],[this['_awaitingChangeset']],!0x1);if(m[_0x114afb(0x458)](_0x574b28)){const {c1Prime:_0xe3627,c2Prime:_0xef301d}=_0x574b28;this['_executeRemoteChangeset'](_0xe3627[0x0]),_0xef301d[0x0]['baseRev']=this[_0x114afb(0x1a9)](),this[_0x114afb(0x462)]();const _0x4606c3=this[_0x114afb(0x3f8)][_0x114afb(0x35e)](exports[_0x114afb(0x1af)],this['unitID'],this[_0x114afb(0x21d)],_0xef301d[0x0],this[_0x114afb(0x203)]);return _0x4606c3['_updateLocalCache'](),_0x4606c3;}return this[_0x114afb(0x1d3)](!0x1);}catch(_0x24ecca){return this['_logService']['error'](_0x24ecca),this[_0x114afb(0x1d3)](!0x1);}}[_0x17863a(0x43a)](_0x20e64d){var _0x58f493=_0x17863a;this[_0x58f493(0x462)]();const _0xfcc812=this[_0x58f493(0x493)][_0x58f493(0x2b2)](this['unitID']);if(_0x20e64d[_0x58f493(0x2ae)]<_0xfcc812-0x1)return this;if(this[_0x58f493(0x49e)](_0x20e64d))return this[_0x58f493(0x3f8)][_0x58f493(0x35e)](exports[_0x58f493(0x1e0)],this[_0x58f493(0x418)],this[_0x58f493(0x21d)],null,[],this['_awaitingChangeset'],[],this[_0x58f493(0x203)]);this[_0x58f493(0x278)]();const _0x4e163f=this[_0x58f493(0x3f8)]['createInstance'](exports[_0x58f493(0x3f5)],this[_0x58f493(0x418)],this[_0x58f493(0x21d)],this['_handler']);return _0x4e163f[_0x58f493(0x4fe)](),_0x4e163f;}['onRemoteRej'](_0x460a52){var _0x1bd960=_0x17863a;return this[_0x1bd960(0x1d3)](!!(_0x460a52!=null&&_0x460a52[_0x1bd960(0x4fd)]));}['onRemoteRetry'](_0x771165){var _0x562601=_0x17863a;return this[_0x562601(0x217)]>Pt?this[_0x562601(0x4b6)]():(this[_0x562601(0x1ca)]=Ot(this[_0x562601(0x217)],{'timeout':this[_0x562601(0x217)],'reqId':_0x771165['reqId']}),this[_0x562601(0x2ac)]=this[_0x562601(0x1ca)][_0x562601(0x3b0)](({reqId:_0x1730a5,timeout:_0x2e1fe9})=>{var _0xd5d4fd=_0x562601;this[_0xd5d4fd(0x382)](_0x1730a5,_0x2e1fe9);}),this);}['toggleOffline'](){var _0x14c8f3=_0x17863a;return this[_0x14c8f3(0x462)](),this[_0x14c8f3(0x3f8)][_0x14c8f3(0x35e)](exports['OfflineState'],this['unitID'],this[_0x14c8f3(0x21d)],this[_0x14c8f3(0x2a7)],[],this[_0x14c8f3(0x203)]);}[_0x17863a(0x289)](){return this;}[_0x17863a(0x36d)](){var _0x258883=_0x17863a;this[_0x258883(0x203)][_0x258883(0x2eb)](this[_0x258883(0x2a7)]);}[_0x17863a(0x1d3)](_0xc4205b){var _0x3bef7a=_0x17863a;return this[_0x3bef7a(0x462)](),this[_0x3bef7a(0x3f8)]['createInstance'](exports[_0x3bef7a(0x468)],this[_0x3bef7a(0x418)],this['type'],this[_0x3bef7a(0x2a7)],[],this[_0x3bef7a(0x203)],_0xc4205b);}[_0x17863a(0x382)](_0x26f630,_0x30dcda){var _0x3d0aa7=_0x17863a,_0x3fe8e8;_0x26f630===((_0x3fe8e8=this[_0x3d0aa7(0x2a7)])==null?void 0x0:_0x3fe8e8[_0x3d0aa7(0x402)])&&(this['resend'](),this[_0x3d0aa7(0x217)]=_0x30dcda===0x0?0x3e8:_0x30dcda*0x2);}[_0x17863a(0x462)](){var _0x4e34cc=_0x17863a,_0x3bc8b0;(_0x3bc8b0=this[_0x4e34cc(0x2ac)])==null||_0x3bc8b0[_0x4e34cc(0x205)](),this[_0x4e34cc(0x217)]=0x0;}},exports[_0x17863a(0x1af)]=le([A(0x4,a[_0x17863a(0x45c)](a[_0x17863a(0x470)])),A(0x5,a[_0x17863a(0x45c)](m['RevisionService'])),A(0x6,a[_0x17863a(0x204)]),A(0x7,a['ILogService']),A(0x8,m['ITransformService']),A(0x9,a[_0x17863a(0x3b1)]),A(0xa,a[_0x17863a(0x23d)](J))],exports[_0x17863a(0x1af)]),exports[_0x17863a(0x3d3)]=class extends _e{constructor(_0x12185c,_0x3484a8,_0x2ff212,_0x1931af,_0x400d5a,_0x425d0b,_0x582b12,_0x404a1f,_0x341ae9,_0xdf911a,_0x446d30,_0x4d2e4b,_0x3972b5){var _0x3079e5=_0x17863a;super(_0x12185c,_0x3484a8,_0x2ff212,_0x1931af,_0x400d5a,_0x341ae9,_0x4d2e4b,_0x404a1f,_0x3972b5),w(this,_0x3079e5(0x422),_0x3079e5(0x4ad)),w(this,'_resendTimeout',0x0),w(this,_0x3079e5(0x1ca)),w(this,_0x3079e5(0x2ac)),(this[_0x3079e5(0x3f8)]=_0x582b12,this[_0x3079e5(0x3df)]=_0xdf911a,this[_0x3079e5(0x245)]=_0x446d30,this['localCacheService']=_0x3972b5,_0x425d0b&&(this[_0x3079e5(0x1ca)]=_0x425d0b,this[_0x3079e5(0x2ac)]=this[_0x3079e5(0x1ca)][_0x3079e5(0x3b0)](({reqId:_0x3775e8,timeout:_0x36541c})=>{var _0x3bd701=_0x3079e5;this[_0x3bd701(0x382)](_0x3775e8,_0x36541c);})));}[_0x17863a(0x2ec)](_0x49c92b){var _0x16f1bb=_0x17863a;return this[_0x16f1bb(0x46d)][_0x16f1bb(0x327)](_0x49c92b),this;}[_0x17863a(0x1fc)](_0x40cf34){var _0x161cbb=_0x17863a;if(this[_0x161cbb(0x49e)](_0x40cf34))return this[_0x161cbb(0x462)](),this[_0x161cbb(0x3f8)][_0x161cbb(0x35e)](exports[_0x161cbb(0x1e0)],this[_0x161cbb(0x418)],this['type'],this[_0x161cbb(0x2a7)],this['_pendingMutations'],null,[_0x40cf34],this[_0x161cbb(0x203)]);try{const _0xabfd5d=this[_0x161cbb(0x245)][_0x161cbb(0x379)]([_0x40cf34],[this[_0x161cbb(0x2a7)]],!0x1);if(m[_0x161cbb(0x458)](_0xabfd5d)){const {c1Prime:_0x1fdc7a,c2Prime:_0x5a57d8}=_0xabfd5d,_0x14779e=this[_0x161cbb(0x245)][_0x161cbb(0x43b)](_0x1fdc7a[0x0],this['_pendingMutations']);if(m[_0x161cbb(0x216)](_0x14779e)){const {c1Prime:_0x23723b,m2Prime:_0x3fd99a}=_0x14779e;return this[_0x161cbb(0x3c6)](_0x23723b),_0x5a57d8[0x0][_0x161cbb(0x2c2)]=this['_getCurrentRevision'](),this[_0x161cbb(0x462)](),this[_0x161cbb(0x3f8)][_0x161cbb(0x35e)](exports[_0x161cbb(0x3d3)],this[_0x161cbb(0x418)],this[_0x161cbb(0x21d)],_0x5a57d8[0x0],_0x3fd99a,this[_0x161cbb(0x203)],void 0x0);}throw _0x14779e['error'];}throw _0xabfd5d['error'];}catch(_0xfbaf4){return this[_0x161cbb(0x3df)]['error'](_0xfbaf4),this['_onConflict'](!0x1);}}[_0x17863a(0x43a)](_0x16c491){var _0x198a6d=_0x17863a;if(this['_clearScheduledTask'](),this[_0x198a6d(0x49e)](_0x16c491))return this[_0x198a6d(0x3f8)][_0x198a6d(0x35e)](exports[_0x198a6d(0x1e0)],this[_0x198a6d(0x418)],this[_0x198a6d(0x21d)],null,this[_0x198a6d(0x46d)],this[_0x198a6d(0x2a7)],[],this[_0x198a6d(0x203)]);this[_0x198a6d(0x278)]();const _0x524be0=this[_0x198a6d(0x3f8)][_0x198a6d(0x35e)](exports[_0x198a6d(0x24e)],this['unitID'],this[_0x198a6d(0x21d)],this[_0x198a6d(0x46d)],this[_0x198a6d(0x203)]);return _0x524be0[_0x198a6d(0x1a4)](),_0x524be0[_0x198a6d(0x4fe)](),_0x524be0;}[_0x17863a(0x36a)](_0x10a1f8){var _0x427fdc=_0x17863a;return this[_0x427fdc(0x1d3)](!!(_0x10a1f8!=null&&_0x10a1f8[_0x427fdc(0x4fd)]));}[_0x17863a(0x30f)](_0xd5b2f1){var _0x3b2d8c=_0x17863a;return this['_resendTimeout']>Pt?this['toggleOffline']():(this['_resendTimer']=Ot(this[_0x3b2d8c(0x217)],{'timeout':this[_0x3b2d8c(0x217)],'reqId':_0xd5b2f1[_0x3b2d8c(0x402)]}),this['_sender']=this[_0x3b2d8c(0x1ca)][_0x3b2d8c(0x3b0)](({reqId:_0x314a57,timeout:_0xe05785})=>{var _0x3205f1=_0x3b2d8c;this[_0x3205f1(0x382)](_0x314a57,_0xe05785);}),this);}[_0x17863a(0x4b6)](){var _0x45d291=_0x17863a;return this[_0x45d291(0x462)](),this[_0x45d291(0x3f8)][_0x45d291(0x35e)](exports[_0x45d291(0x247)],this[_0x45d291(0x418)],this['type'],this[_0x45d291(0x2a7)],this['_pendingMutations'],this[_0x45d291(0x203)]);}[_0x17863a(0x289)](){return this;}[_0x17863a(0x36d)](){var _0x873462=_0x17863a;this[_0x873462(0x203)][_0x873462(0x2eb)](this['_awaitingChangeset']);}['_onConflict'](_0x4ed1aa){var _0x24cb94=_0x17863a;return this[_0x24cb94(0x462)](),this[_0x24cb94(0x3f8)][_0x24cb94(0x35e)](exports[_0x24cb94(0x468)],this[_0x24cb94(0x418)],this[_0x24cb94(0x21d)],null,this[_0x24cb94(0x46d)],this[_0x24cb94(0x203)],_0x4ed1aa);}[_0x17863a(0x382)](_0x3e76c6,_0x38ae8a){var _0x19ecf6=_0x17863a,_0x55dd23;_0x3e76c6===((_0x55dd23=this[_0x19ecf6(0x2a7)])==null?void 0x0:_0x55dd23[_0x19ecf6(0x402)])&&(this[_0x19ecf6(0x36d)](),this[_0x19ecf6(0x217)]=_0x38ae8a===0x0?0x3e8:_0x38ae8a*0x2);}[_0x17863a(0x462)](){var _0x321e39=_0x17863a,_0xdc834e;(_0xdc834e=this['_sender'])==null||_0xdc834e['unsubscribe'](),this[_0x321e39(0x217)]=0x0;}},exports['AwaitingWithPendingState']=le([A(0x6,a[_0x17863a(0x45c)](a[_0x17863a(0x470)])),A(0x7,a['Inject'](m[_0x17863a(0x380)])),A(0x8,a[_0x17863a(0x204)]),A(0x9,a['ILogService']),A(0xa,m['ITransformService']),A(0xb,a[_0x17863a(0x3b1)]),A(0xc,a['Optional'](J))],exports[_0x17863a(0x3d3)]),exports[_0x17863a(0x468)]=class extends _e{constructor(_0x5a80bd,_0x4cb21a,_0x35c7b4,_0x1ee715,_0x3084ce,_0x29c5ab=!0x1,_0xe25f05,_0x330e79,_0x1e4424,_0x58c616,_0x141d44,_0x4ed58b,_0x647ade){var _0x3f3411=_0x17863a;super(_0x5a80bd,_0x4cb21a,_0x35c7b4,_0x1ee715,_0x3084ce,_0x330e79,_0x1e4424,_0x58c616,_0x647ade),w(this,_0x3f3411(0x422),'conflict'),(this[_0x3f3411(0x2ad)]=_0x29c5ab,this[_0x3f3411(0x414)]=_0xe25f05,this[_0x3f3411(0x312)]=_0x141d44,this[_0x3f3411(0x431)]=_0x4ed58b,this[_0x3f3411(0x2a4)]=_0x647ade,this[_0x3f3411(0x2f6)](),this['_clearLocalCache'](),this[_0x3f3411(0x4cc)]());}[_0x17863a(0x2ec)](){return this;}[_0x17863a(0x1fc)](){return this;}[_0x17863a(0x43a)](){return this;}['onRemoteRej'](){return this;}[_0x17863a(0x30f)](){return this;}['toggleOffline'](){return this;}[_0x17863a(0x289)](){return this;}[_0x17863a(0x36d)](){var _0x5c8164=_0x17863a;throw new Error(_0x5c8164(0x3ed));}[_0x17863a(0x489)](){var _0x52c9cb=_0x17863a,_0x4ef197;(_0x4ef197=this[_0x52c9cb(0x194)])==null||_0x4ef197[_0x52c9cb(0x41a)](this[_0x52c9cb(0x418)],this['type'],null,[]);}[_0x17863a(0x2f6)](){var _0x5ea2bb=_0x17863a;this[_0x5ea2bb(0x2ad)]?this[_0x5ea2bb(0x431)][_0x5ea2bb(0x410)]({'id':Q[_0x5ea2bb(0x2e0)]}):this['_collaborationUIEventService'][_0x5ea2bb(0x410)]({'id':Q[_0x5ea2bb(0x485)]});}['_disableEditing'](){var _0x22a29e=_0x17863a;this[_0x22a29e(0x414)][_0x22a29e(0x1f6)](new W[(_0x22a29e(0x3b2))](this[_0x22a29e(0x418)])['id'],!0x1);}},exports[_0x17863a(0x468)]=le([A(0x6,a['Inject'](a[_0x17863a(0x4f1)])),A(0x7,a[_0x17863a(0x204)]),A(0x8,a[_0x17863a(0x3b1)]),A(0x9,a[_0x17863a(0x45c)](m[_0x17863a(0x380)])),A(0xa,a[_0x17863a(0x45c)](a[_0x17863a(0x411)])),A(0xb,a[_0x17863a(0x45c)](te)),A(0xc,a[_0x17863a(0x23d)](J))],exports[_0x17863a(0x468)]),exports['OfflineState']=class extends _e{constructor(_0x5c0cbf,_0x4a5455,_0xd572d5,_0x202306,_0x2b9b45,_0x81a5f5,_0x543270,_0x4230b2,_0x373eb3,_0x5478e2){var _0x4329f7=_0x17863a;super(_0x5c0cbf,_0x4a5455,_0xd572d5,_0x202306,_0x2b9b45,_0x4230b2,_0x373eb3,_0x543270,_0x5478e2),w(this,_0x4329f7(0x422),'offline'),this[_0x4329f7(0x3f8)]=_0x81a5f5;}[_0x17863a(0x2ec)](_0x3487b2){var _0x2a5d64=_0x17863a;return this[_0x2a5d64(0x46d)]['push'](_0x3487b2),this['_updateLocalCache'](),this;}[_0x17863a(0x1fc)](_0x1254bf){var _0x48da70=_0x17863a;throw new Error(_0x48da70(0x3a8));}[_0x17863a(0x43a)](){var _0x1ab83d=_0x17863a;throw new Error(_0x1ab83d(0x388));}['onRemoteRej'](){var _0x4310ff=_0x17863a;throw new Error(_0x4310ff(0x29e));}[_0x17863a(0x30f)](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){var _0x5adbf4=_0x17863a;const {_injector:_0x423cfc,_pendingMutations:_0x270421,_awaitingChangeset:_0x364c05,unitID:_0x603d93,_handler:_0x147f86,type:_0xfb59ed}=this,_0x5daf45=Ut(_0x423cfc,_0x603d93,_0xfb59ed,_0x364c05,_0x270421,_0x147f86);return _0x5daf45 instanceof exports[_0x5adbf4(0x24e)]?_0x5daf45[_0x5adbf4(0x1a4)]():(_0x5daf45 instanceof exports[_0x5adbf4(0x3d3)]||_0x5daf45 instanceof exports['AwaitingState'])&&_0x5daf45[_0x5adbf4(0x36d)](),_0x5daf45;}['resend'](){var _0x365cbe=_0x17863a;throw new Error(_0x365cbe(0x1e9));}},exports[_0x17863a(0x247)]=le([A(0x5,a[_0x17863a(0x45c)](a[_0x17863a(0x470)])),A(0x6,a[_0x17863a(0x45c)](m['RevisionService'])),A(0x7,a[_0x17863a(0x204)]),A(0x8,a[_0x17863a(0x3b1)]),A(0x9,a[_0x17863a(0x23d)](J))],exports['OfflineState']),exports[_0x17863a(0x1e0)]=class extends _e{constructor(_0x10c5c5,_0x9bc745,_0x1d4470,_0x2179ef,_0x1f7e77,_0x458155,_0x12bb13,_0x31a251,_0x31fd26,_0x4bc387,_0x3ea395,_0x422795,_0x8cfd93,_0x422583){var _0x306ca5=_0x17863a;super(_0x10c5c5,_0x9bc745,_0x1d4470,_0x2179ef,_0x12bb13,_0x3ea395,_0x422795,_0x31fd26,_0x422583),w(this,_0x306ca5(0x422),'fetch_missing'),(this[_0x306ca5(0x284)]=_0x1f7e77,this['_queuedRemoteChangesets']=_0x458155,this[_0x306ca5(0x3f8)]=_0x31a251,this[_0x306ca5(0x3df)]=_0x4bc387,this['_transformService']=_0x8cfd93,this[_0x306ca5(0x2a4)]=_0x422583);}[_0x17863a(0x21f)](_0x1743a1){var _0x290cc6=_0x17863a;try{const _0x56ab7f=[..._0x1743a1,...this['_queuedRemoteChangesets']],_0x166b93=[this[_0x290cc6(0x2a7)]||this[_0x290cc6(0x284)]]['filter'](_0x5a0552=>!!_0x5a0552);let _0x107db7,_0x30adcd;if(_0x166b93[_0x290cc6(0x291)]){const _0x123df3=this['_transformService'][_0x290cc6(0x379)](_0x56ab7f,_0x166b93,!0x1);if(!m[_0x290cc6(0x458)](_0x123df3))throw _0x123df3[_0x290cc6(0x198)];_0x107db7=_0x123df3[_0x290cc6(0x1e3)],_0x30adcd=_0x123df3[_0x290cc6(0x33d)];}else _0x107db7=_0x56ab7f,_0x30adcd=[];let _0x2415b8=this['_pendingMutations'];_0x107db7[_0x290cc6(0x209)](_0x3f3783=>{var _0x5363d7=_0x290cc6;let _0x4f90a2;if(_0x2415b8[_0x5363d7(0x291)]){const _0x2f99b1=this[_0x5363d7(0x245)][_0x5363d7(0x43b)](_0x3f3783,_0x2415b8);if(!m[_0x5363d7(0x216)](_0x2f99b1))throw _0x2f99b1['error'];_0x4f90a2=_0x2f99b1['c1Prime'],_0x2415b8=_0x2f99b1[_0x5363d7(0x2d4)];}else _0x4f90a2=_0x3f3783;this[_0x5363d7(0x3c6)](_0x4f90a2);}),this[_0x290cc6(0x284)]&&this['_incrementRevisionNumber'](),this[_0x290cc6(0x2a7)]&&_0x30adcd[_0x290cc6(0x291)]&&(_0x30adcd[0x0][_0x290cc6(0x2c2)]=this[_0x290cc6(0x1a9)]());let _0xe19d02;if(this['_awaitingChangeset']&&_0x2415b8[_0x290cc6(0x291)]!==0x0)_0xe19d02=this[_0x290cc6(0x3f8)][_0x290cc6(0x35e)](exports['AwaitingWithPendingState'],this[_0x290cc6(0x418)],this['type'],_0x30adcd[0x0],_0x2415b8,this['_handler'],void 0x0);else{if(this[_0x290cc6(0x2a7)]&&_0x2415b8['length']===0x0)_0x30adcd[0x0][_0x290cc6(0x2c2)]=this['_getCurrentRevision'](),_0xe19d02=this[_0x290cc6(0x3f8)][_0x290cc6(0x35e)](exports[_0x290cc6(0x1af)],this[_0x290cc6(0x418)],this[_0x290cc6(0x21d)],_0x30adcd[0x0],this[_0x290cc6(0x203)]);else{if(_0x2415b8['length']!==0x0){const _0x3bbcb0=this[_0x290cc6(0x3f8)][_0x290cc6(0x35e)](exports[_0x290cc6(0x24e)],this[_0x290cc6(0x418)],this['type'],_0x2415b8,this[_0x290cc6(0x203)]);_0x3bbcb0[_0x290cc6(0x1a4)](),_0xe19d02=_0x3bbcb0;}else _0xe19d02=this[_0x290cc6(0x3f8)][_0x290cc6(0x35e)](exports['SyncedState'],this[_0x290cc6(0x418)],this[_0x290cc6(0x21d)],this[_0x290cc6(0x203)]);}}return _0xe19d02[_0x290cc6(0x4fe)](),_0xe19d02;}catch(_0x493a10){return this[_0x290cc6(0x3df)][_0x290cc6(0x198)](_0x290cc6(0x348),_0x290cc6(0x2d1),_0x493a10),this[_0x290cc6(0x3f8)][_0x290cc6(0x35e)](exports[_0x290cc6(0x468)],this['unitID'],this[_0x290cc6(0x21d)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x290cc6(0x203)],!0x1);}}[_0x17863a(0x36d)](){var _0x38ddde=_0x17863a;throw new Error(_0x38ddde(0x39d));}['appendMutation'](_0x57cada){var _0x2093f5=_0x17863a;return this['_pendingMutations'][_0x2093f5(0x327)](_0x57cada),this;}['onRemoteChangeset'](_0x85d69a){var _0x4db039=_0x17863a;return this[_0x4db039(0x49c)][_0x4db039(0x327)](_0x85d69a),this;}[_0x17863a(0x43a)](_0xf1f188){var _0xa70ab2=_0x17863a;if(this['_awaitingChangeset'])return this[_0xa70ab2(0x284)]=this['_awaitingChangeset'],this['_awaitingChangeset']=null,this;throw new Error(_0xa70ab2(0x20a));}[_0x17863a(0x36a)](_0x580c7c){var _0x4a7f63=_0x17863a;return this[_0x4a7f63(0x1d3)](!!(_0x580c7c!=null&&_0x580c7c[_0x4a7f63(0x4fd)]));}[_0x17863a(0x30f)](){return this;}[_0x17863a(0x4b6)](){var _0x2151d6=_0x17863a;return this['_injector'][_0x2151d6(0x35e)](exports[_0x2151d6(0x247)],this[_0x2151d6(0x418)],this['type'],this[_0x2151d6(0x2a7)],this['_pendingMutations'],this['_handler']);}[_0x17863a(0x289)](){return this;}['_onConflict'](_0x3f808e){var _0x401262=_0x17863a;return this['_injector'][_0x401262(0x35e)](exports[_0x401262(0x468)],this[_0x401262(0x418)],this['type'],this['_awaitingChangeset'],this[_0x401262(0x46d)],this['_handler'],_0x3f808e);}},exports['FetchingMissState']=le([A(0x7,a[_0x17863a(0x45c)](a[_0x17863a(0x470)])),A(0x8,a[_0x17863a(0x45c)](m[_0x17863a(0x380)])),A(0x9,a[_0x17863a(0x4fa)]),A(0xa,a[_0x17863a(0x204)]),A(0xb,a[_0x17863a(0x3b1)]),A(0xc,m['ITransformService']),A(0xd,a[_0x17863a(0x23d)](J))],exports[_0x17863a(0x1e0)]);function Ut(_0x1b5d39,_0x56f2d5,_0x1d4156,_0x1d8d56,_0x573ceb,_0x166773){var _0x30ab69=_0x17863a;return _0x1d8d56&&_0x573ceb[_0x30ab69(0x291)]?_0x1b5d39[_0x30ab69(0x35e)](exports[_0x30ab69(0x3d3)],_0x56f2d5,_0x1d4156,_0x1d8d56,_0x573ceb,_0x166773,void 0x0):_0x1d8d56?_0x1b5d39[_0x30ab69(0x35e)](exports[_0x30ab69(0x1af)],_0x56f2d5,_0x1d4156,_0x1d8d56,_0x166773):_0x573ceb[_0x30ab69(0x291)]?_0x1b5d39[_0x30ab69(0x35e)](exports[_0x30ab69(0x24e)],_0x56f2d5,_0x1d4156,_0x573ceb,_0x166773):_0x1b5d39[_0x30ab69(0x35e)](exports['SyncedState'],_0x56f2d5,_0x1d4156,_0x166773);}var Oi=Object[_0x17863a(0x3d8)],Pi=Object[_0x17863a(0x381)],Ve=(_0xd05061,_0x30c2af,_0x4c12f7,_0x4b4fe3)=>{var _0x3f40a7=_0x17863a;for(var _0xf43a4f=_0x4b4fe3>0x1?void 0x0:_0x4b4fe3?Pi(_0x30c2af,_0x4c12f7):_0x30c2af,_0x2ac592=_0xd05061[_0x3f40a7(0x291)]-0x1,_0x1e609f;_0x2ac592>=0x0;_0x2ac592--)(_0x1e609f=_0xd05061[_0x2ac592])&&(_0xf43a4f=(_0x4b4fe3?_0x1e609f(_0x30c2af,_0x4c12f7,_0xf43a4f):_0x1e609f(_0xf43a4f))||_0xf43a4f);return _0x4b4fe3&&_0xf43a4f&&Oi(_0x30c2af,_0x4c12f7,_0xf43a4f),_0xf43a4f;},H=(_0x430c0d,_0x14dfbe)=>(_0x40d92e,_0x4c0656)=>_0x14dfbe(_0x40d92e,_0x4c0656,_0x430c0d);exports['CollaborationEntity']=class extends a[_0x17863a(0x1de)]{constructor(_0x17f947,_0xaa766,_0x9746a3,_0x51cbfd,_0x227909,_0x1cc4de,_0x3c0c80,_0x1a74ee,_0xc748c8,_0x10a1fa,_0x4421f3,_0xe21ee2,_0x593751){var _0x584644=_0x17863a;super(),w(this,'_state$',new B[(_0x584644(0x224))](null)),w(this,_0x584644(0x26e),this[_0x584644(0x1c6)][_0x584644(0x314)]()),w(this,_0x584644(0x479)),w(this,_0x584644(0x2cf),!0x1),w(this,_0x584644(0x207),''),w(this,_0x584644(0x1a3),0x0),w(this,_0x584644(0x482),this[_0x584644(0x26e)][_0x584644(0x457)](B[_0x584644(0x259)](_0x533827=>_0x533827?_0x533827[_0x584644(0x422)]:We[_0x584644(0x20d)]),B['shareReplay'](0x1))),w(this,_0x584644(0x3b8),!0x1),w(this,_0x584644(0x3ff),[]),(this['unitID']=_0x17f947,this[_0x584644(0x449)]=_0xaa766,this[_0x584644(0x353)]=_0x9746a3,this[_0x584644(0x3f8)]=_0x51cbfd,this['_compressMutationService']=_0x227909,this[_0x584644(0x312)]=_0x1cc4de,this[_0x584644(0x493)]=_0x3c0c80,this['_eventService']=_0x1a74ee,this[_0x584644(0x3df)]=_0xc748c8,this[_0x584644(0x1d2)]=_0x10a1fa,this[_0x584644(0x414)]=_0x4421f3,this[_0x584644(0x46c)]=_0xe21ee2,this[_0x584644(0x194)]=_0x593751);}get['state'](){var _0x1d9ab7=_0x17863a;return this[_0x1d9ab7(0x479)];}async['init'](){var _0x1cf3c0=_0x17863a;if(this[_0x1cf3c0(0x202)])throw new Error(_0x1cf3c0(0x2d9));await this['_init']();}[_0x17863a(0x3e5)](){var _0x4d16bc=_0x17863a;return this[_0x4d16bc(0x2cf)]=!0x0,a[_0x4d16bc(0x297)](()=>{var _0x2d18e4=_0x4d16bc;this[_0x2d18e4(0x2cf)]=!0x1,this[_0x2d18e4(0x4f9)]();});}[_0x17863a(0x1a7)](_0xe5ae57){var _0x4fbca7=_0x17863a;this[_0x4fbca7(0x2f5)](_0xe5ae57);}[_0x17863a(0x290)](_0x25d3a8){var _0x45d6d5=_0x17863a;this[_0x45d6d5(0x479)]=_0x25d3a8,this[_0x45d6d5(0x1c6)][_0x45d6d5(0x2ed)](_0x25d3a8);}async[_0x17863a(0x250)](){var _0x563823=_0x17863a,_0x39c153;this[_0x563823(0x290)](await this[_0x563823(0x27b)]()),this[_0x563823(0x46c)]&&((_0x39c153=this[_0x563823(0x46c)])==null||_0x39c153[_0x563823(0x417)](this[_0x563823(0x418)]),this['disposeWithMe'](this[_0x563823(0x46c)]['getUnitStatus$'](this['unitID'])[_0x563823(0x3b0)](_0x54e4d2=>{var _0x49a495=_0x563823;this[_0x49a495(0x3df)]['debug'](_0x49a495(0x1c3),_0x49a495(0x478),_0x54e4d2),_0x54e4d2===Fe[_0x49a495(0x35c)]?(this[_0x49a495(0x1ea)][_0x49a495(0x410)]({'id':Q[_0x49a495(0x474)]}),this[_0x49a495(0x414)][_0x49a495(0x1f6)](new W['WorkbookEditablePermission'](this[_0x49a495(0x418)])['id'],!0x1),this['_permissionService'][_0x49a495(0x387)](!0x1)):(this[_0x49a495(0x414)][_0x49a495(0x1f6)](new W['WorkbookEditablePermission'](this['unitID'])['id'],!0x0),this[_0x49a495(0x414)][_0x49a495(0x387)](!0x0));})));let _0x82f365=!0x1;return this[_0x563823(0x2fe)](this[_0x563823(0x449)][_0x563823(0x2c1)][_0x563823(0x3b0)](_0x5ac0bf=>{var _0x3b03ba=_0x563823;_0x5ac0bf===se[_0x3b03ba(0x1a2)]?this[_0x3b03ba(0x41e)](_0x82f365):_0x5ac0bf===se[_0x3b03ba(0x20d)]&&(_0x82f365=!0x0,this['_toggleOffline']());})),this['disposeWithMe'](this[_0x563823(0x449)][_0x563823(0x345)][_0x563823(0x3b0)](_0x268c38=>{var _0x4597d6=_0x563823;try{switch(_0x268c38['eventID']){case m[_0x4597d6(0x334)][_0x4597d6(0x1d8)]:{this['_onRemoteChangeset'](m[_0x4597d6(0x44d)](_0x268c38[_0x4597d6(0x34a)]));break;}case m[_0x4597d6(0x334)]['CHANGESET_ACK']:{this[_0x4597d6(0x357)](_0x268c38[_0x4597d6(0x34a)]);break;}case m[_0x4597d6(0x334)][_0x4597d6(0x4b0)]:{this[_0x4597d6(0x428)]();break;}case m[_0x4597d6(0x334)][_0x4597d6(0x372)]:{this[_0x4597d6(0x3dc)](_0x268c38[_0x4597d6(0x34a)]);break;}case m[_0x4597d6(0x334)][_0x4597d6(0x368)]:{this[_0x4597d6(0x1ce)](_0x268c38[_0x4597d6(0x34a)][_0x4597d6(0x270)][_0x4597d6(0x259)](_0x14f254=>m['parseProtocolChangeset'](_0x14f254)));break;}case m[_0x4597d6(0x334)]['PERMISSION_REJ']:{this[_0x4597d6(0x428)]({'isPermissionRej':!0x0});break;}case m[_0x4597d6(0x334)]['UNISCRIPT_RUN']:break;}}catch(_0x4eb694){throw console[_0x4597d6(0x198)]('Error\x20on\x20receiving\x20event',_0x4eb694),_0x4eb694;}})),this[_0x563823(0x479)];}[_0x17863a(0x256)](){this['_transitionLocked']=!0x1;}[_0x17863a(0x213)](){var _0x131d4b=_0x17863a;if(this[_0x131d4b(0x3b8)])throw new Error(_0x131d4b(0x32c));this[_0x131d4b(0x3b8)]=!0x0;}[_0x17863a(0x2f5)](_0x342c1c){var _0x359cd2=_0x17863a;this[_0x359cd2(0x213)](),this['_updateState'](this['_state'][_0x359cd2(0x2ec)](_0x342c1c)),this[_0x359cd2(0x256)]();}[_0x17863a(0x3bd)](_0x3c8d06){var _0x3b28b5=_0x17863a;if(!(_0x3c8d06['revision']<=this['_revisionService'][_0x3b28b5(0x2b2)](this[_0x3b28b5(0x418)]))){if(this['_collaborationPaused']){this['_remoteChangesetQueue'][_0x3b28b5(0x327)](_0x3c8d06);return;}this['_applyRemoteChangeset'](_0x3c8d06);}}['_exhaustRemoteChangesetQueue'](){var _0x5a2d57=_0x17863a;this[_0x5a2d57(0x3ff)]['forEach'](_0x31eca9=>this[_0x5a2d57(0x4c9)](_0x31eca9)),this[_0x5a2d57(0x3ff)]=[];}[_0x17863a(0x4c9)](_0x4485a3){var _0x1a0fe9=_0x17863a;const _0x5cb9fc=this[_0x1a0fe9(0x2bc)][_0x1a0fe9(0x301)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x1a0fe9(0x301)][_0x1a0fe9(0x1f1)]()['COMPRESS_MUTATION_APPLY'])(_0x4485a3[_0x1a0fe9(0x221)],null)||_0x4485a3['mutations'],_0x1b2af3={..._0x4485a3,'mutations':_0x5cb9fc};this[_0x1a0fe9(0x213)](),this[_0x1a0fe9(0x290)](this[_0x1a0fe9(0x479)]['onRemoteChangeset'](_0x1b2af3)),this[_0x1a0fe9(0x256)]();}[_0x17863a(0x357)](_0x40c6c){var _0x555aea=_0x17863a;this[_0x555aea(0x213)](),this[_0x555aea(0x290)](this[_0x555aea(0x479)]['onRemoteAck'](_0x40c6c)),this[_0x555aea(0x256)]();}[_0x17863a(0x428)](_0x33368a){var _0x41e5c2=_0x17863a;this[_0x41e5c2(0x213)](),this['_updateState'](this[_0x41e5c2(0x479)][_0x41e5c2(0x36a)](_0x33368a)),this[_0x41e5c2(0x256)]();}[_0x17863a(0x3dc)](_0x150e87){var _0x2147e9=_0x17863a;this[_0x2147e9(0x213)](),this[_0x2147e9(0x290)](this[_0x2147e9(0x479)][_0x2147e9(0x30f)](_0x150e87)),this[_0x2147e9(0x256)]();}[_0x17863a(0x1ce)](_0x5928f1){var _0x284854=_0x17863a;if(!(this[_0x284854(0x479)]instanceof exports[_0x284854(0x1e0)]))throw new TypeError(_0x284854(0x1df));const _0x33057e=_0x5928f1[_0x284854(0x259)](_0xe7b877=>{var _0x5271b7=_0x284854;const _0x48265d=this[_0x5271b7(0x2bc)][_0x5271b7(0x301)]['fetchThroughInterceptors'](this[_0x5271b7(0x2bc)][_0x5271b7(0x301)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0xe7b877['mutations'],null)||_0xe7b877[_0x5271b7(0x221)];return{..._0xe7b877,'mutations':_0x48265d};});this['_lockTransition'](),this[_0x284854(0x290)](this[_0x284854(0x479)][_0x284854(0x21f)](_0x33057e)),this['_unlockTransition']();}['_toggleOffline'](){var _0x190643=_0x17863a;this['_lockTransition'](),this['_updateState'](this[_0x190643(0x479)]['toggleOffline']()),this[_0x190643(0x256)]();}[_0x17863a(0x41e)](_0x2f6201=!0x1){var _0x293d31=_0x17863a;this[_0x293d31(0x213)](),this[_0x293d31(0x290)](this[_0x293d31(0x479)]['toggleOnline']()),this[_0x293d31(0x256)]();const _0x943799=this[_0x293d31(0x479)];_0x2f6201&&_0x943799 instanceof exports[_0x293d31(0x3f5)]&&(this['_lockTransition'](),this[_0x293d31(0x290)](_0x943799['fetchMiss']()),this[_0x293d31(0x256)]());}async[_0x17863a(0x27b)](){return new Promise(_0x3943f1=>{var _0x20d0c2=_0x491b;this[_0x20d0c2(0x449)]['sessionStatus$'][_0x20d0c2(0x457)](B[_0x20d0c2(0x2ca)](0x1))['subscribe'](async _0xb1a83d=>{var _0x5a2866=_0x20d0c2;_0x3943f1(await this[_0x5a2866(0x287)](_0xb1a83d===se[_0x5a2866(0x1a2)]));});});}['_createHandler'](){const _0x1252dc=this['unitID'];return{'onStateChange':(_0x313f16,_0x184e59)=>{var _0x1406d2=_0x491b;if(_0x313f16!==this[_0x1406d2(0x479)])throw new Error(_0x1406d2(0x4a3)+_0x313f16[_0x1406d2(0x422)]+_0x1406d2(0x18f)+_0x184e59['status']+'\x0aCurrent:\x20'+this[_0x1406d2(0x479)][_0x1406d2(0x422)]);this[_0x1406d2(0x290)](_0x184e59);},'onSendChangeset':_0x1accb4=>{var _0x274582=_0x491b;_0x1accb4['sid']||(_0x1accb4[_0x274582(0x3f3)]=this[_0x274582(0x207)],_0x1accb4[_0x274582(0x402)]=++this['_changesetReqId']);const _0x4ec587={'eventID':m[_0x274582(0x334)][_0x274582(0x269)],'data':{'unitID':_0x1accb4[_0x274582(0x418)],'unitType':this[_0x274582(0x353)],'changeset':_0x1accb4,'memberID':this[_0x274582(0x449)][_0x274582(0x21a)]()}};this[_0x274582(0x449)][_0x274582(0x3b5)](_0x4ec587,this[_0x274582(0x418)]);},'onMissingChangesets':({from:_0x422f00,to:_0xc49b66})=>{var _0x38f08b=_0x491b;this[_0x38f08b(0x3df)]['debug'](_0x38f08b(0x1c3),_0x38f08b(0x4b7)+_0x422f00+'\x20to\x20'+_0xc49b66);const _0x57439b={'eventID':m[_0x38f08b(0x334)][_0x38f08b(0x32a)],'data':{'unitID':_0x1252dc,'unitType':this[_0x38f08b(0x353)],'from':_0x422f00,'to':_0xc49b66}};this[_0x38f08b(0x449)][_0x38f08b(0x3b5)](_0x57439b,this[_0x38f08b(0x418)]);}};}async[_0x17863a(0x287)](_0x49065b){var _0x261e26=_0x17863a,_0x10c09c,_0x336b7c,_0x4f34d7;const _0x37c21d=await((_0x10c09c=this[_0x261e26(0x194)])==null?void 0x0:_0x10c09c[_0x261e26(0x439)](this[_0x261e26(0x418)])),_0x589abf=(_0x336b7c=_0x37c21d==null?void 0x0:_0x37c21d[_0x261e26(0x221)])!=null?_0x336b7c:[],_0x3cb264=(_0x4f34d7=_0x37c21d==null?void 0x0:_0x37c21d[_0x261e26(0x1a0)])!=null?_0x4f34d7:null,_0x5634b3=!!(_0x3cb264!=null&&_0x3cb264['sid'])&&!!(_0x3cb264!=null&&_0x3cb264['reqId']);this[_0x261e26(0x207)]=_0x5634b3?_0x3cb264[_0x261e26(0x3f3)]:Si(),this[_0x261e26(0x1a3)]=_0x5634b3?_0x3cb264[_0x261e26(0x402)]:0x0;const _0x5a55e9=this['unitID'];try{this[_0x261e26(0x25c)](_0x3cb264,_0x589abf);}catch(_0x27f85e){this[_0x261e26(0x3df)][_0x261e26(0x198)](_0x27f85e);}const _0x2bedde=this[_0x261e26(0x477)]();if(_0x49065b){const _0x297f8a=Ut(this[_0x261e26(0x3f8)],_0x5a55e9,this['_type'],_0x3cb264,_0x589abf,_0x2bedde);return _0x297f8a instanceof exports[_0x261e26(0x24e)]?_0x297f8a['_schedule']():(_0x297f8a instanceof exports[_0x261e26(0x3d3)]||_0x297f8a instanceof exports[_0x261e26(0x1af)])&&_0x297f8a[_0x261e26(0x36d)](),_0x297f8a;}return this['_injector'][_0x261e26(0x35e)](exports[_0x261e26(0x247)],_0x5a55e9,this[_0x261e26(0x353)],_0x3cb264,_0x589abf,_0x2bedde);}[_0x17863a(0x25c)](_0x5b3ad2,_0x14ff7d){var _0x2a6eef=_0x17863a,_0x465e1e,_0x5162f5;const _0x5bdf08=this[_0x2a6eef(0x2bc)][_0x2a6eef(0x301)][_0x2a6eef(0x25e)](this[_0x2a6eef(0x2bc)][_0x2a6eef(0x301)]['getInterceptPoints']()[_0x2a6eef(0x305)]);(_0x465e1e=_0x5bdf08((_0x5b3ad2==null?void 0x0:_0x5b3ad2['mutations'])||[],null))==null||_0x465e1e[_0x2a6eef(0x209)](_0xb60329=>this['_commandService'][_0x2a6eef(0x509)](_0xb60329['id'],_0xb60329[_0x2a6eef(0x19f)])),(_0x5162f5=_0x5bdf08(_0x14ff7d||[],null))==null||_0x5162f5[_0x2a6eef(0x209)](_0x191ba4=>this[_0x2a6eef(0x1d2)][_0x2a6eef(0x509)](_0x191ba4['id'],_0x191ba4[_0x2a6eef(0x19f)]));}},exports['CollaborationEntity']=Ve([H(0x3,a['Inject'](a[_0x17863a(0x470)])),H(0x4,a[_0x17863a(0x45c)](m[_0x17863a(0x3c9)])),H(0x5,a['Inject'](a[_0x17863a(0x411)])),H(0x6,a[_0x17863a(0x45c)](m[_0x17863a(0x380)])),H(0x7,a[_0x17863a(0x45c)](te)),H(0x8,a[_0x17863a(0x4fa)]),H(0x9,a[_0x17863a(0x204)]),H(0xa,a['IPermissionService']),H(0xb,a['Optional'](ve)),H(0xc,a[_0x17863a(0x23d)](J))],exports[_0x17863a(0x17f)]),exports[_0x17863a(0x4c7)]=class extends exports[_0x17863a(0x17f)]{constructor(_0x4b3b7f,_0x435619,_0x1cd90a,_0x30505d,_0x15ec65,_0x13fad1,_0x46b175,_0x13f9c5,_0x31b837,_0xb656a7,_0x466d2b,_0x2c7d2b,_0x559866){var _0x50d17d=_0x17863a;super(_0x4b3b7f,_0x1cd90a,_0x435619,_0x30505d,_0x15ec65,_0x13fad1,_0x46b175,_0x13f9c5,_0x31b837,_0xb656a7,_0x466d2b,_0x2c7d2b,_0x559866),w(this,_0x50d17d(0x229),null),(this['unitID']=_0x4b3b7f,this[_0x50d17d(0x21d)]=_0x435619);}[_0x17863a(0x4af)](_0x1ca873){var _0x131eef=_0x17863a;this[_0x131eef(0x229)]=_0x1ca873;}[_0x17863a(0x17e)](){var _0x3085a3=_0x17863a;this[_0x3085a3(0x229)]=null,super[_0x3085a3(0x17e)]();}[_0x17863a(0x477)](){var _0x474ecc=_0x17863a;const _0x5b087e=super[_0x474ecc(0x477)]();return _0x5b087e[_0x474ecc(0x47d)]=_0x14720c=>{var _0x5c5883=_0x474ecc,_0x16cddb,_0x5b9697;return(_0x5b9697=(_0x16cddb=this[_0x5c5883(0x229)])==null?void 0x0:_0x16cddb[_0x5c5883(0x47d)])==null?void 0x0:_0x5b9697[_0x5c5883(0x243)](_0x16cddb,_0x14720c);},_0x5b087e[_0x474ecc(0x3ad)]=_0x95fd13=>{var _0x15bb7d=_0x474ecc,_0x348adb,_0x521665;return(_0x521665=(_0x348adb=this[_0x15bb7d(0x229)])==null?void 0x0:_0x348adb[_0x15bb7d(0x3ad)])==null?void 0x0:_0x521665[_0x15bb7d(0x243)](_0x348adb,_0x95fd13);},_0x5b087e[_0x474ecc(0x4b1)]=_0x15eba8=>{var _0x129302=_0x474ecc,_0x321338,_0x3e8bee;return(_0x3e8bee=(_0x321338=this['_handlerCallback'])==null?void 0x0:_0x321338[_0x129302(0x4b1)])==null?void 0x0:_0x3e8bee[_0x129302(0x243)](_0x321338,_0x15eba8);},_0x5b087e[_0x474ecc(0x3fc)]=_0x33cf04=>{var _0x12ecfc=_0x474ecc,_0x588d5b,_0x49933f;return(_0x49933f=(_0x588d5b=this[_0x12ecfc(0x229)])==null?void 0x0:_0x588d5b['onSyncEditingCollabCursor'])==null?void 0x0:_0x49933f[_0x12ecfc(0x243)](_0x588d5b,_0x33cf04);},_0x5b087e['onTransformRemoteChangesetByIMECache']=_0x3c6582=>{var _0x1b2094=_0x474ecc,_0x5282d6,_0x28f7bc,_0x4aba9c;if(!((_0x5282d6=this[_0x1b2094(0x229)])!=null&&_0x5282d6[_0x1b2094(0x242)]))throw new Error(_0x1b2094(0x3aa));return(_0x4aba9c=(_0x28f7bc=this['_handlerCallback'])==null?void 0x0:_0x28f7bc[_0x1b2094(0x242)])==null?void 0x0:_0x4aba9c[_0x1b2094(0x243)](_0x28f7bc,_0x3c6582);},_0x5b087e[_0x474ecc(0x3a3)]=_0x513291=>{var _0x1c6b86=_0x474ecc,_0x442df3,_0x1bfdcd,_0x2aff87;if(!((_0x442df3=this[_0x1c6b86(0x229)])!=null&&_0x442df3[_0x1c6b86(0x3a3)]))throw new Error(_0x1c6b86(0x1bf));return(_0x2aff87=(_0x1bfdcd=this[_0x1c6b86(0x229)])==null?void 0x0:_0x1bfdcd[_0x1c6b86(0x3a3)])==null?void 0x0:_0x2aff87['call'](_0x1bfdcd,_0x513291);},_0x5b087e;}async[_0x17863a(0x250)](){var _0x329046=_0x17863a;const _0x20979c=await super[_0x329046(0x250)]();return this[_0x329046(0x2fe)](this['_commandService'][_0x329046(0x3ef)]((_0x304517,_0x30b4f5)=>{var _0x357bc0=_0x329046;if(_0x304517['type']!==a[_0x357bc0(0x230)][_0x357bc0(0x3fb)]||_0x30b4f5!=null&&_0x30b4f5['fromCollab']||_0x30b4f5!=null&&_0x30b4f5['onlyLocal']||_0x304517['id']===ut[_0x357bc0(0x4fb)]['id'])return;const _0x54ac38=_0x304517[_0x357bc0(0x19f)];if((_0x54ac38==null?void 0x0:_0x54ac38[_0x357bc0(0x4d2)])!==this[_0x357bc0(0x418)])return;const _0x5b9bc9=_0x304517,_0x2ba40c=this[_0x357bc0(0x2bc)][_0x357bc0(0x301)]['fetchThroughInterceptors'](this[_0x357bc0(0x2bc)][_0x357bc0(0x301)][_0x357bc0(0x1f1)]()[_0x357bc0(0x3eb)])([_0x5b9bc9],null)||[_0x5b9bc9];this[_0x357bc0(0x2f5)](_0x2ba40c[0x0]);})),_0x20979c;}},exports['DocCollaborationEntity']=Ve([H(0x3,a[_0x17863a(0x45c)](a[_0x17863a(0x470)])),H(0x4,a[_0x17863a(0x45c)](m['CompressMutationService'])),H(0x5,a[_0x17863a(0x45c)](a[_0x17863a(0x411)])),H(0x6,a['Inject'](m[_0x17863a(0x380)])),H(0x7,a['Inject'](te)),H(0x8,a[_0x17863a(0x4fa)]),H(0x9,a[_0x17863a(0x204)]),H(0xa,a['IPermissionService']),H(0xb,a[_0x17863a(0x23d)](ve)),H(0xc,a[_0x17863a(0x23d)](J))],exports[_0x17863a(0x4c7)]),exports[_0x17863a(0x397)]=class extends exports[_0x17863a(0x17f)]{constructor(_0x4818b8,_0x7535e3,_0xb4da51,_0x229fa7,_0x482a39,_0x481a3c,_0x3f9d75,_0x2f3ad1,_0x169b07,_0x3ff057,_0xb315dd,_0x148d2e,_0x5130a5,_0x1959c7){var _0x3c7f8c=_0x17863a;super(_0x4818b8,_0xb4da51,_0x7535e3,_0x229fa7,_0x482a39,_0x481a3c,_0x3f9d75,_0x169b07,_0x3ff057,_0xb315dd,_0x148d2e,_0x5130a5,_0x1959c7),this[_0x3c7f8c(0x418)]=_0x4818b8,this['type']=_0x7535e3,this[_0x3c7f8c(0x29d)]=_0x2f3ad1;}[_0x17863a(0x477)](){var _0x37ff6b=_0x17863a;const _0x49d5e8=super['_createHandler']();return _0x49d5e8[_0x37ff6b(0x4b1)]=_0x1f1789=>this['_sheetTransformSelectionsService'][_0x37ff6b(0x280)](_0x1f1789),_0x49d5e8;}async[_0x17863a(0x250)](){var _0x38b431=_0x17863a;const _0x16de4d=await super[_0x38b431(0x250)]();return this['disposeWithMe'](this[_0x38b431(0x1d2)][_0x38b431(0x3ef)]((_0x332102,_0x13d186)=>{var _0x464462=_0x38b431;if(_0x332102[_0x464462(0x21d)]!==a['CommandType'][_0x464462(0x3fb)]||_0x13d186!=null&&_0x13d186['fromCollab']||_0x13d186!=null&&_0x13d186[_0x464462(0x376)])return;const _0xce9f88=_0x332102[_0x464462(0x19f)];if((_0xce9f88==null?void 0x0:_0xce9f88[_0x464462(0x4d2)])!==this['unitID'])return;const _0x2bcf76=_0x332102,_0x5c45b1=this['_compressMutationService'][_0x464462(0x301)][_0x464462(0x25e)](this[_0x464462(0x2bc)]['interceptor'][_0x464462(0x1f1)]()[_0x464462(0x3eb)])([_0x2bcf76],null)||[_0x2bcf76];this[_0x464462(0x2f5)](_0x5c45b1[0x0]);})),_0x16de4d;}},exports[_0x17863a(0x397)]=Ve([H(0x3,a['Inject'](a[_0x17863a(0x470)])),H(0x4,a[_0x17863a(0x45c)](m[_0x17863a(0x3c9)])),H(0x5,a[_0x17863a(0x45c)](a['LocaleService'])),H(0x6,a[_0x17863a(0x45c)](m['RevisionService'])),H(0x7,a[_0x17863a(0x45c)](exports['SheetTransformSelectionsService'])),H(0x8,a[_0x17863a(0x45c)](te)),H(0x9,a[_0x17863a(0x4fa)]),H(0xa,a[_0x17863a(0x204)]),H(0xb,a[_0x17863a(0x4f1)]),H(0xc,a['Optional'](ve)),H(0xd,a[_0x17863a(0x23d)](J))],exports[_0x17863a(0x397)]);var Ui=Object[_0x17863a(0x3d8)],Di=Object[_0x17863a(0x381)],Ni=(_0x37c61a,_0x479bc9,_0x37f0a0,_0x1b5524)=>{var _0x30c7fc=_0x17863a;for(var _0x33c6c8=_0x1b5524>0x1?void 0x0:_0x1b5524?Di(_0x479bc9,_0x37f0a0):_0x479bc9,_0x15f748=_0x37c61a[_0x30c7fc(0x291)]-0x1,_0x11a0a9;_0x15f748>=0x0;_0x15f748--)(_0x11a0a9=_0x37c61a[_0x15f748])&&(_0x33c6c8=(_0x1b5524?_0x11a0a9(_0x479bc9,_0x37f0a0,_0x33c6c8):_0x11a0a9(_0x33c6c8))||_0x33c6c8);return _0x1b5524&&_0x33c6c8&&Ui(_0x479bc9,_0x37f0a0,_0x33c6c8),_0x33c6c8;},we=(_0x71ca08,_0x413cf0)=>(_0x389ce7,_0x4de5eb)=>_0x413cf0(_0x389ce7,_0x4de5eb,_0x71ca08);exports[_0x17863a(0x42d)]=class extends a[_0x17863a(0x1de)]{constructor(_0x4d5410,_0x411608,_0x1c40fa){var _0x1689f8=_0x17863a;super(),w(this,_0x1689f8(0x2e7),new Map()),w(this,_0x1689f8(0x406),new B[(_0x1689f8(0x2e9))]()),w(this,'entityInit$',this[_0x1689f8(0x406)]['asObservable']()),(this[_0x1689f8(0x3f8)]=_0x4d5410,this['_collabSessionService']=_0x411608,this['_univerInstanceService']=_0x1c40fa,this[_0x1689f8(0x250)]());}[_0x17863a(0x17e)](){var _0x1ec2ed=_0x17863a;super[_0x1ec2ed(0x17e)](),this['_entities'][_0x1ec2ed(0x209)](_0x5d8a17=>_0x5d8a17[_0x1ec2ed(0x17e)]()),this[_0x1ec2ed(0x2e7)]['clear']();}[_0x17863a(0x3f9)](_0x22a685){var _0xcbadd7=_0x17863a,_0x432708;return(_0x432708=this[_0xcbadd7(0x2e7)][_0xcbadd7(0x1f9)](_0x22a685))!=null?_0x432708:null;}['getCollabEntity$'](_0x26097e){var _0x4fc190=_0x17863a;const _0x36c34a=this[_0x4fc190(0x3f9)](_0x26097e);return _0x36c34a?B['of'](_0x36c34a):this[_0x4fc190(0x406)][_0x4fc190(0x457)](V['filter'](_0x3c868f=>_0x3c868f[_0x4fc190(0x418)]===_0x26097e));}[_0x17863a(0x47a)](_0x163054){var _0x13e346=_0x17863a;return B[_0x13e346(0x299)](this[_0x13e346(0x420)](_0x163054)[_0x13e346(0x457)](V[_0x13e346(0x259)](()=>{})));}[_0x17863a(0x250)](){var _0x29c319=_0x17863a;this[_0x29c319(0x3a6)][_0x29c319(0x2ff)](a['UniverInstanceType']['UNIVER_SHEET'])[_0x29c319(0x457)](B[_0x29c319(0x50f)](this[_0x29c319(0x1db)]),V[_0x29c319(0x3b4)](0x10))['subscribe'](async _0x2ce0f1=>{var _0x3b4ad1=_0x29c319;const _0x1a5339=_0x2ce0f1['getUnitId'](),_0x447fc7=await this[_0x3b4ad1(0x2a1)](_0x1a5339,Z['UNIVER_SHEET']);this[_0x3b4ad1(0x2e7)][_0x3b4ad1(0x471)](_0x1a5339,_0x447fc7);}),this[_0x29c319(0x3a6)][_0x29c319(0x2ff)](a['UniverInstanceType']['UNIVER_DOC'])[_0x29c319(0x457)](B[_0x29c319(0x50f)](this['dispose$']),V[_0x29c319(0x3b4)](0x10))[_0x29c319(0x457)](V[_0x29c319(0x409)](_0x351474=>!_0x351474[_0x29c319(0x281)]()['startsWith']('__')))[_0x29c319(0x3b0)](async _0x1733eb=>{var _0x41d3dd=_0x29c319;const _0x3298e5=_0x1733eb[_0x41d3dd(0x281)](),_0x317906=await this[_0x41d3dd(0x2a1)](_0x3298e5,Z[_0x41d3dd(0x1d4)]);this['_entities'][_0x41d3dd(0x471)](_0x3298e5,_0x317906);}),B[_0x29c319(0x2ab)](this[_0x29c319(0x3a6)][_0x29c319(0x4ce)](a[_0x29c319(0x3c8)][_0x29c319(0x309)]),this[_0x29c319(0x3a6)][_0x29c319(0x4ce)](a[_0x29c319(0x3c8)][_0x29c319(0x1d4)]))[_0x29c319(0x457)](B[_0x29c319(0x50f)](this[_0x29c319(0x1db)]))[_0x29c319(0x3b0)](_0x3314a7=>{var _0x5acb6d=_0x29c319;const _0x2a3eca=_0x3314a7[_0x5acb6d(0x281)](),_0x482344=this[_0x5acb6d(0x2e7)][_0x5acb6d(0x1f9)](_0x2a3eca);_0x482344&&(_0x482344['dispose'](),this[_0x5acb6d(0x2e7)][_0x5acb6d(0x40f)](_0x2a3eca));});}async[_0x17863a(0x2a1)](_0x450e28,_0x35c875){var _0x3c783a=_0x17863a;const _0x5a333d=await this[_0x3c783a(0x4bf)]['requireSession'](_0x450e28),_0x435b8f=this[_0x3c783a(0x3f8)][_0x3c783a(0x35e)](this[_0x3c783a(0x43c)](_0x35c875),_0x450e28,_0x35c875,_0x5a333d);return await _0x435b8f[_0x3c783a(0x257)](),this[_0x3c783a(0x406)][_0x3c783a(0x2ed)](_0x435b8f),_0x435b8f;}[_0x17863a(0x43c)](_0x29fce5){var _0x5b1dd9=_0x17863a;switch(_0x29fce5){case Z[_0x5b1dd9(0x1d4)]:return exports['DocCollaborationEntity'];case Z['UNIVER_SHEET']:return exports[_0x5b1dd9(0x397)];default:throw new Error(_0x5b1dd9(0x248)+_0x29fce5);}}},exports[_0x17863a(0x42d)]=Ni([we(0x0,a['Inject'](a[_0x17863a(0x470)])),we(0x1,a[_0x17863a(0x45c)](exports[_0x17863a(0x488)])),we(0x2,a[_0x17863a(0x1ba)])],exports[_0x17863a(0x42d)]);var wi=Object[_0x17863a(0x3d8)],Ai=Object['getOwnPropertyDescriptor'],Li=(_0x45a840,_0x117fe3,_0x790fdf,_0x239a8c)=>{var _0xd24118=_0x17863a;for(var _0x23d01a=_0x239a8c>0x1?void 0x0:_0x239a8c?Ai(_0x117fe3,_0x790fdf):_0x117fe3,_0x335626=_0x45a840[_0xd24118(0x291)]-0x1,_0x36d9d6;_0x335626>=0x0;_0x335626--)(_0x36d9d6=_0x45a840[_0x335626])&&(_0x23d01a=(_0x239a8c?_0x36d9d6(_0x117fe3,_0x790fdf,_0x23d01a):_0x36d9d6(_0x23d01a))||_0x23d01a);return _0x239a8c&&_0x23d01a&&wi(_0x117fe3,_0x790fdf,_0x23d01a),_0x23d01a;},Je=(_0x529fd5,_0x310cc6)=>(_0xd7658b,_0x1c5432)=>_0x310cc6(_0xd7658b,_0x1c5432,_0x529fd5);const Mi='DEFAULT_FILE_NAME',xi=_0x17863a(0x4b5);let $e=class extends a[_0x17863a(0x4ec)]{constructor(_0x4b7955,_0x27896c){var _0x205fb3=_0x17863a;super(),this['_univerInstanceService']=_0x4b7955,this[_0x205fb3(0x483)]=_0x27896c,this[_0x205fb3(0x250)]();}[_0x17863a(0x250)](){var _0x143170=_0x17863a;this['disposeWithMe'](this[_0x143170(0x3a6)]['focused$'][_0x143170(0x3b0)](()=>{var _0x3ff177=_0x143170,_0x1a9082;const _0xdca55a=this[_0x3ff177(0x3a6)][_0x3ff177(0x307)]();let _0x4ceac5=(_0x1a9082=this[_0x3ff177(0x483)]['getConfig'](Mi))!=null?_0x1a9082:xi;_0xdca55a instanceof a['Workbook']&&(_0x4ceac5=_0xdca55a[_0x3ff177(0x20c)]),document[_0x3ff177(0x371)]=_0x4ceac5;}));}};$e=Li([Je(0x0,a[_0x17863a(0x1ba)]),Je(0x1,a['IConfigService'])],$e);var ji=Object[_0x17863a(0x3d8)],$i=Object[_0x17863a(0x381)],Hi=(_0x5150e4,_0x600497,_0x174868,_0x216635)=>{var _0x68fa1=_0x17863a;for(var _0x373941=_0x216635>0x1?void 0x0:_0x216635?$i(_0x600497,_0x174868):_0x600497,_0x57f96c=_0x5150e4[_0x68fa1(0x291)]-0x1,_0xf432ec;_0x57f96c>=0x0;_0x57f96c--)(_0xf432ec=_0x5150e4[_0x57f96c])&&(_0x373941=(_0x216635?_0xf432ec(_0x600497,_0x174868,_0x373941):_0xf432ec(_0x373941))||_0x373941);return _0x216635&&_0x373941&&ji(_0x600497,_0x174868,_0x373941),_0x373941;},Ae=(_0x2025b,_0x10cc63)=>(_0x437f1f,_0x23aad1)=>_0x10cc63(_0x437f1f,_0x23aad1,_0x2025b);let Oe=class{constructor(_0x2502a2,_0x31e89f,_0x215bee){var _0x534c8c=_0x17863a;this[_0x534c8c(0x483)]=_0x2502a2,this[_0x534c8c(0x22f)]=_0x31e89f,this[_0x534c8c(0x3d1)]=_0x215bee,this['init']();}[_0x17863a(0x257)](){var _0x127a9f=_0x17863a;this['_httpService'][_0x127a9f(0x21c)]({'priority':0x1,'interceptor':(_0x5b67dd,_0x500dbe)=>_0x500dbe(_0x5b67dd)['pipe'](B[_0x127a9f(0x1d5)](async _0x305c35=>{var _0x5b47d6=_0x127a9f;const _0x472d59=_0x305c35;if(_0x472d59[_0x5b47d6(0x422)]===0x191){if(typeof window>'u')throw new Error(_0x5b47d6(0x1fb));if(window[_0x5b47d6(0x4eb)](this['localeService']['t'](_0x5b47d6(0x364)))){const _0x3af846=window[_0x5b47d6(0x2d8)](window[_0x5b47d6(0x2b0)][_0x5b47d6(0x4a0)]);window['location']['href']=this[_0x5b47d6(0x285)]()+_0x5b47d6(0x3cc)+_0x3af846;}}return _0x472d59;}))});}[_0x17863a(0x285)](){var _0x2e768a=_0x17863a,_0x2de1b2,_0x39abed;const _0x4d7184=this['_configService'][_0x2e768a(0x17d)](Et),_0x9adf3d=this['_configService'][_0x2e768a(0x17d)](q);return(_0x39abed=(_0x2de1b2=_0x9adf3d==null?void 0x0:_0x9adf3d[_0x2e768a(0x32e)])!=null?_0x2de1b2:_0x4d7184)!=null?_0x39abed:qt;}};Oe=Hi([Ae(0x0,a[_0x17863a(0x29c)]),Ae(0x1,a['Inject'](z[_0x17863a(0x3e6)])),Ae(0x2,a[_0x17863a(0x45c)](a['LocaleService']))],Oe);var ki=Object['defineProperty'],Bi=Object[_0x17863a(0x381)],Fi=(_0x41b3ae,_0x476148,_0x346d52,_0x16466c)=>{var _0x6369d9=_0x17863a;for(var _0xcd5e73=_0x16466c>0x1?void 0x0:_0x16466c?Bi(_0x476148,_0x346d52):_0x476148,_0x1ad9c9=_0x41b3ae[_0x6369d9(0x291)]-0x1,_0x3b77d9;_0x1ad9c9>=0x0;_0x1ad9c9--)(_0x3b77d9=_0x41b3ae[_0x1ad9c9])&&(_0xcd5e73=(_0x16466c?_0x3b77d9(_0x476148,_0x346d52,_0xcd5e73):_0x3b77d9(_0xcd5e73))||_0xcd5e73);return _0x16466c&&_0xcd5e73&&ki(_0x476148,_0x346d52,_0xcd5e73),_0xcd5e73;},Xe=(_0x1c9788,_0x596e45)=>(_0x2db12b,_0x399970)=>_0x596e45(_0x2db12b,_0x399970,_0x1c9788);const Ge=_0x17863a(0x29a),Wi=_0x17863a(0x4d3);exports['AuthzIoHttpService']=class extends a[_0x17863a(0x4ec)]{constructor(_0x1287ca,_0x1e75a5){var _0x3dc4ba=_0x17863a;super(),this[_0x3dc4ba(0x1f8)]=_0x1287ca,this[_0x3dc4ba(0x483)]=_0x1e75a5,this[_0x3dc4ba(0x425)]();}['_initMergeInterceptor'](){var _0x57b052=_0x17863a;const _0xe742a4=this;this[_0x57b052(0x2fe)](this[_0x57b052(0x1f8)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':z['MergeInterceptorFactory']({'isMatch'(_0x30d242){var _0x5499ea=_0x57b052,_0x28f7ec;if(_0x30d242[_0x5499ea(0x503)]===_0x5499ea(0x19d)&&((_0x28f7ec=_0x30d242[_0x5499ea(0x1f3)])!=null&&_0x28f7ec['body'])){const {objectID:_0x1db6cf,objectType:_0x52a5e3}=_0x30d242['requestParams']['body']||{};if(!_0x1db6cf||_0x52a5e3===void 0x0)return!0x1;const _0x51d8d6=_0xe742a4[_0x5499ea(0x47f)]()+'/'+_0x52a5e3+'/object/'+_0x1db6cf+_0x5499ea(0x1e2);if(_0x30d242[_0x5499ea(0x341)]===_0x51d8d6)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x262236){var _0x2a2d8a=_0x57b052,_0x3646f2;return(_0x3646f2=_0x262236[_0x2a2d8a(0x1f3)])==null?void 0x0:_0x3646f2[_0x2a2d8a(0x21b)];},'mergeParamsToRequest'(_0x2dcc30,_0x43f589){var _0x1819a6=_0x57b052;const _0x45228e=_0xe742a4[_0x1819a6(0x47f)]()+_0x1819a6(0x491),_0x15ee85=_0x2dcc30[_0x1819a6(0x28c)]((_0x555021,_0x37bb0e)=>{var _0x143d1a=_0x1819a6;const {unitID:_0x408f07,objectID:_0x1b6cf2,objectType:_0x101f74,actions:_0x2209f3}=_0x37bb0e;return _0x555021[_0x408f07]||(_0x555021[_0x408f07]={}),_0x555021[_0x408f07][_0x1b6cf2]||(_0x555021[_0x408f07][_0x1b6cf2]={'objectID':_0x1b6cf2,'objectType':_0x101f74,'actions':[]}),_0x555021[_0x408f07][_0x1b6cf2][_0x143d1a(0x3d9)]['push'](..._0x2209f3),_0x555021;},{}),_0x26cd0e=[];for(const _0x2ba778 in _0x15ee85)for(const _0x16bccd in _0x15ee85[_0x2ba778]){const {actions:_0x1d3e47,objectType:_0x5f5bc8}=_0x15ee85[_0x2ba778][_0x16bccd],_0xb4a293=[...new Set(_0x1d3e47)];_0x26cd0e[_0x1819a6(0x327)]({'unitID':_0x2ba778,'objectID':_0x16bccd,'objectType':_0x5f5bc8,'actions':_0xb4a293});}return new z[(_0x1819a6(0x4dc))]('POST',_0x45228e,{'headers':_0x43f589['headers'],'withCredentials':_0x43f589[_0x1819a6(0x42b)],'responseType':_0x43f589[_0x1819a6(0x3a2)],'body':{'requests':_0x26cd0e}});}},{'distributeResult'(_0x1f89d9,_0x27b63d){var _0x285dbd=_0x57b052;const {objectActions:_0x310086}=_0x1f89d9;return _0x27b63d[_0x285dbd(0x259)](_0x20587a=>{var _0x9295cb=_0x285dbd;const {unitID:_0x30e9aa,objectID:_0x3046f3,actions:_0x35b858}=_0x20587a,_0x2e0c12=_0x310086[_0x9295cb(0x190)](_0x23719d=>_0x23719d[_0x9295cb(0x418)]===_0x30e9aa&&_0x23719d['objectID']===_0x3046f3),_0x51f1b4=_0x35b858[_0x9295cb(0x259)](_0x5e8eba=>_0x2e0c12==null?void 0x0:_0x2e0c12[_0x9295cb(0x3d9)][_0x9295cb(0x190)](_0x45f3ca=>_0x45f3ca[_0x9295cb(0x272)]===_0x5e8eba))[_0x9295cb(0x409)](_0x5a5c24=>!!_0x5a5c24);return{'config':_0x20587a,'result':{'actions':_0x51f1b4,'error':_0x1f89d9['error']}};});}})}));}['_getAPIPrefixPath'](){var _0x3aa5f0=_0x17863a,_0x2a66af,_0x278331;const _0x56f126=this['_configService'][_0x3aa5f0(0x17d)](Ge),_0x500ac9=this['_configService'][_0x3aa5f0(0x17d)](q);return(_0x278331=(_0x2a66af=_0x500ac9==null?void 0x0:_0x500ac9[_0x3aa5f0(0x38b)])!=null?_0x2a66af:_0x56f126)!=null?_0x278331:Wi;}async[_0x17863a(0x2d2)](_0x2a812){var _0x15d2b1=_0x17863a;const _0x28a108=this[_0x15d2b1(0x47f)]()+'/'+_0x2a812[_0x15d2b1(0x3e7)]+'/object';return(await this[_0x15d2b1(0x1f8)][_0x15d2b1(0x302)](_0x28a108,{'body':_0x2a812}))[_0x15d2b1(0x21b)][_0x15d2b1(0x365)]||'';}async[_0x17863a(0x49f)](_0x792e2c){var _0x4f8eb6=_0x17863a;const _0x48cd03=this['_getAPIPrefixPath']()+_0x4f8eb6(0x362);return(await this[_0x4f8eb6(0x1f8)][_0x4f8eb6(0x302)](_0x48cd03,{'body':_0x792e2c}))[_0x4f8eb6(0x21b)][_0x4f8eb6(0x48d)];}async[_0x17863a(0x1b1)](_0x4c3463){var _0x337493=_0x17863a;const _0x1f345b=this[_0x337493(0x47f)]()+'/'+_0x4c3463[_0x337493(0x3e7)]+'/object/'+_0x4c3463[_0x337493(0x365)];await this[_0x337493(0x1f8)][_0x337493(0x1d7)](_0x1f345b,{'body':_0x4c3463});}async[_0x17863a(0x329)](_0xf53a7){var _0x264746=_0x17863a;const _0x19882a=this[_0x264746(0x47f)]()+'/'+_0xf53a7[_0x264746(0x3e7)]+_0x264746(0x253)+_0xf53a7[_0x264746(0x365)]+_0x264746(0x1e2);return(await this[_0x264746(0x1f8)][_0x264746(0x302)](_0x19882a,{'body':_0xf53a7}))['body'][_0x264746(0x3d9)];}async[_0x17863a(0x2a2)](_0x5a2180){var _0x24de05=_0x17863a;const _0x44715b=this[_0x24de05(0x47f)]()+_0x24de05(0x491);return(await this[_0x24de05(0x1f8)]['post'](_0x44715b,{'body':{'requests':_0x5a2180}}))['body'][_0x24de05(0x1b0)];}async[_0x17863a(0x2f0)](_0x68f9b){var _0x31a2e1=_0x17863a;const _0x592bb6=this['_getAPIPrefixPath']()+'/'+_0x68f9b[_0x31a2e1(0x3e7)]+_0x31a2e1(0x234),_0x5055fc=await this[_0x31a2e1(0x1f8)]['post'](_0x592bb6,{'body':_0x68f9b});return{'roles':_0x5055fc[_0x31a2e1(0x21b)][_0x31a2e1(0x4a8)],'actions':_0x5055fc[_0x31a2e1(0x21b)][_0x31a2e1(0x3d9)]};}async[_0x17863a(0x2cb)](_0x24a664){var _0x5be8e5=_0x17863a;const _0x131989=this[_0x5be8e5(0x47f)]()+'/collaborator';await this[_0x5be8e5(0x1f8)][_0x5be8e5(0x40f)](_0x131989,{'params':{'collaboratorID':_0x24a664[_0x5be8e5(0x3f6)],'objectID':_0x24a664[_0x5be8e5(0x365)],'unitID':_0x24a664[_0x5be8e5(0x418)]}});}async['updateCollaborator'](_0x3eace8){var _0x388647=_0x17863a;const _0x264431=this[_0x388647(0x47f)]()+_0x388647(0x4c6);await this[_0x388647(0x1f8)][_0x388647(0x4ea)](_0x264431,{'body':_0x3eace8});}async[_0x17863a(0x22d)](_0x544faa){var _0x10172e=_0x17863a;const _0x3ac08a=this[_0x10172e(0x47f)]()+'/collaborator';await this[_0x10172e(0x1f8)][_0x10172e(0x302)](_0x3ac08a,{'body':_0x544faa});}async[_0x17863a(0x446)](_0x58bac0){var _0x1fef82=_0x17863a;const _0x4373ae=this[_0x1fef82(0x47f)]()+_0x1fef82(0x4c6);return(await this[_0x1fef82(0x1f8)][_0x1fef82(0x1f9)](_0x4373ae,{'params':{'objectID':_0x58bac0[_0x1fef82(0x365)],'unitID':_0x58bac0['unitID']}}))['body'][_0x1fef82(0x39b)];}async[_0x17863a(0x36e)](_0x5b9496){var _0x37e749=_0x17863a;const _0x589f3e=this[_0x37e749(0x47f)]()+_0x37e749(0x4c6);await this[_0x37e749(0x1f8)]['put'](_0x589f3e,{'body':_0x5b9496});}},exports[_0x17863a(0x37b)]=Fi([Xe(0x0,a[_0x17863a(0x45c)](z[_0x17863a(0x3e6)])),Xe(0x1,a[_0x17863a(0x45c)](a[_0x17863a(0x29c)]))],exports[_0x17863a(0x37b)]);var Le=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function fe(_0x334163){var _0x271391=_0x17863a;return _0x334163&&_0x334163[_0x271391(0x1ac)]&&Object['prototype'][_0x271391(0x456)]['call'](_0x334163,_0x271391(0x4bb))?_0x334163[_0x271391(0x4bb)]:_0x334163;}var Se={'exports':{}};function Vi(_0xa0f31b){var _0x1ecd7c=_0x17863a;throw new Error(_0x1ecd7c(0x206)+_0xa0f31b+_0x1ecd7c(0x2c9));}var pe={'exports':{}},Gi=pe[_0x17863a(0x45f)],Ze;function ee(){var _0x589358=_0x17863a;return Ze||(Ze=0x1,function(_0x2fae16,_0x30f1cd){(function(_0x4d9028,_0x13fe9d){var _0x5617f7=_0x491b;_0x2fae16[_0x5617f7(0x45f)]=_0x13fe9d();}(Gi,function(){var _0x51b8c2=_0x51b8c2||function(_0x18e0a3,_0x59702a){var _0x4f1847=_0x491b,_0x275352;if(typeof window<'u'&&window[_0x4f1847(0x367)]&&(_0x275352=window[_0x4f1847(0x367)]),typeof self<'u'&&self[_0x4f1847(0x367)]&&(_0x275352=self[_0x4f1847(0x367)]),typeof globalThis<'u'&&globalThis[_0x4f1847(0x367)]&&(_0x275352=globalThis['crypto']),!_0x275352&&typeof window<'u'&&window[_0x4f1847(0x450)]&&(_0x275352=window[_0x4f1847(0x450)]),!_0x275352&&typeof Le<'u'&&Le[_0x4f1847(0x367)]&&(_0x275352=Le[_0x4f1847(0x367)]),!_0x275352&&typeof Vi==_0x4f1847(0x4d6))try{_0x275352=require(_0x4f1847(0x367));}catch{}var _0x4c0faf=function(){var _0x458d8e=_0x4f1847;if(_0x275352){if(typeof _0x275352[_0x458d8e(0x356)]=='function')try{return _0x275352['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x275352[_0x458d8e(0x4f0)]==_0x458d8e(0x4d6))try{return _0x275352['randomBytes'](0x4)[_0x458d8e(0x231)]();}catch{}}throw new Error(_0x458d8e(0x2f1));},_0x5c1a2e=Object[_0x4f1847(0x2d2)]||(function(){function _0x590747(){}return function(_0x4379c8){var _0x5b5cfe=_0x491b,_0x2340d8;return _0x590747[_0x5b5cfe(0x4a1)]=_0x4379c8,_0x2340d8=new _0x590747(),_0x590747[_0x5b5cfe(0x4a1)]=null,_0x2340d8;};}()),_0x4787ee={},_0x3672b1=_0x4787ee[_0x4f1847(0x303)]={},_0x27ada0=_0x3672b1['Base']=(function(){return{'extend':function(_0x320711){var _0x5868ee=_0x491b,_0x4cabd2=_0x5c1a2e(this);return _0x320711&&_0x4cabd2[_0x5868ee(0x41f)](_0x320711),(!_0x4cabd2[_0x5868ee(0x456)](_0x5868ee(0x257))||this['init']===_0x4cabd2[_0x5868ee(0x257)])&&(_0x4cabd2[_0x5868ee(0x257)]=function(){var _0x544ac4=_0x5868ee;_0x4cabd2[_0x544ac4(0x294)][_0x544ac4(0x257)][_0x544ac4(0x3ce)](this,arguments);}),_0x4cabd2['init'][_0x5868ee(0x4a1)]=_0x4cabd2,_0x4cabd2[_0x5868ee(0x294)]=this,_0x4cabd2;},'create':function(){var _0xdc0338=_0x491b,_0x61dd8f=this['extend']();return _0x61dd8f[_0xdc0338(0x257)][_0xdc0338(0x3ce)](_0x61dd8f,arguments),_0x61dd8f;},'init':function(){},'mixIn':function(_0x503284){var _0x11c9b5=_0x491b;for(var _0x257d60 in _0x503284)_0x503284[_0x11c9b5(0x456)](_0x257d60)&&(this[_0x257d60]=_0x503284[_0x257d60]);_0x503284['hasOwnProperty'](_0x11c9b5(0x1f5))&&(this['toString']=_0x503284['toString']);},'clone':function(){var _0x3930f2=_0x491b;return this['init']['prototype'][_0x3930f2(0x1a5)](this);}};}()),_0x3fe735=_0x3672b1[_0x4f1847(0x4f4)]=_0x27ada0['extend']({'init':function(_0x31e3b7,_0x350e3e){var _0x39df13=_0x4f1847;_0x31e3b7=this[_0x39df13(0x47b)]=_0x31e3b7||[],_0x350e3e!=_0x59702a?this[_0x39df13(0x3e4)]=_0x350e3e:this[_0x39df13(0x3e4)]=_0x31e3b7[_0x39df13(0x291)]*0x4;},'toString':function(_0x1f28e2){var _0x4630cf=_0x4f1847;return(_0x1f28e2||_0x534b30)[_0x4630cf(0x390)](this);},'concat':function(_0x24783a){var _0x32346c=_0x4f1847,_0x58df0c=this['words'],_0x4fa2f5=_0x24783a['words'],_0x163da6=this[_0x32346c(0x3e4)],_0x3075ff=_0x24783a[_0x32346c(0x3e4)];if(this[_0x32346c(0x265)](),_0x163da6%0x4)for(var _0x4db6e4=0x0;_0x4db6e4<_0x3075ff;_0x4db6e4++){var _0x382770=_0x4fa2f5[_0x4db6e4>>>0x2]>>>0x18-_0x4db6e4%0x4*0x8&0xff;_0x58df0c[_0x163da6+_0x4db6e4>>>0x2]|=_0x382770<<0x18-(_0x163da6+_0x4db6e4)%0x4*0x8;}else{for(var _0x4679ac=0x0;_0x4679ac<_0x3075ff;_0x4679ac+=0x4)_0x58df0c[_0x163da6+_0x4679ac>>>0x2]=_0x4fa2f5[_0x4679ac>>>0x2];}return this[_0x32346c(0x3e4)]+=_0x3075ff,this;},'clamp':function(){var _0x3079a2=_0x4f1847,_0x4cc575=this[_0x3079a2(0x47b)],_0x57ed42=this[_0x3079a2(0x3e4)];_0x4cc575[_0x57ed42>>>0x2]&=0xffffffff<<0x20-_0x57ed42%0x4*0x8,_0x4cc575['length']=_0x18e0a3[_0x3079a2(0x296)](_0x57ed42/0x4);},'clone':function(){var _0x217a05=_0x4f1847,_0x500ad9=_0x27ada0['clone'][_0x217a05(0x243)](this);return _0x500ad9[_0x217a05(0x47b)]=this[_0x217a05(0x47b)][_0x217a05(0x4ab)](0x0),_0x500ad9;},'random':function(_0x1dde77){var _0x5a4e08=_0x4f1847;for(var _0x58af85=[],_0x57d294=0x0;_0x57d294<_0x1dde77;_0x57d294+=0x4)_0x58af85[_0x5a4e08(0x327)](_0x4c0faf());return new _0x3fe735[(_0x5a4e08(0x257))](_0x58af85,_0x1dde77);}}),_0x1fc0ae=_0x4787ee[_0x4f1847(0x2e6)]={},_0x534b30=_0x1fc0ae[_0x4f1847(0x240)]={'stringify':function(_0x4074dd){var _0x18ce57=_0x4f1847;for(var _0x54bad5=_0x4074dd[_0x18ce57(0x47b)],_0x257835=_0x4074dd[_0x18ce57(0x3e4)],_0x4ea990=[],_0x1a497d=0x0;_0x1a497d<_0x257835;_0x1a497d++){var _0x1250a0=_0x54bad5[_0x1a497d>>>0x2]>>>0x18-_0x1a497d%0x4*0x8&0xff;_0x4ea990[_0x18ce57(0x327)]((_0x1250a0>>>0x4)['toString'](0x10)),_0x4ea990[_0x18ce57(0x327)]((_0x1250a0&0xf)[_0x18ce57(0x1f5)](0x10));}return _0x4ea990['join']('');},'parse':function(_0x206f80){var _0x232b35=_0x4f1847;for(var _0x483687=_0x206f80[_0x232b35(0x291)],_0x380b5a=[],_0x169501=0x0;_0x169501<_0x483687;_0x169501+=0x2)_0x380b5a[_0x169501>>>0x3]|=parseInt(_0x206f80['substr'](_0x169501,0x2),0x10)<<0x18-_0x169501%0x8*0x4;return new _0x3fe735[(_0x232b35(0x257))](_0x380b5a,_0x483687/0x2);}},_0x6c2eb4=_0x1fc0ae[_0x4f1847(0x3f4)]={'stringify':function(_0x29107a){var _0x3bcdb1=_0x4f1847;for(var _0x1cd730=_0x29107a[_0x3bcdb1(0x47b)],_0x124c06=_0x29107a[_0x3bcdb1(0x3e4)],_0x6aac8c=[],_0x11e2c2=0x0;_0x11e2c2<_0x124c06;_0x11e2c2++){var _0x23b364=_0x1cd730[_0x11e2c2>>>0x2]>>>0x18-_0x11e2c2%0x4*0x8&0xff;_0x6aac8c[_0x3bcdb1(0x327)](String[_0x3bcdb1(0x445)](_0x23b364));}return _0x6aac8c[_0x3bcdb1(0x266)]('');},'parse':function(_0x240978){var _0x2820bf=_0x4f1847;for(var _0x4ffa51=_0x240978[_0x2820bf(0x291)],_0x3e6a43=[],_0x483ecc=0x0;_0x483ecc<_0x4ffa51;_0x483ecc++)_0x3e6a43[_0x483ecc>>>0x2]|=(_0x240978[_0x2820bf(0x3de)](_0x483ecc)&0xff)<<0x18-_0x483ecc%0x4*0x8;return new _0x3fe735[(_0x2820bf(0x257))](_0x3e6a43,_0x4ffa51);}},_0x5b2394=_0x1fc0ae['Utf8']={'stringify':function(_0x4eedf2){var _0x2f683a=_0x4f1847;try{return decodeURIComponent(escape(_0x6c2eb4[_0x2f683a(0x390)](_0x4eedf2)));}catch{throw new Error(_0x2f683a(0x1bb));}},'parse':function(_0x24edcc){var _0x52495b=_0x4f1847;return _0x6c2eb4[_0x52495b(0x4ee)](unescape(encodeURIComponent(_0x24edcc)));}},_0x12856a=_0x3672b1['BufferedBlockAlgorithm']=_0x27ada0[_0x4f1847(0x1a5)]({'reset':function(){var _0x58391b=_0x4f1847;this[_0x58391b(0x4bd)]=new _0x3fe735['init'](),this[_0x58391b(0x2e5)]=0x0;},'_append':function(_0x492e45){var _0xb49ebe=_0x4f1847;typeof _0x492e45==_0xb49ebe(0x44c)&&(_0x492e45=_0x5b2394[_0xb49ebe(0x4ee)](_0x492e45)),this[_0xb49ebe(0x4bd)][_0xb49ebe(0x1e8)](_0x492e45),this[_0xb49ebe(0x2e5)]+=_0x492e45[_0xb49ebe(0x3e4)];},'_process':function(_0x4b72f9){var _0x1515fe=_0x4f1847,_0x26f1cb,_0x476f4d=this['_data'],_0x1591e9=_0x476f4d['words'],_0x1c4093=_0x476f4d[_0x1515fe(0x3e4)],_0x1a19f5=this[_0x1515fe(0x35f)],_0x43017f=_0x1a19f5*0x4,_0x544518=_0x1c4093/_0x43017f;_0x4b72f9?_0x544518=_0x18e0a3[_0x1515fe(0x296)](_0x544518):_0x544518=_0x18e0a3[_0x1515fe(0x399)]((_0x544518|0x0)-this['_minBufferSize'],0x0);var _0x9d9e97=_0x544518*_0x1a19f5,_0x5c0f50=_0x18e0a3[_0x1515fe(0x369)](_0x9d9e97*0x4,_0x1c4093);if(_0x9d9e97){for(var _0x1d7b79=0x0;_0x1d7b79<_0x9d9e97;_0x1d7b79+=_0x1a19f5)this[_0x1515fe(0x45d)](_0x1591e9,_0x1d7b79);_0x26f1cb=_0x1591e9[_0x1515fe(0x4ac)](0x0,_0x9d9e97),_0x476f4d[_0x1515fe(0x3e4)]-=_0x5c0f50;}return new _0x3fe735[(_0x1515fe(0x257))](_0x26f1cb,_0x5c0f50);},'clone':function(){var _0x178511=_0x4f1847,_0x4c9591=_0x27ada0[_0x178511(0x1cb)][_0x178511(0x243)](this);return _0x4c9591[_0x178511(0x4bd)]=this[_0x178511(0x4bd)][_0x178511(0x1cb)](),_0x4c9591;},'_minBufferSize':0x0});_0x3672b1[_0x4f1847(0x351)]=_0x12856a['extend']({'cfg':_0x27ada0[_0x4f1847(0x1a5)](),'init':function(_0x2a2806){var _0xcc110d=_0x4f1847;this['cfg']=this[_0xcc110d(0x26c)][_0xcc110d(0x1a5)](_0x2a2806),this[_0xcc110d(0x360)]();},'reset':function(){var _0x12098b=_0x4f1847;_0x12856a[_0x12098b(0x360)][_0x12098b(0x243)](this),this[_0x12098b(0x33c)]();},'update':function(_0x3b868c){return this['_append'](_0x3b868c),this['_process'](),this;},'finalize':function(_0x4f43b6){var _0x30af8c=_0x4f1847;_0x4f43b6&&this[_0x30af8c(0x38d)](_0x4f43b6);var _0x4b7565=this[_0x30af8c(0x469)]();return _0x4b7565;},'blockSize':0x10,'_createHelper':function(_0x3165ee){return function(_0x4f31b9,_0x5de027){var _0x4ebcca=_0x491b;return new _0x3165ee['init'](_0x5de027)[_0x4ebcca(0x273)](_0x4f31b9);};},'_createHmacHelper':function(_0x21d77d){return function(_0x1206ea,_0x3797f5){var _0x111a42=_0x491b;return new _0x8a47e5[(_0x111a42(0x3a0))][(_0x111a42(0x257))](_0x21d77d,_0x3797f5)[_0x111a42(0x273)](_0x1206ea);};}});var _0x8a47e5=_0x4787ee[_0x4f1847(0x486)]={};return _0x4787ee;}(Math);return _0x51b8c2;}));}(pe)),pe[_0x589358(0x45f)];}var ge={'exports':{}},Ki=ge[_0x17863a(0x45f)],Qe;function Dt(){var _0x5a476a=_0x17863a;return Qe||(Qe=0x1,function(_0x59c697,_0x5ba4fd){(function(_0x218fef,_0x593640){var _0x209754=_0x491b;_0x59c697[_0x209754(0x45f)]=_0x593640(ee());}(Ki,function(_0x1ec932){var _0x44f98b=_0x491b;return(function(){var _0x1f8b5e=_0x491b,_0xaeae6d=_0x1ec932,_0x57a3c9=_0xaeae6d['lib'],_0x267c77=_0x57a3c9[_0x1f8b5e(0x4f4)],_0x3530a8=_0xaeae6d[_0x1f8b5e(0x2e6)];_0x3530a8['Base64']={'stringify':function(_0x4473fa){var _0x920a0e=_0x1f8b5e,_0x1436f7=_0x4473fa['words'],_0x5f3cfe=_0x4473fa[_0x920a0e(0x3e4)],_0x50e3e3=this[_0x920a0e(0x1e6)];_0x4473fa[_0x920a0e(0x265)]();for(var _0x115775=[],_0x331839=0x0;_0x331839<_0x5f3cfe;_0x331839+=0x3)for(var _0x197191=_0x1436f7[_0x331839>>>0x2]>>>0x18-_0x331839%0x4*0x8&0xff,_0x4290f2=_0x1436f7[_0x331839+0x1>>>0x2]>>>0x18-(_0x331839+0x1)%0x4*0x8&0xff,_0x3f5c37=_0x1436f7[_0x331839+0x2>>>0x2]>>>0x18-(_0x331839+0x2)%0x4*0x8&0xff,_0x1c698e=_0x197191<<0x10|_0x4290f2<<0x8|_0x3f5c37,_0x165029=0x0;_0x165029<0x4&&_0x331839+_0x165029*0.75<_0x5f3cfe;_0x165029++)_0x115775[_0x920a0e(0x327)](_0x50e3e3[_0x920a0e(0x4a2)](_0x1c698e>>>0x6*(0x3-_0x165029)&0x3f));var _0x2c6870=_0x50e3e3[_0x920a0e(0x4a2)](0x40);if(_0x2c6870){for(;_0x115775[_0x920a0e(0x291)]%0x4;)_0x115775[_0x920a0e(0x327)](_0x2c6870);}return _0x115775['join']('');},'parse':function(_0x151b9c){var _0x31cc78=_0x1f8b5e,_0x558d98=_0x151b9c[_0x31cc78(0x291)],_0x205bb6=this[_0x31cc78(0x1e6)],_0x2dff3d=this[_0x31cc78(0x2f9)];if(!_0x2dff3d){_0x2dff3d=this[_0x31cc78(0x2f9)]=[];for(var _0x306b77=0x0;_0x306b77<_0x205bb6[_0x31cc78(0x291)];_0x306b77++)_0x2dff3d[_0x205bb6[_0x31cc78(0x3de)](_0x306b77)]=_0x306b77;}var _0x226a43=_0x205bb6[_0x31cc78(0x4a2)](0x40);if(_0x226a43){var _0x28c4fe=_0x151b9c['indexOf'](_0x226a43);_0x28c4fe!==-0x1&&(_0x558d98=_0x28c4fe);}return _0x229f0e(_0x151b9c,_0x558d98,_0x2dff3d);},'_map':_0x1f8b5e(0x48b)};function _0x229f0e(_0x2c38ba,_0x457f1d,_0x317ee3){var _0x2c7087=_0x1f8b5e;for(var _0xa10dc4=[],_0x56ebc6=0x0,_0x14d1c8=0x0;_0x14d1c8<_0x457f1d;_0x14d1c8++)if(_0x14d1c8%0x4){var _0x4159a0=_0x317ee3[_0x2c38ba[_0x2c7087(0x3de)](_0x14d1c8-0x1)]<<_0x14d1c8%0x4*0x2,_0x47518f=_0x317ee3[_0x2c38ba[_0x2c7087(0x3de)](_0x14d1c8)]>>>0x6-_0x14d1c8%0x4*0x2,_0x2ca9fd=_0x4159a0|_0x47518f;_0xa10dc4[_0x56ebc6>>>0x2]|=_0x2ca9fd<<0x18-_0x56ebc6%0x4*0x8,_0x56ebc6++;}return _0x267c77[_0x2c7087(0x2d2)](_0xa10dc4,_0x56ebc6);}}()),_0x1ec932[_0x44f98b(0x2e6)][_0x44f98b(0x416)];}));}(ge)),ge[_0x5a476a(0x45f)];}var me={'exports':{}},Yi=me[_0x17863a(0x45f)],et;function qi(){var _0xf28892=_0x17863a;return et||(et=0x1,function(_0x15614f,_0x2afc34){(function(_0x1e51bc,_0x38eafa){_0x15614f['exports']=_0x38eafa(ee());}(Yi,function(_0x7f261f){var _0x26c852=_0x491b;return function(_0x4b8979){var _0x1ff90d=_0x491b,_0x363e5c=_0x7f261f,_0x44f907=_0x363e5c[_0x1ff90d(0x303)],_0xa13882=_0x44f907['WordArray'],_0x403688=_0x44f907[_0x1ff90d(0x351)],_0x15aeb6=_0x363e5c[_0x1ff90d(0x486)],_0x5338bc=[];(function(){var _0x432bd7=_0x1ff90d;for(var _0x450065=0x0;_0x450065<0x40;_0x450065++)_0x5338bc[_0x450065]=_0x4b8979[_0x432bd7(0x25b)](_0x4b8979['sin'](_0x450065+0x1))*0x100000000|0x0;}());var _0x4b2e6c=_0x15aeb6[_0x1ff90d(0x2fc)]=_0x403688['extend']({'_doReset':function(){var _0x257adb=_0x1ff90d;this[_0x257adb(0x496)]=new _0xa13882['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x366269,_0x23c299){var _0x1ad1c7=_0x1ff90d;for(var _0x54e9fa=0x0;_0x54e9fa<0x10;_0x54e9fa++){var _0x11ff00=_0x23c299+_0x54e9fa,_0x32b1ac=_0x366269[_0x11ff00];_0x366269[_0x11ff00]=(_0x32b1ac<<0x8|_0x32b1ac>>>0x18)&0xff00ff|(_0x32b1ac<<0x18|_0x32b1ac>>>0x8)&0xff00ff00;}var _0x577cd3=this['_hash'][_0x1ad1c7(0x47b)],_0x4dd030=_0x366269[_0x23c299+0x0],_0x389916=_0x366269[_0x23c299+0x1],_0x470d9d=_0x366269[_0x23c299+0x2],_0xbfc8dc=_0x366269[_0x23c299+0x3],_0x10a465=_0x366269[_0x23c299+0x4],_0x4527dc=_0x366269[_0x23c299+0x5],_0x344009=_0x366269[_0x23c299+0x6],_0x290792=_0x366269[_0x23c299+0x7],_0x253824=_0x366269[_0x23c299+0x8],_0x284bbe=_0x366269[_0x23c299+0x9],_0xf50eb9=_0x366269[_0x23c299+0xa],_0x1a2b70=_0x366269[_0x23c299+0xb],_0x21e56d=_0x366269[_0x23c299+0xc],_0x466064=_0x366269[_0x23c299+0xd],_0x4f19cf=_0x366269[_0x23c299+0xe],_0x4276cf=_0x366269[_0x23c299+0xf],_0xccfa4=_0x577cd3[0x0],_0x42692e=_0x577cd3[0x1],_0x22aa31=_0x577cd3[0x2],_0x4f13df=_0x577cd3[0x3];_0xccfa4=_0x102bb3(_0xccfa4,_0x42692e,_0x22aa31,_0x4f13df,_0x4dd030,0x7,_0x5338bc[0x0]),_0x4f13df=_0x102bb3(_0x4f13df,_0xccfa4,_0x42692e,_0x22aa31,_0x389916,0xc,_0x5338bc[0x1]),_0x22aa31=_0x102bb3(_0x22aa31,_0x4f13df,_0xccfa4,_0x42692e,_0x470d9d,0x11,_0x5338bc[0x2]),_0x42692e=_0x102bb3(_0x42692e,_0x22aa31,_0x4f13df,_0xccfa4,_0xbfc8dc,0x16,_0x5338bc[0x3]),_0xccfa4=_0x102bb3(_0xccfa4,_0x42692e,_0x22aa31,_0x4f13df,_0x10a465,0x7,_0x5338bc[0x4]),_0x4f13df=_0x102bb3(_0x4f13df,_0xccfa4,_0x42692e,_0x22aa31,_0x4527dc,0xc,_0x5338bc[0x5]),_0x22aa31=_0x102bb3(_0x22aa31,_0x4f13df,_0xccfa4,_0x42692e,_0x344009,0x11,_0x5338bc[0x6]),_0x42692e=_0x102bb3(_0x42692e,_0x22aa31,_0x4f13df,_0xccfa4,_0x290792,0x16,_0x5338bc[0x7]),_0xccfa4=_0x102bb3(_0xccfa4,_0x42692e,_0x22aa31,_0x4f13df,_0x253824,0x7,_0x5338bc[0x8]),_0x4f13df=_0x102bb3(_0x4f13df,_0xccfa4,_0x42692e,_0x22aa31,_0x284bbe,0xc,_0x5338bc[0x9]),_0x22aa31=_0x102bb3(_0x22aa31,_0x4f13df,_0xccfa4,_0x42692e,_0xf50eb9,0x11,_0x5338bc[0xa]),_0x42692e=_0x102bb3(_0x42692e,_0x22aa31,_0x4f13df,_0xccfa4,_0x1a2b70,0x16,_0x5338bc[0xb]),_0xccfa4=_0x102bb3(_0xccfa4,_0x42692e,_0x22aa31,_0x4f13df,_0x21e56d,0x7,_0x5338bc[0xc]),_0x4f13df=_0x102bb3(_0x4f13df,_0xccfa4,_0x42692e,_0x22aa31,_0x466064,0xc,_0x5338bc[0xd]),_0x22aa31=_0x102bb3(_0x22aa31,_0x4f13df,_0xccfa4,_0x42692e,_0x4f19cf,0x11,_0x5338bc[0xe]),_0x42692e=_0x102bb3(_0x42692e,_0x22aa31,_0x4f13df,_0xccfa4,_0x4276cf,0x16,_0x5338bc[0xf]),_0xccfa4=_0x565729(_0xccfa4,_0x42692e,_0x22aa31,_0x4f13df,_0x389916,0x5,_0x5338bc[0x10]),_0x4f13df=_0x565729(_0x4f13df,_0xccfa4,_0x42692e,_0x22aa31,_0x344009,0x9,_0x5338bc[0x11]),_0x22aa31=_0x565729(_0x22aa31,_0x4f13df,_0xccfa4,_0x42692e,_0x1a2b70,0xe,_0x5338bc[0x12]),_0x42692e=_0x565729(_0x42692e,_0x22aa31,_0x4f13df,_0xccfa4,_0x4dd030,0x14,_0x5338bc[0x13]),_0xccfa4=_0x565729(_0xccfa4,_0x42692e,_0x22aa31,_0x4f13df,_0x4527dc,0x5,_0x5338bc[0x14]),_0x4f13df=_0x565729(_0x4f13df,_0xccfa4,_0x42692e,_0x22aa31,_0xf50eb9,0x9,_0x5338bc[0x15]),_0x22aa31=_0x565729(_0x22aa31,_0x4f13df,_0xccfa4,_0x42692e,_0x4276cf,0xe,_0x5338bc[0x16]),_0x42692e=_0x565729(_0x42692e,_0x22aa31,_0x4f13df,_0xccfa4,_0x10a465,0x14,_0x5338bc[0x17]),_0xccfa4=_0x565729(_0xccfa4,_0x42692e,_0x22aa31,_0x4f13df,_0x284bbe,0x5,_0x5338bc[0x18]),_0x4f13df=_0x565729(_0x4f13df,_0xccfa4,_0x42692e,_0x22aa31,_0x4f19cf,0x9,_0x5338bc[0x19]),_0x22aa31=_0x565729(_0x22aa31,_0x4f13df,_0xccfa4,_0x42692e,_0xbfc8dc,0xe,_0x5338bc[0x1a]),_0x42692e=_0x565729(_0x42692e,_0x22aa31,_0x4f13df,_0xccfa4,_0x253824,0x14,_0x5338bc[0x1b]),_0xccfa4=_0x565729(_0xccfa4,_0x42692e,_0x22aa31,_0x4f13df,_0x466064,0x5,_0x5338bc[0x1c]),_0x4f13df=_0x565729(_0x4f13df,_0xccfa4,_0x42692e,_0x22aa31,_0x470d9d,0x9,_0x5338bc[0x1d]),_0x22aa31=_0x565729(_0x22aa31,_0x4f13df,_0xccfa4,_0x42692e,_0x290792,0xe,_0x5338bc[0x1e]),_0x42692e=_0x565729(_0x42692e,_0x22aa31,_0x4f13df,_0xccfa4,_0x21e56d,0x14,_0x5338bc[0x1f]),_0xccfa4=_0x3d6d81(_0xccfa4,_0x42692e,_0x22aa31,_0x4f13df,_0x4527dc,0x4,_0x5338bc[0x20]),_0x4f13df=_0x3d6d81(_0x4f13df,_0xccfa4,_0x42692e,_0x22aa31,_0x253824,0xb,_0x5338bc[0x21]),_0x22aa31=_0x3d6d81(_0x22aa31,_0x4f13df,_0xccfa4,_0x42692e,_0x1a2b70,0x10,_0x5338bc[0x22]),_0x42692e=_0x3d6d81(_0x42692e,_0x22aa31,_0x4f13df,_0xccfa4,_0x4f19cf,0x17,_0x5338bc[0x23]),_0xccfa4=_0x3d6d81(_0xccfa4,_0x42692e,_0x22aa31,_0x4f13df,_0x389916,0x4,_0x5338bc[0x24]),_0x4f13df=_0x3d6d81(_0x4f13df,_0xccfa4,_0x42692e,_0x22aa31,_0x10a465,0xb,_0x5338bc[0x25]),_0x22aa31=_0x3d6d81(_0x22aa31,_0x4f13df,_0xccfa4,_0x42692e,_0x290792,0x10,_0x5338bc[0x26]),_0x42692e=_0x3d6d81(_0x42692e,_0x22aa31,_0x4f13df,_0xccfa4,_0xf50eb9,0x17,_0x5338bc[0x27]),_0xccfa4=_0x3d6d81(_0xccfa4,_0x42692e,_0x22aa31,_0x4f13df,_0x466064,0x4,_0x5338bc[0x28]),_0x4f13df=_0x3d6d81(_0x4f13df,_0xccfa4,_0x42692e,_0x22aa31,_0x4dd030,0xb,_0x5338bc[0x29]),_0x22aa31=_0x3d6d81(_0x22aa31,_0x4f13df,_0xccfa4,_0x42692e,_0xbfc8dc,0x10,_0x5338bc[0x2a]),_0x42692e=_0x3d6d81(_0x42692e,_0x22aa31,_0x4f13df,_0xccfa4,_0x344009,0x17,_0x5338bc[0x2b]),_0xccfa4=_0x3d6d81(_0xccfa4,_0x42692e,_0x22aa31,_0x4f13df,_0x284bbe,0x4,_0x5338bc[0x2c]),_0x4f13df=_0x3d6d81(_0x4f13df,_0xccfa4,_0x42692e,_0x22aa31,_0x21e56d,0xb,_0x5338bc[0x2d]),_0x22aa31=_0x3d6d81(_0x22aa31,_0x4f13df,_0xccfa4,_0x42692e,_0x4276cf,0x10,_0x5338bc[0x2e]),_0x42692e=_0x3d6d81(_0x42692e,_0x22aa31,_0x4f13df,_0xccfa4,_0x470d9d,0x17,_0x5338bc[0x2f]),_0xccfa4=_0x28d03d(_0xccfa4,_0x42692e,_0x22aa31,_0x4f13df,_0x4dd030,0x6,_0x5338bc[0x30]),_0x4f13df=_0x28d03d(_0x4f13df,_0xccfa4,_0x42692e,_0x22aa31,_0x290792,0xa,_0x5338bc[0x31]),_0x22aa31=_0x28d03d(_0x22aa31,_0x4f13df,_0xccfa4,_0x42692e,_0x4f19cf,0xf,_0x5338bc[0x32]),_0x42692e=_0x28d03d(_0x42692e,_0x22aa31,_0x4f13df,_0xccfa4,_0x4527dc,0x15,_0x5338bc[0x33]),_0xccfa4=_0x28d03d(_0xccfa4,_0x42692e,_0x22aa31,_0x4f13df,_0x21e56d,0x6,_0x5338bc[0x34]),_0x4f13df=_0x28d03d(_0x4f13df,_0xccfa4,_0x42692e,_0x22aa31,_0xbfc8dc,0xa,_0x5338bc[0x35]),_0x22aa31=_0x28d03d(_0x22aa31,_0x4f13df,_0xccfa4,_0x42692e,_0xf50eb9,0xf,_0x5338bc[0x36]),_0x42692e=_0x28d03d(_0x42692e,_0x22aa31,_0x4f13df,_0xccfa4,_0x389916,0x15,_0x5338bc[0x37]),_0xccfa4=_0x28d03d(_0xccfa4,_0x42692e,_0x22aa31,_0x4f13df,_0x253824,0x6,_0x5338bc[0x38]),_0x4f13df=_0x28d03d(_0x4f13df,_0xccfa4,_0x42692e,_0x22aa31,_0x4276cf,0xa,_0x5338bc[0x39]),_0x22aa31=_0x28d03d(_0x22aa31,_0x4f13df,_0xccfa4,_0x42692e,_0x344009,0xf,_0x5338bc[0x3a]),_0x42692e=_0x28d03d(_0x42692e,_0x22aa31,_0x4f13df,_0xccfa4,_0x466064,0x15,_0x5338bc[0x3b]),_0xccfa4=_0x28d03d(_0xccfa4,_0x42692e,_0x22aa31,_0x4f13df,_0x10a465,0x6,_0x5338bc[0x3c]),_0x4f13df=_0x28d03d(_0x4f13df,_0xccfa4,_0x42692e,_0x22aa31,_0x1a2b70,0xa,_0x5338bc[0x3d]),_0x22aa31=_0x28d03d(_0x22aa31,_0x4f13df,_0xccfa4,_0x42692e,_0x470d9d,0xf,_0x5338bc[0x3e]),_0x42692e=_0x28d03d(_0x42692e,_0x22aa31,_0x4f13df,_0xccfa4,_0x284bbe,0x15,_0x5338bc[0x3f]),_0x577cd3[0x0]=_0x577cd3[0x0]+_0xccfa4|0x0,_0x577cd3[0x1]=_0x577cd3[0x1]+_0x42692e|0x0,_0x577cd3[0x2]=_0x577cd3[0x2]+_0x22aa31|0x0,_0x577cd3[0x3]=_0x577cd3[0x3]+_0x4f13df|0x0;},'_doFinalize':function(){var _0x1b61b9=_0x1ff90d,_0x4a5ec3=this[_0x1b61b9(0x4bd)],_0x1c9295=_0x4a5ec3[_0x1b61b9(0x47b)],_0x32207f=this[_0x1b61b9(0x2e5)]*0x8,_0x152326=_0x4a5ec3[_0x1b61b9(0x3e4)]*0x8;_0x1c9295[_0x152326>>>0x5]|=0x80<<0x18-_0x152326%0x20;var _0x1a5584=_0x4b8979['floor'](_0x32207f/0x100000000),_0x1bf9c8=_0x32207f;_0x1c9295[(_0x152326+0x40>>>0x9<<0x4)+0xf]=(_0x1a5584<<0x8|_0x1a5584>>>0x18)&0xff00ff|(_0x1a5584<<0x18|_0x1a5584>>>0x8)&0xff00ff00,_0x1c9295[(_0x152326+0x40>>>0x9<<0x4)+0xe]=(_0x1bf9c8<<0x8|_0x1bf9c8>>>0x18)&0xff00ff|(_0x1bf9c8<<0x18|_0x1bf9c8>>>0x8)&0xff00ff00,_0x4a5ec3[_0x1b61b9(0x3e4)]=(_0x1c9295[_0x1b61b9(0x291)]+0x1)*0x4,this[_0x1b61b9(0x2e2)]();for(var _0x114843=this[_0x1b61b9(0x496)],_0x372f46=_0x114843[_0x1b61b9(0x47b)],_0x250a92=0x0;_0x250a92<0x4;_0x250a92++){var _0x34e785=_0x372f46[_0x250a92];_0x372f46[_0x250a92]=(_0x34e785<<0x8|_0x34e785>>>0x18)&0xff00ff|(_0x34e785<<0x18|_0x34e785>>>0x8)&0xff00ff00;}return _0x114843;},'clone':function(){var _0x56e1f1=_0x1ff90d,_0x371f54=_0x403688[_0x56e1f1(0x1cb)][_0x56e1f1(0x243)](this);return _0x371f54[_0x56e1f1(0x496)]=this[_0x56e1f1(0x496)][_0x56e1f1(0x1cb)](),_0x371f54;}});function _0x102bb3(_0x23d184,_0x4333b4,_0x2113fb,_0x4b7321,_0x5a76e9,_0x3e903d,_0x4c2080){var _0x38b3ee=_0x23d184+(_0x4333b4&_0x2113fb|~_0x4333b4&_0x4b7321)+_0x5a76e9+_0x4c2080;return(_0x38b3ee<<_0x3e903d|_0x38b3ee>>>0x20-_0x3e903d)+_0x4333b4;}function _0x565729(_0x483931,_0x499c15,_0x3306db,_0x2bf9c6,_0x2038c4,_0x3f9ca0,_0x1c1f22){var _0x5d03f8=_0x483931+(_0x499c15&_0x2bf9c6|_0x3306db&~_0x2bf9c6)+_0x2038c4+_0x1c1f22;return(_0x5d03f8<<_0x3f9ca0|_0x5d03f8>>>0x20-_0x3f9ca0)+_0x499c15;}function _0x3d6d81(_0x2167dd,_0x314c9a,_0x320baf,_0x3eb8c6,_0x154bc9,_0x1a9cac,_0x19ce29){var _0x116742=_0x2167dd+(_0x314c9a^_0x320baf^_0x3eb8c6)+_0x154bc9+_0x19ce29;return(_0x116742<<_0x1a9cac|_0x116742>>>0x20-_0x1a9cac)+_0x314c9a;}function _0x28d03d(_0x3def18,_0x4c480c,_0x3c4cdb,_0x2ae820,_0x58ac20,_0x508b05,_0x201777){var _0x27ce22=_0x3def18+(_0x3c4cdb^(_0x4c480c|~_0x2ae820))+_0x58ac20+_0x201777;return(_0x27ce22<<_0x508b05|_0x27ce22>>>0x20-_0x508b05)+_0x4c480c;}_0x363e5c[_0x1ff90d(0x2fc)]=_0x403688['_createHelper'](_0x4b2e6c),_0x363e5c[_0x1ff90d(0x193)]=_0x403688[_0x1ff90d(0x30a)](_0x4b2e6c);}(Math),_0x7f261f[_0x26c852(0x2fc)];}));}(me)),me[_0xf28892(0x45f)];}var Ie={'exports':{}},Ee={'exports':{}},zi=Ee['exports'],tt;function Ji(){var _0x3f323a=_0x17863a;return tt||(tt=0x1,function(_0x1f39ea,_0x4f84f0){(function(_0x14a9a3,_0x17db8b){var _0x1c9ba7=_0x491b;_0x1f39ea[_0x1c9ba7(0x45f)]=_0x17db8b(ee());}(zi,function(_0x32994c){return(function(){var _0x2d2c00=_0x491b,_0x59ded7=_0x32994c,_0x4de431=_0x59ded7['lib'],_0x22e812=_0x4de431['WordArray'],_0x5642ac=_0x4de431[_0x2d2c00(0x351)],_0x52655b=_0x59ded7[_0x2d2c00(0x486)],_0x433b16=[],_0x508a35=_0x52655b[_0x2d2c00(0x3ee)]=_0x5642ac[_0x2d2c00(0x1a5)]({'_doReset':function(){var _0x75dba7=_0x2d2c00;this[_0x75dba7(0x496)]=new _0x22e812[(_0x75dba7(0x257))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x4d0854,_0x19cf53){var _0x21326d=_0x2d2c00;for(var _0x46684a=this[_0x21326d(0x496)][_0x21326d(0x47b)],_0x4a29aa=_0x46684a[0x0],_0x356a03=_0x46684a[0x1],_0x74fdb9=_0x46684a[0x2],_0xeb1a63=_0x46684a[0x3],_0x548b0e=_0x46684a[0x4],_0x4923f7=0x0;_0x4923f7<0x50;_0x4923f7++){if(_0x4923f7<0x10)_0x433b16[_0x4923f7]=_0x4d0854[_0x19cf53+_0x4923f7]|0x0;else{var _0x1ed79e=_0x433b16[_0x4923f7-0x3]^_0x433b16[_0x4923f7-0x8]^_0x433b16[_0x4923f7-0xe]^_0x433b16[_0x4923f7-0x10];_0x433b16[_0x4923f7]=_0x1ed79e<<0x1|_0x1ed79e>>>0x1f;}var _0x8e16e5=(_0x4a29aa<<0x5|_0x4a29aa>>>0x1b)+_0x548b0e+_0x433b16[_0x4923f7];_0x4923f7<0x14?_0x8e16e5+=(_0x356a03&_0x74fdb9|~_0x356a03&_0xeb1a63)+0x5a827999:_0x4923f7<0x28?_0x8e16e5+=(_0x356a03^_0x74fdb9^_0xeb1a63)+0x6ed9eba1:_0x4923f7<0x3c?_0x8e16e5+=(_0x356a03&_0x74fdb9|_0x356a03&_0xeb1a63|_0x74fdb9&_0xeb1a63)-0x70e44324:_0x8e16e5+=(_0x356a03^_0x74fdb9^_0xeb1a63)-0x359d3e2a,_0x548b0e=_0xeb1a63,_0xeb1a63=_0x74fdb9,_0x74fdb9=_0x356a03<<0x1e|_0x356a03>>>0x2,_0x356a03=_0x4a29aa,_0x4a29aa=_0x8e16e5;}_0x46684a[0x0]=_0x46684a[0x0]+_0x4a29aa|0x0,_0x46684a[0x1]=_0x46684a[0x1]+_0x356a03|0x0,_0x46684a[0x2]=_0x46684a[0x2]+_0x74fdb9|0x0,_0x46684a[0x3]=_0x46684a[0x3]+_0xeb1a63|0x0,_0x46684a[0x4]=_0x46684a[0x4]+_0x548b0e|0x0;},'_doFinalize':function(){var _0x359964=_0x2d2c00,_0x6a6bbc=this[_0x359964(0x4bd)],_0x289882=_0x6a6bbc['words'],_0x12acb0=this[_0x359964(0x2e5)]*0x8,_0x3266d3=_0x6a6bbc[_0x359964(0x3e4)]*0x8;return _0x289882[_0x3266d3>>>0x5]|=0x80<<0x18-_0x3266d3%0x20,_0x289882[(_0x3266d3+0x40>>>0x9<<0x4)+0xe]=Math[_0x359964(0x377)](_0x12acb0/0x100000000),_0x289882[(_0x3266d3+0x40>>>0x9<<0x4)+0xf]=_0x12acb0,_0x6a6bbc['sigBytes']=_0x289882['length']*0x4,this[_0x359964(0x2e2)](),this[_0x359964(0x496)];},'clone':function(){var _0x4b100d=_0x2d2c00,_0xd96c06=_0x5642ac['clone']['call'](this);return _0xd96c06[_0x4b100d(0x496)]=this['_hash'][_0x4b100d(0x1cb)](),_0xd96c06;}});_0x59ded7['SHA1']=_0x5642ac[_0x2d2c00(0x25d)](_0x508a35),_0x59ded7['HmacSHA1']=_0x5642ac[_0x2d2c00(0x30a)](_0x508a35);}()),_0x32994c['SHA1'];}));}(Ee)),Ee[_0x3f323a(0x45f)];}var Ce={'exports':{}},Xi=Ce[_0x17863a(0x45f)],it;function Zi(){var _0x509d79=_0x17863a;return it||(it=0x1,function(_0x380898,_0x21cd42){(function(_0x3d6ae6,_0x15a5ec){var _0x36ea65=_0x491b;_0x380898[_0x36ea65(0x45f)]=_0x15a5ec(ee());}(Xi,function(_0x431f09){(function(){var _0x2cc457=_0x491b,_0x201885=_0x431f09,_0x2059db=_0x201885[_0x2cc457(0x303)],_0x4e2971=_0x2059db[_0x2cc457(0x378)],_0x1c222b=_0x201885['enc'],_0x549300=_0x1c222b[_0x2cc457(0x3bb)],_0x2ab925=_0x201885[_0x2cc457(0x486)];_0x2ab925[_0x2cc457(0x3a0)]=_0x4e2971['extend']({'init':function(_0x37bf5e,_0x17a9a1){var _0x51da02=_0x2cc457;_0x37bf5e=this[_0x51da02(0x2bd)]=new _0x37bf5e['init'](),typeof _0x17a9a1==_0x51da02(0x44c)&&(_0x17a9a1=_0x549300['parse'](_0x17a9a1));var _0x2352cb=_0x37bf5e['blockSize'],_0x3ed44d=_0x2352cb*0x4;_0x17a9a1[_0x51da02(0x3e4)]>_0x3ed44d&&(_0x17a9a1=_0x37bf5e[_0x51da02(0x273)](_0x17a9a1)),_0x17a9a1[_0x51da02(0x265)]();for(var _0x35853f=this[_0x51da02(0x39c)]=_0x17a9a1[_0x51da02(0x1cb)](),_0xf1e8c7=this['_iKey']=_0x17a9a1[_0x51da02(0x1cb)](),_0x2ab2ae=_0x35853f[_0x51da02(0x47b)],_0xe27949=_0xf1e8c7['words'],_0x7ee0b=0x0;_0x7ee0b<_0x2352cb;_0x7ee0b++)_0x2ab2ae[_0x7ee0b]^=0x5c5c5c5c,_0xe27949[_0x7ee0b]^=0x36363636;_0x35853f['sigBytes']=_0xf1e8c7[_0x51da02(0x3e4)]=_0x3ed44d,this['reset']();},'reset':function(){var _0x3594e7=_0x2cc457,_0x4a139a=this[_0x3594e7(0x2bd)];_0x4a139a[_0x3594e7(0x360)](),_0x4a139a['update'](this[_0x3594e7(0x4d1)]);},'update':function(_0x3dd937){var _0xdd7ad0=_0x2cc457;return this[_0xdd7ad0(0x2bd)]['update'](_0x3dd937),this;},'finalize':function(_0x2ea28f){var _0x1b0f25=_0x2cc457,_0x5ac461=this[_0x1b0f25(0x2bd)],_0x44785e=_0x5ac461['finalize'](_0x2ea28f);_0x5ac461[_0x1b0f25(0x360)]();var _0x39c635=_0x5ac461[_0x1b0f25(0x273)](this['_oKey'][_0x1b0f25(0x1cb)]()[_0x1b0f25(0x1e8)](_0x44785e));return _0x39c635;}});}());}));}(Ce)),Ce[_0x509d79(0x45f)];}var Qi=Ie[_0x17863a(0x45f)],nt;function Nt(){var _0x2f1717=_0x17863a;return nt||(nt=0x1,function(_0x392863,_0xed7f76){(function(_0x510500,_0x2fb5e9,_0x4b5b48){_0x392863['exports']=_0x2fb5e9(ee(),Ji(),Zi());}(Qi,function(_0x33dc45){var _0x5aa6ac=_0x491b;return(function(){var _0x91b619=_0x491b,_0x27ad13=_0x33dc45,_0x55c32d=_0x27ad13['lib'],_0x120b9c=_0x55c32d[_0x91b619(0x378)],_0x58852=_0x55c32d[_0x91b619(0x4f4)],_0x122c94=_0x27ad13['algo'],_0x4f2079=_0x122c94['MD5'],_0x340c8e=_0x122c94[_0x91b619(0x435)]=_0x120b9c[_0x91b619(0x1a5)]({'cfg':_0x120b9c[_0x91b619(0x1a5)]({'keySize':0x80/0x20,'hasher':_0x4f2079,'iterations':0x1}),'init':function(_0x316aee){var _0x4e9524=_0x91b619;this[_0x4e9524(0x26c)]=this[_0x4e9524(0x26c)][_0x4e9524(0x1a5)](_0x316aee);},'compute':function(_0x1a8219,_0x201d37){var _0x396556=_0x91b619;for(var _0x33b06e,_0x120d10=this[_0x396556(0x26c)],_0x396776=_0x120d10[_0x396556(0x48c)][_0x396556(0x2d2)](),_0x2fef2e=_0x58852[_0x396556(0x2d2)](),_0x607e53=_0x2fef2e[_0x396556(0x47b)],_0x20b9f1=_0x120d10[_0x396556(0x24b)],_0x4e37e4=_0x120d10[_0x396556(0x3b9)];_0x607e53['length']<_0x20b9f1;){_0x33b06e&&_0x396776['update'](_0x33b06e),_0x33b06e=_0x396776[_0x396556(0x1b1)](_0x1a8219)['finalize'](_0x201d37),_0x396776[_0x396556(0x360)]();for(var _0x904033=0x1;_0x904033<_0x4e37e4;_0x904033++)_0x33b06e=_0x396776['finalize'](_0x33b06e),_0x396776['reset']();_0x2fef2e[_0x396556(0x1e8)](_0x33b06e);}return _0x2fef2e[_0x396556(0x3e4)]=_0x20b9f1*0x4,_0x2fef2e;}});_0x27ad13[_0x91b619(0x435)]=function(_0x39bd35,_0x209ba2,_0x5944a2){var _0x2e02dd=_0x91b619;return _0x340c8e[_0x2e02dd(0x2d2)](_0x5944a2)['compute'](_0x39bd35,_0x209ba2);};}()),_0x33dc45[_0x5aa6ac(0x435)];}));}(Ie)),Ie[_0x2f1717(0x45f)];}var Te={'exports':{}},en=Te['exports'],rt;function wt(){var _0x836b34=_0x17863a;return rt||(rt=0x1,function(_0x27146d,_0x492f97){(function(_0x2735b7,_0x78d960,_0x176fc2){var _0x5f590d=_0x491b;_0x27146d[_0x5f590d(0x45f)]=_0x78d960(ee(),Nt());}(en,function(_0x4c0842){var _0x190042=_0x491b;_0x4c0842[_0x190042(0x303)][_0x190042(0x506)]||function(_0x2b0f52){var _0x28e532=_0x190042,_0x10ad87=_0x4c0842,_0x98102f=_0x10ad87['lib'],_0x15730c=_0x98102f['Base'],_0x5d99c7=_0x98102f[_0x28e532(0x4f4)],_0x5b9b94=_0x98102f[_0x28e532(0x26d)],_0x590d6b=_0x10ad87[_0x28e532(0x2e6)];_0x590d6b[_0x28e532(0x3bb)];var _0x5e5d2d=_0x590d6b[_0x28e532(0x416)],_0x5ecc67=_0x10ad87[_0x28e532(0x486)],_0x2f7696=_0x5ecc67[_0x28e532(0x435)],_0x3fb386=_0x98102f['Cipher']=_0x5b9b94['extend']({'cfg':_0x15730c[_0x28e532(0x1a5)](),'createEncryptor':function(_0x593cb2,_0x537572){var _0x1dcb1b=_0x28e532;return this['create'](this[_0x1dcb1b(0x29b)],_0x593cb2,_0x537572);},'createDecryptor':function(_0x1782dc,_0x5cf78e){var _0x2f5598=_0x28e532;return this[_0x2f5598(0x2d2)](this[_0x2f5598(0x4e5)],_0x1782dc,_0x5cf78e);},'init':function(_0x26f4af,_0x551572,_0x188fd0){var _0x577716=_0x28e532;this[_0x577716(0x26c)]=this[_0x577716(0x26c)]['extend'](_0x188fd0),this[_0x577716(0x424)]=_0x26f4af,this[_0x577716(0x2c6)]=_0x551572,this['reset']();},'reset':function(){var _0x561859=_0x28e532;_0x5b9b94[_0x561859(0x360)][_0x561859(0x243)](this),this[_0x561859(0x33c)]();},'process':function(_0x2dd21c){var _0x56cb7c=_0x28e532;return this[_0x56cb7c(0x38d)](_0x2dd21c),this[_0x56cb7c(0x2e2)]();},'finalize':function(_0x18c8ff){var _0x4e0a22=_0x28e532;_0x18c8ff&&this[_0x4e0a22(0x38d)](_0x18c8ff);var _0x4d6b08=this['_doFinalize']();return _0x4d6b08;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x4e5c1d(_0x58f3ac){var _0xdd7493=_0x491b;return typeof _0x58f3ac==_0xdd7493(0x44c)?_0x4a9dc7:_0x16429e;}return function(_0x487da5){return{'encrypt':function(_0x1951b7,_0x4ec175,_0x5415e4){return _0x4e5c1d(_0x4ec175)['encrypt'](_0x487da5,_0x1951b7,_0x4ec175,_0x5415e4);},'decrypt':function(_0x55ab7c,_0x16330d,_0x2eb1ab){return _0x4e5c1d(_0x16330d)['decrypt'](_0x487da5,_0x55ab7c,_0x16330d,_0x2eb1ab);}};};}())});_0x98102f[_0x28e532(0x2e1)]=_0x3fb386[_0x28e532(0x1a5)]({'_doFinalize':function(){var _0x2fdc1d=this['_process'](!0x0);return _0x2fdc1d;},'blockSize':0x1});var _0x166c24=_0x10ad87[_0x28e532(0x191)]={},_0x26bd79=_0x98102f[_0x28e532(0x4a5)]=_0x15730c[_0x28e532(0x1a5)]({'createEncryptor':function(_0x29560a,_0x576eb0){var _0x9a92c4=_0x28e532;return this['Encryptor'][_0x9a92c4(0x2d2)](_0x29560a,_0x576eb0);},'createDecryptor':function(_0x171563,_0x1aa306){var _0x3f615c=_0x28e532;return this[_0x3f615c(0x20e)][_0x3f615c(0x2d2)](_0x171563,_0x1aa306);},'init':function(_0x12095d,_0x5c6bd8){var _0x5d34a1=_0x28e532;this['_cipher']=_0x12095d,this[_0x5d34a1(0x465)]=_0x5c6bd8;}}),_0x120886=_0x166c24[_0x28e532(0x1a8)]=(function(){var _0x23c395=_0x28e532,_0x388098=_0x26bd79['extend']();_0x388098[_0x23c395(0x20f)]=_0x388098['extend']({'processBlock':function(_0xa4a17a,_0x31dfe8){var _0x231c9c=_0x23c395,_0x1971b5=this[_0x231c9c(0x1dd)],_0x2acad2=_0x1971b5[_0x231c9c(0x35f)];_0x50ae07[_0x231c9c(0x243)](this,_0xa4a17a,_0x31dfe8,_0x2acad2),_0x1971b5[_0x231c9c(0x43f)](_0xa4a17a,_0x31dfe8),this['_prevBlock']=_0xa4a17a['slice'](_0x31dfe8,_0x31dfe8+_0x2acad2);}}),_0x388098[_0x23c395(0x20e)]=_0x388098[_0x23c395(0x1a5)]({'processBlock':function(_0x10fb9a,_0x335302){var _0x177315=_0x23c395,_0x1c0010=this[_0x177315(0x1dd)],_0x46c3cb=_0x1c0010[_0x177315(0x35f)],_0x42cb6c=_0x10fb9a[_0x177315(0x4ab)](_0x335302,_0x335302+_0x46c3cb);_0x1c0010[_0x177315(0x429)](_0x10fb9a,_0x335302),_0x50ae07[_0x177315(0x243)](this,_0x10fb9a,_0x335302,_0x46c3cb),this[_0x177315(0x3fd)]=_0x42cb6c;}});function _0x50ae07(_0x145d1d,_0x3cf26d,_0x3a031f){var _0x37ea7b=_0x23c395,_0x1e2c2c,_0x24341f=this[_0x37ea7b(0x465)];_0x24341f?(_0x1e2c2c=_0x24341f,this[_0x37ea7b(0x465)]=_0x2b0f52):_0x1e2c2c=this[_0x37ea7b(0x3fd)];for(var _0x14188a=0x0;_0x14188a<_0x3a031f;_0x14188a++)_0x145d1d[_0x3cf26d+_0x14188a]^=_0x1e2c2c[_0x14188a];}return _0x388098;}()),_0x160f15=_0x10ad87[_0x28e532(0x2d5)]={},_0x4e718c=_0x160f15[_0x28e532(0x4d9)]={'pad':function(_0x503852,_0x55c96e){var _0x41f3af=_0x28e532;for(var _0x1da6a1=_0x55c96e*0x4,_0x114fa0=_0x1da6a1-_0x503852[_0x41f3af(0x3e4)]%_0x1da6a1,_0x1d0fdd=_0x114fa0<<0x18|_0x114fa0<<0x10|_0x114fa0<<0x8|_0x114fa0,_0x46be32=[],_0x560749=0x0;_0x560749<_0x114fa0;_0x560749+=0x4)_0x46be32[_0x41f3af(0x327)](_0x1d0fdd);var _0x4fcc2b=_0x5d99c7[_0x41f3af(0x2d2)](_0x46be32,_0x114fa0);_0x503852[_0x41f3af(0x1e8)](_0x4fcc2b);},'unpad':function(_0x18b202){var _0x314143=_0x28e532,_0x3b589c=_0x18b202['words'][_0x18b202[_0x314143(0x3e4)]-0x1>>>0x2]&0xff;_0x18b202[_0x314143(0x3e4)]-=_0x3b589c;}};_0x98102f[_0x28e532(0x3ba)]=_0x3fb386[_0x28e532(0x1a5)]({'cfg':_0x3fb386[_0x28e532(0x26c)][_0x28e532(0x1a5)]({'mode':_0x120886,'padding':_0x4e718c}),'reset':function(){var _0x227033=_0x28e532,_0x53944c;_0x3fb386[_0x227033(0x360)][_0x227033(0x243)](this);var _0x287ee5=this[_0x227033(0x26c)],_0x1541a4=_0x287ee5['iv'],_0x34c061=_0x287ee5['mode'];this[_0x227033(0x424)]==this[_0x227033(0x29b)]?_0x53944c=_0x34c061['createEncryptor']:(_0x53944c=_0x34c061[_0x227033(0x27e)],this[_0x227033(0x4d8)]=0x1),this[_0x227033(0x4b3)]&&this[_0x227033(0x4b3)][_0x227033(0x2a0)]==_0x53944c?this[_0x227033(0x4b3)][_0x227033(0x257)](this,_0x1541a4&&_0x1541a4[_0x227033(0x47b)]):(this[_0x227033(0x4b3)]=_0x53944c[_0x227033(0x243)](_0x34c061,this,_0x1541a4&&_0x1541a4[_0x227033(0x47b)]),this['_mode'][_0x227033(0x2a0)]=_0x53944c);},'_doProcessBlock':function(_0x2af246,_0x4b0a9a){var _0x3f72c5=_0x28e532;this[_0x3f72c5(0x4b3)][_0x3f72c5(0x49b)](_0x2af246,_0x4b0a9a);},'_doFinalize':function(){var _0x43ace8=_0x28e532,_0x99bef6,_0x15e6c1=this[_0x43ace8(0x26c)][_0x43ace8(0x3bc)];return this[_0x43ace8(0x424)]==this[_0x43ace8(0x29b)]?(_0x15e6c1[_0x43ace8(0x2d5)](this[_0x43ace8(0x4bd)],this[_0x43ace8(0x35f)]),_0x99bef6=this['_process'](!0x0)):(_0x99bef6=this[_0x43ace8(0x2e2)](!0x0),_0x15e6c1[_0x43ace8(0x34f)](_0x99bef6)),_0x99bef6;},'blockSize':0x80/0x20});var _0x36a884=_0x98102f[_0x28e532(0x413)]=_0x15730c[_0x28e532(0x1a5)]({'init':function(_0x183fe4){var _0x208f69=_0x28e532;this[_0x208f69(0x41f)](_0x183fe4);},'toString':function(_0x23aa92){var _0x69eaa0=_0x28e532;return(_0x23aa92||this[_0x69eaa0(0x352)])[_0x69eaa0(0x390)](this);}}),_0x4c6669=_0x10ad87[_0x28e532(0x28b)]={},_0x11b5bf=_0x4c6669[_0x28e532(0x384)]={'stringify':function(_0x3a1272){var _0x4e9ee8=_0x28e532,_0x55e409,_0x49f187=_0x3a1272[_0x4e9ee8(0x3e0)],_0xe3e141=_0x3a1272[_0x4e9ee8(0x268)];return _0xe3e141?_0x55e409=_0x5d99c7[_0x4e9ee8(0x2d2)]([0x53616c74,0x65645f5f])[_0x4e9ee8(0x1e8)](_0xe3e141)[_0x4e9ee8(0x1e8)](_0x49f187):_0x55e409=_0x49f187,_0x55e409[_0x4e9ee8(0x1f5)](_0x5e5d2d);},'parse':function(_0x5b394d){var _0xb3368f=_0x28e532,_0x142a22,_0x5315c6=_0x5e5d2d[_0xb3368f(0x4ee)](_0x5b394d),_0xd32dc8=_0x5315c6['words'];return _0xd32dc8[0x0]==0x53616c74&&_0xd32dc8[0x1]==0x65645f5f&&(_0x142a22=_0x5d99c7[_0xb3368f(0x2d2)](_0xd32dc8['slice'](0x2,0x4)),_0xd32dc8[_0xb3368f(0x4ac)](0x0,0x4),_0x5315c6['sigBytes']-=0x10),_0x36a884[_0xb3368f(0x2d2)]({'ciphertext':_0x5315c6,'salt':_0x142a22});}},_0x16429e=_0x98102f[_0x28e532(0x4df)]=_0x15730c[_0x28e532(0x1a5)]({'cfg':_0x15730c[_0x28e532(0x1a5)]({'format':_0x11b5bf}),'encrypt':function(_0x55ad10,_0x28899d,_0x3c02db,_0x5dcc51){var _0x583738=_0x28e532;_0x5dcc51=this[_0x583738(0x26c)][_0x583738(0x1a5)](_0x5dcc51);var _0x2ae0da=_0x55ad10['createEncryptor'](_0x3c02db,_0x5dcc51),_0x2a9050=_0x2ae0da[_0x583738(0x273)](_0x28899d),_0x5c6791=_0x2ae0da['cfg'];return _0x36a884[_0x583738(0x2d2)]({'ciphertext':_0x2a9050,'key':_0x3c02db,'iv':_0x5c6791['iv'],'algorithm':_0x55ad10,'mode':_0x5c6791[_0x583738(0x191)],'padding':_0x5c6791['padding'],'blockSize':_0x55ad10['blockSize'],'formatter':_0x5dcc51[_0x583738(0x28b)]});},'decrypt':function(_0x286fea,_0x578d70,_0x5ef62a,_0x191288){var _0xa02071=_0x28e532;_0x191288=this[_0xa02071(0x26c)][_0xa02071(0x1a5)](_0x191288),_0x578d70=this[_0xa02071(0x3d6)](_0x578d70,_0x191288['format']);var _0x255698=_0x286fea[_0xa02071(0x27e)](_0x5ef62a,_0x191288)[_0xa02071(0x273)](_0x578d70[_0xa02071(0x3e0)]);return _0x255698;},'_parse':function(_0x333ae0,_0x3aee10){var _0x51fc08=_0x28e532;return typeof _0x333ae0==_0x51fc08(0x44c)?_0x3aee10[_0x51fc08(0x4ee)](_0x333ae0,this):_0x333ae0;}}),_0x12e60e=_0x10ad87['kdf']={},_0x5ca759=_0x12e60e[_0x28e532(0x384)]={'execute':function(_0x14a061,_0x5a7a27,_0x26d914,_0x487be5,_0x3e78fa){var _0xd1877c=_0x28e532;if(_0x487be5||(_0x487be5=_0x5d99c7[_0xd1877c(0x1cf)](0x40/0x8)),_0x3e78fa)var _0x105792=_0x2f7696['create']({'keySize':_0x5a7a27+_0x26d914,'hasher':_0x3e78fa})[_0xd1877c(0x336)](_0x14a061,_0x487be5);else var _0x105792=_0x2f7696[_0xd1877c(0x2d2)]({'keySize':_0x5a7a27+_0x26d914})['compute'](_0x14a061,_0x487be5);var _0x1d24cb=_0x5d99c7[_0xd1877c(0x2d2)](_0x105792[_0xd1877c(0x47b)][_0xd1877c(0x4ab)](_0x5a7a27),_0x26d914*0x4);return _0x105792[_0xd1877c(0x3e4)]=_0x5a7a27*0x4,_0x36a884[_0xd1877c(0x2d2)]({'key':_0x105792,'iv':_0x1d24cb,'salt':_0x487be5});}},_0x4a9dc7=_0x98102f[_0x28e532(0x4ed)]=_0x16429e[_0x28e532(0x1a5)]({'cfg':_0x16429e[_0x28e532(0x26c)]['extend']({'kdf':_0x5ca759}),'encrypt':function(_0x3e8cca,_0x51e375,_0xf9187c,_0x3c80e4){var _0x115dbb=_0x28e532;_0x3c80e4=this[_0x115dbb(0x26c)][_0x115dbb(0x1a5)](_0x3c80e4);var _0x2e69cb=_0x3c80e4['kdf']['execute'](_0xf9187c,_0x3e8cca[_0x115dbb(0x24b)],_0x3e8cca[_0x115dbb(0x320)],_0x3c80e4[_0x115dbb(0x268)],_0x3c80e4['hasher']);_0x3c80e4['iv']=_0x2e69cb['iv'];var _0x369975=_0x16429e[_0x115dbb(0x2ba)][_0x115dbb(0x243)](this,_0x3e8cca,_0x51e375,_0x2e69cb[_0x115dbb(0x2a5)],_0x3c80e4);return _0x369975[_0x115dbb(0x41f)](_0x2e69cb),_0x369975;},'decrypt':function(_0x11c797,_0x40de75,_0x52b726,_0x498a33){var _0x3078c0=_0x28e532;_0x498a33=this['cfg'][_0x3078c0(0x1a5)](_0x498a33),_0x40de75=this[_0x3078c0(0x3d6)](_0x40de75,_0x498a33['format']);var _0xd23491=_0x498a33[_0x3078c0(0x44a)]['execute'](_0x52b726,_0x11c797[_0x3078c0(0x24b)],_0x11c797[_0x3078c0(0x320)],_0x40de75[_0x3078c0(0x268)],_0x498a33[_0x3078c0(0x48c)]);_0x498a33['iv']=_0xd23491['iv'];var _0x26f970=_0x16429e[_0x3078c0(0x18a)][_0x3078c0(0x243)](this,_0x11c797,_0x40de75,_0xd23491[_0x3078c0(0x2a5)],_0x498a33);return _0x26f970;}});}();}));}(Te)),Te[_0x836b34(0x45f)];}var tn=Se[_0x17863a(0x45f)],st;function nn(){var _0x5fe871=_0x17863a;return st||(st=0x1,function(_0x2d0fd4,_0x305aa8){(function(_0x5b4719,_0xcb16f5,_0x296eac){var _0x404d8f=_0x491b;_0x2d0fd4[_0x404d8f(0x45f)]=_0xcb16f5(ee(),Dt(),qi(),Nt(),wt());}(tn,function(_0x415c06){return(function(){var _0x49d574=_0x491b,_0x11ef46=_0x415c06,_0x38f204=_0x11ef46[_0x49d574(0x303)],_0x195275=_0x38f204[_0x49d574(0x3ba)],_0x47a300=_0x11ef46['algo'],_0x46e03c=[],_0x2531be=[],_0x2798d3=[],_0x4793f5=[],_0x13485a=[],_0x2162fe=[],_0x196aa8=[],_0x433690=[],_0x43be34=[],_0x2ec160=[];(function(){for(var _0x122522=[],_0x3cd7d9=0x0;_0x3cd7d9<0x100;_0x3cd7d9++)_0x3cd7d9<0x80?_0x122522[_0x3cd7d9]=_0x3cd7d9<<0x1:_0x122522[_0x3cd7d9]=_0x3cd7d9<<0x1^0x11b;for(var _0x23d1da=0x0,_0x48ddf0=0x0,_0x3cd7d9=0x0;_0x3cd7d9<0x100;_0x3cd7d9++){var _0x4325b1=_0x48ddf0^_0x48ddf0<<0x1^_0x48ddf0<<0x2^_0x48ddf0<<0x3^_0x48ddf0<<0x4;_0x4325b1=_0x4325b1>>>0x8^_0x4325b1&0xff^0x63,_0x46e03c[_0x23d1da]=_0x4325b1,_0x2531be[_0x4325b1]=_0x23d1da;var _0x1accce=_0x122522[_0x23d1da],_0x11223a=_0x122522[_0x1accce],_0x1b1d8b=_0x122522[_0x11223a],_0x1f95fe=_0x122522[_0x4325b1]*0x101^_0x4325b1*0x1010100;_0x2798d3[_0x23d1da]=_0x1f95fe<<0x18|_0x1f95fe>>>0x8,_0x4793f5[_0x23d1da]=_0x1f95fe<<0x10|_0x1f95fe>>>0x10,_0x13485a[_0x23d1da]=_0x1f95fe<<0x8|_0x1f95fe>>>0x18,_0x2162fe[_0x23d1da]=_0x1f95fe;var _0x1f95fe=_0x1b1d8b*0x1010101^_0x11223a*0x10001^_0x1accce*0x101^_0x23d1da*0x1010100;_0x196aa8[_0x4325b1]=_0x1f95fe<<0x18|_0x1f95fe>>>0x8,_0x433690[_0x4325b1]=_0x1f95fe<<0x10|_0x1f95fe>>>0x10,_0x43be34[_0x4325b1]=_0x1f95fe<<0x8|_0x1f95fe>>>0x18,_0x2ec160[_0x4325b1]=_0x1f95fe,_0x23d1da?(_0x23d1da=_0x1accce^_0x122522[_0x122522[_0x122522[_0x1b1d8b^_0x1accce]]],_0x48ddf0^=_0x122522[_0x122522[_0x48ddf0]]):_0x23d1da=_0x48ddf0=0x1;}}());var _0x1c7c8f=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x39b8d5=_0x47a300[_0x49d574(0x405)]=_0x195275[_0x49d574(0x1a5)]({'_doReset':function(){var _0x4c6124=_0x49d574,_0x31ff06;if(!(this[_0x4c6124(0x1e5)]&&this[_0x4c6124(0x4d0)]===this[_0x4c6124(0x2c6)])){for(var _0x32cebd=this[_0x4c6124(0x4d0)]=this['_key'],_0x507791=_0x32cebd[_0x4c6124(0x47b)],_0x2bb98b=_0x32cebd['sigBytes']/0x4,_0x4d21dc=this['_nRounds']=_0x2bb98b+0x6,_0x1d74b9=(_0x4d21dc+0x1)*0x4,_0x488435=this[_0x4c6124(0x196)]=[],_0xab4b1a=0x0;_0xab4b1a<_0x1d74b9;_0xab4b1a++)_0xab4b1a<_0x2bb98b?_0x488435[_0xab4b1a]=_0x507791[_0xab4b1a]:(_0x31ff06=_0x488435[_0xab4b1a-0x1],_0xab4b1a%_0x2bb98b?_0x2bb98b>0x6&&_0xab4b1a%_0x2bb98b==0x4&&(_0x31ff06=_0x46e03c[_0x31ff06>>>0x18]<<0x18|_0x46e03c[_0x31ff06>>>0x10&0xff]<<0x10|_0x46e03c[_0x31ff06>>>0x8&0xff]<<0x8|_0x46e03c[_0x31ff06&0xff]):(_0x31ff06=_0x31ff06<<0x8|_0x31ff06>>>0x18,_0x31ff06=_0x46e03c[_0x31ff06>>>0x18]<<0x18|_0x46e03c[_0x31ff06>>>0x10&0xff]<<0x10|_0x46e03c[_0x31ff06>>>0x8&0xff]<<0x8|_0x46e03c[_0x31ff06&0xff],_0x31ff06^=_0x1c7c8f[_0xab4b1a/_0x2bb98b|0x0]<<0x18),_0x488435[_0xab4b1a]=_0x488435[_0xab4b1a-_0x2bb98b]^_0x31ff06);for(var _0x5f0b8d=this[_0x4c6124(0x24d)]=[],_0x4b8816=0x0;_0x4b8816<_0x1d74b9;_0x4b8816++){var _0xab4b1a=_0x1d74b9-_0x4b8816;if(_0x4b8816%0x4)var _0x31ff06=_0x488435[_0xab4b1a];else var _0x31ff06=_0x488435[_0xab4b1a-0x4];_0x4b8816<0x4||_0xab4b1a<=0x4?_0x5f0b8d[_0x4b8816]=_0x31ff06:_0x5f0b8d[_0x4b8816]=_0x196aa8[_0x46e03c[_0x31ff06>>>0x18]]^_0x433690[_0x46e03c[_0x31ff06>>>0x10&0xff]]^_0x43be34[_0x46e03c[_0x31ff06>>>0x8&0xff]]^_0x2ec160[_0x46e03c[_0x31ff06&0xff]];}}},'encryptBlock':function(_0x47d0e8,_0x1f891c){this['_doCryptBlock'](_0x47d0e8,_0x1f891c,this['_keySchedule'],_0x2798d3,_0x4793f5,_0x13485a,_0x2162fe,_0x46e03c);},'decryptBlock':function(_0x4b2eb8,_0x2c9e4c){var _0x47599b=_0x49d574,_0x24596c=_0x4b2eb8[_0x2c9e4c+0x1];_0x4b2eb8[_0x2c9e4c+0x1]=_0x4b2eb8[_0x2c9e4c+0x3],_0x4b2eb8[_0x2c9e4c+0x3]=_0x24596c,this[_0x47599b(0x325)](_0x4b2eb8,_0x2c9e4c,this[_0x47599b(0x24d)],_0x196aa8,_0x433690,_0x43be34,_0x2ec160,_0x2531be);var _0x24596c=_0x4b2eb8[_0x2c9e4c+0x1];_0x4b2eb8[_0x2c9e4c+0x1]=_0x4b2eb8[_0x2c9e4c+0x3],_0x4b2eb8[_0x2c9e4c+0x3]=_0x24596c;},'_doCryptBlock':function(_0x14320a,_0x25ef38,_0x50522d,_0x103ae7,_0x1a5ec9,_0x12cb73,_0x2a1fc2,_0x89c6ce){var _0x5d810c=_0x49d574;for(var _0x4132b3=this[_0x5d810c(0x1e5)],_0x59b61b=_0x14320a[_0x25ef38]^_0x50522d[0x0],_0x571fe6=_0x14320a[_0x25ef38+0x1]^_0x50522d[0x1],_0x2a9c08=_0x14320a[_0x25ef38+0x2]^_0x50522d[0x2],_0x26c264=_0x14320a[_0x25ef38+0x3]^_0x50522d[0x3],_0x4491a4=0x4,_0x4f6083=0x1;_0x4f6083<_0x4132b3;_0x4f6083++){var _0x7acb9e=_0x103ae7[_0x59b61b>>>0x18]^_0x1a5ec9[_0x571fe6>>>0x10&0xff]^_0x12cb73[_0x2a9c08>>>0x8&0xff]^_0x2a1fc2[_0x26c264&0xff]^_0x50522d[_0x4491a4++],_0x26813f=_0x103ae7[_0x571fe6>>>0x18]^_0x1a5ec9[_0x2a9c08>>>0x10&0xff]^_0x12cb73[_0x26c264>>>0x8&0xff]^_0x2a1fc2[_0x59b61b&0xff]^_0x50522d[_0x4491a4++],_0xe310b9=_0x103ae7[_0x2a9c08>>>0x18]^_0x1a5ec9[_0x26c264>>>0x10&0xff]^_0x12cb73[_0x59b61b>>>0x8&0xff]^_0x2a1fc2[_0x571fe6&0xff]^_0x50522d[_0x4491a4++],_0x16100b=_0x103ae7[_0x26c264>>>0x18]^_0x1a5ec9[_0x59b61b>>>0x10&0xff]^_0x12cb73[_0x571fe6>>>0x8&0xff]^_0x2a1fc2[_0x2a9c08&0xff]^_0x50522d[_0x4491a4++];_0x59b61b=_0x7acb9e,_0x571fe6=_0x26813f,_0x2a9c08=_0xe310b9,_0x26c264=_0x16100b;}var _0x7acb9e=(_0x89c6ce[_0x59b61b>>>0x18]<<0x18|_0x89c6ce[_0x571fe6>>>0x10&0xff]<<0x10|_0x89c6ce[_0x2a9c08>>>0x8&0xff]<<0x8|_0x89c6ce[_0x26c264&0xff])^_0x50522d[_0x4491a4++],_0x26813f=(_0x89c6ce[_0x571fe6>>>0x18]<<0x18|_0x89c6ce[_0x2a9c08>>>0x10&0xff]<<0x10|_0x89c6ce[_0x26c264>>>0x8&0xff]<<0x8|_0x89c6ce[_0x59b61b&0xff])^_0x50522d[_0x4491a4++],_0xe310b9=(_0x89c6ce[_0x2a9c08>>>0x18]<<0x18|_0x89c6ce[_0x26c264>>>0x10&0xff]<<0x10|_0x89c6ce[_0x59b61b>>>0x8&0xff]<<0x8|_0x89c6ce[_0x571fe6&0xff])^_0x50522d[_0x4491a4++],_0x16100b=(_0x89c6ce[_0x26c264>>>0x18]<<0x18|_0x89c6ce[_0x59b61b>>>0x10&0xff]<<0x10|_0x89c6ce[_0x571fe6>>>0x8&0xff]<<0x8|_0x89c6ce[_0x2a9c08&0xff])^_0x50522d[_0x4491a4++];_0x14320a[_0x25ef38]=_0x7acb9e,_0x14320a[_0x25ef38+0x1]=_0x26813f,_0x14320a[_0x25ef38+0x2]=_0xe310b9,_0x14320a[_0x25ef38+0x3]=_0x16100b;},'keySize':0x100/0x20});_0x11ef46[_0x49d574(0x405)]=_0x195275[_0x49d574(0x25d)](_0x39b8d5);}()),_0x415c06['AES'];}));}(Se)),Se[_0x5fe871(0x45f)];}var rn=nn();const sn=fe(rn);var on=Dt();const ot=fe(on);var be={'exports':{}},an=be[_0x17863a(0x45f)],at;function cn(){return at||(at=0x1,function(_0x1db3c8,_0x420927){(function(_0x5028e3,_0x47e9b8){var _0x56341b=_0x491b;_0x1db3c8[_0x56341b(0x45f)]=_0x47e9b8(ee());}(an,function(_0x18cba6){var _0x48763b=_0x491b;return _0x18cba6[_0x48763b(0x2e6)]['Utf8'];}));}(be)),be['exports'];}var hn=cn();const ln=fe(hn);var Re={'exports':{}},_n=Re['exports'],ct;function un(){return ct||(ct=0x1,function(_0xabbd1a,_0x339d40){(function(_0x300649,_0xc151c8){_0xabbd1a['exports']=_0xc151c8(ee());}(_n,function(_0x1b9c0a){var _0x19cd72=_0x491b;return(function(){var _0x67baf8=_0x491b;if(typeof ArrayBuffer=='function'){var _0x4535f=_0x1b9c0a,_0x21448d=_0x4535f[_0x67baf8(0x303)],_0x41c583=_0x21448d[_0x67baf8(0x4f4)],_0x4dd172=_0x41c583[_0x67baf8(0x257)],_0x4aad69=_0x41c583[_0x67baf8(0x257)]=function(_0x5ae1aa){var _0x3dcc32=_0x67baf8;if(_0x5ae1aa instanceof ArrayBuffer&&(_0x5ae1aa=new Uint8Array(_0x5ae1aa)),(_0x5ae1aa instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x5ae1aa instanceof Uint8ClampedArray||_0x5ae1aa instanceof Int16Array||_0x5ae1aa instanceof Uint16Array||_0x5ae1aa instanceof Int32Array||_0x5ae1aa instanceof Uint32Array||_0x5ae1aa instanceof Float32Array||_0x5ae1aa instanceof Float64Array)&&(_0x5ae1aa=new Uint8Array(_0x5ae1aa['buffer'],_0x5ae1aa[_0x3dcc32(0x430)],_0x5ae1aa[_0x3dcc32(0x37d)])),_0x5ae1aa instanceof Uint8Array){for(var _0x5ea27c=_0x5ae1aa[_0x3dcc32(0x37d)],_0x428bf1=[],_0x1789b5=0x0;_0x1789b5<_0x5ea27c;_0x1789b5++)_0x428bf1[_0x1789b5>>>0x2]|=_0x5ae1aa[_0x1789b5]<<0x18-_0x1789b5%0x4*0x8;_0x4dd172[_0x3dcc32(0x243)](this,_0x428bf1,_0x5ea27c);}else _0x4dd172[_0x3dcc32(0x3ce)](this,arguments);};_0x4aad69[_0x67baf8(0x4a1)]=_0x41c583;}}()),_0x1b9c0a['lib'][_0x19cd72(0x4f4)];}));}(Re)),Re['exports'];}var dn=un();function _0x3ed5(){var _0x356068=['members','GLOBAL_ROOMS_CNT_EXCEEDS','delete','emitEvent','LocaleService','CONNECTOR_DATA_TOO_LARGE','CipherParams','_permissionService','COMPLETION_FINISHED','Base64','editingUnit','unitID','ILocalCacheService','updateOfflineData','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','getValue','SheetTransformSelectionsService','_toggleOnline','mixIn','getCollabEntity$','_telemetryInfo','status','_initDependencies','_xformMode','_initMergeInterceptor','textEncoder','copyFileMeta','_onRemoteRejected','decryptBlock','[DataLoaderService]','withCredentials','ISnapshotServerService','CollaborationController','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','deserializeToCombResponse','byteOffset','_collaborationUIEventService','ICollaborationSocketService','online$','runId','EvpKDF','_userManagerService','_transformIMECache','_scheduleCollaborationTimeoutTimer','loadOfflineData','onRemoteAck','transformMutationsWithChangeset','_getCtorByUniverType','APPLY_REVISION_CONFILICT','JOIN_ROOM_PERMISSION_DENIED','encryptBlock','HttpExport','UnitEmbedded','getMember','shouldCloseConn','_socket','fromCharCode','listCollaborators','ticket','SessionStatus','session','kdf','IImageIoService','string','parseProtocolChangeset','LocalUndoRedoService','userID','msCrypto','getUnitType','getResourcesRequest','JOIN','427617qIAGUR','LICENSE_IMPORT_SIZE_EXCEEDED','hasOwnProperty','pipe','isTransformChangesetsSuccess','/unit/','IMentionIOService','COLLAB_SUBMIT_CHANGESET_URL','Inject','_doProcessBlock','getTime','exports','SelectRange','_socket$','_clearScheduledTask','APPLY_REJECT','6724705iuRRPc','_iv','DisposableCollection','toStringTag','ConflictState','_doFinalize','infoRsp','_joinRoom','_singleActiveUnitService','_pendingMutations','_getSignURL','INTERNAL_ERROR','Injector','set','getAllWorksheetPermissionPointByPointPanel','rev','OTHER_CLIENT_EDITING','memberID','INVALID_ARGUMENT','_createHandler','editing\x20status\x20changed\x20to','_state','readyForCollab','words','_members','onTransformIME','_snapshotService','_getAPIPrefixPath','APPLY_NON_SEQUENTIAL_REVISION','_collaborationTimeoutTimer','status$','_configService','unitId\x20is\x20not\x20found','CONFLICT','algo','/rev/','CollaborationSessionService','_clearLocalCache','_timeoutTimer','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','hasher','objects','SnapshotServerOverHTTPService','Undefined','mapDocumentTypeToUniverType','/-/object/-/batch_allowed','636208pOHIhe','_revisionService','Plugin','PERSON','_hash','_unitInfo$','ISingleActiveUnitService','@univerjs/telemetry','updateCursorEvent','processBlock','_queuedRemoteChangesets','MentionType','_checkMissing','list','href','prototype','charAt','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','sequenceExecute','BlockCipherMode','symbol','UniverCollaborationPlugin','roles','CollaborationImageIoService','UnitSnapshot','slice','splice','awaiting_with_pending','open$','addHandlerCallback','CHANGESET_REJ','onTransformSelections','deepClone','_mode','serializeCombRequest','Univer','toggleOffline','fetching\x20missing\x20changesets\x20from\x20','_scheduleTimestamp','UPDATE_CURSOR','collaboration-client.config','default','ITransformService','_data','getRoom','_collabSessionService','_tryReconnect','__Key__','range','result','MentionIoHttpService','setCurrentUser','/collaborator','DocCollaborationEntity','setWaitCount','_applyRemoteChangeset','SOCKET_FAILED_RETRY','@univerjs-pro/collaboration','_disableEditing','EXCHANGE_SIGN_URL_SERVER_URL_KEY','getTypeOfUnitDisposed$','getActiveSheet','_keyPriorReset','_iKey','unitId','/universer-api/authz','LOCAL_CACHE_INTERVAL','_clearCollaborationTimeoutTimer','function','LICENSE_MAX_UNITS_EXCEEDED','_minBufferSize','Pkcs7','sendChangesetTimeout','baseProtectionActions','HTTPRequest','\x20in\x20_schedule.','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','SerializableCipher','save\x20fail\x20reason\x20is\x20','[PendingState]:\x20unhandled\x20univer\x20type:\x20','Workbook','@univerjs/drawing','value','_DEC_XFORM_MODE','USERS_ENTER','_substituteUndoStack','_throwTelemetryCollaborationNewChangeset','defaultWorkbookPermissionPoints','patch','confirm','Disposable','PasswordBasedCipher','parse','commentUpdate$','randomBytes','IPermissionService','BASE64','target','WordArray','getCurrentSelections','_onUserJoin','stopTime','sessionTicket','_exhaustRemoteChangesetQueue','ILogService','RichTextEditingMutation','collaboration_new_changeset','isPermissionRej','_updateLocalCache','textRanges','SetSelectionsOperation','[PendingState]:\x20received\x20rejection.','UNRECOGNIZED','method','ISocketService','addImageSourceCache','Cipher','setConfig','csAckEvent','executeCommand','/fetchmissing?from=','subType','append','_networkConditionService','RETRY_CONNECTING_MAX_COUNT','takeUntil','getTargetByPermissionId','_socketReady','getConfig','dispose','CollaborationEntity','HEARTBEAT_TIMEOUT_KEY','APPLY_DUPLICATED','_waitCount','_redoStacks','_substituteRedoStack','getAllWorkbookPermissionPoint','@univerjs/network','UserManagerService','reconnect','468919aqzrrR','decrypt','[CollaborationUndoRedoService]','csRejEvent','collaboration-client.local-cache-service','ws://127.0.0.1:8000/universer-api/comb/connect','\x0aAfter:\x20','find','mode','YUUMI_UNABLE_LOAD_URL','HmacMD5','_localCacheService','entries','_keySchedule','NoPadding','error','JSONX','_unitID','SEND_CHANGESET_TIMEOUT','_replaceFileID','POST','_submitChangeset','params','awaitingChangeset','b64DecodeUnicode','ONLINE','_changesetReqId','_schedule','extend','RETRY_CONNECTING_MAX_COUNT_KEY','onLocalMutation','CBC','_getCurrentRevision','IAuthzIoService','close$','__esModule','pluginName','generateRandomId','AwaitingState','objectActions','update','SheetsSelectionsService','_clearUndo','_getSendChangesetTimeout','reject','image/gif','univer-pro.collaboration-client.single-active-unit-service','getImage','_updateStatus','IUniverInstanceService','Malformed\x20UTF-8\x20data','getWorkbookSelections','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','search','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','duration','_sessionStatus$','getLocalCacheKey','[CollaborationEntity]','_onConnectionFailed','_getUndoStack','_state$','selections','YUUMI_RATE_OVER_LIMIT','CollaborationSocketService','_resendTimer','clone','JOIN_ROOM_FAILED','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_onFetchMissResult','random','onStarting','_stopTelemetryCollaborationNewChangeset','_commandService','_onConflict','UNIVER_DOC','concatMap','from','put','NEW_CHANGESETS','UniverSheetsPlugin','UNDEFINED','dispose$','SNAPSHOT_INVALID_SNAPSHOT','_cipher','RxDisposable','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','FetchingMissState','/universer-api/snapshot','/allowed','c1Prime','getUnit','_nRounds','_map','session.room-permission-denied','concat','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_eventService','_clearHeartbeatTimer','readAsDataURL','SUCCUSS','synced','session.room-full','session.join-failed','getInterceptPoints','saveChangeset','requestParams','_registerDependencies','toString','updatePermissionPoint','JOIN_ROOM_FULL','_HTTPService','get','UnitObject','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','onRemoteChangeset','fetch_missing','_candidateSocket','/universer-api/snapshot/','40pgDCIt','6FJnxbf','state','_handler','ICommandService','unsubscribe','Could\x20not\x20dynamically\x20require\x20\x22','_changesetSessionId','CommentService','forEach','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_shouldReportTelemetry','name','OFFLINE','Decryptor','Encryptor','HELLO','166656PtxNAs','x-univer-host','_lockTransition','routeKey','_initCloseConn','isTransformMutationsWithChangesetSuccess','_resendTimeout','25196GMFnXL','_transformStack','getMemberID','body','registerHTTPInterceptor','type','CollaborativeUndoRedoService','onMissedChangesetFetched','OPTIONAL','mutations','_rescheduleHeartbeat','getPermissionPoint','BehaviorSubject','UNKNOWN_CODE','isInternalEditorID','IDLE','mergeOverrideWithDependencies','_handlerCallback','awaiting','LEAVE','APPLY_PERMISSION_DENIED','createCollaborator','_syncEditingCollabCursor','_httpService','CommandType','readInt32LE','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','_imageSourceCache','/role','USERS_LEAVE','70FHcMiU','getCurrentUnitForType','every','TOO_MANY_REQUESTS','_createSocket','_instanceService','HEARTBEAT_INTERVAL','Optional','[CollaborationState]:\x20apply\x20error!','_undoRedoService','Hex','JOIN_ROOM_NOT_EXISTS','onTransformRemoteChangesetByIMECache','call','isTransformMutationsWithChangesetFailure','_transformService','CollaborationUIEventService','OfflineState','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','saveSheetBlock','getUnitOnRev','keySize','_status$','_invKeySchedule','PendingState','LIVESHARE_NEW_HOST','_init','COLLAB_WEB_SOCKET_URL','rxjs','/object/','subject','now','_unlockTransition','init','_commentUpdate$','map','LOCAL_CACHE_INTERVAL_KEY','abs','_replayCachedMutations','_createHelper','fetchThroughInterceptors','LICENSE_EXPORT_SIZE_EXCEEDED','LIVESHARE_TERMINATE','_initRequestHeader','_decreaseWaiting','_loadSheet','connection\x20error','clamp','join','values','salt','SUBMIT_CHANGESET','&to=','SUBMIT_CHANGESET_TIMEOUT','cfg','BufferedBlockAlgorithm','state$','_getRedoStack','changesets','eventID','action','finalize','ImageSourceType','joinEvent','ERROR_IMAGE','ruleRefresh','_incrementRevisionNumber','_http','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_createInitialState','_authzIoService','ENSURE_SNAPSHOT_EXECUTION','createDecryptor','getCurrentUser','transformSelections','getUnitId','LIVESHARE_OPERATION','MemberService','_acknowledgedAwaitingChangeset','_getLoginPath','_collaborationSessionService','_createInitialStateImpl','closeSession','toggleOnline','LOGIN_URL_KEY','format','reduce','debug','_clearRedo','/universer-api/file/{fileID}/sign-url','_updateState','length','equals','uploadFileServerUrl','$super','YUUMI_URL_COL_OUT_OF_RANGE','ceil','toDisposable','_telemetryService','firstValueFrom','AUTHZ_URL_KEY','_ENC_XFORM_MODE','IConfigService','_sheetTransformSelectionsService','[OfflineState]:\x20received\x20rejection.','uniscriptRunEvent','__creator','_startCollaboration','batchAllowed','requireSession','localCacheService','key','_roomMembers','_awaitingChangeset','socket\x20open.','MSG_FOR_ERROR','image/bmp','merge','_sender','_isPermissionRej','revision','_clearTimeoutTimer','location','_change$','getCurrentRevOfUnit','_transformRemoteChangesetByIMECache','[CollaborationSessionService]:\x20socket\x20error','CLOSE_ROOM','enableAuthServer','COMMENT_UPDATE','FileId','JOINING','encrypt','application/json','_compressMutationService','_hasher','file','retryConnectingInterval','NOT_FOUND','sessionStatus$','baseRev','onCommentUpdate','InsertSheetMutation','@univerjs/core','_key','getDeserializedSheetBlock','_socketService','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','take','deleteCollaborator','replace','_retryConnectingTimer','transformUndoRedo','_collaborationPaused','sessionStatus','failed\x20to\x20apply\x20missed\x20changesets!','create','removeMember','m2Prime','pad','PERMISSION_REJ','HEARTBEAT_INTERVAL_KEY','encodeURIComponent','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_waitForHeartbeatResponse','@univerjs/sheets','code','enableOfflineEditing','_initUnitPermissionChange','clearUndoRedo','PERMISSION_DENIED','StreamCipher','_process','/universer-api/comb','UniverCollaborationClientPlugin','_nDataBytes','enc','_entities','LIVESHARE_REQUEST_HOST','Subject','[CollaborationSessionService]','onSendChangeset','appendMutation','next','ReplaySubject','Module','listRoles','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','SYNCED','UnitStatus','HttpImport','_onLocalMutation','_showConflictNotification','then','searchParams','_reverseMap','UNIVER_PROJECT','WorksheetProtectionPointModel','MD5','parseChangesetToProtocol','disposeWithMe','getTypeOfUnitAdded$','getSnapshotAPIPath','interceptor','post','lib','liveShareNewHost','COMPRESS_MUTATION_APPLY','createSocket','getFocusedUnit','LIVESHARE_FETCH_OPERATIONS','UNIVER_SHEET','_createHmacHelper','toLowerCase','\x20-\x20','loadDoc','session.room-not-exists','onRemoteRetry','_sendHeartbeatTimer','fetchMiss','_localeService','ALREADY_EXISTS','asObservable','Tools','message$','@univerjs/docs','unit-cache-','univer-pro.collaboration-client-socket-service','/block/','submit\x20changeset\x20error!','_onUserLeave','complete','bind','joinRsp','ivSize','_onMessage','FETCH_MISS','_sendingTimer','_socketMessageSubscription','_doCryptBlock','reverse','push','unitInfo$','allowed','FETCH_MISSING','capture','[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.','updateMember','loginUrlKey','_removeRoom','cmd','_config','override','CollaborationUIEventId','CollaborationEvent','Worksheet','compute','src','_sendHeartbeat','UNISCRIPT_RUN','CHANGESET_REVISION_CONFILICT','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_doReset','c2Prime','UNAUTHENTICATED','ImageUploadStatusType','socket$','url','_transformRemoteChangesetByStateCache','close','_memberService','event$','_onOffline','EmptyMutation','[FetchMissState]','registerDependencies','data','RECV','includes','ERROR_EXCEED_SIZE','COLLAB_SUBMIT_CHANGESET_URL_KEY','unpad','135UuUZbI','Hasher','formatter','_type','onMissingChangesets','roomInfos','getRandomValues','_onRemoteACK','SOCKET_FAILED','findIndex','isArray','signUrlServerUrl','OTHER_CLIENTS_EDITING','session.room-cnt-exceeds','createInstance','blockSize','reset','_onRecvEvent','/-/object/list','_listenToNetworkCondition','auth.needGotoLoginAlert','objectID','json','crypto','PSEUDO_FETCH_MISSING_RESULT','min','onRemoteRej','ERROR_IMAGE_TYPE','SNAPSHOT_SERVER_URL_KEY','resend','putCollaborators','_fetchMissChangesets','enableSingleActiveInstanceLock','title','CHANGESET_SHOULD_RETRY','UNIVER_UNKNOWN','[PendingState]:\x20received\x20acknowledgement.','CollaborationSession','onlyLocal','floor','Base','transformChangesets','_onCombEvent','AuthzIoHttpService','touchDependencies','byteLength','getSheetId','/resources','RevisionService','getOwnPropertyDescriptor','_resendWithTimeout','commentUpdateEvent','OpenSSL','UNKNOWN_CMD','newCsEvent','setShowComponents','[OfflineState]:\x20received\x20acknowledgement.','_event$','add','authzUrl','image/jpg','_append','_sessions','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','stringify','size','DependentOn','AWAITING','UPDATE_PERMISSION_OBJ','/universer-api/user/session-ticket','_loadDoc','SheetCollaborationEntity','_startTelemetryCollaborationNewChangeset','max','sheets','collaborators','_oKey','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','collabWebSocketUrl','originalMeta','HMAC','/universer-api/stream/file/upload','responseType','onTransformRemoteChangesetByStateCache','_transformSelections','offline','_univerInstanceService','_tryEnsureSocket','[OfflineState]:\x20received\x20changeset.','HEARTBEAT','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','univer-pro.collaboration-client.network-condition.service','origin','onTransformState','NOT_COLLAB','catch','subscribe','IUndoRedoService','WorkbookEditablePermission','YUUMI_SUBSCRIPTION_NOT_FOUND','delay','send','WorksheetProtectionRuleModel','initWorkbookPermissionChange','_transitionLocked','iterations','BlockCipher','Utf8','padding','_onRemoteChangeset','getImageSourceCache','DataLoaderService','INetworkConditionService','repeat','headers','_createSocketURL','SHOULD_CLOSE_CONN','_retryCount','_executeRemoteChangeset','LICENSE_DISTRO_REJECTED','UniverInstanceType','CompressMutationService','/new_changes','image/png','?url=','compose','apply','permissionRejEvent','_onConnectionOpen','localeService','createIdentifier','AwaitingWithPendingState','loadSheet','&assign=','_parse','clear','defineProperty','actions','error$','_onJoinRoomEvent','_onRemoteRetry','pending','charCodeAt','_logService','ciphertext','_getAPIPrefix','fetchMissingChangesets','[SyncedState]:\x20received\x20acknowledgement.','sigBytes','pauseCollaboration','HTTPService','objectType','HEARTBEAT_TIMEOUT','_getDownloadEndpointURL','INGEST','COMPRESS_MUTATION_SEND','_getSessionTicket','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','SHA1','onCommandExecuted','has','9489195RRvenB','SNAPSHOT_HAS_BEEN_REMOVED','sid','Latin1','SyncedState','collaboratorID','unknown','_injector','getCollabEntity','_snapshotServerService','MUTATION','onSyncEditingCollabCursor','_prevBlock','randomUUID','_remoteChangesetQueue','_getUploadFileURL','_undoStacks','reqId','UNIVER_SLIDE','resourceIDs','AES','_entityInit$','csShouldRetryEvent','FAIL','filter','startTime','[CollaborationSession]','refreshPermission'];_0x3ed5=function(){return _0x356068;};return _0x3ed5();}const vn=fe(dn);var ye={'exports':{}},fn=ye[_0x17863a(0x45f)],ht;function Sn(){var _0x112a5b=_0x17863a;return ht||(ht=0x1,function(_0x2363bd,_0xef6ce1){(function(_0xa2939a,_0x412385,_0x4b5c5b){var _0x1edc41=_0x491b;_0x2363bd[_0x1edc41(0x45f)]=_0x412385(ee(),wt());}(fn,function(_0x18acd8){var _0x219f6a=_0x491b;return _0x18acd8['pad'][_0x219f6a(0x197)]={'pad':function(){},'unpad':function(){}},_0x18acd8[_0x219f6a(0x2d5)][_0x219f6a(0x197)];}));}(ye)),ye[_0x112a5b(0x45f)];}var pn=Sn();const gn=fe(pn);function mn(_0x30d836,_0x19e771){var _0x1d5d01=_0x17863a;const _0x5d5feb=_0x19e771-_0x30d836[_0x1d5d01(0x291)]%_0x19e771,_0x302f09=String[_0x1d5d01(0x445)](_0x5d5feb)[_0x1d5d01(0x3c1)](_0x5d5feb);return _0x30d836+_0x302f09;}function In(_0x3bfbba,_0x2019a8){var _0x497ae4=_0x17863a;const _0x56dee1=vn['random'](0x10),_0x513a1a=mn(_0x3bfbba,0x10),_0x8138fa=sn[_0x497ae4(0x2ba)](ln[_0x497ae4(0x4ee)](_0x513a1a),ot[_0x497ae4(0x4ee)](_0x2019a8),{'iv':_0x56dee1,'padding':gn});return _0x56dee1[_0x497ae4(0x1e8)](_0x8138fa[_0x497ae4(0x3e0)])[_0x497ae4(0x1f5)](ot);}function En(){var _0x2e33d5=_0x17863a;const _0x26a304=jt['getGlobalObject']()[_0x2e33d5(0x4c1)];if(_0x26a304){const _0x5e753d={'time':Math[_0x2e33d5(0x377)](Date[_0x2e33d5(0x255)]()/0x3e8),'domain':location['hostname']};return In(JSON[_0x2e33d5(0x390)](_0x5e753d),_0x26a304);}}var Cn=Object[_0x17863a(0x3d8)],Tn=Object[_0x17863a(0x381)],bn=(_0x2b3fde,_0x4f9475,_0x3363f5,_0xbf3b97)=>{for(var _0x25cfd3=_0xbf3b97>0x1?void 0x0:_0xbf3b97?Tn(_0x4f9475,_0x3363f5):_0x4f9475,_0xd6b53=_0x2b3fde['length']-0x1,_0x49f653;_0xd6b53>=0x0;_0xd6b53--)(_0x49f653=_0x2b3fde[_0xd6b53])&&(_0x25cfd3=(_0xbf3b97?_0x49f653(_0x4f9475,_0x3363f5,_0x25cfd3):_0x49f653(_0x25cfd3))||_0x25cfd3);return _0xbf3b97&&_0x25cfd3&&Cn(_0x4f9475,_0x3363f5,_0x25cfd3),_0x25cfd3;},Rn=(_0x3aee15,_0x22e4c2)=>(_0x1a4192,_0x15fe77)=>_0x22e4c2(_0x1a4192,_0x15fe77,_0x3aee15);let Pe=class{constructor(_0x48864a){var _0x111d37=_0x17863a;this['_httpService']=_0x48864a,this[_0x111d37(0x261)]();}[_0x17863a(0x261)](){var _0x41acae=_0x17863a;this[_0x41acae(0x22f)][_0x41acae(0x21c)]({'interceptor':(_0x4ac202,_0x440ee4)=>{var _0xce3c7c=_0x41acae;const _0x2fe8ee=_0x4ac202[_0xce3c7c(0x3c2)],_0x4dd7cd=En();return _0x4dd7cd&&_0x2fe8ee[_0xce3c7c(0x471)](_0xce3c7c(0x212),_0x4dd7cd),_0x440ee4(_0x4ac202);}});}};Pe=bn([Rn(0x0,a[_0x17863a(0x45c)](z[_0x17863a(0x3e6)]))],Pe);var yn=Object[_0x17863a(0x3d8)],On=Object['getOwnPropertyDescriptor'],Pn=(_0x9aeeee,_0x3450cb,_0x779b72,_0x1a09b7)=>{var _0x308ac0=_0x17863a;for(var _0x589ed3=_0x1a09b7>0x1?void 0x0:_0x1a09b7?On(_0x3450cb,_0x779b72):_0x3450cb,_0x4cc5df=_0x9aeeee[_0x308ac0(0x291)]-0x1,_0x2954c1;_0x4cc5df>=0x0;_0x4cc5df--)(_0x2954c1=_0x9aeeee[_0x4cc5df])&&(_0x589ed3=(_0x1a09b7?_0x2954c1(_0x3450cb,_0x779b72,_0x589ed3):_0x2954c1(_0x589ed3))||_0x589ed3);return _0x1a09b7&&_0x589ed3&&yn(_0x3450cb,_0x779b72,_0x589ed3),_0x589ed3;},Me=(_0x4c76f7,_0x56d91b)=>(_0x38ff0b,_0x3708ec)=>_0x56d91b(_0x38ff0b,_0x3708ec,_0x4c76f7);exports[_0x17863a(0x3bf)]=class extends a[_0x17863a(0x1de)]{constructor(_0x524987,_0x25b168,_0x19ab05){var _0x280887=_0x17863a;super(),w(this,_0x280887(0x497),new B[(_0x280887(0x224))](null)),w(this,_0x280887(0x328),this[_0x280887(0x497)][_0x280887(0x314)]()),(this[_0x280887(0x3df)]=_0x524987,this['_snapshotService']=_0x25b168,this[_0x280887(0x194)]=_0x19ab05);}async['loadUnit'](_0xd9a21e,_0x3550aa,_0x2a0ebd){var _0x232293=_0x17863a;this[_0x232293(0x497)][_0x232293(0x2ed)]({'unitId':_0xd9a21e,'type':_0x3550aa,'subUnitId':_0x2a0ebd});let _0x1aaa4c=null;switch(_0x3550aa){case Z[_0x232293(0x309)]:{_0x1aaa4c=await this[_0x232293(0x263)](_0xd9a21e);break;}case Z[_0x232293(0x1d4)]:{_0x1aaa4c=await this[_0x232293(0x396)](_0xd9a21e);break;}default:{this[_0x232293(0x3df)][_0x232293(0x198)](_0x232293(0x42a),_0x232293(0x41b));break;}}return _0x1aaa4c;}async[_0x17863a(0x263)](_0x24014b){var _0x18ce05=_0x17863a,_0x25bd58;let _0x37c1b2=0x0;const _0xc9283b=await((_0x25bd58=this['_localCacheService'])==null?void 0x0:_0x25bd58[_0x18ce05(0x439)](_0x24014b));return _0xc9283b&&(_0xc9283b[_0x18ce05(0x1a0)]||_0xc9283b['mutations'][_0x18ce05(0x291)]!==0x0)&&(_0x37c1b2=_0xc9283b[_0x18ce05(0x473)]),_0x37c1b2===0x0&&this['_logService'][_0x18ce05(0x28d)]('[DataLoaderService]','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x18ce05(0x47e)][_0x18ce05(0x3d4)](_0x24014b,_0x37c1b2);}async['_loadDoc'](_0x38f5bb){var _0x3c73dc=_0x17863a,_0x665868;let _0x1af8ff=0x0;const _0x2e9238=await((_0x665868=this[_0x3c73dc(0x194)])==null?void 0x0:_0x665868['loadOfflineData'](_0x38f5bb));return _0x2e9238&&(_0x2e9238[_0x3c73dc(0x1a0)]||_0x2e9238[_0x3c73dc(0x221)]['length']!==0x0)&&(_0x1af8ff=_0x2e9238[_0x3c73dc(0x473)]),_0x1af8ff===0x0&&this[_0x3c73dc(0x3df)][_0x3c73dc(0x28d)](_0x3c73dc(0x42a),_0x3c73dc(0x27a)),this[_0x3c73dc(0x47e)][_0x3c73dc(0x30d)](_0x38f5bb,_0x1af8ff);}},exports[_0x17863a(0x3bf)]=Pn([Me(0x0,a[_0x17863a(0x4fa)]),Me(0x1,a[_0x17863a(0x45c)](m['SnapshotService'])),Me(0x2,a[_0x17863a(0x23d)](J))],exports['DataLoaderService']);var Un=Object['defineProperty'],Dn=Object['getOwnPropertyDescriptor'],Nn=(_0x1c4c9a,_0x48009f,_0x3eed54,_0x40ad6d)=>{var _0x15ef7b=_0x17863a;for(var _0x4b795e=_0x40ad6d>0x1?void 0x0:_0x40ad6d?Dn(_0x48009f,_0x3eed54):_0x48009f,_0x161bbe=_0x1c4c9a[_0x15ef7b(0x291)]-0x1,_0x5635ea;_0x161bbe>=0x0;_0x161bbe--)(_0x5635ea=_0x1c4c9a[_0x161bbe])&&(_0x4b795e=(_0x40ad6d?_0x5635ea(_0x48009f,_0x3eed54,_0x4b795e):_0x5635ea(_0x4b795e))||_0x4b795e);return _0x40ad6d&&_0x4b795e&&Un(_0x48009f,_0x3eed54,_0x4b795e),_0x4b795e;},xe=(_0x562d27,_0x4d8718)=>(_0x269ee8,_0x421288)=>_0x4d8718(_0x269ee8,_0x421288,_0x562d27);const wn=[_0x17863a(0x3cb),'image/jpeg',_0x17863a(0x38c),_0x17863a(0x1b6),_0x17863a(0x2aa)],An=0x5*0x400*0x400,Ln='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',Mn=_0x17863a(0x3a1),xn=_0x17863a(0x4cd),jn=_0x17863a(0x28f);exports[_0x17863a(0x4a9)]=class{constructor(_0x4f8dd6,_0xa14b01,_0x7900e1){var _0x52ea0f=_0x17863a;w(this,_0x52ea0f(0x182),0x0),w(this,_0x52ea0f(0x2b1),new B[(_0x52ea0f(0x2e9))]()),w(this,'change$',this['_change$']),w(this,_0x52ea0f(0x233),new Map()),(this[_0x52ea0f(0x22f)]=_0x4f8dd6,this[_0x52ea0f(0x483)]=_0xa14b01,this[_0x52ea0f(0x3a6)]=_0x7900e1);}[_0x17863a(0x4c8)](_0x2670cb){var _0x16e608=_0x17863a;this[_0x16e608(0x182)]=_0x2670cb,this[_0x16e608(0x2b1)][_0x16e608(0x2ed)](_0x2670cb);}[_0x17863a(0x3be)](_0x55ac98,_0x1fe456){var _0x2241e6=_0x17863a;if(_0x1fe456===X['ImageSourceType'][_0x2241e6(0x4f2)]){const _0x3893bb=new Image();return _0x3893bb[_0x2241e6(0x337)]=_0x55ac98,_0x3893bb;}return this['_imageSourceCache']['get'](_0x55ac98);}[_0x17863a(0x505)](_0x204ea2,_0x167965,_0x2b30c2){var _0x5d661e=_0x17863a;_0x167965===X[_0x5d661e(0x274)]['BASE64']||_0x2b30c2==null||this['_imageSourceCache'][_0x5d661e(0x471)](_0x204ea2,_0x2b30c2);}async[_0x17863a(0x1b8)](_0x352677){var _0x9d4aef=_0x17863a;try{const _0x3ad0ea=this[_0x9d4aef(0x19c)](this['_getSignURL'](),''+_0x352677),_0x576852=(await this[_0x9d4aef(0x22f)][_0x9d4aef(0x1f9)](_0x3ad0ea))[_0x9d4aef(0x21b)];if(_0x576852[_0x9d4aef(0x198)]&&_0x576852['error'][_0x9d4aef(0x2dc)]===Ct['OK']){const _0x33a2f5=new URL(_0x576852[_0x9d4aef(0x341)],this['_getDownloadEndpointURL']())['toString']();return Promise['resolve'](_0x33a2f5);}return Promise[_0x9d4aef(0x1b5)](_0x576852[_0x9d4aef(0x198)]);}catch(_0x4142ca){return Promise[_0x9d4aef(0x1b5)](_0x4142ca);}}async['saveImage'](_0x18214f){var _0x25151b=_0x17863a;let _0xff4a76='';if(!wn[_0x25151b(0x34c)](_0x18214f[_0x25151b(0x21d)]))return this[_0x25151b(0x262)](),Promise['reject'](new Error(X[_0x25151b(0x33f)][_0x25151b(0x36b)]));if(_0x18214f[_0x25151b(0x391)]>An)return this[_0x25151b(0x262)](),Promise['reject'](new Error(X['ImageUploadStatusType'][_0x25151b(0x34d)]));try{const _0x44317e=new FormData();_0x44317e[_0x25151b(0x50c)](_0x25151b(0x2be),_0x18214f);const _0x57a3d6=this[_0x25151b(0x3a6)][_0x25151b(0x307)](),_0x52cc00=_0x57a3d6==null?void 0x0:_0x57a3d6[_0x25151b(0x281)]();if(!_0x52cc00)throw new Error(_0x25151b(0x484));const _0x10ca0e=this[_0x25151b(0x400)]()+'?size='+_0x18214f['size']['toString']()+'&source='+Tt['UnitEmbedded']+_0x25151b(0x3d5)+encodeURIComponent(_0x52cc00),_0x5aacb0=await(await fetch(_0x10ca0e,{'method':_0x25151b(0x19d),'body':_0x44317e}))[_0x25151b(0x366)]();if(typeof _0x5aacb0[_0x25151b(0x2b8)]!='string')return this[_0x25151b(0x262)](),Promise['reject'](new Error(X[_0x25151b(0x33f)][_0x25151b(0x276)]));_0xff4a76=_0x5aacb0[_0x25151b(0x2b8)];}catch{return this['_decreaseWaiting'](),Promise[_0x25151b(0x1b5)](new Error(X[_0x25151b(0x33f)][_0x25151b(0x276)]));}return new Promise((_0x5ea47e,_0x1551b1)=>{var _0x1394fb=_0x25151b;const _0x712eaf=new FileReader();_0x712eaf[_0x1394fb(0x1ec)](_0x18214f),_0x712eaf['onload']=_0x275e73=>{var _0x3cc4c1=_0x1394fb,_0x502fc8;const _0xa1be0f=(_0x502fc8=_0x275e73[_0x3cc4c1(0x4f3)])==null?void 0x0:_0x502fc8[_0x3cc4c1(0x4c3)];if(_0xa1be0f==null){this[_0x3cc4c1(0x262)](),_0x1551b1(new Error(X[_0x3cc4c1(0x33f)]['ERROR_IMAGE']));return;}const _0x1128aa=a[_0x3cc4c1(0x315)][_0x3cc4c1(0x1ae)](0x6);_0x5ea47e({'imageId':_0x1128aa,'imageSourceType':X[_0x3cc4c1(0x274)]['UUID'],'source':_0xff4a76,'base64Cache':_0xa1be0f,'status':X['ImageUploadStatusType'][_0x3cc4c1(0x1ed)]}),this['_decreaseWaiting']();};});}[_0x17863a(0x400)](){var _0x25143b=_0x17863a,_0x678a4f,_0x4d8ed3;const _0x14620d=this['_configService']['getConfig'](Ln),_0x3a0353=this[_0x25143b(0x483)][_0x25143b(0x17d)](q);return(_0x4d8ed3=(_0x678a4f=_0x3a0353==null?void 0x0:_0x3a0353[_0x25143b(0x293)])!=null?_0x678a4f:_0x14620d)!=null?_0x4d8ed3:Mn;}[_0x17863a(0x46e)](){var _0x3bdf39=_0x17863a,_0x34875e,_0x340f3f;const _0x310474=this[_0x3bdf39(0x483)][_0x3bdf39(0x17d)](xn),_0x9a2a76=this[_0x3bdf39(0x483)][_0x3bdf39(0x17d)](q);return(_0x340f3f=(_0x34875e=_0x9a2a76==null?void 0x0:_0x9a2a76[_0x3bdf39(0x35b)])!=null?_0x34875e:_0x310474)!=null?_0x340f3f:jn;}[_0x17863a(0x3e9)](){var _0x14bbc2=_0x17863a,_0x47341a;const _0x25f77b=this[_0x14bbc2(0x483)]['getConfig'](q);return(_0x47341a=_0x25f77b==null?void 0x0:_0x25f77b['downloadEndpointUrl'])!=null?_0x47341a:location[_0x14bbc2(0x3ac)];}[_0x17863a(0x19c)](_0xe2f26c,_0x3e5dcd){var _0x187191=_0x17863a;return _0xe2f26c[_0x187191(0x2cc)]('{fileID}',_0x3e5dcd);}[_0x17863a(0x262)](){var _0x362dd2=_0x17863a;this['_waitCount']-=0x1,this['_change$']['next'](this[_0x362dd2(0x182)]);}},exports[_0x17863a(0x4a9)]=Nn([xe(0x0,a[_0x17863a(0x45c)](z['HTTPService'])),xe(0x1,a['IConfigService']),xe(0x2,a[_0x17863a(0x45c)](a[_0x17863a(0x1ba)]))],exports[_0x17863a(0x4a9)]);var $n=Object[_0x17863a(0x3d8)],Hn=Object['getOwnPropertyDescriptor'],kn=(_0x454eeb,_0x14932d,_0x4989ef,_0x44b192)=>{var _0x2df83a=_0x17863a;for(var _0x456230=_0x44b192>0x1?void 0x0:_0x44b192?Hn(_0x14932d,_0x4989ef):_0x14932d,_0x3fb3e4=_0x454eeb[_0x2df83a(0x291)]-0x1,_0x2353e8;_0x3fb3e4>=0x0;_0x3fb3e4--)(_0x2353e8=_0x454eeb[_0x3fb3e4])&&(_0x456230=(_0x44b192?_0x2353e8(_0x14932d,_0x4989ef,_0x456230):_0x2353e8(_0x456230))||_0x456230);return _0x44b192&&_0x456230&&$n(_0x14932d,_0x4989ef,_0x456230),_0x456230;},lt=(_0x3bbeca,_0x13ac03)=>(_0x3470ab,_0x44d7e5)=>_0x13ac03(_0x3470ab,_0x44d7e5,_0x3bbeca);const Bn='/universer-api/authz';exports[_0x17863a(0x4c4)]=class{constructor(_0x491911,_0x10b39c){var _0x2793c4=_0x17863a;this[_0x2793c4(0x483)]=_0x491911,this['_HTTPService']=_0x10b39c;}[_0x17863a(0x47f)](){var _0x4bfa51=_0x17863a,_0x3a8903,_0x1a798f;const _0xf3b4c9=this[_0x4bfa51(0x483)][_0x4bfa51(0x17d)](Ge),_0x431bab=this['_configService'][_0x4bfa51(0x17d)](q);return(_0x1a798f=(_0x3a8903=_0x431bab==null?void 0x0:_0x431bab['authzUrl'])!=null?_0x3a8903:_0xf3b4c9)!=null?_0x1a798f:Bn;}async[_0x17863a(0x49f)](_0x3f15fe){var _0x27e8a0=_0x17863a;const _0x1f5ff2=this[_0x27e8a0(0x47f)]()+_0x27e8a0(0x4c6);return{'list':[{'title':'People','mentions':(await this[_0x27e8a0(0x1f8)][_0x27e8a0(0x1f9)](_0x1f5ff2,{'params':{'objectID':_0x3f15fe[_0x27e8a0(0x4d2)],'unitID':_0x3f15fe['unitId']}}))['body']['collaborators']['map'](_0x3617fd=>({'objectId':_0x3617fd['id'],'name':_0x3617fd['subject'][_0x27e8a0(0x20c)],'metadata':{'icon':_0x3617fd[_0x27e8a0(0x254)]['avatar']},'label':_0x3617fd[_0x27e8a0(0x254)][_0x27e8a0(0x20c)],'objectType':a['MentionType'][_0x27e8a0(0x495)]})),'metadata':{},'type':a[_0x27e8a0(0x49d)][_0x27e8a0(0x495)]}]};}},exports[_0x17863a(0x4c4)]=kn([lt(0x0,a['Inject'](a[_0x17863a(0x29c)])),lt(0x1,a[_0x17863a(0x45c)](z[_0x17863a(0x3e6)]))],exports[_0x17863a(0x4c4)]);var Fn=Object[_0x17863a(0x3d8)],Wn=Object['getOwnPropertyDescriptor'],Vn=(_0x547b26,_0x9e75be,_0x56fc10,_0x30e9e7)=>{var _0x233359=_0x17863a;for(var _0x3f7419=_0x30e9e7>0x1?void 0x0:_0x30e9e7?Wn(_0x9e75be,_0x56fc10):_0x9e75be,_0xa4cad4=_0x547b26[_0x233359(0x291)]-0x1,_0x4a7993;_0xa4cad4>=0x0;_0xa4cad4--)(_0x4a7993=_0x547b26[_0xa4cad4])&&(_0x3f7419=(_0x30e9e7?_0x4a7993(_0x9e75be,_0x56fc10,_0x3f7419):_0x4a7993(_0x3f7419))||_0x3f7419);return _0x30e9e7&&_0x3f7419&&Fn(_0x9e75be,_0x56fc10,_0x3f7419),_0x3f7419;},ce=(_0x706d03,_0x564a86)=>(_0x180f47,_0x8ba04e)=>_0x564a86(_0x180f47,_0x8ba04e,_0x706d03);let Ue=class extends a[_0x17863a(0x1de)]{constructor(_0x78b3,_0x21eeed,_0x4a8ac8,_0x3f4d76,_0x168a78,_0x5979cb,_0x40b4e8){var _0x1b2cd9=_0x17863a;super(),this[_0x1b2cd9(0x3f8)]=_0x78b3,this[_0x1b2cd9(0x3a6)]=_0x21eeed,this[_0x1b2cd9(0x414)]=_0x4a8ac8,this[_0x1b2cd9(0x286)]=_0x3f4d76,this[_0x1b2cd9(0x431)]=_0x168a78,this[_0x1b2cd9(0x27c)]=_0x5979cb,this['_undoRedoService']=_0x40b4e8,this[_0x1b2cd9(0x2de)](),this[_0x1b2cd9(0x215)]();}[_0x17863a(0x215)](){var _0x2c2207=_0x17863a;const _0x4a16a2=async _0xaef507=>{var _0x970548=_0x491b;(await this[_0x970548(0x286)]['requireSession'](_0xaef507))[_0x970548(0x345)]['pipe'](V[_0x970548(0x409)](_0x31a53a=>_0x31a53a[_0x970548(0x271)]===m[_0x970548(0x334)][_0x970548(0x3c4)]),V[_0x970548(0x50f)](this[_0x970548(0x1db)]))[_0x970548(0x3b0)](_0x151ec0=>{var _0x2b4946=_0x970548;const _0x1bf69b=_0x151ec0,{reason:_0x488176}=_0x1bf69b[_0x2b4946(0x34a)];this['_collaborationUIEventService'][_0x2b4946(0x410)]({'id':Q[_0x2b4946(0x2b5)],'data':_0x488176}),this[_0x2b4946(0x414)]['updatePermissionPoint'](new W['WorkbookEditablePermission'](_0xaef507)['id'],!0x1),this[_0x2b4946(0x286)][_0x2b4946(0x288)](_0xaef507);});};B[_0x2c2207(0x2ab)](this['_univerInstanceService'][_0x2c2207(0x2ff)](a[_0x2c2207(0x3c8)][_0x2c2207(0x309)]),this[_0x2c2207(0x3a6)][_0x2c2207(0x2ff)](a[_0x2c2207(0x3c8)][_0x2c2207(0x1d4)]))[_0x2c2207(0x457)](V[_0x2c2207(0x259)](_0xc4e3fe=>_0xc4e3fe[_0x2c2207(0x281)]()),V[_0x2c2207(0x409)](_0x1ee52a=>!a[_0x2c2207(0x226)](_0x1ee52a)),V[_0x2c2207(0x50f)](this[_0x2c2207(0x1db)]))['subscribe'](_0x4576a8=>{_0x4a16a2(_0x4576a8);});}[_0x17863a(0x2de)](){var _0x3e2bcb=_0x17863a;const _0xf447bc=async _0x4cf5a3=>{var _0x4906eb=_0x491b;(await this['_collaborationSessionService'][_0x4906eb(0x2a3)](_0x4cf5a3))[_0x4906eb(0x345)]['pipe'](V[_0x4906eb(0x409)](_0x130354=>_0x130354[_0x4906eb(0x271)]===m['CollaborationEvent'][_0x4906eb(0x394)]),V[_0x4906eb(0x50f)](this[_0x4906eb(0x1db)]))[_0x4906eb(0x3b0)](_0x175c82=>{var _0x45a0bc=_0x4906eb;const _0x99d692=_0x175c82,{objectId:_0xf573d1}=_0x99d692[_0x45a0bc(0x34a)];_0xf573d1===_0x4cf5a3?this[_0x45a0bc(0x3b7)](_0x4cf5a3):this[_0x45a0bc(0x40c)](_0x4cf5a3,_0xf573d1);});};B[_0x3e2bcb(0x2ab)](this['_univerInstanceService'][_0x3e2bcb(0x2ff)](a[_0x3e2bcb(0x3c8)][_0x3e2bcb(0x309)]),this[_0x3e2bcb(0x3a6)]['getTypeOfUnitAdded$'](a[_0x3e2bcb(0x3c8)][_0x3e2bcb(0x1d4)]))[_0x3e2bcb(0x457)](V[_0x3e2bcb(0x259)](_0x5d824d=>_0x5d824d[_0x3e2bcb(0x281)]()),V[_0x3e2bcb(0x409)](_0x589f01=>!a[_0x3e2bcb(0x226)](_0x589f01)),V['takeUntil'](this[_0x3e2bcb(0x1db)]))['subscribe'](_0x326388=>{_0xf447bc(_0x326388);});}async[_0x17863a(0x3b7)](_0x1bb27f){var _0x58b946=_0x17863a,_0x2967d0;const _0x2e3221=_0x1bb27f||((_0x2967d0=this['_univerInstanceService'][_0x58b946(0x237)](a[_0x58b946(0x3c8)]['UNIVER_SHEET']))==null?void 0x0:_0x2967d0[_0x58b946(0x281)]());_0x2e3221&&this['_authzIoService']['allowed']({'objectID':_0x2e3221,'objectType':W[_0x58b946(0x1fa)][_0x58b946(0x4e2)],'unitID':_0x2e3221,'actions':W[_0x58b946(0x4e9)]})[_0x58b946(0x2f7)](_0x451f13=>{var _0x3bd5f9=_0x58b946;W[_0x3bd5f9(0x185)]()[_0x3bd5f9(0x209)](_0x23e3bf=>{var _0x5d4344=_0x3bd5f9;const _0x3e605e=new _0x23e3bf(_0x2e3221),_0x15b487=_0x3e605e[_0x5d4344(0x50b)],_0xdee219=_0x451f13[_0x5d4344(0x190)](_0x3c5b76=>_0x3c5b76[_0x5d4344(0x272)]===_0x15b487);_0xdee219&&this['_permissionService'][_0x5d4344(0x1f6)](_0x3e605e['id'],_0xdee219[_0x5d4344(0x329)]);});});}['refreshPermission'](_0x47f0ac,_0x33c0a3){var _0x3083a4=_0x17863a;const _0x4d6961=this[_0x3083a4(0x3f8)][_0x3083a4(0x1f9)](W[_0x3083a4(0x3b6)]),_0x460432=_0x4d6961[_0x3083a4(0x510)](_0x47f0ac,_0x33c0a3);let _0x14c227=!0x1;if(_0x460432){const [_0x1f9ed6,_0x46fc49]=_0x460432;this['_authzIoService'][_0x3083a4(0x329)]({'objectID':_0x33c0a3,'unitID':_0x47f0ac,'objectType':W[_0x3083a4(0x1fa)][_0x3083a4(0x335)],'actions':W[_0x3083a4(0x4db)]})[_0x3083a4(0x2f7)](_0x116a10=>{var _0x478eb3=_0x3083a4;let _0x3049cf='';W['getAllWorksheetPermissionPoint']()[_0x478eb3(0x209)](_0x393211=>{var _0x2f9f7a=_0x478eb3,_0x5c2f6a;const _0x2b3163=new _0x393211(_0x47f0ac,_0x46fc49),_0x2971c2=_0x2b3163['subType'],_0x2e102e=_0x116a10[_0x2f9f7a(0x190)](_0xdc6054=>_0xdc6054[_0x2f9f7a(0x272)]===_0x2971c2);_0x2e102e&&(((_0x5c2f6a=this[_0x2f9f7a(0x414)][_0x2f9f7a(0x223)](_0x2b3163['id']))==null?void 0x0:_0x5c2f6a['value'])!==_0x2e102e[_0x2f9f7a(0x329)]&&(_0x14c227=!0x0),this[_0x2f9f7a(0x414)][_0x2f9f7a(0x1f6)](_0x2b3163['id'],_0x2e102e[_0x2f9f7a(0x329)]),_0x3049cf+=_0x2e102e['action']+'_'+_0x2e102e[_0x2f9f7a(0x329)]);}),_0x4d6961[_0x478eb3(0x277)](_0x33c0a3+'_'+_0x3049cf),_0x14c227&&this[_0x478eb3(0x23f)][_0x478eb3(0x2df)](_0x47f0ac);});}const _0x113ffb=this['_injector'][_0x3083a4(0x1f9)](W[_0x3083a4(0x2fb)])[_0x3083a4(0x510)](_0x47f0ac,_0x33c0a3);if(_0x113ffb){const [_0x313f41,_0x48d109]=_0x113ffb;this['_authzIoService'][_0x3083a4(0x329)]({'objectID':_0x33c0a3,'unitID':_0x47f0ac,'objectType':W[_0x3083a4(0x1fa)][_0x3083a4(0x335)],'actions':W['defaultWorksheetPermissionPoint']})[_0x3083a4(0x2f7)](_0x5d9f24=>{var _0x4498e3=_0x3083a4;W[_0x4498e3(0x472)]()[_0x4498e3(0x209)](_0x3752b5=>{var _0x10638f=_0x4498e3,_0x59b103;const _0x3ffb55=new _0x3752b5(_0x47f0ac,_0x48d109),_0x11ab1f=_0x3ffb55[_0x10638f(0x50b)],_0x7ffc2f=_0x5d9f24[_0x10638f(0x190)](_0x1cc531=>_0x1cc531['action']===_0x11ab1f);_0x7ffc2f&&(((_0x59b103=this[_0x10638f(0x414)][_0x10638f(0x223)](_0x3ffb55['id']))==null?void 0x0:_0x59b103['value'])!==_0x7ffc2f[_0x10638f(0x329)]&&(_0x14c227=!0x0),this['_permissionService'][_0x10638f(0x1f6)](_0x3ffb55['id'],_0x7ffc2f[_0x10638f(0x329)]));}),_0x14c227&&this['_undoRedoService'][_0x4498e3(0x2df)](_0x47f0ac);});}const _0xc52227=this[_0x3083a4(0x3f8)][_0x3083a4(0x1f9)](W['RangeProtectionRuleModel']),_0x1b6f00=_0xc52227['getTargetByPermissionId'](_0x47f0ac,_0x33c0a3);if(_0x1b6f00){const [_0xafe317,_0xe705bb]=_0x1b6f00;this[_0x3083a4(0x27c)]['allowed']({'objectID':_0x33c0a3,'unitID':_0x47f0ac,'objectType':W[_0x3083a4(0x1fa)][_0x3083a4(0x460)],'actions':W[_0x3083a4(0x4db)]})[_0x3083a4(0x2f7)](_0x5cbd83=>{var _0x2a120=_0x3083a4;let _0x23a972='';W['getAllRangePermissionPoint']()[_0x2a120(0x209)](_0x4d24d1=>{var _0x240dee=_0x2a120,_0x36f281;const _0x3a5de3=new _0x4d24d1(_0x47f0ac,_0xe705bb,_0x33c0a3),_0x3d83c5=_0x3a5de3[_0x240dee(0x50b)],_0x43191a=_0x5cbd83['find'](_0x1e0f7e=>_0x1e0f7e[_0x240dee(0x272)]===_0x3d83c5);_0x43191a&&(((_0x36f281=this['_permissionService'][_0x240dee(0x223)](_0x3a5de3['id']))==null?void 0x0:_0x36f281[_0x240dee(0x4e4)])!==_0x43191a[_0x240dee(0x329)]&&(_0x14c227=!0x0),this[_0x240dee(0x414)][_0x240dee(0x1f6)](_0x3a5de3['id'],_0x43191a[_0x240dee(0x329)]),_0x23a972+=_0x43191a[_0x240dee(0x272)]+'_'+_0x43191a[_0x240dee(0x329)]);}),_0xc52227[_0x2a120(0x277)](_0x33c0a3+'_'+_0x23a972),_0x14c227&&this[_0x2a120(0x23f)][_0x2a120(0x2df)](_0x47f0ac);});}}};Ue=Vn([ce(0x0,a[_0x17863a(0x45c)](a['Injector'])),ce(0x1,a[_0x17863a(0x1ba)]),ce(0x2,a['IPermissionService']),ce(0x3,a['Inject'](exports['CollaborationSessionService'])),ce(0x4,a[_0x17863a(0x45c)](te)),ce(0x5,a['IAuthzIoService']),ce(0x6,a[_0x17863a(0x3b1)])],Ue);var Gn=Object[_0x17863a(0x3d8)],Kn=Object['getOwnPropertyDescriptor'],Yn=(_0x4768bc,_0x4a674e,_0x3c8837,_0x116b48)=>{for(var _0xf0c78f=_0x116b48>0x1?void 0x0:_0x116b48?Kn(_0x4a674e,_0x3c8837):_0x4a674e,_0x42341e=_0x4768bc['length']-0x1,_0xf16f9c;_0x42341e>=0x0;_0x42341e--)(_0xf16f9c=_0x4768bc[_0x42341e])&&(_0xf0c78f=(_0x116b48?_0xf16f9c(_0x4a674e,_0x3c8837,_0xf0c78f):_0xf16f9c(_0xf0c78f))||_0xf0c78f);return _0x116b48&&_0xf0c78f&&Gn(_0x4a674e,_0x3c8837,_0xf0c78f),_0xf0c78f;},_t=(_0x4dbb1d,_0x4e6bc6)=>(_0x54ae32,_0x418f85)=>_0x4e6bc6(_0x54ae32,_0x418f85,_0x4dbb1d);exports[_0x17863a(0x48e)]=class{constructor(_0x2f220d,_0x4be797){var _0x3c09eb=_0x17863a;this[_0x3c09eb(0x483)]=_0x2f220d,this['_httpService']=_0x4be797;}async[_0x17863a(0x24a)](_0x570ca9,_0x3e1ed7){var _0x1bab1d=_0x17863a,_0x1d9e62;const {unitID:_0x41faa2,type:_0x25efb4,revision:_0x2050f3=0x0}=_0x3e1ed7,_0xb75013=this['getSnapshotAPIPath']()+'/'+_0x25efb4+_0x1bab1d(0x459)+_0x41faa2+_0x1bab1d(0x487)+_0x2050f3,_0x5755e9=(await this[_0x1bab1d(0x22f)][_0x1bab1d(0x1f9)](_0xb75013))['body'],_0x2bba44=(_0x1d9e62=_0x5755e9['snapshot'])==null?void 0x0:_0x1d9e62['workbook'];if(_0x2bba44){const _0x25f885=_0x2bba44==null?void 0x0:_0x2bba44[_0x1bab1d(0x39f)],_0x414a98=m[_0x1bab1d(0x426)]['encode'](m[_0x1bab1d(0x1a1)](_0x25f885));_0x2bba44['originalMeta']=_0x414a98,Object[_0x1bab1d(0x195)](_0x2bba44[_0x1bab1d(0x39a)])[_0x1bab1d(0x209)](([,_0x1db9f8])=>{var _0x4ce40f=_0x1bab1d;const _0x105724=_0x1db9f8[_0x4ce40f(0x39f)],_0x377b6e=m[_0x4ce40f(0x426)]['encode'](m[_0x4ce40f(0x1a1)](_0x105724));_0x1db9f8[_0x4ce40f(0x39f)]=_0x377b6e;});}return _0x5755e9;}async['getSheetBlock'](_0x1d39b1,_0x48a42f){var _0x1cd49d=_0x17863a;const {unitID:_0x287e73,type:_0xb58a0c,blockID:_0x29e1e7}=_0x48a42f,_0x2d6ea4=this[_0x1cd49d(0x3e1)]()+'/'+_0xb58a0c+'/unit/'+_0x287e73+_0x1cd49d(0x31a)+_0x29e1e7;return(await this[_0x1cd49d(0x22f)][_0x1cd49d(0x1f9)](_0x2d6ea4))[_0x1cd49d(0x21b)];}async[_0x17863a(0x2c7)](_0x39b0ff,_0xbb34e2){var _0x1b0f88=_0x17863a;const {unitID:_0x3d69d9,type:_0x290588,blockID:_0x130340}=_0xbb34e2,_0x2dcfec=this['_getAPIPrefix']()+_0x1b0f88(0x31a)+_0x290588+_0x1b0f88(0x459)+_0x3d69d9+'/block/'+_0x130340;return(await this[_0x1b0f88(0x22f)][_0x1b0f88(0x1f9)](_0x2dcfec))[_0x1b0f88(0x21b)];}async[_0x17863a(0x3e2)](_0x25ceeb,_0x119cbe){var _0x436020=_0x17863a;const {unitID:_0x5cd757,type:_0x687491,from:_0x56be4a,to:_0x2e7470}=_0x119cbe,_0x441386=this[_0x436020(0x3e1)]()+'/'+_0x687491+_0x436020(0x459)+_0x5cd757+_0x436020(0x50a)+_0x56be4a+_0x436020(0x26a)+_0x2e7470;return(await this[_0x436020(0x22f)][_0x436020(0x1f9)](_0x441386))['body'];}[_0x17863a(0x300)](){var _0x4be64e=_0x17863a,_0x5e2801;return(_0x5e2801=this[_0x4be64e(0x483)][_0x4be64e(0x17d)](vt))!=null?_0x5e2801:this[_0x4be64e(0x3e1)]();}['_getAPIPrefix'](){var _0xd011d7=_0x17863a,_0x4a01c5,_0x1357ad;const _0x2c768a=this[_0xd011d7(0x483)]['getConfig'](dt),_0x9d5a95=this[_0xd011d7(0x483)][_0xd011d7(0x17d)](q);return(_0x1357ad=(_0x4a01c5=_0x9d5a95==null?void 0x0:_0x9d5a95['snapshotServerUrl'])!=null?_0x4a01c5:_0x2c768a)!=null?_0x1357ad:$t;}async[_0x17863a(0x452)](_0x354bd6,_0x35c580){var _0x2bee5a=_0x17863a;const _0x509ca4=_0x2bee5a(0x1ff)+_0x35c580[_0x2bee5a(0x21d)]+'/unit/'+_0x35c580['unitID']+_0x2bee5a(0x37f);return(await this['_httpService'][_0x2bee5a(0x1f9)](_0x509ca4,{'params':{'resourceId':JSON[_0x2bee5a(0x390)](_0x35c580[_0x2bee5a(0x404)])}}))[_0x2bee5a(0x21b)];}['saveSnapshot'](){var _0x8c2c4a=_0x17863a;throw new Error(_0x8c2c4a(0x33b));}[_0x17863a(0x249)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x17863a(0x1f2)](){var _0x3982dc=_0x17863a;throw new Error(_0x3982dc(0x33b));}[_0x17863a(0x427)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['getLatestCsReqIdBySid'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},exports[_0x17863a(0x48e)]=Yn([_t(0x0,a[_0x17863a(0x29c)]),_t(0x1,a['Inject'](z[_0x17863a(0x3e6)]))],exports[_0x17863a(0x48e)]);var qn=Object[_0x17863a(0x3d8)],zn=Object[_0x17863a(0x381)],Jn=(_0x4b08b2,_0x172d37,_0x20583e,_0x44f183)=>{var _0x2ccaf4=_0x17863a;for(var _0x227683=_0x44f183>0x1?void 0x0:_0x44f183?zn(_0x172d37,_0x20583e):_0x172d37,_0x3158dc=_0x4b08b2[_0x2ccaf4(0x291)]-0x1,_0x5e9d7b;_0x3158dc>=0x0;_0x3158dc--)(_0x5e9d7b=_0x4b08b2[_0x3158dc])&&(_0x227683=(_0x44f183?_0x5e9d7b(_0x172d37,_0x20583e,_0x227683):_0x5e9d7b(_0x227683))||_0x227683);return _0x44f183&&_0x227683&&qn(_0x172d37,_0x20583e,_0x227683),_0x227683;},de=(_0x5ec04e,_0x3bfa1e)=>(_0x4d8c70,_0x2b3a9b)=>_0x3bfa1e(_0x4d8c70,_0x2b3a9b,_0x5ec04e);exports[_0x17863a(0x21e)]=class extends a[_0x17863a(0x44e)]{constructor(_0x4aeb6e,_0x53b158,_0x13a054,_0x476ca4,_0x34b4ac){var _0x444576=_0x17863a;super(_0x4aeb6e,_0x53b158,_0x13a054),this[_0x444576(0x245)]=_0x476ca4,this[_0x444576(0x3df)]=_0x34b4ac;}[_0x17863a(0x2ce)](_0x4576fc,_0x1ac9d3){var _0x30f375=_0x17863a;const _0x7533fe=this[_0x30f375(0x1c5)](_0x4576fc);if(_0x7533fe)try{const _0x2fa760=this['_transformStack'](_0x7533fe,_0x1ac9d3);this[_0x30f375(0x4e7)](_0x4576fc,_0x2fa760);}catch(_0x10a531){this[_0x30f375(0x3df)]['error'](_0x30f375(0x18b),_0x10a531),this[_0x30f375(0x1b3)](_0x4576fc);}const _0x2f10ad=this['_getRedoStack'](_0x4576fc);if(_0x2f10ad)try{const _0xcb6ad9=this['_transformStack'](_0x2f10ad,_0x1ac9d3);this[_0x30f375(0x184)](_0x4576fc,_0xcb6ad9);}catch(_0x2fa03c){this[_0x30f375(0x3df)][_0x30f375(0x198)](_0x2fa03c),this[_0x30f375(0x28e)](_0x4576fc);}}[_0x17863a(0x1b3)](_0x30c8ce){var _0x30c344=_0x17863a;const _0x1491b1=this['_getUndoStack'](_0x30c8ce);_0x1491b1&&(_0x1491b1['length']=0x0,this[_0x30c344(0x1b9)]());}[_0x17863a(0x28e)](_0x48e873){var _0x16900b=_0x17863a;const _0x104a43=this[_0x16900b(0x26f)](_0x48e873);_0x104a43&&(_0x104a43[_0x16900b(0x291)]=0x0,this[_0x16900b(0x1b9)]());}[_0x17863a(0x4e7)](_0x12fe92,_0x8da89f){var _0x441d56=_0x17863a;this[_0x441d56(0x401)][_0x441d56(0x471)](_0x12fe92,_0x8da89f),this[_0x441d56(0x1b9)]();}['_substituteRedoStack'](_0x568143,_0x4804c4){var _0x2f6d6d=_0x17863a;this[_0x2f6d6d(0x183)][_0x2f6d6d(0x471)](_0x568143,_0x4804c4),this[_0x2f6d6d(0x1b9)]();}[_0x17863a(0x219)](_0xa991b7,_0x62a529){var _0x6b4eaa=_0x17863a;const _0x5ffe76=[];let _0x577d5d=_0x62a529,_0x46dc11=_0x62a529;for(let _0xec0822=_0xa991b7['length']-0x1;_0xec0822>=0x0;_0xec0822--){const {unitID:_0x5072f0,undoMutations:_0x170856,redoMutations:_0x12dbc7}=_0xa991b7[_0xec0822],_0x469db6=this[_0x6b4eaa(0x245)][_0x6b4eaa(0x43b)](_0x577d5d,_0x170856),_0x27fdf1=this[_0x6b4eaa(0x245)]['transformMutationsWithChangeset'](_0x46dc11,_0x12dbc7);if(m[_0x6b4eaa(0x244)](_0x469db6)||m['isTransformMutationsWithChangesetFailure'](_0x27fdf1)){this[_0x6b4eaa(0x3df)][_0x6b4eaa(0x198)](_0x6b4eaa(0x18b),'transformStack\x20failed!',_0x469db6,_0x27fdf1);break;}_0x577d5d=_0x469db6['c1Prime'],_0x46dc11=_0x27fdf1[_0x6b4eaa(0x1e3)],_0x5ffe76[_0x6b4eaa(0x327)]({'unitID':_0x5072f0,'undoMutations':_0x469db6[_0x6b4eaa(0x2d4)],'redoMutations':_0x27fdf1[_0x6b4eaa(0x2d4)]});}return _0x5ffe76[_0x6b4eaa(0x326)]();}},exports['CollaborativeUndoRedoService']=Jn([de(0x0,a[_0x17863a(0x1ba)]),de(0x1,a[_0x17863a(0x204)]),de(0x2,a['IContextService']),de(0x3,m[_0x17863a(0x4bc)]),de(0x4,a[_0x17863a(0x4fa)])],exports['CollaborativeUndoRedoService']);var At=Object[_0x17863a(0x3d8)],Xn=Object['getOwnPropertyDescriptor'],Zn=(_0x239a7f,_0x244287,_0x41f077)=>_0x244287 in _0x239a7f?At(_0x239a7f,_0x244287,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x41f077}):_0x239a7f[_0x244287]=_0x41f077,Qn=(_0x28f295,_0x1477e4,_0x2235a7,_0x4f3a38)=>{for(var _0x1261c5=_0x4f3a38>0x1?void 0x0:_0x4f3a38?Xn(_0x1477e4,_0x2235a7):_0x1477e4,_0x42a97e=_0x28f295['length']-0x1,_0x12ae14;_0x42a97e>=0x0;_0x42a97e--)(_0x12ae14=_0x28f295[_0x42a97e])&&(_0x1261c5=(_0x4f3a38?_0x12ae14(_0x1477e4,_0x2235a7,_0x1261c5):_0x12ae14(_0x1261c5))||_0x1261c5);return _0x4f3a38&&_0x1261c5&&At(_0x1477e4,_0x2235a7,_0x1261c5),_0x1261c5;},je=(_0x18d20f,_0x35bcc6)=>(_0x4053da,_0x2f1f8b)=>_0x35bcc6(_0x4053da,_0x2f1f8b,_0x18d20f),er=(_0x2b153c,_0x382eb5,_0x517078)=>Zn(_0x2b153c,_0x382eb5+'',_0x517078);const tr='UNIVER_COLLABORATION_CLIENT_PLUGIN';exports['UniverCollaborationClientPlugin']=class extends a[_0x17863a(0x494)]{constructor(_0x5a9f2a=zt,_0x5059a1,_0x1d6df0,_0x41ed57){var _0x4ce8f1=_0x17863a;super(),this[_0x4ce8f1(0x331)]=_0x5a9f2a,this[_0x4ce8f1(0x3df)]=_0x5059a1,this[_0x4ce8f1(0x3f8)]=_0x1d6df0,this[_0x4ce8f1(0x483)]=_0x41ed57;const {..._0x477672}=this[_0x4ce8f1(0x331)];this[_0x4ce8f1(0x483)][_0x4ce8f1(0x507)](q,_0x477672);}[_0x17863a(0x1d0)](){var _0x720e73=_0x17863a;this[_0x720e73(0x1f4)](),this['_initDependencies']();}[_0x17863a(0x1f4)](){var _0x1ebd45=_0x17863a,_0x57a7a0,_0x2358cc,_0x15f5cd,_0x4e9fa0;this['_injector'][_0x1ebd45(0x3f0)](a[_0x1ebd45(0x3b1)])&&this[_0x1ebd45(0x3df)][_0x1ebd45(0x198)]('[UniverCollaborationClientPlugin]','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x370a0a=a[_0x1ebd45(0x228)]([[a[_0x1ebd45(0x3b1)],{'useClass':exports['CollaborativeUndoRedoService']}],[exports[_0x1ebd45(0x488)]],[exports[_0x1ebd45(0x283)]],[exports['SheetTransformSelectionsService']],[Oe],[Pe],[Be],[Ue],[te],[exports['DataLoaderService']],[ke,{'useClass':(_0x2358cc=(_0x57a7a0=this['_config'])==null?void 0x0:_0x57a7a0['socketService'])!=null?_0x2358cc:exports[_0x1ebd45(0x1c9)]}],[m['ISnapshotServerService'],{'useClass':exports[_0x1ebd45(0x48e)]}],[a[_0x1ebd45(0x1aa)],{'useClass':exports[_0x1ebd45(0x37b)]}],[X[_0x1ebd45(0x44b)],{'useClass':exports[_0x1ebd45(0x4a9)]}],[a[_0x1ebd45(0x45a)],{'useClass':exports[_0x1ebd45(0x4c4)]}],[exports['CollaborationController']],[$e]],(_0x15f5cd=this['_config'])==null?void 0x0:_0x15f5cd[_0x1ebd45(0x332)]);if(!((_0x4e9fa0=this[_0x1ebd45(0x331)])!=null&&_0x4e9fa0[_0x1ebd45(0x370)])){const _0x306f3a=_0x370a0a[_0x1ebd45(0x359)](([_0x350903])=>_0x350903===ve);_0x306f3a!==-0x1&&_0x370a0a[_0x1ebd45(0x4ac)](_0x306f3a,0x1);}a[_0x1ebd45(0x349)](this[_0x1ebd45(0x3f8)],_0x370a0a);}[_0x17863a(0x423)](){var _0x5a9f63=_0x17863a,_0x29800c,_0x434f50,_0x4698aa;this[_0x5a9f63(0x3f8)][_0x5a9f63(0x1f9)](z[_0x5a9f63(0x3e6)])[_0x5a9f63(0x21c)]({'priority':0x14,'interceptor':z['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x29800c=this[_0x5a9f63(0x331)])!=null&&_0x29800c[_0x5a9f63(0x2dd)]||(_0x434f50=this['_injector'][_0x5a9f63(0x1f9)](J,a['Quantity'][_0x5a9f63(0x220)]))==null||_0x434f50['disableLocalCache'](),(_0x4698aa=this[_0x5a9f63(0x331)])!=null&&_0x4698aa[_0x5a9f63(0x2b6)]&&a[_0x5a9f63(0x37c)](this[_0x5a9f63(0x3f8)],[[Oe]]),a[_0x5a9f63(0x37c)](this[_0x5a9f63(0x3f8)],[[Pe],[exports[_0x5a9f63(0x42d)]],[Ue]]);}},er(exports[_0x17863a(0x2e4)],_0x17863a(0x1ad),tr),exports[_0x17863a(0x2e4)]=Qn([a[_0x17863a(0x392)](m[_0x17863a(0x4a7)],W[_0x17863a(0x1d9)],z['UniverNetworkPlugin']),je(0x1,a['ILogService']),je(0x2,a[_0x17863a(0x45c)](a[_0x17863a(0x470)])),je(0x3,a[_0x17863a(0x29c)])],exports['UniverCollaborationClientPlugin']),exports[_0x17863a(0x29a)]=Ge,exports[_0x17863a(0x38f)]=q,exports[_0x17863a(0x34e)]=It,exports['COLLAB_WEB_SOCKET_URL_KEY']=ft,exports['CollaborationStatus']=We,exports[_0x17863a(0x333)]=Q,exports[_0x17863a(0x246)]=te,exports[_0x17863a(0x208)]=Be,exports['DEFAULT_COLLAB_WEB_SOCKET_URL']=St,exports[_0x17863a(0x2d7)]=pt,exports[_0x17863a(0x180)]=He,exports[_0x17863a(0x432)]=ke,exports[_0x17863a(0x419)]=J,exports[_0x17863a(0x3c0)]=bt,exports[_0x17863a(0x498)]=ve,exports[_0x17863a(0x4d4)]=Kt,exports[_0x17863a(0x25a)]=Gt,exports[_0x17863a(0x28a)]=Et,exports[_0x17863a(0x1a6)]=mt,exports['SEND_CHANGESET_TIMEOUT_KEY']=Ht,exports[_0x17863a(0x36c)]=dt,exports['SNAPSHOT_URL_KEY']=vt,exports[_0x17863a(0x448)]=se,exports[_0x17863a(0x2f3)]=Fe,exports[_0x17863a(0x42f)]=Rt,exports[_0x17863a(0x1c2)]=pi,exports[_0x17863a(0x4b4)]=yt;
1
+ 'use strict';var _0x41e00d=_0x2308;(function(_0x5e4794,_0x24392d){var _0x3deefc=_0x2308,_0x533499=_0x5e4794();while(!![]){try{var _0x42a0ee=parseInt(_0x3deefc(0x3bc))/0x1+-parseInt(_0x3deefc(0x30f))/0x2*(-parseInt(_0x3deefc(0x4c5))/0x3)+parseInt(_0x3deefc(0x277))/0x4*(parseInt(_0x3deefc(0x2cf))/0x5)+-parseInt(_0x3deefc(0x354))/0x6+parseInt(_0x3deefc(0x3dd))/0x7*(-parseInt(_0x3deefc(0x2e3))/0x8)+parseInt(_0x3deefc(0x23a))/0x9+-parseInt(_0x3deefc(0x2cc))/0xa*(parseInt(_0x3deefc(0x1fb))/0xb);if(_0x42a0ee===_0x24392d)break;else _0x533499['push'](_0x533499['shift']());}catch(_0x4e2407){_0x533499['push'](_0x533499['shift']());}}}(_0xf560,0x66f80));var Lt=Object[_0x41e00d(0x26a)],Mt=(_0x28aeaf,_0x14588f,_0x23fd1c)=>_0x14588f in _0x28aeaf?Lt(_0x28aeaf,_0x14588f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x23fd1c}):_0x28aeaf[_0x14588f]=_0x23fd1c,D=(_0x4e033f,_0x202442,_0x191091)=>Mt(_0x4e033f,typeof _0x202442!=_0x41e00d(0x3c2)?_0x202442+'':_0x202442,_0x191091);Object[_0x41e00d(0x26a)](exports,Symbol['toStringTag'],{'value':'Module'});const a=require('@univerjs/core'),H=require(_0x41e00d(0x25a)),V=require('rxjs/operators'),z=require('@univerjs/network'),m=require(_0x41e00d(0x32f)),xt=require(_0x41e00d(0x17f)),ut=require(_0x41e00d(0x465)),W=require(_0x41e00d(0x2f4)),X=require(_0x41e00d(0x14a)),jt=require(_0x41e00d(0x386)),dt='SNAPSHOT_SERVER_URL_KEY',$t=_0x41e00d(0x335),vt=_0x41e00d(0x432),Ht=_0x41e00d(0x3ed),kt=0x7d0,ft='COLLAB_WEB_SOCKET_URL',St=_0x41e00d(0x21b),Bt=_0x41e00d(0x3ba),pt=_0x41e00d(0x35d),Ft=0x7530,He=_0x41e00d(0x2ec),gt=0x4e20,Wt=0x4e20,mt=_0x41e00d(0x286),Vt=0x3,Gt=_0x41e00d(0x2e5),Kt=0x3e8,It=_0x41e00d(0x143),Yt=_0x41e00d(0x2ac),Et='LOGIN_URL_KEY',qt=_0x41e00d(0x447);var Ct=(_0x42dae3=>(_0x42dae3[_0x42dae3['UNDEFINED']=0x0]=_0x41e00d(0x30a),_0x42dae3[_0x42dae3['OK']=0x1]='OK',_0x42dae3[_0x42dae3[_0x41e00d(0x2ff)]=0x2]='INTERNAL_ERROR',_0x42dae3[_0x42dae3[_0x41e00d(0x350)]=0x3]=_0x41e00d(0x350),_0x42dae3[_0x42dae3[_0x41e00d(0x41d)]=0x4]=_0x41e00d(0x41d),_0x42dae3[_0x42dae3[_0x41e00d(0x14c)]=0x5]='UNAUTHENTICATED',_0x42dae3[_0x42dae3['ALREADY_EXISTS']=0x6]=_0x41e00d(0x24e),_0x42dae3[_0x42dae3[_0x41e00d(0x3e1)]=0x7]='INVALID_ARGUMENT',_0x42dae3[_0x42dae3['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x42dae3[_0x42dae3[_0x41e00d(0x346)]=0x9]=_0x41e00d(0x346),_0x42dae3[_0x42dae3[_0x41e00d(0x462)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x42dae3[_0x42dae3['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x41e00d(0x2d2),_0x42dae3[_0x42dae3['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x41e00d(0x2a5),_0x42dae3[_0x42dae3[_0x41e00d(0x490)]=0x1773]=_0x41e00d(0x490),_0x42dae3[_0x42dae3[_0x41e00d(0x322)]=0x1b59]=_0x41e00d(0x322),_0x42dae3[_0x42dae3[_0x41e00d(0x1df)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x42dae3[_0x42dae3[_0x41e00d(0x263)]=0x1b5b]=_0x41e00d(0x263),_0x42dae3[_0x42dae3[_0x41e00d(0x3b6)]=0x1b5c]=_0x41e00d(0x3b6),_0x42dae3[_0x42dae3[_0x41e00d(0x411)]=0x1b5d]=_0x41e00d(0x411),_0x42dae3[_0x42dae3[_0x41e00d(0x464)]=0x1f41]=_0x41e00d(0x464),_0x42dae3[_0x42dae3[_0x41e00d(0x37b)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x42dae3[_0x42dae3[_0x41e00d(0x36a)]=0x232a]=_0x41e00d(0x36a),_0x42dae3[_0x42dae3[_0x41e00d(0x243)]=0x232b]=_0x41e00d(0x243),_0x42dae3[_0x42dae3[_0x41e00d(0x19a)]=0x232c]=_0x41e00d(0x19a),_0x42dae3[_0x42dae3[_0x41e00d(0x3cc)]=0x232d]=_0x41e00d(0x3cc),_0x42dae3[_0x42dae3[_0x41e00d(0x406)]=0x2711]=_0x41e00d(0x406),_0x42dae3[_0x42dae3['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x41e00d(0x3e7),_0x42dae3[_0x42dae3['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x41e00d(0x4c4),_0x42dae3[_0x42dae3[_0x41e00d(0x39a)]=0x2714]=_0x41e00d(0x39a),_0x42dae3[_0x42dae3[_0x41e00d(0x2ef)]=-0x1]=_0x41e00d(0x2ef),_0x42dae3))(Ct||{}),Z=(_0xbc193d=>(_0xbc193d[_0xbc193d['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0xbc193d[_0xbc193d['UNIVER_DOC']=0x1]=_0x41e00d(0x397),_0xbc193d[_0xbc193d[_0x41e00d(0x43a)]=0x2]=_0x41e00d(0x43a),_0xbc193d[_0xbc193d[_0x41e00d(0x262)]=0x3]='UNIVER_SLIDE',_0xbc193d[_0xbc193d['UNIVER_PROJECT']=0x4]=_0x41e00d(0x1d2),_0xbc193d[_0xbc193d[_0x41e00d(0x2ef)]=-0x1]=_0x41e00d(0x2ef),_0xbc193d))(Z||{}),G=(_0x1dc607=>(_0x1dc607[_0x1dc607[_0x41e00d(0x17a)]=0x0]=_0x41e00d(0x17a),_0x1dc607[_0x1dc607['HELLO']=0x1]=_0x41e00d(0x2e9),_0x1dc607[_0x1dc607[_0x41e00d(0x217)]=0x2]=_0x41e00d(0x217),_0x1dc607[_0x1dc607[_0x41e00d(0x158)]=0x3]='LEAVE',_0x1dc607[_0x1dc607[_0x41e00d(0x496)]=0x4]=_0x41e00d(0x496),_0x1dc607[_0x1dc607[_0x41e00d(0x17c)]=0x5]=_0x41e00d(0x17c),_0x1dc607[_0x1dc607[_0x41e00d(0x193)]=0x6]='RECV',_0x1dc607[_0x1dc607[_0x41e00d(0x2ef)]=-0x1]=_0x41e00d(0x2ef),_0x1dc607))(G||{}),he=(_0x34b606=>(_0x34b606[_0x34b606[_0x41e00d(0x191)]=0x0]='UNKNOWN_CODE',_0x34b606[_0x34b606['OK']=0x1]='OK',_0x34b606[_0x34b606['FAIL']=0x2]=_0x41e00d(0x1bf),_0x34b606[_0x34b606[_0x41e00d(0x266)]=0x3e9]='JOIN_ROOM_FULL',_0x34b606[_0x34b606[_0x41e00d(0x474)]=0x3ea]=_0x41e00d(0x474),_0x34b606[_0x34b606[_0x41e00d(0x237)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x34b606[_0x34b606[_0x41e00d(0x3e3)]=0x3ec]=_0x41e00d(0x3e3),_0x34b606[_0x34b606[_0x41e00d(0x2ef)]=-0x1]=_0x41e00d(0x2ef),_0x34b606))(he||{}),Tt=(_0x1dd46b=>(_0x1dd46b[_0x1dd46b[_0x41e00d(0x4a2)]=0x0]=_0x41e00d(0x4a2),_0x1dd46b[_0x1dd46b['HttpImport']=0x1]=_0x41e00d(0x3f2),_0x1dd46b[_0x1dd46b[_0x41e00d(0x261)]=0x2]='HttpExport',_0x1dd46b[_0x1dd46b['UnitEmbedded']=0x3]=_0x41e00d(0x377),_0x1dd46b[_0x1dd46b[_0x41e00d(0x420)]=0x4]=_0x41e00d(0x420),_0x1dd46b[_0x1dd46b['UNRECOGNIZED']=-0x1]=_0x41e00d(0x2ef),_0x1dd46b))(Tt||{});const q='collaboration-client.config',zt={};var Q=(_0x1ede76=>(_0x1ede76[_0x41e00d(0x3f0)]=_0x41e00d(0x3f0),_0x1ede76[_0x41e00d(0x350)]=_0x41e00d(0x350),_0x1ede76[_0x41e00d(0x23c)]=_0x41e00d(0x23c),_0x1ede76[_0x41e00d(0x486)]=_0x41e00d(0x486),_0x1ede76[_0x41e00d(0x3ea)]='JOIN_ROOM_FAILED',_0x1ede76[_0x41e00d(0x232)]=_0x41e00d(0x232),_0x1ede76['SOCKET_FAILED']=_0x41e00d(0x285),_0x1ede76[_0x41e00d(0x20a)]='SUBMIT_CHANGESET_TIMEOUT',_0x1ede76))(Q||{});class te{constructor(){var _0x380ec5=_0x41e00d;D(this,_0x380ec5(0x186),new H[(_0x380ec5(0x3c5))]()),D(this,_0x380ec5(0x306),this[_0x380ec5(0x186)][_0x380ec5(0x2da)]());}[_0x41e00d(0x1d4)](_0x5b35ea){var _0x200207=_0x41e00d;this[_0x200207(0x186)][_0x200207(0x2e7)](_0x5b35ea);}}const bt=a['createIdentifier'](_0x41e00d(0x4b2));function Rt(_0x5e0812){var _0xd16160=_0x41e00d,_0xd861bb,_0x44a256,_0x157782,_0x126029,_0xf11c4f;const _0x83e34f=_0x5e0812[_0xd16160(0x308)],_0x3d9167=JSON[_0xd16160(0x45f)](_0x83e34f);switch(_0x3d9167[_0xd16160(0x1a1)]){case G['HEARTBEAT']:case G[_0xd16160(0x2e9)]:{const _0x191e02=_0x3d9167[_0xd16160(0x3aa)];return{..._0x3d9167,'data':_0x191e02,'cmd':_0x3d9167[_0xd16160(0x1a1)]};}case G[_0xd16160(0x217)]:{const _0x3eda94=_0x3d9167[_0xd16160(0x249)];return{..._0x3d9167,'data':_0x3eda94,'cmd':_0x3d9167['cmd']};}case G[_0xd16160(0x193)]:{const _0x38e155=_0x3d9167[_0xd16160(0x3dc)];switch(_0x38e155[_0xd16160(0x3bb)]){case m[_0xd16160(0x3b0)][_0xd16160(0x326)]:return{..._0x3d9167,'data':{..._0x38e155,'data':(_0xd861bb=_0x38e155[_0xd16160(0x2df)])==null?void 0x0:_0xd861bb['cs']},'cmd':_0x3d9167[_0xd16160(0x1a1)]};case m['CollaborationEvent'][_0xd16160(0x42e)]:return{..._0x3d9167,'data':{..._0x38e155,'data':(_0x44a256=_0x38e155[_0xd16160(0x469)])==null?void 0x0:_0x44a256['cs']},'cmd':_0x3d9167[_0xd16160(0x1a1)]};case m[_0xd16160(0x3b0)][_0xd16160(0x2b9)]:return{..._0x3d9167,'data':{..._0x38e155,'data':(_0x157782=_0x38e155[_0xd16160(0x34b)])==null?void 0x0:_0x157782['cs']},'cmd':_0x3d9167['cmd']};case m['CollaborationEvent'][_0xd16160(0x30b)]:return{..._0x3d9167,'data':{..._0x38e155,'data':(_0x126029=_0x38e155['csRejEvent'])==null?void 0x0:_0x126029['cs']},'cmd':_0x3d9167[_0xd16160(0x1a1)]};case m[_0xd16160(0x3b0)]['CHANGESET_SHOULD_RETRY']:return{..._0x3d9167,'data':{..._0x38e155,'data':(_0xf11c4f=_0x38e155[_0xd16160(0x302)])==null?void 0x0:_0xf11c4f['cs']},'cmd':_0x3d9167['cmd']};case m['CollaborationEvent'][_0xd16160(0x1f1)]:return{..._0x3d9167,'data':{..._0x38e155,'data':_0x38e155[_0xd16160(0x473)]},'cmd':_0x3d9167[_0xd16160(0x1a1)]};case m[_0xd16160(0x3b0)][_0xd16160(0x4c2)]:return{..._0x3d9167,'data':{..._0x38e155,'data':_0x38e155[_0xd16160(0x47b)]},'cmd':_0x3d9167['cmd']};case m['CollaborationEvent'][_0xd16160(0x189)]:return{..._0x3d9167,'data':{..._0x38e155,'data':_0x38e155[_0xd16160(0x239)]},'cmd':_0x3d9167['cmd']};case m[_0xd16160(0x3b0)][_0xd16160(0x43e)]:return{..._0x3d9167,'data':{..._0x38e155,'data':_0x38e155[_0xd16160(0x495)]},'cmd':_0x3d9167['cmd']};case m['CollaborationEvent'][_0xd16160(0x207)]:case m[_0xd16160(0x3b0)][_0xd16160(0x4ac)]:return{..._0x3d9167,'data':{..._0x38e155,'data':_0x38e155['liveShareOperation']},'cmd':_0x3d9167[_0xd16160(0x1a1)]};case m[_0xd16160(0x3b0)][_0xd16160(0x233)]:return{..._0x3d9167,'data':{..._0x38e155,'data':_0x38e155[_0xd16160(0x495)]},'cmd':_0x3d9167['cmd']};case m[_0xd16160(0x3b0)][_0xd16160(0x297)]:return{..._0x3d9167,'data':_0x38e155,'cmd':_0x3d9167[_0xd16160(0x1a1)]};case m[_0xd16160(0x3b0)]['COMMENT_UPDATE']:return{..._0x3d9167,'data':{..._0x38e155,'data':_0x38e155[_0xd16160(0x3f9)]},'cmd':_0x3d9167['cmd']};case m['CollaborationEvent'][_0xd16160(0x36d)]:return{..._0x3d9167,'data':{..._0x38e155,'data':_0x38e155[_0xd16160(0x2a7)]},'cmd':_0x3d9167[_0xd16160(0x1a1)]};case m[_0xd16160(0x3b0)][_0xd16160(0x28a)]:return{..._0x3d9167,'data':{..._0x38e155,'data':_0x38e155['shouldCloseConn']},'cmd':_0x3d9167[_0xd16160(0x1a1)]};case m[_0xd16160(0x3b0)][_0xd16160(0x16e)]:return{..._0x3d9167,'data':{..._0x38e155,'data':_0x38e155[_0xd16160(0x381)]},'cmd':_0x3d9167[_0xd16160(0x1a1)]};default:return _0x3d9167;}}default:return _0x3d9167;}}function yt(_0x28fe11){var _0x3fdb38=_0x41e00d;switch(_0x28fe11[_0x3fdb38(0x1a1)]){case G[_0x3fdb38(0x17c)]:case G[_0x3fdb38(0x2e9)]:return JSON[_0x3fdb38(0x16d)]({'cmd':_0x28fe11[_0x3fdb38(0x1a1)],'routeKey':_0x28fe11[_0x3fdb38(0x488)]});case G[_0x3fdb38(0x496)]:{let _0x5bd08c;switch(_0x28fe11[_0x3fdb38(0x308)][_0x3fdb38(0x3bb)]){case m[_0x3fdb38(0x3b0)]['UPDATE_CURSOR']:{_0x5bd08c={'eventID':m['CollaborationEvent'][_0x3fdb38(0x1f1)],'updateCursorEvent':_0x28fe11[_0x3fdb38(0x308)][_0x3fdb38(0x308)]};break;}case m['CollaborationEvent']['USERS_LEAVE']:{_0x5bd08c={'eventID':m[_0x3fdb38(0x3b0)][_0x3fdb38(0x189)],'leaveEvent':_0x28fe11['data'][_0x3fdb38(0x308)]};break;}case m[_0x3fdb38(0x3b0)]['USERS_ENTER']:{_0x5bd08c={'eventID':m[_0x3fdb38(0x3b0)][_0x3fdb38(0x4c2)],'joinEvent':_0x28fe11[_0x3fdb38(0x308)][_0x3fdb38(0x308)]};break;}case m[_0x3fdb38(0x3b0)]['LIVESHARE_NEW_HOST']:{_0x5bd08c={'eventID':m[_0x3fdb38(0x3b0)][_0x3fdb38(0x43e)],'liveShareNewHost':_0x28fe11['data']['data']};break;}case m['CollaborationEvent'][_0x3fdb38(0x4ac)]:{_0x5bd08c={'eventID':m[_0x3fdb38(0x3b0)][_0x3fdb38(0x4ac)],'liveShareOperation':_0x28fe11[_0x3fdb38(0x308)]['data']};break;}case m[_0x3fdb38(0x3b0)][_0x3fdb38(0x233)]:{_0x5bd08c={'eventID':m[_0x3fdb38(0x3b0)][_0x3fdb38(0x233)],'liveShareTerminate':_0x28fe11[_0x3fdb38(0x308)][_0x3fdb38(0x308)]};break;}case m[_0x3fdb38(0x3b0)][_0x3fdb38(0x3e2)]:{_0x5bd08c={'eventID':m[_0x3fdb38(0x3b0)][_0x3fdb38(0x3e2)],'liveShareRequestHost':_0x28fe11[_0x3fdb38(0x308)][_0x3fdb38(0x308)]};break;}case m[_0x3fdb38(0x3b0)][_0x3fdb38(0x207)]:{_0x5bd08c={'eventID':m['CollaborationEvent'][_0x3fdb38(0x207)]};break;}default:_0x5bd08c={'eventID':_0x28fe11['data']['eventID']};}return JSON[_0x3fdb38(0x16d)]({'cmd':_0x28fe11[_0x3fdb38(0x1a1)],'routeKey':_0x28fe11[_0x3fdb38(0x488)],'collaMsg':_0x5bd08c});}case G[_0x3fdb38(0x217)]:return JSON['stringify']({'cmd':_0x28fe11[_0x3fdb38(0x1a1)],'routeKey':_0x28fe11[_0x3fdb38(0x488)],'joinReq':_0x28fe11[_0x3fdb38(0x308)]});case G[_0x3fdb38(0x158)]:return JSON[_0x3fdb38(0x16d)]({'cmd':_0x28fe11[_0x3fdb38(0x1a1)],'routeKey':_0x28fe11[_0x3fdb38(0x488)],'leaveReq':_0x28fe11['data']});default:throw new Error(_0x3fdb38(0x332));}}var Jt=Object[_0x41e00d(0x26a)],Xt=Object['getOwnPropertyDescriptor'],Zt=(_0x17a18e,_0x539153,_0x39b1a9,_0x555d6b)=>{var _0x5c215d=_0x41e00d;for(var _0x2d4de1=_0x555d6b>0x1?void 0x0:_0x555d6b?Xt(_0x539153,_0x39b1a9):_0x539153,_0x2e3584=_0x17a18e[_0x5c215d(0x1bd)]-0x1,_0x14e27d;_0x2e3584>=0x0;_0x2e3584--)(_0x14e27d=_0x17a18e[_0x2e3584])&&(_0x2d4de1=(_0x555d6b?_0x14e27d(_0x539153,_0x39b1a9,_0x2d4de1):_0x14e27d(_0x2d4de1))||_0x2d4de1);return _0x555d6b&&_0x2d4de1&&Jt(_0x539153,_0x39b1a9,_0x2d4de1),_0x2d4de1;},ue=(_0x46cad2,_0x779b1a)=>(_0x5cf089,_0x12a54d)=>_0x779b1a(_0x5cf089,_0x12a54d,_0x46cad2);const ke=a[_0x41e00d(0x413)](_0x41e00d(0x235));function Qt(_0x83b707,_0x57eaf5,_0x1b6991){var _0x28e92b=_0x41e00d;return _0x83b707+'/'+_0x57eaf5+_0x28e92b(0x347)+_0x1b6991+_0x28e92b(0x3fa);}exports[_0x41e00d(0x48a)]=class extends a[_0x41e00d(0x328)]{constructor(_0x47fd7c,_0x36fc7b,_0x315e89,_0x322568,_0x51b67b){var _0x201736=_0x41e00d;super(),this[_0x201736(0x208)]=_0x47fd7c,this[_0x201736(0x20b)]=_0x36fc7b,this['_configService']=_0x315e89,this['_logService']=_0x322568,this[_0x201736(0x493)]=_0x51b67b;}[_0x41e00d(0x17d)](_0x632fc2){var _0x5ab761=_0x41e00d;const _0x5f3f37=this[_0x5ab761(0x208)][_0x5ab761(0x19e)](z['ISocketService']);if(!_0x5f3f37)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x40d72a=_0x5f3f37[_0x5ab761(0x17d)](_0x632fc2);if(!_0x40d72a)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0xa2e507=new a[(_0x5ab761(0x2e1))](),_0x7ef419=new H[(_0x5ab761(0x3c5))]();_0xa2e507[_0x5ab761(0x2fb)](_0x40d72a[_0x5ab761(0x3fb)][_0x5ab761(0x349)](_0x4bf809=>_0x7ef419[_0x5ab761(0x2e7)](_0x4bf809))),_0xa2e507[_0x5ab761(0x2fb)](a['toDisposable'](()=>_0x7ef419[_0x5ab761(0x28e)]()));const _0x22150d=new H[(_0x5ab761(0x3c5))]();_0xa2e507['add'](_0x40d72a[_0x5ab761(0x410)][_0x5ab761(0x349)](_0x5bde5f=>_0x22150d[_0x5ab761(0x2e7)](_0x5bde5f))),_0xa2e507[_0x5ab761(0x2fb)](a[_0x5ab761(0x184)](()=>_0x22150d[_0x5ab761(0x28e)]()));const _0x101468=new H['Subject']();_0xa2e507[_0x5ab761(0x2fb)](_0x40d72a[_0x5ab761(0x1e6)]['subscribe'](_0xed5987=>{var _0x5253ae=_0x5ab761;const _0x588357=Rt(_0xed5987);_0x101468[_0x5253ae(0x2e7)](_0x588357);})),_0xa2e507[_0x5ab761(0x2fb)](a['toDisposable'](()=>_0x101468['complete']()));let _0x464c4e;const _0x1e03f9=()=>{var _0x3f1212=_0x5ab761;_0x22150d[_0x3f1212(0x2e7)](new Event('connection\x20error')),_0x7ef419[_0x3f1212(0x2e7)](new CloseEvent(_0x3f1212(0x452))),_0x464c4e[_0x3f1212(0x2f3)]();};return _0x464c4e={'memberID':'','close$':_0x7ef419[_0x5ab761(0x2da)](),'error$':_0x22150d[_0x5ab761(0x2da)](),'open$':_0x40d72a['open$'],'message$':_0x101468[_0x5ab761(0x2da)](),'send':_0x27ac35=>{var _0x64254d=_0x5ab761;if(_0x27ac35[_0x64254d(0x1a1)]===G['INGEST']){if(_0x27ac35[_0x64254d(0x308)][_0x64254d(0x3bb)]===m[_0x64254d(0x3b0)][_0x64254d(0x33c)]){this[_0x64254d(0x2f9)](_0x464c4e,_0x27ac35[_0x64254d(0x308)])[_0x64254d(0x426)](_0x3e517f=>{var _0xcda471=_0x64254d;this[_0xcda471(0x21e)][_0xcda471(0x33f)](_0x3e517f),_0x1e03f9();});return;}if(_0x27ac35['data']['eventID']===m[_0x64254d(0x3b0)]['FETCH_MISSING']){const _0x3ad185=_0x27ac35[_0x64254d(0x308)];this[_0x64254d(0x1e9)](_0x3ad185)[_0x64254d(0x3a6)](_0x15a0f0=>{var _0x38670d=_0x64254d;_0x101468[_0x38670d(0x2e7)]({'cmd':G['RECV'],'code':he['OK'],'routeKey':_0x3ad185['data']['unitID'],'routeType':'','data':{'eventID':m['CollaborationEvent']['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x15a0f0}}});})[_0x64254d(0x426)](_0x2b1ce4=>{var _0x14d08b=_0x64254d;this[_0x14d08b(0x21e)][_0x14d08b(0x33f)](_0x2b1ce4),_0x1e03f9();});return;}}_0x40d72a[_0x64254d(0x414)](yt(_0x27ac35));},'close':()=>{var _0x3a91ac=_0x5ab761;_0x40d72a['close'](),_0xa2e507[_0x3a91ac(0x182)]();}},_0x464c4e;}async['_submitChangeset'](_0x1df573,_0x2fcb50){var _0x46ba14=_0x41e00d,_0x10835c,_0x4eb8f1;const {unitType:_0x323111,unitID:_0x12a6af,changeset:_0x4461d1}=_0x2fcb50[_0x46ba14(0x308)],_0x4d894e={'unitID':_0x12a6af,'memberID':_0x1df573['memberID'],'type':_0x323111,'changeset':m['parseChangesetToProtocol'](_0x4461d1)},_0x246689=this['_configService']['getConfig'](It),_0x27d71f=this['_configService']['getConfig'](q),_0x4fd1ae=Qt((_0x4eb8f1=(_0x10835c=_0x27d71f==null?void 0x0:_0x27d71f[_0x46ba14(0x1c5)])!=null?_0x10835c:_0x246689)!=null?_0x4eb8f1:Yt,_0x323111,_0x12a6af);try{await this[_0x46ba14(0x20b)][_0x46ba14(0x1ec)](_0x4fd1ae,{'body':_0x4d894e});}catch(_0x31bbd1){throw this[_0x46ba14(0x21e)][_0x46ba14(0x33f)](_0x46ba14(0x2e4),_0x46ba14(0x35f)),_0x31bbd1;}}async[_0x41e00d(0x1e9)](_0x552d85){var _0x52ea9e=_0x41e00d;const {unitID:_0x6b7ff1,from:_0x2a77f7,to:_0x46fbc4,unitType:_0x4966a3}=_0x552d85[_0x52ea9e(0x308)];return(await this[_0x52ea9e(0x493)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x6b7ff1,'type':_0x4966a3,'from':_0x2a77f7,'to':_0x46fbc4}))[_0x52ea9e(0x3e0)];}},exports[_0x41e00d(0x48a)]=Zt([ue(0x0,a['Inject'](a[_0x41e00d(0x3c9)])),ue(0x1,a[_0x41e00d(0x29c)](z[_0x41e00d(0x3d2)])),ue(0x2,a[_0x41e00d(0x454)]),ue(0x3,a[_0x41e00d(0x166)]),ue(0x4,m[_0x41e00d(0x3a9)])],exports[_0x41e00d(0x48a)]);const ei='collaboration_new_changeset';function ti(_0x2ee94c){var _0x798f63=_0x41e00d;return JSON[_0x798f63(0x16d)](_0x2ee94c)[_0x798f63(0x1bd)];}class Be{constructor(){var _0x547765=_0x41e00d;D(this,_0x547765(0x428),new H[(_0x547765(0x3c5))]()),D(this,_0x547765(0x36f),this[_0x547765(0x428)][_0x547765(0x2da)]());}[_0x41e00d(0x1b5)](_0x18f4e7){var _0xd4fb9a=_0x41e00d;this[_0xd4fb9a(0x428)][_0xd4fb9a(0x2e7)](_0x18f4e7);}}var ii=Object[_0x41e00d(0x26a)],ni=Object['getOwnPropertyDescriptor'],ri=(_0x1d2bf0,_0x118a26,_0x1decac,_0xd33fd6)=>{var _0x46fcb3=_0x41e00d;for(var _0x29ad3a=_0xd33fd6>0x1?void 0x0:_0xd33fd6?ni(_0x118a26,_0x1decac):_0x118a26,_0x212a3a=_0x1d2bf0[_0x46fcb3(0x1bd)]-0x1,_0x2dbc1d;_0x212a3a>=0x0;_0x212a3a--)(_0x2dbc1d=_0x1d2bf0[_0x212a3a])&&(_0x29ad3a=(_0xd33fd6?_0x2dbc1d(_0x118a26,_0x1decac,_0x29ad3a):_0x2dbc1d(_0x29ad3a))||_0x29ad3a);return _0xd33fd6&&_0x29ad3a&&ii(_0x118a26,_0x1decac,_0x29ad3a),_0x29ad3a;},Ke=(_0x5360cd,_0x179612)=>(_0x45fe01,_0x23c2c1)=>_0x179612(_0x45fe01,_0x23c2c1,_0x5360cd);function _0x2308(_0x787b66,_0x36b075){var _0xf56040=_0xf560();return _0x2308=function(_0x2308a5,_0x324164){_0x2308a5=_0x2308a5-0x141;var _0x4bdffc=_0xf56040[_0x2308a5];return _0x4bdffc;},_0x2308(_0x787b66,_0x36b075);}exports[_0x41e00d(0x475)]=class extends a[_0x41e00d(0x328)]{constructor(_0x113449,_0x3185bd){var _0x1db869=_0x41e00d;super(),D(this,'_roomMembers',new Map()),D(this,'_roomCreated$',new H['Subject']()),(this['_univerInstanceService']=_0x113449,this[_0x1db869(0x45b)]=_0x3185bd,this[_0x1db869(0x1fe)](H[_0x1db869(0x316)](this[_0x1db869(0x14e)][_0x1db869(0x27d)](a[_0x1db869(0x2ae)][_0x1db869(0x43a)])[_0x1db869(0x4b7)](V['map'](_0x5503a4=>_0x5503a4[_0x1db869(0x2eb)]())),this[_0x1db869(0x14e)][_0x1db869(0x27d)](a[_0x1db869(0x2ae)][_0x1db869(0x397)])[_0x1db869(0x4b7)](V[_0x1db869(0x37c)](_0x4813ab=>_0x4813ab[_0x1db869(0x2eb)]())),this['_univerInstanceService'][_0x1db869(0x27d)](a[_0x1db869(0x2ae)]['UNIVER_SLIDE'])[_0x1db869(0x4b7)](V[_0x1db869(0x37c)](_0x2b95ec=>_0x2b95ec[_0x1db869(0x2eb)]())))[_0x1db869(0x349)](_0x33229c=>this['_removeRoom'](_0x33229c))));}[_0x41e00d(0x44e)](_0x55ac1e){var _0x11c95b=_0x41e00d;return this[_0x11c95b(0x325)]['has'](_0x55ac1e)?H['of'](this[_0x11c95b(0x325)][_0x11c95b(0x19e)](_0x55ac1e)):this[_0x11c95b(0x312)][_0x11c95b(0x4b7)](V['map'](_0x20efdb=>{var _0x3654f8=_0x11c95b;if(_0x20efdb===_0x55ac1e)return this['_roomMembers'][_0x3654f8(0x19e)](_0x20efdb);}));}['setCurrentUser'](_0x1029dd){var _0x3dc20b=_0x41e00d;this[_0x3dc20b(0x45b)][_0x3dc20b(0x479)](_0x1029dd);}['getCurrentUser'](){var _0x4f75b7=_0x41e00d;return this['_userManagerService'][_0x4f75b7(0x3a0)]();}[_0x41e00d(0x39e)](_0x3681be,_0x5c504d){var _0x55e031=_0x41e00d;let _0x566137=this[_0x55e031(0x325)][_0x55e031(0x19e)](_0x3681be);_0x566137||(_0x566137=new si(),this['_roomMembers']['set'](_0x3681be,_0x566137),this[_0x55e031(0x312)][_0x55e031(0x2e7)](_0x3681be)),_0x566137[_0x55e031(0x39e)](_0x5c504d);}['removeMember'](_0x3875a2,_0x251097){var _0x3e5736=_0x41e00d;const _0x377a63=this[_0x3e5736(0x325)]['get'](_0x3875a2);_0x377a63&&_0x377a63[_0x3e5736(0x3b8)](_0x251097);}['getRoom'](_0x2efc34){var _0x1cae97=_0x41e00d;return this['_roomMembers'][_0x1cae97(0x19e)](_0x2efc34);}[_0x41e00d(0x41a)](_0x586fd3,_0x1eb43d){const _0x59c56d=this['_roomMembers']['get'](_0x586fd3);if(_0x59c56d)return _0x59c56d['getMember'](_0x1eb43d);}['_removeRoom'](_0x5bd512){var _0x4c2147=_0x41e00d;const _0x1ce47b=this[_0x4c2147(0x325)][_0x4c2147(0x19e)](_0x5bd512);_0x1ce47b&&(_0x1ce47b['dispose'](),this[_0x4c2147(0x325)]['delete'](_0x5bd512));}[_0x41e00d(0x182)](){var _0x3e6324=_0x41e00d;this[_0x3e6324(0x325)][_0x3e6324(0x3b3)](_0x391e86=>_0x391e86[_0x3e6324(0x182)]()),this[_0x3e6324(0x325)][_0x3e6324(0x192)](),this['_roomCreated$'][_0x3e6324(0x28e)]();}},exports[_0x41e00d(0x475)]=ri([Ke(0x0,a[_0x41e00d(0x3f6)]),Ke(0x1,a[_0x41e00d(0x29c)](a[_0x41e00d(0x4a1)]))],exports[_0x41e00d(0x475)]);class si extends a['Disposable']{constructor(){var _0x1b9b70=_0x41e00d;super(...arguments),D(this,_0x1b9b70(0x46a),new Map()),D(this,_0x1b9b70(0x271),new H[(_0x1b9b70(0x2f5))](this[_0x1b9b70(0x46a)])),D(this,_0x1b9b70(0x225),this['_members$'][_0x1b9b70(0x2da)]());}[_0x41e00d(0x182)](){var _0xb5dcca=_0x41e00d;this['_members'][_0xb5dcca(0x192)]();}[_0x41e00d(0x39e)](_0xe4401e){var _0x3ac573=_0x41e00d;this['_members'][_0x3ac573(0x1ca)](_0xe4401e[_0x3ac573(0x458)],_0xe4401e),this[_0x3ac573(0x35e)]();}['removeMember'](_0x4737dd){var _0x393c2c=_0x41e00d;this[_0x393c2c(0x46a)][_0x393c2c(0x205)](_0x4737dd);}[_0x41e00d(0x41a)](_0x317ab8){var _0x3a5980=_0x41e00d;return this[_0x3a5980(0x46a)][_0x3a5980(0x19e)](_0x317ab8);}['getAllMembers'](){var _0x457737=_0x41e00d;return Array[_0x457737(0x38f)](this[_0x457737(0x46a)][_0x457737(0x35a)]());}[_0x41e00d(0x35e)](){var _0x17d57c=_0x41e00d;this[_0x17d57c(0x271)][_0x17d57c(0x2e7)](this[_0x17d57c(0x46a)]);}}var oi=Object[_0x41e00d(0x26a)],ai=Object['getOwnPropertyDescriptor'],ci=(_0x209c45,_0x432854,_0x17c2f1,_0x3203cb)=>{var _0x14b8b6=_0x41e00d;for(var _0x396e69=_0x3203cb>0x1?void 0x0:_0x3203cb?ai(_0x432854,_0x17c2f1):_0x432854,_0x53ba97=_0x209c45[_0x14b8b6(0x1bd)]-0x1,_0x487dcc;_0x53ba97>=0x0;_0x53ba97--)(_0x487dcc=_0x209c45[_0x53ba97])&&(_0x396e69=(_0x3203cb?_0x487dcc(_0x432854,_0x17c2f1,_0x396e69):_0x487dcc(_0x396e69))||_0x396e69);return _0x3203cb&&_0x396e69&&oi(_0x432854,_0x17c2f1,_0x396e69),_0x396e69;},oe=(_0x278596,_0x4d8985)=>(_0x1a3e27,_0x2bcc1c)=>_0x4d8985(_0x1a3e27,_0x2bcc1c,_0x278596),se=(_0x5e7ede=>(_0x5e7ede[_0x5e7ede['IDLE']=0x0]=_0x41e00d(0x1e1),_0x5e7ede[_0x5e7ede[_0x41e00d(0x177)]=0x1]=_0x41e00d(0x177),_0x5e7ede[_0x5e7ede[_0x41e00d(0x40e)]=0x2]='OFFLINE',_0x5e7ede[_0x5e7ede['ONLINE']=0x3]=_0x41e00d(0x320),_0x5e7ede))(se||{});const Ye={[he[_0x41e00d(0x1bf)]]:_0x41e00d(0x419),[he[_0x41e00d(0x266)]]:_0x41e00d(0x3df),[he[_0x41e00d(0x474)]]:_0x41e00d(0x32d),[he[_0x41e00d(0x237)]]:'session.room-permission-denied',[he[_0x41e00d(0x3e3)]]:'session.room-cnt-exceeds'};exports[_0x41e00d(0x1bb)]=class extends a[_0x41e00d(0x22c)]{constructor(_0x445bf7,_0x113fab,_0x201298,_0x57fb7b,_0x566aeb,_0x29cd13,_0x19bc27,_0x489094,_0x536761){var _0x36e79f=_0x41e00d;super(),D(this,_0x36e79f(0x303),new H[(_0x36e79f(0x2f5))](0x0)),D(this,_0x36e79f(0x2b1),this['_sessionStatus$'][_0x36e79f(0x2da)]()),D(this,'_event$',new H[(_0x36e79f(0x3c5))]()),D(this,_0x36e79f(0x306),this['_event$'][_0x36e79f(0x2da)]()),D(this,_0x36e79f(0x309)),D(this,_0x36e79f(0x4b1)),D(this,_0x36e79f(0x1aa)),D(this,_0x36e79f(0x26e),!0x1),D(this,_0x36e79f(0x1d6),null),(this[_0x36e79f(0x229)]=_0x445bf7,this[_0x36e79f(0x21e)]=_0x201298,this['_configService']=_0x57fb7b,this[_0x36e79f(0x3e5)]=_0x566aeb,this[_0x36e79f(0x1c4)]=_0x29cd13,this[_0x36e79f(0x45a)]=_0x19bc27,this[_0x36e79f(0x334)]=_0x489094,this[_0x36e79f(0x39c)]=_0x536761,this[_0x36e79f(0x26e)]=!!this['_telemetryService'],_0x113fab[_0x36e79f(0x4b7)](H[_0x36e79f(0x20e)](this[_0x36e79f(0x43c)]))[_0x36e79f(0x349)](_0x53f792=>{var _0x4064e9=_0x36e79f,_0x398188;typeof _0x53f792>'u'||(this[_0x4064e9(0x309)]=_0x53f792,_0x53f792?(this[_0x4064e9(0x188)](_0x53f792),this[_0x4064e9(0x4b1)]=_0x53f792[_0x4064e9(0x1e6)][_0x4064e9(0x349)](_0x234936=>{var _0x4b6a18=_0x4064e9;_0x234936[_0x4b6a18(0x488)]===this[_0x4b6a18(0x229)]&&this[_0x4b6a18(0x247)](_0x234936);})):(this[_0x4064e9(0x355)](),this['_sessionStatus$']['next'](0x2),(_0x398188=this[_0x4064e9(0x4b1)])==null||_0x398188[_0x4064e9(0x49e)](),this['_socketMessageSubscription']=null));}));}get['sessionStatus'](){var _0x56a027=_0x41e00d;return this['_sessionStatus$'][_0x56a027(0x3a8)]();}[_0x41e00d(0x408)](){var _0x2395d3=_0x41e00d,_0x4948ac,_0x26888e;return(_0x26888e=(_0x4948ac=this['_socket'])==null?void 0x0:_0x4948ac[_0x2395d3(0x458)])!=null?_0x26888e:null;}[_0x41e00d(0x182)](){var _0x50aa5f=_0x41e00d;super[_0x50aa5f(0x182)](),this[_0x50aa5f(0x43c)][_0x50aa5f(0x2e7)](),this['dispose$'][_0x50aa5f(0x28e)]();}[_0x41e00d(0x2f3)](){var _0x1c6240=_0x41e00d,_0x599897,_0x510d5d;this[_0x1c6240(0x355)](),(_0x599897=this['_socket'])==null||_0x599897[_0x1c6240(0x414)]({'cmd':G[_0x1c6240(0x158)],'data':{'roomID':this['_unitID']}}),(_0x510d5d=this[_0x1c6240(0x309)])==null||_0x510d5d['close'](),this[_0x1c6240(0x186)][_0x1c6240(0x28e)](),this[_0x1c6240(0x303)][_0x1c6240(0x28e)](),this['dispose']();}[_0x41e00d(0x247)](_0x7fdc37){var _0x115c67=_0x41e00d;_0x7fdc37[_0x115c67(0x1a1)]===G['JOIN']?this[_0x115c67(0x310)](_0x7fdc37):_0x7fdc37[_0x115c67(0x1a1)]===G['RECV']&&this[_0x115c67(0x144)](_0x7fdc37);}[_0x41e00d(0x188)](_0x46952e){var _0x4cfc0b=_0x41e00d;this['_sessionStatus$']['next'](0x1),_0x46952e[_0x4cfc0b(0x414)]({'cmd':G[_0x4cfc0b(0x217)],'routeKey':this[_0x4cfc0b(0x229)],'routeType':'','data':{'rooms':[{'roomID':this[_0x4cfc0b(0x229)]}]}});}['_onJoinRoomEvent'](_0x3dd508){var _0x267825=_0x41e00d,_0x2a3a84;if(_0x3dd508['code']in Ye){this[_0x267825(0x334)][_0x267825(0x1d4)]({'id':Q[_0x267825(0x3ea)],'data':Ye[_0x3dd508[_0x267825(0x49f)]]}),this[_0x267825(0x303)][_0x267825(0x2e7)](0x2);return;}this[_0x267825(0x303)]['next'](0x3);const _0x438e06=(_0x2a3a84=_0x3dd508['data'][_0x267825(0x15e)][this[_0x267825(0x229)]])==null?void 0x0:_0x2a3a84['members'];_0x438e06&&_0x438e06[_0x267825(0x3b3)](_0x16e82a=>this[_0x267825(0x1c4)][_0x267825(0x39e)](this['_unitID'],_0x16e82a));}[_0x41e00d(0x144)](_0xe87859){var _0x1ca219=_0x41e00d;try{const _0x40a134=_0xe87859[_0x1ca219(0x308)];switch(_0x40a134[_0x1ca219(0x3bb)]){case m[_0x1ca219(0x3b0)]['USERS_ENTER']:this[_0x1ca219(0x2d5)](_0x40a134),this[_0x1ca219(0x186)][_0x1ca219(0x2e7)](_0x40a134);break;case m[_0x1ca219(0x3b0)][_0x1ca219(0x189)]:this['_onUserLeave'](_0x40a134),this['_event$'][_0x1ca219(0x2e7)](_0x40a134);break;case m[_0x1ca219(0x3b0)][_0x1ca219(0x42e)]:case m['CollaborationEvent'][_0x1ca219(0x2d6)]:this[_0x1ca219(0x273)](),this[_0x1ca219(0x1a9)](),this[_0x1ca219(0x186)][_0x1ca219(0x2e7)](_0x40a134);break;case m[_0x1ca219(0x3b0)]['MSG_FOR_ERROR']:this[_0x1ca219(0x21e)][_0x1ca219(0x33f)](_0x1ca219(0x2a4)+JSON['stringify'](_0x40a134)),this['_event$'][_0x1ca219(0x2e7)](_0x40a134);break;case m['CollaborationEvent']['COMMENT_UPDATE']:this[_0x1ca219(0x45a)][_0x1ca219(0x1b5)](_0x40a134['data']),this[_0x1ca219(0x186)][_0x1ca219(0x2e7)](_0x40a134);break;default:this['_event$'][_0x1ca219(0x2e7)](_0x40a134);}}catch(_0x4953b8){this[_0x1ca219(0x21e)]['error'](_0x4953b8,_0xe87859);}}['_onUserJoin'](_0x10f78e){var _0x2f93c1=_0x41e00d;this[_0x2f93c1(0x1c4)][_0x2f93c1(0x39e)](this[_0x2f93c1(0x229)],_0x10f78e[_0x2f93c1(0x308)]);}[_0x41e00d(0x2fa)](_0x20e8c0){var _0xa28177=_0x41e00d;this[_0xa28177(0x1c4)]['removeMember'](this[_0xa28177(0x229)],_0x20e8c0[_0xa28177(0x308)][_0xa28177(0x458)]);}async['send'](_0x14ddc1,_0x3ced53){var _0x28970e=_0x41e00d;if(this[_0x28970e(0x242)]!==0x3||!this[_0x28970e(0x309)])throw new Error(_0x28970e(0x3a2));try{_0x14ddc1[_0x28970e(0x3bb)]===m[_0x28970e(0x3b0)][_0x28970e(0x33c)]&&(this[_0x28970e(0x4c8)](),this[_0x28970e(0x2d1)](_0x14ddc1)),this['_socket'][_0x28970e(0x414)]({'cmd':G[_0x28970e(0x496)],'routeKey':_0x3ced53,'routeType':'','data':_0x14ddc1});}catch(_0x58bb47){this[_0x28970e(0x21e)][_0x28970e(0x33f)](_0x58bb47);}}[_0x41e00d(0x4c8)](){var _0x2d9e7e=_0x41e00d,_0x4943b2;this[_0x2d9e7e(0x1aa)]=setTimeout(()=>{var _0x5bbd84=_0x2d9e7e;this[_0x5bbd84(0x1aa)]=null,this[_0x5bbd84(0x334)][_0x5bbd84(0x1d4)]({'id':Q[_0x5bbd84(0x20a)]});},(_0x4943b2=this[_0x2d9e7e(0x485)][_0x2d9e7e(0x1d5)](He))!=null?_0x4943b2:gt);}[_0x41e00d(0x1a9)](){var _0x3109fd=_0x41e00d;this[_0x3109fd(0x1aa)]&&(clearTimeout(this[_0x3109fd(0x1aa)]),this[_0x3109fd(0x1aa)]=null);}[_0x41e00d(0x2d1)](_0x3392ff){var _0x6d20b=_0x41e00d;if(!this['_shouldReportTelemetry'])return;const {data:_0x45566e}=_0x3392ff,{unitID:_0x536c06,changeset:_0x54b18a}=_0x45566e,{mutations:_0x15198b,type:_0x59e69c}=_0x54b18a;this[_0x6d20b(0x1d6)]={'unitId':_0x536c06,'type':_0x59e69c,'startTime':performance[_0x6d20b(0x48f)](),'stopTime':0x0,'duration':0x0,'size':ti(_0x15198b)};}[_0x41e00d(0x273)](){var _0x13b4fc=_0x41e00d;if(this['_shouldReportTelemetry']){if(!this[_0x13b4fc(0x1d6)]){this[_0x13b4fc(0x21e)]['error']('[CollaborationSession]',_0x13b4fc(0x212));return;}this['_telemetryInfo']['stopTime']=performance['now'](),this[_0x13b4fc(0x1d6)]['duration']=this[_0x13b4fc(0x1d6)][_0x13b4fc(0x3af)]-this[_0x13b4fc(0x1d6)]['startTime'],this[_0x13b4fc(0x39c)][_0x13b4fc(0x248)](ei,this[_0x13b4fc(0x1d6)]),this['_telemetryInfo']=null;}}[_0x41e00d(0x355)](){var _0x3827b0=_0x41e00d;this[_0x3827b0(0x1d6)]=null;}},exports[_0x41e00d(0x1bb)]=ci([oe(0x2,a[_0x41e00d(0x166)]),oe(0x3,a[_0x41e00d(0x454)]),oe(0x4,a[_0x41e00d(0x29c)](a[_0x41e00d(0x172)])),oe(0x5,a[_0x41e00d(0x29c)](exports[_0x41e00d(0x475)])),oe(0x6,a[_0x41e00d(0x29c)](Be)),oe(0x7,a['Inject'](te)),oe(0x8,a[_0x41e00d(0x220)](xt['ITelemetryService']))],exports[_0x41e00d(0x1bb)]);var hi=Object[_0x41e00d(0x26a)],li=Object[_0x41e00d(0x1b7)],_i=(_0x3ac284,_0x2e6869,_0x4f4fa5,_0x3435e0)=>{var _0x3a5e36=_0x41e00d;for(var _0x349348=_0x3435e0>0x1?void 0x0:_0x3435e0?li(_0x2e6869,_0x4f4fa5):_0x2e6869,_0x2519b1=_0x3ac284[_0x3a5e36(0x1bd)]-0x1,_0xf4ab0d;_0x2519b1>=0x0;_0x2519b1--)(_0xf4ab0d=_0x3ac284[_0x2519b1])&&(_0x349348=(_0x3435e0?_0xf4ab0d(_0x2e6869,_0x4f4fa5,_0x349348):_0xf4ab0d(_0x349348))||_0x349348);return _0x3435e0&&_0x349348&&hi(_0x2e6869,_0x4f4fa5,_0x349348),_0x349348;},ae=(_0x426de7,_0x40a8db)=>(_0x3954cc,_0x194ad8)=>_0x40a8db(_0x3954cc,_0x194ad8,_0x426de7);exports[_0x41e00d(0x4b5)]=class extends a[_0x41e00d(0x328)]{constructor(_0x25a3f4,_0x32b30d,_0x25b27b,_0x488353,_0x5056e1,_0x58b575,_0x40908d){var _0x371cd0=_0x41e00d;super(),D(this,_0x371cd0(0x319),new H[(_0x371cd0(0x2f5))](void 0x0)),D(this,_0x371cd0(0x1b9),this[_0x371cd0(0x319)][_0x371cd0(0x2da)]()),D(this,_0x371cd0(0x20d),null),D(this,'_sessions',new Map()),D(this,_0x371cd0(0x156),new H['BehaviorSubject'](se['IDLE'])),D(this,_0x371cd0(0x3d3),this[_0x371cd0(0x156)][_0x371cd0(0x2da)]()),D(this,_0x371cd0(0x40b),!0x1),D(this,'_retryConnectingTimer'),D(this,'_retryCount',0x0),D(this,_0x371cd0(0x31e)),D(this,_0x371cd0(0x21c)),(this[_0x371cd0(0x208)]=_0x25a3f4,this[_0x371cd0(0x21e)]=_0x32b30d,this[_0x371cd0(0x485)]=_0x25b27b,this[_0x371cd0(0x38e)]=_0x488353,this[_0x371cd0(0x283)]=_0x5056e1,this['_collaborationUIEventService']=_0x58b575,this[_0x371cd0(0x47a)]=_0x40908d,this['_listenToNetworkCondition']());}get[_0x41e00d(0x309)](){var _0x5d5ee4=_0x41e00d;return this[_0x5d5ee4(0x319)][_0x5d5ee4(0x3a8)]();}[_0x41e00d(0x296)](){var _0xe42f1b=_0x41e00d;this[_0xe42f1b(0x47a)]&&this[_0xe42f1b(0x1fe)](this[_0xe42f1b(0x47a)]['online$'][_0xe42f1b(0x349)](_0x555ff8=>{var _0x39f4af=_0xe42f1b;_0x555ff8&&!this[_0x39f4af(0x309)]&&this[_0x39f4af(0x31b)](),_0x555ff8||this[_0x39f4af(0x34f)]();}));}[_0x41e00d(0x182)](){var _0x1f8f3a=_0x41e00d;super['dispose'](),this[_0x1f8f3a(0x298)][_0x1f8f3a(0x3b3)](_0x2a67c8=>_0x2a67c8[_0x1f8f3a(0x182)]()),this[_0x1f8f3a(0x298)][_0x1f8f3a(0x192)](),this['_status$'][_0x1f8f3a(0x28e)]();}async[_0x41e00d(0x47e)](_0x219c3a){var _0xa2d3b7=_0x41e00d;if(this[_0xa2d3b7(0x298)][_0xa2d3b7(0x3fd)](_0x219c3a))return this['_sessions'][_0xa2d3b7(0x19e)](_0x219c3a);this[_0xa2d3b7(0x4a7)]();const _0x2d1749=this[_0xa2d3b7(0x208)]['createInstance'](exports['CollaborationSession'],_0x219c3a,this[_0xa2d3b7(0x319)][_0xa2d3b7(0x2da)]());return this['_sessions'][_0xa2d3b7(0x1ca)](_0x219c3a,_0x2d1749),_0x2d1749;}['closeSession'](_0x57d059){var _0x535901=_0x41e00d,_0x7734ed;const _0x5ec6c1=this[_0x535901(0x298)][_0x535901(0x19e)](_0x57d059);_0x5ec6c1&&(this[_0x535901(0x298)][_0x535901(0x205)](_0x57d059),_0x5ec6c1[_0x535901(0x2f3)]()),this[_0x535901(0x298)][_0x535901(0x21f)]||(_0x7734ed=this['_socket'])==null||_0x7734ed['close']();}[_0x41e00d(0x31b)](){var _0x1580ad=_0x41e00d;this[_0x1580ad(0x2f6)]=0x0,this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x1580ad(0x4ad)]),this['_retryConnectingTimer']=null),this[_0x1580ad(0x449)]();}async['_getSessionTicket'](){var _0x19374a=_0x41e00d,_0x3e9a5d,_0x566d4a,_0x11a21c;const _0x5c35db=this['_configService'][_0x19374a(0x1d5)](q),_0x3eda5c=(_0x3e9a5d=_0x5c35db==null?void 0x0:_0x5c35db[_0x19374a(0x15b)])!=null?_0x3e9a5d:Bt;return(_0x11a21c=(_0x566d4a=(await this[_0x19374a(0x283)][_0x19374a(0x19e)](_0x3eda5c,{'headers':{'Content-Type':_0x19374a(0x2c8)}}))['body'])==null?void 0x0:_0x566d4a[_0x19374a(0x3a3)])!=null?_0x11a21c:'';}[_0x41e00d(0x484)](_0x34a8c7){var _0x238571=_0x41e00d,_0x5e4b79,_0x26fa20;const _0x548de8=this['_configService']['getConfig'](ft),_0x56477e=this[_0x238571(0x485)][_0x238571(0x1d5)](q),_0x26bfe6=(_0x26fa20=(_0x5e4b79=_0x56477e==null?void 0x0:_0x56477e['collabWebSocketUrl'])!=null?_0x5e4b79:_0x548de8)!=null?_0x26fa20:St,_0x46d01c=typeof window>'u'?new URL(_0x26bfe6):new URL(_0x26bfe6,window['location'][_0x238571(0x451)]);_0x46d01c[_0x238571(0x28b)][_0x238571(0x1ca)]('sessionTicket',_0x34a8c7);const _0x342a6a=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x238571(0x15d)]['search']);return _0x342a6a['get'](_0x238571(0x22b))&&_0x46d01c[_0x238571(0x28b)][_0x238571(0x1ca)](_0x238571(0x22b),_0x342a6a[_0x238571(0x19e)](_0x238571(0x22b))),_0x46d01c[_0x238571(0x300)]();}async[_0x41e00d(0x209)](){var _0x378102=_0x41e00d;const _0x5250ad=await this[_0x378102(0x24c)](),_0x3bd266=this[_0x378102(0x484)](_0x5250ad),_0x5a1245=this[_0x378102(0x38e)][_0x378102(0x17d)](_0x3bd266);return this[_0x378102(0x20d)]=_0x5a1245,_0x5a1245;}async[_0x41e00d(0x4a7)](){var _0x4d4b3f=_0x41e00d,_0x113dde,_0x30fb43;try{const _0x12559e=(_0x30fb43=(_0x113dde=this[_0x4d4b3f(0x309)])!=null?_0x113dde:this['_candidateSocket'])!=null?_0x30fb43:await this[_0x4d4b3f(0x209)]();if(_0x12559e){const _0x27e617=_0x12559e['send'];_0x12559e[_0x4d4b3f(0x414)]=_0x3843ba=>(this[_0x4d4b3f(0x348)](),_0x27e617[_0x4d4b3f(0x478)](_0x12559e,[_0x3843ba])),_0x12559e[_0x4d4b3f(0x1e6)]['subscribe'](_0x799b05=>this['_onMessage'](_0x12559e,_0x799b05)),_0x12559e[_0x4d4b3f(0x410)][_0x4d4b3f(0x4b7)](V[_0x4d4b3f(0x16a)](0x1))['subscribe'](_0x2b1172=>this[_0x4d4b3f(0x21e)][_0x4d4b3f(0x33f)](_0x4d4b3f(0x26d),_0x2b1172)),_0x12559e[_0x4d4b3f(0x367)][_0x4d4b3f(0x4b7)](V[_0x4d4b3f(0x16a)](0x1))['subscribe'](()=>{var _0x3a40ff=_0x4d4b3f;this[_0x3a40ff(0x49b)](_0x12559e);}),_0x12559e[_0x4d4b3f(0x3fb)]['pipe'](V[_0x4d4b3f(0x16a)](0x1))['subscribe'](_0xa1259=>{var _0x181fbf=_0x4d4b3f;this['_logService'][_0x181fbf(0x255)](_0x181fbf(0x344),'socket\x20close',_0xa1259),this[_0x181fbf(0x2c0)]();});}}catch(_0x1e9a47){this[_0x4d4b3f(0x21e)][_0x4d4b3f(0x33f)](_0x1e9a47),this['_onConnectionFailed']();}}[_0x41e00d(0x49b)](_0x4c1fad){var _0x3a9b14=_0x41e00d;this['_logService'][_0x3a9b14(0x255)](_0x3a9b14(0x344),_0x3a9b14(0x25e)),_0x4c1fad['send']({'cmd':G[_0x3a9b14(0x2e9)]}),this['_rescheduleHeartbeat']();}['_onOffline'](){var _0x281b5b=_0x41e00d;this['_socketReady']=!0x1,this[_0x281b5b(0x20d)]=null,this[_0x281b5b(0x156)][_0x281b5b(0x2e7)](se[_0x281b5b(0x40e)]),this[_0x281b5b(0x319)][_0x281b5b(0x2e7)](null),this[_0x281b5b(0x3ca)](),this[_0x281b5b(0x1b2)]();}[_0x41e00d(0x2c0)](){var _0x35700d=_0x41e00d,_0x2db52e;this[_0x35700d(0x34f)](),this['_retryCount']<((_0x2db52e=this[_0x35700d(0x485)][_0x35700d(0x1d5)](mt))!=null?_0x2db52e:Vt)?(this[_0x35700d(0x334)][_0x35700d(0x1d4)]({'id':Q['SOCKET_FAILED_RETRY']}),this[_0x35700d(0x449)]()):this[_0x35700d(0x334)]['emitEvent']({'id':Q[_0x35700d(0x285)]});}[_0x41e00d(0x449)](){var _0x7d65d5=_0x41e00d,_0x350283;const _0x546520=this['_retryCount'],_0x50aba6=this['_configService']['getConfig'](q),_0x1a0211=_0x546520===0x0?0x0:((_0x350283=_0x50aba6==null?void 0x0:_0x50aba6['retryConnectingInterval'])!=null?_0x350283:Wt)*0x2**_0x546520;this[_0x7d65d5(0x4ad)]=setTimeout(()=>{var _0x383caa=_0x7d65d5;clearTimeout(this['_retryConnectingTimer']),this[_0x383caa(0x4ad)]=null,this[_0x383caa(0x4a7)]();},_0x1a0211),this[_0x7d65d5(0x2f6)]+=0x1;}[_0x41e00d(0x4b3)](_0x258f1f,_0x6b50c){var _0xcf522c=_0x41e00d;const {cmd:_0x413875}=_0x6b50c;_0x413875===G[_0xcf522c(0x2e9)]&&!this[_0xcf522c(0x40b)]&&(_0x258f1f['memberID']=_0x6b50c[_0xcf522c(0x308)][_0xcf522c(0x458)],this['_socket$'][_0xcf522c(0x2e7)](_0x258f1f),this['_status$'][_0xcf522c(0x2e7)](se[_0xcf522c(0x320)]),this[_0xcf522c(0x40b)]=!0x0,this[_0xcf522c(0x20d)]=null),_0x413875===G[_0xcf522c(0x17c)]&&this[_0xcf522c(0x3ca)](),this[_0xcf522c(0x348)]();}[_0x41e00d(0x348)](){var _0x4efe7e=_0x41e00d,_0x1c8ae5;this[_0x4efe7e(0x1b2)](),this[_0x4efe7e(0x31e)]=setTimeout(()=>this[_0x4efe7e(0x2f7)](),(_0x1c8ae5=this['_configService']['getConfig'](pt))!=null?_0x1c8ae5:Ft);}[_0x41e00d(0x2f7)](){var _0x6bde83=_0x41e00d;this[_0x6bde83(0x309)]['send']({'cmd':G[_0x6bde83(0x17c)]}),this[_0x6bde83(0x3e4)]();}[_0x41e00d(0x3e4)](){var _0x2dfa12=_0x41e00d,_0x1292fc;this[_0x2dfa12(0x21c)]=setTimeout(()=>this[_0x2dfa12(0x2c0)](),(_0x1292fc=this[_0x2dfa12(0x485)][_0x2dfa12(0x1d5)](He))!=null?_0x1292fc:gt);}[_0x41e00d(0x1b2)](){var _0xd2e587=_0x41e00d;this[_0xd2e587(0x31e)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0xd2e587(0x31e)]=null);}[_0x41e00d(0x3ca)](){var _0x16c393=_0x41e00d;this[_0x16c393(0x21c)]!=null&&(clearTimeout(this[_0x16c393(0x21c)]),this[_0x16c393(0x21c)]=null);}},exports[_0x41e00d(0x4b5)]=_i([ae(0x0,a[_0x41e00d(0x29c)](a[_0x41e00d(0x3c9)])),ae(0x1,a[_0x41e00d(0x166)]),ae(0x2,a[_0x41e00d(0x454)]),ae(0x3,ke),ae(0x4,a['Inject'](z[_0x41e00d(0x3d2)])),ae(0x5,a[_0x41e00d(0x29c)](te)),ae(0x6,a[_0x41e00d(0x220)](bt))],exports[_0x41e00d(0x4b5)]);const K=[];for(let r=0x0;r<0x100;++r)K[_0x41e00d(0x2b3)]((r+0x100)[_0x41e00d(0x300)](0x10)['slice'](0x1));function ui(_0x193231,_0x28d739=0x0){var _0x408597=_0x41e00d;return(K[_0x193231[_0x28d739+0x0]]+K[_0x193231[_0x28d739+0x1]]+K[_0x193231[_0x28d739+0x2]]+K[_0x193231[_0x28d739+0x3]]+'-'+K[_0x193231[_0x28d739+0x4]]+K[_0x193231[_0x28d739+0x5]]+'-'+K[_0x193231[_0x28d739+0x6]]+K[_0x193231[_0x28d739+0x7]]+'-'+K[_0x193231[_0x28d739+0x8]]+K[_0x193231[_0x28d739+0x9]]+'-'+K[_0x193231[_0x28d739+0xa]]+K[_0x193231[_0x28d739+0xb]]+K[_0x193231[_0x28d739+0xc]]+K[_0x193231[_0x28d739+0xd]]+K[_0x193231[_0x28d739+0xe]]+K[_0x193231[_0x28d739+0xf]])[_0x408597(0x3ec)]();}let Ne;const di=new Uint8Array(0x10);function vi(){var _0x530a9b=_0x41e00d;if(!Ne){if(typeof crypto>'u'||!crypto[_0x530a9b(0x324)])throw new Error(_0x530a9b(0x49c));Ne=crypto[_0x530a9b(0x324)][_0x530a9b(0x3bf)](crypto);}return Ne(di);}const fi=typeof crypto<'u'&&crypto['randomUUID']&&crypto[_0x41e00d(0x40a)][_0x41e00d(0x3bf)](crypto),qe={'randomUUID':fi};function Si(_0x2651d0,_0x4421c7,_0x227adc){var _0x8c0714=_0x41e00d;if(qe['randomUUID']&&!_0x4421c7&&!_0x2651d0)return qe[_0x8c0714(0x40a)]();_0x2651d0=_0x2651d0||{};const _0x5d8a7a=_0x2651d0['random']||(_0x2651d0[_0x8c0714(0x4b0)]||vi)();return _0x5d8a7a[0x6]=_0x5d8a7a[0x6]&0xf|0x40,_0x5d8a7a[0x8]=_0x5d8a7a[0x8]&0x3f|0x80,ui(_0x5d8a7a);}const J=a[_0x41e00d(0x413)](_0x41e00d(0x1b0));function _0xf560(){var _0x5c69c7=['processBlock','resourceIDs','reset','close','@univerjs/sheets','BehaviorSubject','_retryCount','_sendHeartbeat','_cipher','_submitChangeset','_onUserLeave','add','requestParams','_unlockTransition','RevisionService','INTERNAL_ERROR','toString','/universer-api/snapshot/','csShouldRetryEvent','_sessionStatus$','originalMeta','_createInitialStateImpl','event$','WorksheetProtectionRuleModel','data','_socket','UNDEFINED','CHANGESET_REJ','refreshPermission','salt','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','26bBBbPZ','_onJoinRoomEvent','_process','_roomCreated$','WorkbookEditablePermission','_updateStatus','createEncryptor','merge','downloadEndpointUrl','awaitingChangeset','_socket$','updatePermissionPoint','reconnect','/object/','cfg','_sendHeartbeatTimer','c2Prime','ONLINE','[DataLoaderService]','APPLY_REJECT','IPermissionService','getRandomValues','_roomMembers','PERMISSION_REJ','socketService','Disposable','_doCryptBlock','_data','defaultWorksheetPermissionPoint','SEND_CHANGESET_TIMEOUT_KEY','session.room-not-exists','_onFetchMissResult','@univerjs-pro/collaboration','_lockTransition','status','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_collaborationUIEventService','/universer-api/snapshot','ICollaborationSocketService','ERROR_IMAGE_TYPE','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_eventService','Encryptor','/universer-api/authz','SUBMIT_CHANGESET','_changesetSessionId','_collaborationPaused','error','listCollaborators','json','addHandlerCallback','People','[CollaborationSessionService]','selections','COMPLETION_FINISHED','/unit/','_rescheduleHeartbeat','subscribe','_clearRedo','newCsEvent','putCollaborators','COMPRESS_MUTATION_SEND','textRanges','_onOffline','PERMISSION_DENIED','ceil','session','getCollabEntity','3308562JPczNF','_throwTelemetryCollaborationNewChangeset','pauseCollaboration','_incrementRevisionNumber','generateRandomId','objectType','values','headers','userID','HEARTBEAT_INTERVAL','_emitMembers','submit\x20changeset\x20error!','_decreaseWaiting','ICommandService','SYNCED','fetchMissingChangesets','_handlerCallback','_getSignURL','getWorkbookSelections','open$','repeat','loginUrlKey','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','/block/','_snapshotService','UPDATE_PERMISSION_OBJ','CommentService','commentUpdate$','_doFinalize','_isPermissionRej','enc','c1Prime','IAuthzIoService','ReplaySubject','RangeProtectionRuleModel','UnitEmbedded','formatter','onRemoteRetry','exports','LICENSE_MAX_UNITS_EXCEEDED','map','max','_createHandler','delay','WordArray','uniscriptRunEvent','every','_key','_executeRemoteChangeset','_doProcessBlock','@univerjs-pro/license','ImageSourceType','getImageSourceCache','method','mutations','[PendingState]:\x20received\x20acknowledgement.','_getAPIPrefix','_getSendChangesetTimeout','_socketService','from','firstValueFrom','change$','onSendChangeset','unitId\x20is\x20not\x20found','_handler','updateOfflineData','_getUploadFileURL','UNIVER_DOC','_transformIMECache','_nDataBytes','YUUMI_SUBSCRIPTION_NOT_FOUND','findIndex','_telemetryService','x-univer-host','updateMember','UnitObject','getCurrentUser','_getAPIPrefixPath','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','ticket','UniverCollaborationPlugin','_substituteRedoStack','then','getImage','getValue','ISnapshotServerService','infoRsp','transformStack\x20failed!','action','_state$','init','stopTime','CollaborationEvent','words','closeSession','forEach','HmacSHA1','charCodeAt','APPLY_PERMISSION_DENIED','IUndoRedoService','removeMember','Utf8','/universer-api/user/session-ticket','eventID','819726SKXPIn','editingUnit','CollaborationStatus','bind','getCollabEntity$','m2Prime','symbol','update','SHA1','Subject','CollaborativeUndoRedoService','localeService','execute','Injector','_clearTimeoutTimer','ERROR_EXCEED_SIZE','LICENSE_DISTRO_REJECTED','createInstance','ciphertext','_getCtorByUniverType','copyFileMeta','_scheduleTimestamp','HTTPService','status$','Hasher','onSyncEditingCollabCursor','readAsDataURL','byteLength','confirm','_changesetReqId','SerializableCipher','onStarting','collaMsg','5663vssaPQ','_instanceService','session.room-full','changesets','INVALID_ARGUMENT','LIVESHARE_REQUEST_HOST','GLOBAL_ROOMS_CNT_EXCEEDS','_waitForHeartbeatResponse','_localeService','setConfig','YUUMI_URL_COL_OUT_OF_RANGE','CommandType','format','JOIN_ROOM_FAILED','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','toLowerCase','SEND_CHANGESET_TIMEOUT','crypto','_entities','OTHER_CLIENT_EDITING','\x20-\x20','HttpImport','SessionStatus','_oKey','_change$','IUniverInstanceService','signUrlServerUrl','Pkcs7','commentUpdateEvent','/new_changes','close$','params','has','_getUndoStack','mixIn','AWAITING','_clearScheduledTask','UnitStatus','ImageUploadStatusType','setWaitCount','_transformStateCache','YUUMI_UNABLE_LOAD_URL','_loadSheet','getMemberID','withCredentials','randomUUID','_socketReady','clone','_prevBlock','OFFLINE','CipherParams','error$','APPLY_DUPLICATED','loadSheet','createIdentifier','send','override','getUnitType','AwaitingState','Univer','session.join-failed','getMember','name','awaiting_with_pending','NOT_FOUND','getSnapshotAPIPath','onTransformState','UnitSnapshot','onStateChange','unitId','_initDependencies','incrementRevOfUnit','objectID','catch','_substituteUndoStack','_commentUpdate$','concat','decryptBlock','getPermissionPoint','body','replace','CHANGESET_ACK','executeCommand','_collaborationSessionService','state','SNAPSHOT_URL_KEY','onRemoteChangeset','call','Plugin','sequenceExecute','_initRequestHeader','AwaitingWithPendingState','getTypeOfUnitAdded$','UNIVER_SHEET','INetworkConditionService','dispose$','ITransformService','LIVESHARE_NEW_HOST','FetchingMissState','sigBytes','FETCH_MISSING','_append','AuthzIoHttpService','onTransformRemoteChangesetByStateCache','_redoStacks','reqId','/universer-api/oidc/authpage','SetSelectionsOperation','_tryReconnect','join','transformMutationsWithChangeset','reject','_hash','waitForRoom$','/-/object/list','floor','origin','connection\x20error','slice','IConfigService','Tools','string','/-/object/-/batch_allowed','memberID','encrypt','_commentService','_userManagerService','padding','type','prototype','parse','hasOwnProperty','JSONX','CHANGESET_REVISION_CONFILICT','_transformStack','CONNECTOR_DATA_TOO_LARGE','@univerjs/docs','getLocalCacheKey','baseRev','_sheetTransformSelectionsService','csAckEvent','_members','SyncedState','image/png','[CollaborationEntity]','StreamCipher','_showConflictNotification','_updateLocalCache','_createHelper','getActiveSheet','updateCursorEvent','JOIN_ROOM_NOT_EXISTS','MemberService','_exhaustRemoteChangesetQueue','_singleActiveUnitService','apply','setCurrentUser','_networkConditionService','joinEvent','SheetTransformSelectionsService','onTransformRemoteChangesetByIMECache','requireSession','BASE64','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','Error\x20on\x20receiving\x20event','ISingleActiveUnitService','_createSocketURL','_configService','CLOSE_ROOM','[OfflineState]:\x20received\x20changeset.','routeKey','_invKeySchedule','CollaborationSocketService','uploadFileServerUrl','__Key__','touchDependencies','_transformSelections','now','ENSURE_SNAPSHOT_EXECUTION','extend','ivSize','_snapshotServerService','&to=','liveShareNewHost','INGEST','roles','DEFAULT_COLLAB_WEB_SOCKET_URL','transformUndoRedo','_init','_onConnectionOpen','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','_clearUndo','unsubscribe','code','Base','UserManagerService','Undefined','unpad','Worksheet','_acknowledgedAwaitingChangeset','baseProtectionActions','_tryEnsureSocket','editing\x20status\x20changed\x20to','_createHmacHelper','EvpKDF','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','LIVESHARE_OPERATION','_retryConnectingTimer','[SyncedState]:\x20received\x20rejection.','_commandService','rng','_socketMessageSubscription','univer-pro.collaboration-client.network-condition.service','_onMessage','toggleOnline','CollaborationSessionService','_revisionService','pipe','/universer-api/file/{fileID}/sign-url','pending','default','snapshotServerUrl','msCrypto','_resendTimeout','SheetsSelectionsService','PERSON','_getCurrentRevision','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','USERS_ENTER','conflict','YUUMI_RATE_OVER_LIMIT','104847QIhsQH','initWorkbookPermissionChange','finalize','_scheduleCollaborationTimeoutTimer','_ENC_XFORM_MODE','range','transformChangesets','COLLAB_SUBMIT_CHANGESET_URL','_onRecvEvent','value','put','CollaborationController','LOGIN_URL_KEY','loadUnit','@univerjs/drawing','enableOfflineEditing','UNAUTHENTICATED','mode','_univerInstanceService','_keySchedule','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_clearLocalCache','BlockCipher','getSheetId','abs','UniverCollaborationClientPlugin','_status$','_map','LEAVE','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_onConflict','wsSessionTicketUrl','_createInitialState','location','roomInfos','_sender','shareReplay','/resources','Could\x20not\x20dynamically\x20require\x20\x22','_reverseMap','authzUrl','image/jpeg','ILogService','batchAllowed','getDeserializedSheetBlock','_getDownloadEndpointURL','take','SheetCollaborationEntity','entries','stringify','UNISCRIPT_RUN','encode','pad','_compressMutationService','LocaleService','ERROR_IMAGE','CBC','transformSelections','appendMutation','JOINING','getAllWorksheetPermissionPoint','getCurrentRevOfUnit','UNKNOWN_CMD','target','HEARTBEAT','createSocket','MentionType','@univerjs/telemetry','_queuedRemoteChangesets','_parse','dispose','_onRemoteRetry','toDisposable','_entityInit$','_event$','IMentionIOService','_joinRoom','USERS_LEAVE','encodeURIComponent','isTransformChangesetsSuccess','_onLocalMutation','_schedule','?url=','image/jpg','_mode','UNKNOWN_CODE','clear','RECV','workbook','pluginName','_transformUndoredo','ILocalCacheService','createCollaborator','getTargetByPermissionId','LICENSE_EXPORT_SIZE_EXCEEDED','_toggleOnline','BufferedBlockAlgorithm','loadDoc','get','getCurrentSelections','auth.needGotoLoginAlert','cmd','key','compose','CollaborationUIEventId','_registerDependencies','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','WorksheetProtectionPointModel','objectActions','_clearCollaborationTimeoutTimer','_collaborationTimeoutTimer','_onRemoteChangeset','create','list','CollaborationUIEventService','NoPadding','collaboration-client.local-cache-service','addImageSourceCache','_clearHeartbeatTimer','onTransformSelections','saveSheetBlock','onCommentUpdate','onRemoteRej','getOwnPropertyDescriptor','ConflictState','socket$','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','CollaborationSession','_onRemoteRejected','length','algo','FAIL','kdf','CompressMutationService','decrypt','sheets','_memberService','collabSubmitChangesetUrl','AES','allowed','_getRedoStack','saveImage','set','/fetchmissing?from=','random','_transformRemoteChangesetByIMECache','find','sendChangesetTimeout','NO_OTHER_CLIENTS_EDITING','_nRounds','UNIVER_PROJECT','_transitionLocked','emitEvent','getConfig','_telemetryInfo','_replaceFileID','result','OPTIONAL','[SyncedState]:\x20received\x20acknowledgement.','_iv','COMPRESS_MUTATION_APPLY','_toggleOffline','SUCCUSS','APPLY_NON_SEQUENTIAL_REVISION','onRemoteAck','IDLE','OTHER_CLIENTS_EDITING','UUID','/collaborator','Base64','message$','/role','Latin1','_fetchMissChangesets','fetchThroughInterceptors','objects','post','iterations','MD5','actions','_resendWithTimeout','UPDATE_CURSOR','_HTTPService','fetch_missing','lib','[FetchMissState]','OpenSSL','readyForCollab','mergeOverrideWithDependencies','_resendTimer','getUnitOnRev','11laGFPg','url','_remoteChangesetQueue','disposeWithMe','encryptBlock','fetchMiss','COLLAB_WEB_SOCKET_URL_KEY','_waitCount','AUTHZ_URL_KEY','_permissionService','delete','getFocusedUnit','LIVESHARE_FETCH_OPERATIONS','_injector','_createSocket','SUBMIT_CHANGESET_TIMEOUT','_http','charAt','_candidateSocket','takeUntil','\x20to\x20','[UniverCollaborationClientPlugin]','resolve','telemetry\x20info\x20is\x20not\x20initialized','onMissingChangesets','univer-pro.collaboration-client.single-active-unit-service','b64DecodeUnicode','_initCloseConn','JOIN','_localCacheService','_undoRedoService','href','ws://127.0.0.1:8000/universer-api/comb/connect','_timeoutTimer','toggleOffline','_logService','size','Optional','unitID','blockSize','deserializeToCombResponse','interceptor','members$','resend','filter','_hasher','_unitID','clearUndoRedo','runId','RxDisposable','InsertSheetMutation','focused$','getTime','_updateState','getGlobalObject','SOCKET_FAILED_RETRY','LIVESHARE_TERMINATE','PendingState','univer-pro.collaboration-client-socket-service','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','JOIN_ROOM_PERMISSION_DENIED','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','leaveEvent','4253076iBFHIM','parseProtocolChangeset','CONFLICT','synced','Workbook','hasher','DEFAULT_FILE_NAME','PasswordBasedCipher','sessionStatus','LICENSE_IMPORT_SIZE_EXCEEDED','onTransformIME','Cipher','saveChangeset','_onCombEvent','capture','joinRsp','[OfflineState]:\x20received\x20acknowledgement.','subject','_getSessionTicket','fromCharCode','ALREADY_EXISTS','MentionIoHttpService','fetching\x20missing\x20changesets\x20from\x20','FileId','subUnitId','__creator','[CollaborationState]:\x20apply\x20error!','debug','HMAC','/object','NOT_COLLAB','patch','rxjs','getAllWorksheetPermissionPointByPointPanel','textEncoder','_initUnitPermissionChange','socket\x20open.','onlyLocal','getAllWorkbookPermissionPoint','HttpExport','UNIVER_SLIDE','APPLY_REVISION_CONFILICT','loadOfflineData','randomBytes','JOIN_ROOM_FULL','image/bmp','collaboratorID','_disableEditing','defineProperty','awaiting','_keyPriorReset','[CollaborationSessionService]:\x20socket\x20error','_shouldReportTelemetry','getAllRangePermissionPoint','_pendingMutations','_members$','compute','_stopTelemetryCollaborationNewChangeset','setShowComponents','hostname','_awaitingChangeset','4scodSO','splice','POST','ruleRefresh','Decryptor','isTransformMutationsWithChangesetSuccess','getTypeOfUnitDisposed$','_sendingTimer','reduce','createDecryptor','clamp','BlockCipherMode','_httpService','min','SOCKET_FAILED','RETRY_CONNECTING_MAX_COUNT','registerHTTPInterceptor','updateCollaborator','_imageSourceCache','SHOULD_CLOSE_CONN','searchParams','subType','_applyRemoteChangeset','complete','&source=','_type','equals','MUTATION','isArray','isTransformMutationsWithChangesetFailure','DataLoaderService','_listenToNetworkCondition','MSG_FOR_ERROR','_sessions','unknown','state$','DocCollaborationEntity','Inject','_getLoginPath','_startCollaboration','disableLocalCache','includes','_unitInfo$','failed\x20to\x20apply\x20missed\x20changesets!','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','save\x20fail\x20reason\x20is\x20','SNAPSHOT_HAS_BEEN_REMOVED','revision','updatePermissionObjEvent','DependentOn','unitInfo$','\x20in\x20_schedule.','_transformRemoteChangesetByStateCache','/universer-api/comb','_collabSessionService','UniverInstanceType','RichTextEditingMutation','CollaborationImageIoService','sessionStatus$','getInterceptPoints','push','_xformMode','CollaborationEntity','getUnitStatus$','readInt32LE','onload','NEW_CHANGESETS','_checkMissing','rev','isPermissionRej','_state','startsWith','SnapshotServerOverHTTPService','_onConnectionFailed','fromCollab','collaborators','getUnit','LOCAL_CACHE_INTERVAL_KEY','$super','/rev/','RETRY_CONNECTING_MAX_COUNT_KEY','application/json','offline','_config','append','8537390ThqyEP','buffer','_onRemoteACK','3993455ABZcRP','_syncEditingCollabCursor','_startTelemetryCollaborationNewChangeset','SNAPSHOT_INVALID_SNAPSHOT','OfflineState','onMissedChangesetFetched','_onUserJoin','CHANGESET_SHOULD_RETRY','_transformService','_replayCachedMutations','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','asObservable','sid','getSheetBlock','HEARTBEAT_INTERVAL_KEY','file','permissionRejEvent','_undoStacks','DisposableCollection','[OfflineState]:\x20received\x20rejection.','7104uAFlxW','[CollaborationSession]','LOCAL_CACHE_INTERVAL','function','next','localCacheService','HELLO','Quantity','getUnitId','HEARTBEAT_TIMEOUT','PSEUDO_FETCH_MISSING_RESULT','COLLAB_SUBMIT_CHANGESET_URL_KEY','UNRECOGNIZED'];_0xf560=function(){return _0x5c69c7;};return _0xf560();}function pi(_0x55af85){return'unit-cache-'+_0x55af85;}var gi=Object[_0x41e00d(0x26a)],mi=Object[_0x41e00d(0x1b7)],Ii=(_0x1eadb2,_0x577757,_0x2e036f,_0xb72913)=>{var _0x2d6a5b=_0x41e00d;for(var _0x9e9f11=_0xb72913>0x1?void 0x0:_0xb72913?mi(_0x577757,_0x2e036f):_0x577757,_0xe4945e=_0x1eadb2[_0x2d6a5b(0x1bd)]-0x1,_0xbefc3e;_0xe4945e>=0x0;_0xe4945e--)(_0xbefc3e=_0x1eadb2[_0xe4945e])&&(_0x9e9f11=(_0xb72913?_0xbefc3e(_0x577757,_0x2e036f,_0x9e9f11):_0xbefc3e(_0x9e9f11))||_0x9e9f11);return _0xb72913&&_0x9e9f11&&gi(_0x577757,_0x2e036f,_0x9e9f11),_0x9e9f11;},De=(_0x558acd,_0x319c07)=>(_0x54fccc,_0x301502)=>_0x319c07(_0x54fccc,_0x301502,_0x558acd);function Ei(_0x2026c2){var _0x730253=_0x41e00d;const {unitID:_0x312137,mutations:_0x511151}=_0x2026c2;return{'unitId':_0x312137,'subUnitId':_0x511151[0x0][_0x730253(0x3fc)][_0x730253(0x252)]};}exports[_0x41e00d(0x47c)]=class{constructor(_0x553735,_0x3cf428,_0x105d69){var _0x5936d6=_0x41e00d;this[_0x5936d6(0x208)]=_0x553735,this[_0x5936d6(0x2d7)]=_0x3cf428,this[_0x5936d6(0x3de)]=_0x105d69;}['transformSelections'](_0x171e9f){var _0x166b9f=_0x41e00d,_0x5116d6,_0x41c409,_0x1410ad,_0x2c0c96;const _0x232f94=this[_0x166b9f(0x208)][_0x166b9f(0x19e)](W[_0x166b9f(0x4be)]),{unitId:_0x21e926,subUnitId:_0x286c81}=Ei(_0x171e9f),_0x504743=_0x232f94==null?void 0x0:_0x232f94[_0x166b9f(0x366)](_0x21e926)[_0x166b9f(0x19f)](),_0x484ebc=(_0x41c409=(_0x5116d6=this[_0x166b9f(0x3de)][_0x166b9f(0x2c3)](_0x21e926))==null?void 0x0:_0x5116d6[_0x166b9f(0x472)]())==null?void 0x0:_0x41c409[_0x166b9f(0x153)]();if(_0x504743[_0x166b9f(0x1bd)]===0x0||!_0x21e926||!_0x286c81)return;const _0x1fb9e3=[{'id':W[_0x166b9f(0x448)]['id'],'params':{'unitId':_0x21e926,'subUnitId':_0x484ebc,'selections':a[_0x166b9f(0x455)]['deepClone'](_0x504743)}}],_0x4c9156=this[_0x166b9f(0x2d7)][_0x166b9f(0x44b)](_0x171e9f,_0x1fb9e3);if(!m['isTransformMutationsWithChangesetSuccess'](_0x4c9156))throw _0x4c9156[_0x166b9f(0x33f)];const _0x3ad0b7=(_0x2c0c96=(_0x1410ad=_0x4c9156[_0x166b9f(0x3c1)][0x0])==null?void 0x0:_0x1410ad[_0x166b9f(0x3fc)])==null?void 0x0:_0x2c0c96[_0x166b9f(0x345)];if(Array[_0x166b9f(0x293)](_0x3ad0b7)&&_0x3ad0b7[_0x166b9f(0x1bd)]){if(_0x3ad0b7[_0x166b9f(0x1bd)]===_0x1fb9e3[0x0][_0x166b9f(0x3fc)][_0x166b9f(0x345)][_0x166b9f(0x1bd)]&&_0x3ad0b7[_0x166b9f(0x382)]((_0x5117ba,_0x4ae7f4)=>a['Rectangle'][_0x166b9f(0x291)](_0x5117ba[_0x166b9f(0x141)],_0x1fb9e3[0x0][_0x166b9f(0x3fc)][_0x166b9f(0x345)][_0x4ae7f4][_0x166b9f(0x141)])))return;this[_0x166b9f(0x208)][_0x166b9f(0x19e)](a[_0x166b9f(0x361)])[_0x166b9f(0x42f)](W[_0x166b9f(0x448)]['id'],{'unitId':_0x21e926,'subUnitId':_0x484ebc,'selections':_0x3ad0b7});}}},exports[_0x41e00d(0x47c)]=Ii([De(0x0,a[_0x41e00d(0x29c)](a[_0x41e00d(0x3c9)])),De(0x1,m[_0x41e00d(0x43d)]),De(0x2,a[_0x41e00d(0x3f6)])],exports[_0x41e00d(0x47c)]);const ve=a[_0x41e00d(0x413)](_0x41e00d(0x214));var Fe=(_0x8a9f2e=>(_0x8a9f2e[_0x8a9f2e[_0x41e00d(0x1d0)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x8a9f2e[_0x8a9f2e[_0x41e00d(0x1e2)]=0x1]=_0x41e00d(0x1e2),_0x8a9f2e))(Fe||{});const Ci=new Set([W[_0x41e00d(0x22d)]['id']]);function ze(_0x213d6e,_0xf835b6,_0x174c15,_0x45d854,_0x454b7d){var _0x1ec524=_0x41e00d,_0x573c91,_0x521ea4,_0x2a01b1,_0x50b8c4;const _0x20e090=[];for(const _0x26f4a9 of _0x213d6e)if(Ci[_0x1ec524(0x3fd)](_0x26f4a9['id'])){if(_0x20e090[_0x1ec524(0x1bd)]>0x0)break;_0x20e090[_0x1ec524(0x2b3)](_0x26f4a9);break;}else _0x20e090[_0x1ec524(0x2b3)](_0x26f4a9);const _0x237ad2=(_0x521ea4=(_0x573c91=_0x454b7d['getCurrentUser']())==null?void 0x0:_0x573c91[_0x1ec524(0x35c)])!=null?_0x521ea4:_0x1ec524(0x299),_0x3a74f1=(_0x50b8c4=(_0x2a01b1=_0x454b7d[_0x1ec524(0x3a0)]())==null?void 0x0:_0x2a01b1[_0x1ec524(0x458)])!=null?_0x50b8c4:_0x1ec524(0x299);return{'changeset':{'unitID':_0xf835b6,'type':m['mapDocumentTypeToUniverType'](_0x174c15[_0x1ec524(0x416)](_0xf835b6)),'baseRev':_0x45d854[_0x1ec524(0x179)](_0xf835b6),'revision':0x0,'userID':_0x237ad2,'memberID':_0x3a74f1,'mutations':_0x20e090},'pendingMutations':_0x213d6e[_0x1ec524(0x453)](_0x20e090['length'])};}function Ti(_0x1654a4,_0x1b0b9b,_0x460d38,_0x473ccd,_0x27ce69){var _0x42d318=_0x41e00d,_0x257762,_0xe5a470,_0x197367,_0x5a798d;const _0x3ad3bf=[_0x1654a4[_0x42d318(0x27f)]((_0x314f27,_0x5a27d4)=>{var _0x591d7e=_0x42d318,_0x8c0cab;const {id:_0x35e3a4}=_0x314f27,{id:_0x251318,type:_0x42ccdd}=_0x5a27d4,_0x1b43b5=(_0x8c0cab=_0x314f27[_0x591d7e(0x3fc)])!=null?_0x8c0cab:{'actions':null},_0x4c1325=_0x5a27d4['params'];if(_0x35e3a4&&_0x35e3a4!==_0x251318)throw new Error(_0x591d7e(0x150)+_0x35e3a4+_0x591d7e(0x3f1)+_0x251318+'.');return{..._0x314f27,'id':_0x251318,'type':_0x42ccdd,'params':{'unitId':_0x4c1325[_0x591d7e(0x422)],'textRanges':_0x4c1325[_0x591d7e(0x34e)],'actions':a[_0x591d7e(0x461)][_0x591d7e(0x1a3)](_0x1b43b5[_0x591d7e(0x1ef)],_0x4c1325[_0x591d7e(0x1ef)])}};},{})],_0x26e5aa=(_0xe5a470=(_0x257762=_0x27ce69['getCurrentUser']())==null?void 0x0:_0x257762[_0x42d318(0x35c)])!=null?_0xe5a470:_0x42d318(0x299),_0x51ef31=(_0x5a798d=(_0x197367=_0x27ce69[_0x42d318(0x3a0)]())==null?void 0x0:_0x197367[_0x42d318(0x458)])!=null?_0x5a798d:_0x42d318(0x299);return{'changeset':{'unitID':_0x1b0b9b,'type':m['mapDocumentTypeToUniverType'](_0x460d38[_0x42d318(0x416)](_0x1b0b9b)),'baseRev':_0x473ccd['getCurrentRevOfUnit'](_0x1b0b9b),'revision':0x0,'userID':_0x26e5aa,'memberID':_0x51ef31,'mutations':_0x3ad3bf},'pendingMutations':[]};}function Ot(_0x559790,_0x15d2ac){var _0x5961f1=_0x41e00d;const _0x1a4440=new H[(_0x5961f1(0x375))](0x1);return setTimeout(()=>_0x1a4440[_0x5961f1(0x2e7)](_0x15d2ac),_0x559790),_0x1a4440[_0x5961f1(0x2da)]()[_0x5961f1(0x4b7)](H[_0x5961f1(0x16a)](0x1));}const bi={'id':W['EmptyMutation']['id'],'type':a['CommandType'][_0x41e00d(0x292)],'params':{}};var Ri=Object['defineProperty'],yi=Object[_0x41e00d(0x1b7)],le=(_0x4a89ca,_0x51aa0f,_0x2c71c1,_0x480a85)=>{for(var _0x5665b7=_0x480a85>0x1?void 0x0:_0x480a85?yi(_0x51aa0f,_0x2c71c1):_0x51aa0f,_0x42161c=_0x4a89ca['length']-0x1,_0x405f9e;_0x42161c>=0x0;_0x42161c--)(_0x405f9e=_0x4a89ca[_0x42161c])&&(_0x5665b7=(_0x480a85?_0x405f9e(_0x51aa0f,_0x2c71c1,_0x5665b7):_0x405f9e(_0x5665b7))||_0x5665b7);return _0x480a85&&_0x5665b7&&Ri(_0x51aa0f,_0x2c71c1,_0x5665b7),_0x5665b7;},A=(_0x33302e,_0x3a42d9)=>(_0x528d99,_0x23ec63)=>_0x3a42d9(_0x528d99,_0x23ec63,_0x33302e),We=(_0x3090a9=>(_0x3090a9[_0x41e00d(0x258)]='not_collab',_0x3090a9[_0x41e00d(0x362)]=_0x41e00d(0x23d),_0x3090a9['PENDING']=_0x41e00d(0x4b9),_0x3090a9[_0x41e00d(0x400)]='awaiting',_0x3090a9['AWAITING_WITH_PENDING']=_0x41e00d(0x41c),_0x3090a9['FETCH_MISS']='fetch_missing',_0x3090a9[_0x41e00d(0x23c)]=_0x41e00d(0x4c3),_0x3090a9[_0x41e00d(0x40e)]=_0x41e00d(0x2c9),_0x3090a9))(We||{});const Pt=0xea60;class _e{constructor(_0x2da420,_0x2f0540,_0x44c3b6,_0x17adcc,_0x2af6f3,_0x36df5f,_0x43aef8,_0x5508dc,_0x35ab4e){var _0x598d69=_0x41e00d;D(this,_0x598d69(0x276),null),D(this,_0x598d69(0x270),[]),(this['unitID']=_0x2da420,this[_0x598d69(0x45d)]=_0x2f0540,this[_0x598d69(0x394)]=_0x2af6f3,this[_0x598d69(0x4af)]=_0x36df5f,this['_undoRedoService']=_0x43aef8,this[_0x598d69(0x4b6)]=_0x5508dc,this[_0x598d69(0x218)]=_0x35ab4e,this[_0x598d69(0x276)]=_0x44c3b6,this[_0x598d69(0x270)]=_0x17adcc);}[_0x41e00d(0x2ba)](_0x1e623a){var _0x17e38f=_0x41e00d;const _0x3a0c4e=this[_0x17e38f(0x4b6)]['getCurrentRevOfUnit'](this[_0x17e38f(0x221)]);return _0x1e623a[_0x17e38f(0x2a6)]>_0x3a0c4e+0x1?(this['_handler'][_0x17e38f(0x213)]({'from':_0x3a0c4e,'to':_0x1e623a[_0x17e38f(0x2a6)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x37c6d6){var _0x5051de=_0x41e00d;this[_0x5051de(0x219)][_0x5051de(0x499)](this[_0x5051de(0x221)],_0x37c6d6);}[_0x41e00d(0x48e)](_0x4bd039){var _0x3ca5b2=_0x41e00d,_0x176d48,_0x5d2d44;(_0x5d2d44=(_0x176d48=this[_0x3ca5b2(0x394)])['onTransformSelections'])==null||_0x5d2d44[_0x3ca5b2(0x434)](_0x176d48,_0x4bd039);}[_0x41e00d(0x398)](_0x286519){var _0x34ac53=_0x41e00d,_0x580434,_0x325d61;return(_0x325d61=(_0x580434=this[_0x34ac53(0x394)])[_0x34ac53(0x244)])==null?void 0x0:_0x325d61[_0x34ac53(0x434)](_0x580434,_0x286519);}[_0x41e00d(0x405)](_0x307d56){var _0x24c750=_0x41e00d,_0x472a02,_0x238d98;return(_0x238d98=(_0x472a02=this[_0x24c750(0x394)])[_0x24c750(0x41f)])==null?void 0x0:_0x238d98[_0x24c750(0x434)](_0x472a02,_0x307d56);}['_transformRemoteChangesetByIMECache'](_0x16c6b9){var _0x2eec78=_0x41e00d,_0x5f53f4,_0x2a2037,_0x592a1a;return(_0x592a1a=(_0x2a2037=(_0x5f53f4=this[_0x2eec78(0x394)])[_0x2eec78(0x47d)])==null?void 0x0:_0x2a2037[_0x2eec78(0x434)](_0x5f53f4,_0x16c6b9))!=null?_0x592a1a:_0x16c6b9;}[_0x41e00d(0x2ab)](_0x5876de){var _0x1551ff=_0x41e00d,_0x3892c1,_0x58c480,_0x1f6835;return(_0x1f6835=(_0x58c480=(_0x3892c1=this[_0x1551ff(0x394)])[_0x1551ff(0x444)])==null?void 0x0:_0x58c480[_0x1551ff(0x434)](_0x3892c1,_0x5876de))!=null?_0x1f6835:_0x5876de;}[_0x41e00d(0x2d0)](_0x59fd23){var _0x4f1d1f=_0x41e00d,_0x5e6e17,_0x2b935c;if(this[_0x4f1d1f(0x45d)]===Z[_0x4f1d1f(0x397)]){const {unitID:_0x305665,mutations:_0x424092,memberID:_0x1380a8}=_0x59fd23,_0x25b518=_0x424092[0x0][_0x4f1d1f(0x3fc)]['textRanges'];Array[_0x4f1d1f(0x293)](_0x25b518)&&_0x25b518[_0x4f1d1f(0x1bd)]>0x0&&((_0x2b935c=(_0x5e6e17=this[_0x4f1d1f(0x394)])['onSyncEditingCollabCursor'])==null||_0x2b935c[_0x4f1d1f(0x434)](_0x5e6e17,{'unitID':_0x305665,'memberID':_0x1380a8,'textRanges':_0x25b518}));}}[_0x41e00d(0x470)](){var _0x4c8afc=_0x41e00d,_0x7a7d16;(_0x7a7d16=this[_0x4c8afc(0x218)])==null||_0x7a7d16[_0x4c8afc(0x395)](this[_0x4c8afc(0x221)],this[_0x4c8afc(0x45d)],this[_0x4c8afc(0x276)],this[_0x4c8afc(0x270)]);}[_0x41e00d(0x4c0)](){var _0x5ba06b=_0x41e00d;return this[_0x5ba06b(0x4b6)][_0x5ba06b(0x179)](this['unitID']);}[_0x41e00d(0x357)](){var _0x44bb68=_0x41e00d;this[_0x44bb68(0x4b6)][_0x44bb68(0x424)](this[_0x44bb68(0x221)]);}[_0x41e00d(0x384)](_0x500fec){var _0x1aef40=_0x41e00d,_0x253ae9;let _0x5661ac=this[_0x1aef40(0x1cd)](_0x500fec);_0x5661ac=this['_transformRemoteChangesetByStateCache'](_0x5661ac);const _0x51f0be=a[_0x1aef40(0x436)](_0x5661ac[_0x1aef40(0x38a)],this[_0x1aef40(0x4af)],{'fromCollab':!0x0});if(!_0x51f0be[_0x1aef40(0x1d8)])throw _0x51f0be['error']instanceof Error?_0x51f0be[_0x1aef40(0x33f)]:new Error((_0x253ae9=_0x51f0be['error'])!=null?_0x253ae9:_0x1aef40(0x254));this['_transformIMECache'](_0x5661ac),this[_0x1aef40(0x405)](_0x5661ac),this[_0x1aef40(0x196)](_0x500fec),this[_0x1aef40(0x48e)](_0x5661ac),this[_0x1aef40(0x2d0)](_0x5661ac),this['_incrementRevisionNumber']();}}exports[_0x41e00d(0x46b)]=class extends _e{constructor(_0x30e174,_0x3ce3c8,_0x23b26a,_0x2f2a69,_0x370d0b,_0x27df6c,_0x2b7665,_0x723962,_0x50ca3a,_0xb1ae53){var _0x44fd28=_0x41e00d;super(_0x30e174,_0x3ce3c8,null,[],_0x23b26a,_0x2b7665,_0x27df6c,_0x2f2a69,_0xb1ae53),D(this,_0x44fd28(0x331),'synced'),(this[_0x44fd28(0x208)]=_0x370d0b,this[_0x44fd28(0x21e)]=_0x723962,this[_0x44fd28(0x2d7)]=_0x50ca3a,this[_0x44fd28(0x2e8)]=_0xb1ae53);}[_0x41e00d(0x176)](_0x288fb3){var _0x52deba=_0x41e00d;const _0x2e01a5=this['_injector'][_0x52deba(0x3cd)](exports[_0x52deba(0x234)],this[_0x52deba(0x221)],this[_0x52deba(0x45d)],[_0x288fb3],this[_0x52deba(0x394)]);return _0x2e01a5[_0x52deba(0x18d)](),_0x2e01a5['_updateLocalCache'](),_0x2e01a5;}[_0x41e00d(0x433)](_0x4ddc98){var _0x510917=_0x41e00d;if(this[_0x510917(0x2ba)](_0x4ddc98))return this[_0x510917(0x208)][_0x510917(0x3cd)](exports[_0x510917(0x43f)],this[_0x510917(0x221)],this['type'],null,[],null,[_0x4ddc98],this[_0x510917(0x394)]);try{const _0x21c984=this[_0x510917(0x2d7)][_0x510917(0x44b)](_0x4ddc98,[bi]);if(m[_0x510917(0x27c)](_0x21c984)){const {c1Prime:_0x5d8f87}=_0x21c984;return this[_0x510917(0x384)](_0x5d8f87),this;}throw _0x21c984['error'];}catch(_0x3f71ef){return this[_0x510917(0x21e)][_0x510917(0x33f)](_0x3f71ef),this[_0x510917(0x15a)](!0x1);}}[_0x41e00d(0x15a)](_0x7e85bf){var _0x420d4e=_0x41e00d;return this[_0x420d4e(0x208)][_0x420d4e(0x3cd)](exports['ConflictState'],this[_0x420d4e(0x221)],this[_0x420d4e(0x45d)],null,[],this['_handler'],_0x7e85bf);}[_0x41e00d(0x1e0)](){var _0x1112c8=_0x41e00d;throw new Error(_0x1112c8(0x1da));}['onRemoteRej'](){var _0x3efac6=_0x41e00d;throw new Error(_0x3efac6(0x4ae));}[_0x41e00d(0x379)](){return this;}[_0x41e00d(0x21d)](){var _0x202b3a=_0x41e00d;return this[_0x202b3a(0x208)][_0x202b3a(0x3cd)](exports[_0x202b3a(0x2d3)],this[_0x202b3a(0x221)],this[_0x202b3a(0x45d)],null,[],this[_0x202b3a(0x394)]);}[_0x41e00d(0x4b4)](){return this;}[_0x41e00d(0x226)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x41e00d(0x200)](){var _0x266baf=_0x41e00d;const _0x4b9177=this['_revisionService']['getCurrentRevOfUnit'](this[_0x266baf(0x221)]);return this[_0x266baf(0x394)]['onMissingChangesets']({'from':_0x4b9177,'to':0x0}),this[_0x266baf(0x208)][_0x266baf(0x3cd)](exports['FetchingMissState'],this[_0x266baf(0x221)],this[_0x266baf(0x45d)],null,[],null,[],this[_0x266baf(0x394)]);}},exports[_0x41e00d(0x46b)]=le([A(0x3,a[_0x41e00d(0x29c)](m['RevisionService'])),A(0x4,a[_0x41e00d(0x29c)](a[_0x41e00d(0x3c9)])),A(0x5,a[_0x41e00d(0x3b7)]),A(0x6,a[_0x41e00d(0x361)]),A(0x7,a['ILogService']),A(0x8,m[_0x41e00d(0x43d)]),A(0x9,a[_0x41e00d(0x220)](J))],exports[_0x41e00d(0x46b)]),exports[_0x41e00d(0x234)]=class extends _e{constructor(_0x5ef0ac,_0x36bc7a,_0x552b3b,_0x192728,_0x174262,_0x5cae48,_0x3aa7f9,_0x24c96d,_0x2e4a5b,_0x1145be,_0x3c65a8,_0x19b3f6,_0x4b404a,_0xd2e5e9){var _0x42ad26=_0x41e00d;super(_0x5ef0ac,_0x36bc7a,null,_0x552b3b,_0x192728,_0x2e4a5b,_0x4b404a,_0x5cae48,_0xd2e5e9),D(this,_0x42ad26(0x331),_0x42ad26(0x4b9)),D(this,_0x42ad26(0x3d1),null),D(this,_0x42ad26(0x27e),null),(this[_0x42ad26(0x208)]=_0x174262,this[_0x42ad26(0x1c4)]=_0x3aa7f9,this[_0x42ad26(0x21e)]=_0x24c96d,this['_configService']=_0x1145be,this['_transformService']=_0x3c65a8,this[_0x42ad26(0x14e)]=_0x19b3f6);}['appendMutation'](_0xaa9e41){return this['_pendingMutations']['push'](_0xaa9e41),this['_updateLocalCache'](),this;}[_0x41e00d(0x433)](_0x4f4847){var _0x38128b=_0x41e00d;if(this[_0x38128b(0x2ba)](_0x4f4847))return this[_0x38128b(0x401)](),this[_0x38128b(0x208)][_0x38128b(0x3cd)](exports[_0x38128b(0x43f)],this[_0x38128b(0x221)],this[_0x38128b(0x45d)],null,this['_pendingMutations'],null,[_0x4f4847],this[_0x38128b(0x394)]);try{const _0x3ddf69=this[_0x38128b(0x2d7)][_0x38128b(0x44b)](_0x4f4847,this[_0x38128b(0x270)]);if(m['isTransformMutationsWithChangesetSuccess'](_0x3ddf69)){const {c1Prime:_0x299b99,m2Prime:_0x24eacf}=_0x3ddf69;this['_executeRemoteChangeset'](_0x299b99);const _0x21a81c=this[_0x38128b(0x208)][_0x38128b(0x3cd)](exports[_0x38128b(0x234)],this['unitID'],this[_0x38128b(0x45d)],_0x24eacf,this[_0x38128b(0x394)]);return this[_0x38128b(0x401)](),_0x21a81c[_0x38128b(0x18d)](this[_0x38128b(0x3d1)]?Math[_0x38128b(0x37d)](0x0,new Date()['getTime']()-this[_0x38128b(0x3d1)]):this[_0x38128b(0x38d)]()),_0x21a81c;}throw _0x3ddf69['error'];}catch(_0x41f334){return this[_0x38128b(0x21e)][_0x38128b(0x33f)](_0x41f334),this['_onConflict'](!0x1);}}[_0x41e00d(0x1e0)](){var _0x4ad3ff=_0x41e00d;throw new Error(_0x4ad3ff(0x38b));}[_0x41e00d(0x1b6)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x41e00d(0x379)](){return this;}[_0x41e00d(0x21d)](){var _0x23fcaa=_0x41e00d;return this[_0x23fcaa(0x401)](),this[_0x23fcaa(0x208)][_0x23fcaa(0x3cd)](exports[_0x23fcaa(0x2d3)],this[_0x23fcaa(0x221)],this[_0x23fcaa(0x45d)],null,this[_0x23fcaa(0x270)],this['_handler']);}['toggleOnline'](){return this;}[_0x41e00d(0x18d)](_0x38626f){var _0x132560=_0x41e00d;const _0xb915f1=_0x38626f!=null?_0x38626f:this[_0x132560(0x38d)]();this[_0x132560(0x3d1)]=new Date()[_0x132560(0x22f)](),this[_0x132560(0x27e)]=setTimeout(()=>{var _0x28c089=_0x132560;this[_0x28c089(0x401)]();let _0x52f7fe=null;switch(this[_0x28c089(0x45d)]){case Z[_0x28c089(0x43a)]:{_0x52f7fe=ze(this[_0x28c089(0x270)],this[_0x28c089(0x221)],this['_univerInstanceService'],this[_0x28c089(0x4b6)],this[_0x28c089(0x1c4)]);break;}case Z['UNIVER_DOC']:{this[_0x28c089(0x270)][_0x28c089(0x382)](_0xa961e9=>_0xa961e9['id']===ut[_0x28c089(0x2af)]['id'])?_0x52f7fe=Ti(this['_pendingMutations'],this['unitID'],this['_univerInstanceService'],this[_0x28c089(0x4b6)],this[_0x28c089(0x1c4)]):_0x52f7fe=ze(this[_0x28c089(0x270)],this[_0x28c089(0x221)],this['_univerInstanceService'],this[_0x28c089(0x4b6)],this['_memberService']);break;}default:throw new Error(_0x28c089(0x333)+this['type']+_0x28c089(0x2aa));}const {changeset:_0x1bf515,pendingMutations:_0xd9c4c}=_0x52f7fe;this[_0x28c089(0x394)]['onSendChangeset'](_0x1bf515);const _0x69303=_0xd9c4c[_0x28c089(0x1bd)]?this[_0x28c089(0x208)]['createInstance'](exports[_0x28c089(0x438)],this[_0x28c089(0x221)],this[_0x28c089(0x45d)],_0x1bf515,_0xd9c4c,this[_0x28c089(0x394)],void 0x0):this[_0x28c089(0x208)][_0x28c089(0x3cd)](exports['AwaitingState'],this['unitID'],this[_0x28c089(0x45d)],_0x1bf515,this[_0x28c089(0x394)]);_0x69303[_0x28c089(0x470)](),this[_0x28c089(0x394)][_0x28c089(0x421)](this,_0x69303);},_0xb915f1);}['_getSendChangesetTimeout'](){var _0x144698=_0x41e00d,_0x50ea4a;const _0x2e9355=this[_0x144698(0x485)]['getConfig'](q);return(_0x50ea4a=_0x2e9355==null?void 0x0:_0x2e9355[_0x144698(0x1cf)])!=null?_0x50ea4a:kt;}[_0x41e00d(0x226)](){var _0x37bc5b=_0x41e00d;throw new Error(_0x37bc5b(0x480));}['_clearScheduledTask'](){var _0x48eccf=_0x41e00d;this[_0x48eccf(0x27e)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x48eccf(0x27e)]=null);}[_0x41e00d(0x15a)](_0x574ad0){var _0x1236d2=_0x41e00d;return this[_0x1236d2(0x401)](),this[_0x1236d2(0x208)][_0x1236d2(0x3cd)](exports['ConflictState'],this[_0x1236d2(0x221)],this[_0x1236d2(0x45d)],null,this[_0x1236d2(0x270)],this[_0x1236d2(0x394)],_0x574ad0);}},exports[_0x41e00d(0x234)]=le([A(0x4,a['Inject'](a['Injector'])),A(0x5,a[_0x41e00d(0x29c)](m[_0x41e00d(0x2fe)])),A(0x6,a[_0x41e00d(0x29c)](exports[_0x41e00d(0x475)])),A(0x7,a[_0x41e00d(0x166)]),A(0x8,a[_0x41e00d(0x361)]),A(0x9,a[_0x41e00d(0x454)]),A(0xa,m[_0x41e00d(0x43d)]),A(0xb,a['IUniverInstanceService']),A(0xc,a[_0x41e00d(0x3b7)]),A(0xd,a[_0x41e00d(0x220)](J))],exports[_0x41e00d(0x234)]),exports[_0x41e00d(0x417)]=class extends _e{constructor(_0xb45ebb,_0x24cddf,_0x198142,_0x43f7ba,_0xf2359d,_0x25b933,_0x5e03df,_0x5ccaff,_0x397f59,_0x3a3335,_0x5338f3){var _0x2ff1cd=_0x41e00d;super(_0xb45ebb,_0x24cddf,_0x198142,[],_0x43f7ba,_0x5e03df,_0x3a3335,_0x25b933,_0x5338f3),D(this,_0x2ff1cd(0x331),_0x2ff1cd(0x26b)),D(this,'_resendTimeout',0x0),D(this,_0x2ff1cd(0x1f9)),D(this,_0x2ff1cd(0x15f)),(this['_injector']=_0xf2359d,this[_0x2ff1cd(0x21e)]=_0x5ccaff,this[_0x2ff1cd(0x2d7)]=_0x397f59);}[_0x41e00d(0x176)](_0x265218){var _0x57f461=_0x41e00d;this['_clearScheduledTask']();const _0x1487a2=this[_0x57f461(0x208)][_0x57f461(0x3cd)](exports['AwaitingWithPendingState'],this[_0x57f461(0x221)],this['type'],this['_awaitingChangeset'],[_0x265218],this['_handler'],this[_0x57f461(0x1f9)]);return _0x1487a2[_0x57f461(0x470)](),_0x1487a2;}[_0x41e00d(0x433)](_0x4bda9c){var _0x5c4106=_0x41e00d;if(this[_0x5c4106(0x2ba)](_0x4bda9c))return this[_0x5c4106(0x401)](),this[_0x5c4106(0x208)][_0x5c4106(0x3cd)](exports[_0x5c4106(0x43f)],this[_0x5c4106(0x221)],this['type'],this[_0x5c4106(0x276)],[],null,[_0x4bda9c],this[_0x5c4106(0x394)]);try{const _0x2a4814=this[_0x5c4106(0x2d7)][_0x5c4106(0x142)]([_0x4bda9c],[this[_0x5c4106(0x276)]],!0x1);if(m[_0x5c4106(0x18b)](_0x2a4814)){const {c1Prime:_0x334e5b,c2Prime:_0x7dbed4}=_0x2a4814;this[_0x5c4106(0x384)](_0x334e5b[0x0]),_0x7dbed4[0x0][_0x5c4106(0x467)]=this['_getCurrentRevision'](),this[_0x5c4106(0x401)]();const _0x2d8f12=this[_0x5c4106(0x208)][_0x5c4106(0x3cd)](exports[_0x5c4106(0x417)],this[_0x5c4106(0x221)],this[_0x5c4106(0x45d)],_0x7dbed4[0x0],this[_0x5c4106(0x394)]);return _0x2d8f12['_updateLocalCache'](),_0x2d8f12;}return this['_onConflict'](!0x1);}catch(_0x420d9b){return this[_0x5c4106(0x21e)]['error'](_0x420d9b),this[_0x5c4106(0x15a)](!0x1);}}['onRemoteAck'](_0x362d42){var _0x2e3afb=_0x41e00d;this['_clearScheduledTask']();const _0x52151c=this[_0x2e3afb(0x4b6)][_0x2e3afb(0x179)](this['unitID']);if(_0x362d42[_0x2e3afb(0x2a6)]<_0x52151c-0x1)return this;if(this['_checkMissing'](_0x362d42))return this[_0x2e3afb(0x208)][_0x2e3afb(0x3cd)](exports[_0x2e3afb(0x43f)],this[_0x2e3afb(0x221)],this[_0x2e3afb(0x45d)],null,[],this[_0x2e3afb(0x276)],[],this['_handler']);this[_0x2e3afb(0x357)]();const _0x39d434=this[_0x2e3afb(0x208)][_0x2e3afb(0x3cd)](exports[_0x2e3afb(0x46b)],this['unitID'],this['type'],this[_0x2e3afb(0x394)]);return _0x39d434[_0x2e3afb(0x470)](),_0x39d434;}[_0x41e00d(0x1b6)](_0x56a343){var _0x553878=_0x41e00d;return this[_0x553878(0x15a)](!!(_0x56a343!=null&&_0x56a343['isPermissionRej']));}[_0x41e00d(0x379)](_0x46086d){var _0x33414a=_0x41e00d;return this[_0x33414a(0x4bd)]>Pt?this[_0x33414a(0x21d)]():(this[_0x33414a(0x1f9)]=Ot(this['_resendTimeout'],{'timeout':this[_0x33414a(0x4bd)],'reqId':_0x46086d[_0x33414a(0x446)]}),this[_0x33414a(0x15f)]=this[_0x33414a(0x1f9)]['subscribe'](({reqId:_0x1ce923,timeout:_0x4882a0})=>{var _0x4ce787=_0x33414a;this[_0x4ce787(0x1f0)](_0x1ce923,_0x4882a0);}),this);}[_0x41e00d(0x21d)](){var _0x3e5f16=_0x41e00d;return this[_0x3e5f16(0x401)](),this['_injector'][_0x3e5f16(0x3cd)](exports['OfflineState'],this['unitID'],this[_0x3e5f16(0x45d)],this['_awaitingChangeset'],[],this['_handler']);}[_0x41e00d(0x4b4)](){return this;}[_0x41e00d(0x226)](){var _0x2a1e9a=_0x41e00d;this['_handler']['onSendChangeset'](this[_0x2a1e9a(0x276)]);}[_0x41e00d(0x15a)](_0x40f4bb){var _0x51d9c8=_0x41e00d;return this[_0x51d9c8(0x401)](),this[_0x51d9c8(0x208)][_0x51d9c8(0x3cd)](exports[_0x51d9c8(0x1b8)],this[_0x51d9c8(0x221)],this['type'],this[_0x51d9c8(0x276)],[],this[_0x51d9c8(0x394)],_0x40f4bb);}[_0x41e00d(0x1f0)](_0x4ecb7f,_0x1d2b5f){var _0x17cb3b=_0x41e00d,_0x45679f;_0x4ecb7f===((_0x45679f=this[_0x17cb3b(0x276)])==null?void 0x0:_0x45679f['reqId'])&&(this[_0x17cb3b(0x226)](),this[_0x17cb3b(0x4bd)]=_0x1d2b5f===0x0?0x3e8:_0x1d2b5f*0x2);}[_0x41e00d(0x401)](){var _0x5cdab5=_0x41e00d,_0x1fc663;(_0x1fc663=this['_sender'])==null||_0x1fc663['unsubscribe'](),this[_0x5cdab5(0x4bd)]=0x0;}},exports[_0x41e00d(0x417)]=le([A(0x4,a['Inject'](a[_0x41e00d(0x3c9)])),A(0x5,a[_0x41e00d(0x29c)](m[_0x41e00d(0x2fe)])),A(0x6,a[_0x41e00d(0x361)]),A(0x7,a[_0x41e00d(0x166)]),A(0x8,m[_0x41e00d(0x43d)]),A(0x9,a[_0x41e00d(0x3b7)]),A(0xa,a[_0x41e00d(0x220)](J))],exports[_0x41e00d(0x417)]),exports[_0x41e00d(0x438)]=class extends _e{constructor(_0x39a41e,_0x724524,_0x1a320c,_0xba5261,_0x3cecd7,_0x26feda,_0x3bc49d,_0x7e9fbc,_0x668d34,_0x49664e,_0x47941c,_0x1de14a,_0x50eb0c){var _0x3b3532=_0x41e00d;super(_0x39a41e,_0x724524,_0x1a320c,_0xba5261,_0x3cecd7,_0x668d34,_0x1de14a,_0x7e9fbc,_0x50eb0c),D(this,'status','awaiting_with_pending'),D(this,_0x3b3532(0x4bd),0x0),D(this,_0x3b3532(0x1f9)),D(this,'_sender'),(this[_0x3b3532(0x208)]=_0x3bc49d,this[_0x3b3532(0x21e)]=_0x49664e,this['_transformService']=_0x47941c,this[_0x3b3532(0x2e8)]=_0x50eb0c,_0x26feda&&(this[_0x3b3532(0x1f9)]=_0x26feda,this[_0x3b3532(0x15f)]=this[_0x3b3532(0x1f9)]['subscribe'](({reqId:_0x2dbd83,timeout:_0x3cc3f2})=>{var _0x220e55=_0x3b3532;this[_0x220e55(0x1f0)](_0x2dbd83,_0x3cc3f2);})));}[_0x41e00d(0x176)](_0x43d1af){var _0x49a375=_0x41e00d;return this[_0x49a375(0x270)][_0x49a375(0x2b3)](_0x43d1af),this;}[_0x41e00d(0x433)](_0x2d6d76){var _0x46de3c=_0x41e00d;if(this[_0x46de3c(0x2ba)](_0x2d6d76))return this[_0x46de3c(0x401)](),this['_injector']['createInstance'](exports[_0x46de3c(0x43f)],this[_0x46de3c(0x221)],this[_0x46de3c(0x45d)],this[_0x46de3c(0x276)],this[_0x46de3c(0x270)],null,[_0x2d6d76],this[_0x46de3c(0x394)]);try{const _0x4af765=this[_0x46de3c(0x2d7)][_0x46de3c(0x142)]([_0x2d6d76],[this[_0x46de3c(0x276)]],!0x1);if(m[_0x46de3c(0x18b)](_0x4af765)){const {c1Prime:_0x494f4c,c2Prime:_0x1e506b}=_0x4af765,_0x229cd5=this[_0x46de3c(0x2d7)]['transformMutationsWithChangeset'](_0x494f4c[0x0],this['_pendingMutations']);if(m[_0x46de3c(0x27c)](_0x229cd5)){const {c1Prime:_0x5a2c58,m2Prime:_0x174330}=_0x229cd5;return this['_executeRemoteChangeset'](_0x5a2c58),_0x1e506b[0x0]['baseRev']=this[_0x46de3c(0x4c0)](),this['_clearScheduledTask'](),this[_0x46de3c(0x208)][_0x46de3c(0x3cd)](exports[_0x46de3c(0x438)],this[_0x46de3c(0x221)],this[_0x46de3c(0x45d)],_0x1e506b[0x0],_0x174330,this[_0x46de3c(0x394)],void 0x0);}throw _0x229cd5['error'];}throw _0x4af765[_0x46de3c(0x33f)];}catch(_0x24979c){return this[_0x46de3c(0x21e)][_0x46de3c(0x33f)](_0x24979c),this[_0x46de3c(0x15a)](!0x1);}}[_0x41e00d(0x1e0)](_0x50978e){var _0x10b415=_0x41e00d;if(this[_0x10b415(0x401)](),this[_0x10b415(0x2ba)](_0x50978e))return this[_0x10b415(0x208)]['createInstance'](exports[_0x10b415(0x43f)],this['unitID'],this[_0x10b415(0x45d)],null,this[_0x10b415(0x270)],this[_0x10b415(0x276)],[],this['_handler']);this[_0x10b415(0x357)]();const _0x21ca67=this['_injector']['createInstance'](exports[_0x10b415(0x234)],this[_0x10b415(0x221)],this[_0x10b415(0x45d)],this['_pendingMutations'],this['_handler']);return _0x21ca67[_0x10b415(0x18d)](),_0x21ca67['_updateLocalCache'](),_0x21ca67;}[_0x41e00d(0x1b6)](_0x48870b){var _0x57b852=_0x41e00d;return this[_0x57b852(0x15a)](!!(_0x48870b!=null&&_0x48870b[_0x57b852(0x2bc)]));}[_0x41e00d(0x379)](_0x5d8ee6){var _0x4dc390=_0x41e00d;return this['_resendTimeout']>Pt?this[_0x4dc390(0x21d)]():(this['_resendTimer']=Ot(this[_0x4dc390(0x4bd)],{'timeout':this['_resendTimeout'],'reqId':_0x5d8ee6[_0x4dc390(0x446)]}),this[_0x4dc390(0x15f)]=this['_resendTimer'][_0x4dc390(0x349)](({reqId:_0x5f3c3b,timeout:_0x452c53})=>{var _0x3b03f8=_0x4dc390;this[_0x3b03f8(0x1f0)](_0x5f3c3b,_0x452c53);}),this);}[_0x41e00d(0x21d)](){var _0x351891=_0x41e00d;return this['_clearScheduledTask'](),this[_0x351891(0x208)][_0x351891(0x3cd)](exports[_0x351891(0x2d3)],this[_0x351891(0x221)],this[_0x351891(0x45d)],this[_0x351891(0x276)],this[_0x351891(0x270)],this[_0x351891(0x394)]);}[_0x41e00d(0x4b4)](){return this;}[_0x41e00d(0x226)](){var _0x4aee28=_0x41e00d;this[_0x4aee28(0x394)][_0x4aee28(0x392)](this['_awaitingChangeset']);}['_onConflict'](_0x4e96fe){var _0x2f6c28=_0x41e00d;return this[_0x2f6c28(0x401)](),this[_0x2f6c28(0x208)][_0x2f6c28(0x3cd)](exports[_0x2f6c28(0x1b8)],this[_0x2f6c28(0x221)],this[_0x2f6c28(0x45d)],null,this['_pendingMutations'],this['_handler'],_0x4e96fe);}['_resendWithTimeout'](_0x196026,_0x29ddc9){var _0x2f58e3=_0x41e00d,_0x7ab3e6;_0x196026===((_0x7ab3e6=this[_0x2f58e3(0x276)])==null?void 0x0:_0x7ab3e6[_0x2f58e3(0x446)])&&(this[_0x2f58e3(0x226)](),this[_0x2f58e3(0x4bd)]=_0x29ddc9===0x0?0x3e8:_0x29ddc9*0x2);}[_0x41e00d(0x401)](){var _0x1f8d98=_0x41e00d,_0x19ddc5;(_0x19ddc5=this[_0x1f8d98(0x15f)])==null||_0x19ddc5['unsubscribe'](),this[_0x1f8d98(0x4bd)]=0x0;}},exports[_0x41e00d(0x438)]=le([A(0x6,a[_0x41e00d(0x29c)](a[_0x41e00d(0x3c9)])),A(0x7,a[_0x41e00d(0x29c)](m[_0x41e00d(0x2fe)])),A(0x8,a[_0x41e00d(0x361)]),A(0x9,a[_0x41e00d(0x166)]),A(0xa,m[_0x41e00d(0x43d)]),A(0xb,a[_0x41e00d(0x3b7)]),A(0xc,a[_0x41e00d(0x220)](J))],exports[_0x41e00d(0x438)]),exports[_0x41e00d(0x1b8)]=class extends _e{constructor(_0xbdecc4,_0x201173,_0x6cb683,_0x5118fd,_0x30453b,_0x4b3dab=!0x1,_0x1110b2,_0x1bb690,_0x84fe22,_0x10c835,_0x1ae5b0,_0x5def49,_0x36d32e){var _0x11f6ed=_0x41e00d;super(_0xbdecc4,_0x201173,_0x6cb683,_0x5118fd,_0x30453b,_0x1bb690,_0x84fe22,_0x10c835,_0x36d32e),D(this,_0x11f6ed(0x331),_0x11f6ed(0x4c3)),(this[_0x11f6ed(0x371)]=_0x4b3dab,this[_0x11f6ed(0x204)]=_0x1110b2,this['_localeService']=_0x1ae5b0,this['_collaborationUIEventService']=_0x5def49,this[_0x11f6ed(0x2e8)]=_0x36d32e,this[_0x11f6ed(0x46f)](),this[_0x11f6ed(0x151)](),this[_0x11f6ed(0x269)]());}[_0x41e00d(0x176)](){return this;}[_0x41e00d(0x433)](){return this;}[_0x41e00d(0x1e0)](){return this;}['onRemoteRej'](){return this;}['onRemoteRetry'](){return this;}[_0x41e00d(0x21d)](){return this;}[_0x41e00d(0x4b4)](){return this;}[_0x41e00d(0x226)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearLocalCache'](){var _0x5ead5b=_0x41e00d,_0x4c64e1;(_0x4c64e1=this['_localCacheService'])==null||_0x4c64e1[_0x5ead5b(0x395)](this[_0x5ead5b(0x221)],this[_0x5ead5b(0x45d)],null,[]);}['_showConflictNotification'](){var _0x28d953=_0x41e00d;this[_0x28d953(0x371)]?this[_0x28d953(0x334)][_0x28d953(0x1d4)]({'id':Q[_0x28d953(0x350)]}):this['_collaborationUIEventService'][_0x28d953(0x1d4)]({'id':Q[_0x28d953(0x23c)]});}['_disableEditing'](){var _0xc414eb=_0x41e00d;this[_0xc414eb(0x204)][_0xc414eb(0x31a)](new W[(_0xc414eb(0x313))](this[_0xc414eb(0x221)])['id'],!0x1);}},exports['ConflictState']=le([A(0x6,a[_0x41e00d(0x29c)](a[_0x41e00d(0x323)])),A(0x7,a['ICommandService']),A(0x8,a[_0x41e00d(0x3b7)]),A(0x9,a[_0x41e00d(0x29c)](m['RevisionService'])),A(0xa,a[_0x41e00d(0x29c)](a[_0x41e00d(0x172)])),A(0xb,a[_0x41e00d(0x29c)](te)),A(0xc,a['Optional'](J))],exports[_0x41e00d(0x1b8)]),exports[_0x41e00d(0x2d3)]=class extends _e{constructor(_0x519858,_0x3fca17,_0x38bb76,_0x2d9fc2,_0xe94712,_0x182c90,_0x3e773a,_0x243672,_0x4fabfc,_0x26ee71){var _0xe1b078=_0x41e00d;super(_0x519858,_0x3fca17,_0x38bb76,_0x2d9fc2,_0xe94712,_0x243672,_0x4fabfc,_0x3e773a,_0x26ee71),D(this,_0xe1b078(0x331),_0xe1b078(0x2c9)),this[_0xe1b078(0x208)]=_0x182c90;}['appendMutation'](_0x143d29){var _0x5efbe1=_0x41e00d;return this[_0x5efbe1(0x270)]['push'](_0x143d29),this[_0x5efbe1(0x470)](),this;}[_0x41e00d(0x433)](_0x4cf310){var _0x16d37d=_0x41e00d;throw new Error(_0x16d37d(0x487));}[_0x41e00d(0x1e0)](){var _0x5d3611=_0x41e00d;throw new Error(_0x5d3611(0x24a));}[_0x41e00d(0x1b6)](){var _0x1b3e96=_0x41e00d;throw new Error(_0x1b3e96(0x2e2));}[_0x41e00d(0x379)](){return this;}[_0x41e00d(0x21d)](){return this;}[_0x41e00d(0x4b4)](){var _0xc2081a=_0x41e00d;const {_injector:_0x69a00e,_pendingMutations:_0xf407cd,_awaitingChangeset:_0x5447fa,unitID:_0x14daae,_handler:_0x27d24e,type:_0x1b40b3}=this,_0x3aa105=Ut(_0x69a00e,_0x14daae,_0x1b40b3,_0x5447fa,_0xf407cd,_0x27d24e);return _0x3aa105 instanceof exports[_0xc2081a(0x234)]?_0x3aa105['_schedule']():(_0x3aa105 instanceof exports[_0xc2081a(0x438)]||_0x3aa105 instanceof exports[_0xc2081a(0x417)])&&_0x3aa105[_0xc2081a(0x226)](),_0x3aa105;}['resend'](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}},exports[_0x41e00d(0x2d3)]=le([A(0x5,a[_0x41e00d(0x29c)](a['Injector'])),A(0x6,a[_0x41e00d(0x29c)](m['RevisionService'])),A(0x7,a['ICommandService']),A(0x8,a[_0x41e00d(0x3b7)]),A(0x9,a['Optional'](J))],exports['OfflineState']),exports[_0x41e00d(0x43f)]=class extends _e{constructor(_0x5065dc,_0x268080,_0x5c70a2,_0x2271f7,_0x450120,_0x435e08,_0x182a0a,_0x50ce94,_0x54f0d2,_0x55f1a1,_0x267388,_0x272105,_0xc6a37c,_0x3df56e){var _0x1288d2=_0x41e00d;super(_0x5065dc,_0x268080,_0x5c70a2,_0x2271f7,_0x182a0a,_0x267388,_0x272105,_0x54f0d2,_0x3df56e),D(this,_0x1288d2(0x331),_0x1288d2(0x1f3)),(this[_0x1288d2(0x4a5)]=_0x450120,this[_0x1288d2(0x180)]=_0x435e08,this['_injector']=_0x50ce94,this[_0x1288d2(0x21e)]=_0x55f1a1,this[_0x1288d2(0x2d7)]=_0xc6a37c,this[_0x1288d2(0x2e8)]=_0x3df56e);}[_0x41e00d(0x2d4)](_0x1ca662){var _0x3c355c=_0x41e00d;try{const _0x5f9dac=[..._0x1ca662,...this[_0x3c355c(0x180)]],_0x4a32b9=[this[_0x3c355c(0x276)]||this[_0x3c355c(0x4a5)]][_0x3c355c(0x227)](_0x4515dc=>!!_0x4515dc);let _0x5538d2,_0x250e75;if(_0x4a32b9[_0x3c355c(0x1bd)]){const _0x25b180=this[_0x3c355c(0x2d7)][_0x3c355c(0x142)](_0x5f9dac,_0x4a32b9,!0x1);if(!m[_0x3c355c(0x18b)](_0x25b180))throw _0x25b180['error'];_0x5538d2=_0x25b180[_0x3c355c(0x373)],_0x250e75=_0x25b180[_0x3c355c(0x31f)];}else _0x5538d2=_0x5f9dac,_0x250e75=[];let _0x5a3bf7=this[_0x3c355c(0x270)];_0x5538d2[_0x3c355c(0x3b3)](_0xba45f6=>{var _0x356e66=_0x3c355c;let _0x2786d9;if(_0x5a3bf7[_0x356e66(0x1bd)]){const _0x37e35=this['_transformService'][_0x356e66(0x44b)](_0xba45f6,_0x5a3bf7);if(!m[_0x356e66(0x27c)](_0x37e35))throw _0x37e35[_0x356e66(0x33f)];_0x2786d9=_0x37e35[_0x356e66(0x373)],_0x5a3bf7=_0x37e35[_0x356e66(0x3c1)];}else _0x2786d9=_0xba45f6;this[_0x356e66(0x384)](_0x2786d9);}),this[_0x3c355c(0x4a5)]&&this[_0x3c355c(0x357)](),this[_0x3c355c(0x276)]&&_0x250e75[_0x3c355c(0x1bd)]&&(_0x250e75[0x0][_0x3c355c(0x467)]=this[_0x3c355c(0x4c0)]());let _0x3fd85b;if(this[_0x3c355c(0x276)]&&_0x5a3bf7[_0x3c355c(0x1bd)]!==0x0)_0x3fd85b=this['_injector'][_0x3c355c(0x3cd)](exports[_0x3c355c(0x438)],this[_0x3c355c(0x221)],this[_0x3c355c(0x45d)],_0x250e75[0x0],_0x5a3bf7,this['_handler'],void 0x0);else{if(this[_0x3c355c(0x276)]&&_0x5a3bf7[_0x3c355c(0x1bd)]===0x0)_0x250e75[0x0]['baseRev']=this[_0x3c355c(0x4c0)](),_0x3fd85b=this['_injector'][_0x3c355c(0x3cd)](exports[_0x3c355c(0x417)],this['unitID'],this[_0x3c355c(0x45d)],_0x250e75[0x0],this[_0x3c355c(0x394)]);else{if(_0x5a3bf7['length']!==0x0){const _0x3d7d1a=this[_0x3c355c(0x208)][_0x3c355c(0x3cd)](exports[_0x3c355c(0x234)],this[_0x3c355c(0x221)],this[_0x3c355c(0x45d)],_0x5a3bf7,this['_handler']);_0x3d7d1a[_0x3c355c(0x18d)](),_0x3fd85b=_0x3d7d1a;}else _0x3fd85b=this['_injector'][_0x3c355c(0x3cd)](exports[_0x3c355c(0x46b)],this[_0x3c355c(0x221)],this[_0x3c355c(0x45d)],this[_0x3c355c(0x394)]);}}return _0x3fd85b['_updateLocalCache'](),_0x3fd85b;}catch(_0x5121f8){return this[_0x3c355c(0x21e)][_0x3c355c(0x33f)](_0x3c355c(0x1f5),_0x3c355c(0x2a2),_0x5121f8),this[_0x3c355c(0x208)]['createInstance'](exports[_0x3c355c(0x1b8)],this['unitID'],this[_0x3c355c(0x45d)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x3c355c(0x394)],!0x1);}}['resend'](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}['appendMutation'](_0x33dfd2){var _0x528af6=_0x41e00d;return this[_0x528af6(0x270)][_0x528af6(0x2b3)](_0x33dfd2),this;}[_0x41e00d(0x433)](_0x48ee39){var _0x3ea31d=_0x41e00d;return this[_0x3ea31d(0x180)]['push'](_0x48ee39),this;}['onRemoteAck'](_0x25274f){var _0x1fad5f=_0x41e00d;if(this[_0x1fad5f(0x276)])return this[_0x1fad5f(0x4a5)]=this['_awaitingChangeset'],this[_0x1fad5f(0x276)]=null,this;throw new Error(_0x1fad5f(0x4ab));}[_0x41e00d(0x1b6)](_0x58d79e){var _0x10d452=_0x41e00d;return this[_0x10d452(0x15a)](!!(_0x58d79e!=null&&_0x58d79e[_0x10d452(0x2bc)]));}[_0x41e00d(0x379)](){return this;}[_0x41e00d(0x21d)](){var _0x5bc1bc=_0x41e00d;return this[_0x5bc1bc(0x208)]['createInstance'](exports[_0x5bc1bc(0x2d3)],this[_0x5bc1bc(0x221)],this[_0x5bc1bc(0x45d)],this[_0x5bc1bc(0x276)],this['_pendingMutations'],this[_0x5bc1bc(0x394)]);}[_0x41e00d(0x4b4)](){return this;}[_0x41e00d(0x15a)](_0x552288){var _0x131fe8=_0x41e00d;return this[_0x131fe8(0x208)][_0x131fe8(0x3cd)](exports['ConflictState'],this[_0x131fe8(0x221)],this[_0x131fe8(0x45d)],this[_0x131fe8(0x276)],this['_pendingMutations'],this['_handler'],_0x552288);}},exports[_0x41e00d(0x43f)]=le([A(0x7,a['Inject'](a[_0x41e00d(0x3c9)])),A(0x8,a['Inject'](m['RevisionService'])),A(0x9,a[_0x41e00d(0x166)]),A(0xa,a[_0x41e00d(0x361)]),A(0xb,a[_0x41e00d(0x3b7)]),A(0xc,m[_0x41e00d(0x43d)]),A(0xd,a[_0x41e00d(0x220)](J))],exports['FetchingMissState']);function Ut(_0x3b0c63,_0x428717,_0x2ae5c6,_0x48cb6f,_0x96683f,_0x5986e8){var _0x12604f=_0x41e00d;return _0x48cb6f&&_0x96683f[_0x12604f(0x1bd)]?_0x3b0c63[_0x12604f(0x3cd)](exports[_0x12604f(0x438)],_0x428717,_0x2ae5c6,_0x48cb6f,_0x96683f,_0x5986e8,void 0x0):_0x48cb6f?_0x3b0c63[_0x12604f(0x3cd)](exports[_0x12604f(0x417)],_0x428717,_0x2ae5c6,_0x48cb6f,_0x5986e8):_0x96683f[_0x12604f(0x1bd)]?_0x3b0c63[_0x12604f(0x3cd)](exports[_0x12604f(0x234)],_0x428717,_0x2ae5c6,_0x96683f,_0x5986e8):_0x3b0c63[_0x12604f(0x3cd)](exports['SyncedState'],_0x428717,_0x2ae5c6,_0x5986e8);}var Oi=Object['defineProperty'],Pi=Object['getOwnPropertyDescriptor'],Ve=(_0x169c39,_0x3df14f,_0x5b7953,_0x15c57d)=>{var _0x31fecf=_0x41e00d;for(var _0x4abc56=_0x15c57d>0x1?void 0x0:_0x15c57d?Pi(_0x3df14f,_0x5b7953):_0x3df14f,_0x2564e4=_0x169c39[_0x31fecf(0x1bd)]-0x1,_0x3471b8;_0x2564e4>=0x0;_0x2564e4--)(_0x3471b8=_0x169c39[_0x2564e4])&&(_0x4abc56=(_0x15c57d?_0x3471b8(_0x3df14f,_0x5b7953,_0x4abc56):_0x3471b8(_0x4abc56))||_0x4abc56);return _0x15c57d&&_0x4abc56&&Oi(_0x3df14f,_0x5b7953,_0x4abc56),_0x4abc56;},k=(_0x3c564c,_0xa0966b)=>(_0x485442,_0x3dd3e6)=>_0xa0966b(_0x485442,_0x3dd3e6,_0x3c564c);exports['CollaborationEntity']=class extends a[_0x41e00d(0x22c)]{constructor(_0xb41da4,_0xb5432,_0x3a5785,_0x44ca40,_0x45390b,_0xd0ee9a,_0x3e8ea2,_0x59bdd2,_0x5b2223,_0x3e12e1,_0xe4c8d5,_0xf0af93,_0x2337dc){var _0x4a50c0=_0x41e00d;super(),D(this,_0x4a50c0(0x3ad),new H[(_0x4a50c0(0x2f5))](null)),D(this,_0x4a50c0(0x29a),this[_0x4a50c0(0x3ad)][_0x4a50c0(0x2da)]()),D(this,'_state'),D(this,_0x4a50c0(0x33e),!0x1),D(this,_0x4a50c0(0x33d),''),D(this,_0x4a50c0(0x3d9),0x0),D(this,_0x4a50c0(0x3d3),this[_0x4a50c0(0x29a)][_0x4a50c0(0x4b7)](H[_0x4a50c0(0x37c)](_0x1b9ea4=>_0x1b9ea4?_0x1b9ea4[_0x4a50c0(0x331)]:We['OFFLINE']),H[_0x4a50c0(0x160)](0x1))),D(this,_0x4a50c0(0x1d3),!0x1),D(this,'_remoteChangesetQueue',[]),(this[_0x4a50c0(0x221)]=_0xb41da4,this[_0x4a50c0(0x352)]=_0xb5432,this[_0x4a50c0(0x290)]=_0x3a5785,this[_0x4a50c0(0x208)]=_0x44ca40,this['_compressMutationService']=_0x45390b,this['_localeService']=_0xd0ee9a,this['_revisionService']=_0x3e8ea2,this[_0x4a50c0(0x339)]=_0x59bdd2,this['_logService']=_0x5b2223,this[_0x4a50c0(0x4af)]=_0x3e12e1,this[_0x4a50c0(0x204)]=_0xe4c8d5,this[_0x4a50c0(0x477)]=_0xf0af93,this[_0x4a50c0(0x218)]=_0x2337dc);}get[_0x41e00d(0x431)](){var _0x2a1640=_0x41e00d;return this[_0x2a1640(0x2bd)];}async[_0x41e00d(0x3ae)](){var _0x222b5b=_0x41e00d;if(this[_0x222b5b(0x431)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x222b5b(0x49a)]();}[_0x41e00d(0x356)](){var _0xef2e0f=_0x41e00d;return this[_0xef2e0f(0x33e)]=!0x0,a[_0xef2e0f(0x184)](()=>{var _0x57284b=_0xef2e0f;this[_0x57284b(0x33e)]=!0x1,this[_0x57284b(0x476)]();});}['onLocalMutation'](_0x1bd1dc){var _0x13e94f=_0x41e00d;this[_0x13e94f(0x18c)](_0x1bd1dc);}['_updateState'](_0x1b33c3){var _0x138041=_0x41e00d;this['_state']=_0x1b33c3,this['_state$'][_0x138041(0x2e7)](_0x1b33c3);}async[_0x41e00d(0x49a)](){var _0x35d432=_0x41e00d,_0x321f98;this[_0x35d432(0x230)](await this[_0x35d432(0x15c)]()),this['_singleActiveUnitService']&&((_0x321f98=this['_singleActiveUnitService'])==null||_0x321f98[_0x35d432(0x3bd)](this[_0x35d432(0x221)]),this[_0x35d432(0x1fe)](this[_0x35d432(0x477)][_0x35d432(0x2b6)](this[_0x35d432(0x221)])[_0x35d432(0x349)](_0x16edc3=>{var _0x5225a7=_0x35d432;this[_0x5225a7(0x21e)][_0x5225a7(0x255)](_0x5225a7(0x46d),_0x5225a7(0x4a8),_0x16edc3),_0x16edc3===Fe[_0x5225a7(0x1e2)]?(this[_0x5225a7(0x339)]['emitEvent']({'id':Q[_0x5225a7(0x3f0)]}),this['_permissionService']['updatePermissionPoint'](new W[(_0x5225a7(0x313))](this[_0x5225a7(0x221)])['id'],!0x1),this[_0x5225a7(0x204)][_0x5225a7(0x274)](!0x1)):(this[_0x5225a7(0x204)][_0x5225a7(0x31a)](new W[(_0x5225a7(0x313))](this[_0x5225a7(0x221)])['id'],!0x0),this[_0x5225a7(0x204)][_0x5225a7(0x274)](!0x0));})));let _0x30d11f=!0x1;return this['disposeWithMe'](this[_0x35d432(0x352)][_0x35d432(0x2b1)][_0x35d432(0x349)](_0x238728=>{var _0x267c08=_0x35d432;_0x238728===se[_0x267c08(0x320)]?this[_0x267c08(0x19b)](_0x30d11f):_0x238728===se[_0x267c08(0x40e)]&&(_0x30d11f=!0x0,this[_0x267c08(0x1dd)]());})),this['disposeWithMe'](this['session'][_0x35d432(0x306)]['subscribe'](_0x1eae38=>{var _0x5884fc=_0x35d432;try{switch(_0x1eae38[_0x5884fc(0x3bb)]){case m['CollaborationEvent'][_0x5884fc(0x2b9)]:{this[_0x5884fc(0x1ab)](m[_0x5884fc(0x23b)](_0x1eae38[_0x5884fc(0x308)]));break;}case m['CollaborationEvent']['CHANGESET_ACK']:{this[_0x5884fc(0x2ce)](_0x1eae38[_0x5884fc(0x308)]);break;}case m['CollaborationEvent'][_0x5884fc(0x30b)]:{this[_0x5884fc(0x1bc)]();break;}case m['CollaborationEvent'][_0x5884fc(0x2d6)]:{this[_0x5884fc(0x183)](_0x1eae38['data']);break;}case m[_0x5884fc(0x3b0)][_0x5884fc(0x2ed)]:{this['_onFetchMissResult'](_0x1eae38[_0x5884fc(0x308)][_0x5884fc(0x3e0)]['map'](_0x49adac=>m[_0x5884fc(0x23b)](_0x49adac)));break;}case m['CollaborationEvent']['PERMISSION_REJ']:{this[_0x5884fc(0x1bc)]({'isPermissionRej':!0x0});break;}case m[_0x5884fc(0x3b0)][_0x5884fc(0x16e)]:break;}}catch(_0x3e013c){throw console['error'](_0x5884fc(0x482),_0x3e013c),_0x3e013c;}})),this[_0x35d432(0x2bd)];}[_0x41e00d(0x2fd)](){this['_transitionLocked']=!0x1;}[_0x41e00d(0x330)](){var _0x21417a=_0x41e00d;if(this['_transitionLocked'])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this[_0x21417a(0x1d3)]=!0x0;}[_0x41e00d(0x18c)](_0x36e8b8){var _0x426579=_0x41e00d;this[_0x426579(0x330)](),this['_updateState'](this[_0x426579(0x2bd)][_0x426579(0x176)](_0x36e8b8)),this[_0x426579(0x2fd)]();}['_onRemoteChangeset'](_0x4ee62b){var _0x5338bc=_0x41e00d;if(!(_0x4ee62b['revision']<=this[_0x5338bc(0x4b6)][_0x5338bc(0x179)](this[_0x5338bc(0x221)]))){if(this[_0x5338bc(0x33e)]){this[_0x5338bc(0x1fd)][_0x5338bc(0x2b3)](_0x4ee62b);return;}this[_0x5338bc(0x28d)](_0x4ee62b);}}[_0x41e00d(0x476)](){var _0x18a202=_0x41e00d;this['_remoteChangesetQueue'][_0x18a202(0x3b3)](_0x58cf93=>this[_0x18a202(0x28d)](_0x58cf93)),this[_0x18a202(0x1fd)]=[];}['_applyRemoteChangeset'](_0xfdc873){var _0x285b1a=_0x41e00d;const _0x1f2c64=this['_compressMutationService']['interceptor'][_0x285b1a(0x1ea)](this['_compressMutationService'][_0x285b1a(0x224)][_0x285b1a(0x2b2)]()[_0x285b1a(0x1dc)])(_0xfdc873['mutations'],null)||_0xfdc873[_0x285b1a(0x38a)],_0x35aec6={..._0xfdc873,'mutations':_0x1f2c64};this[_0x285b1a(0x330)](),this[_0x285b1a(0x230)](this['_state'][_0x285b1a(0x433)](_0x35aec6)),this['_unlockTransition']();}[_0x41e00d(0x2ce)](_0x2b3234){var _0x2e66c1=_0x41e00d;this['_lockTransition'](),this[_0x2e66c1(0x230)](this['_state'][_0x2e66c1(0x1e0)](_0x2b3234)),this[_0x2e66c1(0x2fd)]();}[_0x41e00d(0x1bc)](_0x4ab828){var _0x57f583=_0x41e00d;this[_0x57f583(0x330)](),this['_updateState'](this[_0x57f583(0x2bd)][_0x57f583(0x1b6)](_0x4ab828)),this[_0x57f583(0x2fd)]();}[_0x41e00d(0x183)](_0x5d1f46){var _0x3c0be8=_0x41e00d;this['_lockTransition'](),this[_0x3c0be8(0x230)](this[_0x3c0be8(0x2bd)][_0x3c0be8(0x379)](_0x5d1f46)),this[_0x3c0be8(0x2fd)]();}[_0x41e00d(0x32e)](_0x4425bd){var _0x3739bf=_0x41e00d;if(!(this[_0x3739bf(0x2bd)]instanceof exports[_0x3739bf(0x43f)]))throw new TypeError(_0x3739bf(0x1a6));const _0x3c2d72=_0x4425bd[_0x3739bf(0x37c)](_0x4f879e=>{var _0x11140a=_0x3739bf;const _0x147e19=this[_0x11140a(0x171)][_0x11140a(0x224)][_0x11140a(0x1ea)](this[_0x11140a(0x171)]['interceptor'][_0x11140a(0x2b2)]()[_0x11140a(0x1dc)])(_0x4f879e['mutations'],null)||_0x4f879e[_0x11140a(0x38a)];return{..._0x4f879e,'mutations':_0x147e19};});this[_0x3739bf(0x330)](),this[_0x3739bf(0x230)](this[_0x3739bf(0x2bd)][_0x3739bf(0x2d4)](_0x3c2d72)),this[_0x3739bf(0x2fd)]();}[_0x41e00d(0x1dd)](){var _0x383217=_0x41e00d;this['_lockTransition'](),this['_updateState'](this[_0x383217(0x2bd)]['toggleOffline']()),this['_unlockTransition']();}[_0x41e00d(0x19b)](_0x27bc78=!0x1){var _0x279fc1=_0x41e00d;this[_0x279fc1(0x330)](),this[_0x279fc1(0x230)](this[_0x279fc1(0x2bd)][_0x279fc1(0x4b4)]()),this[_0x279fc1(0x2fd)]();const _0x5a4d76=this[_0x279fc1(0x2bd)];_0x27bc78&&_0x5a4d76 instanceof exports['SyncedState']&&(this[_0x279fc1(0x330)](),this['_updateState'](_0x5a4d76['fetchMiss']()),this[_0x279fc1(0x2fd)]());}async[_0x41e00d(0x15c)](){return new Promise(_0x296193=>{var _0x1de3bb=_0x2308;this['session']['sessionStatus$'][_0x1de3bb(0x4b7)](H[_0x1de3bb(0x16a)](0x1))[_0x1de3bb(0x349)](async _0x46b1c5=>{var _0x310b32=_0x1de3bb;_0x296193(await this[_0x310b32(0x305)](_0x46b1c5===se[_0x310b32(0x320)]));});});}[_0x41e00d(0x37e)](){var _0x5e347e=_0x41e00d;const _0x1aa414=this[_0x5e347e(0x221)];return{'onStateChange':(_0x55449b,_0x2feec9)=>{var _0x668558=_0x5e347e;if(_0x55449b!==this[_0x668558(0x2bd)])throw new Error(_0x668558(0x4c1)+_0x55449b['status']+'\x0aAfter:\x20'+_0x2feec9[_0x668558(0x331)]+'\x0aCurrent:\x20'+this['_state'][_0x668558(0x331)]);this[_0x668558(0x230)](_0x2feec9);},'onSendChangeset':_0x3fc6a6=>{var _0xc1f8ac=_0x5e347e;_0x3fc6a6[_0xc1f8ac(0x2db)]||(_0x3fc6a6[_0xc1f8ac(0x2db)]=this[_0xc1f8ac(0x33d)],_0x3fc6a6['reqId']=++this[_0xc1f8ac(0x3d9)]);const _0x51365c={'eventID':m[_0xc1f8ac(0x3b0)][_0xc1f8ac(0x33c)],'data':{'unitID':_0x3fc6a6[_0xc1f8ac(0x221)],'unitType':this[_0xc1f8ac(0x290)],'changeset':_0x3fc6a6,'memberID':this[_0xc1f8ac(0x352)][_0xc1f8ac(0x408)]()}};this['session']['send'](_0x51365c,this['unitID']);},'onMissingChangesets':({from:_0x4a9fcb,to:_0x1bdedd})=>{var _0x56d9eb=_0x5e347e;this['_logService'][_0x56d9eb(0x255)](_0x56d9eb(0x46d),_0x56d9eb(0x250)+_0x4a9fcb+_0x56d9eb(0x20f)+_0x1bdedd);const _0x4f7b46={'eventID':m['CollaborationEvent'][_0x56d9eb(0x441)],'data':{'unitID':_0x1aa414,'unitType':this[_0x56d9eb(0x290)],'from':_0x4a9fcb,'to':_0x1bdedd}};this[_0x56d9eb(0x352)][_0x56d9eb(0x414)](_0x4f7b46,this[_0x56d9eb(0x221)]);}};}async[_0x41e00d(0x305)](_0x154815){var _0x3c1824=_0x41e00d,_0x3f7153,_0x568b27,_0x10e7ba;const _0x3860fd=await((_0x3f7153=this[_0x3c1824(0x218)])==null?void 0x0:_0x3f7153[_0x3c1824(0x264)](this[_0x3c1824(0x221)])),_0x475f20=(_0x568b27=_0x3860fd==null?void 0x0:_0x3860fd['mutations'])!=null?_0x568b27:[],_0x594758=(_0x10e7ba=_0x3860fd==null?void 0x0:_0x3860fd[_0x3c1824(0x318)])!=null?_0x10e7ba:null,_0x19321e=!!(_0x594758!=null&&_0x594758[_0x3c1824(0x2db)])&&!!(_0x594758!=null&&_0x594758[_0x3c1824(0x446)]);this[_0x3c1824(0x33d)]=_0x19321e?_0x594758[_0x3c1824(0x2db)]:Si(),this[_0x3c1824(0x3d9)]=_0x19321e?_0x594758[_0x3c1824(0x446)]:0x0;const _0x30d28c=this[_0x3c1824(0x221)];try{this[_0x3c1824(0x2d8)](_0x594758,_0x475f20);}catch(_0x4aaa99){this[_0x3c1824(0x21e)][_0x3c1824(0x33f)](_0x4aaa99);}const _0x438021=this[_0x3c1824(0x37e)]();if(_0x154815){const _0x464473=Ut(this[_0x3c1824(0x208)],_0x30d28c,this[_0x3c1824(0x290)],_0x594758,_0x475f20,_0x438021);return _0x464473 instanceof exports[_0x3c1824(0x234)]?_0x464473[_0x3c1824(0x18d)]():(_0x464473 instanceof exports['AwaitingWithPendingState']||_0x464473 instanceof exports['AwaitingState'])&&_0x464473['resend'](),_0x464473;}return this[_0x3c1824(0x208)][_0x3c1824(0x3cd)](exports[_0x3c1824(0x2d3)],_0x30d28c,this[_0x3c1824(0x290)],_0x594758,_0x475f20,_0x438021);}[_0x41e00d(0x2d8)](_0x2d2d83,_0x28e985){var _0x54152f=_0x41e00d,_0x24e3cf,_0x46cc85;const _0x196073=this[_0x54152f(0x171)][_0x54152f(0x224)][_0x54152f(0x1ea)](this['_compressMutationService'][_0x54152f(0x224)]['getInterceptPoints']()[_0x54152f(0x1dc)]);(_0x24e3cf=_0x196073((_0x2d2d83==null?void 0x0:_0x2d2d83[_0x54152f(0x38a)])||[],null))==null||_0x24e3cf[_0x54152f(0x3b3)](_0x305d94=>this['_commandService'][_0x54152f(0x42f)](_0x305d94['id'],_0x305d94[_0x54152f(0x3fc)])),(_0x46cc85=_0x196073(_0x28e985||[],null))==null||_0x46cc85['forEach'](_0x53e7d6=>this[_0x54152f(0x4af)]['executeCommand'](_0x53e7d6['id'],_0x53e7d6[_0x54152f(0x3fc)]));}},exports[_0x41e00d(0x2b5)]=Ve([k(0x3,a['Inject'](a[_0x41e00d(0x3c9)])),k(0x4,a[_0x41e00d(0x29c)](m[_0x41e00d(0x1c1)])),k(0x5,a[_0x41e00d(0x29c)](a['LocaleService'])),k(0x6,a['Inject'](m['RevisionService'])),k(0x7,a[_0x41e00d(0x29c)](te)),k(0x8,a['ILogService']),k(0x9,a[_0x41e00d(0x361)]),k(0xa,a[_0x41e00d(0x323)]),k(0xb,a['Optional'](ve)),k(0xc,a[_0x41e00d(0x220)](J))],exports[_0x41e00d(0x2b5)]),exports[_0x41e00d(0x29b)]=class extends exports[_0x41e00d(0x2b5)]{constructor(_0x27925c,_0x37bf47,_0x23807b,_0x182944,_0x30d9e6,_0x339a40,_0x814360,_0x2b8d08,_0x41d855,_0x5a3d85,_0x193370,_0x291d95,_0x2703b6){var _0x1ab905=_0x41e00d;super(_0x27925c,_0x23807b,_0x37bf47,_0x182944,_0x30d9e6,_0x339a40,_0x814360,_0x2b8d08,_0x41d855,_0x5a3d85,_0x193370,_0x291d95,_0x2703b6),D(this,'_handlerCallback',null),(this[_0x1ab905(0x221)]=_0x27925c,this['type']=_0x37bf47);}[_0x41e00d(0x342)](_0x1bc46c){var _0x573236=_0x41e00d;this[_0x573236(0x364)]=_0x1bc46c;}[_0x41e00d(0x182)](){var _0xd5e7d3=_0x41e00d;this[_0xd5e7d3(0x364)]=null,super[_0xd5e7d3(0x182)]();}['_createHandler'](){var _0x38af9a=_0x41e00d;const _0x2fe611=super[_0x38af9a(0x37e)]();return _0x2fe611[_0x38af9a(0x244)]=_0x4aa677=>{var _0x52a08b=_0x38af9a,_0x525790,_0x3ea1b0;return(_0x3ea1b0=(_0x525790=this[_0x52a08b(0x364)])==null?void 0x0:_0x525790['onTransformIME'])==null?void 0x0:_0x3ea1b0[_0x52a08b(0x434)](_0x525790,_0x4aa677);},_0x2fe611[_0x38af9a(0x41f)]=_0x273597=>{var _0x2b7ff6=_0x38af9a,_0x3f67c3,_0x552fbd;return(_0x552fbd=(_0x3f67c3=this[_0x2b7ff6(0x364)])==null?void 0x0:_0x3f67c3[_0x2b7ff6(0x41f)])==null?void 0x0:_0x552fbd[_0x2b7ff6(0x434)](_0x3f67c3,_0x273597);},_0x2fe611['onTransformSelections']=_0x35314e=>{var _0x148c86=_0x38af9a,_0x2ec66f,_0x450210;return(_0x450210=(_0x2ec66f=this[_0x148c86(0x364)])==null?void 0x0:_0x2ec66f[_0x148c86(0x1b3)])==null?void 0x0:_0x450210['call'](_0x2ec66f,_0x35314e);},_0x2fe611[_0x38af9a(0x3d5)]=_0xe16a04=>{var _0x4f88e0=_0x38af9a,_0x3f18db,_0x56a2f7;return(_0x56a2f7=(_0x3f18db=this['_handlerCallback'])==null?void 0x0:_0x3f18db[_0x4f88e0(0x3d5)])==null?void 0x0:_0x56a2f7[_0x4f88e0(0x434)](_0x3f18db,_0xe16a04);},_0x2fe611[_0x38af9a(0x47d)]=_0x47166c=>{var _0x1bd3f6=_0x38af9a,_0x287fca,_0x4c59cd,_0x22e34e;if(!((_0x287fca=this[_0x1bd3f6(0x364)])!=null&&_0x287fca['onTransformRemoteChangesetByIMECache']))throw new Error(_0x1bd3f6(0x238));return(_0x22e34e=(_0x4c59cd=this['_handlerCallback'])==null?void 0x0:_0x4c59cd[_0x1bd3f6(0x47d)])==null?void 0x0:_0x22e34e[_0x1bd3f6(0x434)](_0x4c59cd,_0x47166c);},_0x2fe611['onTransformRemoteChangesetByStateCache']=_0x46dc08=>{var _0x51aa9a=_0x38af9a,_0x248b09,_0xc62e3b,_0x2898ba;if(!((_0x248b09=this[_0x51aa9a(0x364)])!=null&&_0x248b09['onTransformRemoteChangesetByStateCache']))throw new Error(_0x51aa9a(0x3eb));return(_0x2898ba=(_0xc62e3b=this['_handlerCallback'])==null?void 0x0:_0xc62e3b[_0x51aa9a(0x444)])==null?void 0x0:_0x2898ba['call'](_0xc62e3b,_0x46dc08);},_0x2fe611;}async[_0x41e00d(0x49a)](){var _0x3529d3=_0x41e00d;const _0x1a6fc4=await super[_0x3529d3(0x49a)]();return this['disposeWithMe'](this[_0x3529d3(0x4af)]['onCommandExecuted']((_0x2f167d,_0x42739e)=>{var _0x5e3b8b=_0x3529d3;if(_0x2f167d[_0x5e3b8b(0x45d)]!==a['CommandType'][_0x5e3b8b(0x292)]||_0x42739e!=null&&_0x42739e[_0x5e3b8b(0x2c1)]||_0x42739e!=null&&_0x42739e['onlyLocal']||_0x2f167d['id']===ut['RichTextEditingMutation']['id'])return;const _0x22e74d=_0x2f167d[_0x5e3b8b(0x3fc)];if((_0x22e74d==null?void 0x0:_0x22e74d['unitId'])!==this[_0x5e3b8b(0x221)])return;const _0x2f9454=_0x2f167d,_0x122c96=this[_0x5e3b8b(0x171)][_0x5e3b8b(0x224)][_0x5e3b8b(0x1ea)](this[_0x5e3b8b(0x171)][_0x5e3b8b(0x224)]['getInterceptPoints']()[_0x5e3b8b(0x34d)])([_0x2f9454],null)||[_0x2f9454];this[_0x5e3b8b(0x18c)](_0x122c96[0x0]);})),_0x1a6fc4;}},exports[_0x41e00d(0x29b)]=Ve([k(0x3,a[_0x41e00d(0x29c)](a[_0x41e00d(0x3c9)])),k(0x4,a[_0x41e00d(0x29c)](m[_0x41e00d(0x1c1)])),k(0x5,a['Inject'](a[_0x41e00d(0x172)])),k(0x6,a[_0x41e00d(0x29c)](m['RevisionService'])),k(0x7,a[_0x41e00d(0x29c)](te)),k(0x8,a[_0x41e00d(0x166)]),k(0x9,a[_0x41e00d(0x361)]),k(0xa,a[_0x41e00d(0x323)]),k(0xb,a['Optional'](ve)),k(0xc,a['Optional'](J))],exports[_0x41e00d(0x29b)]),exports[_0x41e00d(0x16b)]=class extends exports[_0x41e00d(0x2b5)]{constructor(_0x58df37,_0x36b43a,_0x2bb1a7,_0x3dbc38,_0x6f7377,_0x418106,_0x4bc28f,_0x4f967e,_0x404506,_0x592d95,_0x26a7d5,_0x392a70,_0x26cf6b,_0x275041){var _0x4da4a4=_0x41e00d;super(_0x58df37,_0x2bb1a7,_0x36b43a,_0x3dbc38,_0x6f7377,_0x418106,_0x4bc28f,_0x404506,_0x592d95,_0x26a7d5,_0x392a70,_0x26cf6b,_0x275041),this[_0x4da4a4(0x221)]=_0x58df37,this['type']=_0x36b43a,this[_0x4da4a4(0x468)]=_0x4f967e;}[_0x41e00d(0x37e)](){var _0x4db35b=_0x41e00d;const _0x4e79cf=super['_createHandler']();return _0x4e79cf[_0x4db35b(0x1b3)]=_0x48b49c=>this[_0x4db35b(0x468)][_0x4db35b(0x175)](_0x48b49c),_0x4e79cf;}async[_0x41e00d(0x49a)](){var _0x5429a3=_0x41e00d;const _0x68d2de=await super[_0x5429a3(0x49a)]();return this[_0x5429a3(0x1fe)](this[_0x5429a3(0x4af)]['onCommandExecuted']((_0x47f661,_0x3ed1ac)=>{var _0x54951a=_0x5429a3;if(_0x47f661[_0x54951a(0x45d)]!==a[_0x54951a(0x3e8)][_0x54951a(0x292)]||_0x3ed1ac!=null&&_0x3ed1ac[_0x54951a(0x2c1)]||_0x3ed1ac!=null&&_0x3ed1ac[_0x54951a(0x25f)])return;const _0x5457c3=_0x47f661[_0x54951a(0x3fc)];if((_0x5457c3==null?void 0x0:_0x5457c3[_0x54951a(0x422)])!==this[_0x54951a(0x221)])return;const _0x5187f0=_0x47f661,_0x217e25=this[_0x54951a(0x171)][_0x54951a(0x224)][_0x54951a(0x1ea)](this[_0x54951a(0x171)][_0x54951a(0x224)]['getInterceptPoints']()[_0x54951a(0x34d)])([_0x5187f0],null)||[_0x5187f0];this[_0x54951a(0x18c)](_0x217e25[0x0]);})),_0x68d2de;}},exports[_0x41e00d(0x16b)]=Ve([k(0x3,a[_0x41e00d(0x29c)](a[_0x41e00d(0x3c9)])),k(0x4,a[_0x41e00d(0x29c)](m[_0x41e00d(0x1c1)])),k(0x5,a['Inject'](a[_0x41e00d(0x172)])),k(0x6,a[_0x41e00d(0x29c)](m['RevisionService'])),k(0x7,a[_0x41e00d(0x29c)](exports['SheetTransformSelectionsService'])),k(0x8,a[_0x41e00d(0x29c)](te)),k(0x9,a[_0x41e00d(0x166)]),k(0xa,a[_0x41e00d(0x361)]),k(0xb,a['IPermissionService']),k(0xc,a[_0x41e00d(0x220)](ve)),k(0xd,a[_0x41e00d(0x220)](J))],exports[_0x41e00d(0x16b)]);var Ui=Object[_0x41e00d(0x26a)],Ni=Object['getOwnPropertyDescriptor'],Di=(_0x2a998e,_0xfd7ee9,_0x3b4017,_0x425d6b)=>{var _0x194d9e=_0x41e00d;for(var _0xab1474=_0x425d6b>0x1?void 0x0:_0x425d6b?Ni(_0xfd7ee9,_0x3b4017):_0xfd7ee9,_0x395bcf=_0x2a998e[_0x194d9e(0x1bd)]-0x1,_0x4f5c89;_0x395bcf>=0x0;_0x395bcf--)(_0x4f5c89=_0x2a998e[_0x395bcf])&&(_0xab1474=(_0x425d6b?_0x4f5c89(_0xfd7ee9,_0x3b4017,_0xab1474):_0x4f5c89(_0xab1474))||_0xab1474);return _0x425d6b&&_0xab1474&&Ui(_0xfd7ee9,_0x3b4017,_0xab1474),_0xab1474;},we=(_0x2144b5,_0x488843)=>(_0x34e890,_0xf7dc20)=>_0x488843(_0x34e890,_0xf7dc20,_0x2144b5);exports[_0x41e00d(0x147)]=class extends a[_0x41e00d(0x22c)]{constructor(_0x3075bd,_0x17a7b4,_0x39ed4a){var _0x4264a6=_0x41e00d;super(),D(this,_0x4264a6(0x3ef),new Map()),D(this,'_entityInit$',new H[(_0x4264a6(0x3c5))]()),D(this,'entityInit$',this[_0x4264a6(0x185)][_0x4264a6(0x2da)]()),(this[_0x4264a6(0x208)]=_0x3075bd,this[_0x4264a6(0x2ad)]=_0x17a7b4,this[_0x4264a6(0x14e)]=_0x39ed4a,this[_0x4264a6(0x49a)]());}[_0x41e00d(0x182)](){var _0x1b3bbf=_0x41e00d;super[_0x1b3bbf(0x182)](),this[_0x1b3bbf(0x3ef)][_0x1b3bbf(0x3b3)](_0x485822=>_0x485822['dispose']()),this[_0x1b3bbf(0x3ef)][_0x1b3bbf(0x192)]();}[_0x41e00d(0x353)](_0xd8766c){var _0x681b2b=_0x41e00d,_0xfd90d3;return(_0xfd90d3=this['_entities'][_0x681b2b(0x19e)](_0xd8766c))!=null?_0xfd90d3:null;}[_0x41e00d(0x3c0)](_0x426c0e){var _0x886e8b=_0x41e00d;const _0x1ae0a4=this[_0x886e8b(0x353)](_0x426c0e);return _0x1ae0a4?H['of'](_0x1ae0a4):this[_0x886e8b(0x185)][_0x886e8b(0x4b7)](V[_0x886e8b(0x227)](_0x1f6744=>_0x1f6744[_0x886e8b(0x221)]===_0x426c0e));}[_0x41e00d(0x1f7)](_0x1854ec){var _0x4f7767=_0x41e00d;return H[_0x4f7767(0x390)](this[_0x4f7767(0x3c0)](_0x1854ec)['pipe'](V[_0x4f7767(0x37c)](()=>{})));}[_0x41e00d(0x49a)](){var _0x1f0512=_0x41e00d;this[_0x1f0512(0x14e)]['getTypeOfUnitAdded$'](a['UniverInstanceType']['UNIVER_SHEET'])['pipe'](H[_0x1f0512(0x20e)](this['dispose$']),V[_0x1f0512(0x37f)](0x10))[_0x1f0512(0x349)](async _0x3dc26f=>{var _0x528e97=_0x1f0512;const _0x5c62a6=_0x3dc26f[_0x528e97(0x2eb)](),_0x56c50b=await this['_startCollaboration'](_0x5c62a6,Z[_0x528e97(0x43a)]);this[_0x528e97(0x3ef)][_0x528e97(0x1ca)](_0x5c62a6,_0x56c50b);}),this['_univerInstanceService'][_0x1f0512(0x439)](a['UniverInstanceType'][_0x1f0512(0x397)])['pipe'](H[_0x1f0512(0x20e)](this[_0x1f0512(0x43c)]),V['delay'](0x10))[_0x1f0512(0x4b7)](V[_0x1f0512(0x227)](_0x56d113=>!_0x56d113['getUnitId']()[_0x1f0512(0x2be)]('__')))[_0x1f0512(0x349)](async _0x19c63c=>{var _0x243795=_0x1f0512;const _0xe93772=_0x19c63c['getUnitId'](),_0x448506=await this[_0x243795(0x29e)](_0xe93772,Z[_0x243795(0x397)]);this[_0x243795(0x3ef)][_0x243795(0x1ca)](_0xe93772,_0x448506);}),H[_0x1f0512(0x316)](this[_0x1f0512(0x14e)][_0x1f0512(0x27d)](a[_0x1f0512(0x2ae)][_0x1f0512(0x43a)]),this[_0x1f0512(0x14e)][_0x1f0512(0x27d)](a['UniverInstanceType'][_0x1f0512(0x397)]))[_0x1f0512(0x4b7)](H[_0x1f0512(0x20e)](this[_0x1f0512(0x43c)]))['subscribe'](_0x1787b5=>{var _0x851dd5=_0x1f0512;const _0x59631a=_0x1787b5[_0x851dd5(0x2eb)](),_0x34bd66=this[_0x851dd5(0x3ef)][_0x851dd5(0x19e)](_0x59631a);_0x34bd66&&(_0x34bd66[_0x851dd5(0x182)](),this[_0x851dd5(0x3ef)][_0x851dd5(0x205)](_0x59631a));});}async[_0x41e00d(0x29e)](_0x35df76,_0x5a649a){var _0x34b4c8=_0x41e00d;const _0x5ea532=await this['_collabSessionService'][_0x34b4c8(0x47e)](_0x35df76),_0x15e580=this['_injector'][_0x34b4c8(0x3cd)](this[_0x34b4c8(0x3cf)](_0x5a649a),_0x35df76,_0x5a649a,_0x5ea532);return await _0x15e580[_0x34b4c8(0x3ae)](),this[_0x34b4c8(0x185)][_0x34b4c8(0x2e7)](_0x15e580),_0x15e580;}[_0x41e00d(0x3cf)](_0x525a89){var _0x3227de=_0x41e00d;switch(_0x525a89){case Z[_0x3227de(0x397)]:return exports['DocCollaborationEntity'];case Z[_0x3227de(0x43a)]:return exports[_0x3227de(0x16b)];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x525a89);}}},exports[_0x41e00d(0x147)]=Di([we(0x0,a[_0x41e00d(0x29c)](a['Injector'])),we(0x1,a[_0x41e00d(0x29c)](exports['CollaborationSessionService'])),we(0x2,a[_0x41e00d(0x3f6)])],exports['CollaborationController']);var wi=Object[_0x41e00d(0x26a)],Ai=Object[_0x41e00d(0x1b7)],Li=(_0x1e6e8a,_0x39da94,_0x4c2fb9,_0x5a19ce)=>{var _0x1a9d17=_0x41e00d;for(var _0x34b896=_0x5a19ce>0x1?void 0x0:_0x5a19ce?Ai(_0x39da94,_0x4c2fb9):_0x39da94,_0x523758=_0x1e6e8a[_0x1a9d17(0x1bd)]-0x1,_0x3e1d60;_0x523758>=0x0;_0x523758--)(_0x3e1d60=_0x1e6e8a[_0x523758])&&(_0x34b896=(_0x5a19ce?_0x3e1d60(_0x39da94,_0x4c2fb9,_0x34b896):_0x3e1d60(_0x34b896))||_0x34b896);return _0x5a19ce&&_0x34b896&&wi(_0x39da94,_0x4c2fb9,_0x34b896),_0x34b896;},Je=(_0x19032a,_0x3d1aa8)=>(_0x38ebc6,_0x48cb4d)=>_0x3d1aa8(_0x38ebc6,_0x48cb4d,_0x19032a);const Mi=_0x41e00d(0x240),xi=_0x41e00d(0x418);let $e=class extends a[_0x41e00d(0x328)]{constructor(_0x335e15,_0x428e8f){var _0x2fe75e=_0x41e00d;super(),this[_0x2fe75e(0x14e)]=_0x335e15,this[_0x2fe75e(0x485)]=_0x428e8f,this[_0x2fe75e(0x49a)]();}[_0x41e00d(0x49a)](){var _0x5341e4=_0x41e00d;this[_0x5341e4(0x1fe)](this[_0x5341e4(0x14e)][_0x5341e4(0x22e)]['subscribe'](()=>{var _0x49822f=_0x5341e4,_0x3c3655;const _0x5eac95=this[_0x49822f(0x14e)][_0x49822f(0x206)]();let _0x246877=(_0x3c3655=this['_configService'][_0x49822f(0x1d5)](Mi))!=null?_0x3c3655:xi;_0x5eac95 instanceof a[_0x49822f(0x23e)]&&(_0x246877=_0x5eac95[_0x49822f(0x41b)]),document['title']=_0x246877;}));}};$e=Li([Je(0x0,a[_0x41e00d(0x3f6)]),Je(0x1,a['IConfigService'])],$e);var ji=Object[_0x41e00d(0x26a)],$i=Object[_0x41e00d(0x1b7)],Hi=(_0x2799fc,_0x2c7642,_0x10437b,_0x196be8)=>{for(var _0x3facc4=_0x196be8>0x1?void 0x0:_0x196be8?$i(_0x2c7642,_0x10437b):_0x2c7642,_0x3e4ada=_0x2799fc['length']-0x1,_0x42919e;_0x3e4ada>=0x0;_0x3e4ada--)(_0x42919e=_0x2799fc[_0x3e4ada])&&(_0x3facc4=(_0x196be8?_0x42919e(_0x2c7642,_0x10437b,_0x3facc4):_0x42919e(_0x3facc4))||_0x3facc4);return _0x196be8&&_0x3facc4&&ji(_0x2c7642,_0x10437b,_0x3facc4),_0x3facc4;},Ae=(_0x49f25e,_0x390175)=>(_0xaef6db,_0x319022)=>_0x390175(_0xaef6db,_0x319022,_0x49f25e);let Oe=class{constructor(_0x33d0c1,_0x1e1550,_0x20a6fc){var _0x2ea7c7=_0x41e00d;this[_0x2ea7c7(0x485)]=_0x33d0c1,this['_httpService']=_0x1e1550,this['localeService']=_0x20a6fc,this[_0x2ea7c7(0x3ae)]();}['init'](){var _0x52d0f3=_0x41e00d;this[_0x52d0f3(0x283)][_0x52d0f3(0x287)]({'priority':0x1,'interceptor':(_0x39dcd5,_0x25f732)=>_0x25f732(_0x39dcd5)['pipe'](H['concatMap'](async _0x25bdf0=>{var _0x101cdd=_0x52d0f3;const _0x165500=_0x25bdf0;if(_0x165500[_0x101cdd(0x331)]===0x191){if(typeof window>'u')throw new Error(_0x101cdd(0x30e));if(window[_0x101cdd(0x3d8)](this[_0x101cdd(0x3c7)]['t'](_0x101cdd(0x1a0)))){const _0x589ae4=window[_0x101cdd(0x18a)](window['location'][_0x101cdd(0x21a)]);window['location'][_0x101cdd(0x21a)]=this['_getLoginPath']()+_0x101cdd(0x18e)+_0x589ae4;}}return _0x165500;}))});}[_0x41e00d(0x29d)](){var _0x58b00c=_0x41e00d,_0x363a9d,_0xfe152b;const _0x54545a=this[_0x58b00c(0x485)][_0x58b00c(0x1d5)](Et),_0x48ef5c=this[_0x58b00c(0x485)][_0x58b00c(0x1d5)](q);return(_0xfe152b=(_0x363a9d=_0x48ef5c==null?void 0x0:_0x48ef5c[_0x58b00c(0x369)])!=null?_0x363a9d:_0x54545a)!=null?_0xfe152b:qt;}};Oe=Hi([Ae(0x0,a['IConfigService']),Ae(0x1,a[_0x41e00d(0x29c)](z[_0x41e00d(0x3d2)])),Ae(0x2,a['Inject'](a[_0x41e00d(0x172)]))],Oe);var ki=Object['defineProperty'],Bi=Object[_0x41e00d(0x1b7)],Fi=(_0x3f6f3b,_0x3489e0,_0x26bcc0,_0x412bad)=>{var _0x2bd6b1=_0x41e00d;for(var _0x470582=_0x412bad>0x1?void 0x0:_0x412bad?Bi(_0x3489e0,_0x26bcc0):_0x3489e0,_0x392084=_0x3f6f3b[_0x2bd6b1(0x1bd)]-0x1,_0x1ab73a;_0x392084>=0x0;_0x392084--)(_0x1ab73a=_0x3f6f3b[_0x392084])&&(_0x470582=(_0x412bad?_0x1ab73a(_0x3489e0,_0x26bcc0,_0x470582):_0x1ab73a(_0x470582))||_0x470582);return _0x412bad&&_0x470582&&ki(_0x3489e0,_0x26bcc0,_0x470582),_0x470582;},Xe=(_0x1c8f2e,_0x9d2041)=>(_0x2e64ef,_0x48707d)=>_0x9d2041(_0x2e64ef,_0x48707d,_0x1c8f2e);const Ge=_0x41e00d(0x203),Wi=_0x41e00d(0x33b);exports[_0x41e00d(0x443)]=class extends a[_0x41e00d(0x328)]{constructor(_0xaa8ceb,_0x314df6){var _0x4838b0=_0x41e00d;super(),this['_HTTPService']=_0xaa8ceb,this[_0x4838b0(0x485)]=_0x314df6,this['_initMergeInterceptor']();}['_initMergeInterceptor'](){var _0x48f8e1=_0x41e00d;const _0x1fa9c4=this;this[_0x48f8e1(0x1fe)](this[_0x48f8e1(0x1f2)][_0x48f8e1(0x287)]({'priority':0x3e7,'interceptor':z['MergeInterceptorFactory']({'isMatch'(_0x487e29){var _0x4155e9=_0x48f8e1,_0x588465;if(_0x487e29[_0x4155e9(0x389)]===_0x4155e9(0x279)&&((_0x588465=_0x487e29['requestParams'])!=null&&_0x588465['body'])){const {objectID:_0x37c757,objectType:_0x2c642f}=_0x487e29[_0x4155e9(0x2fc)][_0x4155e9(0x42c)]||{};if(!_0x37c757||_0x2c642f===void 0x0)return!0x1;const _0x308f01=_0x1fa9c4[_0x4155e9(0x3a1)]()+'/'+_0x2c642f+_0x4155e9(0x31c)+_0x37c757+'/allowed';if(_0x487e29[_0x4155e9(0x1fc)]===_0x308f01)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x521207){var _0x1d868d=_0x48f8e1,_0x1e18e5;return(_0x1e18e5=_0x521207['requestParams'])==null?void 0x0:_0x1e18e5[_0x1d868d(0x42c)];},'mergeParamsToRequest'(_0x13535d,_0x2a99b4){var _0x538f8c=_0x48f8e1;const _0x4c8908=_0x1fa9c4[_0x538f8c(0x3a1)]()+_0x538f8c(0x457),_0xbdf21c=_0x13535d['reduce']((_0xc77b74,_0x468f27)=>{var _0x1dd497=_0x538f8c;const {unitID:_0x44469c,objectID:_0x429a28,objectType:_0x33f6fc,actions:_0x34f7dc}=_0x468f27;return _0xc77b74[_0x44469c]||(_0xc77b74[_0x44469c]={}),_0xc77b74[_0x44469c][_0x429a28]||(_0xc77b74[_0x44469c][_0x429a28]={'objectID':_0x429a28,'objectType':_0x33f6fc,'actions':[]}),_0xc77b74[_0x44469c][_0x429a28][_0x1dd497(0x1ef)]['push'](..._0x34f7dc),_0xc77b74;},{}),_0x5534d7=[];for(const _0x174532 in _0xbdf21c)for(const _0x3ca4fb in _0xbdf21c[_0x174532]){const {actions:_0xeb863f,objectType:_0x2eed2c}=_0xbdf21c[_0x174532][_0x3ca4fb],_0x2afb04=[...new Set(_0xeb863f)];_0x5534d7['push']({'unitID':_0x174532,'objectID':_0x3ca4fb,'objectType':_0x2eed2c,'actions':_0x2afb04});}return new z['HTTPRequest'](_0x538f8c(0x279),_0x4c8908,{'headers':_0x2a99b4[_0x538f8c(0x35b)],'withCredentials':_0x2a99b4[_0x538f8c(0x409)],'responseType':_0x2a99b4['responseType'],'body':{'requests':_0x5534d7}});}},{'distributeResult'(_0x29ced6,_0x474438){var _0x5d2dde=_0x48f8e1;const {objectActions:_0x2fb81e}=_0x29ced6;return _0x474438[_0x5d2dde(0x37c)](_0x4959a9=>{var _0x2e1bf9=_0x5d2dde;const {unitID:_0x4c4d0,objectID:_0x4a8c51,actions:_0x132ad6}=_0x4959a9,_0x4b106f=_0x2fb81e[_0x2e1bf9(0x1ce)](_0x14f307=>_0x14f307[_0x2e1bf9(0x221)]===_0x4c4d0&&_0x14f307[_0x2e1bf9(0x425)]===_0x4a8c51),_0x6ebe17=_0x132ad6[_0x2e1bf9(0x37c)](_0x3babb1=>_0x4b106f==null?void 0x0:_0x4b106f[_0x2e1bf9(0x1ef)][_0x2e1bf9(0x1ce)](_0x3b3092=>_0x3b3092[_0x2e1bf9(0x3ac)]===_0x3babb1))[_0x2e1bf9(0x227)](_0x1ecca4=>!!_0x1ecca4);return{'config':_0x4959a9,'result':{'actions':_0x6ebe17,'error':_0x29ced6[_0x2e1bf9(0x33f)]}};});}})}));}['_getAPIPrefixPath'](){var _0xcd40a7=_0x41e00d,_0x13ed04,_0x4806aa;const _0x1a0fde=this[_0xcd40a7(0x485)][_0xcd40a7(0x1d5)](Ge),_0x33e7d8=this[_0xcd40a7(0x485)][_0xcd40a7(0x1d5)](q);return(_0x4806aa=(_0x13ed04=_0x33e7d8==null?void 0x0:_0x33e7d8['authzUrl'])!=null?_0x13ed04:_0x1a0fde)!=null?_0x4806aa:Wi;}async[_0x41e00d(0x1ac)](_0x451949){var _0x1cc0fb=_0x41e00d;const _0x2987f7=this[_0x1cc0fb(0x3a1)]()+'/'+_0x451949[_0x1cc0fb(0x359)]+_0x1cc0fb(0x257);return(await this[_0x1cc0fb(0x1f2)][_0x1cc0fb(0x1ec)](_0x2987f7,{'body':_0x451949}))['body']['objectID']||'';}async[_0x41e00d(0x1ad)](_0x50c263){var _0x3eb6b6=_0x41e00d;const _0x1b6c6e=this['_getAPIPrefixPath']()+_0x3eb6b6(0x44f);return(await this[_0x3eb6b6(0x1f2)][_0x3eb6b6(0x1ec)](_0x1b6c6e,{'body':_0x50c263}))['body'][_0x3eb6b6(0x1eb)];}async[_0x41e00d(0x3c3)](_0x354b2b){var _0x29b885=_0x41e00d;const _0x277632=this['_getAPIPrefixPath']()+'/'+_0x354b2b[_0x29b885(0x359)]+_0x29b885(0x31c)+_0x354b2b[_0x29b885(0x425)];await this['_HTTPService'][_0x29b885(0x146)](_0x277632,{'body':_0x354b2b});}async['allowed'](_0x53da6a){var _0x51168b=_0x41e00d;const _0x1073dc=this[_0x51168b(0x3a1)]()+'/'+_0x53da6a[_0x51168b(0x359)]+_0x51168b(0x31c)+_0x53da6a[_0x51168b(0x425)]+'/allowed';return(await this[_0x51168b(0x1f2)][_0x51168b(0x1ec)](_0x1073dc,{'body':_0x53da6a}))[_0x51168b(0x42c)]['actions'];}async[_0x41e00d(0x167)](_0x499f3f){var _0x19ae3d=_0x41e00d;const _0x2da60b=this[_0x19ae3d(0x3a1)]()+_0x19ae3d(0x457);return(await this[_0x19ae3d(0x1f2)][_0x19ae3d(0x1ec)](_0x2da60b,{'body':{'requests':_0x499f3f}}))['body'][_0x19ae3d(0x1a8)];}async['listRoles'](_0x1ba0c3){var _0x43ae3e=_0x41e00d;const _0x325cf4=this['_getAPIPrefixPath']()+'/'+_0x1ba0c3[_0x43ae3e(0x359)]+_0x43ae3e(0x1e7),_0x309b67=await this[_0x43ae3e(0x1f2)][_0x43ae3e(0x1ec)](_0x325cf4,{'body':_0x1ba0c3});return{'roles':_0x309b67[_0x43ae3e(0x42c)][_0x43ae3e(0x497)],'actions':_0x309b67[_0x43ae3e(0x42c)][_0x43ae3e(0x1ef)]};}async['deleteCollaborator'](_0xf7b0bf){var _0x11b657=_0x41e00d;const _0x11a06e=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x11b657(0x1f2)]['delete'](_0x11a06e,{'params':{'collaboratorID':_0xf7b0bf[_0x11b657(0x268)],'objectID':_0xf7b0bf[_0x11b657(0x425)],'unitID':_0xf7b0bf[_0x11b657(0x221)]}});}async[_0x41e00d(0x288)](_0x4149c3){var _0x2173aa=_0x41e00d;const _0xb11e71=this['_getAPIPrefixPath']()+_0x2173aa(0x1e4);await this['_HTTPService'][_0x2173aa(0x259)](_0xb11e71,{'body':_0x4149c3});}async[_0x41e00d(0x198)](_0xb9fa4){var _0x8f4bbe=_0x41e00d;const _0x17f5af=this[_0x8f4bbe(0x3a1)]()+_0x8f4bbe(0x1e4);await this['_HTTPService'][_0x8f4bbe(0x1ec)](_0x17f5af,{'body':_0xb9fa4});}async[_0x41e00d(0x340)](_0x18804f){var _0x1e7de0=_0x41e00d;const _0x518b83=this[_0x1e7de0(0x3a1)]()+_0x1e7de0(0x1e4);return(await this['_HTTPService'][_0x1e7de0(0x19e)](_0x518b83,{'params':{'objectID':_0x18804f[_0x1e7de0(0x425)],'unitID':_0x18804f[_0x1e7de0(0x221)]}}))[_0x1e7de0(0x42c)]['collaborators'];}async[_0x41e00d(0x34c)](_0x3a59cd){var _0x2fb956=_0x41e00d;const _0x59d920=this[_0x2fb956(0x3a1)]()+'/collaborator';await this[_0x2fb956(0x1f2)][_0x2fb956(0x146)](_0x59d920,{'body':_0x3a59cd});}},exports['AuthzIoHttpService']=Fi([Xe(0x0,a[_0x41e00d(0x29c)](z[_0x41e00d(0x3d2)])),Xe(0x1,a[_0x41e00d(0x29c)](a[_0x41e00d(0x454)]))],exports[_0x41e00d(0x443)]);var Le=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function fe(_0x291e65){var _0x2716be=_0x41e00d;return _0x291e65&&_0x291e65['__esModule']&&Object[_0x2716be(0x45e)][_0x2716be(0x460)]['call'](_0x291e65,_0x2716be(0x4ba))?_0x291e65[_0x2716be(0x4ba)]:_0x291e65;}var Se={'exports':{}};function Vi(_0x17cc20){var _0x242145=_0x41e00d;throw new Error(_0x242145(0x162)+_0x17cc20+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var pe={'exports':{}},Gi=pe[_0x41e00d(0x37a)],Ze;function ee(){return Ze||(Ze=0x1,function(_0x615642,_0x2ee605){(function(_0x517c45,_0x36bd6f){var _0x1679ee=_0x2308;_0x615642[_0x1679ee(0x37a)]=_0x36bd6f();}(Gi,function(){var _0x24ba87=_0x24ba87||function(_0x5df091,_0x335c42){var _0x364895=_0x2308,_0x3f2ae2;if(typeof window<'u'&&window[_0x364895(0x3ee)]&&(_0x3f2ae2=window['crypto']),typeof self<'u'&&self['crypto']&&(_0x3f2ae2=self[_0x364895(0x3ee)]),typeof globalThis<'u'&&globalThis[_0x364895(0x3ee)]&&(_0x3f2ae2=globalThis[_0x364895(0x3ee)]),!_0x3f2ae2&&typeof window<'u'&&window[_0x364895(0x4bc)]&&(_0x3f2ae2=window[_0x364895(0x4bc)]),!_0x3f2ae2&&typeof Le<'u'&&Le['crypto']&&(_0x3f2ae2=Le[_0x364895(0x3ee)]),!_0x3f2ae2&&typeof Vi==_0x364895(0x2e6))try{_0x3f2ae2=require(_0x364895(0x3ee));}catch{}var _0x5b3acb=function(){var _0x5e2501=_0x364895;if(_0x3f2ae2){if(typeof _0x3f2ae2['getRandomValues']==_0x5e2501(0x2e6))try{return _0x3f2ae2[_0x5e2501(0x324)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x3f2ae2[_0x5e2501(0x265)]==_0x5e2501(0x2e6))try{return _0x3f2ae2[_0x5e2501(0x265)](0x4)[_0x5e2501(0x2b7)]();}catch{}}throw new Error(_0x5e2501(0x2a3));},_0x2dec9c=Object['create']||(function(){function _0x25cb73(){}return function(_0x388bfa){var _0x35934d=_0x2308,_0x2a0620;return _0x25cb73[_0x35934d(0x45e)]=_0x388bfa,_0x2a0620=new _0x25cb73(),_0x25cb73[_0x35934d(0x45e)]=null,_0x2a0620;};}()),_0x1e7e77={},_0x1c6a77=_0x1e7e77['lib']={},_0x2998c2=_0x1c6a77['Base']=(function(){return{'extend':function(_0x25e163){var _0x4145da=_0x2308,_0x20acf2=_0x2dec9c(this);return _0x25e163&&_0x20acf2[_0x4145da(0x3ff)](_0x25e163),(!_0x20acf2['hasOwnProperty']('init')||this['init']===_0x20acf2[_0x4145da(0x3ae)])&&(_0x20acf2[_0x4145da(0x3ae)]=function(){var _0x1d5ed3=_0x4145da;_0x20acf2[_0x1d5ed3(0x2c5)][_0x1d5ed3(0x3ae)]['apply'](this,arguments);}),_0x20acf2[_0x4145da(0x3ae)][_0x4145da(0x45e)]=_0x20acf2,_0x20acf2[_0x4145da(0x2c5)]=this,_0x20acf2;},'create':function(){var _0x5f0d83=_0x2308,_0xa24f0b=this['extend']();return _0xa24f0b[_0x5f0d83(0x3ae)][_0x5f0d83(0x478)](_0xa24f0b,arguments),_0xa24f0b;},'init':function(){},'mixIn':function(_0x3f82f3){var _0x3480d0=_0x2308;for(var _0x173bf2 in _0x3f82f3)_0x3f82f3[_0x3480d0(0x460)](_0x173bf2)&&(this[_0x173bf2]=_0x3f82f3[_0x173bf2]);_0x3f82f3[_0x3480d0(0x460)](_0x3480d0(0x300))&&(this[_0x3480d0(0x300)]=_0x3f82f3[_0x3480d0(0x300)]);},'clone':function(){var _0x5269a3=_0x2308;return this[_0x5269a3(0x3ae)]['prototype']['extend'](this);}};}()),_0x480c23=_0x1c6a77[_0x364895(0x380)]=_0x2998c2[_0x364895(0x491)]({'init':function(_0x7b644d,_0x4d9d7c){var _0x351ccc=_0x364895;_0x7b644d=this[_0x351ccc(0x3b1)]=_0x7b644d||[],_0x4d9d7c!=_0x335c42?this[_0x351ccc(0x440)]=_0x4d9d7c:this[_0x351ccc(0x440)]=_0x7b644d[_0x351ccc(0x1bd)]*0x4;},'toString':function(_0x29a23b){var _0x5c08bb=_0x364895;return(_0x29a23b||_0x1f6a27)[_0x5c08bb(0x16d)](this);},'concat':function(_0x121b70){var _0x1697e1=_0x364895,_0x4b58bd=this[_0x1697e1(0x3b1)],_0x5c7299=_0x121b70[_0x1697e1(0x3b1)],_0x3fc74d=this[_0x1697e1(0x440)],_0x14db71=_0x121b70[_0x1697e1(0x440)];if(this['clamp'](),_0x3fc74d%0x4)for(var _0x174d69=0x0;_0x174d69<_0x14db71;_0x174d69++){var _0x4c0b0b=_0x5c7299[_0x174d69>>>0x2]>>>0x18-_0x174d69%0x4*0x8&0xff;_0x4b58bd[_0x3fc74d+_0x174d69>>>0x2]|=_0x4c0b0b<<0x18-(_0x3fc74d+_0x174d69)%0x4*0x8;}else{for(var _0x5e098b=0x0;_0x5e098b<_0x14db71;_0x5e098b+=0x4)_0x4b58bd[_0x3fc74d+_0x5e098b>>>0x2]=_0x5c7299[_0x5e098b>>>0x2];}return this[_0x1697e1(0x440)]+=_0x14db71,this;},'clamp':function(){var _0x19df76=_0x364895,_0x3dc9de=this[_0x19df76(0x3b1)],_0x44abe2=this[_0x19df76(0x440)];_0x3dc9de[_0x44abe2>>>0x2]&=0xffffffff<<0x20-_0x44abe2%0x4*0x8,_0x3dc9de[_0x19df76(0x1bd)]=_0x5df091[_0x19df76(0x351)](_0x44abe2/0x4);},'clone':function(){var _0x2e7fe6=_0x364895,_0x37494c=_0x2998c2['clone'][_0x2e7fe6(0x434)](this);return _0x37494c['words']=this[_0x2e7fe6(0x3b1)][_0x2e7fe6(0x453)](0x0),_0x37494c;},'random':function(_0x37b27d){var _0x4c5bda=_0x364895;for(var _0x232aad=[],_0x1d7dd2=0x0;_0x1d7dd2<_0x37b27d;_0x1d7dd2+=0x4)_0x232aad['push'](_0x5b3acb());return new _0x480c23[(_0x4c5bda(0x3ae))](_0x232aad,_0x37b27d);}}),_0x32df5d=_0x1e7e77[_0x364895(0x372)]={},_0x1f6a27=_0x32df5d['Hex']={'stringify':function(_0x511c5f){var _0x28830f=_0x364895;for(var _0x40ddf7=_0x511c5f[_0x28830f(0x3b1)],_0x5415c7=_0x511c5f[_0x28830f(0x440)],_0x555f13=[],_0x3f7c59=0x0;_0x3f7c59<_0x5415c7;_0x3f7c59++){var _0x3739cf=_0x40ddf7[_0x3f7c59>>>0x2]>>>0x18-_0x3f7c59%0x4*0x8&0xff;_0x555f13['push']((_0x3739cf>>>0x4)[_0x28830f(0x300)](0x10)),_0x555f13[_0x28830f(0x2b3)]((_0x3739cf&0xf)[_0x28830f(0x300)](0x10));}return _0x555f13['join']('');},'parse':function(_0x24767b){var _0x5245f7=_0x364895;for(var _0x2c11ff=_0x24767b[_0x5245f7(0x1bd)],_0x1dadd6=[],_0x54e1bc=0x0;_0x54e1bc<_0x2c11ff;_0x54e1bc+=0x2)_0x1dadd6[_0x54e1bc>>>0x3]|=parseInt(_0x24767b['substr'](_0x54e1bc,0x2),0x10)<<0x18-_0x54e1bc%0x8*0x4;return new _0x480c23[(_0x5245f7(0x3ae))](_0x1dadd6,_0x2c11ff/0x2);}},_0x40b811=_0x32df5d[_0x364895(0x1e8)]={'stringify':function(_0x1b07fe){var _0x2d8695=_0x364895;for(var _0x23d3fe=_0x1b07fe[_0x2d8695(0x3b1)],_0x495fee=_0x1b07fe[_0x2d8695(0x440)],_0x357506=[],_0x4043f9=0x0;_0x4043f9<_0x495fee;_0x4043f9++){var _0xc39a5b=_0x23d3fe[_0x4043f9>>>0x2]>>>0x18-_0x4043f9%0x4*0x8&0xff;_0x357506['push'](String[_0x2d8695(0x24d)](_0xc39a5b));}return _0x357506[_0x2d8695(0x44a)]('');},'parse':function(_0x2ef692){var _0x15b8bc=_0x364895;for(var _0x15eb69=_0x2ef692[_0x15b8bc(0x1bd)],_0x3880e0=[],_0x5a331b=0x0;_0x5a331b<_0x15eb69;_0x5a331b++)_0x3880e0[_0x5a331b>>>0x2]|=(_0x2ef692[_0x15b8bc(0x3b5)](_0x5a331b)&0xff)<<0x18-_0x5a331b%0x4*0x8;return new _0x480c23[(_0x15b8bc(0x3ae))](_0x3880e0,_0x15eb69);}},_0x475f3f=_0x32df5d[_0x364895(0x3b9)]={'stringify':function(_0x11cfa8){try{return decodeURIComponent(escape(_0x40b811['stringify'](_0x11cfa8)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0xda3bb){var _0x3d5d0f=_0x364895;return _0x40b811[_0x3d5d0f(0x45f)](unescape(encodeURIComponent(_0xda3bb)));}},_0x44733c=_0x1c6a77['BufferedBlockAlgorithm']=_0x2998c2[_0x364895(0x491)]({'reset':function(){var _0x55c3a6=_0x364895;this[_0x55c3a6(0x32a)]=new _0x480c23[(_0x55c3a6(0x3ae))](),this[_0x55c3a6(0x399)]=0x0;},'_append':function(_0x1cbbe3){var _0x36d287=_0x364895;typeof _0x1cbbe3==_0x36d287(0x456)&&(_0x1cbbe3=_0x475f3f['parse'](_0x1cbbe3)),this['_data'][_0x36d287(0x429)](_0x1cbbe3),this[_0x36d287(0x399)]+=_0x1cbbe3['sigBytes'];},'_process':function(_0x4d046b){var _0x5903ed=_0x364895,_0xb12a82,_0x5e0f6f=this[_0x5903ed(0x32a)],_0x2e63c9=_0x5e0f6f[_0x5903ed(0x3b1)],_0x52ab01=_0x5e0f6f['sigBytes'],_0x48d204=this[_0x5903ed(0x222)],_0x56938b=_0x48d204*0x4,_0x23aae6=_0x52ab01/_0x56938b;_0x4d046b?_0x23aae6=_0x5df091[_0x5903ed(0x351)](_0x23aae6):_0x23aae6=_0x5df091[_0x5903ed(0x37d)]((_0x23aae6|0x0)-this['_minBufferSize'],0x0);var _0x270050=_0x23aae6*_0x48d204,_0x5d682b=_0x5df091[_0x5903ed(0x284)](_0x270050*0x4,_0x52ab01);if(_0x270050){for(var _0x292d78=0x0;_0x292d78<_0x270050;_0x292d78+=_0x48d204)this[_0x5903ed(0x385)](_0x2e63c9,_0x292d78);_0xb12a82=_0x2e63c9['splice'](0x0,_0x270050),_0x5e0f6f['sigBytes']-=_0x5d682b;}return new _0x480c23['init'](_0xb12a82,_0x5d682b);},'clone':function(){var _0xd8af6b=_0x364895,_0x73d351=_0x2998c2['clone'][_0xd8af6b(0x434)](this);return _0x73d351[_0xd8af6b(0x32a)]=this['_data'][_0xd8af6b(0x40c)](),_0x73d351;},'_minBufferSize':0x0});_0x1c6a77[_0x364895(0x3d4)]=_0x44733c[_0x364895(0x491)]({'cfg':_0x2998c2[_0x364895(0x491)](),'init':function(_0x45d185){var _0x575d61=_0x364895;this[_0x575d61(0x31d)]=this['cfg']['extend'](_0x45d185),this[_0x575d61(0x2f2)]();},'reset':function(){var _0x4ec85d=_0x364895;_0x44733c[_0x4ec85d(0x2f2)]['call'](this),this['_doReset']();},'update':function(_0x3a1da4){var _0x310035=_0x364895;return this[_0x310035(0x442)](_0x3a1da4),this[_0x310035(0x311)](),this;},'finalize':function(_0x2d3377){var _0x617e64=_0x364895;_0x2d3377&&this[_0x617e64(0x442)](_0x2d3377);var _0xea874a=this[_0x617e64(0x370)]();return _0xea874a;},'blockSize':0x10,'_createHelper':function(_0xcb1ec9){return function(_0x3d6470,_0x4e5a23){var _0x384278=_0x2308;return new _0xcb1ec9['init'](_0x4e5a23)[_0x384278(0x4c7)](_0x3d6470);};},'_createHmacHelper':function(_0xa3d401){return function(_0x3467b0,_0x2a4d71){var _0x4df286=_0x2308;return new _0x4d56f7[(_0x4df286(0x256))][(_0x4df286(0x3ae))](_0xa3d401,_0x2a4d71)[_0x4df286(0x4c7)](_0x3467b0);};}});var _0x4d56f7=_0x1e7e77['algo']={};return _0x1e7e77;}(Math);return _0x24ba87;}));}(pe)),pe['exports'];}var ge={'exports':{}},Ki=ge[_0x41e00d(0x37a)],Qe;function Nt(){return Qe||(Qe=0x1,function(_0x581dfb,_0x1227d7){(function(_0x238a5d,_0x1b547e){var _0xf58c94=_0x2308;_0x581dfb[_0xf58c94(0x37a)]=_0x1b547e(ee());}(Ki,function(_0x4b29fc){var _0x350785=_0x2308;return(function(){var _0x485869=_0x2308,_0x100a9d=_0x4b29fc,_0x3abe01=_0x100a9d['lib'],_0x34d379=_0x3abe01[_0x485869(0x380)],_0x1f620d=_0x100a9d[_0x485869(0x372)];_0x1f620d[_0x485869(0x1e5)]={'stringify':function(_0x28f661){var _0x51458e=_0x485869,_0x47f360=_0x28f661['words'],_0xa6f467=_0x28f661[_0x51458e(0x440)],_0x56084e=this['_map'];_0x28f661[_0x51458e(0x281)]();for(var _0x56bb1c=[],_0x437701=0x0;_0x437701<_0xa6f467;_0x437701+=0x3)for(var _0x43304f=_0x47f360[_0x437701>>>0x2]>>>0x18-_0x437701%0x4*0x8&0xff,_0x3b3e5f=_0x47f360[_0x437701+0x1>>>0x2]>>>0x18-(_0x437701+0x1)%0x4*0x8&0xff,_0x1f9000=_0x47f360[_0x437701+0x2>>>0x2]>>>0x18-(_0x437701+0x2)%0x4*0x8&0xff,_0x302682=_0x43304f<<0x10|_0x3b3e5f<<0x8|_0x1f9000,_0x4e33dd=0x0;_0x4e33dd<0x4&&_0x437701+_0x4e33dd*0.75<_0xa6f467;_0x4e33dd++)_0x56bb1c[_0x51458e(0x2b3)](_0x56084e[_0x51458e(0x20c)](_0x302682>>>0x6*(0x3-_0x4e33dd)&0x3f));var _0x330eb3=_0x56084e[_0x51458e(0x20c)](0x40);if(_0x330eb3){for(;_0x56bb1c[_0x51458e(0x1bd)]%0x4;)_0x56bb1c['push'](_0x330eb3);}return _0x56bb1c[_0x51458e(0x44a)]('');},'parse':function(_0x14e684){var _0x1a4da7=_0x485869,_0x57f405=_0x14e684['length'],_0x27fb11=this[_0x1a4da7(0x157)],_0x5b4b93=this[_0x1a4da7(0x163)];if(!_0x5b4b93){_0x5b4b93=this[_0x1a4da7(0x163)]=[];for(var _0x5bd1d6=0x0;_0x5bd1d6<_0x27fb11[_0x1a4da7(0x1bd)];_0x5bd1d6++)_0x5b4b93[_0x27fb11[_0x1a4da7(0x3b5)](_0x5bd1d6)]=_0x5bd1d6;}var _0xd3eb78=_0x27fb11['charAt'](0x40);if(_0xd3eb78){var _0x3ba577=_0x14e684['indexOf'](_0xd3eb78);_0x3ba577!==-0x1&&(_0x57f405=_0x3ba577);}return _0x18dade(_0x14e684,_0x57f405,_0x5b4b93);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x18dade(_0x5ca2c7,_0x5b8d94,_0x537fc9){var _0x2a0b73=_0x485869;for(var _0x270890=[],_0x1a86b1=0x0,_0x12119b=0x0;_0x12119b<_0x5b8d94;_0x12119b++)if(_0x12119b%0x4){var _0x4fd544=_0x537fc9[_0x5ca2c7[_0x2a0b73(0x3b5)](_0x12119b-0x1)]<<_0x12119b%0x4*0x2,_0x26b375=_0x537fc9[_0x5ca2c7['charCodeAt'](_0x12119b)]>>>0x6-_0x12119b%0x4*0x2,_0x4a595b=_0x4fd544|_0x26b375;_0x270890[_0x1a86b1>>>0x2]|=_0x4a595b<<0x18-_0x1a86b1%0x4*0x8,_0x1a86b1++;}return _0x34d379[_0x2a0b73(0x1ac)](_0x270890,_0x1a86b1);}}()),_0x4b29fc['enc'][_0x350785(0x1e5)];}));}(ge)),ge['exports'];}var me={'exports':{}},Yi=me[_0x41e00d(0x37a)],et;function qi(){var _0x421ce8=_0x41e00d;return et||(et=0x1,function(_0x3ec917,_0x3c1d2b){(function(_0x4585c1,_0x4e9004){var _0x1a53e5=_0x2308;_0x3ec917[_0x1a53e5(0x37a)]=_0x4e9004(ee());}(Yi,function(_0x199f5c){var _0x83bd2e=_0x2308;return function(_0x172c2d){var _0x1f0734=_0x2308,_0x20b87c=_0x199f5c,_0x55e433=_0x20b87c[_0x1f0734(0x1f4)],_0x3ad53a=_0x55e433['WordArray'],_0x4e6b6e=_0x55e433[_0x1f0734(0x3d4)],_0x3c18e6=_0x20b87c['algo'],_0xba5249=[];(function(){var _0x4a579e=_0x1f0734;for(var _0x2c518=0x0;_0x2c518<0x40;_0x2c518++)_0xba5249[_0x2c518]=_0x172c2d[_0x4a579e(0x154)](_0x172c2d['sin'](_0x2c518+0x1))*0x100000000|0x0;}());var _0x16c1cf=_0x3c18e6[_0x1f0734(0x1ee)]=_0x4e6b6e[_0x1f0734(0x491)]({'_doReset':function(){var _0x27c167=_0x1f0734;this[_0x27c167(0x44d)]=new _0x3ad53a[(_0x27c167(0x3ae))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x57f887,_0x4d5920){var _0x59afcd=_0x1f0734;for(var _0x25dfba=0x0;_0x25dfba<0x10;_0x25dfba++){var _0x101d80=_0x4d5920+_0x25dfba,_0x239326=_0x57f887[_0x101d80];_0x57f887[_0x101d80]=(_0x239326<<0x8|_0x239326>>>0x18)&0xff00ff|(_0x239326<<0x18|_0x239326>>>0x8)&0xff00ff00;}var _0x5ce3a2=this[_0x59afcd(0x44d)][_0x59afcd(0x3b1)],_0x265e8a=_0x57f887[_0x4d5920+0x0],_0x56c53e=_0x57f887[_0x4d5920+0x1],_0x5e57da=_0x57f887[_0x4d5920+0x2],_0x2da1bf=_0x57f887[_0x4d5920+0x3],_0x941b85=_0x57f887[_0x4d5920+0x4],_0x58e067=_0x57f887[_0x4d5920+0x5],_0x7afb15=_0x57f887[_0x4d5920+0x6],_0x7ee58a=_0x57f887[_0x4d5920+0x7],_0x6e0969=_0x57f887[_0x4d5920+0x8],_0x1b26e1=_0x57f887[_0x4d5920+0x9],_0x3405d8=_0x57f887[_0x4d5920+0xa],_0x385666=_0x57f887[_0x4d5920+0xb],_0x3c7149=_0x57f887[_0x4d5920+0xc],_0x314bd9=_0x57f887[_0x4d5920+0xd],_0x4baf48=_0x57f887[_0x4d5920+0xe],_0x2472b3=_0x57f887[_0x4d5920+0xf],_0x22a1ec=_0x5ce3a2[0x0],_0x5a0339=_0x5ce3a2[0x1],_0x1bb095=_0x5ce3a2[0x2],_0x2e5105=_0x5ce3a2[0x3];_0x22a1ec=_0x7cf273(_0x22a1ec,_0x5a0339,_0x1bb095,_0x2e5105,_0x265e8a,0x7,_0xba5249[0x0]),_0x2e5105=_0x7cf273(_0x2e5105,_0x22a1ec,_0x5a0339,_0x1bb095,_0x56c53e,0xc,_0xba5249[0x1]),_0x1bb095=_0x7cf273(_0x1bb095,_0x2e5105,_0x22a1ec,_0x5a0339,_0x5e57da,0x11,_0xba5249[0x2]),_0x5a0339=_0x7cf273(_0x5a0339,_0x1bb095,_0x2e5105,_0x22a1ec,_0x2da1bf,0x16,_0xba5249[0x3]),_0x22a1ec=_0x7cf273(_0x22a1ec,_0x5a0339,_0x1bb095,_0x2e5105,_0x941b85,0x7,_0xba5249[0x4]),_0x2e5105=_0x7cf273(_0x2e5105,_0x22a1ec,_0x5a0339,_0x1bb095,_0x58e067,0xc,_0xba5249[0x5]),_0x1bb095=_0x7cf273(_0x1bb095,_0x2e5105,_0x22a1ec,_0x5a0339,_0x7afb15,0x11,_0xba5249[0x6]),_0x5a0339=_0x7cf273(_0x5a0339,_0x1bb095,_0x2e5105,_0x22a1ec,_0x7ee58a,0x16,_0xba5249[0x7]),_0x22a1ec=_0x7cf273(_0x22a1ec,_0x5a0339,_0x1bb095,_0x2e5105,_0x6e0969,0x7,_0xba5249[0x8]),_0x2e5105=_0x7cf273(_0x2e5105,_0x22a1ec,_0x5a0339,_0x1bb095,_0x1b26e1,0xc,_0xba5249[0x9]),_0x1bb095=_0x7cf273(_0x1bb095,_0x2e5105,_0x22a1ec,_0x5a0339,_0x3405d8,0x11,_0xba5249[0xa]),_0x5a0339=_0x7cf273(_0x5a0339,_0x1bb095,_0x2e5105,_0x22a1ec,_0x385666,0x16,_0xba5249[0xb]),_0x22a1ec=_0x7cf273(_0x22a1ec,_0x5a0339,_0x1bb095,_0x2e5105,_0x3c7149,0x7,_0xba5249[0xc]),_0x2e5105=_0x7cf273(_0x2e5105,_0x22a1ec,_0x5a0339,_0x1bb095,_0x314bd9,0xc,_0xba5249[0xd]),_0x1bb095=_0x7cf273(_0x1bb095,_0x2e5105,_0x22a1ec,_0x5a0339,_0x4baf48,0x11,_0xba5249[0xe]),_0x5a0339=_0x7cf273(_0x5a0339,_0x1bb095,_0x2e5105,_0x22a1ec,_0x2472b3,0x16,_0xba5249[0xf]),_0x22a1ec=_0x8964f(_0x22a1ec,_0x5a0339,_0x1bb095,_0x2e5105,_0x56c53e,0x5,_0xba5249[0x10]),_0x2e5105=_0x8964f(_0x2e5105,_0x22a1ec,_0x5a0339,_0x1bb095,_0x7afb15,0x9,_0xba5249[0x11]),_0x1bb095=_0x8964f(_0x1bb095,_0x2e5105,_0x22a1ec,_0x5a0339,_0x385666,0xe,_0xba5249[0x12]),_0x5a0339=_0x8964f(_0x5a0339,_0x1bb095,_0x2e5105,_0x22a1ec,_0x265e8a,0x14,_0xba5249[0x13]),_0x22a1ec=_0x8964f(_0x22a1ec,_0x5a0339,_0x1bb095,_0x2e5105,_0x58e067,0x5,_0xba5249[0x14]),_0x2e5105=_0x8964f(_0x2e5105,_0x22a1ec,_0x5a0339,_0x1bb095,_0x3405d8,0x9,_0xba5249[0x15]),_0x1bb095=_0x8964f(_0x1bb095,_0x2e5105,_0x22a1ec,_0x5a0339,_0x2472b3,0xe,_0xba5249[0x16]),_0x5a0339=_0x8964f(_0x5a0339,_0x1bb095,_0x2e5105,_0x22a1ec,_0x941b85,0x14,_0xba5249[0x17]),_0x22a1ec=_0x8964f(_0x22a1ec,_0x5a0339,_0x1bb095,_0x2e5105,_0x1b26e1,0x5,_0xba5249[0x18]),_0x2e5105=_0x8964f(_0x2e5105,_0x22a1ec,_0x5a0339,_0x1bb095,_0x4baf48,0x9,_0xba5249[0x19]),_0x1bb095=_0x8964f(_0x1bb095,_0x2e5105,_0x22a1ec,_0x5a0339,_0x2da1bf,0xe,_0xba5249[0x1a]),_0x5a0339=_0x8964f(_0x5a0339,_0x1bb095,_0x2e5105,_0x22a1ec,_0x6e0969,0x14,_0xba5249[0x1b]),_0x22a1ec=_0x8964f(_0x22a1ec,_0x5a0339,_0x1bb095,_0x2e5105,_0x314bd9,0x5,_0xba5249[0x1c]),_0x2e5105=_0x8964f(_0x2e5105,_0x22a1ec,_0x5a0339,_0x1bb095,_0x5e57da,0x9,_0xba5249[0x1d]),_0x1bb095=_0x8964f(_0x1bb095,_0x2e5105,_0x22a1ec,_0x5a0339,_0x7ee58a,0xe,_0xba5249[0x1e]),_0x5a0339=_0x8964f(_0x5a0339,_0x1bb095,_0x2e5105,_0x22a1ec,_0x3c7149,0x14,_0xba5249[0x1f]),_0x22a1ec=_0x4e6f6a(_0x22a1ec,_0x5a0339,_0x1bb095,_0x2e5105,_0x58e067,0x4,_0xba5249[0x20]),_0x2e5105=_0x4e6f6a(_0x2e5105,_0x22a1ec,_0x5a0339,_0x1bb095,_0x6e0969,0xb,_0xba5249[0x21]),_0x1bb095=_0x4e6f6a(_0x1bb095,_0x2e5105,_0x22a1ec,_0x5a0339,_0x385666,0x10,_0xba5249[0x22]),_0x5a0339=_0x4e6f6a(_0x5a0339,_0x1bb095,_0x2e5105,_0x22a1ec,_0x4baf48,0x17,_0xba5249[0x23]),_0x22a1ec=_0x4e6f6a(_0x22a1ec,_0x5a0339,_0x1bb095,_0x2e5105,_0x56c53e,0x4,_0xba5249[0x24]),_0x2e5105=_0x4e6f6a(_0x2e5105,_0x22a1ec,_0x5a0339,_0x1bb095,_0x941b85,0xb,_0xba5249[0x25]),_0x1bb095=_0x4e6f6a(_0x1bb095,_0x2e5105,_0x22a1ec,_0x5a0339,_0x7ee58a,0x10,_0xba5249[0x26]),_0x5a0339=_0x4e6f6a(_0x5a0339,_0x1bb095,_0x2e5105,_0x22a1ec,_0x3405d8,0x17,_0xba5249[0x27]),_0x22a1ec=_0x4e6f6a(_0x22a1ec,_0x5a0339,_0x1bb095,_0x2e5105,_0x314bd9,0x4,_0xba5249[0x28]),_0x2e5105=_0x4e6f6a(_0x2e5105,_0x22a1ec,_0x5a0339,_0x1bb095,_0x265e8a,0xb,_0xba5249[0x29]),_0x1bb095=_0x4e6f6a(_0x1bb095,_0x2e5105,_0x22a1ec,_0x5a0339,_0x2da1bf,0x10,_0xba5249[0x2a]),_0x5a0339=_0x4e6f6a(_0x5a0339,_0x1bb095,_0x2e5105,_0x22a1ec,_0x7afb15,0x17,_0xba5249[0x2b]),_0x22a1ec=_0x4e6f6a(_0x22a1ec,_0x5a0339,_0x1bb095,_0x2e5105,_0x1b26e1,0x4,_0xba5249[0x2c]),_0x2e5105=_0x4e6f6a(_0x2e5105,_0x22a1ec,_0x5a0339,_0x1bb095,_0x3c7149,0xb,_0xba5249[0x2d]),_0x1bb095=_0x4e6f6a(_0x1bb095,_0x2e5105,_0x22a1ec,_0x5a0339,_0x2472b3,0x10,_0xba5249[0x2e]),_0x5a0339=_0x4e6f6a(_0x5a0339,_0x1bb095,_0x2e5105,_0x22a1ec,_0x5e57da,0x17,_0xba5249[0x2f]),_0x22a1ec=_0xc4512a(_0x22a1ec,_0x5a0339,_0x1bb095,_0x2e5105,_0x265e8a,0x6,_0xba5249[0x30]),_0x2e5105=_0xc4512a(_0x2e5105,_0x22a1ec,_0x5a0339,_0x1bb095,_0x7ee58a,0xa,_0xba5249[0x31]),_0x1bb095=_0xc4512a(_0x1bb095,_0x2e5105,_0x22a1ec,_0x5a0339,_0x4baf48,0xf,_0xba5249[0x32]),_0x5a0339=_0xc4512a(_0x5a0339,_0x1bb095,_0x2e5105,_0x22a1ec,_0x58e067,0x15,_0xba5249[0x33]),_0x22a1ec=_0xc4512a(_0x22a1ec,_0x5a0339,_0x1bb095,_0x2e5105,_0x3c7149,0x6,_0xba5249[0x34]),_0x2e5105=_0xc4512a(_0x2e5105,_0x22a1ec,_0x5a0339,_0x1bb095,_0x2da1bf,0xa,_0xba5249[0x35]),_0x1bb095=_0xc4512a(_0x1bb095,_0x2e5105,_0x22a1ec,_0x5a0339,_0x3405d8,0xf,_0xba5249[0x36]),_0x5a0339=_0xc4512a(_0x5a0339,_0x1bb095,_0x2e5105,_0x22a1ec,_0x56c53e,0x15,_0xba5249[0x37]),_0x22a1ec=_0xc4512a(_0x22a1ec,_0x5a0339,_0x1bb095,_0x2e5105,_0x6e0969,0x6,_0xba5249[0x38]),_0x2e5105=_0xc4512a(_0x2e5105,_0x22a1ec,_0x5a0339,_0x1bb095,_0x2472b3,0xa,_0xba5249[0x39]),_0x1bb095=_0xc4512a(_0x1bb095,_0x2e5105,_0x22a1ec,_0x5a0339,_0x7afb15,0xf,_0xba5249[0x3a]),_0x5a0339=_0xc4512a(_0x5a0339,_0x1bb095,_0x2e5105,_0x22a1ec,_0x314bd9,0x15,_0xba5249[0x3b]),_0x22a1ec=_0xc4512a(_0x22a1ec,_0x5a0339,_0x1bb095,_0x2e5105,_0x941b85,0x6,_0xba5249[0x3c]),_0x2e5105=_0xc4512a(_0x2e5105,_0x22a1ec,_0x5a0339,_0x1bb095,_0x385666,0xa,_0xba5249[0x3d]),_0x1bb095=_0xc4512a(_0x1bb095,_0x2e5105,_0x22a1ec,_0x5a0339,_0x5e57da,0xf,_0xba5249[0x3e]),_0x5a0339=_0xc4512a(_0x5a0339,_0x1bb095,_0x2e5105,_0x22a1ec,_0x1b26e1,0x15,_0xba5249[0x3f]),_0x5ce3a2[0x0]=_0x5ce3a2[0x0]+_0x22a1ec|0x0,_0x5ce3a2[0x1]=_0x5ce3a2[0x1]+_0x5a0339|0x0,_0x5ce3a2[0x2]=_0x5ce3a2[0x2]+_0x1bb095|0x0,_0x5ce3a2[0x3]=_0x5ce3a2[0x3]+_0x2e5105|0x0;},'_doFinalize':function(){var _0x5dfafd=_0x1f0734,_0x1b69ea=this[_0x5dfafd(0x32a)],_0x15242c=_0x1b69ea[_0x5dfafd(0x3b1)],_0x1daf15=this[_0x5dfafd(0x399)]*0x8,_0x1c9e4c=_0x1b69ea[_0x5dfafd(0x440)]*0x8;_0x15242c[_0x1c9e4c>>>0x5]|=0x80<<0x18-_0x1c9e4c%0x20;var _0x400092=_0x172c2d[_0x5dfafd(0x450)](_0x1daf15/0x100000000),_0x28527d=_0x1daf15;_0x15242c[(_0x1c9e4c+0x40>>>0x9<<0x4)+0xf]=(_0x400092<<0x8|_0x400092>>>0x18)&0xff00ff|(_0x400092<<0x18|_0x400092>>>0x8)&0xff00ff00,_0x15242c[(_0x1c9e4c+0x40>>>0x9<<0x4)+0xe]=(_0x28527d<<0x8|_0x28527d>>>0x18)&0xff00ff|(_0x28527d<<0x18|_0x28527d>>>0x8)&0xff00ff00,_0x1b69ea[_0x5dfafd(0x440)]=(_0x15242c[_0x5dfafd(0x1bd)]+0x1)*0x4,this[_0x5dfafd(0x311)]();for(var _0x1a6faf=this[_0x5dfafd(0x44d)],_0x5815bc=_0x1a6faf[_0x5dfafd(0x3b1)],_0x55d155=0x0;_0x55d155<0x4;_0x55d155++){var _0x455fa7=_0x5815bc[_0x55d155];_0x5815bc[_0x55d155]=(_0x455fa7<<0x8|_0x455fa7>>>0x18)&0xff00ff|(_0x455fa7<<0x18|_0x455fa7>>>0x8)&0xff00ff00;}return _0x1a6faf;},'clone':function(){var _0x1697b8=_0x1f0734,_0x1c94d4=_0x4e6b6e['clone'][_0x1697b8(0x434)](this);return _0x1c94d4[_0x1697b8(0x44d)]=this[_0x1697b8(0x44d)]['clone'](),_0x1c94d4;}});function _0x7cf273(_0x156c2d,_0x3a4770,_0x3e3993,_0x5b41f3,_0x5633af,_0x2e7b7f,_0x3b3fc9){var _0x12d055=_0x156c2d+(_0x3a4770&_0x3e3993|~_0x3a4770&_0x5b41f3)+_0x5633af+_0x3b3fc9;return(_0x12d055<<_0x2e7b7f|_0x12d055>>>0x20-_0x2e7b7f)+_0x3a4770;}function _0x8964f(_0x43b4fe,_0x44d742,_0x2926ba,_0x367156,_0x459024,_0x32d82a,_0x3dadb3){var _0xed3194=_0x43b4fe+(_0x44d742&_0x367156|_0x2926ba&~_0x367156)+_0x459024+_0x3dadb3;return(_0xed3194<<_0x32d82a|_0xed3194>>>0x20-_0x32d82a)+_0x44d742;}function _0x4e6f6a(_0xc2e8d3,_0x600bee,_0x4bcadc,_0x29133e,_0x4f0726,_0x1f3d78,_0x1b481e){var _0xbe4ec3=_0xc2e8d3+(_0x600bee^_0x4bcadc^_0x29133e)+_0x4f0726+_0x1b481e;return(_0xbe4ec3<<_0x1f3d78|_0xbe4ec3>>>0x20-_0x1f3d78)+_0x600bee;}function _0xc4512a(_0xf6a4db,_0x3fc8f7,_0x219284,_0x1665a4,_0x5d84d4,_0x5fa906,_0x135053){var _0x10897f=_0xf6a4db+(_0x219284^(_0x3fc8f7|~_0x1665a4))+_0x5d84d4+_0x135053;return(_0x10897f<<_0x5fa906|_0x10897f>>>0x20-_0x5fa906)+_0x3fc8f7;}_0x20b87c[_0x1f0734(0x1ee)]=_0x4e6b6e[_0x1f0734(0x471)](_0x16c1cf),_0x20b87c['HmacMD5']=_0x4e6b6e['_createHmacHelper'](_0x16c1cf);}(Math),_0x199f5c[_0x83bd2e(0x1ee)];}));}(me)),me[_0x421ce8(0x37a)];}var Ie={'exports':{}},Ee={'exports':{}},zi=Ee[_0x41e00d(0x37a)],tt;function Ji(){var _0x2868bb=_0x41e00d;return tt||(tt=0x1,function(_0x47ff2d,_0x7ffa02){(function(_0x137280,_0x2c2b34){var _0x5b563d=_0x2308;_0x47ff2d[_0x5b563d(0x37a)]=_0x2c2b34(ee());}(zi,function(_0x5b0635){var _0x178edb=_0x2308;return(function(){var _0x222d7b=_0x2308,_0x3ba777=_0x5b0635,_0x1f4e9b=_0x3ba777[_0x222d7b(0x1f4)],_0x42eae3=_0x1f4e9b[_0x222d7b(0x380)],_0x304ac3=_0x1f4e9b[_0x222d7b(0x3d4)],_0x279fe7=_0x3ba777[_0x222d7b(0x1be)],_0x4fee4e=[],_0x8be137=_0x279fe7[_0x222d7b(0x3c4)]=_0x304ac3['extend']({'_doReset':function(){var _0x32061c=_0x222d7b;this[_0x32061c(0x44d)]=new _0x42eae3[(_0x32061c(0x3ae))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x25bd70,_0x7d224a){var _0x328e54=_0x222d7b;for(var _0x6e20ac=this[_0x328e54(0x44d)][_0x328e54(0x3b1)],_0x233553=_0x6e20ac[0x0],_0x572b13=_0x6e20ac[0x1],_0x29b9eb=_0x6e20ac[0x2],_0x52fa32=_0x6e20ac[0x3],_0x45d92d=_0x6e20ac[0x4],_0x198ff6=0x0;_0x198ff6<0x50;_0x198ff6++){if(_0x198ff6<0x10)_0x4fee4e[_0x198ff6]=_0x25bd70[_0x7d224a+_0x198ff6]|0x0;else{var _0x11d348=_0x4fee4e[_0x198ff6-0x3]^_0x4fee4e[_0x198ff6-0x8]^_0x4fee4e[_0x198ff6-0xe]^_0x4fee4e[_0x198ff6-0x10];_0x4fee4e[_0x198ff6]=_0x11d348<<0x1|_0x11d348>>>0x1f;}var _0x5ce2c2=(_0x233553<<0x5|_0x233553>>>0x1b)+_0x45d92d+_0x4fee4e[_0x198ff6];_0x198ff6<0x14?_0x5ce2c2+=(_0x572b13&_0x29b9eb|~_0x572b13&_0x52fa32)+0x5a827999:_0x198ff6<0x28?_0x5ce2c2+=(_0x572b13^_0x29b9eb^_0x52fa32)+0x6ed9eba1:_0x198ff6<0x3c?_0x5ce2c2+=(_0x572b13&_0x29b9eb|_0x572b13&_0x52fa32|_0x29b9eb&_0x52fa32)-0x70e44324:_0x5ce2c2+=(_0x572b13^_0x29b9eb^_0x52fa32)-0x359d3e2a,_0x45d92d=_0x52fa32,_0x52fa32=_0x29b9eb,_0x29b9eb=_0x572b13<<0x1e|_0x572b13>>>0x2,_0x572b13=_0x233553,_0x233553=_0x5ce2c2;}_0x6e20ac[0x0]=_0x6e20ac[0x0]+_0x233553|0x0,_0x6e20ac[0x1]=_0x6e20ac[0x1]+_0x572b13|0x0,_0x6e20ac[0x2]=_0x6e20ac[0x2]+_0x29b9eb|0x0,_0x6e20ac[0x3]=_0x6e20ac[0x3]+_0x52fa32|0x0,_0x6e20ac[0x4]=_0x6e20ac[0x4]+_0x45d92d|0x0;},'_doFinalize':function(){var _0xe35cb6=_0x222d7b,_0x2f3bea=this[_0xe35cb6(0x32a)],_0x603ed7=_0x2f3bea[_0xe35cb6(0x3b1)],_0x25d447=this[_0xe35cb6(0x399)]*0x8,_0x4d2862=_0x2f3bea[_0xe35cb6(0x440)]*0x8;return _0x603ed7[_0x4d2862>>>0x5]|=0x80<<0x18-_0x4d2862%0x20,_0x603ed7[(_0x4d2862+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x25d447/0x100000000),_0x603ed7[(_0x4d2862+0x40>>>0x9<<0x4)+0xf]=_0x25d447,_0x2f3bea[_0xe35cb6(0x440)]=_0x603ed7[_0xe35cb6(0x1bd)]*0x4,this[_0xe35cb6(0x311)](),this['_hash'];},'clone':function(){var _0x4d4c01=_0x222d7b,_0x5526ff=_0x304ac3['clone'][_0x4d4c01(0x434)](this);return _0x5526ff[_0x4d4c01(0x44d)]=this[_0x4d4c01(0x44d)]['clone'](),_0x5526ff;}});_0x3ba777[_0x222d7b(0x3c4)]=_0x304ac3[_0x222d7b(0x471)](_0x8be137),_0x3ba777[_0x222d7b(0x3b4)]=_0x304ac3[_0x222d7b(0x4a9)](_0x8be137);}()),_0x5b0635[_0x178edb(0x3c4)];}));}(Ee)),Ee[_0x2868bb(0x37a)];}var Ce={'exports':{}},Xi=Ce[_0x41e00d(0x37a)],it;function Zi(){var _0x16e2ef=_0x41e00d;return it||(it=0x1,function(_0x38c433,_0x15672e){(function(_0x46a41a,_0x2fb24e){var _0x2c1eaf=_0x2308;_0x38c433[_0x2c1eaf(0x37a)]=_0x2fb24e(ee());}(Xi,function(_0x217909){(function(){var _0xb91ebc=_0x2308,_0x3ea4f4=_0x217909,_0x16aab7=_0x3ea4f4['lib'],_0x5307dd=_0x16aab7[_0xb91ebc(0x4a0)],_0xb175ac=_0x3ea4f4[_0xb91ebc(0x372)],_0x400cb2=_0xb175ac[_0xb91ebc(0x3b9)],_0x5284f3=_0x3ea4f4[_0xb91ebc(0x1be)];_0x5284f3[_0xb91ebc(0x256)]=_0x5307dd[_0xb91ebc(0x491)]({'init':function(_0x1e8d3d,_0x2291d9){var _0x13f8df=_0xb91ebc;_0x1e8d3d=this[_0x13f8df(0x228)]=new _0x1e8d3d['init'](),typeof _0x2291d9=='string'&&(_0x2291d9=_0x400cb2[_0x13f8df(0x45f)](_0x2291d9));var _0x7b5a7c=_0x1e8d3d['blockSize'],_0x5539fe=_0x7b5a7c*0x4;_0x2291d9[_0x13f8df(0x440)]>_0x5539fe&&(_0x2291d9=_0x1e8d3d['finalize'](_0x2291d9)),_0x2291d9[_0x13f8df(0x281)]();for(var _0x5c0374=this[_0x13f8df(0x3f4)]=_0x2291d9[_0x13f8df(0x40c)](),_0x46a811=this['_iKey']=_0x2291d9[_0x13f8df(0x40c)](),_0x1b9d4d=_0x5c0374[_0x13f8df(0x3b1)],_0x113413=_0x46a811[_0x13f8df(0x3b1)],_0x4e3bb5=0x0;_0x4e3bb5<_0x7b5a7c;_0x4e3bb5++)_0x1b9d4d[_0x4e3bb5]^=0x5c5c5c5c,_0x113413[_0x4e3bb5]^=0x36363636;_0x5c0374['sigBytes']=_0x46a811[_0x13f8df(0x440)]=_0x5539fe,this['reset']();},'reset':function(){var _0x51ba33=this['_hasher'];_0x51ba33['reset'](),_0x51ba33['update'](this['_iKey']);},'update':function(_0x305bc1){var _0x1004f9=_0xb91ebc;return this[_0x1004f9(0x228)][_0x1004f9(0x3c3)](_0x305bc1),this;},'finalize':function(_0x290e31){var _0x31c656=_0xb91ebc,_0x2885ad=this['_hasher'],_0x54ee42=_0x2885ad[_0x31c656(0x4c7)](_0x290e31);_0x2885ad[_0x31c656(0x2f2)]();var _0x18b066=_0x2885ad['finalize'](this[_0x31c656(0x3f4)][_0x31c656(0x40c)]()['concat'](_0x54ee42));return _0x18b066;}});}());}));}(Ce)),Ce[_0x16e2ef(0x37a)];}var Qi=Ie[_0x41e00d(0x37a)],nt;function Dt(){var _0x30e3ac=_0x41e00d;return nt||(nt=0x1,function(_0x2737b2,_0x172a71){(function(_0x4393d5,_0xada354,_0x1ef2f0){var _0x28aa48=_0x2308;_0x2737b2[_0x28aa48(0x37a)]=_0xada354(ee(),Ji(),Zi());}(Qi,function(_0x5351df){var _0x3e7572=_0x2308;return(function(){var _0x28c50f=_0x2308,_0x5a0d54=_0x5351df,_0x2c699b=_0x5a0d54[_0x28c50f(0x1f4)],_0x1e54f6=_0x2c699b['Base'],_0x4c58cf=_0x2c699b[_0x28c50f(0x380)],_0x450d28=_0x5a0d54[_0x28c50f(0x1be)],_0x58293e=_0x450d28[_0x28c50f(0x1ee)],_0x22bb77=_0x450d28['EvpKDF']=_0x1e54f6[_0x28c50f(0x491)]({'cfg':_0x1e54f6['extend']({'keySize':0x80/0x20,'hasher':_0x58293e,'iterations':0x1}),'init':function(_0x35b522){var _0x5d3db2=_0x28c50f;this[_0x5d3db2(0x31d)]=this['cfg'][_0x5d3db2(0x491)](_0x35b522);},'compute':function(_0x3ab725,_0x4ff4b6){var _0x3e081e=_0x28c50f;for(var _0x1f04dd,_0x2e0369=this[_0x3e081e(0x31d)],_0x246299=_0x2e0369[_0x3e081e(0x23f)][_0x3e081e(0x1ac)](),_0x219a90=_0x4c58cf[_0x3e081e(0x1ac)](),_0x3b83ed=_0x219a90[_0x3e081e(0x3b1)],_0x96bb76=_0x2e0369['keySize'],_0x52b5f0=_0x2e0369[_0x3e081e(0x1ed)];_0x3b83ed[_0x3e081e(0x1bd)]<_0x96bb76;){_0x1f04dd&&_0x246299[_0x3e081e(0x3c3)](_0x1f04dd),_0x1f04dd=_0x246299[_0x3e081e(0x3c3)](_0x3ab725)[_0x3e081e(0x4c7)](_0x4ff4b6),_0x246299['reset']();for(var _0x8e2050=0x1;_0x8e2050<_0x52b5f0;_0x8e2050++)_0x1f04dd=_0x246299['finalize'](_0x1f04dd),_0x246299[_0x3e081e(0x2f2)]();_0x219a90['concat'](_0x1f04dd);}return _0x219a90[_0x3e081e(0x440)]=_0x96bb76*0x4,_0x219a90;}});_0x5a0d54[_0x28c50f(0x4aa)]=function(_0xbac005,_0x5613c6,_0x101700){var _0x48ec70=_0x28c50f;return _0x22bb77[_0x48ec70(0x1ac)](_0x101700)[_0x48ec70(0x272)](_0xbac005,_0x5613c6);};}()),_0x5351df[_0x3e7572(0x4aa)];}));}(Ie)),Ie[_0x30e3ac(0x37a)];}var Te={'exports':{}},en=Te[_0x41e00d(0x37a)],rt;function wt(){var _0xa0ca1=_0x41e00d;return rt||(rt=0x1,function(_0x40f765,_0x1b3a57){(function(_0x13a0ed,_0x2c6044,_0x18b469){var _0xa4746c=_0x2308;_0x40f765[_0xa4746c(0x37a)]=_0x2c6044(ee(),Dt());}(en,function(_0x23db9e){var _0x4e7e39=_0x2308;_0x23db9e[_0x4e7e39(0x1f4)][_0x4e7e39(0x245)]||function(_0x1da852){var _0x3b3862=_0x4e7e39,_0x2bc9ce=_0x23db9e,_0x3ad08c=_0x2bc9ce[_0x3b3862(0x1f4)],_0x45c3c3=_0x3ad08c[_0x3b3862(0x4a0)],_0xd3abf5=_0x3ad08c[_0x3b3862(0x380)],_0x380f9e=_0x3ad08c[_0x3b3862(0x19c)],_0x403630=_0x2bc9ce[_0x3b3862(0x372)];_0x403630['Utf8'];var _0x785ec5=_0x403630[_0x3b3862(0x1e5)],_0x2711f5=_0x2bc9ce[_0x3b3862(0x1be)],_0x219b4b=_0x2711f5[_0x3b3862(0x4aa)],_0x5cafb1=_0x3ad08c[_0x3b3862(0x245)]=_0x380f9e[_0x3b3862(0x491)]({'cfg':_0x45c3c3[_0x3b3862(0x491)](),'createEncryptor':function(_0x1baa5c,_0x2aec2d){var _0x592a58=_0x3b3862;return this[_0x592a58(0x1ac)](this['_ENC_XFORM_MODE'],_0x1baa5c,_0x2aec2d);},'createDecryptor':function(_0x146d76,_0x11b467){var _0x14bc76=_0x3b3862;return this[_0x14bc76(0x1ac)](this['_DEC_XFORM_MODE'],_0x146d76,_0x11b467);},'init':function(_0xdf4d36,_0x4571c8,_0x2b10ff){var _0x403d73=_0x3b3862;this[_0x403d73(0x31d)]=this[_0x403d73(0x31d)][_0x403d73(0x491)](_0x2b10ff),this[_0x403d73(0x2b4)]=_0xdf4d36,this[_0x403d73(0x383)]=_0x4571c8,this[_0x403d73(0x2f2)]();},'reset':function(){var _0x2f21e4=_0x3b3862;_0x380f9e[_0x2f21e4(0x2f2)]['call'](this),this['_doReset']();},'process':function(_0x43be60){var _0x2e4a95=_0x3b3862;return this[_0x2e4a95(0x442)](_0x43be60),this[_0x2e4a95(0x311)]();},'finalize':function(_0x4f4522){var _0x362322=_0x3b3862;_0x4f4522&&this['_append'](_0x4f4522);var _0x100a97=this[_0x362322(0x370)]();return _0x100a97;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x2ed0f4(_0x20cc52){var _0x1f724e=_0x2308;return typeof _0x20cc52==_0x1f724e(0x456)?_0x587e24:_0x1f110a;}return function(_0x249358){return{'encrypt':function(_0x5d23cc,_0x41a29a,_0x12aaed){var _0x22772d=_0x2308;return _0x2ed0f4(_0x41a29a)[_0x22772d(0x459)](_0x249358,_0x5d23cc,_0x41a29a,_0x12aaed);},'decrypt':function(_0x5514ab,_0x21f4e4,_0x288714){var _0x143ecd=_0x2308;return _0x2ed0f4(_0x21f4e4)[_0x143ecd(0x1c2)](_0x249358,_0x5514ab,_0x21f4e4,_0x288714);}};};}())});_0x3ad08c[_0x3b3862(0x46e)]=_0x5cafb1[_0x3b3862(0x491)]({'_doFinalize':function(){var _0x2ca7e7=this['_process'](!0x0);return _0x2ca7e7;},'blockSize':0x1});var _0x9dba54=_0x2bc9ce[_0x3b3862(0x14d)]={},_0x2fb9c6=_0x3ad08c[_0x3b3862(0x282)]=_0x45c3c3[_0x3b3862(0x491)]({'createEncryptor':function(_0x5ded1a,_0x533678){var _0x24bcc3=_0x3b3862;return this[_0x24bcc3(0x33a)][_0x24bcc3(0x1ac)](_0x5ded1a,_0x533678);},'createDecryptor':function(_0x445dd5,_0xfe8664){var _0x34e88d=_0x3b3862;return this[_0x34e88d(0x27b)][_0x34e88d(0x1ac)](_0x445dd5,_0xfe8664);},'init':function(_0x76b116,_0x391845){var _0x1bdf27=_0x3b3862;this['_cipher']=_0x76b116,this[_0x1bdf27(0x1db)]=_0x391845;}}),_0x26ae51=_0x9dba54[_0x3b3862(0x174)]=(function(){var _0x5b496f=_0x3b3862,_0x495464=_0x2fb9c6[_0x5b496f(0x491)]();_0x495464['Encryptor']=_0x495464[_0x5b496f(0x491)]({'processBlock':function(_0x3c27f5,_0x31a351){var _0x1831eb=_0x5b496f,_0x37f45b=this[_0x1831eb(0x2f8)],_0x531db8=_0x37f45b['blockSize'];_0x15bc72[_0x1831eb(0x434)](this,_0x3c27f5,_0x31a351,_0x531db8),_0x37f45b[_0x1831eb(0x1ff)](_0x3c27f5,_0x31a351),this[_0x1831eb(0x40d)]=_0x3c27f5[_0x1831eb(0x453)](_0x31a351,_0x31a351+_0x531db8);}}),_0x495464[_0x5b496f(0x27b)]=_0x495464[_0x5b496f(0x491)]({'processBlock':function(_0x5220fd,_0x5a5dbf){var _0x1e0df5=_0x5b496f,_0x40d2b1=this[_0x1e0df5(0x2f8)],_0x3adb70=_0x40d2b1['blockSize'],_0x35dc04=_0x5220fd[_0x1e0df5(0x453)](_0x5a5dbf,_0x5a5dbf+_0x3adb70);_0x40d2b1[_0x1e0df5(0x42a)](_0x5220fd,_0x5a5dbf),_0x15bc72[_0x1e0df5(0x434)](this,_0x5220fd,_0x5a5dbf,_0x3adb70),this['_prevBlock']=_0x35dc04;}});function _0x15bc72(_0x2bc060,_0x30757f,_0x2ce5a1){var _0x3596db=_0x5b496f,_0x224c95,_0x3dfc55=this[_0x3596db(0x1db)];_0x3dfc55?(_0x224c95=_0x3dfc55,this[_0x3596db(0x1db)]=_0x1da852):_0x224c95=this[_0x3596db(0x40d)];for(var _0x20853d=0x0;_0x20853d<_0x2ce5a1;_0x20853d++)_0x2bc060[_0x30757f+_0x20853d]^=_0x224c95[_0x20853d];}return _0x495464;}()),_0xbec4db=_0x2bc9ce[_0x3b3862(0x170)]={},_0x2783ba=_0xbec4db[_0x3b3862(0x3f8)]={'pad':function(_0x383524,_0x35d0a4){var _0x21923d=_0x3b3862;for(var _0x2a90de=_0x35d0a4*0x4,_0x2f21c3=_0x2a90de-_0x383524[_0x21923d(0x440)]%_0x2a90de,_0x3e12c2=_0x2f21c3<<0x18|_0x2f21c3<<0x10|_0x2f21c3<<0x8|_0x2f21c3,_0x354951=[],_0xdaa98b=0x0;_0xdaa98b<_0x2f21c3;_0xdaa98b+=0x4)_0x354951[_0x21923d(0x2b3)](_0x3e12c2);var _0x1713ac=_0xd3abf5[_0x21923d(0x1ac)](_0x354951,_0x2f21c3);_0x383524['concat'](_0x1713ac);},'unpad':function(_0x355a52){var _0x31c3b1=_0x3b3862,_0x128c05=_0x355a52[_0x31c3b1(0x3b1)][_0x355a52['sigBytes']-0x1>>>0x2]&0xff;_0x355a52[_0x31c3b1(0x440)]-=_0x128c05;}};_0x3ad08c['BlockCipher']=_0x5cafb1[_0x3b3862(0x491)]({'cfg':_0x5cafb1[_0x3b3862(0x31d)][_0x3b3862(0x491)]({'mode':_0x26ae51,'padding':_0x2783ba}),'reset':function(){var _0x10b154=_0x3b3862,_0x176867;_0x5cafb1['reset'][_0x10b154(0x434)](this);var _0x29a21c=this[_0x10b154(0x31d)],_0x9ed3d0=_0x29a21c['iv'],_0x2b5dbd=_0x29a21c['mode'];this[_0x10b154(0x2b4)]==this[_0x10b154(0x4c9)]?_0x176867=_0x2b5dbd['createEncryptor']:(_0x176867=_0x2b5dbd['createDecryptor'],this['_minBufferSize']=0x1),this['_mode']&&this[_0x10b154(0x190)][_0x10b154(0x253)]==_0x176867?this[_0x10b154(0x190)][_0x10b154(0x3ae)](this,_0x9ed3d0&&_0x9ed3d0['words']):(this[_0x10b154(0x190)]=_0x176867['call'](_0x2b5dbd,this,_0x9ed3d0&&_0x9ed3d0[_0x10b154(0x3b1)]),this[_0x10b154(0x190)][_0x10b154(0x253)]=_0x176867);},'_doProcessBlock':function(_0x30fcab,_0x4f3a5c){var _0x2e42f0=_0x3b3862;this[_0x2e42f0(0x190)][_0x2e42f0(0x2f0)](_0x30fcab,_0x4f3a5c);},'_doFinalize':function(){var _0x4ebe9f=_0x3b3862,_0x407755,_0x5d6174=this[_0x4ebe9f(0x31d)][_0x4ebe9f(0x45c)];return this[_0x4ebe9f(0x2b4)]==this[_0x4ebe9f(0x4c9)]?(_0x5d6174[_0x4ebe9f(0x170)](this[_0x4ebe9f(0x32a)],this[_0x4ebe9f(0x222)]),_0x407755=this[_0x4ebe9f(0x311)](!0x0)):(_0x407755=this['_process'](!0x0),_0x5d6174[_0x4ebe9f(0x4a3)](_0x407755)),_0x407755;},'blockSize':0x80/0x20});var _0x355d23=_0x3ad08c[_0x3b3862(0x40f)]=_0x45c3c3[_0x3b3862(0x491)]({'init':function(_0x52745e){var _0x46e95d=_0x3b3862;this[_0x46e95d(0x3ff)](_0x52745e);},'toString':function(_0x5bd086){var _0x1cbfc7=_0x3b3862;return(_0x5bd086||this[_0x1cbfc7(0x378)])[_0x1cbfc7(0x16d)](this);}}),_0x556f60=_0x2bc9ce[_0x3b3862(0x3e9)]={},_0x2f2d7b=_0x556f60[_0x3b3862(0x1f6)]={'stringify':function(_0x23346c){var _0x2a19d1=_0x3b3862,_0x8daca0,_0x5a053a=_0x23346c[_0x2a19d1(0x3ce)],_0x52957c=_0x23346c[_0x2a19d1(0x30d)];return _0x52957c?_0x8daca0=_0xd3abf5[_0x2a19d1(0x1ac)]([0x53616c74,0x65645f5f])[_0x2a19d1(0x429)](_0x52957c)[_0x2a19d1(0x429)](_0x5a053a):_0x8daca0=_0x5a053a,_0x8daca0['toString'](_0x785ec5);},'parse':function(_0x36efcd){var _0x555d9d=_0x3b3862,_0x2ecc4c,_0x720acf=_0x785ec5[_0x555d9d(0x45f)](_0x36efcd),_0x1ad914=_0x720acf[_0x555d9d(0x3b1)];return _0x1ad914[0x0]==0x53616c74&&_0x1ad914[0x1]==0x65645f5f&&(_0x2ecc4c=_0xd3abf5[_0x555d9d(0x1ac)](_0x1ad914['slice'](0x2,0x4)),_0x1ad914[_0x555d9d(0x278)](0x0,0x4),_0x720acf[_0x555d9d(0x440)]-=0x10),_0x355d23[_0x555d9d(0x1ac)]({'ciphertext':_0x720acf,'salt':_0x2ecc4c});}},_0x1f110a=_0x3ad08c[_0x3b3862(0x3da)]=_0x45c3c3[_0x3b3862(0x491)]({'cfg':_0x45c3c3[_0x3b3862(0x491)]({'format':_0x2f2d7b}),'encrypt':function(_0x3a7235,_0x2d0181,_0x4efd83,_0x17ef54){var _0x4963f2=_0x3b3862;_0x17ef54=this[_0x4963f2(0x31d)][_0x4963f2(0x491)](_0x17ef54);var _0x40efac=_0x3a7235[_0x4963f2(0x315)](_0x4efd83,_0x17ef54),_0x3736ac=_0x40efac[_0x4963f2(0x4c7)](_0x2d0181),_0x211ef1=_0x40efac[_0x4963f2(0x31d)];return _0x355d23[_0x4963f2(0x1ac)]({'ciphertext':_0x3736ac,'key':_0x4efd83,'iv':_0x211ef1['iv'],'algorithm':_0x3a7235,'mode':_0x211ef1[_0x4963f2(0x14d)],'padding':_0x211ef1[_0x4963f2(0x45c)],'blockSize':_0x3a7235[_0x4963f2(0x222)],'formatter':_0x17ef54[_0x4963f2(0x3e9)]});},'decrypt':function(_0x2c94c8,_0x37c902,_0x19f815,_0xf7e6c1){var _0x95e167=_0x3b3862;_0xf7e6c1=this[_0x95e167(0x31d)]['extend'](_0xf7e6c1),_0x37c902=this[_0x95e167(0x181)](_0x37c902,_0xf7e6c1[_0x95e167(0x3e9)]);var _0x269854=_0x2c94c8[_0x95e167(0x280)](_0x19f815,_0xf7e6c1)[_0x95e167(0x4c7)](_0x37c902['ciphertext']);return _0x269854;},'_parse':function(_0xecf87f,_0x5f501e){var _0x4381b5=_0x3b3862;return typeof _0xecf87f==_0x4381b5(0x456)?_0x5f501e[_0x4381b5(0x45f)](_0xecf87f,this):_0xecf87f;}}),_0x1bee24=_0x2bc9ce['kdf']={},_0x326be0=_0x1bee24[_0x3b3862(0x1f6)]={'execute':function(_0x60e699,_0x32acb5,_0x40f6e2,_0x2e322a,_0x154b65){var _0x3828e7=_0x3b3862;if(_0x2e322a||(_0x2e322a=_0xd3abf5[_0x3828e7(0x1cc)](0x40/0x8)),_0x154b65)var _0x3a335a=_0x219b4b[_0x3828e7(0x1ac)]({'keySize':_0x32acb5+_0x40f6e2,'hasher':_0x154b65})[_0x3828e7(0x272)](_0x60e699,_0x2e322a);else var _0x3a335a=_0x219b4b[_0x3828e7(0x1ac)]({'keySize':_0x32acb5+_0x40f6e2})[_0x3828e7(0x272)](_0x60e699,_0x2e322a);var _0x1d2f6d=_0xd3abf5['create'](_0x3a335a[_0x3828e7(0x3b1)]['slice'](_0x32acb5),_0x40f6e2*0x4);return _0x3a335a[_0x3828e7(0x440)]=_0x32acb5*0x4,_0x355d23[_0x3828e7(0x1ac)]({'key':_0x3a335a,'iv':_0x1d2f6d,'salt':_0x2e322a});}},_0x587e24=_0x3ad08c[_0x3b3862(0x241)]=_0x1f110a[_0x3b3862(0x491)]({'cfg':_0x1f110a[_0x3b3862(0x31d)]['extend']({'kdf':_0x326be0}),'encrypt':function(_0x53bc82,_0x293fb9,_0x49486d,_0x36900a){var _0x1703aa=_0x3b3862;_0x36900a=this[_0x1703aa(0x31d)][_0x1703aa(0x491)](_0x36900a);var _0x1de469=_0x36900a[_0x1703aa(0x1c0)]['execute'](_0x49486d,_0x53bc82['keySize'],_0x53bc82[_0x1703aa(0x492)],_0x36900a[_0x1703aa(0x30d)],_0x36900a['hasher']);_0x36900a['iv']=_0x1de469['iv'];var _0x19b2cd=_0x1f110a[_0x1703aa(0x459)][_0x1703aa(0x434)](this,_0x53bc82,_0x293fb9,_0x1de469['key'],_0x36900a);return _0x19b2cd[_0x1703aa(0x3ff)](_0x1de469),_0x19b2cd;},'decrypt':function(_0x500549,_0x5c30d3,_0x276fe5,_0x1c3172){var _0x224de0=_0x3b3862;_0x1c3172=this[_0x224de0(0x31d)][_0x224de0(0x491)](_0x1c3172),_0x5c30d3=this['_parse'](_0x5c30d3,_0x1c3172[_0x224de0(0x3e9)]);var _0x5bca60=_0x1c3172[_0x224de0(0x1c0)][_0x224de0(0x3c8)](_0x276fe5,_0x500549['keySize'],_0x500549[_0x224de0(0x492)],_0x5c30d3[_0x224de0(0x30d)],_0x1c3172['hasher']);_0x1c3172['iv']=_0x5bca60['iv'];var _0x87c086=_0x1f110a[_0x224de0(0x1c2)][_0x224de0(0x434)](this,_0x500549,_0x5c30d3,_0x5bca60[_0x224de0(0x1a2)],_0x1c3172);return _0x87c086;}});}();}));}(Te)),Te[_0xa0ca1(0x37a)];}var tn=Se[_0x41e00d(0x37a)],st;function nn(){return st||(st=0x1,function(_0x5d9a07,_0x34d931){(function(_0x3ffa29,_0x648dc8,_0xc5cba2){var _0x5a9a0d=_0x2308;_0x5d9a07[_0x5a9a0d(0x37a)]=_0x648dc8(ee(),Nt(),qi(),Dt(),wt());}(tn,function(_0x3637c9){var _0x5ad394=_0x2308;return(function(){var _0x2ba62c=_0x2308,_0x3a9841=_0x3637c9,_0x269dfa=_0x3a9841['lib'],_0x2eaa24=_0x269dfa[_0x2ba62c(0x152)],_0x52221f=_0x3a9841[_0x2ba62c(0x1be)],_0x361460=[],_0x14ee9d=[],_0x4a81bc=[],_0xb5e44a=[],_0x37cab2=[],_0x43c83e=[],_0x55ad62=[],_0x2c4c44=[],_0x1c3521=[],_0x471800=[];(function(){for(var _0x4a467c=[],_0x2f715f=0x0;_0x2f715f<0x100;_0x2f715f++)_0x2f715f<0x80?_0x4a467c[_0x2f715f]=_0x2f715f<<0x1:_0x4a467c[_0x2f715f]=_0x2f715f<<0x1^0x11b;for(var _0x140acf=0x0,_0x42d1d5=0x0,_0x2f715f=0x0;_0x2f715f<0x100;_0x2f715f++){var _0x12ce46=_0x42d1d5^_0x42d1d5<<0x1^_0x42d1d5<<0x2^_0x42d1d5<<0x3^_0x42d1d5<<0x4;_0x12ce46=_0x12ce46>>>0x8^_0x12ce46&0xff^0x63,_0x361460[_0x140acf]=_0x12ce46,_0x14ee9d[_0x12ce46]=_0x140acf;var _0x4c1d7a=_0x4a467c[_0x140acf],_0x49429e=_0x4a467c[_0x4c1d7a],_0x484985=_0x4a467c[_0x49429e],_0x1701de=_0x4a467c[_0x12ce46]*0x101^_0x12ce46*0x1010100;_0x4a81bc[_0x140acf]=_0x1701de<<0x18|_0x1701de>>>0x8,_0xb5e44a[_0x140acf]=_0x1701de<<0x10|_0x1701de>>>0x10,_0x37cab2[_0x140acf]=_0x1701de<<0x8|_0x1701de>>>0x18,_0x43c83e[_0x140acf]=_0x1701de;var _0x1701de=_0x484985*0x1010101^_0x49429e*0x10001^_0x4c1d7a*0x101^_0x140acf*0x1010100;_0x55ad62[_0x12ce46]=_0x1701de<<0x18|_0x1701de>>>0x8,_0x2c4c44[_0x12ce46]=_0x1701de<<0x10|_0x1701de>>>0x10,_0x1c3521[_0x12ce46]=_0x1701de<<0x8|_0x1701de>>>0x18,_0x471800[_0x12ce46]=_0x1701de,_0x140acf?(_0x140acf=_0x4c1d7a^_0x4a467c[_0x4a467c[_0x4a467c[_0x484985^_0x4c1d7a]]],_0x42d1d5^=_0x4a467c[_0x4a467c[_0x42d1d5]]):_0x140acf=_0x42d1d5=0x1;}}());var _0x30d65f=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x3210ea=_0x52221f[_0x2ba62c(0x1c6)]=_0x2eaa24[_0x2ba62c(0x491)]({'_doReset':function(){var _0x58f687=_0x2ba62c,_0x1583f0;if(!(this[_0x58f687(0x1d1)]&&this[_0x58f687(0x26c)]===this[_0x58f687(0x383)])){for(var _0x2fe29b=this[_0x58f687(0x26c)]=this[_0x58f687(0x383)],_0x465dbc=_0x2fe29b[_0x58f687(0x3b1)],_0x365020=_0x2fe29b[_0x58f687(0x440)]/0x4,_0x31ed9c=this['_nRounds']=_0x365020+0x6,_0x544268=(_0x31ed9c+0x1)*0x4,_0x36c4bb=this[_0x58f687(0x14f)]=[],_0x4e8f51=0x0;_0x4e8f51<_0x544268;_0x4e8f51++)_0x4e8f51<_0x365020?_0x36c4bb[_0x4e8f51]=_0x465dbc[_0x4e8f51]:(_0x1583f0=_0x36c4bb[_0x4e8f51-0x1],_0x4e8f51%_0x365020?_0x365020>0x6&&_0x4e8f51%_0x365020==0x4&&(_0x1583f0=_0x361460[_0x1583f0>>>0x18]<<0x18|_0x361460[_0x1583f0>>>0x10&0xff]<<0x10|_0x361460[_0x1583f0>>>0x8&0xff]<<0x8|_0x361460[_0x1583f0&0xff]):(_0x1583f0=_0x1583f0<<0x8|_0x1583f0>>>0x18,_0x1583f0=_0x361460[_0x1583f0>>>0x18]<<0x18|_0x361460[_0x1583f0>>>0x10&0xff]<<0x10|_0x361460[_0x1583f0>>>0x8&0xff]<<0x8|_0x361460[_0x1583f0&0xff],_0x1583f0^=_0x30d65f[_0x4e8f51/_0x365020|0x0]<<0x18),_0x36c4bb[_0x4e8f51]=_0x36c4bb[_0x4e8f51-_0x365020]^_0x1583f0);for(var _0x4a8d6a=this[_0x58f687(0x489)]=[],_0x5496b3=0x0;_0x5496b3<_0x544268;_0x5496b3++){var _0x4e8f51=_0x544268-_0x5496b3;if(_0x5496b3%0x4)var _0x1583f0=_0x36c4bb[_0x4e8f51];else var _0x1583f0=_0x36c4bb[_0x4e8f51-0x4];_0x5496b3<0x4||_0x4e8f51<=0x4?_0x4a8d6a[_0x5496b3]=_0x1583f0:_0x4a8d6a[_0x5496b3]=_0x55ad62[_0x361460[_0x1583f0>>>0x18]]^_0x2c4c44[_0x361460[_0x1583f0>>>0x10&0xff]]^_0x1c3521[_0x361460[_0x1583f0>>>0x8&0xff]]^_0x471800[_0x361460[_0x1583f0&0xff]];}}},'encryptBlock':function(_0x52f6ee,_0x56b45d){var _0x1ac9e7=_0x2ba62c;this['_doCryptBlock'](_0x52f6ee,_0x56b45d,this[_0x1ac9e7(0x14f)],_0x4a81bc,_0xb5e44a,_0x37cab2,_0x43c83e,_0x361460);},'decryptBlock':function(_0x5765a2,_0x236259){var _0x194112=_0x2ba62c,_0x38f1da=_0x5765a2[_0x236259+0x1];_0x5765a2[_0x236259+0x1]=_0x5765a2[_0x236259+0x3],_0x5765a2[_0x236259+0x3]=_0x38f1da,this[_0x194112(0x329)](_0x5765a2,_0x236259,this[_0x194112(0x489)],_0x55ad62,_0x2c4c44,_0x1c3521,_0x471800,_0x14ee9d);var _0x38f1da=_0x5765a2[_0x236259+0x1];_0x5765a2[_0x236259+0x1]=_0x5765a2[_0x236259+0x3],_0x5765a2[_0x236259+0x3]=_0x38f1da;},'_doCryptBlock':function(_0x4cbeab,_0x2c67f1,_0x7bed03,_0x5428de,_0x1e2196,_0x568bc1,_0x51fe44,_0x2ff623){var _0x32c634=_0x2ba62c;for(var _0xb2edde=this[_0x32c634(0x1d1)],_0x244144=_0x4cbeab[_0x2c67f1]^_0x7bed03[0x0],_0x5eb59d=_0x4cbeab[_0x2c67f1+0x1]^_0x7bed03[0x1],_0x2d54bf=_0x4cbeab[_0x2c67f1+0x2]^_0x7bed03[0x2],_0x2771a7=_0x4cbeab[_0x2c67f1+0x3]^_0x7bed03[0x3],_0x27295a=0x4,_0x17d187=0x1;_0x17d187<_0xb2edde;_0x17d187++){var _0x12d5cf=_0x5428de[_0x244144>>>0x18]^_0x1e2196[_0x5eb59d>>>0x10&0xff]^_0x568bc1[_0x2d54bf>>>0x8&0xff]^_0x51fe44[_0x2771a7&0xff]^_0x7bed03[_0x27295a++],_0x4108ca=_0x5428de[_0x5eb59d>>>0x18]^_0x1e2196[_0x2d54bf>>>0x10&0xff]^_0x568bc1[_0x2771a7>>>0x8&0xff]^_0x51fe44[_0x244144&0xff]^_0x7bed03[_0x27295a++],_0x56a355=_0x5428de[_0x2d54bf>>>0x18]^_0x1e2196[_0x2771a7>>>0x10&0xff]^_0x568bc1[_0x244144>>>0x8&0xff]^_0x51fe44[_0x5eb59d&0xff]^_0x7bed03[_0x27295a++],_0x3b92eb=_0x5428de[_0x2771a7>>>0x18]^_0x1e2196[_0x244144>>>0x10&0xff]^_0x568bc1[_0x5eb59d>>>0x8&0xff]^_0x51fe44[_0x2d54bf&0xff]^_0x7bed03[_0x27295a++];_0x244144=_0x12d5cf,_0x5eb59d=_0x4108ca,_0x2d54bf=_0x56a355,_0x2771a7=_0x3b92eb;}var _0x12d5cf=(_0x2ff623[_0x244144>>>0x18]<<0x18|_0x2ff623[_0x5eb59d>>>0x10&0xff]<<0x10|_0x2ff623[_0x2d54bf>>>0x8&0xff]<<0x8|_0x2ff623[_0x2771a7&0xff])^_0x7bed03[_0x27295a++],_0x4108ca=(_0x2ff623[_0x5eb59d>>>0x18]<<0x18|_0x2ff623[_0x2d54bf>>>0x10&0xff]<<0x10|_0x2ff623[_0x2771a7>>>0x8&0xff]<<0x8|_0x2ff623[_0x244144&0xff])^_0x7bed03[_0x27295a++],_0x56a355=(_0x2ff623[_0x2d54bf>>>0x18]<<0x18|_0x2ff623[_0x2771a7>>>0x10&0xff]<<0x10|_0x2ff623[_0x244144>>>0x8&0xff]<<0x8|_0x2ff623[_0x5eb59d&0xff])^_0x7bed03[_0x27295a++],_0x3b92eb=(_0x2ff623[_0x2771a7>>>0x18]<<0x18|_0x2ff623[_0x244144>>>0x10&0xff]<<0x10|_0x2ff623[_0x5eb59d>>>0x8&0xff]<<0x8|_0x2ff623[_0x2d54bf&0xff])^_0x7bed03[_0x27295a++];_0x4cbeab[_0x2c67f1]=_0x12d5cf,_0x4cbeab[_0x2c67f1+0x1]=_0x4108ca,_0x4cbeab[_0x2c67f1+0x2]=_0x56a355,_0x4cbeab[_0x2c67f1+0x3]=_0x3b92eb;},'keySize':0x100/0x20});_0x3a9841['AES']=_0x2eaa24[_0x2ba62c(0x471)](_0x3210ea);}()),_0x3637c9[_0x5ad394(0x1c6)];}));}(Se)),Se['exports'];}var rn=nn();const sn=fe(rn);var on=Nt();const ot=fe(on);var be={'exports':{}},an=be[_0x41e00d(0x37a)],at;function cn(){var _0x285354=_0x41e00d;return at||(at=0x1,function(_0x10d0d9,_0x4e7ed1){(function(_0x9ac586,_0x4205e9){_0x10d0d9['exports']=_0x4205e9(ee());}(an,function(_0x134efb){var _0x34b616=_0x2308;return _0x134efb[_0x34b616(0x372)]['Utf8'];}));}(be)),be[_0x285354(0x37a)];}var hn=cn();const ln=fe(hn);var Re={'exports':{}},_n=Re['exports'],ct;function un(){return ct||(ct=0x1,function(_0xea6933,_0x42cdd6){(function(_0x4ed20a,_0x270009){var _0x41ef7a=_0x2308;_0xea6933[_0x41ef7a(0x37a)]=_0x270009(ee());}(_n,function(_0x3f5975){var _0x853e60=_0x2308;return(function(){var _0x3c6b1a=_0x2308;if(typeof ArrayBuffer==_0x3c6b1a(0x2e6)){var _0x4c897c=_0x3f5975,_0x44f008=_0x4c897c[_0x3c6b1a(0x1f4)],_0xee82fb=_0x44f008['WordArray'],_0x33b24c=_0xee82fb[_0x3c6b1a(0x3ae)],_0x23d0c9=_0xee82fb[_0x3c6b1a(0x3ae)]=function(_0x5e80d8){var _0x55f5c3=_0x3c6b1a;if(_0x5e80d8 instanceof ArrayBuffer&&(_0x5e80d8=new Uint8Array(_0x5e80d8)),(_0x5e80d8 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x5e80d8 instanceof Uint8ClampedArray||_0x5e80d8 instanceof Int16Array||_0x5e80d8 instanceof Uint16Array||_0x5e80d8 instanceof Int32Array||_0x5e80d8 instanceof Uint32Array||_0x5e80d8 instanceof Float32Array||_0x5e80d8 instanceof Float64Array)&&(_0x5e80d8=new Uint8Array(_0x5e80d8[_0x55f5c3(0x2cd)],_0x5e80d8['byteOffset'],_0x5e80d8[_0x55f5c3(0x3d7)])),_0x5e80d8 instanceof Uint8Array){for(var _0x2d0e3d=_0x5e80d8[_0x55f5c3(0x3d7)],_0x4e0f43=[],_0x16cd35=0x0;_0x16cd35<_0x2d0e3d;_0x16cd35++)_0x4e0f43[_0x16cd35>>>0x2]|=_0x5e80d8[_0x16cd35]<<0x18-_0x16cd35%0x4*0x8;_0x33b24c[_0x55f5c3(0x434)](this,_0x4e0f43,_0x2d0e3d);}else _0x33b24c[_0x55f5c3(0x478)](this,arguments);};_0x23d0c9[_0x3c6b1a(0x45e)]=_0xee82fb;}}()),_0x3f5975[_0x853e60(0x1f4)][_0x853e60(0x380)];}));}(Re)),Re['exports'];}var dn=un();const vn=fe(dn);var ye={'exports':{}},fn=ye[_0x41e00d(0x37a)],ht;function Sn(){var _0x5d7af8=_0x41e00d;return ht||(ht=0x1,function(_0x5135eb,_0x4f454e){(function(_0x46648a,_0x2b64c3,_0xa3ebe5){_0x5135eb['exports']=_0x2b64c3(ee(),wt());}(fn,function(_0x5ad988){var _0x5453d1=_0x2308;return _0x5ad988[_0x5453d1(0x170)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x5ad988[_0x5453d1(0x170)][_0x5453d1(0x1af)];}));}(ye)),ye[_0x5d7af8(0x37a)];}var pn=Sn();const gn=fe(pn);function mn(_0x5a7ff5,_0x2ddabe){var _0x13456d=_0x41e00d;const _0x348319=_0x2ddabe-_0x5a7ff5['length']%_0x2ddabe,_0x5175a9=String['fromCharCode'](_0x348319)[_0x13456d(0x368)](_0x348319);return _0x5a7ff5+_0x5175a9;}function In(_0x329036,_0x2d1456){var _0x425d52=_0x41e00d;const _0x3e4cd7=vn['random'](0x10),_0x1e3ce8=mn(_0x329036,0x10),_0x40a42f=sn[_0x425d52(0x459)](ln[_0x425d52(0x45f)](_0x1e3ce8),ot['parse'](_0x2d1456),{'iv':_0x3e4cd7,'padding':gn});return _0x3e4cd7['concat'](_0x40a42f[_0x425d52(0x3ce)])['toString'](ot);}function En(){var _0x322902=_0x41e00d;const _0x18121e=jt[_0x322902(0x231)]()[_0x322902(0x48c)];if(_0x18121e){const _0x3d29f6={'time':Math[_0x322902(0x450)](Date[_0x322902(0x48f)]()/0x3e8),'domain':location[_0x322902(0x275)]};return In(JSON[_0x322902(0x16d)](_0x3d29f6),_0x18121e);}}var Cn=Object[_0x41e00d(0x26a)],Tn=Object[_0x41e00d(0x1b7)],bn=(_0x4cacb5,_0x467ba4,_0x51b8d2,_0x6eb314)=>{var _0x59364c=_0x41e00d;for(var _0x3ba1b3=_0x6eb314>0x1?void 0x0:_0x6eb314?Tn(_0x467ba4,_0x51b8d2):_0x467ba4,_0x2c6987=_0x4cacb5[_0x59364c(0x1bd)]-0x1,_0x1b3441;_0x2c6987>=0x0;_0x2c6987--)(_0x1b3441=_0x4cacb5[_0x2c6987])&&(_0x3ba1b3=(_0x6eb314?_0x1b3441(_0x467ba4,_0x51b8d2,_0x3ba1b3):_0x1b3441(_0x3ba1b3))||_0x3ba1b3);return _0x6eb314&&_0x3ba1b3&&Cn(_0x467ba4,_0x51b8d2,_0x3ba1b3),_0x3ba1b3;},Rn=(_0x3a74cf,_0x377fa5)=>(_0x52b139,_0x3fd82a)=>_0x377fa5(_0x52b139,_0x3fd82a,_0x3a74cf);let Pe=class{constructor(_0x52f2ed){var _0x41c9e9=_0x41e00d;this['_httpService']=_0x52f2ed,this[_0x41c9e9(0x437)]();}['_initRequestHeader'](){var _0x27e637=_0x41e00d;this[_0x27e637(0x283)][_0x27e637(0x287)]({'interceptor':(_0x14e236,_0x3e48ea)=>{var _0x3f995c=_0x27e637;const _0x3d13fe=_0x14e236[_0x3f995c(0x35b)],_0x5542a3=En();return _0x5542a3&&_0x3d13fe[_0x3f995c(0x1ca)](_0x3f995c(0x39d),_0x5542a3),_0x3e48ea(_0x14e236);}});}};Pe=bn([Rn(0x0,a[_0x41e00d(0x29c)](z[_0x41e00d(0x3d2)]))],Pe);var yn=Object[_0x41e00d(0x26a)],On=Object[_0x41e00d(0x1b7)],Pn=(_0x17f629,_0x8d1a66,_0x4e2f8a,_0xccc679)=>{var _0x2aef16=_0x41e00d;for(var _0x1ab3c6=_0xccc679>0x1?void 0x0:_0xccc679?On(_0x8d1a66,_0x4e2f8a):_0x8d1a66,_0x4ad147=_0x17f629[_0x2aef16(0x1bd)]-0x1,_0x21a14f;_0x4ad147>=0x0;_0x4ad147--)(_0x21a14f=_0x17f629[_0x4ad147])&&(_0x1ab3c6=(_0xccc679?_0x21a14f(_0x8d1a66,_0x4e2f8a,_0x1ab3c6):_0x21a14f(_0x1ab3c6))||_0x1ab3c6);return _0xccc679&&_0x1ab3c6&&yn(_0x8d1a66,_0x4e2f8a,_0x1ab3c6),_0x1ab3c6;},Me=(_0x3c85a1,_0x31f7c8)=>(_0x370917,_0x2d57fd)=>_0x31f7c8(_0x370917,_0x2d57fd,_0x3c85a1);exports['DataLoaderService']=class extends a[_0x41e00d(0x22c)]{constructor(_0x47c38f,_0x176fff,_0x74a9d2){var _0x6ba8ef=_0x41e00d;super(),D(this,'_unitInfo$',new H[(_0x6ba8ef(0x2f5))](null)),D(this,_0x6ba8ef(0x2a9),this[_0x6ba8ef(0x2a1)][_0x6ba8ef(0x2da)]()),(this[_0x6ba8ef(0x21e)]=_0x47c38f,this[_0x6ba8ef(0x36c)]=_0x176fff,this[_0x6ba8ef(0x218)]=_0x74a9d2);}async[_0x41e00d(0x149)](_0x591645,_0x5ec6e8,_0x5e6da1){var _0x3e3156=_0x41e00d;this[_0x3e3156(0x2a1)][_0x3e3156(0x2e7)]({'unitId':_0x591645,'type':_0x5ec6e8,'subUnitId':_0x5e6da1});let _0x336a06=null;switch(_0x5ec6e8){case Z[_0x3e3156(0x43a)]:{_0x336a06=await this[_0x3e3156(0x407)](_0x591645);break;}case Z[_0x3e3156(0x397)]:{_0x336a06=await this['_loadDoc'](_0x591645);break;}default:{this[_0x3e3156(0x21e)][_0x3e3156(0x33f)](_0x3e3156(0x321),_0x3e3156(0x159));break;}}return _0x336a06;}async[_0x41e00d(0x407)](_0x35e70b){var _0x3d8ef7=_0x41e00d,_0x2301cb;let _0x31eb27=0x0;const _0x3fa607=await((_0x2301cb=this[_0x3d8ef7(0x218)])==null?void 0x0:_0x2301cb['loadOfflineData'](_0x35e70b));return _0x3fa607&&(_0x3fa607[_0x3d8ef7(0x318)]||_0x3fa607[_0x3d8ef7(0x38a)][_0x3d8ef7(0x1bd)]!==0x0)&&(_0x31eb27=_0x3fa607[_0x3d8ef7(0x2bb)]),_0x31eb27===0x0&&this['_logService']['debug'](_0x3d8ef7(0x321),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this['_snapshotService'][_0x3d8ef7(0x412)](_0x35e70b,_0x31eb27);}async['_loadDoc'](_0x47c034){var _0x2dff31=_0x41e00d,_0x3c81b3;let _0x253c87=0x0;const _0x278acf=await((_0x3c81b3=this[_0x2dff31(0x218)])==null?void 0x0:_0x3c81b3[_0x2dff31(0x264)](_0x47c034));return _0x278acf&&(_0x278acf[_0x2dff31(0x318)]||_0x278acf[_0x2dff31(0x38a)][_0x2dff31(0x1bd)]!==0x0)&&(_0x253c87=_0x278acf['rev']),_0x253c87===0x0&&this[_0x2dff31(0x21e)][_0x2dff31(0x255)](_0x2dff31(0x321),_0x2dff31(0x1ba)),this[_0x2dff31(0x36c)][_0x2dff31(0x19d)](_0x47c034,_0x253c87);}},exports['DataLoaderService']=Pn([Me(0x0,a[_0x41e00d(0x166)]),Me(0x1,a[_0x41e00d(0x29c)](m['SnapshotService'])),Me(0x2,a[_0x41e00d(0x220)](J))],exports[_0x41e00d(0x295)]);var Un=Object['defineProperty'],Nn=Object[_0x41e00d(0x1b7)],Dn=(_0x142dca,_0x397491,_0x358a88,_0x3bae8c)=>{var _0x514129=_0x41e00d;for(var _0x117c3e=_0x3bae8c>0x1?void 0x0:_0x3bae8c?Nn(_0x397491,_0x358a88):_0x397491,_0x152eaa=_0x142dca[_0x514129(0x1bd)]-0x1,_0x39ac60;_0x152eaa>=0x0;_0x152eaa--)(_0x39ac60=_0x142dca[_0x152eaa])&&(_0x117c3e=(_0x3bae8c?_0x39ac60(_0x397491,_0x358a88,_0x117c3e):_0x39ac60(_0x117c3e))||_0x117c3e);return _0x3bae8c&&_0x117c3e&&Un(_0x397491,_0x358a88,_0x117c3e),_0x117c3e;},xe=(_0x252670,_0x24c0e7)=>(_0x3b77e9,_0x3fc9e5)=>_0x24c0e7(_0x3b77e9,_0x3fc9e5,_0x252670);const wn=[_0x41e00d(0x46c),_0x41e00d(0x165),_0x41e00d(0x18f),'image/gif',_0x41e00d(0x267)],An=0x5*0x400*0x400,Ln=_0x41e00d(0x236),Mn='/universer-api/stream/file/upload',xn='EXCHANGE_SIGN_URL_SERVER_URL_KEY',jn=_0x41e00d(0x4b8);exports[_0x41e00d(0x2b0)]=class{constructor(_0x333fbd,_0x36c815,_0x572d44){var _0x73cec7=_0x41e00d;D(this,_0x73cec7(0x202),0x0),D(this,_0x73cec7(0x3f5),new H[(_0x73cec7(0x3c5))]()),D(this,_0x73cec7(0x391),this['_change$']),D(this,_0x73cec7(0x289),new Map()),(this['_httpService']=_0x333fbd,this[_0x73cec7(0x485)]=_0x36c815,this[_0x73cec7(0x14e)]=_0x572d44);}[_0x41e00d(0x404)](_0x2e0168){var _0x25eb33=_0x41e00d;this[_0x25eb33(0x202)]=_0x2e0168,this[_0x25eb33(0x3f5)]['next'](_0x2e0168);}[_0x41e00d(0x388)](_0x2932cb,_0xf3f5e2){var _0x558c12=_0x41e00d;if(_0xf3f5e2===X[_0x558c12(0x387)][_0x558c12(0x47f)]){const _0x368ced=new Image();return _0x368ced['src']=_0x2932cb,_0x368ced;}return this['_imageSourceCache'][_0x558c12(0x19e)](_0x2932cb);}[_0x41e00d(0x1b1)](_0x2b823d,_0x16bd10,_0x179c07){var _0x2cdb01=_0x41e00d;_0x16bd10===X[_0x2cdb01(0x387)][_0x2cdb01(0x47f)]||_0x179c07==null||this['_imageSourceCache'][_0x2cdb01(0x1ca)](_0x2b823d,_0x179c07);}async[_0x41e00d(0x3a7)](_0x1d7290){var _0x51d8b9=_0x41e00d;try{const _0xd0ccc2=this['_replaceFileID'](this[_0x51d8b9(0x365)](),''+_0x1d7290),_0x42e624=(await this['_httpService'][_0x51d8b9(0x19e)](_0xd0ccc2))[_0x51d8b9(0x42c)];if(_0x42e624[_0x51d8b9(0x33f)]&&_0x42e624[_0x51d8b9(0x33f)][_0x51d8b9(0x49f)]===Ct['OK']){const _0x466194=new URL(_0x42e624[_0x51d8b9(0x1fc)],this[_0x51d8b9(0x169)]())['toString']();return Promise[_0x51d8b9(0x211)](_0x466194);}return Promise[_0x51d8b9(0x44c)](_0x42e624[_0x51d8b9(0x33f)]);}catch(_0x3c2376){return Promise[_0x51d8b9(0x44c)](_0x3c2376);}}async[_0x41e00d(0x1c9)](_0xd668d9){var _0x1aba63=_0x41e00d;let _0x508e7b='';if(!wn[_0x1aba63(0x2a0)](_0xd668d9[_0x1aba63(0x45d)]))return this['_decreaseWaiting'](),Promise[_0x1aba63(0x44c)](new Error(X[_0x1aba63(0x403)][_0x1aba63(0x337)]));if(_0xd668d9['size']>An)return this[_0x1aba63(0x360)](),Promise[_0x1aba63(0x44c)](new Error(X[_0x1aba63(0x403)][_0x1aba63(0x3cb)]));try{const _0x6bc9c2=new FormData();_0x6bc9c2[_0x1aba63(0x2cb)](_0x1aba63(0x2de),_0xd668d9);const _0x68b008=this[_0x1aba63(0x14e)]['getFocusedUnit'](),_0x58c6d0=_0x68b008==null?void 0x0:_0x68b008['getUnitId']();if(!_0x58c6d0)throw new Error(_0x1aba63(0x393));const _0x7087fb=this[_0x1aba63(0x396)]()+'?size='+_0xd668d9['size']['toString']()+_0x1aba63(0x28f)+Tt[_0x1aba63(0x377)]+'&assign='+encodeURIComponent(_0x58c6d0),_0x5b0cb4=await(await fetch(_0x7087fb,{'method':_0x1aba63(0x279),'body':_0x6bc9c2}))[_0x1aba63(0x341)]();if(typeof _0x5b0cb4['FileId']!=_0x1aba63(0x456))return this[_0x1aba63(0x360)](),Promise[_0x1aba63(0x44c)](new Error(X[_0x1aba63(0x403)]['ERROR_IMAGE']));_0x508e7b=_0x5b0cb4[_0x1aba63(0x251)];}catch{return this[_0x1aba63(0x360)](),Promise['reject'](new Error(X['ImageUploadStatusType'][_0x1aba63(0x173)]));}return new Promise((_0x1f7711,_0x12206b)=>{var _0xb5d75a=_0x1aba63;const _0x32299d=new FileReader();_0x32299d[_0xb5d75a(0x3d6)](_0xd668d9),_0x32299d[_0xb5d75a(0x2b8)]=_0x10ccde=>{var _0x17261b=_0xb5d75a,_0x4a4ce4;const _0x96b247=(_0x4a4ce4=_0x10ccde[_0x17261b(0x17b)])==null?void 0x0:_0x4a4ce4[_0x17261b(0x1d8)];if(_0x96b247==null){this[_0x17261b(0x360)](),_0x12206b(new Error(X[_0x17261b(0x403)][_0x17261b(0x173)]));return;}const _0x11fc02=a[_0x17261b(0x455)][_0x17261b(0x358)](0x6);_0x1f7711({'imageId':_0x11fc02,'imageSourceType':X[_0x17261b(0x387)][_0x17261b(0x1e3)],'source':_0x508e7b,'base64Cache':_0x96b247,'status':X['ImageUploadStatusType'][_0x17261b(0x1de)]}),this[_0x17261b(0x360)]();};});}['_getUploadFileURL'](){var _0x489e40=_0x41e00d,_0x564620,_0xb337c1;const _0x2b0f9c=this[_0x489e40(0x485)]['getConfig'](Ln),_0x457e29=this[_0x489e40(0x485)][_0x489e40(0x1d5)](q);return(_0xb337c1=(_0x564620=_0x457e29==null?void 0x0:_0x457e29[_0x489e40(0x48b)])!=null?_0x564620:_0x2b0f9c)!=null?_0xb337c1:Mn;}[_0x41e00d(0x365)](){var _0x150d4c=_0x41e00d,_0x351c0d,_0x549494;const _0x344939=this[_0x150d4c(0x485)][_0x150d4c(0x1d5)](xn),_0x4d756b=this[_0x150d4c(0x485)][_0x150d4c(0x1d5)](q);return(_0x549494=(_0x351c0d=_0x4d756b==null?void 0x0:_0x4d756b[_0x150d4c(0x3f7)])!=null?_0x351c0d:_0x344939)!=null?_0x549494:jn;}[_0x41e00d(0x169)](){var _0xfb4d6d=_0x41e00d,_0x1e9584;const _0x4d93bf=this[_0xfb4d6d(0x485)][_0xfb4d6d(0x1d5)](q);return(_0x1e9584=_0x4d93bf==null?void 0x0:_0x4d93bf[_0xfb4d6d(0x317)])!=null?_0x1e9584:location[_0xfb4d6d(0x451)];}[_0x41e00d(0x1d7)](_0x2ad190,_0x3f2aae){var _0x4caef1=_0x41e00d;return _0x2ad190[_0x4caef1(0x42d)]('{fileID}',_0x3f2aae);}[_0x41e00d(0x360)](){var _0x4021b7=_0x41e00d;this['_waitCount']-=0x1,this[_0x4021b7(0x3f5)][_0x4021b7(0x2e7)](this[_0x4021b7(0x202)]);}},exports[_0x41e00d(0x2b0)]=Dn([xe(0x0,a[_0x41e00d(0x29c)](z[_0x41e00d(0x3d2)])),xe(0x1,a['IConfigService']),xe(0x2,a[_0x41e00d(0x29c)](a[_0x41e00d(0x3f6)]))],exports['CollaborationImageIoService']);var $n=Object[_0x41e00d(0x26a)],Hn=Object[_0x41e00d(0x1b7)],kn=(_0x482bb6,_0x2c5438,_0x31ef96,_0x41b0f6)=>{var _0x4e8d95=_0x41e00d;for(var _0x2fb646=_0x41b0f6>0x1?void 0x0:_0x41b0f6?Hn(_0x2c5438,_0x31ef96):_0x2c5438,_0xba7d1c=_0x482bb6[_0x4e8d95(0x1bd)]-0x1,_0x28d3d1;_0xba7d1c>=0x0;_0xba7d1c--)(_0x28d3d1=_0x482bb6[_0xba7d1c])&&(_0x2fb646=(_0x41b0f6?_0x28d3d1(_0x2c5438,_0x31ef96,_0x2fb646):_0x28d3d1(_0x2fb646))||_0x2fb646);return _0x41b0f6&&_0x2fb646&&$n(_0x2c5438,_0x31ef96,_0x2fb646),_0x2fb646;},lt=(_0x470f1f,_0x4094a1)=>(_0x6f7909,_0x2490ab)=>_0x4094a1(_0x6f7909,_0x2490ab,_0x470f1f);const Bn=_0x41e00d(0x33b);exports[_0x41e00d(0x24f)]=class{constructor(_0x343e74,_0x1b8645){this['_configService']=_0x343e74,this['_HTTPService']=_0x1b8645;}[_0x41e00d(0x3a1)](){var _0x48989b=_0x41e00d,_0x10f91c,_0x3efa1b;const _0x4d7c3d=this['_configService'][_0x48989b(0x1d5)](Ge),_0x25187d=this[_0x48989b(0x485)][_0x48989b(0x1d5)](q);return(_0x3efa1b=(_0x10f91c=_0x25187d==null?void 0x0:_0x25187d[_0x48989b(0x164)])!=null?_0x10f91c:_0x4d7c3d)!=null?_0x3efa1b:Bn;}async[_0x41e00d(0x1ad)](_0x241794){var _0x20fde1=_0x41e00d;const _0x1fdac8=this[_0x20fde1(0x3a1)]()+_0x20fde1(0x1e4);return{'list':[{'title':_0x20fde1(0x343),'mentions':(await this[_0x20fde1(0x1f2)][_0x20fde1(0x19e)](_0x1fdac8,{'params':{'objectID':_0x241794['unitId'],'unitID':_0x241794[_0x20fde1(0x422)]}}))[_0x20fde1(0x42c)][_0x20fde1(0x2c2)]['map'](_0xa8fa65=>({'objectId':_0xa8fa65['id'],'name':_0xa8fa65[_0x20fde1(0x24b)][_0x20fde1(0x41b)],'metadata':{'icon':_0xa8fa65[_0x20fde1(0x24b)]['avatar']},'label':_0xa8fa65[_0x20fde1(0x24b)][_0x20fde1(0x41b)],'objectType':a[_0x20fde1(0x17e)][_0x20fde1(0x4bf)]})),'metadata':{},'type':a[_0x20fde1(0x17e)][_0x20fde1(0x4bf)]}]};}},exports[_0x41e00d(0x24f)]=kn([lt(0x0,a['Inject'](a['IConfigService'])),lt(0x1,a[_0x41e00d(0x29c)](z[_0x41e00d(0x3d2)]))],exports[_0x41e00d(0x24f)]);var Fn=Object[_0x41e00d(0x26a)],Wn=Object[_0x41e00d(0x1b7)],Vn=(_0x238356,_0x578d82,_0xd16d02,_0xc705ef)=>{var _0x5a94f8=_0x41e00d;for(var _0xc58117=_0xc705ef>0x1?void 0x0:_0xc705ef?Wn(_0x578d82,_0xd16d02):_0x578d82,_0x49f2b4=_0x238356[_0x5a94f8(0x1bd)]-0x1,_0x964d79;_0x49f2b4>=0x0;_0x49f2b4--)(_0x964d79=_0x238356[_0x49f2b4])&&(_0xc58117=(_0xc705ef?_0x964d79(_0x578d82,_0xd16d02,_0xc58117):_0x964d79(_0xc58117))||_0xc58117);return _0xc705ef&&_0xc58117&&Fn(_0x578d82,_0xd16d02,_0xc58117),_0xc58117;},ce=(_0x4a1651,_0x3e45a0)=>(_0x585071,_0x6602d3)=>_0x3e45a0(_0x585071,_0x6602d3,_0x4a1651);let Ue=class extends a[_0x41e00d(0x22c)]{constructor(_0x37851d,_0x532dfc,_0x491d05,_0x39a6bf,_0x2b61c5,_0x597c65,_0x3ee3e4){var _0x2c3c35=_0x41e00d;super(),this['_injector']=_0x37851d,this[_0x2c3c35(0x14e)]=_0x532dfc,this[_0x2c3c35(0x204)]=_0x491d05,this[_0x2c3c35(0x430)]=_0x39a6bf,this[_0x2c3c35(0x334)]=_0x2b61c5,this['_authzIoService']=_0x597c65,this[_0x2c3c35(0x219)]=_0x3ee3e4,this[_0x2c3c35(0x25d)](),this[_0x2c3c35(0x216)]();}[_0x41e00d(0x216)](){var _0x2f8304=_0x41e00d;const _0x38833f=async _0x2990bc=>{var _0x487ec0=_0x2308;(await this[_0x487ec0(0x430)][_0x487ec0(0x47e)](_0x2990bc))['event$'][_0x487ec0(0x4b7)](V['filter'](_0x300434=>_0x300434[_0x487ec0(0x3bb)]===m[_0x487ec0(0x3b0)][_0x487ec0(0x28a)]),V[_0x487ec0(0x20e)](this[_0x487ec0(0x43c)]))['subscribe'](_0x44e23f=>{var _0xf77863=_0x487ec0;const _0x30816e=_0x44e23f,{reason:_0x48d074}=_0x30816e[_0xf77863(0x308)];this[_0xf77863(0x334)]['emitEvent']({'id':Q[_0xf77863(0x486)],'data':_0x48d074}),this[_0xf77863(0x204)][_0xf77863(0x31a)](new W['WorkbookEditablePermission'](_0x2990bc)['id'],!0x1),this[_0xf77863(0x430)][_0xf77863(0x3b2)](_0x2990bc);});};H[_0x2f8304(0x316)](this[_0x2f8304(0x14e)][_0x2f8304(0x439)](a[_0x2f8304(0x2ae)][_0x2f8304(0x43a)]),this[_0x2f8304(0x14e)]['getTypeOfUnitAdded$'](a[_0x2f8304(0x2ae)]['UNIVER_DOC']))[_0x2f8304(0x4b7)](V[_0x2f8304(0x37c)](_0x1a1296=>_0x1a1296[_0x2f8304(0x2eb)]()),V['filter'](_0x5567d0=>!a['isInternalEditorID'](_0x5567d0)),V[_0x2f8304(0x20e)](this[_0x2f8304(0x43c)]))['subscribe'](_0x30c04b=>{_0x38833f(_0x30c04b);});}[_0x41e00d(0x25d)](){var _0xa26696=_0x41e00d;const _0x5f05bd=async _0x4590bd=>{var _0x2e4f6e=_0x2308;(await this[_0x2e4f6e(0x430)][_0x2e4f6e(0x47e)](_0x4590bd))[_0x2e4f6e(0x306)][_0x2e4f6e(0x4b7)](V['filter'](_0x43c910=>_0x43c910[_0x2e4f6e(0x3bb)]===m[_0x2e4f6e(0x3b0)][_0x2e4f6e(0x36d)]),V[_0x2e4f6e(0x20e)](this[_0x2e4f6e(0x43c)]))[_0x2e4f6e(0x349)](_0x53cc28=>{var _0x2a3c6f=_0x2e4f6e;const _0x5f244a=_0x53cc28,{objectId:_0x5e104b}=_0x5f244a[_0x2a3c6f(0x308)];_0x5e104b===_0x4590bd?this['initWorkbookPermissionChange'](_0x4590bd):this[_0x2a3c6f(0x30c)](_0x4590bd,_0x5e104b);});};H[_0xa26696(0x316)](this[_0xa26696(0x14e)][_0xa26696(0x439)](a['UniverInstanceType'][_0xa26696(0x43a)]),this[_0xa26696(0x14e)][_0xa26696(0x439)](a['UniverInstanceType'][_0xa26696(0x397)]))[_0xa26696(0x4b7)](V[_0xa26696(0x37c)](_0x57d00c=>_0x57d00c['getUnitId']()),V[_0xa26696(0x227)](_0x4126c2=>!a['isInternalEditorID'](_0x4126c2)),V[_0xa26696(0x20e)](this[_0xa26696(0x43c)]))['subscribe'](_0x3d773a=>{_0x5f05bd(_0x3d773a);});}async[_0x41e00d(0x4c6)](_0xf2b96c){var _0x70cbcd=_0x41e00d,_0x20d1f4;const _0xdfcabe=_0xf2b96c||((_0x20d1f4=this[_0x70cbcd(0x14e)]['getCurrentUnitForType'](a[_0x70cbcd(0x2ae)][_0x70cbcd(0x43a)]))==null?void 0x0:_0x20d1f4[_0x70cbcd(0x2eb)]());_0xdfcabe&&this['_authzIoService'][_0x70cbcd(0x1c7)]({'objectID':_0xdfcabe,'objectType':W['UnitObject']['Workbook'],'unitID':_0xdfcabe,'actions':W['defaultWorkbookPermissionPoints']})['then'](_0x81813d=>{var _0x3eaa62=_0x70cbcd;W[_0x3eaa62(0x260)]()[_0x3eaa62(0x3b3)](_0x57f304=>{var _0x95c2a1=_0x3eaa62;const _0x378620=new _0x57f304(_0xdfcabe),_0x5682c2=_0x378620['subType'],_0x36aaca=_0x81813d[_0x95c2a1(0x1ce)](_0x35315f=>_0x35315f['action']===_0x5682c2);_0x36aaca&&this[_0x95c2a1(0x204)][_0x95c2a1(0x31a)](_0x378620['id'],_0x36aaca[_0x95c2a1(0x1c7)]);});});}[_0x41e00d(0x30c)](_0x10f68d,_0x13a70b){var _0x14e395=_0x41e00d;const _0x292da7=this[_0x14e395(0x208)][_0x14e395(0x19e)](W[_0x14e395(0x307)]),_0x570f1f=_0x292da7[_0x14e395(0x199)](_0x10f68d,_0x13a70b);let _0x3ae4ef=!0x1;if(_0x570f1f){const [_0x1422b0,_0xc99ac0]=_0x570f1f;this['_authzIoService'][_0x14e395(0x1c7)]({'objectID':_0x13a70b,'unitID':_0x10f68d,'objectType':W[_0x14e395(0x39f)][_0x14e395(0x4a4)],'actions':W['baseProtectionActions']})['then'](_0x230198=>{var _0x4aed7b=_0x14e395;let _0x3728b1='';W[_0x4aed7b(0x178)]()[_0x4aed7b(0x3b3)](_0x5cdaee=>{var _0x142f31=_0x4aed7b,_0x14b726;const _0x271b2e=new _0x5cdaee(_0x10f68d,_0xc99ac0),_0x34c066=_0x271b2e[_0x142f31(0x28c)],_0x265950=_0x230198[_0x142f31(0x1ce)](_0x32475b=>_0x32475b[_0x142f31(0x3ac)]===_0x34c066);_0x265950&&(((_0x14b726=this[_0x142f31(0x204)][_0x142f31(0x42b)](_0x271b2e['id']))==null?void 0x0:_0x14b726['value'])!==_0x265950[_0x142f31(0x1c7)]&&(_0x3ae4ef=!0x0),this[_0x142f31(0x204)][_0x142f31(0x31a)](_0x271b2e['id'],_0x265950[_0x142f31(0x1c7)]),_0x3728b1+=_0x265950['action']+'_'+_0x265950[_0x142f31(0x1c7)]);}),_0x292da7[_0x4aed7b(0x27a)](_0x13a70b+'_'+_0x3728b1),_0x3ae4ef&&this[_0x4aed7b(0x219)][_0x4aed7b(0x22a)](_0x10f68d);});}const _0x289133=this['_injector'][_0x14e395(0x19e)](W[_0x14e395(0x1a7)])[_0x14e395(0x199)](_0x10f68d,_0x13a70b);if(_0x289133){const [_0x37bb52,_0x3e0a87]=_0x289133;this['_authzIoService'][_0x14e395(0x1c7)]({'objectID':_0x13a70b,'unitID':_0x10f68d,'objectType':W[_0x14e395(0x39f)][_0x14e395(0x4a4)],'actions':W[_0x14e395(0x32b)]})[_0x14e395(0x3a6)](_0x2e6923=>{var _0xb188a=_0x14e395;W[_0xb188a(0x25b)]()['forEach'](_0x10651c=>{var _0x32c32e=_0xb188a,_0x11727e;const _0x4f7cf6=new _0x10651c(_0x10f68d,_0x3e0a87),_0x496917=_0x4f7cf6[_0x32c32e(0x28c)],_0x5ce4ee=_0x2e6923[_0x32c32e(0x1ce)](_0x3b8a0a=>_0x3b8a0a['action']===_0x496917);_0x5ce4ee&&(((_0x11727e=this[_0x32c32e(0x204)]['getPermissionPoint'](_0x4f7cf6['id']))==null?void 0x0:_0x11727e[_0x32c32e(0x145)])!==_0x5ce4ee[_0x32c32e(0x1c7)]&&(_0x3ae4ef=!0x0),this['_permissionService'][_0x32c32e(0x31a)](_0x4f7cf6['id'],_0x5ce4ee[_0x32c32e(0x1c7)]));}),_0x3ae4ef&&this['_undoRedoService']['clearUndoRedo'](_0x10f68d);});}const _0x5f1ce5=this[_0x14e395(0x208)]['get'](W[_0x14e395(0x376)]),_0x946737=_0x5f1ce5['getTargetByPermissionId'](_0x10f68d,_0x13a70b);if(_0x946737){const [_0x351bf9,_0x235884]=_0x946737;this['_authzIoService'][_0x14e395(0x1c7)]({'objectID':_0x13a70b,'unitID':_0x10f68d,'objectType':W[_0x14e395(0x39f)]['SelectRange'],'actions':W[_0x14e395(0x4a6)]})[_0x14e395(0x3a6)](_0x4d045f=>{var _0x5eeb37=_0x14e395;let _0x3eba4f='';W[_0x5eeb37(0x26f)]()[_0x5eeb37(0x3b3)](_0x4c4b85=>{var _0x32191e=_0x5eeb37,_0x3d3157;const _0x250c2b=new _0x4c4b85(_0x10f68d,_0x235884,_0x13a70b),_0x1f7e75=_0x250c2b[_0x32191e(0x28c)],_0x17e70c=_0x4d045f[_0x32191e(0x1ce)](_0x550371=>_0x550371[_0x32191e(0x3ac)]===_0x1f7e75);_0x17e70c&&(((_0x3d3157=this[_0x32191e(0x204)]['getPermissionPoint'](_0x250c2b['id']))==null?void 0x0:_0x3d3157['value'])!==_0x17e70c[_0x32191e(0x1c7)]&&(_0x3ae4ef=!0x0),this[_0x32191e(0x204)][_0x32191e(0x31a)](_0x250c2b['id'],_0x17e70c[_0x32191e(0x1c7)]),_0x3eba4f+=_0x17e70c[_0x32191e(0x3ac)]+'_'+_0x17e70c[_0x32191e(0x1c7)]);}),_0x5f1ce5[_0x5eeb37(0x27a)](_0x13a70b+'_'+_0x3eba4f),_0x3ae4ef&&this[_0x5eeb37(0x219)]['clearUndoRedo'](_0x10f68d);});}}};Ue=Vn([ce(0x0,a[_0x41e00d(0x29c)](a['Injector'])),ce(0x1,a['IUniverInstanceService']),ce(0x2,a[_0x41e00d(0x323)]),ce(0x3,a['Inject'](exports[_0x41e00d(0x4b5)])),ce(0x4,a[_0x41e00d(0x29c)](te)),ce(0x5,a[_0x41e00d(0x374)]),ce(0x6,a[_0x41e00d(0x3b7)])],Ue);var Gn=Object[_0x41e00d(0x26a)],Kn=Object[_0x41e00d(0x1b7)],Yn=(_0x317289,_0x3e6573,_0x4c195d,_0x17fe96)=>{var _0xbbb5d2=_0x41e00d;for(var _0x5384a6=_0x17fe96>0x1?void 0x0:_0x17fe96?Kn(_0x3e6573,_0x4c195d):_0x3e6573,_0x4a3093=_0x317289[_0xbbb5d2(0x1bd)]-0x1,_0x5c26d1;_0x4a3093>=0x0;_0x4a3093--)(_0x5c26d1=_0x317289[_0x4a3093])&&(_0x5384a6=(_0x17fe96?_0x5c26d1(_0x3e6573,_0x4c195d,_0x5384a6):_0x5c26d1(_0x5384a6))||_0x5384a6);return _0x17fe96&&_0x5384a6&&Gn(_0x3e6573,_0x4c195d,_0x5384a6),_0x5384a6;},_t=(_0x1e16f6,_0x56e741)=>(_0x28179d,_0x2d0d5e)=>_0x56e741(_0x28179d,_0x2d0d5e,_0x1e16f6);exports[_0x41e00d(0x2bf)]=class{constructor(_0x444ee4,_0x1d395d){var _0x338a94=_0x41e00d;this[_0x338a94(0x485)]=_0x444ee4,this[_0x338a94(0x283)]=_0x1d395d;}async[_0x41e00d(0x1fa)](_0x245e58,_0x5b3fed){var _0xbb040e=_0x41e00d,_0x4b0011;const {unitID:_0x22f9da,type:_0x565473,revision:_0x55e058=0x0}=_0x5b3fed,_0x32f972=this[_0xbb040e(0x41e)]()+'/'+_0x565473+_0xbb040e(0x347)+_0x22f9da+_0xbb040e(0x2c6)+_0x55e058,_0x37a02c=(await this['_httpService']['get'](_0x32f972))[_0xbb040e(0x42c)],_0x580027=(_0x4b0011=_0x37a02c['snapshot'])==null?void 0x0:_0x4b0011[_0xbb040e(0x194)];if(_0x580027){const _0x5e1d1c=_0x580027==null?void 0x0:_0x580027[_0xbb040e(0x304)],_0x42ea5c=m['textEncoder'][_0xbb040e(0x16f)](m[_0xbb040e(0x215)](_0x5e1d1c));_0x580027[_0xbb040e(0x304)]=_0x42ea5c,Object[_0xbb040e(0x16c)](_0x580027[_0xbb040e(0x1c3)])['forEach'](([,_0xe82e55])=>{var _0x1fd9e5=_0xbb040e;const _0x376cb6=_0xe82e55['originalMeta'],_0x1e397a=m[_0x1fd9e5(0x25c)][_0x1fd9e5(0x16f)](m[_0x1fd9e5(0x215)](_0x376cb6));_0xe82e55[_0x1fd9e5(0x304)]=_0x1e397a;});}return _0x37a02c;}async[_0x41e00d(0x2dc)](_0x2e0e44,_0x4a2551){var _0x15bf46=_0x41e00d;const {unitID:_0xfc30c2,type:_0x3947b0,blockID:_0x28b4eb}=_0x4a2551,_0x5e5c7d=this[_0x15bf46(0x38c)]()+'/'+_0x3947b0+'/unit/'+_0xfc30c2+_0x15bf46(0x36b)+_0x28b4eb;return(await this[_0x15bf46(0x283)][_0x15bf46(0x19e)](_0x5e5c7d))[_0x15bf46(0x42c)];}async[_0x41e00d(0x168)](_0x5f3a80,_0x9c9c80){var _0x3fc761=_0x41e00d;const {unitID:_0x14b0b5,type:_0x3e98a1,blockID:_0x14d605}=_0x9c9c80,_0x560eaf=this[_0x3fc761(0x38c)]()+_0x3fc761(0x36b)+_0x3e98a1+_0x3fc761(0x347)+_0x14b0b5+'/block/'+_0x14d605;return(await this[_0x3fc761(0x283)][_0x3fc761(0x19e)](_0x560eaf))[_0x3fc761(0x42c)];}async[_0x41e00d(0x363)](_0x3e3f89,_0x2e5be3){var _0x4ec58c=_0x41e00d;const {unitID:_0x429ee2,type:_0x5eaba0,from:_0x50574e,to:_0x30d8d0}=_0x2e5be3,_0x278f65=this[_0x4ec58c(0x38c)]()+'/'+_0x5eaba0+_0x4ec58c(0x347)+_0x429ee2+_0x4ec58c(0x1cb)+_0x50574e+_0x4ec58c(0x494)+_0x30d8d0;return(await this['_httpService'][_0x4ec58c(0x19e)](_0x278f65))[_0x4ec58c(0x42c)];}[_0x41e00d(0x41e)](){var _0x49e242=_0x41e00d,_0x50d310;return(_0x50d310=this[_0x49e242(0x485)][_0x49e242(0x1d5)](vt))!=null?_0x50d310:this[_0x49e242(0x38c)]();}[_0x41e00d(0x38c)](){var _0x295cb5=_0x41e00d,_0x51d2e4,_0x1aa4d5;const _0xe3ddf5=this[_0x295cb5(0x485)][_0x295cb5(0x1d5)](dt),_0x4e30a9=this[_0x295cb5(0x485)]['getConfig'](q);return(_0x1aa4d5=(_0x51d2e4=_0x4e30a9==null?void 0x0:_0x4e30a9[_0x295cb5(0x4bb)])!=null?_0x51d2e4:_0xe3ddf5)!=null?_0x1aa4d5:$t;}async['getResourcesRequest'](_0x4d30ca,_0x5c9b1d){var _0x2f3ce4=_0x41e00d;const _0x58104f=_0x2f3ce4(0x301)+_0x5c9b1d['type']+_0x2f3ce4(0x347)+_0x5c9b1d[_0x2f3ce4(0x221)]+_0x2f3ce4(0x161);return(await this[_0x2f3ce4(0x283)][_0x2f3ce4(0x19e)](_0x58104f,{'params':{'resourceId':JSON[_0x2f3ce4(0x16d)](_0x5c9b1d[_0x2f3ce4(0x2f1)])}}))[_0x2f3ce4(0x42c)];}['saveSnapshot'](){var _0x46cccc=_0x41e00d;throw new Error(_0x46cccc(0x481));}[_0x41e00d(0x1b4)](){var _0x541474=_0x41e00d;throw new Error(_0x541474(0x481));}[_0x41e00d(0x246)](){var _0x2de69e=_0x41e00d;throw new Error(_0x2de69e(0x481));}[_0x41e00d(0x3d0)](){var _0x308caf=_0x41e00d;throw new Error(_0x308caf(0x481));}['getLatestCsReqIdBySid'](){var _0x5ca370=_0x41e00d;throw new Error(_0x5ca370(0x481));}},exports[_0x41e00d(0x2bf)]=Yn([_t(0x0,a[_0x41e00d(0x454)]),_t(0x1,a[_0x41e00d(0x29c)](z[_0x41e00d(0x3d2)]))],exports[_0x41e00d(0x2bf)]);var qn=Object['defineProperty'],zn=Object[_0x41e00d(0x1b7)],Jn=(_0xbcb1c7,_0x2e9744,_0x4c7fb2,_0x1164fd)=>{var _0x27b9df=_0x41e00d;for(var _0x2de57a=_0x1164fd>0x1?void 0x0:_0x1164fd?zn(_0x2e9744,_0x4c7fb2):_0x2e9744,_0x5d2773=_0xbcb1c7[_0x27b9df(0x1bd)]-0x1,_0x5d7da9;_0x5d2773>=0x0;_0x5d2773--)(_0x5d7da9=_0xbcb1c7[_0x5d2773])&&(_0x2de57a=(_0x1164fd?_0x5d7da9(_0x2e9744,_0x4c7fb2,_0x2de57a):_0x5d7da9(_0x2de57a))||_0x2de57a);return _0x1164fd&&_0x2de57a&&qn(_0x2e9744,_0x4c7fb2,_0x2de57a),_0x2de57a;},de=(_0x37ebfe,_0x25ab0d)=>(_0x2c60e9,_0x30386c)=>_0x25ab0d(_0x2c60e9,_0x30386c,_0x37ebfe);exports[_0x41e00d(0x3c6)]=class extends a['LocalUndoRedoService']{constructor(_0x3e6492,_0x46fe4b,_0x3a5957,_0x48ff7e,_0x3b61ca){var _0x51c302=_0x41e00d;super(_0x3e6492,_0x46fe4b,_0x3a5957),this[_0x51c302(0x2d7)]=_0x48ff7e,this[_0x51c302(0x21e)]=_0x3b61ca;}['transformUndoRedo'](_0x567e61,_0x7fa8c){var _0x1809ac=_0x41e00d;const _0x4316a7=this[_0x1809ac(0x3fe)](_0x567e61);if(_0x4316a7)try{const _0x16a86b=this[_0x1809ac(0x463)](_0x4316a7,_0x7fa8c);this[_0x1809ac(0x427)](_0x567e61,_0x16a86b);}catch(_0x5d04c5){this[_0x1809ac(0x21e)]['error']('[CollaborationUndoRedoService]',_0x5d04c5),this[_0x1809ac(0x49d)](_0x567e61);}const _0x555eca=this['_getRedoStack'](_0x567e61);if(_0x555eca)try{const _0x2af1f2=this[_0x1809ac(0x463)](_0x555eca,_0x7fa8c);this[_0x1809ac(0x3a5)](_0x567e61,_0x2af1f2);}catch(_0x48d3ee){this[_0x1809ac(0x21e)]['error'](_0x48d3ee),this[_0x1809ac(0x34a)](_0x567e61);}}[_0x41e00d(0x49d)](_0x19e4f9){var _0x87cc1e=_0x41e00d;const _0x4a4e8c=this['_getUndoStack'](_0x19e4f9);_0x4a4e8c&&(_0x4a4e8c[_0x87cc1e(0x1bd)]=0x0,this['_updateStatus']());}['_clearRedo'](_0x274ab4){var _0x233c43=_0x41e00d;const _0x4c7811=this[_0x233c43(0x1c8)](_0x274ab4);_0x4c7811&&(_0x4c7811['length']=0x0,this['_updateStatus']());}[_0x41e00d(0x427)](_0x4f4a78,_0x56e7d1){var _0x42f725=_0x41e00d;this[_0x42f725(0x2e0)]['set'](_0x4f4a78,_0x56e7d1),this[_0x42f725(0x314)]();}[_0x41e00d(0x3a5)](_0x5dc8c9,_0x280829){var _0xcf9f5e=_0x41e00d;this[_0xcf9f5e(0x445)][_0xcf9f5e(0x1ca)](_0x5dc8c9,_0x280829),this['_updateStatus']();}[_0x41e00d(0x463)](_0x165798,_0x365b3e){var _0x124076=_0x41e00d;const _0x15a743=[];let _0x42ea5d=_0x365b3e,_0xdccfc4=_0x365b3e;for(let _0x35b678=_0x165798[_0x124076(0x1bd)]-0x1;_0x35b678>=0x0;_0x35b678--){const {unitID:_0x3e7126,undoMutations:_0x8e946f,redoMutations:_0x10153f}=_0x165798[_0x35b678],_0x3629eb=this['_transformService'][_0x124076(0x44b)](_0x42ea5d,_0x8e946f),_0x479ee7=this[_0x124076(0x2d7)][_0x124076(0x44b)](_0xdccfc4,_0x10153f);if(m[_0x124076(0x294)](_0x3629eb)||m[_0x124076(0x294)](_0x479ee7)){this['_logService']['error']('[CollaborationUndoRedoService]',_0x124076(0x3ab),_0x3629eb,_0x479ee7);break;}_0x42ea5d=_0x3629eb[_0x124076(0x373)],_0xdccfc4=_0x479ee7[_0x124076(0x373)],_0x15a743[_0x124076(0x2b3)]({'unitID':_0x3e7126,'undoMutations':_0x3629eb['m2Prime'],'redoMutations':_0x479ee7['m2Prime']});}return _0x15a743['reverse']();}},exports['CollaborativeUndoRedoService']=Jn([de(0x0,a[_0x41e00d(0x3f6)]),de(0x1,a[_0x41e00d(0x361)]),de(0x2,a['IContextService']),de(0x3,m[_0x41e00d(0x43d)]),de(0x4,a[_0x41e00d(0x166)])],exports[_0x41e00d(0x3c6)]);var At=Object[_0x41e00d(0x26a)],Xn=Object[_0x41e00d(0x1b7)],Zn=(_0x9d591c,_0x20d2e9,_0x4aa055)=>_0x20d2e9 in _0x9d591c?At(_0x9d591c,_0x20d2e9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4aa055}):_0x9d591c[_0x20d2e9]=_0x4aa055,Qn=(_0x37168d,_0x1c34b0,_0x2c8a00,_0x39845c)=>{for(var _0x1a68d9=_0x39845c>0x1?void 0x0:_0x39845c?Xn(_0x1c34b0,_0x2c8a00):_0x1c34b0,_0x15ac63=_0x37168d['length']-0x1,_0x38d6ee;_0x15ac63>=0x0;_0x15ac63--)(_0x38d6ee=_0x37168d[_0x15ac63])&&(_0x1a68d9=(_0x39845c?_0x38d6ee(_0x1c34b0,_0x2c8a00,_0x1a68d9):_0x38d6ee(_0x1a68d9))||_0x1a68d9);return _0x39845c&&_0x1a68d9&&At(_0x1c34b0,_0x2c8a00,_0x1a68d9),_0x1a68d9;},je=(_0x30bb4c,_0xbfa11d)=>(_0xdafbea,_0x233956)=>_0xbfa11d(_0xdafbea,_0x233956,_0x30bb4c),er=(_0x386ad6,_0x71f506,_0x3a0b11)=>Zn(_0x386ad6,_0x71f506+'',_0x3a0b11);const tr='UNIVER_COLLABORATION_CLIENT_PLUGIN';exports[_0x41e00d(0x155)]=class extends a[_0x41e00d(0x435)]{constructor(_0x1b8570=zt,_0x3fda95,_0x221b8a,_0xcb2a3a){var _0x47b75b=_0x41e00d;super(),this[_0x47b75b(0x2ca)]=_0x1b8570,this[_0x47b75b(0x21e)]=_0x3fda95,this[_0x47b75b(0x208)]=_0x221b8a,this[_0x47b75b(0x485)]=_0xcb2a3a;const {..._0x36206d}=this[_0x47b75b(0x2ca)];this[_0x47b75b(0x485)][_0x47b75b(0x3e6)](q,_0x36206d);}[_0x41e00d(0x3db)](){var _0x4aa4dd=_0x41e00d;this[_0x4aa4dd(0x1a5)](),this[_0x4aa4dd(0x423)]();}[_0x41e00d(0x1a5)](){var _0xfbe657=_0x41e00d,_0x4c9ec4,_0x128ee5,_0x22671d,_0x458d2d;this[_0xfbe657(0x208)][_0xfbe657(0x3fd)](a[_0xfbe657(0x3b7)])&&this[_0xfbe657(0x21e)]['error'](_0xfbe657(0x210),_0xfbe657(0x338));const _0x5cb36b=a[_0xfbe657(0x1f8)]([[a[_0xfbe657(0x3b7)],{'useClass':exports[_0xfbe657(0x3c6)]}],[exports[_0xfbe657(0x4b5)]],[exports[_0xfbe657(0x475)]],[exports[_0xfbe657(0x47c)]],[Oe],[Pe],[Be],[Ue],[te],[exports[_0xfbe657(0x295)]],[ke,{'useClass':(_0x128ee5=(_0x4c9ec4=this[_0xfbe657(0x2ca)])==null?void 0x0:_0x4c9ec4[_0xfbe657(0x327)])!=null?_0x128ee5:exports[_0xfbe657(0x48a)]}],[m[_0xfbe657(0x3a9)],{'useClass':exports[_0xfbe657(0x2bf)]}],[a[_0xfbe657(0x374)],{'useClass':exports[_0xfbe657(0x443)]}],[X['IImageIoService'],{'useClass':exports[_0xfbe657(0x2b0)]}],[a[_0xfbe657(0x187)],{'useClass':exports[_0xfbe657(0x24f)]}],[exports['CollaborationController']],[$e]],(_0x22671d=this[_0xfbe657(0x2ca)])==null?void 0x0:_0x22671d[_0xfbe657(0x415)]);if(!((_0x458d2d=this[_0xfbe657(0x2ca)])!=null&&_0x458d2d['enableSingleActiveInstanceLock'])){const _0x521f12=_0x5cb36b[_0xfbe657(0x39b)](([_0x22c144])=>_0x22c144===ve);_0x521f12!==-0x1&&_0x5cb36b[_0xfbe657(0x278)](_0x521f12,0x1);}a['registerDependencies'](this[_0xfbe657(0x208)],_0x5cb36b);}[_0x41e00d(0x423)](){var _0x7062e3=_0x41e00d,_0x2fa3bf,_0x3624b2,_0x59329f;this[_0x7062e3(0x208)][_0x7062e3(0x19e)](z['HTTPService'])['registerHTTPInterceptor']({'priority':0x14,'interceptor':z['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x2fa3bf=this[_0x7062e3(0x2ca)])!=null&&_0x2fa3bf[_0x7062e3(0x14b)]||(_0x3624b2=this[_0x7062e3(0x208)][_0x7062e3(0x19e)](J,a[_0x7062e3(0x2ea)][_0x7062e3(0x1d9)]))==null||_0x3624b2[_0x7062e3(0x29f)](),(_0x59329f=this[_0x7062e3(0x2ca)])!=null&&_0x59329f['enableAuthServer']&&a[_0x7062e3(0x48d)](this['_injector'],[[Oe]]),a['touchDependencies'](this[_0x7062e3(0x208)],[[Pe],[exports['CollaborationController']],[Ue]]);}},er(exports[_0x41e00d(0x155)],_0x41e00d(0x195),tr),exports[_0x41e00d(0x155)]=Qn([a[_0x41e00d(0x2a8)](m[_0x41e00d(0x3a4)],W['UniverSheetsPlugin'],z['UniverNetworkPlugin']),je(0x1,a['ILogService']),je(0x2,a[_0x41e00d(0x29c)](a[_0x41e00d(0x3c9)])),je(0x3,a[_0x41e00d(0x454)])],exports['UniverCollaborationClientPlugin']),exports[_0x41e00d(0x203)]=Ge,exports[_0x41e00d(0x2d9)]=q,exports[_0x41e00d(0x2ee)]=It,exports[_0x41e00d(0x201)]=ft,exports[_0x41e00d(0x3be)]=We,exports[_0x41e00d(0x1a4)]=Q,exports[_0x41e00d(0x1ae)]=te,exports[_0x41e00d(0x36e)]=Be,exports[_0x41e00d(0x498)]=St,exports[_0x41e00d(0x2dd)]=pt,exports['HEARTBEAT_TIMEOUT_KEY']=He,exports[_0x41e00d(0x336)]=ke,exports[_0x41e00d(0x197)]=J,exports[_0x41e00d(0x43b)]=bt,exports[_0x41e00d(0x483)]=ve,exports[_0x41e00d(0x2e5)]=Kt,exports[_0x41e00d(0x2c4)]=Gt,exports[_0x41e00d(0x148)]=Et,exports[_0x41e00d(0x2c7)]=mt,exports[_0x41e00d(0x32c)]=Ht,exports['SNAPSHOT_SERVER_URL_KEY']=dt,exports[_0x41e00d(0x432)]=vt,exports[_0x41e00d(0x3f3)]=se,exports[_0x41e00d(0x402)]=Fe,exports[_0x41e00d(0x223)]=Rt,exports[_0x41e00d(0x466)]=pi,exports['serializeCombRequest']=yt;